/* ════════════════════════════════════════════════════════════════════
   SEA · Official site · v9 "HIGH GROUND"

   Elevation, taken literally. The page is a contour map: bone paper
   for the ground, and cobalt fields where the land rises, with the
   contour lines of a topographic survey drifting slowly behind every
   raised panel. One colour, used as a field rather than a trim, is
   what makes the scheme read as a scheme. Plus Jakarta Sans at 700
   carries the headlines with one lit word in cobalt; subheadlines take
   the brand colour, paragraphs sit in slate. Ink pills on bone, bone
   pills on cobalt. Nothing tilts.

   Reference DNA: Wise and Monzo for one owned colour used as a field,
   Cleo for air and the floating chips, Ramp for the bone ground and
   the proof strip, Mercury for the elevation idea.
   ════════════════════════════════════════════════════════════════════ */

:root {
  --bone:   #F3F0E8;
  --bone-2: #EAE6DA;
  --card:   #FBFAF6;

  --ink:    #111418;
  --ink-2:  #2A2F36;
  --soft:   #4F555D;
  --faint:  #5F656E;

  --line:   rgba(17,20,24,.12);
  --line-2: rgba(17,20,24,.22);

  --cobalt:      #1E3FE0;
  --cobalt-2:    #1632C4;
  --cobalt-soft: #BFD0FF;
  --cobalt-tint: #E4EAFF;
  --on-field:    #F3F0E8;
  --on-field-soft: rgba(243,240,232,.8);
  --field-line:  rgba(243,240,232,.30);

  --display: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --sans: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;
  --sub: var(--cobalt);
  --sub-on-field: #C9D6FF;

  --container: 1200px;
  --gutter: clamp(20px, 4.5vw, 56px);

  --r-ctrl: 14px;
  --r-card: 22px;
  --r-big:  32px;

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-soft: cubic-bezier(.22,.61,.21,1);
  --shadow: 0 30px 60px -44px rgba(17,20,24,.35);
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .32s ease both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); background: var(--bone); color: var(--ink);
  font-size: 18px; line-height: 1.65; font-weight: 450;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; color: inherit; }
input, button, select, textarea { font-size: inherit; font-family: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--cobalt); color: var(--on-field); }
:is(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
.field :is(a, button, [tabindex]):focus-visible { outline-color: var(--on-field); }

/* Paper grain: overlay rounds to nothing on light ground, soft light does not */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 300;
  opacity: .05; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: var(--bone); padding: 10px 16px; font-weight: 600; border-radius: 999px; }
.skip:focus { left: 12px; top: 12px; }

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

/* ─── Type ─────────────────────────────────────────────────────── */
.h1, .h2, .h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; color: var(--ink); }
.field .h1, .field .h2, .field .h3 { color: var(--on-field); }
.h1 { font-size: clamp(3rem, 7vw, 6.2rem); letter-spacing: -.034em; line-height: .98; }
.h2 { font-size: clamp(2.2rem, 4.8vw, 4rem); letter-spacing: -.03em; line-height: 1.02; }
.h3 { font-size: clamp(1.5rem, 2.3vw, 2.05rem); letter-spacing: -.022em; line-height: 1.1; }
.lit { color: var(--cobalt); }
.field .lit { color: var(--cobalt-soft); }
/* the subheadline carries the brand colour, so the eye reads three levels at a glance */
.lead { font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.5; font-weight: 500; letter-spacing: -.012em; color: var(--sub); max-width: 52ch; text-wrap: pretty; }
.lead b { color: inherit; font-weight: 700; }
.field .lead { color: var(--sub-on-field); }
.field .lead b { color: #fff; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px 7px 10px; background: rgba(255,255,255,.35);
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); flex: none; align-self: flex-start; margin-top: .45em; }
.chip.plain::before { display: none; }
.chip.plain { padding-left: 14px; }
.field .chip { color: var(--on-field); border-color: var(--field-line); background: rgba(243,240,232,.08); }
.field .chip::before { background: var(--on-field); }

