/* DhiAI Academy — site styles
   Built on Brand Guidelines v1.0 (Midnight & Brass). Dark-first; ivory sections for long reading.
   Colour ratio target: 60 Midnight · 25 Ivory/White · 10 Brass · 5 Insight Blue. */

@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope-macron-wght.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-0101, U+012A-012B; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-macron-wght.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-0101, U+012A-012B; }
@font-face { font-family: "Noto Sans Devanagari"; src: url("../assets/fonts/noto-sans-devanagari-dhi-600.woff2") format("woff2"); font-weight: 500 700; font-display: swap; unicode-range: U+0900-097F; }
@font-face { font-family: "JetBrains Mono"; src: url("../assets/fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --midnight-900: #0B1426; --midnight-800: #111D35; --midnight-700: #1A2947; --midnight-500: #33466E;
  --brass-400: #C9A35E; --brass-300: #DDC08A; --brass-600: #86632A; --brass-700: #6B4E1F;
  --insight-400: #8FA8FF; --insight-300: #A9BCFF; --insight-600: #3D5BD9;
  --ivory-50: #F7F3EB; --ivory-100: #EFE8DA;
  --slate-200: #D8DCE5; --slate-400: #8B95A9; --slate-500: #6B7590; --slate-600: #5A647A;

  /* dark theme (default) */
  --bg: var(--midnight-900); --bg-raised: var(--midnight-800); --bg-card: var(--midnight-700);
  --ink: var(--ivory-50); --ink-muted: var(--slate-400); --line: var(--midnight-500);
  --point: var(--brass-400); --point-hover: var(--brass-300); --link: var(--insight-400); --link-hover: var(--insight-300);

  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --wrap: 1200px; --gutter: clamp(20px, 4vw, 40px);
  --radius: 3px; --ease: cubic-bezier(.2,.7,.2,1);
}

.light {
  --bg: var(--ivory-50); --bg-raised: #FFFFFF; --bg-card: #FFFFFF;
  --ink: var(--midnight-900); --ink-muted: var(--slate-600); --line: var(--slate-200);
  --point: var(--brass-600); --point-hover: var(--brass-700); --link: var(--insight-600); --link-hover: #2D47B3;
  background: var(--bg); color: var(--ink);
}
.raised { background: var(--bg-raised); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font-body); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--brass-400); color: var(--midnight-900); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ivory-50); color: var(--midnight-900); padding: 10px 16px; font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(39px, 6.2vw, 61px); line-height: 1.06; letter-spacing: -0.02em; }
h2 { font-weight: 700; font-size: clamp(31px, 4.2vw, 49px); line-height: 1.1; letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: clamp(20px, 2.2vw, 25px); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-weight: 600; font-size: 17px; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-muted); max-width: 62ch; }
.overline { font: 600 12px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--point); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.overline::before { content: ""; width: 7px; height: 7px; background: currentColor; transform: rotate(45deg); flex: none; }
.muted { color: var(--ink-muted); }
.mono { font-family: var(--font-mono); font-size: .9em; }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.head p { margin-top: 18px; }
.stack > * + * { margin-top: 16px; }

