/* ============================================================
   VANESSA BAILEY — Concept B · "Architectural / Elemental"
   Light-dominant · 5-color system · Zodiak + Inter
   Adapted from AIR business center (aircenter.space)
   ============================================================ */
:root {
  /* ---- the 5 colors (OKLCH) ---- */
  --gray:        oklch(0.90 0.005 60);  /* #E9DFDD */
  --silver:      oklch(0.81 0.004 60);  /* #C7C8C5 */
  --ultra:       #1A1FD6;               /* accent text on light */
  --ice:         #BCD2FF;               /* buttons + accent text on dark */
  --ink-hex:     #0A0A0A;               /* text on Ice buttons */
  --bone:        #F5F2EC;               /* text on Ultra hover */
  --ebony:       oklch(0.16 0.003 60);  /* #131210 */
  --black:       oklch(0.10 0.002 60);  /* ~#000 */

  /* ---- semantic (light-dominant) ---- */
  --bg:      var(--gray);
  --bg-2:    var(--silver);
  --ink:     var(--ebony);
  --ink-dim: oklch(0.42 0.004 60);      /* secondary on light (≥4.5:1) */
  --line:    oklch(0.62 0.004 60);      /* hairline on light */
  --accent:  var(--ultra);
  --accent-soft: var(--ultra);
  --btn:       var(--ice);
  --btn-ink:   var(--ink-hex);
  --btn-hover: var(--ultra);
  --btn-hover-ink: var(--bone);

  /* ---- dark surfaces (hero / method / news) ---- */
  --dark:        var(--black);
  --on-dark:     var(--gray);
  --on-dark-dim: oklch(0.70 0.004 60);
  --line-dark:   oklch(0.42 0.004 60);

  --maxw: 1280px;
}

/* accent text on dark surfaces (hero/method video+photo, apply hero, news) uses Ice for legibility */
.cinematic, .apply-hero, .news { --accent: var(--ice); --accent-soft: var(--ice); }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* fallback */
  overflow-x: clip;     /* nothing can push the page sideways (iOS ignores body hidden for panning) */
}
html { overflow-x: clip; }
em { font-family: "Zodiak", serif; font-style: italic; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal{ transition: opacity .4s; transform: none; } }

/* ---------- Display type ---------- */
.display {
  font-family: "Zodiak", serif;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.display em { color: var(--accent); }

/* ---------- Title mask reveal (line-by-line) ---------- */
.reveal-title .line { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.reveal-title .line > span { display: block; }
/* Only hide (and animate) when JS is on — without it, titles are simply visible. */
.js .reveal-title .line > span {
  transform: translateY(112%);
  transition: transform .85s cubic-bezier(.16, 1, .3, 1);
}
.js .reveal-title.in .line > span { transform: translateY(0); }
.js .reveal-title.in .line:nth-child(2) > span { transition-delay: .09s; }
.js .reveal-title.in .line:nth-child(3) > span { transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  /* respect the setting — no slide — but still fade in (never nothing) */
  .js .reveal-title .line > span { transform: none; opacity: 0; transition: opacity .55s ease; }
  .js .reveal-title.in .line > span { opacity: 1; }
}

/* ---------- Section label rows (/// 01 — Label) ---------- */
.rule-row {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line);
  padding-top: 16px; margin-bottom: clamp(40px, 6vw, 80px);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}
.rule-row span:first-child { color: var(--accent); }
.rule-row span:last-child { color: var(--ink-dim); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(20px, 4vw, 56px);
  mix-blend-mode: difference;  /* legible over dark hero AND light body */
}
.nav-brand { font-family: "Inter"; font-weight: 700; font-size: 17px; letter-spacing: 0.04em; color: #fff; text-decoration: none; }
.dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: #fff; text-decoration: none; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; opacity: .8; transition: opacity .3s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { color: var(--btn-ink); background: var(--btn); border: 1px solid var(--btn); border-radius: 100px; padding: 9px 18px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.nav-cta:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--btn-hover-ink); }
.nav-cta-space { visibility: hidden; }            /* keeps the nav layout; the real button is .nav-cta-fixed */
.nav-cta-fixed { position: fixed; z-index: 61; top: 20px; right: clamp(20px, 4vw, 56px); }
.nav .dot { color: var(--ice); }                  /* blended nav: Ice over dark, dark with the name over light */
@media (max-width: 760px){ .nav-links { display: none; } }

/* ---------- Cinematic scrub (dark) ---------- */
.cinematic { position: relative; height: 560vh; }
.manifesto  { height: 360vh; }
.sticky { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; display: grid; place-items: center; background: var(--dark); }
.frame-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.parallax-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform-origin: 50% 25%; transform: translate3d(0, 3%, 0) scale(1.14); will-change: transform; }
.vignette { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 95% at 50% 42%, transparent 38%, rgba(0,0,0,.72) 100%),
    linear-gradient(180deg, rgba(0,0,0,.5) 0%, transparent 24%, transparent 64%, rgba(0,0,0,.85) 100%);
}
.vignette.soft { background: radial-gradient(120% 95% at 50% 50%, transparent 46%, rgba(0,0,0,.6) 100%); }

