/* darrell.sg — dark cinematic theme */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink-0: #04060b;
  --ink-1: #080c16;
  --ink-2: #0e1524;
  --ink-3: #152035;
  --line: rgba(220, 230, 255, 0.09);
  --line-strong: rgba(220, 230, 255, 0.16);
  --text: #edf1f8;
  --text-2: #b9c3d6;
  --muted: #8692a8;
  --gold: #d6b26e;
  --gold-hi: #f3d9a1;
  --gold-deep: #a5803e;
  --sky: #86b6ff;
  --font-display: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --nav-h: 72px;
}

html { scroll-behavior: smooth; background: var(--ink-0); }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--ink-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: rgba(214, 178, 110, 0.35); color: #fff; }

/* Film grain over everything (cheap SVG turbulence) */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 1000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(6, 9, 16, 0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav__mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #121b2e, #0a0f1b);
  border: 1px solid rgba(214, 178, 110, 0.35);
  font-family: var(--font-display); font-size: 1.25rem; color: var(--gold);
}
.nav__name { font-weight: 500; letter-spacing: 0.01em; font-size: 0.95rem; }
.nav__links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav__links a:not(.btn) {
  text-decoration: none; font-size: 0.82rem; color: var(--text-2);
  letter-spacing: 0.02em; transition: color 0.25s;
}
.nav__links a:not(.btn):hover { color: var(--text); }

/* ── Buttons ─────────────────────────────────────────── */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.6rem; border-radius: 999px;
  font: 500 0.9rem/1 var(--font-body); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer; border: 0;
  transform: translate(var(--bx), var(--by));
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s, background 0.35s, color 0.35s, border-color 0.35s;
}
.btn--gold {
  color: #1a1206;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 10px 30px -10px rgba(214, 178, 110, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.btn--gold:hover { box-shadow: 0 16px 44px -12px rgba(214, 178, 110, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.btn--ghost {
  color: var(--text); background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(214, 178, 110, 0.6); color: var(--gold-hi); }
.btn--sm { padding: 0.65rem 1.1rem; font-size: 0.8rem; }
.btn svg { width: 1em; height: 1em; }
.btn:focus-visible, .nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(60% 50% at 78% 18%, rgba(70, 110, 190, 0.22), transparent 70%),
    radial-gradient(45% 40% at 12% 85%, rgba(214, 178, 110, 0.10), transparent 70%),
    linear-gradient(180deg, #060a14 0%, var(--ink-0) 100%);
}
/* faint engineering grid */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(140, 170, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 230, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 60% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 40%, #000 30%, transparent 80%);
}
.hero__globe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0;
  animation: fade-in 2.2s 0.2s var(--ease-out) forwards;
}
.hero__portrait {
  position: absolute; z-index: 2;
  bottom: 0;
  right: clamp(-4rem, 2vw, 4rem);
  height: min(92svh, 1070px);
  aspect-ratio: 1305 / 1400;
  padding-top: 6svh; /* headroom so the rim glow is not clipped by the mask box */
  transform: translate3d(calc(var(--px, 0px) + var(--ox, 0%)), var(--py, 0px), 0);
  transition: transform 0.6s var(--ease-out);
  opacity: 0;
  animation: rise-in 1.4s 0.35s var(--ease-out) forwards;
  /* the photo crops the shoulders: fade the side edges so no hard border shows */
  mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.hero__portrait img {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom center;
  filter:
    drop-shadow(-14px 0 26px rgba(214, 178, 110, 0.20))
    drop-shadow(10px -6px 30px rgba(110, 160, 255, 0.22));
}
/* rim light sweep across the portrait */
.hero__portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 230, 180, 0.10) 48%, transparent 60%);
  background-size: 250% 100%;
  mix-blend-mode: screen;
  -webkit-mask: url("../img/darrell-cutout-800.webp?v=5") bottom center / contain no-repeat;
  mask: url("../img/darrell-cutout-800.webp?v=5") bottom center / contain no-repeat;
  animation: sheen 7s 2s ease-in-out infinite;
  pointer-events: none;
}
/* bottom fade sits ABOVE the portrait so the shirt never turns see-through */
.hero__fade {
  position: absolute; inset: auto 0 0 0; height: 22%; z-index: 2;
  background: linear-gradient(to bottom, transparent, var(--ink-0) 92%);
  pointer-events: none;
}
.hero__content::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 0 -30% 0 -10%;
  background: radial-gradient(60% 55% at 30% 50%, rgba(4, 6, 11, 0.78), rgba(4, 6, 11, 0.35) 55%, transparent 75%);
}
.hero__content {
  position: relative; z-index: 3;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 6rem;
  max-width: min(46rem, 52vw);
}
.hero__content > * { opacity: 0; animation: rise-in 1s var(--ease-out) forwards; }
.hero__content > :nth-child(1) { animation-delay: 0.5s; }
.hero__content > :nth-child(2) { animation-delay: 0.62s; }
.hero__content > :nth-child(3) { animation-delay: 0.8s; }
.hero__content > :nth-child(4) { animation-delay: 0.95s; }
.hero__content > :nth-child(5) { animation-delay: 1.1s; }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4rem, 10.5vw, 10rem);
  line-height: 0.94;
  letter-spacing: -0.015em;
  margin: 1.4rem 0 1.6rem;
}
.hero__title .line { display: block; }
.hero__title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.08em;
}
.hero__lede {
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  color: var(--text-2);
  max-width: 32rem;
  font-weight: 300;
  line-height: 1.7;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }
.hero__meta {
  margin-top: 2.6rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--muted); text-transform: uppercase;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.live-dot {
  position: relative;
  width: 7px; height: 7px; border-radius: 50%; background: #5be38f;
}
/* the ping is a scaled, fading copy of the dot: transform + opacity, so it never repaints */
.live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(91, 227, 143, 0.55);
  animation: ping 2.2s infinite;
}
.scroll-cue {
  position: absolute; z-index: 3; left: var(--gutter); bottom: 2rem;
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.scroll-cue i {
  width: 1px; height: 42px; background: linear-gradient(var(--gold), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%;
  background: var(--gold-hi); transform: translateY(-100%);
  animation: drip 2s infinite var(--ease-out);
}

/* ── Keyframes ───────────────────────────────────────── */
@keyframes fade-in { to { opacity: 1; } }
@keyframes rise-in {
  from { opacity: 0; transform: translate3d(calc(var(--px, 0px) + var(--ox, 0%)), calc(var(--py, 0px) + 28px), 0); }
  to { opacity: 1; transform: translate3d(calc(var(--px, 0px) + var(--ox, 0%)), var(--py, 0px), 0); }
}
@keyframes sheen { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
/* ping: 7px dot -> 27px halo (the old 10px box-shadow spread), fading out */
@keyframes ping {
  0% { transform: scale(1); opacity: 1; }
  80%, 100% { transform: scale(3.85); opacity: 0; }
}
/* drip: the gold bead runs from above the line (-40%) to below it (110%) */
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(275%); } }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --nav-h: 62px; }
  .nav__links li:not(:last-child) { display: none; }
  .hero__content {
    max-width: none;
    justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 1rem);
    padding-bottom: 44svh;
  }
  .hero__portrait { right: -24%; height: 50svh; padding-top: 3svh; }
  .hero__title { font-size: clamp(3.2rem, 15vw, 5.5rem); margin: 0.8rem 0 1rem; }
  .hero__actions { margin-top: 1.6rem; }
  .hero__meta { margin-top: 1.4rem; }
  .hero__lede { font-size: 1rem; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* ════════════════════════════════════════════════════════════════════
   BELOW THE HERO — sections and global polish (v2, sections agent)
   ════════════════════════════════════════════════════════════════════ */

/* ── Utilities ───────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.wrap { width: min(100% - 2 * var(--gutter), 1240px); margin-inline: auto; }
main { position: relative; display: block; }
main:focus { outline: none; }
main [id] { scroll-margin-top: var(--nav-h); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.label-mono {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}

/* ── Skip link ───────────────────────────────────────── */
.skip-link {
  position: fixed; z-index: 200; left: var(--gutter); top: 0.8rem;
  padding: 0.75rem 1.15rem; border-radius: 999px;
  background: var(--gold); color: #1a1206; text-decoration: none;
  font: 500 0.85rem/1 var(--font-body);
  transform: translateY(-180%);
  transition: transform 0.35s var(--ease-out);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* ── Nav additions: scroll progress, hamburger ───────── */
.nav__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 60%, var(--gold-hi));
  box-shadow: 0 0 10px rgba(214, 178, 110, 0.55);
  opacity: 0; transition: opacity 0.4s;
  pointer-events: none;
}
.nav.is-scrolled .nav__progress { opacity: 1; }

