/* =========================================================
   Centsible Solutions — Design System
   Institutional credibility, owner-level clarity.
   ========================================================= */

:root {
  /* ---- Type scale ---- */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 0.9375rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
  --text-xl: clamp(1.5rem, 1.15rem + 1.35vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1.1rem + 3.8vw, 4.25rem);

  /* ---- Spacing (4px base) ---- */
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;

  /* ---- Brand constants (sampled from the existing identity) ---- */
  --gold: #ffc700;
  --gold-deep: #d9a400;
  --bronze: #7d6d55;
  --ink: #0b0b0b;
  --ink-800: #1c1c1c;
  --graphite: #383838;
  --slate: #6e6e6e;
  --ivory: #faf8f4;
  --ivory-200: #f1ede6;

  /* ---- Geometry ---- */
  --radius-sm: 3px;
  --radius-md: 4px;
  --transition-interactive: 160ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* ---- Layout ---- */
  --content-narrow: 680px;
  --content-default: 1080px;
  --content-wide: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* ---- Fonts ---- */
  --font-display: 'Zodiak', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Switzer', 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- LIGHT (default) ---------- */
:root,
[data-theme='light'] {
  --color-bg: #faf8f4;
  --color-surface: #ffffff;
  --color-surface-2: #f1ede6;
  --color-text: #0b0b0b;
  --color-text-muted: #383838;
  --color-text-faint: #6e6e6e;
  --color-border: #ded7ca;
  --color-divider: #e8e2d7;
  --accent-on-surface: #d9a400;
  --band-ink-bg: #0b0b0b;
  --band-ink-panel: #171716;
  --band-ink-text: #f4f2ed;
  --band-ink-muted: #a8a29a;
  --band-ink-border: #2b2b28;
  --shadow-card: 0 8px 24px rgba(11, 11, 11, 0.06);
  --color-heading: #0b0b0b;
  --band-ink-heading: #ffffff;
}

/* ---------- DARK ---------- */
[data-theme='dark'] {
  --color-bg: #0b0b0b;
  --color-surface: #141413;
  --color-surface-2: #1c1c1a;
  --color-text: #f4f2ed;
  --color-text-muted: #b8b2a7;
  --color-text-faint: #8a857c;
  --color-border: #2e2e2b;
  --color-divider: #232320;
  --accent-on-surface: #ffc700;
  --band-ink-bg: #141413;
  --band-ink-panel: #1f1f1c;
  --band-ink-text: #f4f2ed;
  --band-ink-muted: #a8a29a;
  --band-ink-border: #34342f;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.4);
  --color-heading: #f7f5f0;
  --band-ink-heading: #f7f5f0;
}

/* =========================================================
   Layout primitives
   ========================================================= */
.wrap { width: 100%; max-width: var(--content-wide); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--default { max-width: var(--content-default); }
.wrap--narrow { max-width: var(--content-narrow); }

.section { padding-block: clamp(var(--space-16), 9vw, var(--space-32)); }
.section--tight { padding-block: clamp(var(--space-12), 6vw, var(--space-20)); }
.section--alt { background: var(--color-surface-2); }

.band-ink {
  background: var(--band-ink-bg);
  color: var(--band-ink-text);
}
.band-ink p, .band-ink li { color: var(--band-ink-muted); }
.band-ink .eyebrow { color: var(--gold); }

/* =========================================================
   Typography utilities
   ========================================================= */
.eyebrow {
  display: flex; align-items: center; gap: var(--space-3);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-on-surface);
  margin-bottom: var(--space-5);
}
.eyebrow::before {
  content: ''; width: 26px; height: 1px; flex: none;
  background: currentColor; opacity: 0.9;
}

.display { font-family: var(--font-display); letter-spacing: -0.02em; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.018em; }
h4, h5, h6 { font-family: var(--font-body); font-weight: 600; letter-spacing: -0.005em; }

.h-hero { font-size: var(--text-3xl); line-height: 1.03; }
.h-section { font-size: var(--text-2xl); line-height: 1.1; }
.h-sub { font-size: var(--text-xl); line-height: 1.18; }
.h-card { font-size: var(--text-lg); line-height: 1.25; }

.lead {
  font-size: var(--text-lg); line-height: 1.55; color: var(--color-text-muted);
  font-weight: 400; max-width: 60ch;
}
.body { color: var(--color-text-muted); }
.caption { font-size: var(--text-xs); color: var(--color-text-faint); letter-spacing: 0.02em; }

.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; letter-spacing: 0.01em;
  padding: 0.9375rem var(--space-6); border-radius: var(--radius-md);
  border: 1px solid transparent; white-space: nowrap;
}
.btn--primary { background: var(--gold); color: #0b0b0b; }
.btn--primary:hover { background: #ffd333; }
.btn--ghost {
  border-color: var(--color-border); color: var(--color-text); background: transparent;
}
.btn--ghost:hover { border-color: var(--accent-on-surface); color: var(--accent-on-surface); }
.band-ink .btn--ghost, .hero .btn--ghost, .page-hero .btn--ghost { border-color: var(--band-ink-border); color: var(--band-ink-text); }
.band-ink .btn--ghost:hover, .hero .btn--ghost:hover, .page-hero .btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 0.625rem var(--space-4); font-size: var(--text-xs); }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }

/* =========================================================
   Header / navigation
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--color-bg) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--color-divider);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-6); min-height: 76px;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.brand .logo-light { display: block; }
.brand .logo-dark { display: none; }
[data-theme='dark'] .brand .logo-light { display: none; }
[data-theme='dark'] .brand .logo-dark { display: block; }

.nav { display: flex; align-items: center; gap: var(--space-1); }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted);
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--color-text); }
.nav__link svg { opacity: 0.55; }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  min-width: 620px; background: var(--color-surface);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-8);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 200ms;
}
.mega--wide { min-width: 700px; }
.nav__item:hover .mega, .nav__item:focus-within .mega {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.mega__title {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-on-surface);
  padding-bottom: var(--space-3); margin-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.mega__list { display: grid; gap: 2px; }
.mega__list a {
  display: block; font-size: var(--text-sm); color: var(--color-text-muted);
  padding: var(--space-2) var(--space-3); border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
}
.mega__list a:hover {
  color: var(--color-text); background: var(--color-surface-2);
  border-left-color: var(--gold);
}

.header__actions { display: flex; align-items: center; gap: var(--space-3); flex: none; }
.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  color: var(--color-text-muted);
}
.icon-btn:hover { color: var(--color-text); border-color: var(--accent-on-surface); }

.nav-toggle { display: none; }

/* Mobile nav */
.mobile-nav {
  display: none; border-top: 1px solid var(--color-divider);
  background: var(--color-bg); padding: var(--space-4) 0 var(--space-8);
  max-height: 70dvh; overflow-y: auto;
}
.mobile-nav.is-open { display: block; }
.mobile-nav h4 {
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-on-surface); margin: var(--space-6) 0 var(--space-2);
}
.mobile-nav a {
  display: block; padding: var(--space-3) 0; font-size: var(--text-sm);
  color: var(--color-text-muted); border-bottom: 1px solid var(--color-divider);
}
.mobile-nav .btn { width: 100%; margin-top: var(--space-6); }