/* hero corner meta (AIR-style) */
.hero-meta { position: absolute; z-index: 12; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-dim); line-height: 1.5; }
.hero-meta.tl { top: 13vh; left: clamp(20px,4vw,56px); color: var(--accent); }
.hero-meta.tr { top: 13vh; right: clamp(20px,4vw,56px); text-align: right; }
.hero-meta.bl { bottom: 7vh; left: clamp(20px,4vw,56px); }
.hero-meta.br { bottom: 7vh; right: clamp(20px,4vw,56px); text-align: right; }
@media (max-width: 640px){ .hero-meta.tr, .hero-meta.br { display: none; } }

/* overlay scroll copy */
.overlay { position: absolute; inset: 0; z-index: 10; pointer-events: none; }
/* center scrim so headline stays legible over the bright bloom center */
.overlay::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(78% 48% at 50% 50%, rgba(0,0,0,.6) 0%, rgba(0,0,0,.34) 50%, transparent 82%);
}
.reveal-line {
  position: absolute; inset: 0; display: grid; align-content: center; justify-items: center;
  text-align: center; padding: 0 8vw;
  font-family: "Zodiak", serif; font-weight: 400;
  font-size: clamp(1.7rem, min(5vw, 6.4vh), 4.2rem); line-height: 1.12; letter-spacing: -0.02em;
  color: var(--on-dark); opacity: 0; text-shadow: 0 8px 60px rgba(0,0,0,.6);
  text-wrap: balance; will-change: opacity, transform;
}
.reveal-line.gold { color: var(--accent-soft); }

/* ---------- The Practice ---------- */
.practice { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px,14vh,180px) clamp(22px,5vw,56px); }
.practice-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px,5vw,80px); align-items: start; }
.practice-copy { display: grid; gap: 22px; max-width: 46ch; padding-top: 10px; }
.practice-copy p { color: var(--ink-dim); font-size: clamp(1rem,1.3vw,1.12rem); line-height: 1.7; }
.link-arrow { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.02em; width: fit-content; max-width: 100%; border-bottom: 1px solid transparent; transition: border-color .3s; }
.link-arrow:hover { border-color: var(--accent); }
@media (max-width: 820px){ .practice-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Meet the Founder ---------- */
.founder { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px,14vh,180px) clamp(22px,5vw,56px); }
.founder-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: clamp(32px,5vw,72px); align-items: start; margin-top: clamp(24px,4vh,48px); }
.founder-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.founder-text { display: grid; gap: clamp(20px,3vh,30px); align-content: start; }
.founder-bio { position: relative; display: grid; gap: 18px; max-width: 54ch; transition: max-height .6s cubic-bezier(.16,1,.3,1); }
.founder-bio p { color: var(--ink-dim); font-size: clamp(1rem,1.3vw,1.12rem); line-height: 1.7; }
.founder-bio.collapsible { overflow: hidden; }
.founder-bio.collapsible::after { content:""; position:absolute; left:0; right:0; bottom:0; height: 6.5em; background: linear-gradient(transparent, var(--bg)); pointer-events:none; opacity: 1; transition: opacity .5s ease; }
.founder-bio.open::after { opacity: 0; }
/* Long text sections: same Read more treatment as the bio (wrapped by the page script) */
.collapse-body { position: relative; display: grid; gap: 22px; overflow: hidden; transition: max-height .6s cubic-bezier(.16,1,.3,1); }
.collapse-body::after { content:""; position:absolute; left:0; right:0; bottom:0; height: 6.5em; background: linear-gradient(transparent, var(--bg)); pointer-events:none; transition: opacity .5s ease; }
.collapse-body.open::after, .collapse-body.short::after, .founder-bio.short::after { opacity: 0; }
.read-toggle { justify-self: start; appearance:none; background:none; border:none; cursor:pointer; color: var(--accent); font-family:"Inter",sans-serif; font-weight:600; font-size:.95rem; letter-spacing:.02em; padding:0; display:inline-flex; align-items:center; gap:.5em; }
.read-toggle::after { content:"↓"; transition: transform .3s ease; }
.read-toggle[hidden] { display: none; }   /* short sections: no toggle (display above would override [hidden]) */
.read-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
@media (max-width: 820px){ .founder-grid { grid-template-columns: 1fr; gap: 30px; } .founder-photo { max-width: 440px; } }

