/* ==========================================================================
   OCEAN PARTNERS CONSULTING — design system v2 (proto2)
   Built from the original Elementor landing (orig_css.css), cleaned:
   – one token set shared by home, internal pages, header, footer and modal
   – signature element: "El eje BCN × DXB" (live dual clock axis + horizons)
   – glass only where it carries identity (nav pill, btn-glass, modal)
   – every animation sits behind prefers-reduced-motion: no-preference
   ========================================================================== */

:root {
  /* colour — same values as the original */
  --bg:          #050505;
  --bg-elev:     rgba(255, 255, 255, 0.018);
  --line:        rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink:         #f5f3ee;
  --ink-soft:    rgba(245, 243, 238, 0.78);
  --muted:       rgba(245, 243, 238, 0.58);   /* raised from .50 for AA on small labels */
  --soft:        rgba(245, 243, 238, 0.24);
  --paper:       rgba(255, 255, 255, 0.035);
  --paper-2:     rgba(255, 255, 255, 0.06);
  --accent:      #8FB4D9;
  --accent-2:    #A8C5E0;
  --accent-ink:  #0a1424;
  --accent-soft: rgba(143, 180, 217, 0.14);
  --accent-line: rgba(143, 180, 217, 0.38);
  --positive:    #8FD9B0;

  /* type */
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* layout */
  --container: 1280px;
  --gutter: clamp(20px, 4.2vw, 60px);
  --section: clamp(80px, 11vw, 140px);
  --radius: 14px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body.ocean {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-color: var(--bg);
  /* original radial gradients, reduced from 3 stacked glows to 2 */
  background-image:
    radial-gradient(900px 700px at 85% -5%, rgba(143, 180, 217, 0.10), transparent 60%),
    radial-gradient(700px 600px at -5% 95%, rgba(143, 180, 217, 0.07), transparent 60%),
    linear-gradient(180deg, #0a0a0a 0%, #050505 50%, #0a0a0a 100%);
  background-attachment: fixed;
}
/* original 64px grid */
body.ocean::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}
.ocean main, .ocean footer { position: relative; z-index: 1; }
/* reset with zero specificity (:where) so component margins/paddings always win */
:where(.ocean) :where(h1, h2, h3, h4, p, figure, ul, ol, dl, dd) { margin: 0; }
:where(.ocean) :where(ul, ol) { padding: 0; }
:where(.ocean) a { color: inherit; text-decoration: none; }
:where(.ocean) button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
.ocean img { max-width: 100%; }
.ocean :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.skip-link:focus { top: 16px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type roles ---------- */
.label { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 12.5px; }
.mono { font-family: var(--mono); font-feature-settings: 'tnum' 1, 'zero' 0; letter-spacing: 0; }
.accent { color: var(--accent); }
.section { padding: var(--section) 0; }
.section-eyebrow { color: var(--muted); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.section-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--accent); flex: none; }
.section-eyebrow .idx { font-family: var(--mono); letter-spacing: 0; color: var(--accent); font-size: 11px; }
.section-title { font-size: clamp(32px, 4.6vw, 64px); font-weight: 500; line-height: 1.04; letter-spacing: -0.04em; max-width: 900px; color: var(--ink); text-wrap: balance; }
.section-lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.55; color: var(--ink-soft); max-width: 620px; text-wrap: pretty; }
.split-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 6vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.split-head .section-title { margin-bottom: 0; }
@media (max-width: 860px) { .split-head { grid-template-columns: 1fr; } }

/* ---------- buttons (liquid glass, from the original) ---------- */
.btn-accent, .btn-glass {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px;
  border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.2;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 28px var(--accent-soft), inset 0 1px 0 rgba(255,255,255,0.22); }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-2px); }
.btn-glass {
  color: var(--ink); font-weight: 500;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.3); transform: translateY(-2px); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.text-link { color: var(--accent); font-weight: 500; border-bottom: 1px solid var(--accent-line); padding-bottom: 1px; transition: border-color .2s, color .2s; }
.text-link:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ==========================================================================
   NAV — floating pill (original header template), now with Industries
   submenu and a real mobile menu that lives inside the pill
   ========================================================================== */
.opc-nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  width: max-content; max-width: calc(100% - 24px);
  padding: 7px 7px 7px 14px;
  background: rgba(10,10,10,0.66);
  -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  font-size: 13.5px;
}
.nav-inner { display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; flex: none; border-radius: 50%; }
.brand-mark { width: 28px; height: 28px; display: block; overflow: hidden; position: relative; }
.brand-mark img { position: absolute; width: 62px; height: 62px; max-width: none; left: -17px; top: -17px; display: block; }
.brand-mark img.is-tight { width: 28px; height: 28px; left: 0; top: 0; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; }
.nav-links > li { position: relative; }
.nav-link { color: var(--ink-soft); font-weight: 500; white-space: nowrap; transition: color .2s; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--ink); }
.nav-link .chev { width: 9px; height: 9px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.nav-sub {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%);
  min-width: 380px; padding: 8px; list-style: none;
  background: rgba(12,12,12,0.985);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  display: none;
}
.nav-sub.open { display: block; }
.nav-sub a { white-space: nowrap; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 12px; border-radius: 10px; color: var(--ink-soft); font-weight: 500; }
.nav-sub a:hover, .nav-sub a:focus-visible { background: var(--paper-2); color: var(--ink); }
.nav-sub a small { font-family: var(--mono); font-size: 10.5px; color: var(--muted); letter-spacing: 0; font-weight: 400; }
.nav-lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; font-family: var(--mono); font-size: 11px; }
.nav-lang a { padding: 4px 8px; border-radius: 999px; color: var(--muted); }
.nav-lang a[aria-current="true"] { background: var(--paper-2); color: var(--ink); }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--accent-2); transform: translateY(-1px); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center; border: 1px solid var(--line-strong); }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform .25s var(--ease), top .25s; }
.nav-toggle span::before { top: -5px; } .nav-toggle span::after { top: 5px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.nav-panel { display: none; }

@media (max-width: 940px) {
  .opc-nav { top: 10px; width: calc(100% - 20px); max-width: 560px; padding: 6px 6px 6px 14px; border-radius: 26px; }
  .nav-inner { justify-content: space-between; gap: 10px; }
  .nav-links { display: none; }
  .nav-right { display: flex; align-items: center; gap: 8px; }
  .nav-toggle { display: inline-flex; }
  .nav-panel { padding: 8px 8px 10px 0; }
  .opc-nav.is-open { background: rgba(10,10,10,0.97); }
  .opc-nav.is-open .nav-panel { display: block; max-height: calc(100vh - 90px); overflow-y: auto; }
  .nav-panel ul { list-style: none; }
  .nav-panel > ul > li { border-bottom: 1px solid var(--line); }
  .nav-panel > ul > li > a { display: block; padding: 15px 4px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
  .nav-panel .panel-group { padding: 12px 4px 14px; }
  .nav-panel .panel-group > span { display: block; color: var(--muted); margin-bottom: 6px; }
  .nav-panel .panel-group a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: var(--ink-soft); font-size: 15px; }
  .nav-panel .panel-group a small { font-family: var(--mono); color: var(--muted); font-size: 10.5px; }
  .nav-panel .panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; }
  .nav-panel .panel-foot .nav-cta { padding: 12px 18px; font-size: 14px; }
}
@media (min-width: 941px) { .nav-right .nav-cta-mobile { display: none; } .nav-right { display: contents; } }
@media (max-width: 380px) { .nav-right .nav-cta-mobile { padding: 9px 12px; font-size: 12.5px; } }

