/* AntarDeep — "the lamp within"
   Layout concept: a navy night with one warm glow. Each page opens in a navy band lit
   from the centre, then steps into calm paper sections; gold is reserved for light itself
   (the movements, key words, calls to action). */
:root {
  --paper: #FAF7F1;
  --surface: #FFFFFF;
  --sunk: #F2ECE1;
  --ink: #1C2232;
  --muted: #5A5F6E;
  --line: rgba(28, 34, 50, 0.12);
  --gold: #E8A33D;
  --gold-text: #8F5410;
  --glow: rgba(232, 163, 61, 0.28);
  --band: #FDF4E1;
  --band-2: #FFFFFF;
  --band-wash: radial-gradient(120% 90% at 50% 0%, #FFF9EC 0%, #FCEFD3 55%, #F8E6C2 100%);
  --band-glow: rgba(244, 170, 40, 0.42);
  --band-glow-2: rgba(255, 214, 120, 0.20);
  --band-accent: #8F5410;
  --band-line: rgba(28, 34, 50, 0.12);
  --on-band: #1C2232;
  --on-band-muted: #5A5F6E;
  --footer-bg: #1C2232;
  --ad-figure: #1C2232;
  --ad-heart-ring: #FFF9EC;
  --ad-arc-a: #EDCB8E;
  --ad-arc-b: #B98A47;

  --display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --body: "Mukta", "Segoe UI", system-ui, -apple-system, sans-serif;
  --deva: "Tiro Devanagari Hindi", "Mukta", "Noto Serif Devanagari", serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 3.9rem);
  --step-5: clamp(3rem, 1.8rem + 5.5vw, 5.4rem);

  --wrap: 1140px;
  --radius: 14px;
  color-scheme: light;
}
/* AntarDeep commits to one light look on every device; there is no dark variant. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; margin: 0; text-wrap: balance; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.sunk { background: var(--sunk); }

.eyebrow {
  font-family: var(--body); font-size: var(--step--1); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text);
}
.band .eyebrow { color: var(--band-accent); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 62ch; }
.prose { max-width: 66ch; display: grid; gap: 1.1em; }
.prose p { color: var(--ink); }
.muted { color: var(--muted); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.section-head h2 { font-size: var(--step-3); }
.gold { color: var(--gold-text); }
.band .gold { color: var(--band-accent); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .wordmark { font-size: 1.45rem; }
.wordmark { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; line-height: 1; }
.wordmark b { font-weight: 700; color: var(--gold-text); }
.band .wordmark b { color: var(--band-accent); }
.only-dark { display: none !important; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--sunk); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--gold); border-radius: 2px; margin-top: 2px; }
.nav .btn { margin-left: 8px; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px;
  width: 44px; height: 40px; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: "";
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px));
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; border-radius: 10px; }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { background: var(--sunk); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; border: 1px solid transparent;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-gold { background: var(--gold); color: #1C2232; }
.btn-gold:hover { box-shadow: 0 0 0 6px var(--glow); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(232, 163, 61, 0.12); }
.nav .btn { padding: 11px 18px; color: #1C2232; }
.nav .btn:hover { background: var(--gold); color: #1C2232; }
.btn svg { width: 16px; height: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { color: var(--gold-text); font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.band .text-link { color: var(--band-accent); }

/* ---------- navy bands ---------- */
.band { background: var(--band-wash); color: var(--on-band); position: relative; overflow: hidden; isolation: isolate; }
.band .lead, .band .muted { color: var(--on-band-muted); }
.band::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 46%; width: min(980px, 140vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, var(--band-glow), var(--band-glow-2) 50%, transparent 74%);
  pointer-events: none;
}
.band.glow-left::before { left: 18%; }

/* ---------- logo mark (inline SVG) ---------- */
.mark-svg svg { width: 100%; height: auto; display: block; overflow: visible; }
.brand .mark-svg { width: 64px; flex: none; }
.site-footer .brand .mark-svg { width: 76px; }