@media (max-width: 1040px) {
  .nav, .header__actions .btn { display: none; }
  .nav-toggle { display: grid; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; background: var(--band-ink-bg); color: var(--band-ink-text);
  overflow: hidden; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
}
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(11,11,11,0.96) 0%, rgba(11,11,11,0.88) 42%, rgba(11,11,11,0.42) 100%),
    linear-gradient(to top, rgba(11,11,11,0.9) 0%, transparent 45%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero__inner {
  padding-block: clamp(var(--space-20), 13vw, 10.5rem) clamp(var(--space-16), 9vw, var(--space-24));
  max-width: 52rem;
}
.hero h1 { color: var(--band-ink-text); max-width: 46rem; }
.hero .lead { color: #cfc9bf; }
.hero__note {
  margin-top: var(--space-8); padding-top: var(--space-5);
  border-top: 1px solid var(--band-ink-border);
  font-family: var(--font-display); font-style: italic;
  font-size: var(--text-base); color: #d8d2c7; max-width: 52ch;
}

/* Proof strip inside hero */
.proof-strip {
  border-top: 1px solid var(--band-ink-border);
  background: rgba(0, 0, 0, 0.35);
}
.proof-strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.proof-tile {
  padding: var(--space-8) var(--space-6);
  border-left: 1px solid var(--band-ink-border);
}
.proof-tile:first-child { border-left: 0; padding-left: 0; }
.proof-tile__rule { width: 28px; height: 2px; background: var(--gold); margin-bottom: var(--space-4); }
.proof-tile__figure {
  font-family: var(--font-body); font-weight: 600;
  font-size: clamp(1.75rem, 1rem + 2vw, 2.625rem); line-height: 1;
  color: var(--gold); letter-spacing: -0.02em;
}
.proof-tile__label {
  margin-top: var(--space-3); font-size: var(--text-xs); line-height: 1.5;
  color: var(--band-ink-muted); max-width: 26ch;
}
@media (max-width: 900px) {
  .proof-strip__grid { grid-template-columns: 1fr 1fr; }
  .proof-tile { padding: var(--space-6) var(--space-5); }
  .proof-tile:nth-child(odd) { border-left: 0; padding-left: 0; }
  .proof-tile:nth-child(n + 3) { border-top: 1px solid var(--band-ink-border); }
}

/* =========================================================
   Editorial split
   ========================================================= */
.split {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(var(--space-10), 6vw, var(--space-20)); align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-md); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media::after {
  content: ''; position: absolute; left: calc(-1 * var(--space-5)); top: var(--space-8);
  bottom: var(--space-8); width: 1px; background: var(--gold); opacity: 0.85;
}
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: minmax(0, 1fr); }
  .split__media::after { display: none; }
  .split__media { order: -1; }
}

/* =========================================================
   Question stack
   ========================================================= */
.qstack { border-top: 1px solid var(--color-divider); margin-top: var(--space-10); }
.qstack li {
  display: flex; gap: var(--space-5); align-items: baseline;
  padding: var(--space-5) 0; border-bottom: 1px solid var(--color-divider);
  font-family: var(--font-display); font-size: var(--text-lg);
  line-height: 1.4; color: var(--color-text); max-width: none;
}
.qstack li::before {
  content: '?'; flex: none; width: 1.25rem;
  font-family: var(--font-display); font-size: var(--text-lg);
  color: var(--accent-on-surface); opacity: 0.9;
}
.band-ink .qstack { border-color: var(--band-ink-border); }
.band-ink .qstack li { border-color: var(--band-ink-border); color: var(--band-ink-text); }
.band-ink .qstack li::before { color: var(--gold); }

/* =========================================================
   Pillars
   ========================================================= */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8); margin-top: var(--space-12);
}
.pillar { border-top: 1px solid var(--color-divider); padding-top: var(--space-5); }
.pillar__num {
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-xs);
  letter-spacing: 0.1em; color: var(--accent-on-surface); margin-bottom: var(--space-3);
}
.pillar h4 { font-size: var(--text-base); margin-bottom: var(--space-2); }
.pillar p { font-size: var(--text-sm); color: var(--color-text-faint); }
.band-ink .pillar { border-color: var(--band-ink-border); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* =========================================================
   Solution cards
   ========================================================= */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5); margin-top: var(--space-12);
}
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-8) var(--space-6) var(--space-6);
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; height: 2px; width: 34px;
  background: var(--gold); transition: width 240ms var(--ease-out);
}
.card:hover::before { width: 100%; }
.card:hover { border-color: color-mix(in srgb, var(--gold) 45%, var(--color-border)); }
.card__index {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.1em;
  color: var(--color-text-faint); margin-bottom: var(--space-4);
}
.card h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--text-lg); letter-spacing: -0.005em; }
.card p { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); }
.card__link {
  margin-top: var(--space-6); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-on-surface);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.card__link svg { transition: transform var(--transition-interactive); }
.card:hover .card__link svg { transform: translateX(3px); }
@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* =========================================================
   Framework split
   ========================================================= */
.framework { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: var(--space-12); background: var(--band-ink-border); border: 1px solid var(--band-ink-border); border-radius: var(--radius-md); overflow: hidden; }
.framework__panel { background: var(--band-ink-bg); padding: clamp(var(--space-8), 4vw, var(--space-12)); }
.framework__panel--alt { background: var(--band-ink-panel); }
.framework__panel h3 { font-size: var(--text-xl); color: var(--band-ink-text); }
.framework__panel p { font-size: var(--text-sm); margin-top: var(--space-4); color: var(--band-ink-muted); max-width: 34rem; }
.framework__panel .eyebrow { color: var(--gold); }
@media (max-width: 780px) { .framework { grid-template-columns: 1fr; } }

/* =========================================================
   Industries
   ========================================================= */
.industries {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--color-divider); margin-top: var(--space-12);
}
.industry {
  display: block; padding: var(--space-6) var(--space-6) var(--space-6) 0;
  border-bottom: 1px solid var(--color-divider);
  border-right: 1px solid var(--color-divider);
}
.industry:nth-child(3n) { border-right: 0; }
.industry:not(:nth-child(3n + 1)) { padding-left: var(--space-6); }
.industry__num {
  font-size: var(--text-xs); font-weight: 600; color: var(--gold-deep);
  letter-spacing: 0.1em; opacity: 0.85;
}
.industry h4 {
  margin-top: var(--space-2); font-size: var(--text-base);
  color: var(--color-text);
}
.industry p { margin-top: var(--space-1); font-size: var(--text-sm); color: var(--color-text-faint); }
.industry:hover h4 { color: var(--accent-on-surface); }
@media (max-width: 900px) {
  .industries { grid-template-columns: 1fr 1fr; }
  .industry:nth-child(3n) { border-right: 1px solid var(--color-divider); }
  .industry:nth-child(2n) { border-right: 0; }
  .industry:not(:nth-child(3n + 1)) { padding-left: 0; }
  .industry:nth-child(2n) { padding-left: var(--space-6); }
}
@media (max-width: 560px) {
  .industries { grid-template-columns: 1fr; }
  .industry, .industry:nth-child(2n) { border-right: 0; padding-left: 0; }
}

/* =========================================================
   Partners
   ========================================================= */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); margin-top: var(--space-12); }
