/* ==========================================================================
   Amena Begum — Academic Portfolio
   Main stylesheet (mobile-first). Edit colours & fonts in :root below.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL licensed) ---------- */
@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* Metric-matched fallbacks reduce layout shift while fonts load */
@font-face { font-family: "Bebas Fallback"; src: local("Arial Narrow"), local("Roboto Condensed"), local("Arial"); size-adjust: 78%; ascent-override: 115%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 107%; ascent-override: 90%; }

/* ---------- Design tokens ---------- */
:root {
  --navy: #102550;
  --navy-2: #0b1a3b;
  --navy-3: #18306a;
  --burgundy: #a61935;
  --burgundy-2: #8a1129;
  --paper: #f8f6f1;
  --paper-2: #f1ede4;
  --white: #ffffff;
  --champagne: #c6aa80;
  --champagne-soft: #e9dfcf;
  --ink: #141c33;
  --muted: #545d74;
  --line: rgba(16, 37, 80, 0.14);
  --line-strong: rgba(16, 37, 80, 0.28);
  --line-light: rgba(248, 246, 241, 0.18);

  --f-display: "Bebas Neue", "Bebas Fallback", "Arial Narrow", sans-serif;
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 10vw, 9.5rem);
  --radius: 4px;
  --radius-lg: 18px;
  --header-h: 76px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --shadow-soft: 0 1px 2px rgba(16, 37, 80, 0.05), 0 12px 32px -14px rgba(16, 37, 80, 0.18);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-sans); font-size: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem); line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  font-variant-numeric: lining-nums;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--navy); color: var(--paper); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -100px; z-index: 200; background: var(--navy); color: var(--paper); padding: .8rem 1.1rem; border-radius: var(--radius); font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; border-radius: 2px; }
.surface-navy :focus-visible, .presence :focus-visible, .site-footer :focus-visible, .impact :focus-visible { outline-color: var(--champagne); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.surface-white { background: var(--white); }
.surface-navy { background: var(--navy); color: var(--paper); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-xs { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; }

/* ---------- Typography components ---------- */
.display {
  font-family: var(--f-display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(3rem, 1.6rem + 6vw, 7rem); line-height: .9; letter-spacing: .005em; color: var(--navy);
  text-wrap: balance;
}
.display em {
  font-family: var(--f-serif); font-style: italic; text-transform: none; font-weight: 400;
  font-size: .78em; letter-spacing: -0.01em; color: var(--burgundy); line-height: 1;
}
.sec-head-light .display { color: var(--paper); }
.sec-head-light .display em { color: var(--champagne); }

.eyebrow { display: flex; align-items: center; gap: .85rem; font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 1.4rem; }
.eyebrow-idx { font-family: var(--f-display); font-size: 1.15rem; letter-spacing: .04em; color: var(--burgundy); line-height: 1; }
.eyebrow-rule { width: 56px; height: 1px; background: currentColor; opacity: .45; transform-origin: left; }
.eyebrow-light, .sec-head-light .eyebrow { color: var(--paper); }
.eyebrow-light .eyebrow-idx, .sec-head-light .eyebrow-idx { color: var(--champagne); }

.lede { max-width: 40rem; margin-top: 1.5rem; font-size: 1.08rem; color: var(--muted); }
.sec-head-light .lede { color: rgba(248, 246, 241, .78); }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.split-head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.split-head .sec-head { margin-bottom: 0; }
.split-head-note { max-width: 26rem; color: var(--muted); font-size: 1rem; }
.surface-navy .split-head-note { color: rgba(248, 246, 241, .75); }

.sub-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); letter-spacing: .01em; line-height: 1; color: var(--navy); text-transform: uppercase; }
.col-title { font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); padding-bottom: 1rem; border-bottom: 1px solid var(--line); margin-bottom: 1.75rem; }

.pill { font-family: var(--f-sans); display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; line-height: 1.2; }
.pill-navy { background: var(--navy); color: var(--paper); }
.pill-burgundy { background: rgba(166, 25, 53, .09); color: var(--burgundy); border: 1px solid rgba(166, 25, 53, .3); }
.pill-line { border: 1px solid var(--line-strong); color: var(--navy); }

/* ---------- Buttons & links ---------- */
.btn {
  --bh: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: var(--bh); padding: 0 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-size: .9rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out), background-color .35s var(--ease-out), transform .35s var(--ease-out);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn-arrow { width: 1.05rem; height: 1.05rem; transition: transform .45s var(--ease-out); }
.btn:hover .btn-arrow { transform: translate(3px, -3px); }
.btn:hover .btn-arrow-down { transform: translateY(3px); }
.btn-sm { --bh: 44px; padding: 0 1.15rem; font-size: .84rem; }
.btn-navy { background: var(--navy); color: var(--paper); }
.btn-navy::before { background: var(--burgundy); }
.btn-burgundy { background: var(--burgundy); color: var(--white); }
.btn-burgundy::before { background: var(--navy); }
.btn-ghost { border-color: var(--line-strong); color: var(--navy); background: transparent; }
.btn-ghost::before { background: var(--navy); }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--paper); border-color: var(--navy); }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--navy); text-decoration: none; position: relative; padding-block: .35rem; }
.link-arrow::after { content: ""; position: absolute; left: 0; right: 1.4rem; bottom: .15rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.link-arrow:hover::after, .link-arrow:focus-visible::after { transform: scaleX(1); }
.link-arrow .icon { width: 1rem; height: 1rem; transition: transform .4s var(--ease-out); }
.link-arrow:hover .icon { transform: translate(3px, -3px); }

.toggle-btn { margin-top: 2rem; }
.toggle-btn .chev { width: 1rem; height: 1rem; transition: transform .4s var(--ease-out); }
.toggle-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }

.chip { min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--navy); font-size: .82rem; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background-color .4s, box-shadow .4s, backdrop-filter .4s; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); transition: height .4s var(--ease-out); }
.site-header.is-compact { background: rgba(248, 246, 241, .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-compact .header-inner { height: 62px; }
.brand { display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; padding: .5rem 0; margin-right: auto; }
.logo-svg { height: 34px; width: auto; transition: height .4s var(--ease-out); }
.is-compact .logo-svg { height: 30px; }
.brand-light { color: var(--paper); }

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: .25rem; }
.primary-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; font-size: .86rem; font-weight: 500; color: var(--navy); text-decoration: none; letter-spacing: .01em; }
.primary-nav a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 9px; height: 1px; background: var(--burgundy); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.primary-nav a.is-active { color: var(--burgundy); }
.header-cta { display: none; }

.menu-toggle { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--paper); display: grid; place-items: center; position: relative; z-index: 2; }
.menu-lines { width: 18px; height: 10px; position: relative; display: block; }
.menu-lines span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--navy); border-radius: 2px; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.menu-lines span:first-child { top: 0; }
.menu-lines span:last-child { top: 8px; }
.menu-toggle[aria-expanded="true"] .menu-lines span:first-child { top: 4px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines span:last-child { top: 4px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 1; background: var(--paper); padding-top: calc(var(--header-h) + 1rem); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease-out), visibility 0s .4s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease-out); }
.mobile-menu-label { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.mobile-menu ul { margin-bottom: 2rem; }
.mobile-menu li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--i) * 45ms + 80ms); }
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu li a { display: flex; align-items: baseline; gap: 1rem; padding: .7rem 0; font-family: var(--f-display); font-size: clamp(2.2rem, 10vw, 3rem); line-height: 1; color: var(--navy); text-decoration: none; }
.mobile-menu li a.is-active { color: var(--burgundy); }
.mm-idx { font-family: var(--f-sans); font-size: .75rem; font-weight: 600; color: var(--burgundy); letter-spacing: .1em; }
.site-header.menu-open { background: var(--paper); }
.site-header .header-inner { position: relative; z-index: 2; }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + 1.25rem); background:
  radial-gradient(120% 70% at 50% 100%, rgba(198, 170, 128, .16), transparent 60%), var(--paper); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; grid-template-areas: "meta" "name" "figure" "left" "right" "cue"; }
.hero-meta { grid-area: meta; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--navy); }
.hero-eyebrow span { color: var(--burgundy); margin: 0 .2em; }
.hero-bracket { color: var(--muted); display: none; }
.hero-name { grid-area: name; position: relative; z-index: 1; font-family: var(--f-display); font-weight: 400; color: var(--navy); line-height: .8; margin-top: .9rem; letter-spacing: -.005em; }
.hn { display: flex; flex-direction: column; }
.hn-word { display: flex; font-size: clamp(5.5rem, 33vw, 12rem); }
.hn-word:last-child { align-self: flex-end; margin-top: -.02em; }
.ch { display: inline-block; overflow: hidden; padding-top: .06em; margin-top: -.06em; }
.ch > span { display: inline-block; }

.hero-figure { grid-area: figure; position: relative; z-index: 2; margin: -7vw auto 0; width: min(84%, 420px); }
.hero-arch { position: absolute; left: 6%; right: 6%; bottom: 0; height: 74%; background: linear-gradient(180deg, var(--navy-3), var(--navy)); border-radius: 999px 999px 0 0; z-index: -1; }
.hero-arch::after { content: ""; position: absolute; inset: 14px 14px 0; border: 1px solid rgba(198, 170, 128, .45); border-bottom: 0; border-radius: inherit; }
.hero-portrait { width: 100%; height: auto; filter: drop-shadow(0 26px 30px rgba(11, 26, 59, .28)); }

.hero-left { grid-area: left; margin-top: 2rem; }
.hero-roles { display: flex; flex-direction: column; gap: .15rem; font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--navy); padding-left: .9rem; border-left: 2px solid var(--burgundy); }
.hero-roles span:last-child { color: var(--muted); font-weight: 500; }
.hero-slogan { margin-top: 1.4rem; font-family: var(--f-display); font-size: clamp(2.6rem, 11vw, 3.4rem); line-height: .92; color: var(--navy); text-transform: uppercase; }
.hero-slogan span { display: block; }
.hero-slogan .accent { color: var(--burgundy); }
.hero-right { grid-area: right; margin-top: 1.5rem; }
.hero-intro { font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.5; color: var(--ink); max-width: 30rem; }
.hero-intro em { color: var(--navy); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.scroll-cue { grid-area: cue; display: none; align-items: center; gap: .75rem; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); text-decoration: none; min-height: 44px; }
.scroll-line { width: 1px; height: 44px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--burgundy); animation: scrollLine 2.4s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 100%; } }

.hero-orbits { position: absolute; z-index: 0; width: min(150vw, 900px); aspect-ratio: 1; left: 50%; top: 38%; transform: translate(-50%, 0); pointer-events: none; }
.orbit-svg { width: 100%; height: 100%; fill: none; stroke: rgba(16, 37, 80, .2); stroke-width: 1; vector-effect: non-scaling-stroke; }
.orbit-svg circle { vector-effect: non-scaling-stroke; }
.orbit-dash { stroke-dasharray: 2 7; stroke: var(--line); }
.orbit-dot { position: absolute; inset: 0; animation: orbit 60s linear infinite; }
.orbit-dot::before { content: ""; position: absolute; top: calc(50% - 5px); left: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--burgundy); box-shadow: 0 0 0 6px rgba(166, 25, 53, .12); }
@keyframes orbit { to { transform: rotate(360deg); } }