.nav__toggle {
  display: none; position: relative; flex: none;
  width: 42px; height: 42px; margin-left: 0.55rem;
  border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03); color: var(--text);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav__toggle:hover { border-color: rgba(214, 178, 110, 0.55); }
.nav__toggle span {
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1.5px; margin: -0.75px 0 0 -8px;
  border-radius: 2px; background: currentColor;
  transition: transform 0.5s var(--ease-out);
}
.nav__toggle span:nth-child(1) { transform: translateY(-3.5px); }
.nav__toggle span:nth-child(2) { transform: translateY(3.5px); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: rotate(-45deg); }
.nav__toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ── Mobile menu overlay ─────────────────────────────── */
.menu { display: none; }
html.menu-open { overflow: hidden; }
html.menu-open .nav { background: transparent; border-bottom-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
html.menu-open .nav .nav__progress { opacity: 0; }
.menu__inner {
  min-height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
}
.menu__links { list-style: none; border-top: 1px solid var(--line); }
.menu__links li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__links a {
  display: flex; align-items: baseline; gap: 1.1rem;
  padding: 1.05rem 0 0.95rem;
  font-family: var(--font-display); font-size: clamp(2.3rem, 10.5vw, 3.6rem);
  line-height: 1; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
  transform: translate3d(0, 105%, 0);
  transition: transform 0.8s var(--ease-out), color 0.3s;
  transition-delay: calc(var(--i, 0) * 55ms + 60ms);
}
.menu__links a:hover { color: var(--gold-hi); }
.menu__links a span {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--gold);
  transform: translateY(-0.9em);
}
.menu__foot {
  display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem;
  opacity: 0; transform: translate3d(0, 16px, 0);
  transition: opacity 0.6s var(--ease-out) 0.35s, transform 0.8s var(--ease-out) 0.35s;
}
.menu__meta {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.menu__meta a { color: var(--text-2); text-decoration: none; text-transform: none; letter-spacing: 0.04em; }
.menu__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.menu.is-open .menu__links a { transform: none; }
.menu.is-open .menu__foot { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav__links { margin-left: auto; }
  .nav__toggle { display: inline-block; }
  .menu {
    display: block; position: fixed; inset: 0; z-index: 49;
    overflow-y: auto; overscroll-behavior: contain;
    padding: calc(var(--nav-h) + 1.5rem) var(--gutter) calc(1.75rem + env(safe-area-inset-bottom));
    background:
      radial-gradient(90% 55% at 85% 0%, rgba(70, 110, 190, 0.24), transparent 70%),
      radial-gradient(70% 45% at 0% 100%, rgba(214, 178, 110, 0.11), transparent 70%),
      rgba(4, 6, 11, 0.95);
    backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s var(--ease-out), visibility 0s linear 0.5s;
  }
  .menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.5s var(--ease-out), visibility 0s; }
}

/* ── Cursor spotlight (fine pointers; JS turns it on) ── */
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: 0;
  width: 680px; height: 680px; margin: -340px 0 0 -340px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(214, 178, 110, 0.075), rgba(134, 182, 255, 0.03) 55%, transparent);
  opacity: 0; transition: opacity 0.8s;
  will-change: transform;
}
.cursor-glow.is-on { opacity: 1; }

/* ── Buttons: large variant ──────────────────────────── */
.btn--lg { padding: 1.3rem 2.3rem; font-size: 1rem; gap: 0.8rem; }

/* ── Reveal system ───────────────────────────────────────
   Content is only hidden when scripting is on; a failsafe
   shows everything if main.js never boots (no .js-ready). */
@media (scripting: enabled) {
  .reveal {
    opacity: 0; transform: translate3d(0, 28px, 0);
    transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .reveal--slide { transform: translate3d(40px, 0, 0); }
  .reveal.is-in { opacity: 1; transform: none; }
  [data-split]:not(.is-split) { opacity: 0; }
  html:not(.js-ready) .reveal,
  html:not(.js-ready) [data-split] { animation: reveal-failsafe 0.01s 3s forwards; }
}
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }

/* split-text titles: each word rises out of its own mask */
.split-word {
  display: inline-block; vertical-align: top; overflow: hidden;
  padding: 0 0.08em 0.16em; margin: 0 -0.08em -0.16em;
}
.split-word > span {
  display: inline-block;
  transform: translate3d(0, 112%, 0);
  transition: transform 1.25s var(--ease-out);
  transition-delay: calc(var(--w, 0) * 80ms + 60ms);
}
[data-split].is-in .split-word > span { transform: none; }

/* ── Sections: shared scaffolding ────────────────────── */
.section {
  position: relative; isolation: isolate; overflow-x: clip;
  padding-block: clamp(3.5rem, 6vw, 5.5rem) clamp(5rem, 9vw, 8.5rem);
}
.section-head {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  align-items: end; column-gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(2.75rem, 5.5vw, 5rem);
}
.section-head::after {
  content: ""; height: 1px; margin-bottom: 0.9em;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.section-head__index {
  grid-column: 1 / -1;
  display: flex; align-items: center;
  margin-bottom: 1.3rem;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
}
.section-head__index span { display: inline-flex; align-items: center; color: var(--gold); }
.section-head__index span::after {
  content: ""; width: 2.6rem; height: 1px; margin: 0 0.9rem;
  background: linear-gradient(90deg, var(--gold), rgba(214, 178, 110, 0.15));
}
.section-head__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(3.1rem, 7.4vw, 7rem);
  line-height: 1.02; letter-spacing: -0.015em;
}
.section-head__title em,
.talk__title em {
  font-style: italic;
  background: linear-gradient(100deg, var(--gold-hi), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 0.08em;
}

/* glass surface shared by cards */
.stat, .tl-card, .edu, .contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 40px 80px -50px rgba(0, 0, 0, 0.9);
}