/* ---------- home hero ---------- */
/* phones: stacked and centred, logo first */
.hero { padding-block: 24px 40px; text-align: center; }
.hero .wrap { display: grid; justify-items: center; gap: 12px; }
.hero-copy { display: grid; justify-items: center; gap: 12px; }
.hero-mark { width: min(250px, 62vw); }
.hero h1.wordmark { font-size: clamp(2.8rem, 2rem + 4vw, 4.4rem); }
/* laptops and desktops: copy left, logo right, everything on the first screen */
@media (min-width: 900px) {
  .hero { padding-block: clamp(40px, 6vh, 72px); text-align: left; }
  .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; justify-items: stretch; gap: clamp(32px, 5vw, 72px); }
  .hero-mark { order: 2; width: 100%; max-width: 500px; justify-self: center; }
  .hero-copy { justify-items: start; gap: 14px; }
  .hero .hero-copy .lead, .hero .hero-copy .actions { text-align: left; margin-inline: 0; justify-content: flex-start; }
  .band.hero::before { left: 72%; top: 50%; }
}
.hero .tagline { font-family: var(--display); font-style: italic; font-size: var(--step-2); color: var(--on-band); opacity: .85; }
.hero .lead { margin-inline: auto; text-align: center; }
.hero .actions { justify-content: center; margin-top: 6px; }
.me-we { font-family: var(--display); font-weight: 600; color: var(--band-accent); font-size: var(--step-1); }

@media (prefers-reduced-motion: no-preference) {
  .hero-mark { animation: kindle 1.6s ease-out both; }
  .band::before { animation: breathe 9s ease-in-out infinite; }
  @keyframes kindle { from { filter: brightness(.75) saturate(.6); transform: translateY(6px); } to { filter: none; transform: none; } }
  @keyframes breathe { 0%,100% { opacity: .85; } 50% { opacity: 1; } }
}

/* ---------- name meaning strip ---------- */
.meaning { border-bottom: 1px solid var(--line); }
.meaning .wrap { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(36px, 5vw, 56px); }
.meaning .deva { font-family: var(--deva); font-size: clamp(2.4rem, 1.6rem + 3vw, 3.6rem); line-height: 1.2; color: var(--gold-text); }
.meaning .gloss { display: grid; gap: 8px; }
.meaning .gloss p:first-child { font-family: var(--display); font-size: var(--step-2); line-height: 1.3; }
.meaning dfn { font-style: normal; font-weight: 700; }
@media (max-width: 640px) { .meaning .wrap { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- journey path (3 movements) ---------- */
.path-line {
  font-family: var(--display); font-size: var(--step-1); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; color: var(--muted);
}
.path-line .arrow { color: var(--gold-text); }
.movements { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: mv; }
.movement {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px 26px; display: grid; gap: 14px; align-content: start; position: relative;
}
.movement .mv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mv-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, var(--glow), transparent 70%); color: var(--gold-text); }
.mv-icon svg { width: 30px; height: 30px; }
.mv-meta { font-size: var(--step--1); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: right; }
.movement h3 { font-size: var(--step-2); }
.movement .tagline { font-family: var(--display); font-style: italic; color: var(--gold-text); font-size: var(--step-1); margin-top: -6px; }
.movement .emerges { border-top: 1px dashed var(--line); padding-top: 14px; font-size: .98rem; }
.movement .emerges strong { display: block; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.movements .movement:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 50px; width: 12px; height: 12px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold); transform: rotate(45deg); z-index: 2;
}
@media (max-width: 900px) {
  .movements { grid-template-columns: 1fr; }
  .movements .movement:not(:last-child)::after { right: auto; left: 44px; top: auto; bottom: -15px; transform: rotate(135deg); }
}