.partner {
  display: grid; grid-template-columns: 168px 1fr; gap: var(--space-6);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-6);
}
.partner__portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-sm);
  background: linear-gradient(160deg, var(--ink) 0%, #2a2620 100%);
  display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--band-ink-border);
}
.partner__monogram {
  font-family: var(--font-display); font-size: 2.75rem; line-height: 1;
  color: var(--gold); opacity: 0.92; letter-spacing: 0.02em;
}
.partner__portrait::after {
  content: ''; position: absolute; inset: 10px; border: 1px solid rgba(255, 199, 0, 0.22);
  border-radius: 2px; pointer-events: none;
}
.partner__cred {
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-on-surface); font-weight: 600;
}
.partner h3 { font-size: var(--text-lg); font-family: var(--font-display); margin-top: var(--space-2); }
.partner__role { font-size: var(--text-sm); color: var(--color-text); margin-top: var(--space-1); font-weight: 500; }
.partner p { margin-top: var(--space-3); font-size: var(--text-sm); color: var(--color-text-muted); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-5); }
.tag {
  font-size: var(--text-xs); color: var(--bronze); border: 1px solid color-mix(in srgb, var(--bronze) 40%, transparent);
  border-radius: 999px; padding: 3px var(--space-3); letter-spacing: 0.01em;
}
[data-theme='dark'] .tag { color: #b8a67f; border-color: rgba(184, 166, 127, 0.35); }
@media (max-width: 980px) { .partners { grid-template-columns: 1fr; } }
@media (max-width: 460px) {
  .partner { grid-template-columns: 1fr; }
  .partner__portrait { aspect-ratio: 3 / 2; }
}

/* =========================================================
   Pull quote band
   ========================================================= */
.quote { max-width: 26ch; }
.quote__mark { font-family: var(--font-display); font-size: 4rem; line-height: 0.6; color: var(--gold); display: block; margin-bottom: var(--space-4); }
.quote p { font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.28; color: var(--band-ink-text); max-width: none; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { text-align: center; }
.cta-band .wrap { display: grid; justify-items: center; }
.cta-band h2 { max-width: 28ch; }
.cta-band p { margin-top: var(--space-5); max-width: 56ch; }
.cta-band .cta-row { justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--band-ink-panel); color: var(--band-ink-muted);
  padding-block: var(--space-16) var(--space-8);
  border-top: 1px solid var(--band-ink-border);
}
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-10); padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--band-ink-border);
}
.footer img { height: 30px; width: auto; }
.footer h4 {
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--space-4);
}
.footer ul { display: grid; gap: var(--space-2); }
.footer a { font-size: var(--text-sm); color: var(--band-ink-muted); }
.footer a:hover { color: var(--band-ink-text); }
.footer__blurb { font-size: var(--text-sm); margin-top: var(--space-5); max-width: 40ch; }
.footer__contact { margin-top: var(--space-5); }
.footer__contact a {
  font-family: var(--font-display); font-size: var(--text-lg); letter-spacing: 0.01em;
  color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.footer__contact a:hover { border-bottom-color: var(--gold); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between;
  padding-top: var(--space-6); font-size: var(--text-xs);
}
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

/* Watermark cent mark */
.watermark {
  position: absolute; right: 2%; bottom: -4%; font-family: var(--font-display);
  font-size: clamp(9rem, 18vw, 18rem); line-height: 0.78; color: var(--gold);
  opacity: 0.045; pointer-events: none; user-select: none; z-index: 0;
}
.has-watermark { position: relative; overflow: hidden; }
.has-watermark > .wrap { position: relative; z-index: 1; }

/* =========================================================
   Interior pages — added for the full site build
   ========================================================= */

/* Ink band typography defaults (so generated pages need no inline colors) */
.band-ink h2, .band-ink h3, .band-ink h4 { color: var(--band-ink-text); }
.band-ink .lead, .band-ink .body, .band-ink p { color: var(--band-ink-muted); }
.band-ink .proof-tile__figure { color: var(--gold); }

/* ---------- Interior page hero ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--band-ink-bg);
  padding-block: clamp(var(--space-12), 8vw, var(--space-20)) clamp(var(--space-14), 8vw, var(--space-24));
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 55%; opacity: 0.7; }
.page-hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11,11,11,0.97) 0%, rgba(11,11,11,0.9) 46%, rgba(11,11,11,0.5) 100%),
    linear-gradient(to top, rgba(11,11,11,0.85) 0%, transparent 55%);
}
.page-hero__inner { max-width: 46rem; margin-top: var(--space-10); }
.page-hero__inner .eyebrow { color: var(--gold); }
.page-hero h1 { color: var(--band-ink-text); max-width: 40rem; margin-top: var(--space-4); }
.page-hero .lead { color: #cfc9bf; margin-top: var(--space-6); max-width: 40rem; }
.page-hero .hero__note { max-width: 40rem; }
.h-page { font-size: var(--text-2xl); line-height: 1.06; }

/* ---------- Breadcrumb ---------- */
.crumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(250, 248, 244, 0.5);
}
.crumb a { color: rgba(250, 248, 244, 0.62); text-decoration: none; }
.crumb a:hover { color: var(--gold); }
.crumb span[aria-current] { color: var(--gold); }
.crumb__sep { color: rgba(250, 248, 244, 0.28); }

/* ---------- Prose block (heading left, body right) ---------- */
.prose-block {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: start;
}
.prose-block__head { grid-column: 1; }
.prose-block__head h2 { margin-top: var(--space-4); }
.prose-block__body { grid-column: 2; }
.prose-block__body > p + p { margin-top: var(--space-5); }
.prose-block__body .lead { color: var(--color-text); }
.prose-block__body .body { color: var(--color-text-muted); }
.pull-note {
  grid-column: 2; font-family: var(--font-display); font-style: italic;
  font-size: var(--text-base); color: var(--color-text);
  border-top: 1px solid var(--color-divider); padding-top: var(--space-5); margin-top: var(--space-8);
}
@media (max-width: 900px) {
  .prose-block { grid-template-columns: 1fr; gap: var(--space-6); }
  .prose-block__head, .prose-block__body, .pull-note { grid-column: 1; grid-row: auto; }
}

/* ---------- Deliverables checklist ---------- */
.deliv {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(var(--space-8), 5vw, var(--space-16));
  margin-top: var(--space-12); list-style: none;
}
.deliv--single { grid-template-columns: 1fr; margin-top: var(--space-4); }
.deliv__item {
  display: flex; gap: var(--space-4); align-items: baseline; max-width: none;
  padding: var(--space-4) 0; border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm); color: var(--color-text);
}
.deliv__mark {
  flex: none; width: 14px; height: 1px; background: var(--gold); transform: translateY(-4px);
}
@media (max-width: 720px) { .deliv { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { margin-top: var(--space-12); list-style: none; border-top: 1px solid var(--color-divider); }
.step {
  display: grid; grid-template-columns: 4rem minmax(0, 1fr);
  gap: var(--space-4); padding: var(--space-8) 0; border-bottom: 1px solid var(--color-divider);
}
.step__num { font-size: var(--text-sm); color: var(--accent-on-surface); letter-spacing: 0.08em; }
.step__title { font-family: var(--font-body); font-size: var(--text-base); font-weight: 600; }
.step__body { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); max-width: 46rem; }
@media (max-width: 620px) { .step { grid-template-columns: 1fr; gap: var(--space-2); } }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--space-12); border-top: 1px solid var(--color-divider); }
.faq__item {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  padding: var(--space-8) 0; border-bottom: 1px solid var(--color-divider);
}
.faq__q { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 400; line-height: 1.25; }
.faq__a { font-size: var(--text-sm); color: var(--color-text-muted); max-width: 44rem; }
@media (max-width: 780px) { .faq__item { grid-template-columns: 1fr; gap: var(--space-3); } }

/* ---------- Large pull quote (ink) ---------- */
.quote-lg { max-width: 44rem; margin-inline: auto; text-align: center; }
.quote-lg .quote__mark {
  display: block; font-family: var(--font-display); font-size: 3rem; line-height: 0.6;
  color: var(--gold); margin-bottom: var(--space-6);
}
.quote-lg blockquote p {
  font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.3;
  color: var(--band-ink-text); max-width: none;
}
.quote__attr {
  margin-top: var(--space-6); font-size: var(--text-xs); letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--band-ink-muted);
}