/* ---------- buttons ---------- */
.btn { --b-bg: var(--brass-400); --b-ink: var(--midnight-900); display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1.5px solid var(--b-bg); border-radius: var(--radius); background: var(--b-bg); color: var(--b-ink); font: 600 16px/1 var(--font-body); text-decoration: none; transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease); cursor: pointer; }
.btn:hover { --b-bg: var(--brass-300); color: var(--b-ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--slate-500); }
.btn--ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.light .btn { --b-bg: var(--insight-600); --b-ink: #FFFFFF; }
.light .btn:hover { --b-bg: #2D47B3; }
.light .btn--ghost { background: transparent; color: var(--ink); border-color: var(--slate-600); }
.light .btn--ghost:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.textlink { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.textlink:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 20, 38, .92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.site-header.is-scrolled { border-bottom-color: var(--midnight-500); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: block; padding: 6px 0; } /* clear space: logo carries its own margin via padding */
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ivory-50); text-decoration: none; font: 500 15px/1 var(--font-body); padding: 10px 12px; border-radius: var(--radius); position: relative; }
.nav a:hover { color: var(--brass-300); }
.nav a[aria-current="page"] { color: var(--brass-400); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 6px; height: 6px; background: var(--brass-400); transform: translateX(-50%) rotate(45deg); }
.nav .btn { margin-left: 12px; min-height: 42px; padding: 0 18px; font-size: 15px; color: var(--midnight-900); }
.nav .btn:hover { color: var(--midnight-900); }
.nav-toggle { display: none; background: none; border: 1px solid var(--midnight-500); color: var(--ivory-50); border-radius: var(--radius); width: 46px; height: 46px; cursor: pointer; }
.nav-toggle svg { margin: auto; }
@media (max-width: 920px) {
  .js .nav-toggle { display: block; }
  .js .nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--midnight-900); border-bottom: 1px solid var(--midnight-500); padding: 8px var(--gutter) 24px; display: none; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--midnight-700); }
  .js .nav a[aria-current="page"]::after { left: auto; right: 8px; bottom: 50%; transform: translateY(50%) rotate(45deg); }
  .js .nav .btn { margin: 20px 0 0; min-height: 52px; border-bottom: 0; }
  html:not(.js) .site-header .wrap { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  html:not(.js) .nav { flex-wrap: wrap; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 9vw, 112px) 0 clamp(72px, 10vw, 128px); isolation: isolate; }
.field { position: absolute; inset: 0; z-index: -1; background-image: url("../assets/img/thought-field-tile.svg"); background-size: 160px 160px; opacity: .55; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 78% 40%, #000 20%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: normal; color: var(--brass-400); }
.hero .lede { margin-top: 24px; color: #C3CAD8; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--midnight-500); font-size: 14px; color: var(--slate-400); }
.hero-meta b { display: block; font: 700 20px/1.2 var(--font-display); color: var(--ivory-50); margin-bottom: 2px; }
.hero-mark { position: relative; aspect-ratio: 1; max-width: 440px; justify-self: end; width: 100%; }
.hero-mark svg { width: 100%; height: 100%; overflow: visible; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { order: -1; max-width: 168px; justify-self: start; }
  .field { -webkit-mask-image: radial-gradient(ellipse 90% 60% at 30% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 90% 60% at 30% 20%, #000 10%, transparent 70%); }
}

/* logo build animation (motion spec: machine leg 280ms linear → human leg 360ms ease-out → point 200ms, 6% overshoot) */
.logo-build .leg-machine { clip-path: inset(100% 0 0 0) fill-box; animation: rise .28s linear .25s forwards; }
.logo-build .leg-human { clip-path: inset(100% 0 0 0) fill-box; animation: rise .36s cubic-bezier(.2,.8,.3,1) .53s forwards; }
.logo-build .point { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.4); animation: land .2s cubic-bezier(.34,1.6,.64,1) .89s forwards; }
.logo-build .lines path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) 1.05s forwards; }
@keyframes rise { to { clip-path: inset(0 0 0 0) fill-box; } }
@keyframes land { 0% { opacity: 0; transform: scale(.4); } 100% { opacity: 1; transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .logo-build .leg-machine, .logo-build .leg-human { clip-path: none; } .logo-build .point { opacity: 1; transform: none; } .logo-build .lines path { stroke-dashoffset: 0; } }
.thinking { animation: think 1.2s ease-in-out infinite alternate; }
@keyframes think { from { opacity: .4; } to { opacity: 1; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--midnight-500); }
.page-hero .field { -webkit-mask-image: radial-gradient(ellipse 55% 90% at 92% 30%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse 55% 90% at 92% 30%, #000 15%, transparent 70%); }
.page-hero .lede { margin-top: 22px; color: #C3CAD8; }
.frame { position: absolute; right: -40px; bottom: -2px; width: min(560px, 60vw); z-index: -1; opacity: .5; }

/* ---------- ◆ point list ---------- */
.points { list-style: none; padding: 0; margin: 0; }
.points li { position: relative; padding-left: 26px; }
.points li + li { margin-top: 12px; }
.points li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; background: var(--point); transform: rotate(45deg); }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2vw, 24px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); position: relative; }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--ink-muted); font-size: 16px; }
.icon { width: 40px; height: 40px; color: var(--ink); }
.icon .pt { fill: var(--point); }
.num { font: 500 13px/1 var(--font-mono); color: var(--point); letter-spacing: .02em; }

