/* =========================================================================
   Seaside Labs — Showcase System v14 "Workshop at Night"
   Dark cinematic coastal: deep-water abyss, warm cream type, brass + tide
   accents, glass pill nav, double-bezel cards, choreographed motion.
   Fraunces (display) + Instrument Sans (body). No Inter, no purple, no slop.
   Used by: / (homepage) and /consulting/. Other pages remain on brand.css.
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=Instrument+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

:root {
  /* --- Deep water at night --- */
  --abyss:        #071417;   /* page floor — black-teal, not pure black */
  --abyss-2:      #0a1b20;   /* raised water */
  --abyss-3:      #0e242b;   /* card cores */
  --hairline:     rgba(254, 246, 228, 0.09);
  --hairline-2:   rgba(254, 246, 228, 0.16);

  /* --- Warm light on the water --- */
  --cream:        #fef6e4;
  --cream-soft:   rgba(254, 246, 228, 0.78);
  --cream-mute:   rgba(254, 246, 228, 0.55);

  /* --- Accents: brass lantern + tide sparkle --- */
  --brass:        #ecc45c;
  --brass-deep:   #b98a24;
  --tide:         #2dd4bf;
  --tide-deep:    #0a6783;
  --coral:        #f0705f;

  /* --- Division accents, brightened for dark ground --- */
  --dc-connect:   #3fc9e6;
  --dc-consulting:#ecc45c;
  --dc-radar:     #8fd0f2;
  --dc-claimclaw: #f0836f;
  --dc-tideclaw:  #86aede;
  --dc-gardens:   #5dc795;
  --dc-reefpay:   #56b9c0;

  /* --- Type --- */
  --display: "Fraunces", Georgia, serif;
  --body: "Instrument Sans", system-ui, "Segoe UI", sans-serif;

  /* --- Motion: one heavy glide, everywhere --- */
  --glide: cubic-bezier(0.32, 0.72, 0, 1);

  /* --- Radii / rhythm --- */
  --r-outer: 2rem;
  --r-inner: calc(2rem - 0.45rem);
  --r-pill: 999px;
  --pad-section: clamp(6rem, 12vw, 10rem);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
::selection { background: var(--brass); color: var(--abyss); }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brass); color: var(--abyss);
  padding: 0.6rem 1.2rem; border-radius: 0 0 12px 0;
  font-weight: 600; text-decoration: none; z-index: 60;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------- atmosphere & grain */
.sea-floor {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(90rem 60rem at 82% -18%, rgba(10, 103, 131, 0.34), transparent 62%),
    radial-gradient(70rem 50rem at -12% 30%, rgba(236, 196, 92, 0.07), transparent 58%),
    radial-gradient(60rem 60rem at 55% 118%, rgba(45, 212, 191, 0.09), transparent 60%),
    var(--abyss);
}
.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ------------------------------------------------------- floating nav */
.nav {
  position: fixed; top: 1.1rem; left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: min(calc(100% - 2rem), 62rem);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: 0.55rem 0.6rem 0.55rem 1.15rem;
  border-radius: var(--r-pill);
  background: rgba(7, 20, 23, 0.55);
  border: 1px solid var(--hairline);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(254, 246, 228, 0.07);
}
.nav-brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none;
}
.nav-brand img { width: 30px; height: auto; }
.mark-text {
  font-family: var(--display);
  font-weight: 500; font-size: 1.05rem; letter-spacing: 0.01em;
  font-variation-settings: "opsz" 40;
  white-space: nowrap;
}
.mark-text em { font-style: italic; font-weight: 500; color: var(--brass); }
.nav-links {
  display: flex; align-items: center; gap: 0.25rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.95rem;
  border-radius: var(--r-pill);
  font-size: 0.9rem; font-weight: 500;
  color: var(--cream-soft); text-decoration: none;
  transition: color 0.45s var(--glide), background 0.45s var(--glide);
}
.nav-links a:hover { color: var(--cream); background: rgba(254, 246, 228, 0.07); }
.nav-links a.nav-cta {
  background: var(--brass); color: var(--abyss);
  font-weight: 600; margin-left: 0.35rem;
}
.nav-links a.nav-cta:hover { background: #f4d27e; color: var(--abyss); }

.hamburger {
  display: none;
  position: relative; width: 42px; height: 42px;
  border: 1px solid var(--hairline-2); border-radius: 50%;
  background: rgba(254, 246, 228, 0.05); cursor: pointer;
}
.hamburger span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--cream); border-radius: 2px;
  transition: transform 0.55s var(--glide), opacity 0.3s var(--glide);
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 24px; }
.hamburger.active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.hamburger.active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 0.6rem;
    background: rgba(7, 20, 23, 0.92);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.6s var(--glide), visibility 0.6s;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a {
    font-family: var(--display);
    font-size: 1.8rem; font-weight: 500;
    transform: translateY(2.2rem); opacity: 0;
    transition: transform 0.7s var(--glide), opacity 0.7s var(--glide);
  }
  .nav-links.open a { transform: translateY(0); opacity: 1; }
  .nav-links.open a:nth-child(1) { transition-delay: 0.08s; }
  .nav-links.open a:nth-child(2) { transition-delay: 0.14s; }
  .nav-links.open a:nth-child(3) { transition-delay: 0.2s; }
  .nav-links.open a:nth-child(4) { transition-delay: 0.26s; }
  .nav-links.open a:nth-child(5) { transition-delay: 0.32s; }
  .nav-links a.nav-cta { margin-left: 0; margin-top: 0.8rem; }
}