/* ---------- Proof grid on interior pages ---------- */
.proof-strip__grid--page {
  margin-top: var(--space-12); border-top: 1px solid var(--band-ink-border);
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
}
.proof-strip__grid--solo { max-width: 30rem; }
.proof-strip__grid--solo .proof-tile__figure { font-size: var(--text-2xl); }
@media (max-width: 980px) { .proof-strip__grid, .proof-strip__grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .proof-strip__grid, .proof-strip__grid--page { grid-template-columns: 1fr; }
  .proof-tile { border-left: 0; padding-left: 0; border-top: 1px solid var(--band-ink-border); }
  .proof-tile:first-child { border-top: 0; }
}

/* ---------- Contact details + form ---------- */
.cdetails { display: grid; gap: var(--space-5); margin-top: var(--space-10); }
.cdetail__label {
  font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text-faint);
}
.cdetail__value { font-size: var(--text-base); color: var(--color-text); margin-top: var(--space-1); }
.form {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: clamp(var(--space-6), 3vw, var(--space-10));
  box-shadow: 0 8px 24px rgba(11, 11, 11, 0.06);
}
.form__title {
  font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-text);
  padding-bottom: var(--space-5); border-bottom: 1px solid var(--color-divider);
}
.field { margin-top: var(--space-5); display: grid; gap: var(--space-2); }
.field label {
  font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-faint);
}
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--text-sm); color: var(--color-text);
  background: var(--color-bg); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 0.7rem 0.85rem;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 199, 0, 0.18);
}
.form .btn { width: 100%; margin-top: var(--space-8); }
.form__note { margin-top: var(--space-4); font-size: var(--text-xs); color: var(--color-text-faint); }

/* ---------- Closing CTA inner ---------- */
.cta-inner { display: grid; justify-items: center; }
.cta-inner h2 { max-width: 34rem; margin-top: var(--space-4); }
.cta-inner .lead { margin-top: var(--space-5); max-width: 42rem; }
.cta-row--center { justify-content: center; }

/* ---------- Related links strip ---------- */
.related { border-top: 1px solid var(--color-divider); padding-block: var(--space-12); }
.related__grid {
  display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-top: var(--space-6);
  align-items: center;
}
.related__grid a {
  font-size: var(--text-sm); color: var(--color-text-muted); text-decoration: none;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.related__grid a:hover { color: var(--color-text); border-bottom-color: var(--gold); }
.related__all {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--accent-on-surface) !important; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: var(--text-xs) !important;
}

.proof-strip__grid--page .proof-tile__label { max-width: none; }
.proof-strip__grid--page .proof-tile { padding-right: var(--space-10); }

.field input, .field select, .field textarea { max-width: 100%; min-width: 0; box-sizing: border-box; }

/* ---------- Individual profile pages ---------- */
.page-hero--profile .page-hero__inner { max-width: 50rem; }
.profile-id { display: flex; align-items: center; gap: clamp(var(--space-5), 3vw, var(--space-8)); }
.profile-id__portrait {
  flex: none; width: 108px; height: 132px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 199, 0, 0.35); border-radius: var(--radius-sm);
  background: linear-gradient(160deg, #171717 0%, #0d0d0d 100%);
}
.profile-id .partner__monogram { font-size: var(--text-xl); }
.profile-id h1 { margin-top: var(--space-3); max-width: none; }
.profile-role {
  margin-top: var(--space-3); font-size: var(--text-sm); letter-spacing: 0.02em;
  color: var(--gold);
}
.page-hero__deck {
  margin-top: var(--space-8); font-family: var(--font-display); font-weight: 400;
  font-size: var(--text-lg); line-height: 1.28; color: var(--band-ink-text); max-width: 40rem;
}
.page-hero--profile .lead { margin-top: var(--space-5); font-size: var(--text-base); max-width: 42rem; }
@media (max-width: 620px) {
  .profile-id { flex-direction: column; align-items: flex-start; gap: var(--space-5); }
  .profile-id__portrait { width: 84px; height: 102px; }
}

/* =========================================================
   Photography — real portraits replace the monogram tiles
   ========================================================= */
.partner__portrait--photo { background: var(--ink); border-color: var(--color-border); }
.partner__portrait--photo::after {
  content: ''; position: absolute; inset: 0; border: none;
  box-shadow: inset 0 0 0 1px rgba(255, 199, 0, 0.16);
}
.partner__portrait--photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.profile-id__portrait--photo {
  width: clamp(108px, 12vw, 152px); height: auto; aspect-ratio: 4 / 5;
  overflow: hidden; background: var(--ink); padding: 0;
  border-color: rgba(255, 199, 0, 0.3);
}
.profile-id__portrait--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.page-hero--figure .page-hero__inner { max-width: 40rem; }
.page-hero__figure {
  margin-top: var(--space-12); border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--band-ink-border); max-width: 60rem;
}
.page-hero__figure img { width: 100%; height: auto; display: block; }
@media (min-width: 1080px) {
  .page-hero--figure .wrap {
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(var(--space-10), 5vw, var(--space-20)); align-items: center;
  }
  .page-hero--figure .crumb { grid-column: 1 / -1; }
  .page-hero__figure { margin-top: 0; }
}

/* =========================================================
   Video — click-to-play portrait player, poster only on load
   ========================================================= */
.vplayer {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden;
  border-radius: var(--radius-md); background: var(--ink);
  border: 1px solid var(--band-ink-border); isolation: isolate;
}
.vplayer__poster,
.vplayer video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.vplayer::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.28) 0%, rgba(11, 11, 11, 0) 34%,
              rgba(11, 11, 11, 0) 58%, rgba(11, 11, 11, 0.55) 100%);
  transition: opacity 0.3s ease;
}
.vplayer.is-playing::after { opacity: 0; }
.vplayer__play {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  display: grid; place-items: center; background: none; border: 0;
  cursor: pointer; padding: 0; color: var(--ink);
}
.vplayer__icon {
  width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); box-shadow: 0 8px 24px rgba(11, 11, 11, 0.28);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1), background 0.2s ease;
}
.vplayer__icon svg { width: 26px; height: 26px; margin-left: 2px; }
.vplayer__play:hover .vplayer__icon,
.vplayer__play:focus-visible .vplayer__icon { transform: scale(1.08); background: var(--gold-deep); }
.vplayer__play:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.vplayer.is-playing .vplayer__play { opacity: 0; pointer-events: none; }
.vplayer__time {
  position: absolute; z-index: 2; right: var(--space-3); bottom: var(--space-3);
  font-size: var(--text-xs); letter-spacing: 0.06em; color: var(--ivory);
  background: rgba(11, 11, 11, 0.6); backdrop-filter: blur(4px);
  border-radius: 999px; padding: 3px 10px;
}
.vplayer.is-playing .vplayer__time { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .vplayer__icon, .vplayer::after { transition: none; }
}

/* Feature: one clip beside supporting copy */
.vfeature {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(var(--space-8), 5vw, var(--space-16)); align-items: center;
}
.vfeature__quote {
  margin-top: var(--space-6); font-family: var(--font-display); font-weight: 400;
  font-size: var(--text-lg); line-height: 1.3; color: var(--color-heading);
  border-left: 2px solid var(--gold); padding-left: var(--space-5); max-width: 34rem;
}
.vfeature__body { margin-top: var(--space-6); max-width: 38rem; }
.vfeature__body .body + .body { margin-top: var(--space-4); }
.vfeature__meta {
  margin-top: var(--space-6); font-size: var(--text-xs); letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-text-muted);
}
.vfeature .card__link { margin-top: var(--space-5); display: inline-flex; }
@media (max-width: 860px) {
  .vfeature { grid-template-columns: minmax(0, 1fr); }
  .vfeature__media { max-width: 300px; }
}