.hero-ticker { position: relative; z-index: 3; margin-top: 2.5rem; background: var(--navy); color: var(--paper); overflow: hidden; border-top: 1px solid rgba(198, 170, 128, .35); }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker-group { display: flex; align-items: center; gap: 1.6rem; padding: 1rem .8rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; white-space: nowrap; }
.ticker-group i { color: var(--champagne); font-style: normal; font-size: .7rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- IMPACT ---------- */
.impact { background: var(--navy); color: var(--paper); padding-block: clamp(3.5rem, 7vw, 5.5rem); position: relative; }
.impact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 120% at 100% 0, rgba(198, 170, 128, .12), transparent 60%); pointer-events: none; }
.impact-head .eyebrow { margin-bottom: 2.25rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem 1.5rem; position: relative; }
.stat { position: relative; padding-top: 1.25rem; border-top: 1px solid var(--line-light); }
.stat-num { font-family: var(--f-display); font-size: clamp(3.8rem, 2.6rem + 5vw, 7.5rem); line-height: .85; color: var(--paper); display: flex; align-items: flex-start; font-variant-numeric: tabular-nums; }
.stat-suffix { color: var(--champagne); font-size: .6em; margin-left: .05em; line-height: 1; }
.stat-label { margin-top: .9rem; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.stat-note { margin-top: .35rem; font-size: .8rem; color: rgba(248, 246, 241, .62); line-height: 1.45; }

/* ---------- ABOUT ---------- */
.about-grid { display: grid; gap: 3.5rem; }
.about-media { position: relative; max-width: 460px; margin-inline: auto; width: 100%; }
.about-frame { position: relative; padding: 2.25rem 1.5rem 0; overflow: hidden; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); background: linear-gradient(180deg, var(--champagne-soft), var(--paper-2)); }
.about-arch { position: absolute; inset: 14px 14px 0; border: 1px solid rgba(16, 37, 80, .2); border-bottom: 0; border-radius: 999px 999px 0 0; }
.about-frame img { position: relative; width: 88%; margin-inline: auto; will-change: transform; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.about-facts dt { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.about-facts dd { font-size: .88rem; font-weight: 600; color: var(--navy); margin-top: .2rem; line-height: 1.35; }
.prose p + p { margin-top: 1.1rem; }
.prose { color: var(--muted); max-width: 40rem; }
.prose-lead { font-family: var(--f-serif); font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); line-height: 1.5; color: var(--ink); }
.mission { margin-top: 2.25rem; padding: 1.6rem 1.6rem 1.6rem 1.75rem; border-left: 2px solid var(--burgundy); background: var(--white); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; box-shadow: var(--shadow-soft); max-width: 40rem; }
.mission-label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--burgundy); }
.mission-text { margin-top: .5rem; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; line-height: 1.55; color: var(--navy); }
.pillars { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.pillar { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: start; }
.pillar-icon { grid-row: span 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--burgundy); transition: background-color .4s, color .4s, border-color .4s; }
.pillar:hover .pillar-icon { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.pillar h3 { font-size: 1.02rem; font-weight: 650; color: var(--navy); line-height: 1.3; padding-top: .2rem; }
.pillar p { font-size: .92rem; color: var(--muted); margin-top: .25rem; }

/* ---------- EXPERTISE ---------- */
.exp-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.exp-card { position: relative; background: var(--white); padding: 2rem 1.6rem 1.8rem; transition: background-color .5s var(--ease-out); overflow: hidden; }
.exp-card::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--burgundy); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.exp-card:hover { background: var(--paper); }
.exp-card:hover::before { transform: scaleX(1); }
.exp-num { position: absolute; top: 1.4rem; right: 1.6rem; font-family: var(--f-display); font-size: 1.1rem; color: var(--champagne); letter-spacing: .05em; }
.exp-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 14px; background: var(--paper); color: var(--navy); border: 1px solid var(--line); transition: transform .5s var(--ease-out), background-color .5s, color .5s; }
.exp-icon .icon { width: 26px; height: 26px; }
.exp-card:hover .exp-icon { transform: translateY(-4px); background: var(--navy); color: var(--paper); }
.exp-card h3 { margin-top: 1.6rem; font-family: var(--f-serif); font-weight: 600; font-size: 1.32rem; line-height: 1.25; color: var(--navy); }
.exp-card p { margin-top: .65rem; font-size: .93rem; color: var(--muted); }
.exp-card .exp-tags { margin-top: 1.1rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--burgundy); }

/* ---------- EXPERIENCE / JOURNEY ---------- */
.journey { display: grid; gap: 3.5rem; }
.timeline { position: relative; }
.tl-track { position: absolute; left: 7px; top: 4.4rem; bottom: .5rem; width: 1px; background: var(--line); }
.tl-progress { position: absolute; inset: 0; background: var(--burgundy); transform: scaleY(var(--p, 0)); transform-origin: top; transition: transform .15s linear; }
.tl-list { display: grid; gap: 2.4rem; }
.tl-item { position: relative; padding-left: 2.4rem; }
.tl-dot { position: absolute; left: 0; top: .3rem; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-strong); transition: background-color .5s, border-color .5s, box-shadow .5s; }
.tl-item.is-active .tl-dot, .tl-item.is-current .tl-dot { background: var(--burgundy); border-color: var(--burgundy); box-shadow: 0 0 0 5px rgba(166, 25, 53, .12); }
.tl-span { display: flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-size: 1.25rem; letter-spacing: .04em; color: var(--burgundy); line-height: 1; }
.tl-role { margin-top: .55rem; font-family: var(--f-serif); font-weight: 600; font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); line-height: 1.2; color: var(--navy); }
.tl-org { margin-top: .25rem; font-weight: 600; font-size: .95rem; color: var(--ink); }
.tl-dates { margin-top: .35rem; font-size: .82rem; color: var(--muted); }
.tl-text { margin-top: .75rem; color: var(--muted); font-size: .94rem; max-width: 36rem; }