/* ---------- audiences ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px); }
.audience { display: grid; gap: 10px; align-content: start; border-top: 2px solid var(--gold); padding-top: 20px; }
.audience h3 { font-size: var(--step-1); font-family: var(--display); }
.audience p { color: var(--muted); }
@media (max-width: 860px) { .audiences { grid-template-columns: 1fr; } }
.people-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(28px, 4vw, 44px); }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 6px 14px; border-radius: 999px; font-size: .95rem; }

/* ---------- reasons list ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.reasons { list-style: none; padding: 0; margin: 0; display: grid; }
.reasons li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.reasons li:first-child { border-top: 1px solid var(--line); }
.reasons .star { color: var(--gold-text); margin-top: 4px; }
.reasons .star svg { width: 18px; height: 18px; }
.reasons strong { font-family: var(--display); font-size: var(--step-1); font-weight: 600; display: block; line-height: 1.3; }
.reasons span.d { color: var(--muted); }
.band .reasons li { border-color: var(--band-line); }
.band .reasons .star { color: var(--band-accent); }

/* ---------- quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); }
.quote { margin: 0; display: grid; gap: 14px; }
.quote blockquote { margin: 0; font-family: var(--display); font-size: var(--step-3); line-height: 1.25; font-weight: 500; }
.quote blockquote::before { content: "\201C"; color: var(--gold); display: block; font-size: 3.4rem; line-height: .6; margin-bottom: 8px; }
.quote figcaption { color: var(--on-band-muted); font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- offerings ---------- */
.offerings { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.offering { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.offering h3 { font-size: var(--step-1); }
.offering p { color: var(--muted); }

/* ---------- vision / principles ---------- */
.vision { text-align: center; }
.vision .wrap { display: grid; gap: 22px; justify-items: center; }
.vision .big { font-family: var(--display); font-size: var(--step-4); font-weight: 600; }
.vision .lead { text-align: center; margin-inline: auto; }
.principles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: 100%; margin-top: 24px; }
.principle { padding: 24px 18px; border-radius: var(--radius); background: var(--band-2); border: 1px solid var(--band-line); display: grid; gap: 6px; }
.principle .name { font-family: var(--display); font-size: var(--step-2); color: var(--band-accent); font-weight: 600; }
.principle .phrase { color: var(--on-band-muted); }
@media (max-width: 860px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .principles { grid-template-columns: 1fr; } }

/* ---------- founder teaser ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.founder-card {
  background: var(--band-wash); border: 1px solid var(--band-line); color: var(--on-band); border-radius: 20px; padding: 36px 30px; display: grid; gap: 18px;
  position: relative; overflow: hidden; isolation: isolate; text-align: center; justify-items: center;
}
.founder-card::before { content: ""; position: absolute; inset: -30%; z-index: -1; background: radial-gradient(closest-side, var(--band-glow), transparent 70%); }
.founder-photo { width: min(240px, 70%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 4px solid var(--surface); box-shadow: 0 0 0 2px var(--gold), 0 0 60px 6px var(--band-glow); }
.founder-card .nm { font-family: var(--display); font-size: var(--step-2); font-weight: 600; line-height: 1.2; }
.founder-card .rl { color: var(--on-band-muted); font-size: .95rem; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta .wrap { display: grid; gap: 22px; justify-items: center; text-align: center; }
.cta h2 { font-size: var(--step-4); }
.cta .lead { text-align: center; }

/* ---------- inner page hero ---------- */
.page-hero { padding-block: clamp(32px, 5vh, 60px); }
.page-hero .wrap { display: grid; gap: 14px; }
.page-hero h1 { font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.3rem); max-width: 22ch; }
.page-hero .lead { max-width: 60ch; }