/* Reel: a row of clips on the ink band */
.vreel {
  margin-top: var(--space-12); display: grid;
  grid-template-columns: repeat(var(--vcols, 3), minmax(0, 1fr));
  gap: clamp(var(--space-5), 2.5vw, var(--space-8));
}
.vcard { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.vcard__text h3 {
  font-family: var(--font-display); font-size: var(--text-base); font-weight: 500;
  line-height: 1.25; color: var(--band-ink-heading);
}
.vcard__text p {
  margin-top: var(--space-3); font-size: var(--text-sm); line-height: 1.6;
  color: var(--band-ink-muted);
}
@media (max-width: 980px) { .vreel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .vreel { grid-template-columns: minmax(0, 1fr); gap: var(--space-10); }
  .vcard { max-width: 320px; margin-inline: auto; }
}

/* =========================================================
   DATA VISUALISATION
   Hand-drawn SVG on brand tokens. Every figure animates from
   a resting state to its true value once .is-in is applied.
   ========================================================= */
.viz { margin-top: var(--space-12); }
.viz__caption {
  margin-top: var(--space-5); font-size: var(--text-xs); line-height: 1.55;
  color: var(--color-text-muted); display: flex; gap: var(--space-3);
  align-items: baseline; flex-wrap: wrap; max-width: 46rem;
}
.viz__flag {
  flex: none; font-size: 0.625rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--bronze);
  border: 1px solid color-mix(in srgb, var(--bronze) 38%, transparent);
  border-radius: 999px; padding: 2px 9px;
}
[data-theme='dark'] .viz__flag { color: #b8a67f; border-color: rgba(184, 166, 127, 0.35); }
.viz .viz__scalenote {
  margin-top: var(--space-8); font-size: var(--text-xs); color: var(--band-ink-muted);
  letter-spacing: 0.01em; max-width: 44rem;
}

/* ---------- Proof points drawn to scale ---------- */
.vbars { display: grid; gap: var(--space-8); }
.vbar__head { display: flex; align-items: baseline; gap: var(--space-4); flex-wrap: wrap; }
.viz--bars .vbar__value {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1; color: var(--gold); letter-spacing: -0.01em;
}
.viz--bars .vbar__note {
  font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--band-ink-muted);
}
.vbar__track {
  margin-top: var(--space-4); height: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); overflow: hidden;
}
.vbar__fill {
  display: block; height: 100%; width: var(--w); max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-deep) 0%, var(--gold) 100%);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 110ms + 80ms);
}
.reveal.is-in .vbar__fill, .vbar.is-in .vbar__fill { transform: scaleX(1); }
.viz--bars .vbar__label {
  margin-top: var(--space-4); font-size: var(--text-sm); line-height: 1.55;
  color: var(--band-ink-text); max-width: 52ch;
}

/* a figure on a different time basis never shares the bar scale */
.vaside {
  margin-top: var(--space-10); padding-top: var(--space-8);
  border-top: 1px solid var(--band-ink-border);
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(var(--space-6), 4vw, var(--space-12)); align-items: baseline;
}
.viz .vaside__value {
  font-family: var(--font-display); font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1; color: var(--gold); letter-spacing: -0.01em; white-space: nowrap;
}
.viz .vaside__unit {
  display: block; margin-top: var(--space-3); font-family: var(--font-body);
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--band-ink-muted);
}
.viz .vaside__label { font-size: var(--text-sm); line-height: 1.6; color: var(--band-ink-text); max-width: 52ch; }
@media (max-width: 560px) { .vaside { grid-template-columns: 1fr; gap: var(--space-4); } }

/* ---------- Radial dials ---------- */
.dials {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(var(--space-8), 4vw, var(--space-16));
}
.dial { text-align: center; position: relative; }
.dial svg {
  display: block; margin-inline: auto;
  width: clamp(140px, 15vw, 178px); height: auto; transform: rotate(-90deg);
}
.dial__track { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 7; }
.dial__arc {
  fill: none; stroke: var(--gold); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: var(--dash); stroke-dashoffset: var(--dash);
  transition: stroke-dashoffset 1.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 150ms + 100ms);
}
.dial.is-in .dial__arc { stroke-dashoffset: var(--off); }
.viz--dials .dial__value {
  position: absolute; top: clamp(70px, 7.5vw, 89px); left: 0; right: 0;
  transform: translateY(-50%);
  font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--band-ink-heading); line-height: 1; pointer-events: none;
}
.viz--dials .dial__label {
  margin-top: var(--space-5); font-size: var(--text-sm); line-height: 1.55;
  color: var(--band-ink-muted); max-width: 32ch; margin-inline: auto;
}

/* ---------- Line charts ---------- */
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.ax__grid { stroke: var(--color-border); stroke-width: 1; }
.ax__base { stroke: var(--color-border); stroke-width: 1; }
.ax__tick {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; fill: var(--color-text-muted);
}
.line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.line--a { stroke: var(--gold-deep); }
.line--b { stroke: var(--slate); stroke-dasharray: 5 6; }
[data-theme='dark'] .line--a { stroke: var(--gold); }
.viz--concept .line, .chart--cash .line {
  stroke-dasharray: 1400; stroke-dashoffset: 1400;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.15, 1);
}
.viz--concept .line--b { transition-duration: 1.5s; }
.reveal.is-in .line { stroke-dashoffset: 0; }
.dot { opacity: 0; transition: opacity 0.4s ease 1.5s; }
.dot--a { fill: var(--gold-deep); }
.dot--b { fill: var(--slate); }
[data-theme='dark'] .dot--a { fill: var(--gold); }
.reveal.is-in .dot { opacity: 1; }
.chart__key {
  display: flex; gap: var(--space-6); flex-wrap: wrap; margin-top: var(--space-6);
}
.key {
  font-size: var(--text-xs); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-text-muted); display: inline-flex; align-items: center; gap: var(--space-2);
}
.key::before {
  content: ''; width: 16px; height: 2px; border-radius: 2px; background: var(--gold-deep);
}
[data-theme='dark'] .key--a::before { background: var(--gold); }
.key--b::before { background: var(--slate); }
.key--n::before { background: color-mix(in srgb, var(--bronze) 55%, transparent); height: 8px; width: 8px; border-radius: 2px; }

/* weekly movement bars behind the cash line */
.wbar {
  fill: color-mix(in srgb, var(--bronze) 30%, transparent);
  transform-origin: center 168px; transform: scaleY(0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 55ms);
}
.reveal.is-in .wbar { transform: scaleY(1); }