.edu-card { padding: 1.5rem 1.5rem 1.4rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 1rem; transition: border-color .4s, transform .5s var(--ease-out), box-shadow .5s; }
.edu-card:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.edu-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.edu-year { font-family: var(--f-display); font-size: 2.3rem; line-height: 1; color: var(--navy); }
.edu-card h4 { margin-top: .8rem; font-family: var(--f-serif); font-weight: 600; font-size: 1.25rem; color: var(--navy); line-height: 1.3; }
.edu-major { font-weight: 400; font-style: italic; }
.edu-meta { margin-top: .35rem; font-size: .88rem; color: var(--muted); }
.edu-more { border: 1px solid var(--line); border-radius: var(--radius-lg); background: transparent; }
.edu-more summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.5rem; min-height: 52px; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--navy); list-style: none; }
.edu-more summary::-webkit-details-marker { display: none; }
.edu-more .chev { width: 1rem; height: 1rem; transition: transform .4s var(--ease-out); }
.edu-more[open] .chev { transform: rotate(180deg); }
.edu-more ul { padding: 0 1.5rem 1.25rem; display: grid; gap: .6rem; font-size: .9rem; color: var(--muted); }
.edu-more strong { color: var(--navy); }

.courses { margin-top: clamp(4rem, 8vw, 6rem); padding-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.courses-head { display: grid; gap: .75rem; margin-bottom: 2rem; }
.courses-note { color: var(--muted); max-width: 34rem; font-size: .95rem; }
.course-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.course-card { padding: 1.4rem 1.4rem 1.3rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform .5s var(--ease-out), border-color .4s; }
.course-card:hover { transform: translateY(-3px); border-color: var(--navy); }
.course-code { font-size: .72rem; letter-spacing: .12em; font-weight: 600; color: var(--burgundy); font-variant-numeric: tabular-nums; }
.course-card h4 { margin-top: .55rem; font-family: var(--f-serif); font-weight: 600; font-size: 1.15rem; line-height: 1.3; color: var(--navy); }
.course-card p { margin-top: .3rem; font-size: .85rem; color: var(--muted); }

.collapsible { margin-top: 2rem; }
.collapsible.is-opening { animation: openIn .6s var(--ease-out); }
@keyframes openIn { from { opacity: 0; transform: translateY(-8px); } }
.table-wrap { margin-top: 1.25rem; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 680px; }
.data-table th, .data-table td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; background: var(--paper); }
.data-table tbody th { font-weight: 600; color: var(--navy); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody tr:hover { background: rgba(198, 170, 128, .08); }
.mono { font-variant-numeric: tabular-nums; color: var(--burgundy); font-weight: 600; white-space: nowrap; }

/* ---------- RESEARCH ---------- */
.research-grid { display: grid; gap: 3rem; align-items: center; }
.donut-fig { display: grid; justify-items: center; gap: 1.25rem; }
.donut { position: relative; width: min(100%, 340px); aspect-ratio: 1; }
.donut svg { width: 100%; height: 100%; }
.donut-bg { fill: none; stroke: var(--paper-2); stroke-width: 34; }
.donut-seg { fill: none; stroke-width: 34; stroke-linecap: butt; transition: stroke-dasharray 1.6s var(--ease-out); }
.js .donut-fig:not(.is-in) .donut-seg { stroke-dasharray: 0 800 !important; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-num { font-family: var(--f-display); font-size: 5rem; line-height: .85; color: var(--navy); }
.donut-lbl { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-top: .35rem; }
.donut-caption { font-size: .9rem; color: var(--muted); }
.donut-caption strong { color: var(--navy); }
.themes { display: grid; gap: 1rem; }
.theme { display: grid; grid-template-columns: 6px 1fr; gap: 1.25rem; padding: 1.5rem 1.5rem 1.5rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); transition: transform .5s var(--ease-out), box-shadow .5s; }
.theme:hover { transform: translateX(4px); box-shadow: var(--shadow-soft); }
.theme-swatch { border-radius: 4px; }
.theme-ai .theme-swatch { background: var(--navy); }
.theme-classroom .theme-swatch { background: var(--burgundy); }
.theme-literature .theme-swatch { background: var(--champagne); }
.theme-count { font-family: var(--f-display); font-size: 1.5rem; line-height: 1; color: var(--navy); letter-spacing: .03em; }
.theme-count span { font-family: var(--f-sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-left: .25rem; }
.theme h3 { margin-top: .5rem; font-family: var(--f-serif); font-weight: 600; font-size: 1.25rem; color: var(--navy); line-height: 1.3; }
.theme p:last-child { margin-top: .4rem; font-size: .92rem; color: var(--muted); }

.sup-index { margin-top: clamp(4rem, 8vw, 6rem); }
.sup-head { display: grid; gap: .9rem; margin-bottom: 1.75rem; }
.sup-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .88rem; color: var(--muted); }
.sup-controls { display: grid; gap: 1rem; margin-bottom: 1rem; }
.search-field { position: relative; display: block; }
.search-field .icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); width: 1.1rem; height: 1.1rem; pointer-events: none; }
.search-field input { width: 100%; min-height: 48px; padding: 0 1rem 0 2.75rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--paper); font-size: .95rem; transition: border-color .3s, box-shadow .3s; }
.search-field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(16, 37, 80, .12); }
.sup-count { font-size: .82rem; color: var(--muted); margin-bottom: .75rem; }
.sup-list { border-top: 1px solid var(--line); }
.sup-item { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: start; transition: background-color .3s; }
.sup-item:hover { background: linear-gradient(90deg, rgba(198, 170, 128, .08), transparent); }
.sup-item.is-hidden { display: none; }
.sup-item.is-new { animation: openIn .5s var(--ease-out); }
.sup-year { font-family: var(--f-display); font-size: 1.3rem; color: var(--burgundy); line-height: 1.2; min-width: 3ch; }
.sup-title { font-weight: 600; color: var(--navy); line-height: 1.45; font-size: .98rem; }
.sup-meta { margin-top: .3rem; font-size: .82rem; color: var(--muted); }
.sup-item .pill { grid-column: 2; justify-self: start; }
.sup-empty { padding: 2rem 0; color: var(--muted); }