/* ==========================================================================
   HERO — real H1 in markup; letter rise is progressive enhancement
   ========================================================================== */
.hero {
  min-height: 92vh; min-height: 92svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 128px var(--gutter) 40px;
  position: relative;
}
.hero h1 { font-size: clamp(46px, 8.6vw, 128px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; max-width: 1200px; margin: 0 auto; }
.hero h1 .kicker {
  display: block; margin: 0 auto 28px;
  font-size: 12.5px; letter-spacing: 0; text-transform: none; font-weight: 500; line-height: 1.4;
  color: var(--muted);
}
.hero h1 .kicker b { color: var(--ink); font-weight: 500; }
.hero h1 .line { display: block; padding: 0.04em 0.04em 0.12em; }
.hero h1 .line-3 { font-size: 0.56em; padding-top: 0.22em; letter-spacing: -0.04em; color: var(--accent); }
.hero h1 .dot { color: var(--accent); }
.hero h1 .x { font-weight: 300; }
.hero-meta { margin: 40px auto 0; max-width: 640px; color: var(--ink-soft); font-size: 18px; line-height: 1.55; text-wrap: pretty; }
.hero-cta-row { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero .axis { margin-top: auto; padding-top: 56px; width: 100%; }

/* letter rise (JS adds .char spans; only when motion is allowed) */
.js .hero h1 .word { display: inline-block; white-space: nowrap; }
.js .hero h1 .char { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero h1 .line { overflow: hidden; }
  .js .hero h1.is-splitting .char { transform: translateY(110%); animation: opcRise 1s var(--ease) forwards; animation-delay: calc(0.032s * var(--i) + var(--d, 0s)); }
  .js .hero h1 .line-2 { --d: .32s; }
  .js .hero h1 .line-3 { --d: .7s; }
  .js .hero .kicker, .js .hero-meta, .js .hero-cta-row, .js .hero .axis { animation: opcFadeUp .8s ease both; }
  .js .hero .kicker { animation-delay: .05s; }
  .js .hero-meta { animation-delay: 1.05s; }
  .js .hero-cta-row { animation-delay: 1.2s; }
  .js .hero .axis { animation-delay: 1.35s; }
}
@keyframes opcRise { to { transform: translateY(0); } }
@keyframes opcFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   SIGNATURE — "El eje BCN × DXB"
   A hairline axis that carries the real local time of both studios.
   Used in: hero, internal page hero, pain 06, method milestone, about
   (horizons), closing footer. Never decorative-only: it always shows data.
   ========================================================================== */
.axis { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 18px; max-width: 980px; margin: 0 auto; color: var(--muted); }
.axis-city { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.axis-city:last-child { justify-content: flex-end; }
.axis-code { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.axis-time { font-family: var(--mono); font-size: 22px; letter-spacing: -0.02em; color: var(--ink); font-feature-settings: 'tnum' 1; }
.axis-tz { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.axis-rule { height: 1px; background: linear-gradient(90deg, var(--line-strong), var(--accent-line)); position: relative; }
.axis-rule.r { background: linear-gradient(90deg, var(--accent-line), var(--line-strong)); }
.axis-node { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--accent-line); color: var(--accent); display: grid; place-items: center; font-size: 15px; font-weight: 300; line-height: 1; }
.axis-status { grid-column: 1 / -1; text-align: center; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: -4px; }
.axis-status .pip { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--soft); margin-right: 8px; vertical-align: 1px; }
.axis-status[data-state="both"] .pip { background: var(--positive); }
.axis-status[data-state="one"] .pip { background: var(--accent); }
.axis--compact { max-width: none; margin: 0; gap: 12px; }
.axis--compact .axis-time { font-size: 15px; }
@media (max-width: 640px) {
  .axis { grid-template-columns: 1fr auto 1fr; gap: 10px 12px; }
  .axis-rule { display: none; }
  .axis-city { flex-direction: column; align-items: flex-start; gap: 2px; }
  .axis-city:last-of-type { align-items: flex-end; }
  .axis-time { font-size: 20px; }
  .axis-status { margin-top: 6px; }
}

/* ==========================================================================
   MARQUEE (services) + BENCHMARK BAND (replaces the invented toasts)
   ========================================================================== */
.marquee { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee-track { display: flex; gap: 56px; width: max-content; }
.marquee-item { color: var(--ink); font-size: 22px; letter-spacing: -0.02em; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee-item::after { content: '✱'; color: var(--accent); font-size: 14px; }
@keyframes opcScrollLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.bench-band { border-bottom: 1px solid var(--line); background: rgba(0,0,0,0.3); position: relative; }
.bench-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px var(--gutter) 0; max-width: var(--container); margin: 0 auto; }
.bench-head p { color: var(--muted); font-size: 11px; }
.bench-head p strong { color: var(--ink-soft); font-weight: 500; }
.motion-toggle { white-space: nowrap; flex: none; font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px; }
.motion-toggle:hover { color: var(--ink); }
.bench-viewport { overflow: hidden; padding: 14px 0 20px; position: relative; }
.bench-viewport::before, .bench-viewport::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.bench-viewport::before { left: 0; background: linear-gradient(90deg, #050505, transparent); }
.bench-viewport::after { right: 0; background: linear-gradient(-90deg, #050505, transparent); }
.bench-track { display: flex; gap: 14px; width: max-content; padding: 0 var(--gutter); list-style: none; }
.toast { display: flex; align-items: center; gap: 14px; background: var(--paper); border: 1px solid rgba(255,255,255,0.1); padding: 10px 18px 10px 10px; border-radius: 14px; flex: none; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.toast-icon { min-width: 54px; height: 38px; padding: 0 8px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: -0.02em; white-space: nowrap; }
.toast-text { display: flex; flex-direction: column; gap: 2px; }
.toast-text small { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.toast-text small cite { font-style: normal; font-family: var(--mono); letter-spacing: 0; text-transform: none; font-size: 10.5px; color: var(--ink-soft); }
.toast-text strong { font-weight: 500; font-size: 14px; color: var(--ink); white-space: nowrap; }
.toast.is-own .toast-icon { background: rgba(143,217,176,0.12); color: var(--positive); }

@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: opcScrollLeft 52s linear infinite; }
  .bench-track { animation: opcScrollLeft 70s linear infinite; }
  .marquee:hover .marquee-track, .bench-viewport:hover .bench-track, .bench-viewport:focus-within .bench-track,
  .is-paused .marquee-track, .is-paused .bench-track { animation-play-state: paused; }
}
/* reduced motion: static, scrollable, duplicates hidden */
@media (prefers-reduced-motion: reduce) {
  .bench-viewport { overflow-x: auto; }
  .bench-viewport::before, .bench-viewport::after { display: none; }
  [data-dup] { display: none !important; }
  .motion-toggle { display: none; }
}

/* ==========================================================================
   PAINS — six cards with mocks (original), quieter hover
   ========================================================================== */
.pains { background: var(--bg-elev); border-bottom: 1px solid var(--line); }
.pains-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; }
@media (max-width: 1000px) { .pains-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pains-grid { grid-template-columns: 1fr; gap: 14px; } }
.pain-card { background: var(--paper); border: 1px solid var(--line); padding: 26px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 22px; transition: border-color .3s, transform .3s var(--ease); }
.pain-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.pain-mock { aspect-ratio: 16 / 9; background: rgba(0,0,0,0.42); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pain-text small { font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--accent); margin-bottom: 10px; display: block; }
.pain-text small .mono { letter-spacing: 0; }
.pain-text h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.22; margin-bottom: 10px; text-wrap: balance; }
.pain-text p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.mock-tools { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.mock-tool { padding: 7px 12px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-soft); display: flex; gap: 6px; }
.mock-tool .x { color: var(--muted); }
.pain-card:hover .mock-tool .x { color: var(--accent); }
.mock-gauge-wrap { width: 88%; }
.mock-gauge { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.mock-gauge .fill { width: 18%; height: 100%; background: var(--accent); border-radius: 3px; transition: width .6s var(--ease); }
.pain-card:hover .mock-gauge .fill { width: 22%; }
.mock-gauge-label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 10px; }
.mock-gauge-label .up { color: var(--accent); }
.mock-chat { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--ink-soft); transition: border-color .3s; }
.pain-card:hover .mock-chat { border-color: var(--accent-line); }
.mock-chat .typing::after { content: '_'; }
@media (prefers-reduced-motion: no-preference) { .mock-chat .typing::after { animation: opcBlink 1s steps(1) infinite; } }
@keyframes opcBlink { 50% { opacity: 0; } }
.mock-bars { display: flex; align-items: flex-end; gap: 5px; height: 70%; }
.mock-bar { width: 14px; background: rgba(255,255,255,0.15); border-radius: 2px 2px 0 0; transform-origin: bottom; transition: transform .5s var(--ease); }
.mock-bar.lit { background: var(--accent); opacity: .65; }
.pain-card:hover .mock-bar:nth-child(odd) { transform: scaleY(1.18); }
.mock-dashboard { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 7px; }
.mock-row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.mock-row .empty { color: var(--soft); }
.mock-clock { display: flex; flex-direction: column; gap: 6px; width: 92%; }
.mock-clock-row { display: flex; align-items: center; justify-content: space-between; padding: 6px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.mock-clock-row .city { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.mock-clock-row .time { font-family: var(--mono); font-size: 12.5px; color: var(--accent); }
.mock-clock-row .time small { color: var(--muted); font-size: 10px; margin-left: 6px; }

/* ==========================================================================
   SOLUTIONS — six disciplines (one accent, no six-colour glows)
   ========================================================================== */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; list-style: none; }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .work-grid { grid-template-columns: 1fr; gap: 14px; } }
.work-tile { display: flex; flex-direction: column; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .4s var(--ease), border-color .3s; text-align: left; width: 100%; }
.work-tile:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.work-media { aspect-ratio: 16 / 10; position: relative; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 50% 38%, rgba(143,180,217,0.12), transparent 62%), linear-gradient(135deg, #151515, #0a0a0a); overflow: hidden; }
.work-media::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 32px 32px; mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 75%); }
.work-icon { position: absolute; width: 64px; height: 64px; top: 50%; left: 50%; transform: translate(-50%, -62%); color: rgba(245,243,238,0.86); transition: color .35s, transform .5s var(--ease); }
.work-tile:hover .work-icon { color: var(--accent); transform: translate(-50%, -66%); }
.work-idx { position: absolute; top: 14px; left: 16px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.work-name { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: clamp(17px, 1.6vw, 21px); font-weight: 500; letter-spacing: -0.03em; }
.work-info { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work-tag { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--accent); font-weight: 500; }
.work-info h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.work-info p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.work-more { margin-top: auto; padding-top: 12px; font-size: 13px; color: var(--muted); font-weight: 500; transition: color .2s; }
.work-tile:hover .work-more { color: var(--accent); }

/* ==========================================================================
   INDUSTRIES — new multi-sector section; clinics is one (featured) card
   ========================================================================== */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; list-style: none; }
.ind-card { background: #070707; padding: 28px 26px 22px; display: flex; flex-direction: column; gap: 12px; min-height: 250px; position: relative; }
.ind-card h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.ind-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.ind-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.ind-meta .label { font-size: 12.5px; color: var(--accent); }
.ind-meta .mono { font-size: 10.5px; color: var(--muted); }
.ind-card .ind-foot { margin-top: auto; align-self: flex-start; font-size: 13.5px; }
.ind-links { list-style: none; border-top: 1px solid var(--line); margin-top: auto; }
.ind-links li { border-bottom: 1px solid var(--line); }
.ind-links li:last-child { border-bottom: 0; }
.ind-links a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 11px 0; font-size: 14.5px; color: var(--ink-soft); transition: color .2s, padding .3s var(--ease); }
.ind-links li:first-child a { color: var(--ink); }
.ind-links li:first-child a span:last-child { color: var(--accent); font-size: 13px; }
.ind-links a:hover { color: var(--ink); padding-left: 6px; }
.ind-links a span:last-child { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.ind-card--also { justify-content: center; gap: 16px; background: radial-gradient(420px 260px at 100% 0%, rgba(143,180,217,0.06), transparent 60%), #070707; }
.ind-card--also p { max-width: 34ch; }
.ind-card--also .ind-foot { margin-top: 0; }
@media (max-width: 1100px) {
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ind-grid { grid-template-columns: 1fr; }
  .ind-card { min-height: 0; padding: 24px 22px 18px; }
  .ind-card--also { padding-bottom: 24px; }
}

/* ==========================================================================
   STACK / INTEGRATIONS — 11 real logos + "your stack" cell (even 4×3 grid)
   ========================================================================== */
.integrations { padding: clamp(72px, 9vw, 110px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-elev); }
.integrations-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.integrations-head .section-eyebrow { justify-content: center; }
.integrations-head .section-title { margin: 0 auto 20px; }
.integrations-head .section-lead { margin: 0 auto; }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; list-style: none; }
.logo-cell { background: #070707; height: 132px; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: background .3s; }
.logo-cell:hover { background: #0d0d0d; }
/* the hosted PNGs are 2363px squares with the mark centred: size each one optically via --s */
.logo-cell img { width: calc(var(--s, 110px) * var(--k, 1)); height: calc(var(--s, 110px) * var(--k, 1)); max-width: none; flex: none; filter: brightness(0) invert(1); opacity: .82; transition: opacity .3s; }
.logo-cell:hover img { opacity: 1; }
.logo-cell--yours { flex-direction: column; gap: 6px; color: var(--muted); text-align: center; }
.logo-cell--yours strong { color: var(--ink); font-weight: 500; font-size: 15px; letter-spacing: -0.02em; }
.logo-cell--yours span { font-family: var(--mono); font-size: 11px; }
.partner-line { text-align: center; margin-top: 22px; color: var(--muted); font-size: 13px; }
.partner-line b { color: var(--ink); font-weight: 500; }
@media (max-width: 800px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } .logo-cell { height: 110px; } .logo-cell img { --k: .9; } }
@media (max-width: 480px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } .logo-cell { height: 100px; } .logo-cell img { --k: .95; } }

/* ==========================================================================
   CALCULATOR — transparent arithmetic, no promised uplift
   ========================================================================== */
.calc-head { text-align: center; }
.calc-head .section-eyebrow { justify-content: center; }
.calc-head .section-title, .calc-head .section-lead { margin-left: auto; margin-right: auto; }
.calc-head .section-title { margin-bottom: 22px; }
.calc-body { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1.05fr; gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .calc-body { grid-template-columns: 1fr; } }
.calc-panel { background: rgba(255,255,255,0.028); border: 1px solid var(--line); border-radius: 18px; padding: clamp(22px, 3.2vw, 40px); }
.calc-input + .calc-input { margin-top: 30px; }
.calc-input-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.calc-input-head label { font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.calc-input-head output { font-family: var(--mono); color: var(--ink); font-size: 20px; letter-spacing: -0.02em; }
.ocean input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: transparent; margin: 0; cursor: pointer; }
.ocean input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--fill, 30%), rgba(255,255,255,0.1) var(--fill, 30%)); }
.ocean input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); }
.ocean input[type="range"]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--accent); }
.ocean input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 5px var(--accent-soft); }
.ocean input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; background: var(--accent); border: 0; border-radius: 50%; box-shadow: 0 0 0 5px var(--accent-soft); }
.ocean input[type="range"]:focus-visible { outline: none; }
.ocean input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px var(--accent-line), 0 0 0 7px var(--accent); }
.calc-out { display: flex; flex-direction: column; gap: 26px; }
.calc-out-label { font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 8px; }
.calc-out-value { font-size: clamp(36px, 4.4vw, 56px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; font-feature-settings: 'tnum' 1; }
.calc-out-value.accent { color: var(--accent); }
.calc-formula { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.6; overflow-wrap: anywhere; }
.calc-formula b { color: var(--ink-soft); font-weight: 400; }
.calc-bars { display: grid; gap: 10px; }
.calc-bar { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.calc-bar .track { height: 10px; background: rgba(255,255,255,0.06); border-radius: 5px; overflow: hidden; }
.calc-bar .fill { display: block; height: 100%; background: var(--soft); border-radius: 5px; transition: width .4s var(--ease); }
.calc-bar.is-plus .fill { background: var(--accent); }
.calc-bar .v { color: var(--ink); min-width: 92px; text-align: right; }
.calc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc-split .calc-out-value { font-size: clamp(24px, 2.4vw, 30px); }
.calc-note { font-size: 12.5px; color: var(--muted); line-height: 1.55; border-left: 2px solid var(--accent-line); padding-left: 12px; }
.calc-cta { text-align: center; margin-top: 48px; }
@media (max-width: 480px) { .calc-bar { grid-template-columns: 44px 1fr auto; gap: 10px; } .calc-bar .v { min-width: 0; } .calc-split { grid-template-columns: 1fr; } }

/* ==========================================================================
   METHOD — illustrative engagement plan (no KPIs) + stack/automation cards
   ========================================================================== */
.method { border-top: 1px solid var(--line); }
.dashboard { background: rgba(255,255,255,0.028); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.35); }
.dash-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 24px; border-bottom: 1px solid var(--line); background: rgba(0,0,0,0.25); }
.dash-header-left { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; }
.dash-header-left strong { color: var(--ink); font-weight: 500; }
.illus-tag { font-family: var(--mono); font-size: 10.5px; color: var(--accent); border: 1px dashed var(--accent-line); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.dash-header-right { display: flex; gap: 18px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.dash-header-right strong { color: var(--ink); font-weight: 400; margin-left: 6px; }
.dash-progress { padding: 26px 28px 20px; border-bottom: 1px solid var(--line); }
.dash-weeks { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-bottom: 8px; }
.dash-weeks span { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.07); }
.dash-weeks span.done { background: var(--accent); opacity: .55; }
.dash-weeks span.now { background: var(--accent); }
.dash-weeks-legend { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.dash-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; list-style: none; }
.dash-stage { padding: 14px 16px; background: rgba(255,255,255,0.025); border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; gap: 6px; }
.dash-stage.active { border-color: var(--accent-line); background: var(--accent-soft); }
.dash-stage-head { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; }
.dash-stage-status { font-family: var(--mono); letter-spacing: 0; text-transform: none; }
.dash-stage.done .dash-stage-status { color: var(--positive); }
.dash-stage.active .dash-stage-status { color: var(--accent); }
.dash-stage-name { font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.dash-stage-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.dash-stage-wk { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.dash-body { display: grid; grid-template-columns: 1.25fr 1fr; }
.dash-panel { padding: 24px 28px; }
.dash-panel + .dash-panel { border-left: 1px solid var(--line); }
.dash-panel-title { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; margin-bottom: 16px; }
.dash-task-list { display: flex; flex-direction: column; gap: 8px; list-style: none; }
.dash-task { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--ink-soft); }
.dash-task .marker { width: 18px; height: 18px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.dash-task.done { color: var(--ink); }
.dash-task.done .marker { background: var(--positive); color: var(--accent-ink); }
.dash-task.active { color: var(--ink); border-color: var(--accent-line); background: var(--accent-soft); }
.dash-task.active .marker { border: 2px solid var(--accent); }
.dash-task.pending .marker { border: 1px solid var(--soft); }
.dash-task .task-meta { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.dash-rituals { list-style: none; display: grid; gap: 0; }
.dash-rituals li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.dash-rituals li:first-child { padding-top: 0; }
.dash-rituals li span:last-child { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.dash-next { margin-top: 18px; padding: 14px; border: 1px dashed var(--line-strong); border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13.5px; }
.dash-next small { display: block; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); margin-bottom: 3px; font-weight: 500; }
.dash-next .mono { font-size: 12px; color: var(--accent); }
.dash-foot { padding: 12px 24px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11px; color: var(--muted); }
@media (max-width: 860px) {
  .dash-stages { grid-template-columns: 1fr 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-panel + .dash-panel { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .dash-header, .dash-progress, .dash-panel { padding-left: 16px; padding-right: 16px; }
  .dash-stages { grid-template-columns: 1fr; gap: 8px; }
  .dash-task { font-size: 13.5px; }
}
.method-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 22px; }
@media (max-width: 800px) { .method-extras { grid-template-columns: 1fr; } }
.method-extra { background: rgba(255,255,255,0.028); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s; }
.method-extra:hover { border-color: var(--line-strong); }
.method-extra-mock { height: 220px; background: rgba(0,0,0,0.25); border-bottom: 1px solid var(--line); position: relative; padding: 22px; }
.method-extra-text { padding: 22px 26px 26px; }
.method-extra-text small { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--accent); font-weight: 500; display: block; margin-bottom: 10px; }
.method-extra-text h3 { font-size: 21px; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 8px; }
.method-extra-text p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }
.conn-canvas { position: relative; width: 100%; height: 100%; max-width: 360px; margin: 0 auto; }
.conn-lines { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 4 4; fill: none; opacity: .5; }
@media (prefers-reduced-motion: no-preference) { .method-extra:hover .conn-lines line { animation: opcDash 1.2s linear infinite; } }
@keyframes opcDash { to { stroke-dashoffset: -16; } }
.conn-node { position: absolute; width: 54px; height: 54px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: border-color .3s, color .3s; }
.conn-node svg, .conn-center svg { width: 24px; height: 24px; }
.method-extra:hover .conn-node { border-color: var(--accent-line); color: var(--accent); }
.conn-node.n1 { top: 4%; left: 6%; } .conn-node.n2 { top: 4%; right: 6%; } .conn-node.n3 { bottom: 4%; left: 6%; } .conn-node.n4 { bottom: 4%; right: 6%; }
.conn-center { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.flow-canvas { display: flex; align-items: center; justify-content: center; gap: 10px; height: calc(100% - 44px); }
.flow-step { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; font-weight: 500; min-width: 84px; }
.flow-step svg { width: 24px; height: 24px; }
.flow-step.f2 { background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent); }
.flow-arrow { color: var(--muted); display: flex; } .flow-arrow svg { width: 20px; height: 20px; }
.method-extra:hover .flow-arrow { color: var(--accent); }
.flow-meta { display: flex; justify-content: space-around; gap: 6px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
@media (max-width: 420px) { .flow-step { min-width: 0; flex: 1; padding: 12px 6px; } .flow-canvas { gap: 4px; } .flow-meta { font-size: 10px; letter-spacing: -0.02em; } }

/* ==========================================================================
   ABOUT — the studio + HORIZONS (signature: two working days on one axis)
   ========================================================================== */
.about { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-text h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 500; line-height: 1.03; letter-spacing: -0.04em; margin-bottom: 24px; text-wrap: balance; }
.about-text p { color: var(--ink-soft); font-size: 17px; line-height: 1.6; max-width: 500px; }
.about-stats-row { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 18px 36px; margin-top: 36px; }
.about-stat-block .num { font-size: clamp(34px, 3.6vw, 48px); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.about-stat-block .lbl { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 8px; font-weight: 500; }
@media (max-width: 520px) { .about-stats-row { grid-template-columns: repeat(2, auto); } }
.about-text .legal-line, .legal-line { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--muted); line-height: 1.7; }

.horizons { border: 1px solid var(--line); border-radius: 18px; background: #070708; padding: clamp(22px, 3vw, 34px); position: relative; overflow: hidden; }
.horizons-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 26px; flex-wrap: wrap; }
.horizons-head small { color: var(--accent); }
.horizons-head span { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.hz-row { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; }
.hz-row + .hz-row { margin-top: 18px; }
.hz-city { display: flex; flex-direction: column; gap: 2px; }
.hz-city b { font-weight: 500; font-size: 14px; }
.hz-city .mono { font-size: 11px; color: var(--muted); }
.hz-rail { position: relative; height: 34px; border-radius: 8px; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px calc(100% / 24)), rgba(255,255,255,0.02); border: 1px solid var(--line); }
.hz-work { position: absolute; top: 4px; bottom: 4px; border-radius: 5px; background: rgba(245,243,238,0.14); border: 1px solid rgba(245,243,238,0.18); }
.hz-work span { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 10.5px; color: var(--ink-soft); white-space: nowrap; }
.hz-overlap-wrap { position: relative; margin-top: 18px; display: grid; grid-template-columns: 112px 1fr; gap: 14px; }
.hz-overlap-wrap .hz-scale { position: relative; height: 18px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.hz-scale span { position: absolute; transform: translateX(-50%); }
.hz-scale span:first-child { transform: none; } .hz-scale span:last-child { transform: translateX(-100%); }
.hz-band { position: absolute; top: -8px; bottom: -8px; border-left: 1px dashed var(--accent); border-right: 1px dashed var(--accent); background: rgba(143,180,217,0.10); pointer-events: none; }
.hz-now { position: absolute; top: -12px; bottom: -12px; width: 2px; background: var(--ink); border-radius: 2px; pointer-events: none; }
.hz-now::before { content: attr(data-label); position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 10px; color: var(--ink); white-space: nowrap; }
.hz-rails { position: relative; padding-top: 14px; }
.hz-overlay { position: absolute; top: 14px; bottom: 0; left: calc(112px + 14px); right: 0; pointer-events: none; }
.hz-overlap-wrap { align-items: center; }
.hz-scale-label { font-size: 10px; color: var(--muted); }
@media (max-width: 520px) { .hz-overlay { left: calc(72px + 10px); } }
.hz-legend { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.hz-legend div { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.hz-legend b { display: block; font-family: var(--mono); font-weight: 400; color: var(--accent); font-size: 18px; letter-spacing: -0.02em; margin-bottom: 2px; }
@media (max-width: 520px) { .hz-row, .hz-overlap-wrap { grid-template-columns: 72px 1fr; gap: 10px; } .hz-work span { display: none; } .hz-legend { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ — native <details>, keyboard accessible without JS
   ========================================================================== */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-grid .section-title { font-size: clamp(30px, 3.8vw, 52px); }
.faq-aside { margin-top: 28px; color: var(--ink-soft); font-size: 15px; line-height: 1.55; max-width: 380px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: clamp(16px, 1.4vw, 19px); font-weight: 500; letter-spacing: -0.02em; cursor: pointer; border-radius: 6px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .toggle { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease), background .3s, color .3s; font-size: 17px; font-weight: 300; }
.faq-item[open] summary .toggle { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq-item summary:hover .toggle { border-color: var(--accent-line); }
.faq-a { color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; padding: 0 56px 26px 0; max-width: 70ch; }
.faq-a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent-line); }
@media (max-width: 600px) { .faq-a { padding-right: 0; } .faq-item summary { padding: 20px 0; } }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-section { background: rgba(255,255,255,0.022); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 500; line-height: 1.03; letter-spacing: -0.04em; margin-bottom: 22px; }
.contact-info > p { color: var(--ink-soft); font-size: 17px; line-height: 1.55; margin-bottom: 36px; max-width: 460px; }
.contact-rows { border-top: 1px solid var(--line); }
.contact-rows > div { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-rows dt { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; min-width: 120px; }
.contact-rows dd { font-size: 15px; }
.contact-rows dd a { color: var(--accent); }
@media (max-width: 480px) { .contact-rows > div { flex-direction: column; gap: 4px; } }
.contact-cta-card { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); text-align: center; box-shadow: inset 0 1px 0 rgba(255,255,255,0.05); }
.contact-cta-card .badge { display: inline-flex; padding: 7px 14px; background: var(--accent-soft); color: var(--accent); border-radius: 999px; font-size: 12.5px; font-weight: 500; letter-spacing: 0; text-transform: none; margin-bottom: 24px; }
.contact-cta-card h3 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; }
.contact-cta-card p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; margin: 0 auto 28px; max-width: 420px; }
.stats-mini { display: flex; justify-content: center; gap: 32px; padding: 18px 0; margin-bottom: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-mini div { display: flex; flex-direction: column; align-items: center; }
.stats-mini strong { font-family: var(--mono); font-size: 20px; font-weight: 400; }
.stats-mini small { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 4px; }
.contact-cta-card .btn-accent { width: 100%; max-width: 320px; }
.contact-cta-card .fallback { margin-top: 16px; font-size: 13px; color: var(--muted); }
.contact-cta-card .fallback a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   CLOSING SCENE (footer) — "Let's build it." + SEO link columns
   ========================================================================== */
.opc-closing { border-top: 1px solid var(--line); padding: clamp(96px, 12vw, 140px) var(--gutter) 40px; position: relative; overflow: hidden; }
.opc-closing::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px circle at 30% 20%, rgba(143,180,217,0.11), transparent 60%); pointer-events: none; }
.closing-content { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing-eyebrow { color: var(--muted); margin-bottom: 28px; }
.opc-closing h2 { font-size: clamp(64px, 12vw, 200px); font-weight: 500; line-height: .94; letter-spacing: -0.06em; margin-bottom: 52px; }
.closing-axis { position: relative; max-width: var(--container); margin: clamp(64px, 8vw, 96px) auto 0; padding-top: 28px; border-top: 1px solid var(--line); }
.closing-foot { position: relative; max-width: var(--container); margin: 36px auto 0; display: grid; grid-template-columns: 1.15fr 1fr 1.25fr 1.1fr; gap: 32px; }
.closing-foot h3 { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.closing-foot ul { list-style: none; display: grid; gap: 9px; }
.closing-foot a { font-size: 14.5px; color: var(--ink-soft); transition: color .2s; }
.closing-foot a:hover { color: var(--accent); }
.closing-foot .sub { padding-left: 14px; border-left: 1px solid var(--line); display: grid; gap: 8px; margin-top: 4px; }
.closing-foot .sub a { font-size: 13.5px; color: var(--muted); }
.closing-foot p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.closing-foot p + p { margin-top: 12px; }
.closing-foot .mono { font-size: 12px; color: var(--muted); }
.closing-credit { position: relative; max-width: var(--container); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; }
@media (max-width: 980px) { .closing-foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .closing-foot { grid-template-columns: 1fr; gap: 28px; } .opc-closing .btn-accent { width: 100%; } }

/* ==========================================================================
   QUALIFIER MODAL — 7 steps, focus trap, Esc, focus return
   ========================================================================== */
.qf-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.qf-modal.open { display: flex; }
.qf-backdrop { position: absolute; inset: 0; background: rgba(5,5,5,0.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.qf-card { position: relative; width: 100%; max-width: 640px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; background: #0f0f10; border: 1px solid var(--line-strong); border-radius: 24px; padding: 36px 44px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); display: flex; flex-direction: column; min-height: 500px; }
@media (prefers-reduced-motion: no-preference) {
  .qf-modal.open .qf-backdrop { animation: opcFadeIn .3s ease; }
  .qf-modal.open .qf-card { animation: opcSlideUp .4s var(--ease); }
  .qf-step.active { animation: opcFadeUp .4s var(--ease); }
}
@keyframes opcFadeIn { from { opacity: 0; } }
@keyframes opcSlideUp { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.qf-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-size: 22px; font-weight: 300; display: grid; place-items: center; }
.qf-close:hover { background: var(--paper-2); }
.qf-header { margin-bottom: 30px; padding-right: 48px; }
.qf-progress-row { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.qf-progress-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.qf-progress-label .cur { color: var(--accent); }
.qf-progress-pct { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.qf-progress-dots { display: flex; gap: 6px; }
.qf-dot { flex: 1; height: 4px; background: rgba(255,255,255,0.07); border-radius: 2px; transition: background .4s; }
.qf-dot.done, .qf-dot.active { background: var(--accent); }
.qf-dot.done { opacity: .55; }
.qf-steps { flex: 1; display: flex; flex-direction: column; }
.qf-step { display: none; flex-direction: column; justify-content: center; flex: 1; border: 0; padding: 0; margin: 0; min-width: 0; }
.qf-step.active { display: flex; }
.js .qf-modal .qf-step:not(.active) { display: none; }
.qf-step-num { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0; color: var(--accent); margin-bottom: 12px; }
.qf-step-q { font-size: clamp(22px, 3.2vw, 30px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 8px; padding: 0; display: block; }
.qf-step-sub { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.5; }
.qf-input { width: 100%; padding: 15px 18px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; color: var(--ink); font: inherit; font-size: 17px; transition: border-color .2s, box-shadow .2s; }
.qf-input::placeholder { color: var(--muted); }
.qf-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
textarea.qf-input { resize: vertical; min-height: 120px; }
.qf-choices { display: flex; flex-direction: column; gap: 8px; }
.qf-choice { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-weight: 500; text-align: left; width: 100%; transition: border-color .2s, background .2s; }
/* long option lists (service step: 12 options) go two-up on wider screens so the step fits without scrolling */
@media (min-width: 720px) {
  .qf-choices:has(> :nth-child(9)) { display: grid; grid-template-columns: 1fr 1fr; }
  .qf-choices:has(> :nth-child(9)) .qf-choice { padding: 11px 14px; font-size: 14px; line-height: 1.3; }
  .qf-card:has(.qf-step.active .qf-choices > :nth-child(9)) { max-width: 760px; }
}
@media (max-width: 719px) {
  .qf-choices:has(> :nth-child(9)) { gap: 6px; }
  .qf-choices:has(> :nth-child(9)) .qf-choice { padding: 9px 12px; }
}
.qf-choice:hover { border-color: var(--line-strong); background: var(--paper-2); }
.qf-choice[aria-pressed="true"] { background: var(--accent-soft); border-color: var(--accent); }
.qf-choice-key { width: 26px; height: 26px; border-radius: 6px; border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--muted); flex: none; }
.qf-choice[aria-pressed="true"] .qf-choice-key { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.qf-footer { margin-top: 26px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.qf-footer-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.qf-back { color: var(--muted); font-size: 13px; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.qf-back:hover { color: var(--ink); }
.qf-back[disabled] { visibility: hidden; }
.qf-next { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 12px 24px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; font-size: 14px; font-weight: 600; }
.qf-next:hover { background: var(--accent-2); }
.qf-next[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.qf-hint { font-size: 12px; color: var(--muted); }
.qf-hint kbd { display: inline-block; padding: 2px 7px; background: var(--paper-2); border: 1px solid var(--line); border-radius: 4px; font-family: var(--mono); font-size: 11px; color: var(--ink); }
.qf-error { margin-top: 14px; padding: 12px 16px; background: rgba(255,90,90,0.08); border: 1px solid rgba(255,90,90,0.35); color: #ffc4c4; border-radius: 10px; font-size: 13.5px; line-height: 1.45; }
.qf-error a { color: #fff; text-decoration: underline; }
.qf-field-error { color: #ffb4b4; font-size: 13px; margin-top: 10px; min-height: 1em; }
.qf-done { text-align: center; padding: 24px 0; }
.qf-done-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; margin: 0 auto 22px; font-size: 30px; }
.qf-done h3 { font-size: 28px; font-weight: 500; letter-spacing: -0.03em; margin-bottom: 12px; }
.qf-done p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; max-width: 400px; margin: 0 auto; }
body.qf-open { overflow: hidden; }
@media (max-width: 600px) {
  .qf-modal { padding: 10px; align-items: stretch; }
  .qf-card { padding: 22px 18px; border-radius: 18px; min-height: 0; max-height: none; }
  .qf-hint { display: none; }
  .qf-input { font-size: 16px; }
  .qf-choice { padding: 12px 14px; font-size: 14px; }
}
.cf7-bridge { display: none !important; }

/* ==========================================================================
   INTERNAL PAGE TEMPLATE
   ========================================================================== */
.page-hero { padding: clamp(128px, 15vw, 176px) 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-bottom: 36px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: var(--soft); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-soft); }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 84px); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; max-width: 17ch; text-wrap: balance; }
.page-hero .hero-sub { margin-top: 28px; max-width: 640px; color: var(--ink-soft); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; text-wrap: pretty; }
.page-hero .btn-row { margin-top: 34px; }
.page-hero .axis { margin-top: clamp(56px, 7vw, 88px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; }
.page-body { padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 110px); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.page-aside { position: sticky; top: 96px; display: grid; gap: 16px; }
@media (max-width: 1040px) { .page-grid { grid-template-columns: minmax(0, 1fr); } .page-aside { position: static; order: -1; } .page-aside .aside-cards { display: none; } }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: rgba(255,255,255,0.02); }
.toc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: '+'; font-family: var(--mono); color: var(--accent); }
.toc[open] summary::after { content: '–'; }
.toc ol { list-style: none; margin-top: 14px; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 6px 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.4; transition: color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--muted); padding-top: 2px; }
.toc a:hover, .toc a.is-current { color: var(--ink); }
.toc a.is-current::before { color: var(--accent); }
.aside-cards { display: grid; gap: 16px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: rgba(255,255,255,0.025); }
.aside-card.is-primary { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(143,180,217,0.08), rgba(143,180,217,0.02)); }
.aside-card small { color: var(--accent); display: block; margin-bottom: 10px; }
.aside-card h2 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 8px; }
.aside-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin-bottom: 16px; }
.aside-card .price { font-family: var(--mono); font-size: 13px; color: var(--ink); display: block; margin-bottom: 14px; }
.aside-card .btn-accent, .aside-card .btn-glass { width: 100%; min-height: 44px; padding: 11px 18px; font-size: 13.5px; }
.aside-mobile-cards { display: none; }
@media (max-width: 1040px) { .aside-mobile-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 0; } }
@media (max-width: 640px) { .aside-mobile-cards { grid-template-columns: 1fr; } }

/* prose — Markdown body */
.prose { max-width: 920px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); counter-reset: h2; }
.prose > :not(.table-wrap) { max-width: 720px; }
.prose > p:first-child { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); letter-spacing: -0.015em; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { counter-increment: h2; font-size: clamp(26px, 2.8vw, 38px); font-weight: 500; line-height: 1.12; letter-spacing: -0.035em; color: var(--ink); margin: 2.3em 0 0.7em; padding-top: 1em; border-top: 1px solid var(--line); text-wrap: balance; scroll-margin-top: 100px; }
.prose h2::before { content: counter(h2, decimal-leading-zero); display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0; color: var(--accent); margin-bottom: 14px; font-weight: 400; }
.prose h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin: 1.9em 0 0.5em; line-height: 1.3; }
.prose h2 + h3 { margin-top: 1.2em; }
.prose ul, .prose ol { margin: 1em 0 1.2em; display: grid; gap: 10px; }
.prose ul { list-style: none; }
.prose ul > li { position: relative; padding-left: 26px; }
.prose ul > li::before { content: ''; position: absolute; left: 2px; top: 0.78em; width: 12px; height: 1px; background: var(--accent); }
.prose ol { list-style: none; counter-reset: ol; }
.prose ol > li { counter-increment: ol; position: relative; padding-left: 40px; }
.prose ol > li::before { content: counter(ol, decimal-leading-zero); position: absolute; left: 0; top: 0.18em; font-family: var(--mono); font-size: 12px; color: var(--accent); border: 1px solid var(--accent-line); border-radius: 6px; padding: 1px 5px; line-height: 1.5; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose a[href^="http"]::after { content: '↗'; font-size: .8em; margin-left: 2px; }
.prose blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 2px solid var(--accent); color: var(--ink); }
/* tables */
.table-wrap { margin: 1.8em 0; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: rgba(255,255,255,0.02); position: relative; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 2px solid var(--accent); }
.prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.5; }
.prose th, .prose td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose tr:last-child td { border-bottom: 0; }
.prose thead th { font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 500; background: rgba(255,255,255,0.025); }
.prose td:first-child { color: var(--ink); font-weight: 500; }
.prose td .num, .prose .is-num { font-family: var(--mono); font-feature-settings: 'tnum' 1; white-space: nowrap; color: var(--ink); }
.prose tbody tr:hover td { background: rgba(255,255,255,0.015); }
.table-hint { display: none; font-family: var(--mono); font-size: 11px; color: var(--muted); margin: -1.2em 0 1.6em; }
/* comparison table (pricing): columns = plans; recommended column highlighted */
.prose table.compare { min-width: 640px; table-layout: fixed; }
.prose table.compare th:first-child, .prose table.compare td:first-child { width: 34%; position: sticky; left: 0; background: #0a0a0b; z-index: 1; }
.prose table.compare thead th { font-size: 15px; letter-spacing: -0.01em; text-transform: none; color: var(--ink); font-weight: 600; padding-top: 20px; padding-bottom: 16px; }
.prose table.compare thead th .rec { display: block; margin-top: 6px; font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 2px 8px; width: max-content; }
.prose table.compare .is-rec { background: rgba(143,180,217,0.07); box-shadow: inset 1px 0 0 var(--accent-line), inset -1px 0 0 var(--accent-line); }
.prose table.compare thead .is-rec { box-shadow: inset 1px 0 0 var(--accent-line), inset -1px 0 0 var(--accent-line), inset 0 2px 0 var(--accent); }
.prose table.compare tr.is-price td { font-family: var(--mono); font-size: 22px; letter-spacing: -0.03em; color: var(--ink); padding-top: 18px; padding-bottom: 18px; }
.prose table.compare tr.is-price td:first-child { font-family: var(--sans); font-size: 13px; letter-spacing: 0; color: var(--ink-soft); font-weight: 500; }
.prose table.compare td { color: var(--ink-soft); }
.prose .yes { color: var(--positive); font-family: var(--mono); }
.prose .no { color: var(--soft); font-family: var(--mono); }
@media (max-width: 720px) {
  .prose { font-size: 16px; }
  .prose th, .prose td { padding: 12px 14px; }
  .table-wrap.is-scroll + .table-hint { display: block; }
  .prose table.compare th:first-child, .prose table.compare td:first-child { width: 150px; }
  .prose table.compare tr.is-price td { font-size: 18px; }
}
/* simple tables stack into labelled rows on small screens */
@media (max-width: 560px) {
  .prose .table-wrap:not(.is-compare) { overflow: visible; }
  .prose table.stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .prose table.stack, .prose table.stack tbody, .prose table.stack tr, .prose table.stack td { display: block; width: 100%; }
  .prose table.stack tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .prose table.stack tr:last-child { border-bottom: 0; }
  .prose table.stack td { padding: 3px 0; border: 0; }
  .prose table.stack td:first-child { font-size: 15.5px; margin-bottom: 4px; }
  .prose table.stack td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12.5px; letter-spacing: 0; text-transform: none; color: var(--muted); margin-top: 6px; }
  .prose table.stack td:nth-child(2)::before { display: none; }
  .prose table.stack + .table-hint, .prose .table-wrap:not(.is-compare) + .table-hint { display: none !important; }
}

/* plan cards — mobile rendering of comparison tables (same data) */
.prose .plan-cards { display: none; list-style: none; gap: 14px; margin: 1.6em 0; padding: 0; }
.prose .plan-cards > li.plan-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.025); }
.prose .plan-cards > li.plan-card::before { content: none; }
.prose .plan-card.is-rec { border-color: var(--accent-line); background: linear-gradient(180deg, rgba(143,180,217,0.09), rgba(143,180,217,0.02)); }
.prose .plan-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.prose .plan-card h3 { margin: 0; font-size: 19px; font-weight: 500; color: var(--ink); letter-spacing: -0.02em; }
.prose .plan-card .rec { font-family: var(--mono); font-size: 10.5px; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 2px 9px; }
.prose .plan-price { margin: 10px 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.prose .plan-price .num { font-family: var(--mono); font-size: 30px; color: var(--ink); letter-spacing: -0.03em; }
.prose .plan-price small { font-size: 12px; color: var(--muted); }
.prose .plan-card ul { list-style: none; margin: 0; display: grid; gap: 9px; }
.prose .plan-card ul li { padding-left: 0; display: grid; grid-template-columns: 82px 1fr; gap: 12px; font-size: 14.5px; line-height: 1.45; }
.prose .plan-card ul li::before { content: none; }
.prose .plan-card ul li .val { font-family: var(--mono); font-size: 12px; color: var(--ink); padding-top: 2px; }
.prose .plan-card ul li.is-off { color: var(--soft); }
@media (max-width: 720px) {
  .prose .table-wrap.is-compare, .prose .table-wrap.is-compare + .table-hint { display: none; }
  .prose .plan-cards { display: grid; }
}

/* page FAQ + final CTA */
.page-faq { padding: clamp(72px, 8vw, 110px) 0; border-top: 1px solid var(--line); background: var(--bg-elev); }
.page-cta { padding: clamp(80px, 10vw, 130px) 0; text-align: center; border-top: 1px solid var(--line); }
.page-cta h2 { font-size: clamp(34px, 5vw, 68px); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; max-width: 16ch; margin: 0 auto 22px; text-wrap: balance; }
.page-cta p { color: var(--ink-soft); font-size: 17px; line-height: 1.55; max-width: 560px; margin: 0 auto 32px; }
.page-cta .btn-row { justify-content: center; }

/* ==========================================================================
   REVEAL — only hides content when JS is present AND motion is allowed
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- small-screen rhythm ---------- */
@media (max-width: 768px) {
  body.ocean { background-attachment: scroll; }
  body.ocean::before { background-size: 40px 40px; }
  .hero { min-height: 0; padding: 116px 20px 40px; }
  .hero h1 .kicker { font-size: 11px; margin-bottom: 22px; }
  .hero h1 .line-3 { font-size: 0.6em; }
  .hero-meta { font-size: 16px; margin-top: 32px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-left: auto; margin-right: auto; }
  .hero .axis { padding-top: 44px; }
  .marquee { padding: 18px 0; }
  .marquee-item { font-size: 16px; gap: 36px; } .marquee-track { gap: 36px; }
  .bench-viewport::before, .bench-viewport::after { width: 40px; }
  .toast-text strong { font-size: 13px; }
  .pain-card { padding: 20px; }
  .pain-mock { aspect-ratio: 2 / 1; }
  .work-media { aspect-ratio: 2 / 1; }
  .work-icon { width: 48px; height: 48px; }
  .work-name { bottom: 14px; }
  .pain-text h3 { font-size: 19px; }
  .section-eyebrow { margin-bottom: 20px; font-size: 11px; }
  .btn-accent, .btn-glass { padding: 13px 22px; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 44px; }
  .hero h1 .kicker { letter-spacing: 0.12em; }
}

/* ---------- reduced motion: hard stop ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* about: studio photo + offices */
.about-visual { display: grid; gap: 18px; }
.studio-photo { position: relative; margin: 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #0b0b0c; }
.studio-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85) contrast(1.02); }
.studio-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,0) 55%, rgba(5,5,5,.75)); pointer-events: none; }
.studio-photo figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-size: 11.5px; color: var(--ink-soft); letter-spacing: .04em; }
.offices { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; max-width: 500px; }
.offices li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: baseline; padding: 10px 0; border-top: 1px solid var(--line); }
.offices li .mono { grid-row: span 2; font-size: 11.5px; color: var(--accent); letter-spacing: .06em; }
.offices li b { font-weight: 500; font-size: 15px; }
.offices li small { color: var(--muted); font-size: 13px; }

/* Antonio: no eyebrow/uppercase micro-labels */
.section-eyebrow, .closing-eyebrow { display: none !important; }
.hero h1 .kicker { font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); font-weight: 400; }
