/* ─── Scalenic - base styles ───────────────────────────────────────────── */

:root {
  --bg: #F6F4EF;
  --bg-2: #EEEAE1;
  --ink: #0F0F0F;
  --ink-2: #2A2A2A;
  --muted: #6B6B6B;
  --muted-2: #9A9A9A;
  --line: rgba(15, 15, 15, 0.10);
  --line-2: rgba(15, 15, 15, 0.18);
  --card: #131313;
  --card-2: #1E1E1E;
  --card-ink: #F6F4EF;
  --card-muted: rgba(246, 244, 239, 0.62);
  --accent: var(--ink);
  --accent-soft: rgba(15, 15, 15, 0.08);
  --radius: 14px;
  --radius-sm: 8px;
  --pad-section: 120px;
  --max: 1100px;
  --max-narrow: 880px;
  --pulse: rgba(15, 15, 15, 0.55);
  --hover-blue: #2A5BD9;
}

[data-theme="off"] {
  --bg: #FAFAF7;
  --bg-2: #F1F0EB;
  --ink: #0E0E10;
  --line: rgba(14, 14, 16, 0.10);
  --line-2: rgba(14, 14, 16, 0.20);
}

[data-theme="dark"] {
  --bg: #0E0E0F;
  --bg-2: #181818;
  --ink: #F4F2EC;
  --ink-2: #D9D6CD;
  --muted: #9A9A93;
  --muted-2: #6E6E68;
  --line: rgba(244, 242, 236, 0.10);
  --line-2: rgba(244, 242, 236, 0.20);
  --card: #1B1B1C;
  --card-2: #242425;
  --card-ink: #F4F2EC;
  --card-muted: rgba(244, 242, 236, 0.6);
  --accent-soft: rgba(244, 242, 236, 0.08);
  --pulse: rgba(244, 242, 236, 0.6);
}