/* ---------- PUBLICATIONS ---------- */
.pub-list { border-top: 1px solid var(--line-strong); }
.pub-list-more { border-top: 0; }
.pub { display: grid; grid-template-columns: 1fr; gap: .75rem; padding: 2rem 0; border-bottom: 1px solid var(--line); position: relative; }
.pub::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out); }
.pub:hover::before { transform: scaleX(1); }
.pub-year { font-family: var(--f-display); font-size: 3rem; line-height: .85; color: var(--navy); transition: color .4s; }
.pub:hover .pub-year { color: var(--burgundy); }
.pub-kicker { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--burgundy); }
.pub-title { margin-top: .5rem; font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); line-height: 1.32; color: var(--navy); }
.pub-title em { font-style: italic; }
.pub-authors { margin-top: .65rem; font-size: .9rem; color: var(--muted); }
.pub-authors strong { color: var(--ink); font-weight: 650; }
.pub-source { margin-top: .2rem; font-size: .9rem; color: var(--muted); }
.pub-action { display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; }
.pub-host { font-size: .76rem; color: var(--muted); }

.books { display: grid; gap: 2rem; margin-top: clamp(4rem, 8vw, 6rem); }
.books-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); }
.books-media img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.books-tag { position: absolute; left: 1rem; bottom: 1rem; background: var(--paper); color: var(--navy); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: .5rem .85rem; border-radius: 999px; }
.books-list .sub-title { margin-bottom: 1.5rem; }
.book { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); margin-bottom: 1rem; transition: border-color .4s, transform .5s var(--ease-out); }
.book:hover { border-color: var(--navy); transform: translateY(-3px); }
.book-year { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-display); font-size: 1.6rem; color: var(--burgundy); letter-spacing: .06em; padding-left: 1rem; border-left: 1px solid var(--line); line-height: 1; }
.book-title { font-family: var(--f-serif); font-weight: 400; font-size: 1.6rem; line-height: 1.2; color: var(--navy); }
.book-title span { font-size: .65em; color: var(--muted); font-style: normal; }
.book-pub { margin-top: .35rem; font-size: .86rem; color: var(--muted); }

/* ---------- SERVICE (navy) ---------- */
.service { overflow: hidden; }
.service::before { content: ""; position: absolute; width: 720px; height: 720px; right: -260px; top: -240px; border-radius: 50%; border: 1px solid var(--line-light); pointer-events: none; }
.svc-grid { display: grid; gap: 1rem; position: relative; }
.svc-card { padding: 1.75rem 1.6rem; border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .02); transition: background-color .5s, border-color .5s, transform .5s var(--ease-out); }
.svc-card:hover { background: rgba(255, 255, 255, .055); border-color: rgba(198, 170, 128, .55); transform: translateY(-3px); }
.svc-mark { display: none; font-family: var(--f-display); line-height: .85; color: rgba(198, 170, 128, .2); font-size: clamp(4.5rem, 7vw, 7.5rem); margin-bottom: auto; letter-spacing: .01em; white-space: nowrap; }
.svc-mark small { display: block; font-size: .7rem; line-height: 1.4; letter-spacing: .2em; color: rgba(198, 170, 128, .75); font-family: var(--f-sans); font-weight: 600; margin-bottom: .75rem; }
.svc-feature { background: linear-gradient(160deg, rgba(198, 170, 128, .16), rgba(198, 170, 128, .03)); border-color: rgba(198, 170, 128, .4); }
.svc-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(198, 170, 128, .5); color: var(--champagne); }
.svc-dates { margin-top: 1.4rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--champagne); }
.svc-card h3 { margin-top: .45rem; font-family: var(--f-serif); font-weight: 600; font-size: 1.22rem; line-height: 1.3; color: var(--paper); }
.svc-body { margin-top: .3rem; font-size: .85rem; color: rgba(248, 246, 241, .7); font-weight: 500; }
.svc-text { margin-top: .8rem; font-size: .9rem; color: rgba(248, 246, 241, .78); }
.memberships { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line-light); display: grid; gap: 1rem; }
.memberships-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--champagne); }
.memberships ul { display: grid; gap: .9rem; }
.memberships li { display: grid; grid-template-columns: auto 1fr; gap: .15rem .8rem; align-items: start; font-weight: 600; line-height: 1.4; }
.memberships li .icon { color: var(--champagne); grid-row: span 2; margin-top: .1rem; }
.memberships em { grid-column: 2; font-style: normal; font-weight: 400; font-size: .85rem; color: rgba(248, 246, 241, .65); }