/* Bio on Ink: full-bleed dark band, small portrait bottom-left, hairline column divider */
.founder {
  max-width: none; background: var(--ink-hex); color: var(--on-dark);
  padding-inline: max(clamp(22px,5vw,56px), calc((100% - var(--maxw)) / 2 + clamp(22px,5vw,56px)));
  --accent: var(--ice); --bg: var(--ink-hex); --line: var(--line-dark); --ink: var(--on-dark); --ink-dim: var(--on-dark-dim);
}
.founder-grid { grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.founder-photo { align-self: end; width: clamp(208px, calc(17vw + 38px), 288px); background: #161616; }   /* +1cm (38px) wider, same bottom-left anchor */
.founder-text { border-left: 1px solid var(--line-dark); padding-left: clamp(28px, 4vw, 64px); }
@media (max-width: 820px){
  .founder-grid { grid-template-columns: 1fr; gap: 30px; }
  .founder-photo { order: 2; align-self: start; width: 208px; max-width: none; }
  .founder-text { border-left: 0; padding-left: 0; }
}

/* Text sections added with the new copy: reuse .practice; .band-ink = the bio's Ink treatment */
.band-ink {
  max-width: none; background: var(--ink-hex); color: var(--on-dark);
  padding-inline: max(clamp(22px,5vw,56px), calc((100% - var(--maxw)) / 2 + clamp(22px,5vw,56px)));
  --accent: var(--ice); --bg: var(--ink-hex); --line: var(--line-dark); --ink: var(--on-dark); --ink-dim: var(--on-dark-dim);
}
.practice:not(.band-ink) + .practice:not(.band-ink) { padding-top: clamp(30px,5vh,70px); }
/* (headings no longer pinned: they drift with the scroll instead — see giant-titles.js) */
.practice-copy .pull, .founder-bio .bio-lead, .practice-copy .bio-lead {
  font-family: "Zodiak", serif; color: var(--ink); font-size: clamp(1.25rem,1.9vw,1.6rem); line-height: 1.3; letter-spacing: -0.01em;
}
.practice-copy .pull { border-left: 2px solid var(--accent); padding-left: 18px; margin-top: 8px; }
.founder-bio .kicker { margin-top: 14px; color: var(--accent); font-size: 12px; line-height: 1.4; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 10px; }
.terms { display: grid; gap: 0; margin: 6px 0; }
.terms div { border-top: 1px solid var(--line); padding: 16px 0; display: grid; gap: 6px; }
.terms div:last-child { border-bottom: 1px solid var(--line); }
.terms dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.terms dd { color: var(--ink-dim); font-size: clamp(1rem,1.3vw,1.12rem); line-height: 1.6; }
.for-intro { display: grid; gap: 14px; max-width: 60ch; margin: calc(-1 * clamp(14px,2.5vw,36px)) 0 clamp(36px,5vw,60px); }
.for-intro p { color: var(--ink-dim); font-size: clamp(1rem,1.3vw,1.12rem); line-height: 1.7; }
.for-after { display: inline-block; margin-top: clamp(28px,4vw,44px); }
.quote-ctx { color: var(--ink-dim); font-size: 0.9rem; line-height: 1.6; }
.quotes-note { max-width: 60ch; margin-top: clamp(40px,6vw,72px); color: var(--ink-dim); font-size: clamp(1rem,1.3vw,1.12rem); line-height: 1.7; }
.news-list { list-style: none; display: grid; gap: 10px; max-width: 52ch; text-align: left; color: var(--on-dark-dim); font-size: 1rem; line-height: 1.55; }
.news-list li { position: relative; padding-left: 18px; }
.news-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.news-lead { color: var(--on-dark); font-family: "Zodiak", serif; font-size: clamp(1.15rem,1.7vw,1.4rem); }

/* Fun facts — left-aligned editorial unit within the founder section */
.funfacts { margin-top: clamp(56px,9vh,120px); border-top: 1px solid var(--line); padding-top: clamp(40px,6vh,80px); }
.funfacts .rule-row { margin-bottom: clamp(26px,4vh,46px); }
.ff-title { max-width: 16ch; margin-bottom: clamp(28px,4vh,46px); }
.ff-prose { max-width: 66ch; display: grid; gap: 20px; }
.ff-prose p { color: var(--ink-dim); font-size: clamp(1rem,1.25vw,1.1rem); line-height: 1.75; text-wrap: pretty; }
.ff-prose p:first-child { font-size: clamp(1.08rem,1.5vw,1.22rem); line-height: 1.6; color: var(--ink); }  /* standfirst */
.ff-facts { max-width: 66ch; margin-top: clamp(32px,5vh,54px); padding-top: clamp(22px,3vh,30px); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,3vw,40px); }
.ff-facts > div { display: grid; gap: 7px; position: relative; padding-left: 16px; }
.ff-facts > div::before { content:""; position:absolute; left:0; top:5px; width:5px; height:5px; border-radius:50%; background: var(--accent); }
.ff-facts dt { font-size:.7rem; letter-spacing:.13em; text-transform:uppercase; color: var(--ink-dim); }
.ff-facts dd { font-family:"Zodiak",serif; font-size: clamp(1.05rem,1.7vw,1.4rem); line-height:1.08; color: var(--ink); }
@media (max-width: 560px){ .ff-facts { grid-template-columns: 1fr; gap: 16px; } .ff-title { max-width: none; } }

/* photo scroll reveal: clip-up + slow scale + grade-in.
   Hidden state is gated behind .js so the photo is ALWAYS visible without JS. */
.reveal-photo { transition: clip-path 1.1s cubic-bezier(.16,1,.3,1); }
.js .reveal-photo { clip-path: inset(0 0 100% 0); }
.js .reveal-photo img { transform: scale(1.12); filter: grayscale(.5) brightness(.55) contrast(1.05); transition: transform 1.3s cubic-bezier(.16,1,.3,1), filter 1.3s ease; }
.js .reveal-photo.in { clip-path: inset(0 0 0% 0); }
.js .reveal-photo.in img { transform: scale(1); filter: none; }
@media (prefers-reduced-motion: reduce){ .js .reveal-photo { clip-path: none; } .js .reveal-photo img { transform: none; filter: none; transition: none; } }

/* ============================================================
   APPLY PAGE
   ============================================================ */
.apply-hero { position: relative; min-height: 80vh; display: grid; place-items: center; text-align: center; overflow: hidden; background: var(--dark); color: var(--on-dark); padding: 17vh 6vw 13vh; }
.apply-hero::before { content:""; position:absolute; inset:0; background-image: url("frames/hero/frame_0097.webp?v=2"); background-size: cover; background-position: center; opacity: .72; }
.apply-hero::after { content:""; position:absolute; inset:0; background: radial-gradient(95% 75% at 50% 44%, rgba(0,0,0,.42) 0%, rgba(0,0,0,.84) 100%); }
.apply-hero > .apply-hero-inner { position: relative; z-index: 1; max-width: 70ch; }
.apply-hero .kicker { color: var(--accent); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.apply-hero h1 { font-family:"Zodiak",serif; font-weight:400; font-size: clamp(2.2rem,6vw,4.6rem); line-height:1.04; letter-spacing:-.02em; margin:.28em 0 .35em; text-wrap:balance; }
.apply-hero h1 em { color: var(--accent); }
.apply-hero .lead { color: var(--on-dark-dim); font-size: clamp(1rem,1.4vw,1.18rem); line-height:1.65; max-width: 60ch; margin: 0 auto; }

.apply { max-width: var(--maxw); margin: 0 auto; padding: clamp(70px,12vh,150px) clamp(22px,5vw,56px); }
.apply-grid { display:grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px,6vw,90px); align-items:start; }
.apply-intro { position: sticky; top: 116px; display:grid; gap: 20px; }
.apply-intro h2 { font-family:"Zodiak",serif; font-weight:400; font-size: clamp(1.6rem,3vw,2.4rem); line-height:1.1; letter-spacing:-.02em; }
.apply-intro p { color: var(--ink-dim); line-height:1.7; max-width: 42ch; }
.apply-intro .note { color: var(--ink); font-weight:500; }
.apply-specs { margin-top: 6px; border-top:1px solid var(--line); }
.apply-specs > div { display:flex; justify-content:space-between; align-items:baseline; gap:16px; padding:13px 0; border-bottom:1px solid var(--line); }
.apply-specs .k { color: var(--ink-dim); text-transform:uppercase; letter-spacing:.1em; font-size:.7rem; }
.apply-specs .v { font-weight:600; font-size:.95rem; }

form.apply-form { display:grid; gap: clamp(18px,2.4vw,26px); }
.field { display:grid; gap:8px; }
.field.row2 { grid-template-columns: 1fr 1fr; gap: clamp(14px,2vw,22px); }
@media (max-width:560px){ .field.row2 { grid-template-columns:1fr; } }
.field > label { font-size:.78rem; letter-spacing:.05em; text-transform:uppercase; color: var(--ink); font-weight:600; }
.field label .req { color: var(--accent); }
.field input, .field textarea, .field select {
  width:100%; font-family:"Inter",sans-serif; font-size:1rem; color: var(--ink);
  background: var(--bg-2); border:1px solid var(--line); border-radius:2px; padding:13px 14px;
  transition: border-color .25s, background .25s; }
.field textarea { min-height: 120px; resize: vertical; line-height:1.55; }
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--accent); background: var(--gray); }
.field input::placeholder, .field textarea::placeholder { color: oklch(0.55 0.004 60); }
.field.check { grid-template-columns: auto 1fr; align-items:start; gap:12px; }
.field.check input { width:18px; height:18px; accent-color: var(--accent); margin-top:3px; }
.field.check label { text-transform:none; letter-spacing:0; font-weight:400; font-size:.84rem; color: var(--ink-dim); line-height:1.55; }
.apply-form .btn.primary { justify-self:start; margin-top:6px; border:none; cursor:pointer; font-size:.95rem; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--accent); }