[data-density="compact"] {
  --pad-section: 80px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: clip; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  font-family: "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  overflow-x: clip;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .35s ease, color .35s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── Headings - elegant serif ─────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6,
.h-display, .h-section, .h-card {
  font-family: "Gambarino", "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

/* ─── Type scale ───────────────────────────────────────────────────────── */
.h-display {
  font-size: clamp(44px, 6.8vw, 83px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.h-section {
  font-size: clamp(42px, 5.2vw, 65px);
  line-height: 1.06;
  letter-spacing: 0;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
}
.h-card {
  font-size: clamp(29px, 2.9vw, 35px);
  line-height: 1.16;
  letter-spacing: 0;
  font-weight: 600;
  margin: 0;
}
.lead {
  font-size: clamp(20px, 1.73vw, 21px);
  color: var(--muted);
  margin: 12px 0 0;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}
.eyebrow {
  font-size: 14px;
  color: var(--hover-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow::before { content: "[ "; }
.eyebrow::after  { content: " ]"; }

/* ─── Layout helpers ───────────────────────────────────────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}
.narrow {
  max-width: var(--max-narrow);
  margin: 0 auto;
  padding: 0 32px;
}
.section {
  padding: var(--pad-section) 0;
  position: relative;
}
.section-hd {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 56px;
}

/* ─── Nav ──────────────────────────────────────────────────────────────── */
.nav-shell {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(18,16,14,0.14);
  backdrop-filter: blur(12px) saturate(135%);
  -webkit-backdrop-filter: blur(12px) saturate(135%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .3s ease;
}
.nav-shell[data-scrolled="true"] {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-color: var(--line);
}
/* ── Over the hero (top): white nav text ───────────────────── */
.nav-shell .brand { color: #fff; }
.nav-shell .brand .dia { background: #fff; }
.nav-shell .nav-link { color: rgba(255,255,255,0.78); }
.nav-shell .nav-link:hover { background: rgba(255,255,255,0.14); color: #fff; }
.nav-shell .nav-link[data-active="true"] { color: #fff; }
.nav-shell .nav-meta { color: rgba(255,255,255,0.82); }
.nav-shell .nav-meta .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.12);
}
.nav-shell .nav-meta .btn-ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
/* ── Scrolled past the hero: revert to ink-on-cream ───────────── */
.nav-shell[data-scrolled="true"] .brand { color: var(--ink); }
.nav-shell[data-scrolled="true"] .brand .dia { background: var(--hover-blue); }
.nav-shell[data-scrolled="true"] .nav-link { color: color-mix(in srgb, var(--ink) 70%, transparent); }
.nav-shell[data-scrolled="true"] .nav-link:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); color: var(--ink); }
.nav-shell[data-scrolled="true"] .nav-link[data-active="true"] { color: var(--hover-blue); }
.nav-shell[data-scrolled="true"] .nav-meta { color: var(--muted); }
.nav-shell[data-scrolled="true"] .nav-meta .btn-ghost {
  color: var(--ink);
  border-color: var(--line-2);
  background: transparent;
}
.nav-shell[data-scrolled="true"] .nav-meta .btn-ghost:hover {
  background: #fff;
  border-color: var(--ink);
  color: var(--ink);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand .dia {
  width: 15px; height: 15px;
  background: var(--hover-blue);
  transform: rotate(45deg);
  transition: transform .35s cubic-bezier(.65,0,.35,1);
}
.brand:hover .dia { transform: rotate(225deg); }
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-link {
  position: relative;
  font-size: 16px;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background-color .2s ease, color .2s ease;
}
.nav-link:hover { background: color-mix(in srgb, var(--ink) 4%, transparent); color: var(--ink); }
.nav-link[data-active="true"] {
  background: transparent;
  color: var(--hover-blue);
}
.nav-link {
  color: color-mix(in srgb, var(--ink) 70%, transparent);
}
/* active nav link = brand blue, no underline */
.nav-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
}
.nav-links { white-space: nowrap; }
.nav-meta .availability {
  white-space: nowrap;
  font-size: 16px;
}
.nav-meta .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #2E7D5F;
  box-shadow: 0 0 0 0 rgba(46, 125, 95, 0.4);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 125, 95, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(46, 125, 95, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 125, 95, 0); }
}
.nav-burger {
  display: none;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: var(--ink);
}
.mobile-sheet {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 80px 32px 32px;
  gap: 4px;
  overflow-y: auto;
  transform: translateY(-110vh);
  visibility: hidden;
  pointer-events: none;
  transition: transform .35s cubic-bezier(.65,0,.35,1), visibility 0s linear .35s;
}
.mobile-sheet[data-open="true"] {
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
  transition: transform .35s cubic-bezier(.65,0,.35,1), visibility 0s linear 0s;
}
.mobile-sheet .nav-link {
  font-size: 22px;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  letter-spacing: -0.01em;
}
.mobile-sheet-close {
  position: absolute;
  top: 22px; right: 22px;
  background: none;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
}

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  padding: 17px 34px;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-110%);
  transition: transform .55s ease;
  pointer-events: none;
}
.btn:hover {
  transform: translateY(-1px);
  background: var(--hover-blue);
  color: #fff;
  border-color: var(--hover-blue);
  box-shadow: 0 10px 24px -10px rgba(42, 91, 217, 0.55);
}
.btn:hover::after { transform: translateX(110%); }
.btn:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  background: #2A5BD9;
  color: #fff;
  border-color: #2A5BD9;
}
.btn-sm { padding: 16px 20px; font-size: 16px; }
.btn .arrow {
  display: inline-block;
  transition: transform .25s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #0E0E0F url("assets/hero-bg.png") center center / cover no-repeat;
  transform: scaleX(-1);
}
/* Video background — sits above the dark fill, below the gradient.
   Starts hidden and fades in once buffered. */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero-video[data-ready="true"] { opacity: 1; }
/* Dark gradient for legibility - strong on the left, no bottom white fade.
   The image stays fully visible across the viewport. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.82) 0%,
      rgba(0,0,0,0.52) 34%,
      rgba(0,0,0,0.24) 60%,
      rgba(0,0,0,0.10) 100%);
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  padding: 120px 32px 80px;
}
/* Staggered entrance when the page loads */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-inner > * {
  animation: heroIn 1s cubic-bezier(.2,.65,.3,1) both;
}
.hero-inner > .hero-top-cred { animation-delay: .15s; }
.hero-inner > .h-display     { animation-delay: .28s; }
.hero-inner > .hero-sub      { animation-delay: .46s; }
.hero-inner > .hero-cta      { animation-delay: .62s; }
@media (prefers-reduced-motion: reduce) {
  .hero-inner > * { animation: none; }
  .reveal { transition: none; }
}
/* White text + light brand accents over the darkened artwork */
.hero .h-display {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: 0;
  max-width: 900px;
}
.hero .hero-sub {
  color: rgba(255,255,255,0.9);
  font-size: clamp(18px, 1.6vw, 21px);
  max-width: 540px;
}
.hero .hero-top-cred { color: #FFFFFF; }
.hero .hero-cred-label { color: #CBD8FF; }
.hero .hero-cred-client { color: rgba(255,255,255,0.86); }
/* Hero buttons tuned for the dark backdrop - white primary */
.hero .btn {
  background: #FFFFFF;
  color: var(--ink);
}
.hero .btn:hover {
  background: var(--hover-blue);
  color: #fff;
}
.hero-display {
  display: block;
}
/* H1 fixed size on desktop, allowed to wrap to ~two lines */
@media (min-width: 1000px) {
  .hero .h-display { font-size: 46px; max-width: 640px; text-wrap: balance; }
}
.hero-display .reg {
  position: relative;
  display: inline-block;
  font-size: 0.6em;
  vertical-align: super;
  font-weight: 500;
  opacity: .35;
}
/* Soft line breaks - drop them on small screens so text wraps to grid */
.hero-display br,
.hero-sub br { display: inline; }
@media (max-width: 720px) {
  .hero-display br,
  .hero-sub br { display: none; }
}
.hero-sub {
  margin: 28px 0 0;
  color: var(--muted);
  font-style: normal;
  font-size: clamp(21px, 1.8vw, 24px);
  max-width: 600px;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
/* Ghost CTA on the dark hero: light outline + white text */
.hero-cta .btn-ghost {
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(6px) saturate(130%);
  -webkit-backdrop-filter: blur(6px) saturate(130%);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.hero-cta .btn-ghost:hover {
  background: var(--hover-blue);
  border-color: var(--hover-blue);
  color: #fff;
}

/* ─── Stats strip ──────────────────────────────────────────────────────── */
.stats-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-top: 64px;
  overflow: hidden;
  position: relative;
}
.stats-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.stats-strip:hover .stats-track { animation-play-state: paused; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.stat {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12px;
  color: var(--muted);
}
.stat b {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stat .sep {
  width: 4px; height: 4px;
  background: var(--ink);
  transform: rotate(45deg);
  margin: 0 20px;
  opacity: .35;
}

/* ─── Outcomes / cards ─────────────────────────────────────────────────── */
.outcomes-wrap {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.outcomes-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 40px clamp(24px, 6vw, 80px) 60px;
  margin: -32px 0 0;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.outcomes-rail.is-dragging {
  cursor: grabbing;
}
.outcomes-rail.is-dragging .case-card { pointer-events: none; }
.outcomes-rail::-webkit-scrollbar { display: none; }
.outcomes-rail .case-card { scroll-snap-align: none; }

.rail-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 8px;
}
.case-card {
  flex: 0 0 680px;
  height: 456px;
  background: var(--card);
  color: var(--card-ink);
  border-radius: var(--radius);
  padding: 0;
  position: relative;
  scroll-snap-align: start;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: pointer;
  isolation: isolate;
}
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 0%, rgba(255,255,255,0.06), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.case-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transition: transform .65s cubic-bezier(.2,.6,.2,1);
}
.case-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 24%, rgba(0,0,0,0.5) 58%, rgba(0,0,0,0.92) 100%);
}
.case-card:hover .case-visual { transform: scale(1.04); }
.case-visual svg { width: 100%; height: 100%; display: block; }
.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.case-body {
  position: relative;
  z-index: 2;
  padding: 28px;
}
.case-card > .case-body { position: relative; z-index: 2; }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.4); }
.case-card[data-tone="2"] { background: #1A1A1A; }
.case-card[data-tone="3"] { background: #1A1A1A; }
.case-card[data-tone="4"] { background: #1A1A1A; }
.case-card[data-tone="5"] { background: #1A1A1A; }
.case-card[data-tone="6"] { background: #1A1A1A; }
.case-meta {
  font-size: 16px;
  color: #BFD0FF;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.case-meta::before { content: "[ "; opacity: .7; }
.case-meta::after  { content: " ]"; opacity: .7; }
.case-card h3 {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  line-height: 1.08;
  color: #fff;
}
.case-card p {
  font-size: 22px;
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
  margin: 0;
}
.case-card .case-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 10px;
  color: rgba(255,255,255,0.78);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
}
.case-card .case-arrow {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  transition: transform .3s ease, background-color .25s ease;
  font-size: 13px;
  color: #fff;
}
.case-card:hover .case-arrow {
  transform: rotate(-45deg);
  background: rgba(255, 255, 255, 0.92);
  color: #0F0F0F;
  border-color: transparent;
}
.case-card .case-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
  transition: color .25s ease, transform .25s ease;
}
.case-card:hover .case-cta { color: #fff; transform: translateX(3px); }

/* ─── Hero credentials block ──────────────────────────────────────────── */
.hero-top-cred {
  color: #FFFFFF;
  font-size: 16px;
  margin: 0 0 24px;
  letter-spacing: -0.005em;
}
.hero-creds {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 720px;
}
.hero-cred-label {
  color: var(--hover-blue);
  font-size: 13px;
  letter-spacing: -0.005em;
}
.hero-cred-client {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}
@media (max-width: 560px) {
  .hero-creds { margin-top: 36px; }
  .hero-top-cred { margin-bottom: 16px; }
}

.rail-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink);
  display: grid; place-items: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  font-size: 22px;
  line-height: 1;
}
.rail-btn:hover { background: var(--hover-blue); color: #fff; border-color: var(--hover-blue); }
.rail-btn:disabled { opacity: .3; cursor: not-allowed; }

/* ─── Services list ────────────────────────────────────────────────────── */
.services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.service-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  cursor: pointer;
  transition: padding .25s ease;
  position: relative;
}
.service-item:hover { padding-left: 12px; }
.service-item .check {
  width: 44px; height: 44px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 8px;
  margin-top: 0;
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  transition: transform .25s ease;
}
.service-item .check svg {
  width: 22px;
  height: 22px;
  display: block;
}
.service-item:hover .check { transform: rotate(-4deg) scale(1.04); }
.service-item h3 {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.service-item p {
  font-size: 16px;
  color: #4A4A4A;
  margin: 8px 0 0;
  line-height: 1.5;
  max-width: 620px;
}

/* ─── Six things - timeline ────────────────────────────────────────────── */
.skip-timeline {
  position: relative;
  padding-left: 0;
}
.skip-timeline::before {
  content: "";
  position: absolute;
  left: 32px;
  /* start + end at the vertical center of the first/last circle
     (row padding 18px + half of 66px node = 51px) */
  top: 51px;
  bottom: 51px;
  width: 1px;
  background: var(--line-2);
}
.skip-row {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 24px;
  align-items: start;
  padding: 27px 0;
  position: relative;
}
.skip-row + .skip-row { border-top: 1px dashed transparent; }
.skip-node {
  width: 66px; height: 66px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  background: var(--bg);
  position: relative;
  z-index: 1;
  transition: background-color .25s ease, color .25s ease, transform .35s ease;
}
.skip-row:hover .skip-node {
  background: var(--ink);
  color: var(--bg);
  transform: scale(1.04);
}
.skip-content {
  padding-top: 0;
  min-width: 0;
}
.skip-content h4 {
  font-size: 34px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
  transition: transform .25s ease;
}
.skip-row:hover .skip-content h4 { transform: translateX(4px); }
.skip-content p {
  font-size: 16px;
  color: #4A4A4A;
  margin: 0;
  line-height: 1.5;
  max-width: 620px;
}
.skip-step {
  display: block;
  font-size: 15px;
  color: var(--hover-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.skip-step::before { content: ""; }

@media (max-width: 560px) {
  .skip-timeline::before { left: 24px; }
  .skip-row { grid-template-columns: 48px 1fr; gap: 16px; }
  .skip-node { width: 48px; height: 48px; font-size: 16px; }
  .skip-content { padding-top: 8px; }
  .skip-step { display: none; }
}

/* ─── About ────────────────────────────────────────────────────────────── */
#about .section-hd { margin-bottom: 45px; }

.about {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  align-items: start;
}
.about-photo {
  width: 360px;
  height: 420px;
  background: var(--bg-2);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s cubic-bezier(.2,.6,.2,1);
}
.about-photo:hover img { transform: scale(1.06); }
.about-bio h4 {
  font-family: "Jost", ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin: 0 0 4px;
}
.about-bio .role {
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 16px;
}
.about-bio .badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--hover-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 4px 0;
  transition: color .2s ease, border-color .2s ease, padding .2s ease, background-color .2s ease;
}
a.about-bio .badge, .about-bio a.badge:hover {
  border-color: color-mix(in srgb, var(--hover-blue) 35%, transparent);
  padding: 4px 12px;
  background: color-mix(in srgb, var(--hover-blue) 7%, transparent);
}
.about-bio .badge::before {
  content: "★";
  color: var(--hover-blue);
}
.about-bio p {
  font-size: 22px;
  color: #3F3F3F;
  line-height: 1.4;
  margin: 0 0 14px;
  max-width: 540px;
}
.about-cta {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.about-cta a.link {
  font-size: 16px;
  color: var(--hover-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: color-mix(in srgb, var(--hover-blue) 40%, transparent);
  transition: color .2s ease, text-decoration-color .2s ease;
  white-space: nowrap;
}
.about-cta a.link:hover { color: #1E47B0; text-decoration-color: #1E47B0; }

/* ─── FAQ ──────────────────────────────────────────────────────────────── */
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-family: inherit;
  font-size: 25px;
  text-align: left;
  letter-spacing: -0.005em;
  transition: padding-left .25s ease, color .25s ease;
}
.faq-q:hover { padding-left: 8px; color: #2A5BD9; font-weight: 600; }
.faq-q:hover .plus::before,
.faq-q:hover .plus::after { background: #2A5BD9; }
.faq-item[data-open="true"] .faq-q { color: #2A5BD9; font-weight: 600; }
.faq-item[data-open="true"] .plus::before,
.faq-item[data-open="true"] .plus::after { background: #2A5BD9; }
.faq-q .plus {
  width: 11px; height: 11px;
  position: relative;
  flex-shrink: 0;
}
.faq-q .plus::before, .faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform .3s ease;
}
.faq-q .plus::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.faq-q .plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; transform: translateX(-50%); }
.faq-item[data-open="true"] .plus::after { transform: translateX(-50%) rotate(90deg); }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease, padding .35s ease;
}
.faq-item[data-open="true"] .faq-a { max-height: 320px; padding-bottom: 22px; }
.faq-a p {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
  max-width: 620px;
  padding-right: 32px;
}

#book .section-hd .lead { color: #494949; }

/* ─── Booking ──────────────────────────────────────────────────────────── */
.booking-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--bg-2) 60%, var(--bg));
  padding: 16px;
  margin-top: 8px;
  overflow: hidden;
}
.cal-embed {
  width: 100%;
  min-height: 720px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg);
}
.cal-embed iframe {
  border: 0 !important;
  width: 100% !important;
}
.booking-grid {
  display: grid;
  grid-template-columns: 220px 1fr 180px;
  gap: 24px;
}
.booking-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 12px;
}
.booking-side h4 {
  font-size: 14px;
  margin: 0 0 4px;
  font-weight: 600;
}
.booking-side p { color: var(--muted); margin: 0; font-size: 11.5px; }
.booking-side .field {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.booking-side .field .val {
  color: var(--ink);
  font-weight: 500;
  font-size: 12.5px;
  display: flex; align-items: center; gap: 8px;
}
.booking-side .field .val::before {
  content: "";
  width: 12px; height: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: inline-block;
}

.cal {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}
.cal-hd {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.cal-hd .mo { font-weight: 600; font-size: 12.5px; letter-spacing: -0.005em; }
.cal-hd .yr { color: var(--muted); font-size: 11px; margin-left: 8px; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  color: var(--ink);
}
.cal-nav button:hover { background: var(--hover-blue); color: #fff; border-color: var(--hover-blue); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-grid .dow {
  font-size: 9.5px;
  color: var(--muted);
  text-align: center;
  padding: 6px 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cal-day {
  aspect-ratio: 1;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-family: inherit;
  font-size: 11.5px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  transition: background-color .2s ease, color .2s ease;
  position: relative;
}
.cal-day:hover:not(:disabled) { background: var(--accent-soft); }
.cal-day:disabled { color: var(--muted-2); cursor: not-allowed; }
.cal-day[data-state="selected"] {
  background: var(--ink); color: var(--bg);
}
.cal-day[data-today="true"]::after {
  content: "TOD";
  position: absolute;
  top: 2px; right: 4px;
  font-size: 7px;
  color: var(--muted);
}

.times {
  display: flex; flex-direction: column; gap: 6px;
  max-height: 320px;
  overflow-y: auto;
}
.time-btn {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 12px;
  color: var(--ink);
  text-align: left;
  transition: all .2s ease;
}
.time-btn:hover { border-color: var(--ink); }
.time-btn[data-active="true"] {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}

.email-row {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  justify-content: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--muted);
}
.email-row-label { white-space: nowrap; font-size: 18px; color: var(--ink); }
.email-row-actions {
  display: flex; align-items: center; gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 19px;
}
.email-row .email-val { font-size: 19px; }
.email-row .copy-btn { font-size: 16px; padding: 11px 18px; }
.email-row .copy-btn svg { width: 18px; height: 18px; }
.email-row .email-val {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
  white-space: nowrap;
  transition: text-decoration-color .2s ease;
}
.email-row .email-val:hover { text-decoration-color: var(--ink); }
.copy-btn {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 8px 14px;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.copy-btn svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}
.copy-btn:hover { background: var(--hover-blue); color: #fff; border-color: var(--hover-blue); }
.copy-btn[data-copied="true"] { background: #2E7D5F; color: var(--bg); border-color: #2E7D5F; }

/* ─── Final CTA + footer ───────────────────────────────────────────────── */
.cta-final {
  padding: 100px 0;
  border-top: 1px solid var(--line);
}
.cta-final-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 32px;
  flex-wrap: wrap;
  min-height: 40vh;
}
.cta-final-cred {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: -8px;
}
.cta-final-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-2);
}
.cta-final-cred-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: -0.005em;
  text-align: left;
}
.cta-final-cred-text strong {
  color: var(--ink);
  font-weight: 500;
  font-size: 16px;
}
.cta-final-cred-sub {
  font-size: 14px;
  color: var(--muted);
}
.footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  font-size: 11px;
  color: var(--muted);
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 23px;
  font-weight: 600;
  color: var(--ink);
  transition: opacity .2s ease;
}
.footer-brand:hover { opacity: .65; }
.footer-brand .footer-dia {
  width: 12.7px; height: 12.7px;
  background: var(--hover-blue);
  transform: rotate(45deg);
  transition: transform .35s cubic-bezier(.65,0,.35,1);
}
.footer-brand:hover .footer-dia { transform: rotate(225deg); }
.footer-loc {
  font-weight: 400;
  font-size: 16px;
  color: var(--muted);
}
.footer-inner .links {
  display: flex; gap: 16px;
  align-items: center;
  font-size: 16px;
}
.footer-inner .links a { position: relative; }
.footer-inner .links a + a::before {
  content: "·";
  position: absolute;
  left: -10px;
  color: var(--muted-2);
  pointer-events: none;
}
.footer-inner a:hover { color: var(--hover-blue); }

/* ─── Accent halo (when accent is set via tweaks) ──────────────────────── */
.accent-halo .case-card[data-tone="1"] { background: linear-gradient(180deg, var(--card) 70%, color-mix(in srgb, var(--accent) 28%, var(--card)) 100%); }
.accent-halo .btn { background: var(--accent); color: var(--bg); }
.accent-halo .btn-ghost { background: transparent; color: var(--ink); }
.accent-halo .btn-ghost:hover { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.accent-halo .service-item .check { background: var(--accent); }
.accent-halo .skip-item:hover .ico { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.accent-halo .nav-meta .dot { background: var(--accent); }
.accent-halo .cal-day[data-state="selected"] { background: var(--accent); color: var(--bg); }
.accent-halo .cal-nav button:hover, .accent-halo .rail-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.accent-halo .time-btn[data-active="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* ─── Hero variants ───────────────────────────────────────────────────── */
[data-hero="display"] .h-display { font-size: clamp(48px, 8vw, 96px); letter-spacing: -0.035em; line-height: .98; }
[data-hero="marquee"] .hero-marquee {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--line);
  padding: 12px 0;
  margin-bottom: 40px;
  font-size: 11px;
  color: var(--muted);
}
[data-hero="marquee"] .hero-marquee span {
  display: inline-block;
  animation: marquee 30s linear infinite;
  padding-right: 48px;
}

/* ─── Reveal on scroll ─────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.65,.3,1);
  will-change: opacity, transform;
}
.reveal[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ───────────────────────────────────────────────────────── */
/* Drop only the "Available · May & June" text first — keeps the links. */
@media (max-width: 1140px) {
  .nav-meta .availability { display: none; }
}
/* Mid widths: tighten link spacing/size a touch so they keep fitting. */
@media (max-width: 1040px) {
  .nav-link { font-size: 16px; padding: 6px 8px; }
  .nav-links { gap: 2px; }
  .nav { gap: 16px; }
}
/* Below this the links no longer fit. Mobile gets a laconic nav:
   just the logotype on the left and the Book button on the right. */
@media (max-width: 1040px) {
  .nav-links { display: none !important; }
  .nav-burger { display: none !important; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: none; }
  .nav { justify-content: space-between; gap: 16px; }
  .nav-meta { gap: 0; }
  .nav-meta .btn-ghost { display: inline-flex; }
}
@media (max-width: 920px) {
  :root { --pad-section: 80px; }
  .booking-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { width: 100%; height: 320px; }
  .case-card { flex: 0 0 78vw; }
}
@media (max-width: 560px) {
  :root { --pad-section: 64px; }
  .nav { padding: 12px 20px; }
  .container, .narrow { padding: 0 20px; }
  .hero { padding: 0; }
  .hero-inner { padding: 80px 20px 56px; }

  /* Stacked, full-width CTAs on mobile (minus the page padding) */
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; padding: 16px 20px; }
  .cta-final-inner .btn { width: 100%; justify-content: center; padding: 16px 20px; }

  .service-item { grid-template-columns: 36px 1fr; gap: 16px; padding: 22px 0; }
  .service-item .check { width: 36px; height: 36px; }
  .service-item .check svg { width: 18px; height: 18px; }
  .service-item h3 { font-size: 26px; }
  .service-item p { font-size: 16px; }

  /* Taller thumbnails on mobile (~1.6× the old height) */
  .case-card { height: 352px; padding: 20px; flex: 0 0 84vw; }
  .case-card h3 { font-size: 27px; }
  .case-meta { color: #fff; font-size: 14px; }
  .case-card p { font-size: 16px; }

  .cta-final { padding: 64px 0; }
  .cta-final-inner { flex-direction: column; align-items: center; text-align: center; gap: 20px; min-height: 0; }
  .stat .sep { margin: 0 12px; }
  .stats-track { gap: 32px; }
  .section-hd { margin-bottom: 36px; }
}

/* ─── Cookie consent banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  width: 340px;
  max-width: calc(100vw - 32px);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 12px 32px rgba(15, 15, 15, 0.18);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.cookie-banner.is-shown { opacity: 1; transform: translateY(0); }
.cookie-text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-link {
  font-size: 13px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-link:hover { color: var(--ink); }
@media (max-width: 560px) {
  .cookie-banner { left: 16px; right: 16px; width: auto; }
}

/* ─── FAQ titles smaller on mobile (1.5x reduction) ─────────────────── */
@media (max-width: 700px) {
  .faq-q { font-size: 17px; padding: 18px 0; gap: 12px; }
  .faq-q .plus { width: 14px; height: 14px; }
}

/* ─── Consistent blue glow on every button hover ───────────────────── */
.btn:hover,
.btn-ghost:hover,
.copy-btn:hover,
.rail-btn:hover,
.hero .btn:hover {
  box-shadow: 0 10px 24px -10px rgba(42, 91, 217, 0.55);
}

/* =================================================================
   Mobile polish pass (2026-06-02)
   ================================================================= */

/* H2 + H3 line-height breathing room (applies all viewports) */
.h-section { line-height: 1.3; }
.h-card { line-height: 1.3; }

/* Outcomes rail: wider edge fades + allow native horizontal touch drag */
.outcomes-rail {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  touch-action: pan-x pan-y;
  scroll-snap-type: x proximity;
}
.outcomes-rail .case-card { scroll-snap-align: start; }

/* About body 2px smaller */
.about-bio p { font-size: 20px; }

/* ─── Mobile-specific tweaks (≤700px) ─── */
@media (max-width: 700px) {
  /* Nav: hide the Available label, leave only logo + book button */
  .nav-meta .availability { display: none !important; }
  .nav { padding-left: 24px; padding-right: 24px; gap: 12px; }
  .nav-meta { gap: 0; }

  /* Mobile Book button height bump (+20px) — same on top nav too */
  .nav-meta .btn { padding-top: 18px; padding-bottom: 18px; }
  .btn { padding-top: 20px; padding-bottom: 20px; }
  .btn-sm { padding-top: 14px; padding-bottom: 14px; }

  /* Tighter letter-spacing on display headings (mobile only, ~-40% perceptual) */
  .h-display, .h-section, .h-card {
    letter-spacing: -0.03em;
  }

  /* Outcomes carousel mobile: wider gradient fades + first card peek */
  .outcomes-rail {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Rail controls: stay centered, give breathing room */
  .rail-controls { justify-content: center; gap: 16px; margin-top: 16px; }

  /* About body even smaller on mobile */
  .about-bio p { font-size: 16px; }

  /* Why-this-works: top-align number circle with heading */
  .skip-row { align-items: flex-start !important; }
  .skip-content { padding-top: 6px; }

  /* FAQ titles bumped from 17 to 18, disable hover effects on mobile (click only) */
  .faq-q { font-size: 18px; }
  .faq-q:hover {
    padding-left: 0 !important;
    color: var(--ink) !important;
    font-weight: 400 !important;
  }
  .faq-q:hover .plus::before,
  .faq-q:hover .plus::after { background: var(--ink) !important; }

  /* Email row stacks vertically on mobile (email above button, label first) */
  .email-row { flex-direction: column; align-items: stretch; gap: 14px; }
  .email-row-actions { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .email-row .email-val { font-size: 17px; word-break: break-all; text-align: left; }
  .email-row .copy-btn { width: 100%; justify-content: center; }

  /* All page-level buttons full-width on mobile (except nav + cookie banner) */
  .hero .btn,
  .cta-final .btn,
  .booking-card .btn,
  .about-cta .btn {
    width: 100%;
    max-width: none;
  }
  .hero-cta { width: 100%; }
  .hero-cta .btn { width: 100%; }

  /* Cookie banner mobile: Accept + Decline side-by-side, Rules right */
  .cookie-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
  }
  .cookie-actions [data-consent="accept"] { order: 1; flex: 0 0 auto; }
  .cookie-actions [data-consent="decline"] { order: 2; flex: 0 0 auto; }
  .cookie-actions .cookie-link {
    order: 3;
    margin-left: auto;
    font-size: 14px;
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .cookie-actions .cookie-link:hover { color: var(--hover-blue); }
}