/* ---------- journey page ---------- */
.rhythm { display: grid; gap: 12px; margin-top: 8px; }
.rhythm-track { display: grid; grid-template-columns: 1fr 4fr 1fr 8fr 1fr 8fr; gap: 4px; min-width: 640px; }
.rhythm-scroll { overflow-x: auto; padding-bottom: 6px; }
.seg { border-radius: 8px; padding: 10px; font-size: .86rem; line-height: 1.25; min-height: 52px; display: grid; align-content: center; }
.seg.ws { background: var(--gold); color: #1C2232; font-weight: 700; text-align: center; }
.seg.pr { background: repeating-linear-gradient(-45deg, rgba(232,163,61,.18) 0 8px, rgba(232,163,61,.07) 8px 16px); color: var(--on-band); border: 1px dashed rgba(200,130,30,.55); }
.seg.pr b { color: var(--band-accent); display: block; }
.rhythm-legend { display: flex; gap: 20px; flex-wrap: wrap; color: var(--on-band-muted); font-size: .92rem; }
.rhythm-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 6px; }
.rhythm-legend .k-ws { background: var(--gold); }
.rhythm-legend .k-pr { border: 1px dashed rgba(232,163,61,.7); background: rgba(232,163,61,.12); }

.mv-detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); }
.mv-detail:first-of-type { border-top: 0; }
.mv-detail .side { display: grid; gap: 12px; align-content: start; position: sticky; top: 100px; }
.mv-detail .side .mv-icon { width: 64px; height: 64px; }
.mv-detail .side .mv-icon svg { width: 38px; height: 38px; }
.mv-detail h2 { font-size: var(--step-4); }
.mv-detail .tagline { font-family: var(--display); font-style: italic; color: var(--gold-text); font-size: var(--step-2); }
.mv-detail .when { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 8px; align-content: start; }
.fact.wide { grid-column: 1 / -1; }
.fact h3 { font-family: var(--body); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact p, .fact li { font-size: 1.02rem; }
.fact ul { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.fact ul li::marker { color: var(--gold-text); }
.fact.signs { background: var(--band-wash); color: var(--on-band); border-color: transparent; }
.fact.signs h3 { color: var(--band-accent); }
.fact.signs p { font-family: var(--display); font-size: var(--step-1); line-height: 1.35; }
@media (max-width: 860px) { .mv-detail { grid-template-columns: 1fr; } .mv-detail .side { position: static; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.result-line { font-family: var(--display); font-size: var(--step-3); text-align: center; max-width: 24ch; margin-inline: auto; line-height: 1.25; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.grid { width: 100%; border-collapse: collapse; min-width: 680px; }
table.grid th, table.grid td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); }
table.grid tr:last-child td { border-bottom: 0; }
table.grid thead th { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--sunk); }
table.grid tbody th { font-family: var(--display); font-size: var(--step-1); font-weight: 600; width: 22%; }
table.grid td { color: var(--ink); }
table.grid .col-deep { color: var(--gold-text); }

.hold { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hold .stat { background: var(--band-2); border: 1px solid var(--band-line); border-radius: var(--radius); padding: 22px; display: grid; gap: 4px; align-content: start; }
.hold .stat .v { font-family: var(--display); font-size: var(--step-3); color: var(--band-accent); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.hold .stat .l { color: var(--on-band-muted); }
@media (max-width: 860px) { .hold { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .hold { grid-template-columns: 1fr; } }
.scale { display: flex; gap: 8px; margin-top: 6px; }
.scale span { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(200,130,30,.6); background: var(--band-2); display: grid; place-items: center; font-weight: 700; color: var(--on-band); font-variant-numeric: tabular-nums; }
.scale span:last-child { background: var(--gold); color: #1C2232; border-color: var(--gold); }

/* ---------- about page ---------- */
.about-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-hero h1 { font-size: clamp(2.6rem, 1.6rem + 3vw, 4rem); max-width: none; }
.about-hero .roles { display: flex; flex-wrap: wrap; gap: 8px; }
.about-hero .roles span { background: var(--band-2); border: 1px solid var(--band-line); padding: 6px 14px; border-radius: 999px; font-size: .95rem; }
.portrait { margin: 0; position: relative; width: 100%; max-width: min(380px, calc((100vh - 150px) * 0.8)); min-width: 260px; justify-self: end; isolation: isolate; }
.portrait::before { content: ""; position: absolute; inset: -14%; z-index: -1; background: radial-gradient(closest-side, var(--band-glow), transparent 75%); }
.portrait img.photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 30%; border-radius: 22px; box-shadow: 0 24px 60px -28px rgba(120, 72, 10, 0.45); }
.portrait .years { position: absolute; left: -18px; bottom: 26px; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--band-line); border-radius: 14px; padding: 12px 18px; box-shadow: 0 12px 30px -16px rgba(28, 34, 50, 0.35); }
.portrait .years b { font-family: var(--display); font-size: var(--step-3); color: var(--band-accent); line-height: 1; font-variant-numeric: tabular-nums; }
.portrait .years span { color: var(--on-band-muted); }
@media (max-width: 860px) { .about-hero .wrap { grid-template-columns: 1fr; } .portrait { justify-self: center; max-width: 340px; min-width: 0; } .portrait .years { left: 12px; bottom: 12px; } }

.pull { font-family: var(--display); font-size: var(--step-3); line-height: 1.25; border-left: 3px solid var(--gold); padding-left: clamp(18px, 3vw, 32px); max-width: 30ch; margin: 0; font-weight: 500; }
.pull cite { display: block; font-family: var(--body); font-style: normal; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 14px; font-weight: 600; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.timeline li:first-child { border-top: 1px solid var(--line); }
.timeline .yr { font-family: var(--display); font-size: var(--step-1); color: var(--gold-text); font-weight: 600; font-variant-numeric: tabular-nums; }
.timeline .role { font-family: var(--display); font-size: var(--step-1); font-weight: 600; line-height: 1.3; }
.timeline .org { color: var(--muted); }
@media (max-width: 520px) { .timeline li { grid-template-columns: 1fr; gap: 4px; } }

.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.work { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.work h3 { font-size: var(--step-1); }
.work p { color: var(--muted); }

.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 64px); }
.creds ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.creds li { padding-block: 14px; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.creds li b { font-weight: 600; }
.creds li span { color: var(--muted); font-size: .96rem; }
.creds h3 { font-family: var(--body); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
@media (max-width: 760px) { .creds { grid-template-columns: 1fr; } }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.channels { display: grid; gap: 14px; }
.channel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.channel .ic { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 72%); display: grid; place-items: center; color: var(--gold-text); }
.channel .ic svg { width: 22px; height: 22px; }
.channel .k { font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.channel .v { font-family: var(--display); font-size: var(--step-1); font-weight: 600; overflow-wrap: anywhere; user-select: all; }
.channel .v a { text-decoration: none; display: inline-block; padding-block: 4px; }
.channel .v a:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy { font: inherit; font-size: .9rem; font-weight: 600; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.copy:hover { border-color: var(--gold); }
@media (max-width: 480px) { .channel { grid-template-columns: 40px minmax(0, 1fr); } .channel .copy { grid-column: 2; justify-self: start; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: st; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; counter-increment: st; }
.steps li::before { content: counter(st); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--band-accent); color: var(--band-accent); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.steps b { font-family: var(--display); font-size: var(--step-1); font-weight: 600; display: block; line-height: 1.3; }
.steps span { color: var(--on-band-muted); }
.who-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.who-list div { border-top: 2px solid var(--gold); padding-top: 14px; display: grid; gap: 4px; }
.who-list b { font-family: var(--display); font-size: var(--step-1); font-weight: 600; }
.who-list span { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer {
  --on-band: #F6EFE2; --on-band-muted: #B9BCC8; --band-accent: #EDB052; --band-line: rgba(246,239,226,.12);
  --ad-figure: #F6EFE2; --ad-heart-ring: #1C2232; --ad-arc-a: #F5DFBB; --ad-arc-b: #C6A066;
  background: var(--footer-bg); color: var(--on-band); padding-block: 56px 32px; }
.site-footer .top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: 32px; }
.site-footer .brand .wordmark { font-size: 1.7rem; }
.site-footer .tag { font-family: var(--display); font-style: italic; color: var(--on-band-muted); margin-top: 10px; }
.site-footer .fh { font-family: var(--body); font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--band-accent); font-weight: 600; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer a { text-decoration: none; color: var(--on-band-muted); }
.site-footer ul a { display: inline-block; padding-block: 5px; }
.site-footer a:hover { color: var(--on-band); }
.site-footer .bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--band-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--on-band-muted); font-size: .92rem; }
@media (max-width: 760px) { .site-footer .top { grid-template-columns: 1fr 1fr; } .site-footer .top > :first-child { grid-column: 1 / -1; } }

.founder-card .eyebrow, .founder-card .wordmark b { color: var(--band-accent); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #1C2232; padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.skip:focus { left: 16px; }

/* wordmark gold: the brand's saffron, kept bright for the logotype */
:root { --wordmark-gold: #DE921F; }
.wordmark b, .band .wordmark b { color: var(--wordmark-gold); }
.site-footer .wordmark b { color: #EDB052; }

/* scroll containers are keyboard-focusable so tables can be scrolled without a mouse */
.table-scroll:focus-visible, .rhythm-scroll:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 4px; }
.scroll-hint { display: none; font-size: var(--step--1); color: var(--muted); margin-top: 10px; }
@media (max-width: 720px) { .scroll-hint { display: block; } }
/* the logotype keeps the brand saffron; logos are exempt from text-contrast rules */

/* ---------- phones: journey rhythm stacks, tables become cards ---------- */
@media (max-width: 720px) {
  .rhythm-scroll { overflow: visible; padding-bottom: 0; }
  .rhythm-track { min-width: 0; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 6px; }
  .seg { min-height: 56px; }
  .table-scroll { overflow: visible; border: 0; background: transparent; border-radius: 0; }
  table.grid { min-width: 0; }
  table.grid thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  table.grid, table.grid tbody, table.grid tr, table.grid th, table.grid td { display: block; width: auto; }
  table.grid tbody { display: grid; gap: 14px; }
  table.grid tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 6px; }
  table.grid tbody th { padding: 0 0 10px; border: 0; width: auto; }
  table.grid td { padding: 10px 0 12px; border: 0; border-top: 1px dashed var(--line); }
  table.grid td::before { content: attr(data-label); display: block; font-size: var(--step--1); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
  .scroll-hint { display: none !important; }
}

/* ---------- "more below" cue on inner pages ---------- */
.section.after-hero { padding-top: 0; }
.after-hero .mv-detail:first-of-type { padding-top: clamp(28px, 4vw, 48px); }
.after-hero > .wrap.split { padding-top: clamp(28px, 4vw, 52px); }
.cue-wrap { display: flex; justify-content: center; margin-top: -22px; position: relative; z-index: 2;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.scroll-cue {
  display: inline-flex; align-items: center; flex-wrap: wrap; justify-content: center; gap: 4px 6px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--band-line); border-radius: 999px;
  padding: 6px 8px; box-shadow: 0 10px 28px -14px rgba(120, 72, 10, 0.45);
  font-weight: 600; font-size: .95rem; text-decoration: none; min-height: 44px;
}
a.scroll-cue { padding: 10px 20px; gap: 8px; }
.scroll-cue svg { width: 15px; height: 15px; color: var(--gold-text); }
.scroll-cue .cue-label { display: inline-flex; align-items: center; gap: 6px; padding: 0 8px 0 12px; color: var(--muted); font-weight: 600; }
.scroll-cue.jump a { text-decoration: none; padding: 7px 14px; border-radius: 999px; color: var(--ink); }
.scroll-cue.jump a:hover, a.scroll-cue:hover { background: var(--sunk); }
a.scroll-cue:hover { border-color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .scroll-cue svg { animation: cue-nudge 2.4s ease-in-out infinite; }
  @keyframes cue-nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(3px); } }
}
@media (max-width: 560px) { .scroll-cue .cue-label { width: 100%; justify-content: center; padding: 4px 0 0; } .scroll-cue.jump { border-radius: 22px; } }
/* anchored sections clear the sticky header */
[id] { scroll-margin-top: 84px; }