.apply-success { display:none; text-align:center; padding: clamp(50px,10vh,110px) 0; max-width: 60ch; margin: 0 auto; }
.apply-success.show { display:block; }
.apply-success .mark { width:66px;height:66px;border-radius:50%; display:grid;place-items:center; margin:0 auto 26px; background: color-mix(in oklch, var(--accent) 15%, transparent); color: var(--accent); font-size:30px; }
.apply-success h2 { font-family:"Zodiak",serif; font-weight:400; font-size: clamp(1.8rem,4vw,3rem); line-height:1.08; margin-bottom:16px; }
.apply-success h2 em { color: var(--accent); }
.apply-success p { color: var(--ink-dim); line-height:1.7; }
.apply-success a.link-arrow { margin-top: 26px; display:inline-block; }
.apply-form.hide { display:none; }
@media (max-width: 820px){ .apply-grid { grid-template-columns:1fr; gap:40px; } .apply-intro { position: static; } }

/* ---------- The Record (Silver band) ---------- */
.record { background: var(--bg-2); }
.record { padding: clamp(70px,11vh,150px) clamp(22px,5vw,56px); }
.record .rule-row { max-width: var(--maxw); margin-inline: auto; margin-bottom: clamp(40px,6vw,72px); border-color: var(--ink); }
.record .rule-row span:last-child { color: var(--ink); }
.record-grid { max-width: var(--maxw); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px,3vw,40px); }
.metric { display: grid; gap: 14px; align-content: start; border-top: 1px solid var(--ink); padding-top: 20px; }
.metric-num { font-family: "Inter"; font-weight: 700; font-size: clamp(2.6rem,5vw,4.6rem); line-height: 0.9; letter-spacing: -0.04em; color: var(--ultra); font-variant-numeric: tabular-nums; }
.metric-label { color: var(--ink); opacity: 0.62; font-size: 0.8rem; letter-spacing: 0.04em; line-height: 1.5; }
@media (max-width: 860px){ .record-grid { grid-template-columns: 1fr 1fr; gap: 40px 28px; } }
@media (max-width: 520px){ .record-grid { grid-template-columns: 1fr; } }