/* ─── Pills ────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 16px; white-space: nowrap;
  padding: 16px 28px; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--bone);
  box-shadow: 0 12px 28px -14px rgba(17,20,24,.5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
}
.pill:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(17,20,24,.55); background: var(--cobalt); color: var(--on-field); }
.pill:active { transform: translateY(0) scale(.985); }
.pill .arrow { transition: transform .25s var(--ease); flex: none; }
.pill:hover .arrow { transform: translateX(4px); }
.pill-xl { font-size: 17px; padding: 19px 34px; }
.pill-sm { font-size: 14.5px; padding: 11px 20px; }
.pill-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); box-shadow: none; }
.pill-ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink); box-shadow: none; }
.field .pill { background: var(--bone); color: var(--ink); box-shadow: 0 16px 36px -14px rgba(0,0,0,.45); }
.field .pill:hover { background: #fff; color: var(--cobalt-2); }
.field .pill-ghost { background: transparent; color: var(--on-field); border-color: var(--field-line); }
.field .pill-ghost:hover { background: rgba(243,240,232,.1); border-color: var(--on-field); color: var(--on-field); }
.quiet { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15.5px; color: var(--ink-2); transition: color .2s; }
.quiet:hover { color: var(--cobalt); }
.quiet .arrow { transition: transform .25s var(--ease); }
.quiet:hover .arrow { transform: translateX(4px); }
.field .quiet { color: var(--on-field); }
.field .quiet:hover { color: #fff; }
.actions { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; }

/* ─── Cards and fields ─────────────────────────────────────────── */
.card {
  position: relative; overflow: clip; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s;
}
.card:hover { border-color: var(--line-2); }
.field {
  position: relative; overflow: clip; isolation: isolate;
  background: var(--cobalt); color: var(--on-field); border-radius: var(--r-big);
  box-shadow: 0 40px 90px -50px rgba(30,63,224,.6);
}
/* the sheet: drafting paper dots across every raised field */
.field::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(circle, rgba(243,240,232,.32) 1px, transparent 1.6px); background-size: 28px 28px; }
/* the elevation: the house drawn at the foot of the sheet, whole, on every screen */
.topo { position: absolute; left: 0; right: 0; bottom: 0; top: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; color: var(--field-line); opacity: .9; }
.topo use { stroke-dasharray: 2400; stroke-dashoffset: 0; }
/* on the home hero the pen draws it in */
.hero .topo use { stroke-dashoffset: 2400; animation: draw 3.4s var(--ease-soft) .25s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cover .topo { color: rgba(243,240,232,.26); opacity: 1; }
.field > :not(.topo) { position: relative; z-index: 1; }

/* ─── Nav ──────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bone) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line); transition: transform .3s var(--ease);
}
.nav.nav-hidden { transform: translateY(-102%); }
.nav-inner { max-width: var(--container); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand .seal { width: 40px; height: 40px; object-fit: contain; }
.brand .wordmark { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand .tag { display: block; font-size: 11px; color: var(--faint); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 9px 14px; border-radius: 999px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--ink); background: rgba(17,20,24,.05); }
.nav-links a[aria-current="page"] { color: var(--cobalt); background: var(--cobalt-tint); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: transparent; border: 1.5px solid var(--line-2); padding: 10px; border-radius: 999px; }
.nav-toggle svg { width: 20px; height: 20px; display: block; }

/* ─── Sections ─────────────────────────────────────────────────── */
.sec { padding: clamp(68px, 8.5vw, 124px) 0; position: relative; }
.sec-tight { padding: clamp(44px, 5.5vw, 80px) 0; }
.sec-head { max-width: 760px; margin: 0 auto clamp(34px, 4.2vw, 56px); text-align: center; }
.sec-head .chip { margin-bottom: 20px; }
.sec-head .lead { margin: 18px auto 0; }
.sec-head.left { text-align: left; margin-inline: 0; }
.sec-head.left .lead { margin-inline: 0; }

/* ─── Hero (home) ──────────────────────────────────────────────── */
.hero { padding: clamp(14px, 2vw, 24px) 0 0; }
.hero .field {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(40px, 5.2vw, 76px) clamp(28px, 4.5vw, 64px); min-height: 600px;
}
.hero .copy { max-width: 640px; }
.hero .chip { margin-bottom: 22px; }
/* the hero column is narrow: three lines, never five */
.hero .h1 { margin-bottom: 22px; font-size: clamp(3rem, 5.6vw, 5rem); letter-spacing: -.04em; line-height: .96; }
.hero .lead { margin-bottom: 30px; font-size: clamp(1.22rem, 1.7vw, 1.5rem); max-width: 44ch; }
.hero .actions { margin-bottom: 24px; }
.founders { display: inline-flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 500; color: var(--soft); }
.field .founders { color: var(--on-field-soft); }
.founders .faces { display: flex; }
.founders .faces img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bone); }
.field .founders .faces img { border-color: var(--cobalt); }
.founders .faces img + img { margin-left: -9px; }
.founders b { color: var(--ink); font-weight: 700; }
.field .founders b { color: var(--on-field); }

/* the object stage: a calendar and the chips that fly around it */
.stage { position: relative; display: grid; place-items: center; min-height: 440px; }
.cal {
  width: min(100%, 380px); background: #fff; color: var(--ink); border-radius: 20px; padding: 18px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.05);
}
.cal .ch { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.cal .ch .ct { color: var(--cobalt); font-variant-numeric: tabular-nums; }
.cal .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.cal .days span { font-size: 10.5px; font-weight: 700; text-align: center; color: var(--faint); }
.cal .grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .slot { aspect-ratio: 1.15 / 1; border-radius: 8px; background: rgba(17,20,24,.05); position: relative; transition: background .45s var(--ease), box-shadow .45s; }
.cal .slot.on { background: var(--cobalt); box-shadow: 0 6px 14px -8px rgba(30,63,224,.7); }
.cal .slot.on::after { content: ''; position: absolute; left: 22%; right: 22%; top: 40%; height: 3px; border-radius: 2px; background: rgba(255,255,255,.75); box-shadow: 0 -6px 0 rgba(255,255,255,.75); }
.cal .cf { margin-top: 12px; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--soft); }
.cal .cf b { color: var(--ink); }
.fchip {
  position: absolute; z-index: 2; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600;
  padding: 10px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.45);
  display: inline-flex; align-items: center; gap: 8px;
}
.fchip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cobalt); }
.fchip.c1 { top: 4%; left: -2%; }
.fchip.c2 { bottom: 12%; right: -4%; }
.fchip.c3 { bottom: -2%; left: 4%; }