/* cursor spotlight border + inner wash (JS feeds --mx/--my) */
.glow-card { --mx: 50%; --my: 0%; position: relative; }
.glow-card::before,
.glow-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; opacity: 0; transition: opacity 0.5s var(--ease-out);
}
.glow-card::before {
  z-index: 2; padding: 1px;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(243, 217, 161, 0.75), rgba(214, 178, 110, 0.16) 42%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glow-card::after {
  background: radial-gradient(460px circle at var(--mx) var(--my), rgba(214, 178, 110, 0.075), transparent 62%);
}
@media (hover: hover) and (pointer: fine) {
  .glow-card:hover::before, .glow-card:hover::after { opacity: 1; }
}
.glow-card:focus-visible::before { opacity: 1; }

/* ── Marquee band ────────────────────────────────────── */
.marquee {
  position: relative; overflow: hidden;
  padding-block: clamp(1.3rem, 2.4vw, 2.1rem);
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.014), rgba(255, 255, 255, 0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; align-items: center; list-style: none; }
.marquee__group li {
  display: flex; align-items: center;
  gap: clamp(1.4rem, 3vw, 2.8rem); padding-right: clamp(1.4rem, 3vw, 2.8rem);
  white-space: nowrap;
  font-family: var(--font-display); font-size: clamp(1.45rem, 2.6vw, 2.5rem);
  line-height: 1.15; letter-spacing: 0.004em;
  color: rgba(237, 241, 248, 0.74);
}
.marquee__group li:nth-child(even) { font-style: italic; color: rgba(214, 178, 110, 0.88); }
.marquee__glyph { flex: none; width: 0.36em; height: 0.36em; fill: var(--gold); opacity: 0.75; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.is-paused, .is-paused *, .is-paused::before, .is-paused::after,
.is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

/* ── 01 About ────────────────────────────────────────── */
.about::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -18vw; top: 4%; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(closest-side, rgba(70, 110, 190, 0.13), transparent);
}
.about__grid {
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2.5rem, 6vw, 6.5rem); align-items: start;
}
.about__lede {
  display: block; margin-bottom: 1.5rem;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.75rem, 2.75vw, 2.65rem);
  line-height: 1.17; letter-spacing: 0.004em; color: var(--text);
}
.about__lede em { font-style: italic; color: var(--gold-hi); white-space: nowrap; }
.about__prose p {
  max-width: 40rem;
  font-size: clamp(1rem, 1.12vw, 1.08rem); font-weight: 300; line-height: 1.85;
  color: var(--text-2);
}
.about__prose p + p { margin-top: 1.25rem; }
.about__tools { margin-top: 2.6rem; }
.about__tools .label-mono { margin-bottom: 0.95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; }
.chip {
  padding: 0.52rem 0.9rem; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.03em; color: var(--text-2);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.chip:hover { border-color: rgba(214, 178, 110, 0.5); color: var(--gold-hi); background: rgba(214, 178, 110, 0.05); }

.stats {
  list-style: none; margin-top: 3rem;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem;
}
.stat {
  position: relative; overflow: hidden; container-type: inline-size;
  padding: clamp(1.25rem, 2vw, 1.75rem); border-radius: 18px;
}
.stat::before {
  content: ""; position: absolute; top: -1px; left: clamp(1.25rem, 2vw, 1.75rem);
  width: 30px; height: 1px; background: var(--gold);
  box-shadow: 0 0 14px rgba(214, 178, 110, 0.9);
}
.stat__value {
  font-family: "Instrument Serif", "Noto Serif SC", Georgia, serif; font-weight: 400;
  font-size: clamp(1.7rem, 15cqi, 3.5rem);
  line-height: 1; letter-spacing: -0.02em; color: var(--text);
  white-space: nowrap;
}
.stat__label {
  margin-top: 0.85rem;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}

.about__visual { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.portrait {
  --cap-h: 3.2rem;
  --tick: rgba(214, 178, 110, 0.5);
  position: relative; overflow: hidden; isolation: isolate;
  height: min(78svh, 740px); min-height: 480px;
  border-radius: 28px; border: 1px solid var(--line);
  background:
    radial-gradient(70% 50% at 50% 58%, rgba(70, 110, 190, 0.2), transparent 70%),
    radial-gradient(60% 28% at 50% 100%, rgba(214, 178, 110, 0.13), transparent 70%),
    linear-gradient(180deg, rgba(14, 21, 36, 0.75), rgba(6, 9, 16, 0.6));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 60px 120px -60px rgba(0, 0, 0, 0.95);
}
.portrait::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(140, 170, 230, 0.16) 1px, transparent 1.3px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(75% 65% at 50% 42%, #000, transparent 78%);
  mask-image: radial-gradient(75% 65% at 50% 42%, #000, transparent 78%);
}
.portrait__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.portrait__fallback {
  display: none; position: absolute; inset: 9% 7% 0;
  background: url("../img/darrell-cutout-800.webp?v=5") bottom center / contain no-repeat;
  filter: grayscale(1) sepia(0.85) saturate(1.5) hue-rotate(-8deg) brightness(1.05) contrast(1.15);
  -webkit-mask-image: radial-gradient(circle, #000 1.25px, transparent 1.9px);
  mask-image: radial-gradient(circle, #000 1.25px, transparent 1.9px);
  -webkit-mask-size: 6px 6px; mask-size: 6px 6px;
  opacity: 0.9;
}
.portrait.is-fallback .portrait__fallback { display: block; }
.portrait__ticks {
  position: absolute; inset: 16px; pointer-events: none;
  background:
    linear-gradient(var(--tick), var(--tick)) left top / 18px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) left top / 1px 18px no-repeat,
    linear-gradient(var(--tick), var(--tick)) right top / 18px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) right top / 1px 18px no-repeat,
    linear-gradient(var(--tick), var(--tick)) left bottom / 18px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) left bottom / 1px 18px no-repeat,
    linear-gradient(var(--tick), var(--tick)) right bottom / 18px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) right bottom / 1px 18px no-repeat;
  bottom: calc(var(--cap-h) + 12px);
}
.portrait__caption {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--cap-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 1.4rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(4, 6, 11, 0.55), rgba(4, 6, 11, 0.85));
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.portrait__caption span { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.portrait__caption i {
  position: relative;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.portrait__caption i::after, .badge-now i::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(214, 178, 110, 0.55); animation: ping-gold 2.4s infinite;
}

/* ── 02 Career timeline ──────────────────────────────── */
.career::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -22vw; top: 18%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(214, 178, 110, 0.07), transparent);
}
.timeline { --date-w: 12.5rem; --node-w: 4.5rem; position: relative; }
.timeline__rail {
  position: absolute; top: 2.2rem; bottom: 2.2rem;
  left: calc(var(--date-w) + var(--node-w) / 2); width: 1px; margin-left: -0.5px;
  background: var(--line-strong);
}
.timeline__fill {
  position: absolute; inset: 0;
  transform-origin: 50% 0; transform: scaleY(var(--tl, 0));
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 45%, var(--gold-deep));
  box-shadow: 0 0 12px rgba(214, 178, 110, 0.5);
}
.timeline__head {
  position: absolute; left: 50%; top: calc(var(--tl, 0) * 100%);
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 0 4px rgba(214, 178, 110, 0.14), 0 0 22px 5px rgba(243, 217, 161, 0.55);
}
.timeline__list { list-style: none; display: grid; gap: clamp(1.25rem, 2.6vw, 2.25rem); }
.tl-item {
  display: grid; grid-template-columns: var(--date-w) var(--node-w) minmax(0, 1fr);
  align-items: start;
}
.tl-item__when { padding-top: 1.95rem; text-align: right; }
.tl-item__date {
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text);
}
.tl-item__tenure {
  margin-top: 0.55rem;
  display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: var(--muted);
}
.tl-item__node {
  position: relative; z-index: 1; justify-self: center;
  width: 11px; height: 11px; margin-top: 2.05rem; border-radius: 50%;
  background: var(--ink-0); border: 1px solid var(--line-strong);
  transition: border-color 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out), background 0.6s;
}
.tl-item.is-active .tl-item__node {
  border-color: var(--gold);
  background: radial-gradient(circle, var(--gold-hi) 0 2px, var(--ink-0) 2.6px);
  box-shadow: 0 0 0 4px rgba(214, 178, 110, 0.1), 0 0 18px rgba(214, 178, 110, 0.5);
}
/* "Now" pulse: a soft gold ring that leaves the node's own centre untouched */
.tl-item.is-current .tl-item__node::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 2px solid rgba(214, 178, 110, 0.5); animation: ping-ring 2.4s infinite;
}
.tl-card {
  position: relative; max-width: 54rem;
  padding: clamp(1.5rem, 2.6vw, 2.3rem) clamp(1.5rem, 2.8vw, 2.6rem);
  border-radius: 20px;
  transition: border-color 0.5s, opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: 0s, var(--d, 0ms), var(--d, 0ms);
}
.tl-card:hover { border-color: rgba(214, 178, 110, 0.26); }
.tl-item.is-current .tl-card {
  border-color: rgba(214, 178, 110, 0.22);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(214, 178, 110, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}
.tl-card__role {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.65rem, 2.35vw, 2.2rem); line-height: 1.08; letter-spacing: 0.004em;
}
.tl-card__org { margin-top: 0.6rem; font-size: 0.96rem; color: var(--text-2); }
.tl-card__org strong { font-weight: 500; color: var(--text); }
.tl-card__context {
  margin-top: 0.5rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); line-height: 1.6;
}
.tl-card__desc {
  margin-top: 1.15rem; max-width: 46rem;
  font-weight: 300; line-height: 1.8; color: var(--text-2);
}
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 1.35rem; }
.tags li, .edu__award {
  padding: 0.44rem 0.78rem; border-radius: 999px;
  border: 1px solid rgba(214, 178, 110, 0.22); background: rgba(214, 178, 110, 0.07);
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-hi); line-height: 1.3;
}
.badge-now {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.3rem 0.62rem 0.3rem 0.52rem; border-radius: 999px;
  border: 1px solid rgba(214, 178, 110, 0.42); background: rgba(214, 178, 110, 0.08);
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-hi);
}
.badge-now i {
  position: relative;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}