/* ------------------------------------------------------------- layout */
.container { width: min(calc(100% - 3rem), 72rem); margin: 0 auto; }
.container-narrow { width: min(calc(100% - 3rem), 46rem); margin: 0 auto; }
section { padding: var(--pad-section) 0; position: relative; }
@media (max-width: 768px) {
  .container, .container-narrow { width: calc(100% - 2rem); }
  section { padding: 4.5rem 0; }
}

/* --------------------------------------------------------- type scale */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--hairline-2);
  background: rgba(254, 246, 228, 0.04);
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cream-soft);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 12px 2px rgba(236, 196, 92, 0.5);
}
.display {
  font-family: var(--display);
  font-weight: 500; letter-spacing: -0.02em;
  font-variation-settings: "opsz" 110;
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 500; color: var(--brass); }
.h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: 1.04; }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.1; }
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65; color: var(--cream-soft); text-wrap: pretty;
}
.small { font-size: 0.85rem; color: var(--cream-mute); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.45rem 0.5rem 0.45rem 1.5rem;
  border-radius: var(--r-pill);
  font-family: var(--body); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform 0.5s var(--glide), background 0.5s var(--glide),
              border-color 0.5s var(--glide), box-shadow 0.5s var(--glide);
}
.btn:active { transform: scale(0.98); }
.btn .btn-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  font-size: 1rem;
  transition: transform 0.5s var(--glide);
}
.btn:hover .btn-ico { transform: translate(3px, -1px) scale(1.05); }
.btn.accent {
  background: var(--brass); color: var(--abyss);
  box-shadow: 0 14px 40px -12px rgba(236, 196, 92, 0.45);
}
.btn.accent:hover { background: #f4d27e; box-shadow: 0 20px 50px -12px rgba(236, 196, 92, 0.55); }
.btn.accent .btn-ico { background: rgba(7, 20, 23, 0.14); color: var(--abyss); }
.btn.ghost {
  background: rgba(254, 246, 228, 0.04);
  border: 1px solid var(--hairline-2); color: var(--cream);
}
.btn.ghost:hover { background: rgba(254, 246, 228, 0.09); border-color: rgba(254, 246, 228, 0.3); }
.btn.ghost .btn-ico { background: rgba(254, 246, 228, 0.08); color: var(--cream); }

/* --------------------------------------------------------------- hero */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 8rem; padding-bottom: 5rem;
}
.hero .eyebrow { margin-bottom: 1.6rem; }
.hero-headline { max-width: 15ch; }
.hero-sub { max-width: 56ch; margin-top: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.8rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  margin-top: clamp(3rem, 7vh, 5.5rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
}
.hero-meta div { display: flex; flex-direction: column; gap: 0.15rem; }
.hero-meta strong {
  font-family: var(--display); font-weight: 500; font-size: 1.35rem;
  color: var(--cream); letter-spacing: -0.01em;
}
.hero-meta span {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cream-mute);
}