/* ---------- Illustrative dashboard ---------- */
.dash {
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  background: var(--color-surface); overflow: hidden;
  box-shadow: 0 8px 24px rgba(11, 11, 11, 0.06);
}
.dash__bar {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}
.dash__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border); }
.dash__dot:first-child { background: color-mix(in srgb, var(--gold) 70%, transparent); }
.dash__title {
  margin-left: var(--space-4); font-size: var(--text-xs); letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-text-muted); font-weight: 600;
}
.dash__body { padding: clamp(var(--space-5), 3vw, var(--space-8)); display: grid; gap: var(--space-6); }
.dash__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.tile {
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  padding: var(--space-5); background: var(--color-bg); min-width: 0;
}
.tile__label { font-size: var(--text-sm); font-weight: 600; color: var(--color-heading); }
.tile__meta {
  margin-top: 2px; font-size: var(--text-xs); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-text-muted);
}
.tile__spark { width: 100%; height: 44px; margin-top: var(--space-4); display: block; overflow: visible; }
.spark__line {
  fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  transition: stroke-dashoffset 1.3s cubic-bezier(0.4, 0, 0.15, 1);
  transition-delay: calc(var(--i) * 140ms + 200ms);
}
[data-theme='dark'] .spark__line { stroke: var(--gold); }
.spark__area {
  fill: color-mix(in srgb, var(--gold) 13%, transparent); opacity: 0;
  transition: opacity 0.7s ease calc(var(--i) * 140ms + 700ms);
}
.reveal.is-in .spark__line { stroke-dashoffset: 0; }
.reveal.is-in .spark__area { opacity: 1; }
.dash__panel {
  align-self: start;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  padding: var(--space-5); background: var(--color-bg);
}
.dash__ptitle {
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-text-muted); font-weight: 600; margin-bottom: var(--space-4);
}
.segbar { display: flex; height: 26px; border-radius: var(--radius-sm); overflow: hidden; gap: 2px; }
.seg {
  position: relative; flex: 0 0 var(--w); transform: scaleX(0); transform-origin: left;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 110ms + 250ms);
}
.seg--0 { background: var(--ink); }
.seg--1 { background: var(--graphite); }
.seg--2 { background: var(--bronze); }
.seg--3 { background: var(--gold); }
.seg__tip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.reveal.is-in .seg { transform: scaleX(1); }
.seglegend { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-4); }
.legend {
  font-size: var(--text-xs); color: var(--color-text-muted);
  display: inline-flex; align-items: center; gap: var(--space-2);
}
.legend::before { content: ''; width: 9px; height: 9px; border-radius: 2px; }
.legend--0::before { background: var(--ink); }
.legend--1::before { background: var(--graphite); }
.legend--2::before { background: var(--bronze); }
.legend--3::before { background: var(--gold); }
[data-theme='dark'] .legend--0::before { background: #6d6d6d; }
.mrows { display: grid; gap: var(--space-4); }
.mrow { display: grid; grid-template-columns: minmax(0, 9.5rem) 1fr; gap: var(--space-4); align-items: center; }
.mrow__name { font-size: var(--text-sm); color: var(--color-text); }
.mrow__track { height: 10px; border-radius: 999px; background: var(--color-border); overflow: hidden; }
.mrow__fill {
  display: block; height: 100%; width: var(--w); border-radius: 999px;
  background: linear-gradient(90deg, var(--bronze) 0%, var(--gold) 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 100ms + 300ms);
}
.reveal.is-in .mrow__fill { transform: scaleX(1); }
@media (min-width: 900px) {
  .dash__body { grid-template-columns: 1fr 1fr; }
  .dash__tiles { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .dash__tiles { grid-template-columns: 1fr; }
  .mrow { grid-template-columns: 1fr; gap: var(--space-2); }
}

@media (prefers-reduced-motion: reduce) {
  .vbar__fill, .dial__arc, .line, .dot, .wbar, .spark__line, .spark__area,
  .seg, .mrow__fill, .step__num, .steps::before {
    transition: none !important;
  }
  .vbar__fill, .seg, .mrow__fill { transform: scaleX(1) !important; }
  .wbar { transform: scaleY(1) !important; }
  .dial__arc { stroke-dashoffset: var(--off) !important; }
  .line, .spark__line { stroke-dashoffset: 0 !important; }
  .dot, .spark__area { opacity: 1 !important; }
}

/* =========================================================
   Step rail — a gold line that draws itself down the list
   as the reader scrolls through the sequence.
   ========================================================= */
.steps { position: relative; }
@media (min-width: 621px) {
  .steps::before {
    content: ''; position: absolute; left: 0.375rem; top: var(--space-8);
    bottom: var(--space-8); width: 2px; border-radius: 2px;
    background: linear-gradient(180deg, var(--gold) 0%, color-mix(in srgb, var(--gold) 22%, transparent) 100%);
    transform: scaleY(0); transform-origin: top;
    transition: transform 1.6s cubic-bezier(0.4, 0, 0.15, 1);
  }
  .steps.is-in::before { transform: scaleY(1); }
  .step { position: relative; }
  .step__num { position: relative; padding-left: 1.875rem; }
  .step__num::before {
    content: ''; position: absolute; left: 0; top: 0.3125rem; z-index: 1;
    width: 0.875rem; height: 0.875rem; border-radius: 50%;
    background: var(--color-bg); border: 2px solid var(--gold);
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.45, 0.5, 1) calc(var(--i, 0) * 130ms + 200ms);
  }
  .section--alt .step__num::before { background: var(--color-surface-2); }
  .steps.is-in .step__num::before { transform: scale(1); }
}

/* =========================================================
   Hero lattice — a slow, living isometric grid behind the
   headline. Drawn on canvas so it costs nothing in DOM.
   ========================================================= */
.hero__grid {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%;
  opacity: 0; transition: opacity 1.6s ease 0.35s; pointer-events: none;
}
.hero__grid.is-live { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__grid { display: none; } }

/* =========================================================
   Reading progress + condensed header
   ========================================================= */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: transparent; pointer-events: none;
}
.progress__fill {
  display: block; height: 100%; width: 100%; transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
}
.header {
  transition: min-height 0.3s var(--ease-out), box-shadow 0.3s ease,
              background-color 0.3s ease;
}
.header__inner { transition: min-height 0.3s var(--ease-out); }
.header.is-condensed {
  background: color-mix(in srgb, var(--color-bg) 96%, transparent);
  box-shadow: 0 1px 20px rgba(11, 11, 11, 0.07);
}
.header.is-condensed .header__inner { min-height: 62px; }
[data-theme='dark'] .header.is-condensed { box-shadow: 0 1px 20px rgba(0, 0, 0, 0.45); }
@media (prefers-reduced-motion: reduce) {
  .header, .header__inner { transition: none; }
}

/* =========================================================
   Full-bleed section figure
   ========================================================= */
.figure-band { margin: 0; }
.figure-band img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}
.figure-band__cap {
  margin-top: var(--space-4); font-size: var(--text-xs);
  letter-spacing: 0.04em; color: var(--color-text-faint); max-width: 68ch;
}
.band-ink .figure-band__cap { color: var(--band-ink-muted); }
@media (max-width: 640px) { .figure-band img { aspect-ratio: 4 / 3; } }

/* =========================================================
   Qualification + scheduling flow
   ========================================================= */
.qflow { max-width: 44rem; margin-top: var(--space-10); }

/* progress rail */
.qsteps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4); list-style: none; padding: 0;
  margin: 0 0 var(--space-10); border-top: 1px solid var(--color-divider);
}
.qsteps__dot {
  padding-top: var(--space-4); border-top: 2px solid transparent;
  margin-top: -1px; display: flex; flex-direction: column; gap: 2px;
  transition: border-color .3s ease;
}
.qsteps__dot span {
  font-family: var(--font-display); font-size: var(--text-sm);
  color: var(--color-text-faint); font-variant-numeric: tabular-nums;
}
.qsteps__dot em {
  font-style: normal; font-size: var(--text-xs); letter-spacing: .08em;
  text-transform: uppercase; color: var(--color-text-faint);
}
.qsteps__dot.is-active { border-top-color: var(--gold); }
.qsteps__dot.is-active span, .qsteps__dot.is-active em { color: var(--color-text); }
.qsteps__dot.is-done { border-top-color: var(--gold-deep); }
.qsteps__dot.is-done span, .qsteps__dot.is-done em { color: var(--gold-deep); }

/* panels */
.qpanel { display: none; border: 0; padding: 0; margin: 0; }
.qpanel.is-active { display: block; animation: qfade .35s ease both; }
.qpanel__legend {
  font-family: var(--font-display); font-size: var(--text-lg);
  margin-bottom: var(--space-6); padding: 0;
}
@keyframes qfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .qpanel.is-active { animation: none; } }

.qform__nav {
  display: flex; gap: var(--space-4); align-items: center;
  margin-top: var(--space-8); flex-wrap: wrap;
}
.qform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform__error {
  margin-top: var(--space-5); font-size: var(--text-sm);
  color: #9a2b2b; border-left: 2px solid #9a2b2b; padding-left: var(--space-4);
}