/* ── 03 Education bento ──────────────────────────────── */
.education::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: -10vw; bottom: -10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(70, 110, 190, 0.11), transparent);
}
.bento {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(16rem, auto); gap: 1rem;
}
.bento__cell { display: flex; }
.bento__cell--featured { grid-column: span 2; grid-row: span 2; }
.bento__cell--wide { grid-column: span 2; }
.edu {
  --rx: 0deg; --ry: 0deg;
  width: 100%; display: flex; flex-direction: column; overflow: hidden;
  padding: clamp(1.4rem, 2.2vw, 2rem); border-radius: 22px;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.7s var(--ease-out), border-color 0.4s;
}
.edu:hover { border-color: rgba(214, 178, 110, 0.2); }
.edu__year {
  position: relative;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
}
.edu__body { position: relative; margin-top: auto; padding-top: 2.2rem; display: flex; flex-direction: column; align-items: flex-start; }
.edu__degree {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.4rem, 1.75vw, 1.7rem); line-height: 1.14; letter-spacing: 0.004em;
}
.edu__school { margin-top: 0.55rem; font-size: 0.93rem; color: var(--text); }
.edu__note { margin-top: 0.35rem; font-size: 0.86rem; line-height: 1.55; color: var(--muted); }
.edu__award { margin-top: 1.05rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.edu__award svg { width: 0.8rem; height: 0.8rem; fill: var(--gold); flex: none; }
.edu--featured {
  padding: clamp(1.6rem, 3vw, 2.8rem);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(214, 178, 110, 0.13), transparent 62%),
    radial-gradient(70% 60% at 0% 100%, rgba(70, 110, 190, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border-color: rgba(214, 178, 110, 0.18);
}
.edu--featured .edu__degree { font-size: clamp(2.3rem, 3.9vw, 3.9rem); line-height: 1.06; letter-spacing: 0.004em; max-width: 12ch; }
.edu--featured .edu__school { margin-top: 1rem; font-size: 1.05rem; }
.edu--featured .edu__note { font-size: 0.95rem; }
.edu--featured .edu__award { margin-top: 1.5rem; font-size: 0.7rem; padding: 0.6rem 1rem; }
.edu__mark {
  position: absolute; right: -0.04em; top: -0.16em;
  font-family: var(--font-display); font-size: clamp(9rem, 19vw, 19rem);
  line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(214, 178, 110, 0.16);
  pointer-events: none; user-select: none;
}

/* ── 04 Let's talk CTA band ──────────────────────────── */
.talk {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(7rem, 15vw, 13rem);
  text-align: center;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 50% 120%, rgba(214, 178, 110, 0.1), transparent 60%),
    linear-gradient(180deg, var(--ink-0), #060a14 50%, var(--ink-0));
}
.talk::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(140, 170, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 230, 0.045) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000 20%, transparent 80%);
  mask-image: radial-gradient(60% 70% at 50% 50%, #000 20%, transparent 80%);
}
.talk__aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.talk__aurora span { position: absolute; border-radius: 50%; will-change: transform; }
.talk__aurora span:nth-child(1) {
  left: 4%; top: 18%; width: 58vw; height: 40vw;
  background: radial-gradient(closest-side, rgba(214, 178, 110, 0.26), rgba(214, 178, 110, 0.06) 60%, transparent);
  animation: aurora-a 24s ease-in-out infinite alternate;
}
.talk__aurora span:nth-child(2) {
  right: 0; top: 4%; width: 60vw; height: 42vw;
  background: radial-gradient(closest-side, rgba(80, 130, 230, 0.28), rgba(80, 130, 230, 0.06) 60%, transparent);
  animation: aurora-b 28s ease-in-out infinite alternate;
}
.talk__aurora span:nth-child(3) {
  left: 30%; top: 46%; width: 44vw; height: 30vw;
  background: radial-gradient(closest-side, rgba(243, 217, 161, 0.16), transparent);
  animation: aurora-c 32s ease-in-out infinite alternate;
}
@keyframes aurora-a { from { transform: translate3d(-6%, 4%, 0) scale(1); } to { transform: translate3d(10%, -6%, 0) scale(1.12); } }
@keyframes aurora-b { from { transform: translate3d(8%, 0, 0) scale(1.08); } to { transform: translate3d(-12%, 10%, 0) scale(0.94); } }
@keyframes aurora-c { from { transform: translate3d(-10%, -4%, 0) scale(0.9); } to { transform: translate3d(12%, 6%, 0) scale(1.1); } }
.talk__ghost {
  position: absolute; inset: 0; z-index: -1;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; user-select: none;
}
.talk__ghost span {
  flex: none; white-space: nowrap;
  font-family: var(--font-display); font-size: clamp(9rem, 26vw, 30rem);
  line-height: 0.8; letter-spacing: -0.035em;
  color: transparent; -webkit-text-stroke: 1px rgba(214, 178, 110, 0.13);
  animation: ghost-drift 46s ease-in-out infinite alternate;
}
@keyframes ghost-drift { from { transform: translate3d(-7%, 0, 0); } to { transform: translate3d(7%, 0, 0); } }
.talk__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.talk .section-head__index { margin-bottom: 1.6rem; }
.talk__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(4.4rem, 14vw, 13rem);
  line-height: 0.96; letter-spacing: -0.02em;
}
.talk__text {
  margin-top: 2rem; max-width: 34rem;
  font-size: clamp(1.02rem, 1.3vw, 1.18rem); font-weight: 300; line-height: 1.75; color: var(--text-2);
}
.talk__action { margin-top: 2.8rem; }

/* ── 05 Contact ──────────────────────────────────────── */
.contact::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; bottom: -30%; width: 80vw; height: 50vw; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(214, 178, 110, 0.06), transparent);
}
.contact-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
}
.contact-grid > li { display: flex; }
.contact-card {
  width: 100%; min-height: 12.5rem;
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 1.6rem; border-radius: 20px;
  color: inherit; text-decoration: none; text-align: left;
  font: inherit; cursor: pointer;
  transition: transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.6s var(--ease-out);
}
.contact-card:hover {
  transform: translate3d(0, -6px, 0);
  border-color: rgba(214, 178, 110, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 34px 70px -34px rgba(0, 0, 0, 0.95), 0 0 50px -14px rgba(214, 178, 110, 0.3);
}
.contact-card__icon {
  width: 48px; height: 48px; flex: none; border-radius: 14px;
  display: grid; place-items: center;
  border: 1px solid rgba(214, 178, 110, 0.32);
  background: linear-gradient(145deg, #121b2e, #0a0f1b);
  color: var(--gold);
  transition: border-color 0.4s, box-shadow 0.5s;
}
.contact-card:hover .contact-card__icon { border-color: rgba(214, 178, 110, 0.6); box-shadow: 0 0 24px -4px rgba(214, 178, 110, 0.45); }
.contact-card__icon svg { width: 21px; height: 21px; }
.contact-card__text { margin-top: auto; padding-top: 2.4rem; display: flex; flex-direction: column; min-width: 0; }
.contact-card__label {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); transition: color 0.3s;
}
.contact-card__value {
  margin-top: 0.5rem;
  font-size: 1.04rem; font-weight: 500; letter-spacing: 0.005em; color: var(--text);
  overflow-wrap: anywhere; user-select: text;
}
.contact-card__arrow {
  position: absolute; top: 1.7rem; right: 1.6rem; width: 18px; height: 18px;
  color: var(--muted);
  transition: transform 0.5s var(--ease-out), color 0.3s;
}
.contact-card:hover .contact-card__arrow { color: var(--gold-hi); transform: translate3d(3px, -3px, 0); }
.contact-card:hover .contact-card__arrow--copy { transform: scale(1.08); }
.contact-card.is-copied { border-color: rgba(214, 178, 110, 0.45); }
.contact-card.is-copied .contact-card__label { color: var(--gold-hi); }

/* ── Footer ──────────────────────────────────────────── */
.footer {
  position: relative;
  border-top: 1px solid var(--line);
  padding-block: clamp(2.8rem, 6vw, 4.5rem) calc(2rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 60%);
}
.footer__top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem 2rem;
  padding-bottom: 2.2rem; border-bottom: 1px solid var(--line);
}
.footer__role {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.to-top {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line-strong); color: var(--text-2); text-decoration: none;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  transition: border-color 0.3s, color 0.3s;
}
.to-top svg { width: 0.9rem; height: 0.9rem; transition: transform 0.5s var(--ease-out); }
.to-top:hover { border-color: rgba(214, 178, 110, 0.6); color: var(--gold-hi); }
.to-top:hover svg { transform: translateY(-2px); }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  padding-top: 1.6rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.footer__clock { display: inline-flex; align-items: center; gap: 0.55rem; }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; }
.footer__links a { color: var(--text-2); text-decoration: none; transition: color 0.3s; }
.footer__links a:hover { color: var(--gold-hi); }

/* 6px dot -> 24px halo (the old 9px spread); the 13px node ring -> 31px */
@keyframes ping-gold {
  0% { transform: scale(1); opacity: 1; }
  80%, 100% { transform: scale(4); opacity: 0; }
}
@keyframes ping-ring {
  0% { transform: scale(1); opacity: 1; }
  80%, 100% { transform: scale(2.4); opacity: 0; }
}

/* ── Responsive (sections) ───────────────────────────── */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(14rem, auto); }
  .bento__cell--featured { grid-column: 1 / -1; grid-row: auto; }
  .edu--featured { min-height: 22rem; }
  .timeline { --date-w: 10.5rem; --node-w: 3.5rem; }
}

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-card { min-height: 11rem; }
}