/* staggered line-mask reveal on load */
.line { display: block; overflow: hidden; }
.line-inner {
  display: block;
  transform: translateY(112%);
  animation: line-up 1.1s var(--glide) forwards;
}
.line:nth-child(2) .line-inner { animation-delay: 0.12s; }
.line:nth-child(3) .line-inner { animation-delay: 0.24s; }
@keyframes line-up { to { transform: translateY(0); } }
.fade-in {
  opacity: 0;
  animation: fade-in 1.2s var(--glide) 0.5s forwards;
}
.fade-in.d2 { animation-delay: 0.68s; }
.fade-in.d3 { animation-delay: 0.86s; }
@keyframes fade-in { to { opacity: 1; } }

/* ------------------------------------------------------------ marquee */
.marquee {
  padding: 1.4rem 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  background: rgba(254, 246, 228, 0.02);
}
.marquee-track {
  display: flex; gap: 3.5rem; width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee span {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 1.05rem; color: var(--cream-mute); white-space: nowrap;
}
.marquee span::after {
  content: "~"; margin-left: 3.5rem; color: var(--brass); font-style: normal;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------ bento / cards */
.section-head { max-width: 40rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-head p { margin-top: 1.2rem; }

.bento {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(12, 1fr);
}
.b7 { grid-column: span 7; }
.b6 { grid-column: span 6; }
.b5 { grid-column: span 5; }
.b4 { grid-column: span 4; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; gap: 1.2rem; }
  .b7, .b6, .b5, .b4 { grid-column: span 1; }
}

/* double-bezel card: machined outer shell + glass inner core */
.card {
  display: block; text-decoration: none;
  border-radius: var(--r-outer);
  padding: 0.45rem;
  background: rgba(254, 246, 228, 0.025);
  border: 1px solid var(--hairline);
  transition: transform 0.6s var(--glide), border-color 0.6s var(--glide),
              box-shadow 0.6s var(--glide);
}
.card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--dc, var(--brass)) 45%, transparent);
  box-shadow: 0 34px 80px -28px color-mix(in srgb, var(--dc, var(--brass)) 28%, transparent);
}
.card-core {
  height: 100%;
  border-radius: var(--r-inner);
  padding: clamp(1.5rem, 2.6vw, 2.1rem);
  background: linear-gradient(160deg, var(--abyss-3), var(--abyss-2) 70%);
  box-shadow: inset 0 1px 1px rgba(254, 246, 228, 0.08);
  display: flex; flex-direction: column; gap: 0.9rem;
}
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--dc, var(--brass)) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--dc, var(--brass)) 22%, transparent);
  color: var(--dc, var(--brass));
  transition: transform 0.6s var(--glide);
}
.card:hover .card-icon { transform: rotate(-4deg) scale(1.06); }
.card-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card-arrow {
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--hairline-2); color: var(--cream-mute);
  font-size: 1rem;
  transition: transform 0.6s var(--glide), background 0.6s var(--glide),
              color 0.6s var(--glide), border-color 0.6s var(--glide);
}
.card:hover .card-arrow {
  transform: translate(2px, -2px);
  background: var(--dc, var(--brass)); border-color: transparent;
  color: var(--abyss);
}
.card h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.35rem, 1.9vw, 1.65rem); letter-spacing: -0.01em;
  color: var(--cream);
}
.card p { color: var(--cream-soft); font-size: 0.97rem; line-height: 1.6; flex-grow: 1; }
.card-tag {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: var(--r-pill);
  border: 1px solid color-mix(in srgb, var(--dc, var(--brass)) 30%, transparent);
  color: var(--dc, var(--brass));
}
.card-tag::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--dc, var(--brass));
}

/* static (non-link) variant */
.card.static:hover { transform: none; border-color: var(--hairline); box-shadow: none; }

/* --------------------------------------------------------- pull quote */
.pull {
  text-align: center;
  padding: var(--pad-section) 0;
}
.pull blockquote {
  margin: 0 auto; max-width: 26ch;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.9rem); line-height: 1.25;
  letter-spacing: -0.01em; color: var(--cream);
  font-variation-settings: "opsz" 90;
  text-wrap: balance;
}
.pull blockquote strong { color: var(--brass); font-weight: 500; }
.pull .small { display: block; margin-top: 1.6rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }

/* -------------------------------------------------------------- forms */
.form-shell {
  border-radius: var(--r-outer);
  padding: 0.45rem;
  background: rgba(254, 246, 228, 0.025);
  border: 1px solid var(--hairline);
}
.form-card {
  border-radius: var(--r-inner);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  background: linear-gradient(165deg, var(--abyss-3), var(--abyss-2) 75%);
  box-shadow: inset 0 1px 1px rgba(254, 246, 228, 0.08);
}
.field { margin-bottom: 1.4rem; }
.field label {
  display: block; margin-bottom: 0.5rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cream-soft);
}
.field label .required { color: var(--brass); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--hairline-2);
  background: rgba(7, 20, 23, 0.5);
  color: var(--cream);
  font-family: var(--body); font-size: 1rem;
  transition: border-color 0.45s var(--glide), box-shadow 0.45s var(--glide);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23fef6e4' stroke-opacity='0.6' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1rem center; }
.field select option { background: var(--abyss-2); color: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: rgba(254, 246, 228, 0.32); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(236, 196, 92, 0.15);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input[type="file"] { padding: 0.7rem 1.1rem; font-size: 0.9rem; color: var(--cream-soft); }
.field input[type="file"]::file-selector-button {
  margin-right: 1rem; padding: 0.45rem 1rem;
  border-radius: var(--r-pill); border: 1px solid var(--hairline-2);
  background: rgba(254, 246, 228, 0.06); color: var(--cream);
  font-family: var(--body); font-weight: 600; font-size: 0.82rem;
  cursor: pointer;
}
.hint { display: block; margin-top: 0.45rem; font-size: 0.82rem; color: var(--cream-mute); }
.field-error { display: none; margin-top: 0.45rem; font-size: 0.85rem; color: var(--coral); }
.field.has-error input, .field.has-error textarea { border-color: var(--coral); }
.field.has-error .field-error { display: block; }
.form-submit {
  display: inline-flex; align-items: center; gap: 0.7rem;
  padding: 0.5rem 0.55rem 0.5rem 1.7rem;
  border-radius: var(--r-pill); border: none; cursor: pointer;
  background: var(--brass); color: var(--abyss);
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  box-shadow: 0 14px 40px -12px rgba(236, 196, 92, 0.45);
  transition: transform 0.5s var(--glide), background 0.5s var(--glide);
}
.form-submit:hover { background: #f4d27e; }
.form-submit:active { transform: scale(0.98); }
.form-submit:disabled { opacity: 0.6; cursor: wait; }
.form-submit .arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: rgba(7, 20, 23, 0.14);
  transition: transform 0.5s var(--glide);
}
.form-submit:hover .arrow { transform: translate(3px, -1px); }
.form-status { margin-top: 1rem; font-size: 0.92rem; display: none; }
.form-status.is-visible { display: block; color: var(--cream-soft); }
.form-status.error { color: var(--coral); }
.form-success { text-align: center; padding: 2.5rem 1rem; }
.form-success .check {
  width: 64px; height: 64px; margin: 0 auto 1.4rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--tide) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--tide) 35%, transparent);
  color: var(--tide);
}
.form-success .check svg { width: 28px; height: 28px; }
.form-success h2 {
  font-family: var(--display); font-weight: 500; font-size: 1.7rem;
  margin-bottom: 0.5rem;
}
.form-success p { color: var(--cream-soft); }

/* ------------------------------------------------------------- footer */
footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 0 3rem;
  margin-top: 2rem;
}
.footer-inner {
  width: min(calc(100% - 3rem), 72rem); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 1.2rem;
  align-items: center; justify-content: space-between;
}
.footer-inner a {
  color: var(--cream-mute); text-decoration: none; font-size: 0.9rem;
  transition: color 0.4s var(--glide);
}
.footer-inner a:hover { color: var(--cream); }