/* ---------- Who it's for ---------- */
.forwhom { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px,14vh,180px) clamp(22px,5vw,56px); }
.forwhom .display { margin-bottom: clamp(40px,6vw,72px); }
.for-list { list-style: none; display: grid; gap: 0; }
.for-list li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; border-top: 1px solid var(--line); padding: 30px 0; transition: padding-left .35s ease; }
.for-list li:last-child { border-bottom: 1px solid var(--line); }
.for-list li:hover { padding-left: 12px; }
.for-no { font-family: "Zodiak", serif; font-style: italic; font-size: 1.4rem; color: var(--accent); }
.for-list p { font-family: "Zodiak", serif; font-weight: 400; font-size: clamp(1.2rem,2.2vw,1.8rem); line-height: 1.25; letter-spacing: -0.01em; max-width: 30ch; }

/* ---------- Engagement selector ---------- */
.engagement { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px,14vh,180px) clamp(22px,5vw,56px); }
.eng-head { display: grid; grid-template-columns: 1fr 0.8fr; gap: clamp(24px,4vw,60px); align-items: end; margin-bottom: clamp(40px,6vw,72px); }
.eng-sub { color: var(--ink-dim); font-size: clamp(1rem,1.3vw,1.12rem); line-height: 1.65; max-width: 40ch; }
@media (max-width: 820px){ .eng-head { grid-template-columns: 1fr; gap: 22px; } }

.selector { border-top: 1px solid var(--ink); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); }
.seg-btn {
  appearance: none; background: none; border: none; cursor: pointer; text-align: left;
  display: grid; gap: 8px; padding: 26px clamp(14px,2vw,28px) 26px 0;
  border-bottom: 2px solid transparent; color: var(--ink-dim);
  transition: color .3s ease, border-color .3s ease;
  font-family: "Inter";
}
.seg-btn .seg-no { font-size: 12px; letter-spacing: 0.1em; font-weight: 600; color: var(--ink-dim); transition: color .3s; }
.seg-btn .seg-name { font-size: clamp(0.95rem,1.5vw,1.18rem); font-weight: 600; letter-spacing: -0.01em; }
.seg-btn:hover { color: var(--ink); }
.seg-btn.active { color: var(--ink); border-bottom-color: var(--accent); }
.seg-btn.active .seg-no { color: var(--accent); }