@media (max-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__visual { position: relative; top: auto; order: -1; }
  .portrait { height: auto; min-height: 0; aspect-ratio: 4 / 4.6; max-height: 72svh; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head::after { display: none; }
}

@media (max-width: 760px) {
  .timeline__rail { left: 5.5px; top: 0.6rem; bottom: 0.6rem; }
  .tl-item { position: relative; grid-template-columns: minmax(0, 1fr); padding-left: 2.1rem; }
  .tl-item__node { position: absolute; left: 0; top: 0.18rem; margin: 0; }
  .tl-item__when {
    padding-top: 0; margin-bottom: 0.9rem; text-align: left;
    display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem 0.9rem;
  }
  .tl-item__tenure { margin-top: 0; justify-content: flex-start; }
}
@media (max-width: 760px) and (scripting: enabled) {
  .reveal--slide { transform: translate3d(0, 24px, 0); }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; }
  .edu { min-height: 13rem; }
  .edu--featured { min-height: 24rem; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .contact-card { min-height: 0; flex-direction: row; align-items: center; gap: 1rem; padding: 1.05rem 1.15rem; border-radius: 18px; }
  .contact-card__icon { width: 44px; height: 44px; border-radius: 13px; }
  .contact-card__text { margin-top: 0; padding-top: 0; }
  .contact-card__value { margin-top: 0.3rem; font-size: 0.98rem; }
  .contact-card__arrow { position: static; margin-left: auto; flex: none; }
  .stats { gap: 0.7rem; margin-top: 2.4rem; }
  .stat { border-radius: 16px; }
  .stat__value { font-size: clamp(1.45rem, 14cqi, 2.6rem); }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .talk__ghost span { font-size: 42vw; }
}

@media (max-width: 420px) {
  .stat { padding: 1.1rem 1.05rem; }
  .stat::before { left: 1.05rem; }
  .stat__label { letter-spacing: 0.1em; }
}

/* ── Reduced motion (sections): everything visible, nothing loops ── */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--slide, [data-split], .split-word > span { opacity: 1 !important; transform: none !important; animation: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none !important; width: auto; display: block; }
  .marquee__group { flex-wrap: wrap; justify-content: center; gap: 0.35rem 1.6rem; padding-inline: var(--gutter); }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__group li { font-size: clamp(1.1rem, 1.7vw, 1.55rem); padding-right: 0; }
  .marquee__glyph { display: none; }
  .talk__aurora span, .talk__ghost span { animation: none !important; }
  .cursor-glow { display: none; }
  .menu__links a, .menu__foot { transition: none !important; }
  .edu { transform: none !important; }
}

/* ── Client additions 2026-10-18: Chinese name, WeChat everywhere, current employer names ── */
.hero__cn {
  font-family: "Noto Serif SC", "Songti SC", "STSong", serif;
  font-weight: 500;
  font-size: max(0.17em, 0.8rem);
  letter-spacing: 0.32em;
  margin-left: 0.7em;
  vertical-align: 0.42em;
  color: var(--text-2);
  white-space: nowrap;
}
.footer__cn { font-family: "Noto Serif SC", "Songti SC", "STSong", serif; letter-spacing: 0.12em; color: var(--muted); margin-left: 0.35em; }

/* WeChat has no web deep link: these are copy-to-clipboard buttons */
.btn--copy { gap: 0.55rem; }
.btn--copy svg { width: 1.05em; height: 1.05em; color: var(--gold); flex: none; }
.btn__aside {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em;
  color: var(--muted); padding-left: 0.6rem; margin-left: 0.1rem;
  border-left: 1px solid var(--line-strong);
  transition: color 0.3s;
}
.btn--copy:hover .btn__aside { color: var(--gold-hi); }
.btn--copy.is-copied [data-copy-label] { color: var(--gold-hi); }
.footer__copy, .menu__copy {
  font: inherit; color: var(--text-2); background: none; border: 0; padding: 0; cursor: pointer;
  text-align: left; transition: color 0.3s;
}
.footer__copy:hover, .menu__copy:hover { color: var(--gold-hi); }
.footer__copy:focus-visible, .menu__copy:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.footer__copy.is-copied, .menu__copy.is-copied { color: var(--gold-hi); }
.menu__copy { letter-spacing: 0.04em; text-transform: none; }

.tl-card__now {
  display: inline-flex; align-items: center;
  margin-left: 0.4rem; padding: 0.18rem 0.55rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sky); border: 1px solid rgba(134, 182, 255, 0.28); background: rgba(134, 182, 255, 0.06);
  white-space: nowrap; vertical-align: 0.12em;
}
@media (max-width: 1100px) { .bento__cell--wide { grid-column: 1 / -1; } }
@media (max-width: 640px) { .bento__cell--wide { grid-column: auto; } }

/* ── Education dossier: per-qualification panel with every module (client request 2026-10-18) ── */
.edu__open {
  margin-top: 1.4rem; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.55rem 0.95rem 0.55rem 1rem; border-radius: 999px;
  font: 500 0.74rem/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-hi); background: rgba(214, 178, 110, 0.06);
  border: 1px solid rgba(214, 178, 110, 0.32); cursor: pointer;
  position: relative; z-index: 2;
  transition: background 0.3s, border-color 0.3s, transform 0.35s var(--ease-out);
}
.edu__open svg { width: 0.95em; height: 0.95em; transition: transform 0.35s var(--ease-out); }
.edu__open:hover { background: rgba(214, 178, 110, 0.14); border-color: rgba(214, 178, 110, 0.6); }
.edu__open:hover svg { transform: translateX(3px); }
.edu__open:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.edu__open-count { color: var(--muted); letter-spacing: 0.06em; }

html.has-dossier { overflow: hidden; }
.dossier {
  --sheet-w: min(46rem, 94vw);
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: var(--sheet-w); max-width: none; height: 100dvh; max-height: none;
  padding: 0; border: 0; color: var(--text);
  background: transparent; overflow: visible;
}
.dossier::backdrop {
  background: rgba(2, 3, 7, 0.62);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.45s var(--ease-out);
}
.dossier.is-open::backdrop { opacity: 1; }
.dossier__panel {
  --pad-x: clamp(1.25rem, 4vw, 3.4rem);
  --pad-top: clamp(1.5rem, 4vw, 3.2rem);
  --pin: 0.85rem; /* where the close button rests once the sheet scrolls */
  position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: var(--pad-top) var(--pad-x) 4rem;
  background:
    radial-gradient(80% 40% at 100% 0%, rgba(70, 110, 190, 0.16), transparent 70%),
    radial-gradient(60% 30% at 0% 100%, rgba(214, 178, 110, 0.08), transparent 70%),
    linear-gradient(180deg, #0b111e, #070a12);
  border-left: 1px solid var(--line-strong);
  box-shadow: -40px 0 80px -30px rgba(0, 0, 0, 0.7);
  transform: translate3d(104%, 0, 0);
  transition: transform 0.6s var(--ease-out);
}
.dossier.is-open .dossier__panel { transform: none; }
/* The close button rides in its own zero-height sticky strip. Once the sheet scrolls, a
   blurred scrim fades in across the top, so rows (and their gold badges) slide under a
   solid edge instead of under a see-through X. */
.dossier__top {
  /* sticky insets count from inside the scroller's padding, hence the minus */
  position: sticky; top: calc(var(--pin) - var(--pad-top)); z-index: 3; height: 0;
  display: flex; justify-content: flex-end;
}
.dossier__top::before {
  content: ""; position: absolute; pointer-events: none;
  top: calc(-1 * var(--pin)); left: calc(-1 * var(--pad-x)); right: calc(-1 * var(--pad-x));
  height: calc(var(--pin) + 44px + 1.6rem);
  background: linear-gradient(180deg, rgba(10, 15, 27, 0.94), rgba(10, 15, 27, 0.82) 62%, rgba(10, 15, 27, 0));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(#000 58%, transparent); mask-image: linear-gradient(#000 58%, transparent);
  opacity: 0; transition: opacity 0.3s var(--ease-out);
}
.dossier.is-scrolled .dossier__top::before { opacity: 1; }
.dossier__close {
  position: relative; flex: none;
  width: 44px; height: 44px; margin: -0.4rem -0.6rem 0 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: var(--text); border: 1px solid var(--line-strong);
  background: rgba(12, 18, 32, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.8);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out);
}
.dossier__close:hover { border-color: rgba(214, 178, 110, 0.6); transform: rotate(90deg); }
.dossier__close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.dossier__close svg { width: 18px; height: 18px; }

.dossier__year { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.dossier__title {
  margin: 0.9rem 0 0.4rem; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 3.2rem); line-height: 1.04; letter-spacing: 0;
}
.dossier__school { font-size: 1.02rem; color: var(--text-2); }
.dossier__facts { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.4rem 0 0; list-style: none; }
.dossier__facts li {
  padding: 0.45rem 0.8rem; border-radius: 14px; font-size: 0.82rem; line-height: 1.35;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.025); color: var(--text-2);
}
.dossier__facts li.is-gold { color: var(--gold-hi); border-color: rgba(214, 178, 110, 0.4); background: rgba(214, 178, 110, 0.07); }