/* --------------------------------------------------- scroll reveals */
.js .reveal {
  opacity: 0;
  transform: translateY(2rem);
  filter: blur(6px);
  transition: opacity 0.9s var(--glide), transform 0.9s var(--glide),
              filter 0.9s var(--glide);
}
.js .reveal.in { opacity: 1; transform: translateY(0); filter: blur(0); }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

/* ----------------------------------------------- consulting specifics */
.pilot-shell { border-color: color-mix(in srgb, var(--brass) 35%, transparent); }
.pilot-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: start;
}
@media (max-width: 860px) { .pilot-grid { grid-template-columns: 1fr; } }
.pilot-points { list-style: none; padding: 0; margin: 1.8rem 0 0; }
.pilot-points li {
  position: relative; padding-left: 1.8rem; margin-bottom: 0.9rem;
  color: var(--cream-soft); line-height: 1.55;
}
.pilot-points li::before {
  content: "→"; position: absolute; left: 0; color: var(--brass);
}
.pilot-price {
  border-radius: var(--r-inner);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  background: color-mix(in srgb, var(--brass) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--brass) 25%, transparent);
}
.pilot-price strong {
  display: block;
  font-family: var(--display); font-weight: 500; font-size: 1.6rem;
  letter-spacing: -0.01em; color: var(--brass); margin-bottom: 0.7rem;
}
.pilot-price p { color: var(--cream-soft); font-size: 0.95rem; line-height: 1.6; }
.pilot-price .btn { margin-top: 1.5rem; }
.big-num {
  font-family: var(--display); font-weight: 500;
  font-size: 3rem; line-height: 1; letter-spacing: -0.03em;
  color: var(--brass);
  font-variation-settings: "opsz" 120;
}

/* division mark (consulting hero) */
.division-mark { display: inline-flex; align-items: center; gap: 0.8rem; margin-bottom: 1.6rem; }
.division-mark-icon {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--brass) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--brass) 25%, transparent);
  color: var(--brass);
}
.division-mark-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.division-mark-name {
  font-family: var(--display); font-weight: 500; font-size: 1.1rem;
}
.division-mark-name em { font-style: italic; color: var(--brass); }

/* =========================================================================
   v15 layer — living water, intro curtain, cursor physics, live tide,
   scroll choreography, view transitions, breathing type.
   ========================================================================= */

/* ---- living water canvas (injected by showcase.js) ---- */
.hero { position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero-water {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; pointer-events: none; z-index: 0;
  mask-image: linear-gradient(to bottom, transparent, black 30%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 30%);
}

/* ---- live tide readout (hero meta slot) ---- */
.tide-live strong { color: var(--tide) !important; }
.tide-live span { display: inline-flex; align-items: center; gap: 0.45rem; }
.tide-live span::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--tide);
  box-shadow: 0 0 10px 2px rgba(45, 212, 191, 0.55);
  animation: tide-pulse 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes tide-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

/* ---- intro curtain ---- */
.sl-intro {
  position: fixed; inset: 0; z-index: 70;
  display: flex; align-items: center; justify-content: center;
  background: var(--abyss);
  animation: intro-lift 0.85s var(--glide) 1.3s forwards;
  pointer-events: none;
}
.sl-intro-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.sl-intro svg { width: 120px; height: 32px; stroke: var(--brass); }
.sl-intro path {
  stroke-dasharray: 220; stroke-dashoffset: 220;
  animation: intro-draw 1s var(--glide) 0.1s forwards;
}
.sl-intro span {
  font-family: var(--display); font-weight: 500; font-size: 1.3rem;
  color: var(--cream); letter-spacing: 0.01em;
  opacity: 0;
  animation: fade-in 0.7s var(--glide) 0.45s forwards;
}
.sl-intro span em { font-style: italic; color: var(--brass); }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-lift { to { transform: translateY(-101%); } }
/* content animations wait for the curtain */
.has-intro .line .line-inner { animation-delay: 1.25s !important; }
.has-intro .line:nth-child(2) .line-inner { animation-delay: 1.37s !important; }
.has-intro .line:nth-child(3) .line-inner { animation-delay: 1.49s !important; }
.has-intro .fade-in { animation-delay: 1.6s !important; }
.has-intro .fade-in.d2 { animation-delay: 1.78s !important; }
.has-intro .fade-in.d3 { animation-delay: 1.96s !important; }