/* beliefs: about / with / through / build */
.belief .k { font: 800 clamp(25px, 2.6vw, 31px)/1.1 var(--font-display); letter-spacing: -0.015em; }
.belief .k span { color: var(--point); }
.belief p { margin-top: 12px; }

/* journey stepper */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 8px; counter-reset: s; }
.journey li { list-style: none; position: relative; padding: 34px 24px 0 0; }
.journey li::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); }
.journey li::after { content: ""; position: absolute; top: 3px; left: 0; width: 14px; height: 14px; background: var(--bg); border: 2px solid var(--point); transform: rotate(45deg); }
.journey li:last-child::after { background: var(--point); }
.journey li:last-child::before { right: auto; width: 0; }
.journey b { display: block; font: 700 20px/1.2 var(--font-display); margin-bottom: 6px; }
.journey span { color: var(--ink-muted); font-size: 15px; }
@media (max-width: 800px) {
  .journey { grid-template-columns: 1fr; }
  .journey li { padding: 0 0 26px 36px; }
  .journey li::before { top: 0; bottom: 0; left: 8px; right: auto; width: 2px; height: auto; }
  .journey li:last-child::before { height: 0; }
  .journey li::after { top: 2px; }
}

/* programme cards */
.prog { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.prog-top { padding: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.tag { display: inline-block; font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border: 1px solid currentColor; border-radius: 2px; }
.tag--b { color: var(--brass-400); }
.tag--a { color: var(--insight-400); }
.light .tag--b { color: var(--brass-600); } .light .tag--a { color: var(--insight-600); }
.prog h3 { font-size: clamp(25px, 2.6vw, 31px); margin: 20px 0 10px; }
.prog-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.prog-facts div { background: var(--bg-card); padding: 18px clamp(20px, 3vw, 36px); }
.prog-facts dt { font: 600 12px/1.2 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.prog-facts dd { margin: 6px 0 0; font-weight: 500; font-size: 16px; color: var(--ink); }
.prog-foot { padding: 22px clamp(24px, 3vw, 36px); margin-top: auto; border-top: 1px solid var(--line); }

/* session rhythm */
.rhythm { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rhythm > div { padding: 26px 24px; background: var(--bg-card); }
.rhythm > div + div { border-left: 1px solid var(--line); }
.rhythm .when { font: 500 13px/1 var(--font-mono); color: var(--point); }
.rhythm h4 { margin: 14px 0 8px; font-size: 19px; font-family: var(--font-display); font-weight: 700; }
.rhythm p { color: var(--ink-muted); font-size: 15px; }
.rhythm .opt { background: transparent; }
@media (max-width: 860px) { .rhythm { grid-template-columns: 1fr 1fr; } .rhythm > div:nth-child(3) { border-left: 0; } .rhythm > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .rhythm { grid-template-columns: 1fr; } .rhythm > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* name story */
.dhi { font-family: "Noto Sans Devanagari", "Nirmala UI", "Mangal", "Kohinoor Devanagari", sans-serif; font-weight: 600; }
.namecard { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--bg-card); }
.namecard .glyph { font-size: clamp(72px, 10vw, 112px); line-height: 1; color: var(--point); }
.namecard .eq { font: 700 clamp(25px, 3vw, 31px)/1.2 var(--font-display); }
.namecard .eq span { color: var(--ink-muted); font-weight: 500; }
@media (max-width: 560px) { .namecard { grid-template-columns: 1fr; } }

/* day-by-day */
.days { border-top: 1px solid var(--line); }
.day { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 24px 40px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.day .d { font: 500 13px/1.2 var(--font-mono); color: var(--point); }
.day .d b { display: block; font: 800 39px/1 var(--font-display); color: var(--ink); margin-top: 6px; letter-spacing: -0.02em; }
.day h3 { margin-bottom: 10px; }
.day p { color: var(--ink-muted); font-size: 16px; }
.day .build { padding: 18px 20px; background: var(--bg-card); border: 1px solid var(--line); border-left: 3px solid var(--point); border-radius: var(--radius); }
.day .build .lab { font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.day .build p { color: var(--ink); margin-top: 8px; }
.day .home { margin-top: 12px; font-size: 15px; }
.day .home b { color: var(--ink); font-weight: 600; }
.day--show .d b { color: var(--point); }
.day .d .gem { display: block; width: 22px; height: 22px; background: var(--point); transform: rotate(45deg); margin: 14px 0 0 6px; }
@media (max-width: 860px) { .day .d .gem { display: inline-block; width: 12px; height: 12px; margin: 0 0 0 12px; } }
@media (max-width: 860px) { .day { grid-template-columns: 1fr; gap: 14px; } .day .d b { display: inline; font-size: 25px; margin: 0 0 0 8px; } }

.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { font: 500 13px/1 var(--font-mono); padding: 7px 10px; border-radius: 2px; background: var(--bg-raised); border: 1px solid var(--line); color: var(--ink-muted); }

/* capstone stepper */
.capstone { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin: 32px 0 0; padding: 0; }
.capstone li { list-style: none; position: relative; padding: 30px 16px 0 0; font-size: 15px; color: var(--ink-muted); }
.capstone li b { display: block; color: var(--ink); font: 700 16px/1.3 var(--font-display); margin-bottom: 4px; }
.capstone li::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 2px; background: var(--line); }
.capstone li::after { content: ""; position: absolute; top: 2px; left: 0; width: 12px; height: 12px; border: 2px solid var(--point); background: var(--bg); transform: rotate(45deg); }
.capstone li:last-child::after { background: var(--point); }
.capstone li:last-child::before { width: 0; }
@media (max-width: 860px) { .capstone { grid-template-columns: 1fr; } .capstone li { padding: 0 0 20px 32px; } .capstone li::before { top: 0; bottom: 0; left: 7px; width: 2px; height: auto; right: auto; } .capstone li:last-child::before { height: 0; } }

/* tabs (programme switcher) */
.subnav { position: sticky; top: 76px; z-index: 40; background: var(--ivory-50); border-bottom: 1px solid var(--slate-200); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; }
.subnav a { color: var(--midnight-900); text-decoration: none; font-weight: 600; font-size: 15px; padding: 16px 12px; white-space: nowrap; border-bottom: 2px solid transparent; }
.subnav a:hover { border-bottom-color: var(--brass-600); }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--bg-card); }
th, td { text-align: left; padding: 16px 18px; vertical-align: top; border-bottom: 1px solid var(--line); }
th { font: 600 12px/1.3 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); background: var(--bg-raised); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--ink); min-width: 160px; }
td { color: var(--ink-muted); }

/* compare: we are / we are not */
.vs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.vs > div { padding: 28px; }
.vs > div + div { border-left: 1px solid var(--line); }
.vs h4 { font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 18px; }
.vs .no li::before { background: transparent; border: 1.5px solid var(--slate-500); }
@media (max-width: 600px) { .vs { grid-template-columns: 1fr; } .vs > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* founders */
.person { display: grid; grid-template-columns: 88px 1fr; gap: 24px; align-items: start; }
.mono-av { width: 88px; height: 88px; border-radius: 2px; background: var(--midnight-900); color: var(--brass-400); display: grid; place-items: center; font: 800 28px/1 var(--font-display); letter-spacing: -0.02em; position: relative; }
.mono-av::after { content: ""; position: absolute; top: 10px; right: 10px; width: 7px; height: 7px; background: var(--brass-400); transform: rotate(45deg); }
.person img, img.mono-av--lg { object-fit: cover; border-radius: 2px; } .person img { width: 88px; height: 88px; object-fit: cover; border-radius: 2px; }
.person h3 { margin: 0; }
.person .role { color: var(--point); font-weight: 600; font-size: 14px; margin: 6px 0 12px; }
.person p { color: var(--ink-muted); font-size: 16px; }
@media (max-width: 480px) { .person { grid-template-columns: 1fr; } }

/* FAQ — numbered Q&A */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 24px; gap: 12px; align-items: baseline; padding: 24px 0; font: 700 clamp(18px, 1.8vw, 20px)/1.35 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font: 500 13px/1 var(--font-mono); color: var(--point); }
.faq summary .tw { width: 12px; height: 12px; border-right: 2px solid var(--ink-muted); border-bottom: 2px solid var(--ink-muted); transform: rotate(45deg); transition: transform .2s var(--ease); justify-self: end; align-self: center; }
.faq details[open] summary .tw { transform: rotate(-135deg); }
.faq .a { padding: 0 36px 26px 68px; color: var(--ink-muted); max-width: 820px; }
.faq .a p + p { margin-top: 12px; }
@media (max-width: 560px) { .faq summary { grid-template-columns: 40px 1fr 20px; } .faq .a { padding-left: 52px; padding-right: 0; } }

/* contact options */
.contact-card { display: flex; flex-direction: column; }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
.contact-card p { margin-bottom: 24px; }
.contact-card .value { font: 500 15px/1.4 var(--font-mono); color: var(--ink); margin: -8px 0 20px; word-break: break-all; }

.note { font-size: 14px; color: var(--ink-muted); border-left: 3px solid var(--point); padding: 4px 0 4px 16px; }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--midnight-500); }
.cta .field { opacity: .45; -webkit-mask-image: radial-gradient(ellipse 60% 100% at 85% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 100% at 85% 50%, #000 10%, transparent 70%); }
.cta-inner { display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: end; }
@media (max-width: 760px) { .cta-inner { grid-template-columns: 1fr; } }

/* footer */
.site-footer { background: var(--midnight-900); border-top: 1px solid var(--midnight-500); padding: 64px 0 36px; font-size: 15px; color: var(--slate-400); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font: 600 12px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--ivory-50); margin-bottom: 16px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li + li { margin-top: 10px; }
.foot-grid a { color: var(--slate-400); text-decoration: none; }
.foot-grid a:hover { color: var(--ivory-50); text-decoration: underline; }
.foot-brand img { height: 64px; width: auto; }
.foot-brand p { margin-top: 20px; max-width: 34ch; }
.foot-brand .line { color: var(--brass-400); font-family: var(--font-display); font-weight: 600; font-size: 16px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--midnight-700); font-size: 13px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* reveal on scroll (progressive: only when JS present) */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .24s var(--ease), transform .24s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }

/* who teaches — bio feature */
.bio { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.bio-id { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.bio-id h3 { font-size: clamp(25px, 3vw, 31px); }
.bio .role { color: var(--point); font-weight: 600; font-size: 15px; margin: 6px 0 8px; }
.bio-quote { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 17px; }
.mono-av--lg { width: 104px; height: 104px; font-size: 34px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 36px 0 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats > div { background: var(--bg-raised); padding: 22px 22px 20px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
.stats dd { margin: 0; font: 800 clamp(39px, 4.6vw, 56px)/1 var(--font-display); letter-spacing: -0.02em; color: var(--point); }
.stats dd.dd-word { font-size: clamp(25px, 2.6vw, 31px); line-height: 1.15; padding-top: clamp(6px, 1vw, 14px); }
.stats dt { font-size: 14px; color: var(--ink-muted); line-height: 1.35; }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.stats--2 > div { padding: 28px; }
.bio-lede { margin-top: 32px; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink); max-width: 72ch; }
.bio-grid { margin-top: 32px; }
.bio-grid > div { border-top: 1px solid var(--line); padding-top: 16px; }
.bio-grid p { color: var(--ink-muted); font-size: 15px; margin-top: 8px; }
.bio-why { border-top-color: var(--point) !important; }
.bio-why p { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.bio-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .bio-id { grid-template-columns: 1fr; } .stats > div { padding: 18px 16px; } }