/* ---------- HIGHLIGHTS ---------- */
.rec-grid { display: grid; gap: 1rem; }
.rec { position: relative; padding: 1.75rem 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; }
.rec::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; border: 1px solid rgba(198, 170, 128, .5); transition: transform .8s var(--ease-out); }
.rec:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.rec:hover::after { transform: scale(1.35); }
.rec-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--champagne); }
.rec-kicker { margin-top: 1.4rem; font-family: var(--f-display); font-size: 1.2rem; letter-spacing: .05em; color: var(--burgundy); line-height: 1; }
.rec h3 { margin-top: .45rem; font-family: var(--f-serif); font-weight: 600; font-size: 1.25rem; line-height: 1.3; color: var(--navy); }
.rec p:last-child { margin-top: .45rem; font-size: .9rem; color: var(--muted); }
.talks { display: grid; gap: 3rem; margin-top: clamp(3.5rem, 7vw, 5rem); }
.talks-col .sub-title { margin-bottom: 1.25rem; }
.talk-list, .pd-list { border-top: 1px solid var(--line); }
.talk-list li, .pd-list li { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.talk-year { font-family: var(--f-display); font-size: 1.3rem; color: var(--burgundy); line-height: 1.2; }
.talk-title { font-weight: 600; color: var(--navy); line-height: 1.4; }
.talk-meta { font-size: .84rem; color: var(--muted); margin-top: .15rem; }
.talks .toggle-btn { margin-top: 1.25rem; }

/* ---------- PRESENCE ---------- */
.presence { position: relative; overflow: hidden; background: var(--navy-2); color: var(--paper); padding-block: clamp(5rem, 10vw, 8.5rem); }
.presence-bg { position: absolute; inset: 0; }
.presence-bg img { width: 100%; height: 120%; object-fit: cover; opacity: .2; filter: grayscale(.6) contrast(1.05); will-change: transform; }
.presence-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy-2) 25%, rgba(11, 26, 59, .82) 60%, rgba(11, 26, 59, .65)); }
.presence-inner { position: relative; }
.profile-band { display: grid; gap: .75rem; }
.profile-link { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; min-height: 72px; border: 1px solid var(--line-light); border-radius: 14px; text-decoration: none; color: var(--paper); background: rgba(255, 255, 255, .03); transition: background-color .4s, border-color .4s, transform .5s var(--ease-out); }
.profile-link:hover, .profile-link:focus-visible { background: var(--paper); color: var(--navy); border-color: var(--paper); transform: translateY(-3px); }
.profile-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(248, 246, 241, .08); }
.profile-icon .icon { width: 20px; height: 20px; }
.profile-link:hover .profile-icon { background: var(--navy); color: var(--paper); }
.profile-text { display: flex; flex-direction: column; min-width: 0; }
.profile-name { font-weight: 600; font-size: .98rem; }
.profile-handle { font-size: .78rem; opacity: .65; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-arrow { margin-left: auto; width: 1.1rem; height: 1.1rem; transition: transform .4s var(--ease-out); }
.profile-link:hover .profile-arrow { transform: translate(3px, -3px); }

/* ---------- CONTACT ---------- */
.contact { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.contact-grid { display: grid; gap: 3rem; }
.contact-intro .sec-head { margin-bottom: 2rem; }
.contact-figure { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #8a5a2f; }
.contact-figure img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 30%; }
.contact-points { display: grid; gap: .75rem; margin-top: 1.75rem; }
.contact-points li { display: flex; align-items: center; gap: .85rem; font-weight: 600; color: var(--navy); font-size: .95rem; }
.contact-points .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--burgundy); }
.contact-direct { margin-top: 1.75rem; font-size: .92rem; color: var(--muted); }
.contact-direct a { color: var(--navy); font-weight: 600; }

.form-card { background: var(--white); border-radius: 22px; padding: clamp(1.5rem, 4vw, 2.75rem); box-shadow: 0 1px 2px rgba(16, 37, 80, .05), 0 30px 60px -30px rgba(16, 37, 80, .28); border: 1px solid var(--line); align-self: start; }
.form-title { font-family: var(--f-display); font-size: 2.2rem; line-height: 1; color: var(--navy); }
.form-req { margin-top: .4rem; font-size: .82rem; color: var(--muted); margin-bottom: 1.5rem; }
.field-row { display: grid; gap: 0 1.25rem; }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.req { color: var(--burgundy); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--paper);
  font-size: 1rem; color: var(--ink); transition: border-color .3s, box-shadow .3s, background-color .3s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 3px rgba(16, 37, 80, .12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(166, 25, 53, .1); }