.panels { position: relative; border-top: 1px solid var(--line); }
.panel {
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(28px,5vw,72px);
  padding: clamp(40px,6vw,72px) 0 8px;
  animation: panelIn .55s cubic-bezier(.16,1,.3,1);
}
.panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce){ .panel { animation: none; } }
.panel-tag { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 18px; }
.panel-main h3 { font-family: "Zodiak", serif; font-weight: 400; font-size: clamp(1.9rem,3.6vw,3rem); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 22px; }
.panel-main h3 em { color: var(--accent); }
.panel-lead { font-size: clamp(1.05rem,1.5vw,1.25rem); line-height: 1.55; margin-bottom: 18px; max-width: 52ch; }
.panel-main p { color: var(--ink-dim); font-size: 1rem; line-height: 1.7; max-width: 60ch; }
.panel-side { display: grid; gap: 26px; align-content: start; }
.spec { display: grid; gap: 0; }
.spec div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 12px 0; }
.spec dt { color: var(--ink-dim); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.spec dd { color: var(--ink); font-size: 0.9rem; font-weight: 500; text-align: right; }
@media (max-width: 820px){ .panel { grid-template-columns: 1fr; } .seg-name { font-size: 0.9rem; } }

/* ---------- Buttons / links ---------- */
.btn { display: inline-block; text-decoration: none; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; padding: 15px 28px; border-radius: 100px; transition: background .3s, color .3s, transform .3s; width: max-content; }
.btn.primary { background: var(--btn); color: var(--btn-ink); }
.btn.primary:hover { background: var(--btn-hover); color: var(--btn-hover-ink); transform: translateY(-2px); }

/* ---------- Outcomes / testimonials ---------- */
.outcomes { max-width: var(--maxw); margin: 0 auto; padding: clamp(90px,14vh,180px) clamp(22px,5vw,56px); }
.outcomes .display { margin-bottom: clamp(44px,6vw,80px); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px,3vw,48px); }
.quotes figure { display: grid; gap: 20px; align-content: start; border-top: 1px solid var(--line); padding-top: 24px; }
.quotes blockquote { font-family: "Zodiak", serif; font-weight: 400; font-size: clamp(1.15rem,1.7vw,1.4rem); line-height: 1.4; letter-spacing: -0.01em; }
.quotes figcaption { font-size: 0.9rem; font-weight: 600; display: grid; gap: 4px; }
.quotes figcaption span { color: var(--ink-dim); font-weight: 400; font-size: 0.78rem; letter-spacing: 0.04em; }
@media (max-width: 820px){ .quotes { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- News (dark band) ---------- */
.news { background: var(--dark); color: var(--on-dark); padding: clamp(100px,16vh,200px) clamp(22px,5vw,56px); }
.news-inner { max-width: var(--maxw); margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 26px; }
.news .kicker { color: var(--accent); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.news .display { color: var(--on-dark); }
.news .display br { }
.news-sub { color: var(--on-dark-dim); max-width: 52ch; line-height: 1.65; font-size: 1.05rem; }
.news .btn.primary { background: var(--btn); color: var(--btn-ink); }
.news .btn.primary:hover { background: var(--btn-hover); color: var(--btn-hover-ink); }

/* ---------- Kicker (shared, used on dark news) ---------- */
.kicker { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; color: var(--accent); }

/* ---------- Footer ---------- */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 56px clamp(22px,5vw,56px) 48px; border-top: 1px solid var(--line); }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.footer-brand { font-family: "Inter"; font-weight: 700; font-size: 17px; letter-spacing: 0.04em; }
.footer-social { display: flex; gap: 22px; }
.footer-social a { color: var(--ink-dim); text-decoration: none; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; transition: color .3s; }
.footer-social a:hover { color: var(--accent); }
.disclaimer { color: var(--ink-dim); font-size: 0.78rem; line-height: 1.6; max-width: 80ch; margin: 36px 0 14px; }
.copyright { color: var(--ink-dim); font-size: 0.78rem; letter-spacing: 0.06em; }

/* ---------- Mobile ---------- */
@media (max-width: 600px){
  .nav { padding: 15px 18px; }
  .nav-cta-fixed { top: 15px; right: 18px; }
  .seg { grid-template-columns: 1fr; }
  .seg-btn { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .seg-btn.active { border-bottom-color: var(--accent); }
}

/* ---------- Contact + footer — black band, giant type (reference layout, site fonts) ----------
   Zodiak for titles, Inter for text. Text is Ice; emphasis words are Zodiak italic in Ultra
   (Ultra on black is ~2.2:1, so it is used only on the giant words). */
.contact {
  background: var(--ink-hex); color: var(--ice); overflow: hidden;
  padding: clamp(90px,12vh,150px) clamp(20px,3.5vw,48px) 36px;
  --ice-dim: rgba(188,210,255,.62); --ice-line: rgba(188,210,255,.38);
}
.contact-giant {
  font-family: "Zodiak", serif; font-weight: 400; letter-spacing: -0.035em; line-height: .9;
  /* sized from the measured text width (Zodiak: "Contact me" = 5.31em) to span ~97% of the content width */
  /* one shared size for "Contact me", "vanessa bailey", "Apply now" so the page balances (was ~97% wide each) */
  --giant: max(44px, calc((100vw - 2 * clamp(20px, 3.5vw, 48px)) * 0.105));
  font-size: var(--giant); color: var(--ice); white-space: nowrap; margin-left: -0.045em;
}
.contact-giant em { color: var(--ultra); }   /* site emphasis: Zodiak italic (global em rule) */
.cf-name legend em, .cf-field > span em { font-family: inherit; font-style: normal; }
.contact-name { padding-bottom: .12em; margin-top: clamp(36px,6vh,64px); }  /* "vanessa bailey" = 6.96em */
.contact-info, .contact-meta, .contact-foot, .contact-legal, .cf-field > span, .cf-error, .cf-submit { font-family: "Inter", sans-serif; }
.contact a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--ice-line); transition: text-decoration-color .3s; }
.contact a:hover { text-decoration-color: var(--ice); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,80px); margin-top: clamp(56px,10vh,120px); }
.contact-info { display: grid; gap: 18px; align-content: start; font-size: 13.5px; line-height: 1.7; }