.dossier__score {
  display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.2rem; align-items: center;
  margin: 2rem 0 0.4rem; padding: 1.2rem 1.3rem; border-radius: 16px;
  border: 1px solid rgba(214, 178, 110, 0.22);
  background: linear-gradient(135deg, rgba(214, 178, 110, 0.09), rgba(214, 178, 110, 0.015));
}
.dossier__score-num { grid-row: span 2; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--gold-hi); }
.dossier__score-num small { font-size: 0.42em; color: var(--muted); margin-left: 0.12em; }
.dossier__score-label { font-size: 0.95rem; }
.dossier__score-note { font-size: 0.8rem; color: var(--muted); }
.dossier__bar { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.06); overflow: hidden; margin-top: 0.6rem; }
.dossier__bar i { display: block; height: 100%; width: var(--pct, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold-hi)); transform-origin: left; transform: scaleX(0); transition: transform 1.1s 0.35s var(--ease-out); }
.dossier.is-open .dossier__bar i { transform: scaleX(1); }

.dossier__group { margin-top: 2.2rem; }
.dossier__group-title {
  display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.6rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.dossier__group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dossier__mods { list-style: none; }
.dossier__mod {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.9rem; align-items: center;
  padding: 0.78rem 0.2rem 0.78rem 0.9rem; border-bottom: 1px solid var(--line); box-shadow: inset 2px 0 0 var(--gold);
  color: var(--text-2); font-size: 0.95rem; line-height: 1.45;
  opacity: 0; transform: translate3d(16px, 0, 0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), background 0.3s;
  transition-delay: calc(var(--i, 0) * 28ms + 0.2s);
}
.dossier.is-open .dossier__mod { opacity: 1; transform: none; }
.dossier__mod-code { margin-right: 0.6rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.04em; }
.dossier__mod { color: var(--text); }
.dossier__mod--plain { grid-template-columns: minmax(0, 1fr) auto; box-shadow: inset 2px 0 0 var(--line-strong); }
.dossier__mod-when { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dossier__group-title span { margin-left: -0.35rem; color: var(--gold); letter-spacing: 0.06em; }
.dossier__group--quiet .dossier__group-title span { color: var(--muted); }
.dossier__chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.3rem; }
.dossier__chips li {
  padding: 0.5rem 0.8rem; border-radius: 10px; font-size: 0.84rem; line-height: 1.35; color: var(--text-2);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.02);
  opacity: 0; transform: translate3d(0, 8px, 0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 22ms + 0.25s);
}
.dossier.is-open .dossier__chips li { opacity: 1; transform: none; }
.dossier__grade {
  min-width: 2.4rem; padding: 0.28rem 0.6rem; border-radius: 999px; text-align: center;
  font: 500 0.74rem/1 var(--font-mono); letter-spacing: 0.06em;
}
.dossier__grade {
  color: #1a1206; background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 6px 18px -8px rgba(214, 178, 110, 0.8);
}
.dossier__legend { margin-top: 1.6rem; font-size: 0.78rem; color: var(--muted); line-height: 1.6; }
.dossier__legend b { color: var(--gold-hi); font-weight: 500; }

@media (max-width: 640px) {
  .dossier__mod { grid-template-columns: minmax(0, 1fr) auto; }
  .dossier__mod-when { grid-column: 1; grid-row: 2; margin-top: -0.35rem; }
  .dossier__grade { grid-row: 1 / span 2; }
  .dossier { inset: auto 0 0 0; width: 100vw; height: 92dvh; }
  .dossier__panel {
    border-left: 0; border-top: 1px solid var(--line-strong); border-radius: 22px 22px 0 0;
    transform: translate3d(0, 104%, 0);
  }
  .dossier__panel::before {
    content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; margin: -0.4rem auto 1.2rem;
    background: var(--line-strong);
  }
}

/* ── Honours & recognition ledger (under the education bento) ── */
.honours { margin-top: clamp(4rem, 8vw, 6.5rem); }
.honours__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.6rem; }
.honours__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: 0.004em; }
.honours__title em { font-style: italic; color: var(--gold); }
.honours__kicker { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.ledger { list-style: none; border-top: 1px solid var(--line); }
.ledger__row {
  position: relative; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) minmax(0, 0.8fr); gap: 0.4rem 2rem; align-items: baseline;
  padding: 1.15rem 0.4rem; border-bottom: 1px solid var(--line);
  transition: background 0.35s, padding 0.45s var(--ease-out);
}
.ledger__row::before {
  content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px;
  background: linear-gradient(var(--gold-hi), var(--gold-deep)); transform: scaleY(0); transform-origin: top;
  transition: transform 0.45s var(--ease-out);
}
.ledger__row:hover { background: linear-gradient(90deg, rgba(214, 178, 110, 0.06), transparent 70%); padding-left: 1.1rem; }
.ledger__row:hover::before { transform: scaleY(1); }
.ledger__year { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--gold); }
.ledger__what { font-family: var(--font-display); font-size: clamp(1.2rem, 1.6vw, 1.45rem); line-height: 1.2; color: var(--text); }
.ledger__what small { display: block; margin-top: 0.3rem; font-family: var(--font-body); font-size: 0.86rem; color: var(--text-2); }
.ledger__who { font-size: 0.88rem; color: var(--muted); }
.ledger__tag {
  display: inline-block; margin-left: 0.5rem; padding: 0.15rem 0.5rem; border-radius: 999px; vertical-align: 0.2em;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-hi); border: 1px solid rgba(214, 178, 110, 0.35);
}
@media (max-width: 760px) {
  .ledger__row { grid-template-columns: 1fr; gap: 0.35rem; }
  .ledger__row:hover { padding-left: 0.4rem; }
}