/* field states */
.field__hint {
  margin-top: 6px; font-size: var(--text-xs); color: var(--color-text-faint);
}
.field__err { margin-top: 6px; font-size: var(--text-xs); color: #9a2b2b; min-height: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #9a2b2b;
}

/* booking */
.booking { margin-top: var(--space-12); }
.booking__frame {
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  overflow: hidden; background: var(--color-surface);
}
.booking__fallback {
  border-left: 2px solid var(--gold); padding: var(--space-5) var(--space-6);
  background: var(--color-surface-alt); font-size: var(--text-sm);
}

/* thanks */
.thanks .h-section { margin-top: var(--space-3); }

@media (max-width: 640px) {
  .qsteps { grid-template-columns: 1fr 1fr 1fr; gap: var(--space-2); }
  .qsteps__dot em { font-size: 10px; letter-spacing: .05em; }
  .qform__nav .btn { flex: 1 1 auto; }
}

/* ============================================================
   Built-in scheduler
   ============================================================ */
.sched {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
}
.sched__cal { padding: var(--space-8); border-right: 1px solid var(--color-divider); }
.sched__pane {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  min-height: 30rem;
}

.sched__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}
.sched__month {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  letter-spacing: -0.01em;
  color: var(--color-heading);
  margin: 0;
}
.sched__arrow {
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  font-size: 1.25rem; line-height: 1;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease;
}
.sched__arrow:hover:not(:disabled) { border-color: var(--color-text); background: var(--color-surface-2); }
.sched__arrow:disabled { opacity: .3; cursor: default; }

.sched__dow,
.sched__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.sched__dow {
  margin-bottom: var(--space-2);
}
.sched__dow span {
  text-align: center;
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  padding-bottom: var(--space-2);
}
.sched__dow span.is-off { color: var(--color-text-faint); opacity: .45; }

.sched__pad { display: block; }
.sched__day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
  background: var(--color-surface-2);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.sched__day:hover:not(:disabled) { border-color: var(--accent-on-surface); background: var(--color-surface); }
.sched__day.is-off {
  background: transparent;
  color: var(--color-text-faint);
  opacity: .35;
  cursor: default;
}
.sched__day.is-sel,
.sched__day.is-sel:hover {
  background: var(--color-text);
  color: var(--color-bg);
  border-color: var(--color-text);
  font-weight: 600;
}

.sched__tz {
  margin: var(--space-6) 0 0;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.sched__paneday {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-heading);
  margin: 0;
}
.sched__panemeta {
  margin: var(--space-2) 0 var(--space-6);
  font-size: var(--text-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.sched__slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: var(--space-2);
  align-content: start;
}
.sched__slot {
  padding: .75rem .5rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.sched__slot:hover {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-bg);
}

.sched__confirm {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1;
  padding: var(--space-4) 0;
}
.sched__clabel {
  font-size: var(--text-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-on-surface);
  margin: 0 0 var(--space-4);
}
.sched__ctime {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--color-heading);
  margin: 0;
}
.sched__cdate {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin: var(--space-2) 0 0;
}
.sched__cmeta {
  font-size: var(--text-xs);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin: var(--space-3) 0 var(--space-7);
}
.sched__cgo { align-self: stretch; text-align: center; }
.sched__cback {
  margin-top: var(--space-4);
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-faint);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.sched__cback:hover { color: var(--color-text); border-color: var(--color-text); }

.sched--done { grid-template-columns: 1fr; }
.sched__done { padding: var(--space-12) var(--space-8); max-width: 34rem; }
.sched__done .sched__ctime { margin-top: var(--space-3); }
.sched__done .body { margin-top: var(--space-6); }

@media (max-width: 800px) {
  .sched { grid-template-columns: 1fr; }
  .sched__cal { border-right: 0; border-bottom: 1px solid var(--color-divider); }
  .sched__pane { min-height: 0; }
}

.booking__frame > .sched { border: 0; border-radius: 0; }

/* Verified external profile links in the founder hero */
.profile-social { margin-top: var(--space-4); }
.profile-social a {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--gold); text-decoration: none;
  font-size: var(--text-xs); letter-spacing: 0.06em; text-transform: uppercase;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.profile-social a:hover { border-bottom-color: var(--gold); }

/* Contextual links inside running copy. Readable, not loud: the underline
   carries the affordance so the sentence still reads as a sentence. */
.inline-link {
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  padding-bottom: 1px;
  transition: background-size 0.2s ease, color 0.2s ease;
}
.inline-link:hover,
.inline-link:focus-visible {
  color: var(--color-heading);
  background-size: 100% 2px;
}

/* =========================================================
   Homepage hero: two columns from tablet up
   ========================================================= */
.hero__copy { max-width: 52rem; }

.hero__figure {
  margin: var(--space-10) 0 0;
  position: relative;
}
.hero__figure img {
  display: block;
  width: 100%;
  height: auto;
  /* Already shot low key, so no correction is needed. The edges are feathered
     so the frame dissolves into the ink rather than sitting in a hard box. */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 13%, #000 94%, transparent 100%),
    linear-gradient(to top, transparent 0%, #000 22%),
    linear-gradient(to bottom, transparent 0%, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 13%, #000 94%, transparent 100%),
    linear-gradient(to top, transparent 0%, #000 22%),
    linear-gradient(to bottom, transparent 0%, #000 16%);
  mask-composite: intersect;
}
@media (min-width: 62rem) {
  .hero__inner {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(19rem, 31vw, 27rem);
    gap: clamp(var(--space-8), 4vw, var(--space-12));
    align-items: center;
  }
  .hero__copy { max-width: 44rem; }
  .hero__figure { margin: 0; }
  /* Slightly smaller display size: the headline now lives in a narrower column. */
  .hero .h-hero { font-size: clamp(var(--text-2xl), 4.4vw, var(--text-3xl)); }
}

@media (max-width: 61.999rem) {
  /* Six lines of display serif pushes everything below the fold on a phone. */
  .hero .h-hero { font-size: clamp(2rem, 8.4vw, var(--text-3xl)); }
}

/* The .btn display rule is an author style, so it beat the user agent's
   [hidden] rule and every .btn stayed on screen regardless of the attribute.
   That is why Continue survived onto the final step of the scheduler. */
[hidden] { display: none !important; }

/* =========================================================
   Homepage hero: fit the whole promise above the fold
   ---------------------------------------------------------
   The sticky header is 77px. A 14" MacBook Pro leaves roughly
   840px of usable viewport once browser chrome is subtracted,
   so the old 168px top pad plus a 66px headline pushed the
   note and the bottom of the vault below the fold.
   ========================================================= */
@media (min-width: 62rem) {
  /* Pad by viewport HEIGHT, not width. A wide-but-short window was getting
     ~110px of dead space above the eyebrow because the old rule keyed off vw. */
  .hero__inner {
    padding-block: clamp(var(--space-10), 5.5vh, 5.5rem) clamp(var(--space-10), 5vh, var(--space-16));
  }
}

@media (min-width: 62rem) and (max-height: 940px) {
  .hero__inner { padding-block: var(--space-10) var(--space-12); }
  .hero .h-hero { font-size: clamp(1.75rem, 4vw, 3.75rem); }
  .hero .lead { margin-top: var(--space-5) !important; }
  .hero__note { margin-top: var(--space-6); padding-top: var(--space-4); }
  .hero__figure img { max-height: 34rem; width: auto; margin-inline: auto; }
}

@media (min-width: 62rem) and (max-height: 820px) {
  .hero__inner { padding-block: var(--space-8) var(--space-10); }
  .hero .h-hero { font-size: clamp(1.75rem, 3.5vw, 3.25rem); }
  .hero__figure img { max-height: 29rem; }
}

/* =========================================================
   Engagement offers, phases, two-column lists
   ========================================================= */
.doors-head { text-align: center; }
.doors-head > .reveal { margin-inline: auto; }
.doors-head .eyebrow { justify-content: center; }
.doors-head .lead { margin-inline: auto; }

/* Engagement cards. Left-aligned editorial tiers: metadata first, then the
   name, then the read. Cards sit on a lifted surface so they hold the page in
   both themes instead of dissolving into the band. */
.doors {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5); margin-top: var(--space-12); align-items: stretch;
  --door-bg: #ffffff;
  --door-border: var(--color-border);
  --door-lift: 0 1px 2px rgba(11, 11, 11, 0.04), 0 18px 40px -28px rgba(11, 11, 11, 0.4);
}
[data-theme='dark'] .doors {
  --door-bg: #2a2925;
  --door-border: #45443c;
  --door-lift: 0 18px 44px -30px rgba(0, 0, 0, 0.9);
}
.door {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  background: var(--door-bg); border: 1px solid var(--door-border);
  border-radius: var(--radius-md);
  padding: var(--space-10) var(--space-8) var(--space-8);
  box-shadow: var(--door-lift);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}
/* Gold hairline that ignites across the top edge on hover. */
.door::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), transparent 70%);
  opacity: 0.7; transition: opacity 0.4s ease, background 0.4s ease;
}
.door:hover {
  transform: translateY(-6px); border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  box-shadow: 0 1px 2px rgba(11, 11, 11, 0.05), 0 30px 60px -32px rgba(11, 11, 11, 0.55);
}
.door:hover::before { opacity: 1; background: linear-gradient(90deg, var(--gold), transparent 90%); }
@media (prefers-reduced-motion: reduce) { .door, .door:hover { transform: none; } }