.field-error { font-size: .8rem; color: var(--burgundy); font-weight: 500; min-height: 0; }
.field-error:empty { display: none; }
.select-wrap { position: relative; }
.select-wrap .icon { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); width: 1rem; height: 1rem; pointer-events: none; color: var(--muted); }
.select-wrap select { padding-right: 2.5rem; cursor: pointer; }
.field-foot { display: flex; justify-content: space-between; gap: 1rem; }
.char-count { font-size: .75rem; color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: .8rem; }
.field-check input { width: 22px; height: 22px; min-height: 0; padding: 0; border-radius: 6px; margin-top: .1rem; cursor: pointer; position: relative; }
.field-check input:checked { background: var(--navy); border-color: var(--navy); }
.field-check input:checked::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.field-check label { font-weight: 400; font-size: .86rem; color: var(--muted); line-height: 1.5; cursor: pointer; }
.field-check label a { color: var(--navy); font-weight: 600; }
.field-check .field-error { grid-column: 2; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: grid; gap: 1rem; margin-top: 1.5rem; }
.btn-submit { width: 100%; --bh: 56px; font-size: .95rem; }
.btn-submit .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn-submit.is-loading { pointer-events: none; opacity: .9; }
.btn-submit.is-loading .spinner { display: inline-block; }
.btn-submit.is-loading .btn-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-privacy { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: .4rem; }
.form-status { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: 12px; font-size: .92rem; line-height: 1.5; animation: openIn .5s var(--ease-out); }
.form-status .icon { margin-top: .1rem; }
.form-status.is-ok { background: rgba(16, 37, 80, .06); border: 1px solid rgba(16, 37, 80, .25); color: var(--navy); }
.form-status.is-err { background: rgba(166, 25, 53, .06); border: 1px solid rgba(166, 25, 53, .3); color: var(--burgundy-2); }
.form-status a { color: inherit; font-weight: 600; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy-2); color: rgba(248, 246, 241, .8); padding-top: clamp(4rem, 8vw, 6rem); font-size: .92rem; }
.footer-top { display: grid; gap: 2.75rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer-brand .logo-svg { height: 44px; }
.footer-name { margin-top: 1.5rem; font-family: var(--f-display); font-size: 2rem; color: var(--paper); line-height: 1; letter-spacing: .02em; }
.footer-roles { margin-top: .5rem; color: var(--champagne); font-size: .85rem; letter-spacing: .04em; }
.footer-roles span { margin: 0 .3rem; opacity: .7; }
.footer-inst { margin-top: .4rem; font-size: .85rem; }
.footer-label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--champagne); margin-bottom: 1rem; }
.footer-nav ul { display: grid; gap: .2rem; }
.footer-nav a, .footer-legal a, .footer-mail a { color: rgba(248, 246, 241, .85); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 0 1px no-repeat; transition: background-size .45s var(--ease-out), color .3s; }
.footer-nav a:hover, .footer-legal a:hover, .footer-mail a:hover { color: var(--paper); background-size: 100% 1px; }
.footer-social { display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-light); color: var(--paper); transition: background-color .35s, color .35s, transform .4s var(--ease-out); }
.footer-social a:hover { background: var(--paper); color: var(--navy); transform: translateY(-3px); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-mail { margin-top: 1rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.5rem 2rem; font-size: .82rem; color: rgba(248, 246, 241, .6); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer-legal .icon { width: .9rem; height: .9rem; margin-left: .3rem; transform: rotate(-45deg); }

/* ---------- Legal / simple pages ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero .display { font-size: clamp(3.2rem, 2rem + 6vw, 6.5rem); }
.page-hero .lede { margin-top: 1.25rem; }
.legal { padding-block: clamp(3rem, 7vw, 5rem) var(--section-y); }
.legal-body > * { max-width: 46rem; }
.legal-body h2 { font-family: var(--f-serif); font-weight: 600; font-size: 1.45rem; color: var(--navy); margin-top: 2.5rem; margin-bottom: .75rem; line-height: 1.3; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body p + p { margin-top: .9rem; }
.legal-body ul { list-style: disc; padding-left: 1.25rem; display: grid; gap: .45rem; margin-top: .75rem; }
.legal-body a { color: var(--navy); font-weight: 600; }
.legal-body strong { color: var(--ink); }
.legal-meta { font-size: .85rem; color: var(--muted); margin-top: 1rem; }
.notfound { min-height: 80svh; display: grid; align-items: center; padding-top: var(--header-h); }


/* ==========================================================================
   MOTION SYSTEM (only active with JS; failsafe in <head> removes .js)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Eyebrow + hairline */
.js .sec-head .eyebrow-idx, .js .sec-head .eyebrow-txt, .js .impact-head .eyebrow-idx, .js .impact-head .eyebrow-txt { opacity: 0; transform: translateY(12px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .sec-head .eyebrow-txt, .js .impact-head .eyebrow-txt { transition-delay: .12s; }
.js .sec-head .eyebrow-rule, .js .impact-head .eyebrow-rule { transform: scaleX(0); transition: transform 1s var(--ease-out) .05s; }
.js .is-in .eyebrow-idx, .js .is-in .eyebrow-txt { opacity: 1; transform: none; }
.js .is-in .eyebrow-rule { transform: scaleX(1); }

/* Split display headings: masked word rise + blur-to-sharp */
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .02em .06em; margin: -.08em -.02em -.06em; }
.split-i { display: inline-block; }
.js [data-split] .split-i { transform: translateY(110%); opacity: 0; filter: blur(8px); transition: transform 1.1s var(--ease-out), opacity .9s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--w, 0) * 70ms + 120ms); }
.js .is-in [data-split] .split-i, .js [data-split].is-in .split-i { transform: none; opacity: 1; filter: blur(0); }
.js [data-split] em .split-i { transform: translateY(40%) skewX(-6deg); transition-delay: calc(var(--w, 0) * 70ms + 300ms); }
.js .is-in [data-split] em .split-i { transform: none; }

/* Hero entrance */
.js .hero .ch > span { transform: translateY(105%); transition: transform 1.25s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 150ms); }
.js .hero.is-loaded .ch > span { transform: none; }
.js .hero [data-hero] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .hero [data-hero="1"] { transition-delay: .1s; }
.js .hero [data-hero="2"] { transition-delay: .75s; }
.js .hero [data-hero="3"] { transition-delay: .9s; }
.js .hero [data-hero="4"] { transition-delay: 1.05s; }
.js .hero [data-hero="5"] { transition-delay: 1.25s; }
.js .hero.is-loaded [data-hero] { opacity: 1; transform: none; }
.js .hero-portrait { opacity: 0; transform: translateY(30px) scale(1.04); transition: opacity 1.4s var(--ease-out) .35s, transform 1.8s var(--ease-out) .35s; }
.js .hero.is-loaded .hero-portrait { opacity: 1; transform: none; }
.js .hero-arch { transform: scaleY(.6); transform-origin: bottom; opacity: 0; transition: transform 1.4s var(--ease-out) .2s, opacity .8s var(--ease-out) .2s; }
.js .hero.is-loaded .hero-arch { transform: none; opacity: 1; }
.hero-figure-inner { will-change: transform; }

/* Stats label rise */
.js .stat .stat-label, .js .stat .stat-note { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--ease-out) .5s, transform .8s var(--ease-out) .5s; }
.js .stat.is-in .stat-label, .js .stat.is-in .stat-note { opacity: 1; transform: none; }

/* ==========================================================================
   BREAKPOINTS
   ========================================================================== */
@media (min-width: 560px) {
  .stats { gap: 2.5rem 2rem; }
  .course-cards { grid-template-columns: 1fr 1fr; }
  .rec-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .profile-band { grid-template-columns: 1fr 1fr; }
  .exp-grid { grid-template-columns: 1fr 1fr; }
  .sup-item { grid-template-columns: 4rem 1fr auto; }
  .sup-item .pill { grid-column: auto; }
  .form-actions { grid-template-columns: auto 1fr; align-items: center; }
  .btn-submit { width: auto; padding-inline: 2.25rem; }
}