/* ── Beyond the desk: community, volunteering, endurance ── */
.beyond__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; list-style: none; }
.beyond__card {
  position: relative; height: 100%; padding: clamp(1.6rem, 2.6vw, 2.2rem); border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line);
}
.beyond__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--gold); border: 1px solid rgba(214, 178, 110, 0.3); background: rgba(214, 178, 110, 0.06); }
.beyond__icon svg { width: 22px; height: 22px; }
.beyond__label { margin-top: 1.4rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.beyond__title { margin-top: 0.5rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.08; letter-spacing: 0.004em; }
.beyond__list { margin-top: 1.3rem; list-style: none; display: grid; gap: 0.85rem; }
.beyond__list li { display: grid; grid-template-columns: 3.6rem 1fr; gap: 0.8rem; font-size: 0.92rem; line-height: 1.5; color: var(--text-2); }
.beyond__list b { font-weight: 500; color: var(--text); }
.beyond__list :is(time, .beyond__key) { font-family: var(--font-mono); font-size: 0.74rem; color: var(--gold); padding-top: 0.15rem; }
/* endurance card: big distance + a route line that draws itself */
.beyond__card--run .beyond__big { margin-top: 1.2rem; font-family: var(--font-display); font-size: clamp(3.4rem, 6vw, 5rem); line-height: 0.95; color: var(--gold-hi); }
.beyond__card--run .beyond__big span { font-size: 0.38em; color: var(--text-2); margin-left: 0.25em; }
.beyond__card--run { padding-bottom: clamp(5.5rem, 9vw, 7rem); }
.beyond__route { position: absolute; right: -10px; bottom: -4px; width: 64%; max-height: 6.2rem; opacity: 0.55; pointer-events: none; }
.beyond__route path { fill: none; stroke: url(#route-grad); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 3.2s 0.3s var(--ease-out); }
.reveal.is-in .beyond__route path { stroke-dashoffset: 0; }
.beyond__route circle { fill: var(--gold-hi); }
.beyond__wide { grid-column: span 2; }
/* Off the clock: hobbies + a terminal that types itself */
.beyond__card--life { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.life__text { margin-top: 1rem; max-width: 34rem; font-size: 0.98rem; line-height: 1.75; color: var(--text-2); }
.life__chips { margin-top: 1.4rem; list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.life__chips li {
  padding: 0.5rem 0.85rem; border-radius: 999px; font-size: 0.82rem; color: var(--text);
  border: 1px solid rgba(214, 178, 110, 0.28); background: rgba(214, 178, 110, 0.05);
}
.term {
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.92), rgba(4, 6, 11, 0.96));
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(214, 178, 110, 0.04) inset;
  font-family: var(--font-mono); font-size: clamp(0.72rem, 0.95vw, 0.82rem); line-height: 1.75;
}
.term__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 0.68rem; letter-spacing: 0.04em; }
.term__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.term__bar i:first-child { background: rgba(214, 178, 110, 0.7); }
.term__bar span { margin-left: auto; }
.term__body { padding: 1rem 1.1rem 1.2rem; color: var(--text-2); }
.term__line { white-space: nowrap; overflow: hidden; }
.term__line b { font-weight: 500; color: var(--sky); }
.term__out { color: var(--gold-hi); }
.term__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.2em, 1fr)); gap: 0 1rem; white-space: normal; }
.term__cols span { white-space: nowrap; }
.term__cursor { display: inline-block; width: 0.6em; height: 1.05em; vertical-align: -0.18em; background: var(--gold); animation: term-blink 1.1s steps(1) infinite; }
@keyframes term-blink { 50% { opacity: 0; } }
/* lines appear one after another once the card is revealed */
.reveal .term__line { opacity: 0; transform: translate3d(0, 4px, 0); transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out); transition-delay: calc(0.5s + var(--l, 0) * 0.55s); }
.reveal.is-in .term__line { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .beyond__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beyond__wide { grid-column: 1 / -1; }
}
@media (max-width: 1280px) and (min-width: 1101px), (max-width: 860px) { .beyond__card--life { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .beyond__grid { grid-template-columns: 1fr; }
  .beyond__wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal .term__line { opacity: 1; transform: none; transition: none; }
  .term__cursor { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dossier__panel, .dossier::backdrop, .dossier__mod, .dossier__bar i { transition: none !important; }
  .dossier__mod, .dossier__chips li { opacity: 1; transform: none; transition: none !important; }
  .dossier__bar i { transform: none; }
  .beyond__route path { stroke-dashoffset: 0; transition: none; }
}

/* ── 03 Deals & press (client request 2026-10-18) ───────────────────────── */
.press::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -12vw; top: 8%; width: 55vw; height: 55vw; max-width: 860px; max-height: 860px;
  background: radial-gradient(closest-side, rgba(214, 178, 110, 0.08), transparent);
}
.deal {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
  padding: clamp(1.6rem, 3.4vw, 3rem); border-radius: 28px; position: relative; overflow: hidden;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(70, 110, 190, 0.14), transparent 70%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line-strong);
}
.deal__eyebrow { display: flex; gap: 0.9rem; align-items: center; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.deal__eyebrow time { color: var(--muted); }
.deal__eyebrow span::after { content: ""; display: inline-block; width: 1.8rem; height: 1px; margin-left: 0.9rem; vertical-align: middle; background: rgba(214, 178, 110, 0.5); }
.deal__title { margin-top: 1rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: 0.004em; }
.deal__title span[aria-hidden] { color: var(--gold); font-style: italic; margin: 0 0.12em; }
.deal__text { margin-top: 1.2rem; max-width: 33rem; font-size: 1.02rem; line-height: 1.75; color: var(--text-2); }
.deal__facts { margin-top: 1.4rem; list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.deal__facts li { padding: 0.45rem 0.8rem; border-radius: 999px; font-size: 0.8rem; color: var(--text); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.deal__actions { margin-top: 1.8rem; }
/* fanned stack of three photos, shown inline on the page */
button.deal__photos { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: inherit; }
button.deal__photos:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 22px; }
.deal__photos { position: relative; aspect-ratio: 1.08; min-height: 300px; }
.deal__photo {
  position: absolute; padding: 0; border: 0; cursor: zoom-in; background: #0b0f19; overflow: hidden;
  border-radius: 18px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.7s var(--ease-out), box-shadow 0.5s;
}
.deal__photo img { width: 100%; height: 100%; object-fit: cover; }
.deal__photo--a { left: 4%; top: 6%; width: 70%; aspect-ratio: 800 / 576; z-index: 3; transform: rotate(-3deg); }
.deal__photo--b { right: 0; top: 40%; width: 58%; aspect-ratio: 16 / 9; z-index: 2; transform: rotate(4deg); }
.deal__photo--c { left: 2%; bottom: 0; width: 28%; aspect-ratio: 400 / 711; z-index: 4; transform: rotate(-7deg); }
.deal__photos:hover .deal__photo--a { transform: rotate(-5deg) translate3d(-3%, -4%, 0); }
.deal__photos:hover .deal__photo--b { transform: rotate(7deg) translate3d(4%, 3%, 0); }
.deal__photos:hover .deal__photo--c { transform: rotate(-10deg) translate3d(-6%, 3%, 0); }
.deal__photo:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.press__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem; margin: clamp(3.5rem, 7vw, 5.5rem) 0 1.4rem; }
.press__grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.press-card {
  position: relative; height: 100%; display: flex; flex-direction: column;
  padding: 1.5rem 1.5rem 1.3rem; border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  border: 1px solid var(--line); transition: border-color 0.4s, transform 0.5s var(--ease-out);
}
.press-card:hover { border-color: rgba(214, 178, 110, 0.42); transform: translate3d(0, -4px, 0); }
.press-card__meta { display: flex; justify-content: space-between; gap: 0.8rem; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.press-card__meta span { color: var(--text-2); }
.press-card__tag {
  align-self: flex-start; margin-top: 1.1rem; padding: 0.2rem 0.55rem; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-hi); border: 1px solid rgba(214, 178, 110, 0.35);
}
.press-card__title { margin-top: 0.8rem; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 1.6vw, 1.55rem); line-height: 1.15; letter-spacing: 0.004em; }
.press-card__open { font: inherit; color: var(--text); text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.press-card__open::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */
.press-card__open:focus-visible { outline: none; }
.press-card:has(.press-card__open:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.press-card__sub { margin-top: 0.7rem; font-size: 0.88rem; line-height: 1.6; color: var(--text-2); }
.press-card__more { margin-top: auto; padding-top: 1.2rem; display: inline-flex; align-items: center; gap: 0.45rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.press-card__more svg { width: 0.95em; height: 0.95em; transition: transform 0.4s var(--ease-out); }
.press-card:hover .press-card__more svg { transform: translateX(4px); }

/* reader panel contents (inside the shared .dossier dialog) */
.reader__quote { margin: 2rem 0 0.4rem; padding: 1.3rem 1.4rem 1.2rem 1.6rem; border-left: 2px solid var(--gold); border-radius: 0 14px 14px 0; background: linear-gradient(90deg, rgba(214, 178, 110, 0.08), transparent); }
.reader__quote p { font-family: var(--font-display); font-style: italic; font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.3; color: var(--text); }
.reader__quote cite { display: block; margin-top: 0.7rem; font-style: normal; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.reader__points { list-style: none; display: grid; gap: 0.75rem; }
.reader__points li { position: relative; padding-left: 1.4rem; font-size: 0.97rem; line-height: 1.65; color: var(--text-2); }
.reader__points li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(214, 178, 110, 0.6); }
.reader__cta { margin-top: 2rem; }
.reader__cta .btn svg { width: 1em; height: 1em; }
.reader__gallery { margin-top: 1.8rem; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 0.7rem; }
.reader__photo { position: relative; margin: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: #0b0f19; }
.reader__photo:nth-child(1) { grid-column: 1; grid-row: 1; }
.reader__photo:nth-child(2) { grid-column: 1; grid-row: 2; }
.reader__photo:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
.reader__photo img { width: 100%; height: 100%; object-fit: cover; }
.reader__photo figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.6rem 0.8rem 0.6rem; font-size: 0.74rem; line-height: 1.4; color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

@media (max-width: 1100px) {
  .press__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deal { grid-template-columns: 1fr; }
  .deal__photos { max-width: 640px; width: 100%; justify-self: center; }
}
@media (max-width: 640px) {
  .press__grid { grid-template-columns: 1fr; }
  .deal__photos { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .deal__photo, .press-card { transition: none; }
}

/* SY Holdings Malaysia directorship (inside the current role card) */
.tl-card__also {
  display: flex; gap: 0.85rem; align-items: center; margin-top: 1.3rem; padding: 0.8rem 1rem;
  border-radius: 14px; border: 1px solid rgba(214, 178, 110, 0.22); background: rgba(214, 178, 110, 0.05);
}
.tl-card__also-label {
  flex: none; padding: 0.32rem 0.55rem 0.3rem; line-height: 1; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #1a1206; background: linear-gradient(135deg, var(--gold-hi), var(--gold));
}
.tl-card__also p { font-size: 0.93rem; line-height: 1.55; color: var(--text-2); }
.tl-card__also strong { color: var(--text); font-weight: 500; }
.tl-card__reg { display: block; margin-top: 0.25rem; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.06em; color: var(--muted); }

/* Verifiable links (LSE Khattar Scholars list, LSE M&A news) */
.ext { display: inline-block; width: 0.8em; height: 0.8em; margin-left: 0.3em; vertical-align: 0.02em; opacity: 0.75; transition: transform 0.35s var(--ease-out), opacity 0.3s; }
a:hover > .ext { transform: translate(2px, -2px); opacity: 1; }
.edu__award--link { text-decoration: none; position: relative; z-index: 2; transition: border-color 0.3s, background 0.3s, color 0.3s; }
.edu__award--link:hover { color: var(--gold-hi); border-color: rgba(214, 178, 110, 0.6); background: rgba(214, 178, 110, 0.12); }
.edu__award--link:focus-visible, .ledger__what a:focus-visible, .dossier__link a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ledger__what a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease-out), color 0.3s; }
.ledger__what a:hover { color: var(--gold-hi); background-size: 100% 1px; }
.dossier__link { margin-top: 1rem; font-size: 0.86rem; }
.dossier__link a { color: var(--gold-hi); text-decoration: none; border-bottom: 1px solid rgba(214, 178, 110, 0.35); padding-bottom: 0.1rem; }
.dossier__link a:hover { border-bottom-color: var(--gold-hi); }

/* field-grouped dossiers: muted counts, chips under A rows */
.dossier__group-title span.is-muted { color: var(--muted); }
.dossier__mods + .dossier__chips { margin-top: 0.8rem; }

/* Inline source panels: buttons styled like the links they replaced */
.src-link { font: inherit; color: inherit; cursor: pointer; text-align: left; }
.src-link:not(.edu__award) { background: none; border: 0; padding: 0; }  /* the award keeps its pill */
button.edu__award { font-family: var(--font-mono); cursor: pointer; }
.edu--featured button.edu__award { padding: 0.6rem 1rem; }
.ledger__what .src-link { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease-out), color 0.3s; }
.ledger__what .src-link:hover { color: var(--gold-hi); background-size: 100% 1px; }
.dossier__link .src-link { color: var(--gold-hi); border-bottom: 1px solid rgba(214, 178, 110, 0.35); padding-bottom: 0.1rem; }
.dossier__link .src-link:hover { border-bottom-color: var(--gold-hi); }
.src-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.src-link:hover > .ext { transform: translateX(3px); opacity: 1; }

/* B units (UoL): listed with a quiet badge so the gold A grades stay the focus */
.dossier__mod--b { box-shadow: inset 2px 0 0 var(--line-strong); color: var(--text-2); }
.dossier__mod--b .dossier__grade { color: var(--text); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-strong); box-shadow: none; }

/* C unit (UoL): the quietest row — muted text, hairline badge, no gold */
.dossier__mod--c { box-shadow: inset 2px 0 0 var(--line); color: var(--muted); }
.dossier__mod--c .dossier__grade { color: var(--muted); background: transparent; border: 1px solid var(--line); box-shadow: none; font-weight: 500; }

/* Alignment pass (client 2026-10-18): pills/arrows share the title's vertical centre */
.ledger__what { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.55rem; row-gap: 0.15rem; }
.ledger__what small { flex-basis: 100%; margin-top: 0.15rem; }
.ledger__tag { margin-left: 0; vertical-align: baseline; line-height: 1; padding: 0.28rem 0.55rem 0.26rem; }
.ledger__what .src-link { display: inline-flex; align-items: center; gap: 0.15em; }
.ledger__what .src-link .ext { margin-left: 0.2em; vertical-align: 0; }
.tl-card__now { vertical-align: middle; line-height: 1; padding: 0.26rem 0.55rem 0.24rem; position: relative; top: -0.08em; }
/* ── Review fixes (2026-10-18) ─────────────────────────────────────────── */
/* while a dossier or the menu locks scrolling, keep the (classic) scrollbar's gutter so the
   page behind does not jump sideways; overlay scrollbars take no space either way */
html.has-dossier, html.menu-open { scrollbar-gutter: stable; }
.nowrap { white-space: nowrap; }

/* dossier: header lines stay clear of the close button; programmatic focus lands on the title */
.dossier__body > .dossier__year, .dossier__body > .dossier__title { padding-right: 3rem; }
.dossier__panel:focus, .dossier__title:focus { outline: none; }
@media (max-width: 640px) {
  .dossier .reader__cta .btn { width: 100%; justify-content: center; text-align: center; }
}

/* hero: on tablet-landscape widths the lede ends before the Singapore hub and its label */
@media (min-width: 901px) and (max-width: 1180px) {
  .hero__lede { max-width: 24rem; }
}
@media (min-width: 1181px) and (max-width: 1300px) {
  .hero__lede { max-width: 28rem; }
}
/* hero on small phones (<= 380px): a shorter portrait so it stays below the meta row; the
   coordinates are repeated in the About portrait caption */
@media (max-width: 380px) {
  .hero__portrait { height: 44svh; }
  .hero__meta > span:last-child { display: none; }
}

/* phone menu: each li clips its link's slide-up, which would also clip the focus ring. Where the
   clip can be widened a little (the link's top padding is empty), the ring sits outside the row;
   elsewhere it is drawn just inside it. */
.menu__links a:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; border-radius: 6px; }
@supports (overflow-clip-margin: 6px) {
  .menu__links li { overflow: clip; overflow-clip-margin: 6px; }
  .menu__links a:focus-visible { outline-offset: 2px; }
}