/* ─── Proof strip ──────────────────────────────────────────────── */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); }
.proof > div { padding: clamp(26px, 3.2vw, 40px) clamp(18px, 2.4vw, 32px) clamp(26px, 3.2vw, 40px) 0; border-right: 1px solid var(--line); }
.proof > div:last-child { border-right: 0; }
.proof > div + div { padding-left: clamp(18px, 2.4vw, 32px); }
.pn { font-family: var(--display); font-weight: 700; font-size: clamp(2.8rem, 5.4vw, 4.8rem); letter-spacing: -.04em; line-height: .95; font-variant-numeric: tabular-nums; }
.pn .unit { color: var(--cobalt); }
.pl { margin-top: 12px; color: var(--soft); font-size: 16.5px; line-height: 1.45; max-width: 26ch; }
.pl b { color: var(--ink); font-weight: 700; }

/* ─── The two engines ──────────────────────────────────────────── */
.engines { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.engine { display: flex; flex-direction: column; }
.engine .estage {
  position: relative; aspect-ratio: 5 / 4; overflow: clip; display: grid; place-items: center;
  background: radial-gradient(70% 60% at 50% 100%, var(--cobalt-tint), transparent 70%), var(--bone-2);
  border-bottom: 1px solid var(--line);
}
.engine .estage { min-height: 0; min-width: 0; }
.engine .estage .phone, .feature .fstage .phone { max-height: 88%; }
.engine .body { padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.engine .body .h3 { display: flex; align-items: baseline; gap: 12px; }
.engine .body .h3 .no { font-family: var(--sans); font-size: 14px; font-weight: 800; color: var(--cobalt); }
.engine .body p { color: var(--soft); font-size: 1.08rem; max-width: 46ch; }
.engine .body .quiet { margin-top: auto; padding-top: 8px; }

/* the reel phone: the hook lines of a real reel, no face on it */
.phone {
  width: clamp(160px, 27%, 236px); aspect-ratio: 9 / 19.2; position: relative;
  border-radius: 34px; background: #0E1116; border: 1px solid rgba(255,255,255,.25);
  box-shadow: inset 0 0 0 4px #1A1F27, 0 40px 80px -30px rgba(17,20,24,.6);
  overflow: clip;
}
.phone .notch { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); width: 34%; height: 14px; border-radius: 999px; background: #0E1116; z-index: 3; }
.phone .scr { position: absolute; inset: 6px; border-radius: 28px; overflow: clip; background: linear-gradient(165deg, var(--cobalt) 0%, #0E1B6E 60%, #0B0F2A 100%); }
.phone .scr .topo { color: rgba(243,240,232,.16); inset: -30% -40%; width: 180%; height: 160%; }
.phone .rt { position: absolute; left: 10%; top: 9%; z-index: 3; display: flex; align-items: center; gap: 7px; font-size: clamp(9px, 1vw, 11px); font-weight: 700; color: #fff; white-space: nowrap; }
.phone .rt i { width: clamp(16px, 1.8vw, 22px); height: clamp(16px, 1.8vw, 22px); border-radius: 50%; background: var(--bone); display: block; }
.phone .cap { position: absolute; left: 9%; right: 26%; bottom: 17%; z-index: 3; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.phone .cap span { background: #fff; color: var(--ink); font-weight: 800; font-size: clamp(9.5px, 1.05vw, 12.5px); padding: 5px 8px; border-radius: 6px; line-height: 1.1; }
/* the hook stays on screen; the follow up lines land after it */
.phone .cap span:nth-child(2) { background: var(--cobalt); color: #fff; opacity: 0; transform: translateY(8px); animation: capin 6s var(--ease) infinite; }
.phone .cap span:nth-child(3) { opacity: 0; transform: translateY(8px); animation: capin 6s var(--ease) infinite .9s; }
@keyframes capin { 0%, 10% { opacity: 0; transform: translateY(8px); } 22%, 84% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-6px); } }
.phone .ui { position: absolute; right: 8%; bottom: 17%; z-index: 3; display: flex; flex-direction: column; gap: 10px; }
.phone .ui i { width: clamp(14px, 1.6vw, 20px); height: clamp(14px, 1.6vw, 20px); border-radius: 50%; background: rgba(255,255,255,.9); display: block; }
.phone .bar { position: absolute; left: 8%; right: 8%; bottom: 8%; height: 3px; border-radius: 2px; background: rgba(255,255,255,.25); z-index: 3; overflow: clip; }
.phone .bar b { display: block; height: 100%; width: 40%; background: #fff; animation: playbar 9s linear infinite; }
@keyframes playbar { from { width: 0; } to { width: 100%; } }

/* the ledger: what the same money bought, before and after */
.ledger { width: min(100%, 380px); background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; box-shadow: 0 40px 80px -30px rgba(17,20,24,.45), 0 0 0 1px rgba(0,0,0,.05); }
.ledger .lh { font-size: 13px; font-weight: 700; color: var(--faint); margin-bottom: 14px; display: flex; justify-content: space-between; }
.ledger .lr { padding: 12px 0; border-top: 1px solid var(--line); }
.ledger .lr .k { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.ledger .lr .k b { font-family: var(--display); font-size: 1.5rem; letter-spacing: -.02em; font-weight: 500; }
.ledger .lr .k b.bad { color: var(--faint); }
.ledger .lr .k b.good { color: var(--cobalt); }
.ledger .bar { height: 10px; border-radius: 999px; background: rgba(17,20,24,.06); overflow: clip; }
.ledger .bar i { display: block; height: 100%; border-radius: 999px; width: 0; transition: width 1.2s var(--ease-soft) .3s; }
.ledger .lr.bad .bar i { background: var(--line-2); }
.ledger .lr.good .bar i { background: var(--cobalt); }
.ledger.in .lr.bad .bar i { width: 3%; }
.ledger.in .lr.good .bar i { width: 100%; }
.ledger .lf { margin-top: 12px; font-size: 12.5px; color: var(--soft); display: flex; justify-content: space-between; }

/* ─── Built by a closer ────────────────────────────────────────── */
.closer { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.closer .h2 { margin: 18px 0 18px; }
.closer .stats { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(18px, 3vw, 40px); margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.closer .stats .n { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 3.2vw, 2.9rem); letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.closer .stats .n .unit { color: var(--cobalt); }
.closer .stats .s { margin-top: 8px; font-size: 15px; color: var(--soft); max-width: 20ch; line-height: 1.35; }
.portraits { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 18px); }
.portrait { position: relative; overflow: clip; border-radius: 20px; background: var(--bone-2); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.94) contrast(1.02); transition: transform 1.2s var(--ease-soft); }
.portrait:hover img { transform: scale(1.03); }
.portrait figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.86); backdrop-filter: blur(10px); color: var(--ink); }
.portrait figcaption span { color: var(--soft); font-weight: 500; }
.portraits .portrait:last-child { transform: translateY(clamp(18px, 3vw, 40px)); }

/* ─── The receipts (press plate rail) ──────────────────────────── */
.tm-index { display: flex; align-items: center; gap: 16px; }
.tm-count { font-size: 14px; color: var(--faint); font-weight: 600; display: flex; align-items: baseline; gap: 5px; font-variant-numeric: tabular-nums; }
.tm-count b { color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 20px; }
.tm-nav { display: flex; gap: 8px; }
.tm-btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease), opacity .25s; }
.tm-btn:hover:not(:disabled) { background: var(--ink); color: var(--bone); border-color: var(--ink); transform: translateY(-2px); }
.tm-btn:disabled { opacity: .3; cursor: not-allowed; }
.tm-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 48px); }
.tm-railwrap { position: relative; width: 100vw; margin: 0 calc(50% - 50vw); }
.tm-railwrap::before, .tm-railwrap::after { content: ''; position: absolute; top: 0; bottom: 0; z-index: 2; pointer-events: none; width: clamp(24px, 7vw, 120px); }
.tm-railwrap::before { left: 0; background: linear-gradient(90deg, var(--bone), rgba(243,240,232,0)); }
.tm-railwrap::after { right: 0; background: linear-gradient(270deg, var(--bone), rgba(243,240,232,0)); }
.tm-rail { --tm-w: min(940px, 86vw); display: flex; gap: clamp(16px, 2vw, 26px); list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 14px max(var(--gutter), calc((100vw - var(--tm-w)) / 2)) 34px; scrollbar-width: none; }
.tm-rail::-webkit-scrollbar { display: none; }
.tm-rail:focus-visible { outline-offset: -6px; }
.tm-card { flex: 0 0 var(--tm-w); width: var(--tm-w); scroll-snap-align: center; display: grid; grid-template-columns: minmax(0, 330px) 1fr; cursor: pointer; opacity: .45; transform: scale(.955); transition: opacity .55s var(--ease), transform .55s var(--ease), box-shadow .5s; }
.tm-card:hover { opacity: .85; }
.tm-card.is-active { opacity: 1; transform: none; cursor: default; box-shadow: 0 40px 80px -40px rgba(17,20,24,.45); border-color: var(--line-2); }
.tm-plate { position: relative; overflow: clip; background: linear-gradient(160deg, #2A4BEA, var(--cobalt-2) 70%); border-right: 1px solid var(--line); }
.tm-plate::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(110% 80% at 20% 8%, rgba(255,255,255,.14), transparent 58%), radial-gradient(60% 40% at 4% 102%, rgba(10,20,90,.8), transparent 72%); }
.tm-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.tm-plate-stamp { position: absolute; left: 16px; bottom: 14px; z-index: 3; font-size: 12.5px; font-weight: 700; color: var(--on-field); display: inline-flex; align-items: center; gap: 8px; }
.tm-plate-stamp::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--on-field); }
.tm-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); margin: 0; }
.tm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tm-trade { font-size: 13.5px; font-weight: 600; color: var(--faint); }
.tm-body blockquote { font-family: var(--display); font-weight: 500; font-size: clamp(1.3rem, 1.85vw, 1.65rem); line-height: 1.34; letter-spacing: -.02em; max-width: 36ch; min-height: 5.4em; text-wrap: pretty; }
.tm-body blockquote b { font-weight: 700; color: var(--cobalt); }
.tm-ledger { display: grid; margin-top: auto; border-top: 1px solid var(--line-2); }
.tm-row { display: flex; align-items: baseline; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.tm-row .lk { flex: none; font-size: 13px; font-weight: 600; color: var(--faint); }
.tm-row .dots { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-5px); }
.tm-row .lv { font-family: var(--display); font-weight: 700; font-size: clamp(1.25rem, 1.65vw, 1.55rem); letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.tm-row .lv .unit { color: var(--cobalt); }
.tm-row .lv-word { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--soft); letter-spacing: 0; }
.tm-sig { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tm-sig .n { font-weight: 700; font-size: 1rem; }
.tm-sig .r { margin-top: 2px; font-size: 13px; color: var(--faint); font-weight: 600; }
.tm-foot { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-top: 8px; }
.tm-note { max-width: 62ch; font-size: 15px; color: var(--faint); line-height: 1.6; }
.stars { display: inline-flex; gap: 2px; color: var(--cobalt); }
.stars svg { width: 13px; height: 13px; }
.stars-line { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--soft); }