.contact-form { display: grid; gap: 22px; }
.cf-name { border: 0; display: grid; gap: 12px; }
.cf-name legend { font-family: "Zodiak", serif; font-weight: 400; font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.cf-name legend em, .cf-field > span em { font-style: normal; color: var(--ice-dim); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-field { display: grid; gap: 6px; }
.cf-field > span { font-size: 12.5px; letter-spacing: .01em; }
.cf-field input:not([type="checkbox"]), .cf-field textarea, .cf-field select {
  appearance: none; background: transparent; border: 0; border-bottom: 1px solid var(--ice-line); border-radius: 0;
  color: var(--ice); font: 400 15px/1.5 "Inter", sans-serif; padding: 8px 0; width: 100%; transition: border-color .3s;
}
.cf-field textarea { resize: none; min-height: 72px; }
.cf-field input:focus, .cf-field textarea:focus, .cf-field select:focus { outline: none; border-bottom-color: var(--ice); }
.cf-field.invalid input, .cf-field.invalid textarea, .cf-field.invalid select { border-bottom: 2px solid var(--ice); }
.cf-field.invalid > span::after { content: " — needed"; color: var(--ice); }
.cf-error { display: none; font-size: 12px; color: var(--ice); }
.cf-error.show { display: block; }
.cf-submit {
  justify-self: start; appearance: none; border: 0; border-radius: 0; cursor: pointer;
  background: var(--ice); color: var(--ink-hex); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 11px 26px; transition: background .3s, color .3s;
}
.cf-submit:hover { background: var(--ultra); color: var(--bone); }
.cf-submit:focus-visible, .contact a:focus-visible, .cf-field input:focus-visible, .cf-field textarea:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
.cf-success { display: grid; gap: 10px; padding-top: 6px; }
.cf-success[hidden] { display: none; }
.cf-success-title { font-family: "Zodiak", serif; font-weight: 400; font-size: clamp(1.8rem,3.4vw,2.8rem); letter-spacing: -0.02em; line-height: 1.05; }
.cf-success-title em { color: var(--ultra); }
.cf-success p:last-child { font-family: "Inter", sans-serif; font-size: 12.5px; color: var(--ice-dim); }

.contact-meta { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: clamp(80px,14vh,170px); font-size: 13px; line-height: 1.6; }
.contact-meta .r, .contact-foot .r { text-align: right; }
.contact-foot { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: clamp(30px,5vh,52px); font-size: 12px; }
.contact-legal { max-width: 110ch; margin-top: 22px; font-size: 10.5px; line-height: 1.6; color: var(--ice-dim); }
.contact-legal + .contact-legal { margin-top: 10px; }

@media (max-width: 760px){
  .contact-grid, .contact-meta, .contact-foot { grid-template-columns: 1fr; }
  .contact-meta .r, .contact-foot .r { text-align: left; }
  .cf-row { grid-template-columns: 1fr; }
}

/* ---------- Apply page — same black band + form system as the contact section ---------- */
body.page-ink { background: var(--ink-hex); }
.apply-page { padding-top: clamp(110px,16vh,180px); }
.apply-giant { padding-bottom: .2em; }  /* "Apply now" = 4.93em, spans ~97% like the other giant lines */
.apply-kicker { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ice-dim); margin-top: clamp(18px,3vh,30px); }
.apply-info { gap: 16px; font-size: 14px; line-height: 1.75; }
.apply-info p { max-width: 54ch; }
.ci-title { font-family: "Zodiak", serif; font-weight: 400; font-size: clamp(1.5rem,2.4vw,2rem); line-height: 1.12; letter-spacing: -0.02em; max-width: 20ch; margin-bottom: 6px; }
.ci-title em { color: var(--ice-dim); }
.ci-specs { display: grid; margin-top: 10px; max-width: 54ch; }
.ci-specs div { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--ice-line); padding: 10px 0; }
.ci-specs div:last-child { border-bottom: 1px solid var(--ice-line); }
.ci-specs dt { color: var(--ice-dim); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }
.ci-specs dd { text-align: right; }
.cf-field select {
  cursor: pointer; padding-right: 26px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23BCD2FF' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center;
}
.cf-field select:invalid { color: var(--ice-dim); }
.cf-field select option { background: var(--ink-hex); color: var(--ice); }
.cf-check { grid-template-columns: 18px 1fr; align-items: start; gap: 12px; margin-top: 4px; }
.cf-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ice); cursor: pointer; }
.cf-check > span { font-size: 11.5px; line-height: 1.65; color: var(--ice-dim); }
.cf-check.invalid input { outline: 2px solid var(--ice); outline-offset: 2px; }
.cf-success p a { font-family: "Inter", sans-serif; font-size: 12.5px; }

/* ---------- Giant titles: letter-by-letter rise (split by giant-titles.js; plain text without JS) ---------- */
.contact-giant.split .gl { display: inline-block; padding-bottom: .22em; margin-bottom: -.22em; clip-path: inset(-60% -40% 0 -40%); }
.contact-giant.split .gl > span { display: inline-block; transform: translateY(108%); transition: transform 1.15s cubic-bezier(.16,1,.3,1); }
.contact-giant.split.in .gl > span { transform: none; }
@media (prefers-reduced-motion: reduce){
  .contact-giant.split .gl > span { transform: none; opacity: 0; transition: opacity .6s ease; }
  .contact-giant.split.in .gl > span { opacity: 1; }
}

/* ---------- Condensed copy (2026-10) ---------- */
.record-note { max-width: var(--maxw); margin: clamp(28px,4vw,44px) auto 0; padding-top: 18px; border-top: 1px solid var(--ink); color: var(--ink); font-size: 0.85rem; letter-spacing: 0.04em; }
.founder-text .ff-facts { margin-top: 6px; }
.mini-list { list-style: none; display: grid; margin: 4px 0 6px; }
.mini-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; border-top: 1px solid var(--line); padding: 16px 0; }
.mini-list li:last-child { border-bottom: 1px solid var(--line); }
.mini-list .for-no { font-size: 1.1rem; }
.mini-list p { color: var(--ink-dim); font-size: clamp(1rem,1.3vw,1.12rem); line-height: 1.6; }