@media (min-width: 768px) {
  .hero-bracket { display: block; }
  .hn { flex-direction: row; justify-content: space-between; }
  .hero-meta { font-size: .7rem; letter-spacing: .18em; }
  .hn-word { font-size: calc((min(100vw, var(--container)) - 2 * var(--gutter)) / 4.5); }
  .hn-word:last-child { align-self: auto; margin-top: 0; }
  .hero-figure { margin-top: -6vw; width: min(62%, 480px); }
  .hero-left, .hero-right { margin-top: 2.5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "meta meta" "name name" "figure figure" "left right"; column-gap: 3rem; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .about-facts dd { font-size: .95rem; }
  .pub { grid-template-columns: 6rem 1fr; column-gap: 2rem; }
  .pub-action { grid-column: 2; }
  .themes { gap: 1.25rem; }
  .talks { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .course-cards { grid-template-columns: repeat(3, 1fr); }
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
  .rec-grid { grid-template-columns: repeat(3, 1fr); }
  .exp-card { padding: 2.4rem 2rem 2.2rem; }
}

@media (min-width: 1024px) {
  :root { --header-h: 84px; }
  .primary-nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none; }

  /* Desktop hero: name across the top, portrait centre on navy arch, copy left/right */
  .hero { min-height: 100svh; min-height: max(100svh, 720px); display: flex; flex-direction: column; padding-top: calc(var(--header-h) + .5rem); }
  .hero-grid { flex: 1; grid-template-columns: 1fr minmax(0, 38%) 1fr; grid-template-rows: auto auto 1fr auto; grid-template-areas: "meta meta meta" "name name name" "left figure right" "cue figure right"; column-gap: clamp(1.5rem, 3vw, 3.5rem); }
  .hero-name { margin-top: .4rem; }
  .hn-word { font-size: calc((min(100vw, var(--container)) - 2 * var(--gutter)) / 4.55); }
  .hero-figure { grid-row: 2 / 5; grid-column: 2; align-self: end; margin: 0; width: 100%; max-width: none; }
  .hero-portrait { width: 114%; max-width: none; margin-left: -7%; max-height: calc(100svh - var(--header-h) - 7rem); object-fit: contain; object-position: center bottom; }
  .hero-arch { left: 4%; right: 4%; height: 64%; }
  .hero-left { align-self: end; margin: 0 0 2.5rem; }
  .hero-right { align-self: end; margin: 0 0 3.5rem; }
  .hero-slogan { font-size: clamp(3rem, 1rem + 3.3vw, 4.8rem); }
  .hero-intro { font-size: clamp(1.15rem, .9rem + .45vw, 1.45rem); }
  .scroll-cue { display: inline-flex; align-self: end; margin-bottom: 2rem; }
  .hero-ticker { margin-top: 0; }
  .hero-orbits { width: min(62vw, 1050px); top: 22%; }

  .split-head { grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
  .split-head-note { text-align: right; justify-self: end; padding-bottom: .6rem; }

  .about-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
  .about-media { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; max-width: none; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
  .pillar { grid-template-columns: 1fr; row-gap: .9rem; }
  .pillar-icon { grid-row: auto; }

  .journey { grid-template-columns: 7fr 5fr; gap: clamp(3rem, 7vw, 7rem); }
  .tl-list { gap: 3rem; }
  .research-grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); }
  .sup-head { grid-template-columns: 1fr auto; align-items: end; }
  .sup-controls { grid-template-columns: minmax(260px, 380px) 1fr; align-items: center; }
  .sup-controls .filter-bar { justify-content: flex-end; }
  .sup-item { grid-template-columns: 5rem 1fr auto; padding: 1.4rem 0; }
  .pub { grid-template-columns: 8rem 1fr 13rem; padding: 2.5rem 0; align-items: start; }
  .pub-year { font-size: 4rem; }
  .pub-action { grid-column: auto; align-items: flex-end; text-align: right; padding-top: .3rem; }
  .books { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 6vw, 6rem); align-items: center; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
  .svc-feature { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 2.25rem; }
  .svc-feature h3 { font-size: 1.6rem; }
  .svc-mark { display: block; }
  .memberships { grid-template-columns: auto 1fr; align-items: center; gap: 2rem; }
  .memberships ul { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .profile-band { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .profile-link { flex-direction: column; align-items: flex-start; min-height: 170px; padding: 1.4rem; position: relative; }
  .profile-arrow { position: absolute; top: 1.4rem; right: 1.4rem; }
  .profile-text { margin-top: auto; }
  .contact-grid { grid-template-columns: 5fr 6fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .footer-top { grid-template-columns: 2fr 1fr 1.3fr; }
}

@media (min-width: 1440px) {
  :root { --container: 1440px; }
  .hero-grid { grid-template-columns: 1fr minmax(0, 36%) 1fr; }
}

/* Short desktop viewports (e.g. 1366×768) */
@media (min-width: 1024px) and (max-height: 820px) {
  .hn-word { font-size: calc((min(100vw, var(--container)) - 2 * var(--gutter)) / 5.1); }
  .hero-portrait { max-height: calc(100svh - var(--header-h) - 9rem); }
  .hero-slogan { font-size: clamp(2.6rem, .6rem + 3vw, 3.8rem); }
  .hero-left { margin-bottom: 1.75rem; }
  .hero-right { margin-bottom: 2.25rem; }
  .hero-ctas { margin-top: 1.25rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .split-i, .js .hero .ch > span, .js .hero [data-hero], .js .hero-portrait, .js .hero-arch,
  .js .sec-head .eyebrow-idx, .js .sec-head .eyebrow-txt, .js .stat .stat-label, .js .stat .stat-note { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .sec-head .eyebrow-rule { transform: none !important; }
  .ticker-track, .orbit-dot, .scroll-line::after { animation: none !important; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .hero-ticker, .hero-orbits, .scroll-cue, .form-card, .presence-bg, .toggle-btn { display: none !important; }
  .js [data-reveal], .js [data-split] .split-i { opacity: 1 !important; transform: none !important; filter: none !important; }
  [hidden].collapsible, .pd-extra { display: block !important; }
  body { background: #fff; }
}

/* Hero CTA sizing on desktop so both buttons sit on one line */
@media (min-width: 1024px) {
  .hero-ctas { gap: .6rem; }
  .hero-ctas .btn { padding-inline: 1.2rem; }
  .hero-slogan { font-size: clamp(2.8rem, 1rem + 3vw, 4.4rem); }
}