/* ─── The engagement (price, in the open) ──────────────────────── */
.price { display: grid; grid-template-columns: 1.1fr .9fr; }
.price-main { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 14px; border-right: 1px solid var(--line); }
.price-main > .chip { align-self: flex-start; }
.price-num { margin-top: 4px; font-family: var(--display); font-weight: 700; font-size: clamp(2.3rem, 4.8vw, 4.2rem); letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-num .unit { color: var(--cobalt); }
.price-num .to { font-family: var(--sans); font-size: .38em; color: var(--soft); font-weight: 500; letter-spacing: 0; margin: 0 .5em; vertical-align: middle; }
.price-per { font-size: 14.5px; color: var(--faint); font-weight: 600; }
.price-main .lead { font-size: 1.12rem; }
.price-main .actions { margin-top: 8px; }
.price-side { padding: clamp(22px, 3vw, 40px) clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: center; background: var(--bone); }
.price-row { padding: 15px 0; border-bottom: 1px solid var(--line); }
.price-row:first-child { padding-top: 0; }
.price-row:last-child { border-bottom: 0; padding-bottom: 0; }
.price-row b { display: block; font-weight: 700; margin-bottom: 3px; }
.price-row p { color: var(--soft); font-size: 16px; }
.price-row.guar b { color: var(--cobalt); }
.fine { font-size: 14px; color: var(--faint); }

/* ─── Playbook band ────────────────────────────────────────────── */
.pb { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; }
.pb .cover-stage { position: relative; display: grid; place-items: center; padding: clamp(28px, 4vw, 52px); border-right: 1px solid var(--line); background: radial-gradient(60% 50% at 50% 60%, var(--cobalt-tint), transparent 70%), var(--bone-2); }
.cover {
  width: min(78%, 300px); aspect-ratio: 3 / 4; position: relative; border-radius: 14px; overflow: clip;
  background: linear-gradient(160deg, #2A4BEA, var(--cobalt-2) 60%); color: var(--on-field);
  box-shadow: 0 50px 100px -40px rgba(30,63,224,.7), 0 0 0 1px rgba(0,0,0,.08);
  padding: 22px; display: flex; flex-direction: column; gap: 14px; isolation: isolate;
}
.cover .topo { color: rgba(243,240,232,.22); }
.cover > :not(.topo) { position: relative; z-index: 1; }
.cover .seal { width: 44px; height: 44px; }
.cover .t { font-family: var(--display); font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; margin-top: auto; }
.cover .s { font-size: 12px; color: var(--on-field-soft); font-weight: 600; }
.cover .badge { position: absolute; top: 14px; right: 14px; font-size: 11px; font-weight: 800; padding: 6px 10px; border-radius: 999px; background: var(--bone); color: var(--ink); z-index: 2; }
.pb .body { padding: clamp(26px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.pb .body > .chip { align-self: flex-start; }
.pb .body .h2 { max-width: 14ch; }
.mods { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; margin-top: 8px; }
.mods li { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; color: var(--soft); font-weight: 600; }
.mods .no { color: var(--cobalt); font-weight: 700; font-size: 12.5px; flex: none; width: 20px; }
.pb .actions { margin-top: 12px; }

/* ─── FAQ ──────────────────────────────────────────────────────── */
.faq { border-top: 1px solid var(--line-2); max-width: 820px; margin: 0 auto; }
.qa { border-bottom: 1px solid var(--line); }
.qa h3 { margin: 0; }
.qa button { width: 100%; background: none; border: 0; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(20px, 2.6vw, 26px) 2px; font-family: var(--display); font-weight: 700; font-size: clamp(1.2rem, 1.7vw, 1.5rem); letter-spacing: -.022em; color: var(--ink); }
.qa .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-2); position: relative; transition: background .3s, border-color .3s; }
.qa .pm::before, .qa .pm::after { content: ''; position: absolute; background: var(--ink); left: 50%; top: 50%; transition: transform .3s var(--ease), background .3s; }
.qa .pm::before { width: 14px; height: 1.5px; transform: translate(-50%, -50%); }
.qa .pm::after { width: 1.5px; height: 14px; transform: translate(-50%, -50%); }
.qa.open .pm { background: var(--cobalt); border-color: var(--cobalt); }
.qa.open .pm::before, .qa.open .pm::after { background: #fff; }
.qa.open .pm::after { transform: translate(-50%, -50%) scaleY(0); }
.qa .ans { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease-soft); }
.qa .ans p { padding: 0 2px clamp(20px, 2.6vw, 26px); max-width: 64ch; color: var(--soft); font-size: 1.08rem; }

/* ─── Close (the field again, as a bookend) ────────────────────── */
.close { padding: 0 0 clamp(20px, 2.5vw, 32px); }
.close .field { text-align: center; padding: clamp(70px, 9vw, 130px) clamp(24px, 4vw, 60px); }
.close .h1 { max-width: 16ch; margin: 18px auto 20px; font-size: clamp(2.3rem, 5.4vw, 4.6rem); }
.close .lead { margin: 0 auto 34px; max-width: 44ch; }
.close .actions { justify-content: center; }

/* ─── Footer ───────────────────────────────────────────────────── */
.foot { padding: 0 var(--gutter) 22px; }
.foot-panel { max-width: var(--container); margin: 0 auto; background: var(--ink); color: var(--bone); border-radius: var(--r-big); padding: clamp(36px, 5vw, 64px) clamp(24px, 4vw, 56px) clamp(24px, 3vw, 34px); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(26px, 4vw, 50px); }
.foot .fseal { width: 56px; height: 56px; margin-bottom: 16px; opacity: .95; }
.foot .fbrand { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.025em; margin-bottom: 10px; }
.foot .blurb { color: rgba(243,240,232,.72); max-width: 38ch; font-size: 16px; }
.foot h4 { font-size: 13px; font-weight: 700; color: var(--cobalt-soft); margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 9px; }
.foot ul a { color: rgba(243,240,232,.78); font-size: 15px; transition: color .2s; }
.foot ul a:hover { color: #fff; }
.foot-bottom { margin-top: clamp(30px, 4vw, 48px); padding-top: 20px; border-top: 1px solid rgba(243,240,232,.14); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13px; color: rgba(243,240,232,.55); }

/* ─── Sub page hero ────────────────────────────────────────────── */
.phero { text-align: center; padding: clamp(56px, 8vw, 100px) 0 clamp(36px, 5vw, 60px); }
.phero .chip { margin-bottom: 24px; }
.phero .h1 { max-width: 14ch; margin: 0 auto 20px; }
.phero .lead { margin: 0 auto 30px; }
.phero .actions { justify-content: center; }

/* ─── Feature: a raised stage beside copy ──────────────────────── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.feature.flip > .fstage { order: 2; }
.feature .fstage { aspect-ratio: 5 / 4; display: grid; place-items: center; padding: 8%; min-height: 0; min-width: 0; }
.feature .fstage .phone { width: clamp(180px, 36%, 250px); }
.feature .fstage .cal, .feature .fstage .ledger { width: min(100%, 400px); }
.feature .copy .h2 { margin: 16px 0 16px; }
.feature .copy p + p { margin-top: 14px; }
.feature .copy .body { color: var(--soft); font-size: 1.1rem; max-width: 54ch; }
.feature .copy .body b { color: var(--ink); font-weight: 700; }
.feature .copy .quiet { margin-top: 22px; }
.feature .copy > .chip { align-self: flex-start; }

/* ─── Checklist ────────────────────────────────────────────────── */
.incl { list-style: none; display: grid; border-top: 1px solid var(--line-2); max-width: 900px; margin: 0 auto; }
.incl li { display: grid; grid-template-columns: 34px 1fr; gap: 18px; align-items: start; padding: 20px 2px; border-bottom: 1px solid var(--line); }
.incl .tick { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cobalt-tint); color: var(--cobalt); margin-top: 2px; }
.incl .tick svg { width: 14px; height: 14px; }
.incl b { display: block; font-size: 1.18rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; }
.incl p { color: var(--soft); font-size: 1.06rem; max-width: 60ch; }

/* ─── Steps ────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.step { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 10px; }
.step .no { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 700; letter-spacing: -.04em; color: var(--cobalt); line-height: 1; margin-bottom: 8px; }
.step h3 { font-size: 1.28rem; font-weight: 700; letter-spacing: -.02em; }
.step p { color: var(--soft); font-size: 1.06rem; }

/* ─── Quote card ───────────────────────────────────────────────── */
.quote-card { padding: clamp(30px, 4vw, 52px); display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 3vw, 48px); align-items: center; }
.quote-card blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.028em; line-height: 1.22; max-width: 30ch; text-wrap: pretty; }
.quote-card .who { margin-top: 14px; font-size: 14px; color: var(--soft); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.quote-card > .chip { align-self: flex-start; }

/* ─── Case cards (results) ─────────────────────────────────────── */
.case { display: grid; grid-template-columns: minmax(0, 300px) 1fr; margin-bottom: clamp(18px, 2.4vw, 26px); }
.case .tm-plate { aspect-ratio: 4 / 5; }
.case .cbody { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.case .chead { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.case .cname { font-family: var(--display); font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 700; letter-spacing: -.028em; }
.case blockquote { font-family: var(--display); font-weight: 500; font-size: clamp(1.2rem, 1.65vw, 1.45rem); line-height: 1.38; letter-spacing: -.015em; text-wrap: pretty; max-width: 48ch; }
.case blockquote b { color: var(--cobalt); font-weight: 700; }
.case .narr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.case .narr h4 { font-size: 12.5px; font-weight: 700; color: var(--cobalt); margin-bottom: 6px; }
.case .narr p { font-size: 15.5px; color: var(--soft); }
.case .narr p b { color: var(--ink); font-weight: 700; }

/* ─── Rules and story (about) ──────────────────────────────────── */
.rules { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 22px); }
.rule { padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 8px; }
.rule .no { font-size: 13px; font-weight: 700; color: var(--cobalt); }
.rule h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -.025em; }
.rule p { color: var(--soft); font-size: 1.06rem; max-width: 46ch; }
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.story .body { color: var(--soft); font-size: 1.12rem; max-width: 56ch; }
.story .body p + p { margin-top: 14px; }
.story .body b { color: var(--ink); font-weight: 700; }
.story .h2 { margin: 16px 0 18px; }
.story > div > .chip { align-self: flex-start; }

/* ─── Booking page ─────────────────────────────────────────────── */
.book { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(24px, 3vw, 38px); }
.form-card .ft { font-family: var(--display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.028em; margin-bottom: 4px; }
.form-card .fs { font-size: 14.5px; color: var(--soft); margin-bottom: 20px; }
.field-w { display: grid; gap: 7px; margin-bottom: 14px; }
.field-w label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field-w input, .field-w select { width: 100%; background: #fff; color: var(--ink); border: 1.5px solid var(--line-2); border-radius: var(--r-ctrl); padding: 14px 16px; font-size: 16px; font-weight: 500; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field-w select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%234F555D' stroke-width='1.8'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field-w input::placeholder { color: var(--faint); font-weight: 400; }
.field-w input:focus, .field-w select:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(30,63,224,.14); }
.field-w input.err, .field-w select.err { border-color: #C8321E; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-card .pill { width: 100%; margin-top: 6px; }
.form-err { color: #B22A18; font-size: 14px; font-weight: 700; margin-top: 10px; }
.form-err:empty { display: none; }
.form-fine { margin-top: 12px; font-size: 13px; color: var(--faint); text-align: center; }
.aside-list { list-style: none; display: grid; border-top: 1px solid var(--line-2); margin-top: 22px; }
.aside-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.aside-list .no { font-size: 13px; font-weight: 700; color: var(--cobalt); padding-top: 3px; }
.aside-list b { display: block; font-weight: 700; margin-bottom: 3px; }
.aside-list p { color: var(--soft); font-size: 16px; }
aside > .chip { align-self: flex-start; }
.cal-mount { min-height: 700px; border-radius: var(--r-card); overflow: clip; background: #fff; border: 1px solid var(--line-2); }
.cal-mount iframe { border: 0; width: 100%; height: 100%; min-height: 700px; }
.booked { text-align: center; padding: clamp(30px, 4vw, 48px); }
.booked .h2 { margin: 12px 0 12px; }

/* ─── Mobile bar ───────────────────────────────────────────────── */
.mbar { position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 120; display: none; transform: translateY(120%); transition: transform .4s var(--ease); }
.mbar.show { transform: none; }
.mbar .pill { width: 100%; box-shadow: 0 16px 40px -10px rgba(17,20,24,.5); }

/* ─── Reveal ───────────────────────────────────────────────────── */
.rv { opacity: 0; transition: opacity .7s var(--ease); }
.rv.in { opacity: 1; }
[data-count] .cv { font-variant-numeric: tabular-nums; }

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .hero .field { grid-template-columns: 1fr; min-height: 0; }
  .hero .copy { max-width: 620px; }
  .stage { min-height: 420px; margin-top: 10px; }
  .engines { grid-template-columns: 1fr; }
  .closer { grid-template-columns: 1fr; }
  .portraits { max-width: 560px; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip > .fstage { order: 0; }
  .book { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--bone); border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 18px; box-shadow: 0 30px 50px -30px rgba(17,20,24,.35); }
  .nav.open .nav-links a { padding: 13px 14px; font-size: 17px; }
  .tm-rail { --tm-w: min(560px, 88vw); }
  .tm-card { grid-template-columns: 1fr; }
  .tm-plate { aspect-ratio: 1.5 / 1; border-right: 0; border-bottom: 1px solid var(--line); }
  .tm-body blockquote { min-height: 0; max-width: none; }
  .tm-index { width: 100%; justify-content: space-between; }
  .pb { grid-template-columns: 1fr; }
  .pb .cover-stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .price { grid-template-columns: 1fr; }
  .price-main { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .case .tm-plate { aspect-ratio: 1.6 / 1; border-right: 0; border-bottom: 1px solid var(--line); }
  .case .narr { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .quote-card { grid-template-columns: 1fr; }
  .mods { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mbar { display: block; }
  body { padding-bottom: 76px; }
  .proof { grid-template-columns: 1fr; }
  .proof > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .proof > div + div { padding-left: 0; }
  .proof > div:last-child { border-bottom: 0; }
  .closer .stats { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero .actions .pill, .close .actions .pill, .phero .actions .pill { width: 100%; }
  .tm-rail { --tm-w: 90vw; }
  .tm-plate { aspect-ratio: 1.34 / 1; }
  .engine .estage { aspect-ratio: auto; padding: 28px 20px; }
  .engine .estage .phone { width: 180px; max-height: none; }
  .feature .fstage { aspect-ratio: auto; padding: 28px 20px; }
  .feature .fstage .phone { width: 200px; max-height: none; }
  .cal, .ledger { width: min(100%, 340px); }
  .fchip.c1 { left: 0; } .fchip.c2 { right: 0; }
  .price-num { font-size: clamp(1.9rem, 9.5vw, 2.6rem); }
  .hero .field { padding: 32px 22px 40px; border-radius: 26px; }
  /* on a phone the house rides up behind the headline instead of under the fold */
  .hero .topo { top: 12px; bottom: auto; height: calc(100vw * 0.62); }
}
@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; }
  .brand .tag { display: none; }
  .nav-inner { padding: 10px var(--gutter); }
  .portraits .portrait:last-child { transform: translateY(14px); }
  .fchip { font-size: 12px; padding: 8px 12px; }
}
@media (max-width: 374px) { .nav .pill-sm { padding: 10px 14px; font-size: 13.5px; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; }
  .topo use { stroke-dashoffset: 0 !important; }
  .ledger .lr.bad .bar i { width: 3%; } .ledger .lr.good .bar i { width: 100%; }
}

/* ─── v9.7 · the two story house on the home hero (assets/house3d.js) ─── */
.hero .stage { min-height: 500px; }
.stage .house3d { position: absolute; inset: -4% -10% -2% -10%; z-index: 1; }
.stage .house3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.stage .fchip { z-index: 3; }
@media (max-width: 1060px) { .hero .stage { min-height: 440px; } .stage .house3d { inset: 0 -4%; } }
@media (max-width: 540px) { .hero .stage { min-height: 330px; } }

/* ─── v9.8 · iPhone Duo on the organic card, the solar house on the close ─── */
.engine .estage .phone3d { position: absolute; inset: 0; }
.engine .estage .phone3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.close .field.with-obj { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(20px, 3vw, 40px); align-items: center; text-align: left; padding: clamp(48px, 6vw, 84px) clamp(28px, 4.5vw, 64px); }
.close .with-obj .h1 { margin: 18px 0 20px; max-width: 14ch; }
.close .with-obj .lead { margin: 0 0 34px; }
.close .with-obj .actions { justify-content: flex-start; }
.close-stage { position: relative; min-height: 480px; }
.close-stage .house3d { position: absolute; inset: -6% -8%; }
.close-stage .house3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
@media (max-width: 1060px) { .close .field.with-obj { grid-template-columns: 1fr; } .close-stage { min-height: 400px; } .close-stage .house3d { inset: 0 -6%; } }
@media (max-width: 540px) { .close-stage { min-height: 330px; } }

/* ─── v9.17 · the flat iPhone on the organic card. Black 18 Pro Max, front on, still. ─── */
.engine .estage { container-type: size; --iw: min(clamp(196px, 36cqw, 262px), calc(88cqh * 78 / 163.4)); }
.iph { position: relative; width: var(--iw); aspect-ratio: 78 / 163.4; border-radius: calc(var(--iw) * .128); background: linear-gradient(180deg, #232529 0%, #17181B 50%, #1D1F23 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), inset 0 0 0 2.5px #2A2C31, inset 0 0 0 4px #0C0D0F, 0 44px 80px -30px rgba(17,20,24,.6), 0 14px 30px -18px rgba(17,20,24,.5); }
.iph-glass { position: absolute; inset: calc(var(--iw) * .03); border-radius: calc(var(--iw) * .1); background: #050608; overflow: clip; }
.iph-scr { position: absolute; inset: calc(var(--iw) * .026); width: calc(100% - var(--iw) * .052); height: calc(100% - var(--iw) * .052); border-radius: calc(var(--iw) * .076); background: #0A0E2A; display: block; }
.iph-island { position: absolute; left: 50%; top: calc(var(--iw) * .05); transform: translateX(-50%); width: calc(var(--iw) * .22); height: calc(var(--iw) * .062); border-radius: 999px; background: #050608; }
.iph-island::after { content: ''; position: absolute; right: calc(var(--iw) * .016); top: 50%; transform: translateY(-50%); width: calc(var(--iw) * .03); height: calc(var(--iw) * .03); border-radius: 50%; background: #121620; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.iph-btn { position: absolute; width: calc(var(--iw) * .013); background: #202226; border-radius: 2px; box-shadow: inset 0 0 0 .5px rgba(255,255,255,.14); }
.iph-btn.act { left: calc(var(--iw) * -.012); top: 14.5%; height: 3.2%; }
.iph-btn.vup { left: calc(var(--iw) * -.012); top: 21%; height: 6.2%; }
.iph-btn.vdn { left: calc(var(--iw) * -.012); top: 28.8%; height: 6.2%; }
.iph-btn.side { right: calc(var(--iw) * -.012); top: 22.5%; height: 9.6%; }
.iph-btn.cam { right: calc(var(--iw) * -.012); top: 45.5%; height: 4.8%; background: #2A2C31; }
@media (max-width: 760px) { .engine .estage { container-type: normal; --iw: 200px; } }