/* ---- custom cursor ---- */
.has-cursor body, .has-cursor a, .has-cursor button, .has-cursor .btn,
.has-cursor label, .has-cursor [role="button"] { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: auto; }
.sl-cursor { position: fixed; inset: 0; z-index: 65; pointer-events: none; }
.sl-cursor-dot {
  position: absolute; top: -3px; left: -3px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--brass);
  will-change: transform;
}
.sl-cursor-ring {
  position: absolute; top: -19px; left: -19px; width: 38px; height: 38px;
  border-radius: 50%; border: 1.5px solid rgba(236, 196, 92, 0.55);
  display: flex; align-items: center; justify-content: center;
  will-change: transform;
  transition: width 0.4s var(--glide), height 0.4s var(--glide),
              top 0.4s var(--glide), left 0.4s var(--glide),
              background 0.4s var(--glide), border-color 0.4s var(--glide),
              opacity 0.3s var(--glide);
}
.sl-cursor-ring span {
  font-family: var(--body); font-weight: 600; font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--abyss); opacity: 0;
  transition: opacity 0.3s var(--glide);
}
.sl-cursor.is-link .sl-cursor-ring {
  width: 52px; height: 52px; top: -26px; left: -26px;
  background: rgba(236, 196, 92, 0.12);
}
.sl-cursor.is-view .sl-cursor-ring {
  width: 74px; height: 74px; top: -37px; left: -37px;
  background: var(--brass); border-color: var(--brass);
}
.sl-cursor.is-view .sl-cursor-ring span { opacity: 1; }
.sl-cursor.is-view .sl-cursor-dot { opacity: 0; }
.sl-cursor.is-down .sl-cursor-ring { transform-origin: center; scale: 0.85; }
.sl-cursor.is-hide .sl-cursor-ring, .sl-cursor.is-gone .sl-cursor-ring,
.sl-cursor.is-hide .sl-cursor-dot, .sl-cursor.is-gone .sl-cursor-dot { opacity: 0; }

/* ---- card sheen (light follows the pointer) + tilt depth ---- */
.bento { perspective: 1200px; }
.card-core { position: relative; overflow: hidden; }
.card:not(.static) .card-core {
  transition: transform 0.5s var(--glide);
  transform-style: preserve-3d;
}
.card-core::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 50%),
              rgba(254, 246, 228, 0.07), transparent 55%);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--glide);
}
.card:hover .card-core::after { opacity: 1; }

/* ---- scroll choreography (native scroll-driven animations) ---- */
@supports (animation-timeline: view()) {
  .js .pull blockquote {
    animation: pull-rise linear both;
    animation-timeline: view();
    animation-range: entry 5% cover 45%;
  }
  @keyframes pull-rise {
    from { opacity: 0.1; transform: scale(0.93); }
    to { opacity: 1; transform: scale(1); }
  }
  .js .hero .container {
    animation: hero-sink linear both;
    animation-timeline: scroll();
    animation-range: 0 100svh;
  }
  @keyframes hero-sink {
    to { transform: translateY(-7svh); opacity: 0.15; }
  }
}

/* ---- seamless page transitions (Home ⇄ Consulting) ---- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.3s var(--glide) both; }
::view-transition-new(root) { animation: vt-in 0.5s var(--glide) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(12px); } }

/* ---- breathing type (Fraunces variable axes) ---- */
.display em {
  transition: font-variation-settings 0.7s var(--glide), color 0.7s var(--glide);
}
.display em:hover { font-variation-settings: "opsz" 144, "wght" 640; }
.hero-headline em {
  animation: em-breathe 7s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes em-breathe {
  0%, 100% { font-variation-settings: "opsz" 110, "wght" 500; }
  50% { font-variation-settings: "opsz" 138, "wght" 570; }
}

/* ------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  .line-inner { animation: none; transform: none; }
  .fade-in { animation: none; opacity: 1; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .card, .btn, .card-icon, .card-arrow, .btn .btn-ico { transition: none; }
  .hero-headline em, .tide-live span::before { animation: none; }
  .js .pull blockquote, .js .hero .container { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  .sl-intro { display: none; }
}