/* Flagship engagement. True black in light mode, gold-lit in dark. */
.door--ink {
  background: var(--ink); border-color: #33302a; color: var(--ivory);
  box-shadow: 0 1px 2px rgba(11, 11, 11, 0.06), 0 22px 50px -28px rgba(11, 11, 11, 0.6);
}
[data-theme='dark'] .door--ink { background: #131210; border-color: #55492f; }
[data-theme='dark'] .door::before { background: linear-gradient(90deg, var(--gold), transparent 72%); opacity: 0.75; }
.door--ink::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 100% 0%, rgba(255, 199, 0, 0.13), transparent 62%);
}
.door--ink::before { background: linear-gradient(90deg, var(--gold), transparent 70%); opacity: 0.9; }
.door--ink:hover { border-color: color-mix(in srgb, var(--gold) 70%, transparent); }

/* Duration is the hard fact in the card, so it leads instead of hiding. */
.door__dur {
  order: -1; display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--color-text-faint);
}
.door__dur::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold-deep); flex: none;
}
.door--ink .door__dur { color: rgba(250, 248, 244, 0.68); }
.door--ink .door__dur::before { background: var(--gold); }

.door__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.1875rem, 1rem + 0.55vw, 1.4375rem);
  line-height: 1.16; letter-spacing: -0.018em; hyphens: none;
  margin-top: var(--space-4); min-height: 2.32em;
}
.door--ink .door__title { color: var(--gold); }

.door__rule {
  display: block; width: 44px; height: 2px; background: var(--gold-deep);
  margin: var(--space-6) 0 0;
}
.door--ink .door__rule { background: var(--gold); }

.door__body {
  margin-top: var(--space-6); font-size: var(--text-sm); line-height: 1.7;
  color: var(--color-text-muted); max-width: none;
}
.door--ink .door__body { color: rgba(250, 248, 244, 0.8); }

.door__list {
  width: 100%; margin-top: var(--space-8); padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider); list-style: none;
  display: grid; gap: var(--space-3); text-align: left;
}
.door--ink .door__list { border-top-color: rgba(250, 248, 244, 0.18); }
.door__list li {
  position: relative; padding-left: var(--space-5);
  font-size: var(--text-xs); line-height: 1.55; color: var(--color-text-faint);
}
.door--ink .door__list li { color: rgba(250, 248, 244, 0.7); }
.door__list li::before {
  content: ''; position: absolute; left: 0; top: 0.5em;
  width: 10px; height: 1px; background: var(--gold-deep);
}
.door--ink .door__list li::before { background: var(--gold); }

.door__link {
  margin-top: auto; padding-top: var(--space-8);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-on-surface);
  display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.door__link span { transition: transform 0.3s ease; }
.door:hover .door__link span { transform: translateX(4px); }
.door--ink .door__link { color: var(--gold); }

.door__note {
  margin-top: var(--space-8); padding-top: var(--space-5);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs); line-height: 1.7; color: var(--color-text-faint);
  text-align: center; max-width: none; width: 100%;
}
.band-ink .door__note, [data-theme='dark'] .door__note { border-top-color: var(--color-border); }

@media (max-width: 1100px) { .doors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .doors { grid-template-columns: 1fr; }
  .door__title { min-height: 0; }
}
@media (max-width: 1100px) { .doors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .doors { grid-template-columns: 1fr; }
  .door { padding: var(--space-8) var(--space-6); }
}

.phases {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5); margin-top: var(--space-12);
}
.phase {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-7) var(--space-6);
}
.phase__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--space-4); padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-divider);
}
.phase__head .eyebrow { margin: 0; }
.phase__weeks {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.06em;
  color: var(--color-text-faint); white-space: nowrap;
}
.phase__title {
  margin-top: var(--space-4); font-family: var(--font-body);
  font-weight: 600; font-size: var(--text-base); letter-spacing: -0.005em;
}
.phase__list { margin-top: var(--space-4); list-style: none; display: grid; gap: var(--space-3); }
.phase__list li {
  position: relative; padding-left: var(--space-5);
  font-size: var(--text-sm); line-height: 1.55; color: var(--color-text-muted);
}
.phase__list li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 10px; height: 1px; background: var(--gold-deep);
}
@media (max-width: 820px) { .phases { grid-template-columns: 1fr; } }

.twocol {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--space-5); margin-top: var(--space-12);
}
.twocol__col {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: var(--space-7) var(--space-6);
}
.twocol__title {
  font-family: var(--font-body); font-weight: 600; font-size: var(--text-base);
  padding-bottom: var(--space-4); border-bottom: 1px solid var(--color-divider);
}
.twocol__list { margin-top: var(--space-5); list-style: none; display: grid; gap: var(--space-4); }
.twocol__list li {
  position: relative; padding-left: var(--space-5);
  font-size: var(--text-sm); line-height: 1.55; color: var(--color-text-muted);
}
.twocol__list li::before {
  content: ''; position: absolute; left: 0; top: 0.6em;
  width: 10px; height: 1px; background: var(--gold-deep);
}
@media (max-width: 820px) { .twocol { grid-template-columns: 1fr; } }

/* Mirrored split imagery: flips the subject so she faces into the copy. */
.split__media--flip img { transform: scaleX(-1); }

/* =========================================================
   Call bar — tracked phone above the contact form
   ========================================================= */
.callbar {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-2) var(--space-4);
  margin-bottom: var(--space-6); padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  max-width: none; width: 100%;
}
.callbar__label { font-size: var(--text-sm); color: var(--color-text-muted); }
.callbar__num {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 0.8vw, 1.75rem);
  line-height: 1.1; letter-spacing: 0.005em;
  color: var(--color-text); text-decoration: none;
  border-bottom: 2px solid var(--gold-deep);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.callbar__num:hover { color: var(--gold-deep); border-bottom-color: var(--gold); }