/* footer WeChat button: same uppercase, tracked style as its neighbours; the ID stays as typed */
.footer__copy { text-transform: inherit; letter-spacing: inherit; }
.footer__copy [data-copy-value] { text-transform: none; letter-spacing: 0.04em; }

/* award pills that wrap: a rounded box with room between the lines, not a squeezed capsule */
.edu__award { border-radius: 14px; line-height: 1.45; text-wrap: balance; }

/* no one-word last lines in card titles */
.beyond__title, .honours__title, .press-card__title, .deal__title, .tl-card__role, .edu__degree, .dossier__title { text-wrap: balance; }

/* press cards: dates never break; on multi-column rows every card's tag, title, summary and
   "Read summary" line up, however the outlet name wraps */
.press-card__meta span { min-width: 0; }
.press-card__meta time { flex: none; white-space: nowrap; }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 641px) {
    .press__grid > li { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
    .press-card { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
    .press-card__tag { justify-self: start; }
    .press-card__more { align-self: end; justify-self: start; }
  }
}

/* Off the clock terminal on small phones: lines wrap instead of being cut off */
@media (max-width: 400px) {
  .term { font-size: 0.7rem; }
  .term__body { padding-inline: 0.9rem; }
  .term__line { white-space: normal; overflow-wrap: anywhere; }
}
/* reduced motion: no pings at all (their resting state would otherwise show) */
@media (prefers-reduced-motion: reduce) {
  .live-dot::after, .portrait__caption i::after, .badge-now i::after, .tl-item.is-current .tl-item__node::after { display: none; }
}

/* Career cards: short bullet points instead of CV paragraphs (client 2026-10-18) */
.tl-card__points { list-style: none; margin-top: 1.1rem; display: grid; gap: 0.55rem; max-width: 46rem; }
.tl-card__points li { position: relative; padding-left: 1.25rem; font-size: 0.98rem; font-weight: 300; line-height: 1.6; color: var(--text-2); }
.tl-card__points li::before { content: ""; position: absolute; left: 0; top: 0.66em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(214, 178, 110, 0.5); }

/* Organisation logos: small monochrome corner marks (client 2026-10-18) */
.org-mark { position: absolute; top: clamp(1.4rem, 2.4vw, 2rem); right: clamp(1.4rem, 2.4vw, 2.1rem); z-index: 2; pointer-events: none; }
.org-mark img { display: block; width: auto; height: 22px; opacity: 0.58; filter: grayscale(1) brightness(1.35); transition: opacity 0.4s var(--ease-out); }
.org-mark--sy img { height: 24px; }
.org-mark--square img { height: 30px; }
.org-mark--uol img { height: 28px; }
.org-mark--wide img { height: 18px; }
.org-mark--pavilion img { height: 26px; }
.tl-card:hover .org-mark img, .edu:hover .org-mark img { opacity: 0.9; }
.has-mark .tl-card__role { padding-right: 9rem; }
.edu.has-mark .edu__year { padding-right: 8rem; }
@media (max-width: 640px) {
  .org-mark { position: static; display: block; margin-bottom: 0.9rem; }
  .has-mark .tl-card__role, .edu.has-mark .edu__year { padding-right: 0; }
}

/* hidden phone menu: don't keep animating its live dot */
.menu:not(.is-open) .live-dot::after { animation-play-state: paused; }

/* 2024: sabbatical year with two contract mandates, grouped in one card (client 2026-10-18) */
.mandates { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
.mandate {
  padding: 1.15rem 1.25rem 1.2rem; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
}
.mandate__role { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.25rem, 1.6vw, 1.45rem); line-height: 1.15; letter-spacing: 0.004em; color: var(--text); }
.mandate__org { margin-top: 0.45rem; font-size: 0.9rem; color: var(--text-2); }
.mandate__org strong { font-weight: 500; color: var(--text); }
.mandate__context { margin-top: 0.4rem; font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.mandate__desc { margin-top: 0.8rem; font-size: 0.92rem; font-weight: 300; line-height: 1.65; color: var(--text-2); }
@media (max-width: 760px) { .mandates { grid-template-columns: 1fr; } }

/* SP card: dual qualification line */
.edu__note--dual { margin-top: 0.35rem; color: var(--gold-hi); }