/* contact: direct email instead of a form */
.contact-direct { display: grid; gap: 10px; align-content: start; }
.cd-label { font-family: "Inter", sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ice-dim); }
.cd-label:not(:first-child) { margin-top: 26px; }
.contact a.contact-email {
  font-family: "Zodiak", serif; font-size: clamp(1.35rem, 2.9vw, 2.6rem); line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ice); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; overflow-wrap: anywhere;
}
.contact a.contact-email:hover { color: var(--bone); }
.cd-note { font-size: 13.5px; color: var(--ice-dim); }
.cd-place { font-family: "Zodiak", serif; font-size: clamp(1.15rem, 1.8vw, 1.6rem); }
.contact-policies { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 18px; font-size: 12px; }

/* legal pages (Termageddon embeds) */
.legal-page .legal-title { white-space: normal; }
.legal-body { max-width: 74ch; margin-top: clamp(48px,8vh,96px); font-size: 15px; line-height: 1.75; color: var(--ice); }
.legal-body .policy_embed_div { color: var(--ice); }
.legal-body .policy_embed_div article > h2:first-child { display: none; }   /* page already shows the title */
.legal-body .policy_embed_div h2, .legal-body .policy_embed_div h3, .legal-body .policy_embed_div h4 {
  font-family: "Zodiak", serif !important; font-weight: 400 !important; color: var(--ice) !important; letter-spacing: -0.01em; margin: 1.6em 0 .5em;
}
.legal-body .policy_embed_div p, .legal-body .policy_embed_div li { color: var(--ice-dim); }
.legal-body .policy_embed_div a { color: var(--ice); }
.legal-pending { color: var(--ice-dim); }

/* merged opening section: small sub-parts inside one practice section */
.practice-copy .sub-kicker { margin-top: 18px; color: var(--accent); font-size: 12px; line-height: 1.4; }   /* beats .practice-copy p */
.practice-copy .sub-title { font-family: "Zodiak", serif; font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; letter-spacing: -0.015em; color: var(--ink); margin-top: -8px; }
.collapse-body[data-show]::after { height: 3.2em; }   /* shorter fade: keeps the visible intro fully readable, fades only the peek */
.practice-copy .practice-cta { margin-top: 10px; }   /* Apply as a real button so it is not confused with "Read more" */

/* apply page: Vanessa's own application form embedded on the right */
.apply-grid-embed { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
.apply-embed iframe { display: block; width: 100%; border: 0; background: transparent; }
.apply-fallback { margin-top: 14px; font-size: 12.5px; color: var(--ice-dim); }
@media (max-width: 760px){ .apply-grid-embed { grid-template-columns: 1fr; } }

/* apply page: loading state for the embedded form (same light colour the form will use) */
.apply-embed { position: relative; }
.apply-loading {
  min-height: 520px; background: #E1DDDB; color: #0E0D0C;   /* in the flow: the hidden form takes no space */
  padding: 60px 40px; display: grid; align-content: start; gap: 14px;
}
.apply-embed.loaded .apply-loading { display: none; }
.al-title { font-family: "Zodiak", serif; font-size: 30px; line-height: 1.15; letter-spacing: -0.01em; }
.al-title em { color: var(--ultra); }
.al-note { font-size: 14px; color: #4F4D4B; }
.al-bar { display: block; height: 2px; width: 100%; max-width: 360px; margin-top: 10px; background: rgba(14,13,12,.12); position: relative; overflow: hidden; }
.al-bar::after { content: ""; position: absolute; inset: 0; width: 35%; background: var(--ultra); animation: alSlide 1.3s cubic-bezier(.45,0,.25,1) infinite; }
@keyframes alSlide { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce){ .al-bar::after { animation: none; width: 100%; opacity: .4; } }
.apply-fallback[hidden] { display: none; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Title motion = slow drift (giant-titles.js). Titles are always visible: no line-mask reveal. */
.js .reveal-title .line > span, .js .reveal-title.in .line > span { transform: none !important; opacity: 1 !important; transition: none !important; }

/* Tally forms (apply + workbook pages): the site's light panel, the form sits inside with a transparent background */
.tally-panel { background: #E1DDDB; color: #0E0D0C; padding: clamp(28px,4vw,52px) clamp(18px,3vw,40px) clamp(18px,3vw,32px); }
.tally-panel .al-title { margin-bottom: 14px; }
.tp-loading { display: grid; gap: 12px; padding: 6px 0 30px; }
.tally-panel.loaded .tp-loading { display: none; }
.tally-panel .apply-fallback { color: #4F4D4B; }
.tally-panel .apply-fallback a { color: #0E0D0C; }
.panel-main .panel-close { color: var(--ink); font-family: "Zodiak", serif; font-size: 1.2rem; margin-top: 18px; }

/* steady screen height for the scroll effects: 100lvh does not change when the phone's address bar hides */
.vh-probe { position: absolute; top: 0; left: 0; width: 0; height: 100vh; height: 100lvh; visibility: hidden; pointer-events: none; }
