/* ============================================================================
   Neon Graph design system  (reskin/neon-graph)
   Reused across pages as they are migrated. Existing class names are kept so
   markup changes stay small: swap styles.css for neon.css, add the graph hero,
   set a section accent, remove dashes.
   Section accent: set --c on a section/panel via .accent-* (default cyan).
   ========================================================================== */

:root {
  --bg: #070912;
  --bg2: #0c1024;
  --panel: #0f1430;
  --panel2: #111a3d;
  --text: #eef1ff;
  --muted: #939bc8;
  --line: rgba(147, 155, 200, 0.2);
  --line-strong: rgba(147, 155, 200, 0.36);

  --cyan: #22e0ee;
  --lime: #a6ff3d;
  --amber: #ffb347;
  --coral: #ff4d7d;
  --violet: #9a6bff;
  --cobalt: #3b6bff;
  --tangerine: #ff8a3d;

  --c: var(--cyan);        /* current section accent */
  --max-width: 1200px;
  --radius: 8px;
}

/* Section accent modifiers (colour taxonomy) */
.accent-cyan { --c: var(--cyan); }
.accent-violet { --c: var(--violet); }
.accent-lime { --c: var(--lime); }
.accent-amber { --c: var(--amber); }
.accent-coral { --c: var(--coral); }
.accent-cobalt { --c: var(--cobalt); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(154, 107, 255, 0.16), transparent 60%),
    radial-gradient(760px 480px at 2% 4%, rgba(34, 224, 238, 0.14), transparent 55%),
    var(--bg);
  min-height: 100vh;
}

a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--lime); }

.mono { font-family: "JetBrains Mono", monospace; }
.grad {
  background: linear-gradient(96deg, var(--cyan), var(--lime) 38%, var(--amber) 66%, var(--coral));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h1, h2, h3 { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin-top: 0; }
h1 { font-size: clamp(2.6rem, 6.6vw, 5rem); margin-bottom: 1rem; max-width: 18ch; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 0.7rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Layout */
main { width: min(var(--max-width), calc(100% - 2.5rem)); margin: 2rem auto 4rem; }

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 50; background: rgba(255,255,255,0.05); }
.scroll-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--lime)); box-shadow: 0 0 16px rgba(34,224,238,0.5); }

/* Header / nav */
.site-header {
  width: min(var(--max-width), calc(100% - 2.5rem));
  margin: 1.1rem auto;
  padding: 0.8rem 1.1rem;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 9, 18, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: sticky; top: 0.7rem; z-index: 20;
}
.brand { color: var(--text); text-decoration: none; font-family: "JetBrains Mono", monospace; font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem; }
.brand:hover { color: var(--text); }
.brand-dot { width: 0.68rem; height: 0.68rem; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.site-nav { display: flex; gap: 1rem; }
.site-nav a { color: var(--muted); text-decoration: none; font-family: "JetBrains Mono", monospace; font-size: 0.82rem; }
.site-nav a:hover { color: var(--lime); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 38px; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 1px; }

/* Buttons */
.btn { display: inline-block; font-family: "JetBrains Mono", monospace; font-weight: 700; font-size: 0.9rem; text-decoration: none; padding: 0.8rem 1.35rem; border-radius: 10px; border: 1px solid transparent; transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #05121a; background: linear-gradient(92deg, var(--cyan), var(--lime)); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(34, 224, 238, 0.35); color: #05121a; }
.btn-secondary { color: var(--cyan); background: transparent; border-color: var(--cyan); }
.btn-secondary:hover { background: rgba(34, 224, 238, 0.1); color: var(--cyan); }
.btn-coral { color: #2a0410; background: linear-gradient(92deg, var(--coral), var(--tangerine)); }
.btn-coral:hover { box-shadow: 0 10px 28px rgba(255, 77, 125, 0.35); }

/* Eyebrow / tag labels */
.eyebrow, .tag { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c); margin-bottom: 0.6rem; }

/* Hero + animated graph */
.hero { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; padding: 3rem 1.6rem; margin-bottom: 1.6rem; }
.hero-graph { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.85; pointer-events: none; }
.hero > *:not(.hero-graph) { position: relative; }
.hero .prompt { font-family: "JetBrains Mono", monospace; color: var(--lime); font-size: 0.9rem; margin-bottom: 1rem; }
.hero .prompt::before { content: "\25B8  "; color: var(--coral); }
.hero-copy { color: #c9cff4; font-size: 1.12rem; max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.6rem; }

.node { animation: nodePulse 3.4s ease-in-out infinite; }
.n-cyan { fill: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)); }
.n-lime { fill: var(--lime); filter: drop-shadow(0 0 6px var(--lime)); }
.n-amber { fill: var(--amber); filter: drop-shadow(0 0 6px var(--amber)); }
.n-coral { fill: var(--coral); filter: drop-shadow(0 0 6px var(--coral)); }
.n-violet { fill: var(--violet); filter: drop-shadow(0 0 6px var(--violet)); }
.n-cobalt { fill: var(--cobalt); filter: drop-shadow(0 0 6px var(--cobalt)); }
.edge { stroke-width: 1.4; stroke-dasharray: 3 7; opacity: 0.6; animation: edgeDash 14s linear infinite; }
.e-cyan { stroke: var(--cyan); } .e-lime { stroke: var(--lime); } .e-amber { stroke: var(--amber); }
.e-coral { stroke: var(--coral); } .e-violet { stroke: var(--violet); } .e-cobalt { stroke: var(--cobalt); }
.d2 { animation-delay: 0.7s; } .d3 { animation-delay: 1.3s; } .d4 { animation-delay: 2s; } .d5 { animation-delay: 2.6s; }
@keyframes nodePulse { 0%,100% { opacity: 0.45; r: 3.5; } 50% { opacity: 1; r: 6; } }
@keyframes edgeDash { to { stroke-dashoffset: -140; } }

/* Interactive hero graph */
.hero h1, .hero .eyebrow, .hero .hero-copy, .hero .prompt { pointer-events: none; }
.gnode { pointer-events: none; }
.node-hit { pointer-events: all; fill: transparent; touch-action: none; }
.gnode.interactive .node-hit { cursor: pointer; }
.gnode:not(.interactive) .node-hit { cursor: grab; }
.gnode.is-dragging .node-hit { cursor: grabbing; }
.c-cyan { --nc: var(--cyan); } .c-lime { --nc: var(--lime); } .c-amber { --nc: var(--amber); }
.c-coral { --nc: var(--coral); } .c-violet { --nc: var(--violet); } .c-cobalt { --nc: var(--cobalt); }
.node-label { fill: var(--text); font-family: "JetBrains Mono", monospace; font-size: 15px; font-weight: 600; text-anchor: middle; opacity: 0; transition: opacity 0.18s ease; paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; pointer-events: none; }
.gnode.interactive:hover .node-label, .gnode.interactive:focus-visible .node-label, .gnode.interactive.is-active .node-label { opacity: 1; }
.gnode .node { transition: filter 0.18s ease; }
.gnode.interactive:hover .node, .gnode.interactive:focus-visible .node { filter: drop-shadow(0 0 10px var(--nc)); }
.gnode:focus { outline: none; }
.gnode:focus-visible .node-hit { stroke: var(--nc); stroke-width: 1.5; stroke-dasharray: 2 4; }
.graph-hint { margin-top: 1.1rem; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); opacity: 0.72; display: flex; align-items: center; gap: 0.5rem; }
.graph-hint-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: nodePulse 3.4s ease-in-out infinite; }

/* Framed module (panel) */
.panel { position: relative; background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 6px; padding: 1.5rem; margin-top: 1.4rem; }
.panel::before, .panel::after { content: ""; position: absolute; width: 13px; height: 13px; border: 2px solid var(--c); }
.panel::before { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.panel::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.panel p, .panel li { color: #c9cff4; }

/* Grid + cards (cards become small framed modules, not soft cards) */
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.4rem; }
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-top: 2px solid var(--c); border-radius: 6px; padding: 1.2rem; }
.card::after { content: ""; position: absolute; top: -1px; right: -1px; width: 12px; height: 12px; border: 2px solid var(--c); border-left: 0; border-bottom: 0; }
.card ul { margin-bottom: 0; padding-left: 1.15rem; }
.card li { color: #c9cff4; }

/* Metrics / readouts */
.metrics { display: grid; gap: 0.9rem; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 1.4rem; }
.metrics article { background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); border-top: 2px solid var(--c); border-radius: 10px; padding: 1.2rem; }
.metrics h3 { font-family: "JetBrains Mono", monospace; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.3rem; color: var(--c); }
.metrics article:nth-child(1) { --c: var(--cyan); }
.metrics article:nth-child(2) { --c: var(--lime); }
.metrics article:nth-child(3) { --c: var(--amber); }
.metrics article:nth-child(4) { --c: var(--coral); }
.metrics p { margin: 0; color: var(--muted); }

/* Chips (colour taxonomy) */
.chip { display: inline-flex; align-items: center; font-family: "JetBrains Mono", monospace; font-size: 0.78rem; padding: 0.24rem 0.62rem; border-radius: 999px; border: 1px solid var(--c); color: var(--c); background: rgba(255,255,255,0.02); white-space: nowrap; }
.chip-impact { --c: var(--cyan); }
.chip-award { --c: var(--amber); }
.chip-leadership { --c: var(--cobalt); }
.chip-research { --c: var(--violet); }
.chip-community { --c: var(--coral); }
.chip-delivery { --c: var(--tangerine); }

/* CTA (accent-tinted module, keeps neon buttons) */
.cta-strip { border-left-color: var(--c); background: radial-gradient(circle at 8% 20%, color-mix(in srgb, var(--c) 16%, transparent), transparent 45%), linear-gradient(180deg, var(--panel), var(--bg2)); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.9rem; }

/* Vivid gradient statement band (used sparingly) */
.color-band { border: 0; border-radius: 18px; padding: 2.4rem; margin-top: 1.4rem; color: #0a0512; background: linear-gradient(115deg, var(--cyan), var(--lime) 34%, var(--amber) 68%, var(--coral)); }
.color-band .bk { font-family: "JetBrains Mono", monospace; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.72; margin: 0; }
.color-band h2 { margin: 0.4rem 0 0; max-width: 22ch; }

/* Video embed */
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-top: 1rem; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.2rem; margin-top: 1rem; }
.video-tile { margin: 0; }
.video-tile .video-embed { margin: 0; }
.video-tile figcaption { margin-top: 0.6rem; color: #c9cff4; font-size: 0.9rem; font-family: "JetBrains Mono", monospace; }

/* Proof strip / ticker */
.proof-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.7rem; }
.proof-pill { font-family: "JetBrains Mono", monospace; font-size: 0.8rem; text-decoration: none; color: var(--cyan); border: 1px solid rgba(34,224,238,0.4); border-radius: 999px; padding: 0.36rem 0.72rem; background: rgba(34,224,238,0.06); }
.proof-pill:hover { background: rgba(34,224,238,0.14); color: var(--cyan); }
.proof-pill-award { color: var(--amber); border-color: rgba(255,179,71,0.5); background: rgba(255,179,71,0.08); }
.proof-pill-award:hover { background: rgba(255,179,71,0.16); color: var(--amber); }
.proof-ticker { margin-top: 0.8rem; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: rgba(7,12,22,0.7); }
.proof-ticker-mask { display: flex; width: max-content; min-width: 100%; animation: tickerScroll 46s linear infinite; }
.proof-ticker-track { display: flex; align-items: center; gap: 1.6rem; padding: 0.55rem 1.1rem; white-space: nowrap; }
.proof-ticker-track span { font-family: "JetBrains Mono", monospace; font-size: 0.8rem; letter-spacing: 0.03em; text-transform: uppercase; color: #cfe6f6; }
.proof-ticker-track span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 0.5rem; border-radius: 999px; background: var(--lime); }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* Featured talk */
.featured-talk { --c: var(--violet); }
.featured-talk-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 1.4rem; align-items: center; }
.featured-talk .video-embed { margin: 0; }
.featured-talk-meta { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.7rem; }
.featured-talk-meta span { font-family: "JetBrains Mono", monospace; font-size: 0.76rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: 0.2rem 0.6rem; color: #d5def2; }

/* Now / Next / Upcoming */
.now-next-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.9rem; margin-top: 0.85rem; }
.status-card { border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 8px; padding: 1rem; background: var(--panel); }
.status-label { font-family: "JetBrains Mono", monospace; margin: 0 0 0.35rem; color: var(--c); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; font-weight: 700; }
.now-next-upcoming { margin-top: 1rem; padding-top: 0.9rem; border-top: 1px solid var(--line); }
.upcoming-mini { margin: 0.4rem 0 0.6rem; padding-left: 1.1rem; }
.upcoming-mini li { margin: 0.4rem 0; color: var(--muted); }
.upcoming-grid { margin-top: 0.9rem; display: grid; gap: 0.9rem; grid-template-columns: repeat(2, minmax(0,1fr)); }
.upcoming-card { display: flex; gap: 1rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 1rem; background: var(--panel); }
.upcoming-date { flex-shrink: 0; width: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0.5rem 0; border-radius: 10px; border: 1px solid var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); text-align: center; line-height: 1.15; }
.upcoming-month { font-family: "JetBrains Mono", monospace; color: var(--c); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.upcoming-day { font-family: "JetBrains Mono", monospace; font-size: 1.4rem; color: var(--text); }
.upcoming-year { color: var(--muted); font-size: 0.72rem; }
.upcoming-body { flex: 1; }
.upcoming-body h3 { margin: 0.35rem 0 0.4rem; font-size: 1.04rem; }
.upcoming-tag { display: inline-block; font-family: "JetBrains Mono", monospace; border: 1px solid var(--c); color: var(--c); border-radius: 999px; padding: 0.18rem 0.58rem; font-size: 0.74rem; }
.upcoming-status { display: inline-block; color: var(--muted); font-size: 0.86rem; font-style: italic; }
.upcoming-appointment { --c: var(--amber); margin-top: 0.9rem; display: grid; grid-template-columns: 260px 1fr; gap: 1.1rem; align-items: center; border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 10px; padding: 1rem; background: var(--panel); }
.upcoming-appointment img { width: 100%; border-radius: 8px; border: 1px solid var(--line); display: block; }

/* Countdown timer */
.countdown { display: flex; gap: 0.5rem; margin: 0.2rem 0 0.85rem; flex-wrap: wrap; }
.countdown-seg { min-width: 60px; text-align: center; border: 1px solid var(--line); border-radius: 8px; padding: 0.45rem 0.55rem; background: var(--panel); }
.countdown-num { display: block; font-family: "JetBrains Mono", monospace; font-size: 1.35rem; font-weight: 700; color: var(--c); line-height: 1; }
.countdown-lbl { display: block; font-family: "JetBrains Mono", monospace; font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-top: 0.28rem; }
.countdown-note { color: var(--lime); font-size: 0.9rem; margin: 0.2rem 0 0.85rem; }

/* Quotes */
.hero-quote-strip { --c: var(--cyan); margin-top: 0.55rem; padding: 0.95rem 1.1rem; border-radius: 10px; border: 1px solid var(--line); border-left: 3px solid var(--c); background: var(--panel); }
.hero-quote-line { margin: 0; color: #e7f4ff; font-size: 0.98rem; }
.hero-quote-source { margin: 0.4rem 0 0; color: var(--muted); font-size: 0.85rem; }
.voice-block { --c: var(--violet); }
.press-quote { margin: 1.2rem 0 0; padding: 1rem 1rem 0.9rem; border-left: 3px solid var(--c); border-radius: 10px; background: rgba(8, 12, 26, 0.6); }
.press-quote p { margin: 0; font-size: 1.05rem; color: #eef4ff; }
.press-quote.is-transitioning .press-quote-text, .press-quote.is-transitioning .press-quote-attribution, .press-quote.is-transitioning .press-quote-link { opacity: 0.24; }
.press-quote-text, .press-quote-attribution, .press-quote-link { transition: opacity 220ms ease; }
.press-quote cite { display: block; margin-top: 0.7rem; color: var(--muted); font-size: 0.9rem; font-style: normal; font-family: "JetBrains Mono", monospace; }
.press-quote-dots { display: flex; gap: 0.34rem; margin-top: 0.68rem; }
.press-quote-dot { appearance: none; border: 0; padding: 0; cursor: pointer; width: 7px; height: 7px; border-radius: 999px; background: rgba(147,155,200,0.4); transition: transform 0.18s, background 0.18s; }
.press-quote-dot.is-active { background: var(--lime); transform: scale(1.2); }

/* Mini cases */
.mini-cases { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0.9rem; margin-top: 0.7rem; }
.mini-case { border: 1px solid var(--line); border-top: 2px solid var(--c); border-radius: 8px; padding: 0.95rem; background: var(--panel); }
.mini-case h3 { font-size: 1.02rem; }
.mini-case p { margin: 0.42rem 0; font-size: 0.94rem; color: #c9cff4; }

/* Milestones timeline */
.timeline { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 0.9rem; border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 8px; background: var(--panel); padding: 0.85rem 0.95rem; }
.timeline-year { font-family: "JetBrains Mono", monospace; font-weight: 700; color: var(--c); }
.timeline-chips { margin: 0.65rem 0 0; display: flex; flex-wrap: wrap; gap: 0.45rem; }

/* Evidence timeline + filters */
.evidence-timeline { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.8rem; }
.evidence-timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 0.8rem; border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 8px; background: var(--panel); padding: 0.8rem 0.9rem; transition: opacity 0.22s, transform 0.22s; }
.evidence-timeline li.is-hidden { display: none; }
.evidence-timeline h3 { margin: 0 0 0.28rem; font-size: 1.02rem; }
.timeline-filters { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.75rem; }
.filter-chip { font-family: "JetBrains Mono", monospace; border: 1px solid var(--line); background: rgba(255,255,255,0.02); color: var(--muted); border-radius: 999px; padding: 0.34rem 0.7rem; font-size: 0.82rem; cursor: pointer; transition: color 0.18s, border-color 0.18s, background 0.18s; }
.filter-chip:hover { color: var(--text); border-color: var(--cyan); }
.filter-chip.is-active { color: #05121a; background: linear-gradient(92deg, var(--cyan), var(--lime)); border-color: transparent; }

/* Bio */
.bio { display: flex; gap: 2rem; align-items: flex-start; }
.bio-photo { width: 160px; height: 160px; border-radius: 10px; object-fit: cover; object-position: top; flex-shrink: 0; border: 1px solid var(--line); filter: saturate(0.8) contrast(1.05); }
.bio-text { flex: 1; }

/* Recognition module */
.recognition-grid { display: grid; grid-template-columns: 300px 1fr; gap: 1.4rem; align-items: center; }
.recognition-photo { width: 100%; border-radius: 10px; border: 1px solid var(--line); display: block; }
.recognition-body .eyebrow { margin-top: 0; }

/* FAQ */
.faq-item { margin: 0.7rem 0; border: 1px solid var(--line); border-left: 3px solid var(--c); border-radius: 8px; background: var(--panel); overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; font-weight: 700; color: var(--text); padding: 0.9rem 1rem; font-family: "JetBrains Mono", monospace; font-size: 0.96rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item p { margin: 0; padding: 0.9rem 1rem 1rem; color: #c9cff4; }

/* Media carousel */
.media-carousel { margin-top: 1rem; position: relative; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); overflow: hidden; }
.carousel-track { position: relative; min-height: 380px; }
.carousel-slide { margin: 0; position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity 420ms ease, transform 420ms ease; pointer-events: none; }
.carousel-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; }
.carousel-slide img { width: 100%; height: 380px; object-fit: cover; display: block; }
.carousel-slide figcaption { margin: 0; padding: 0.8rem 1rem; color: var(--muted); font-size: 0.92rem; border-top: 1px solid var(--line); background: rgba(7,12,22,0.6); font-family: "JetBrains Mono", monospace; }
.carousel-control { position: absolute; top: calc(50% - 20px); width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 999px; background: rgba(7,12,22,0.7); color: var(--text); cursor: pointer; z-index: 2; }
.carousel-control.prev { left: 0.7rem; } .carousel-control.next { right: 0.7rem; }
.carousel-control:hover { border-color: var(--cyan); color: var(--cyan); }
.carousel-dots { display: flex; justify-content: center; gap: 0.45rem; padding: 0.7rem; }
.carousel-dot { appearance: none; width: 22px; height: 22px; padding: 0; border-radius: 999px; border: 0; background: transparent; cursor: pointer; }
.carousel-dot::before { content: ""; display: block; width: 9px; height: 9px; margin: 6.5px; border-radius: 999px; background: rgba(147,155,200,0.5); transition: transform 0.16s, background 0.16s; }
.carousel-dot.is-active::before { background: var(--lime); transform: scale(1.2); }
.carousel-link { margin-top: 0.85rem; color: var(--muted); }

/* Media gallery + lightbox */
.media-grid { margin-top: 1.4rem; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0,1fr)); }
.media-card { margin: 0; position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); cursor: pointer; transition: border-color 0.2s, transform 0.2s; }
.media-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.media-card img { width: 100%; height: 250px; object-fit: cover; display: block; }
.media-card figcaption { margin: 0; padding: 0.7rem 0.85rem; color: var(--muted); font-size: 0.88rem; font-family: "JetBrains Mono", monospace; }
.media-card.is-hidden { display: none; }
.media-links { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.media-links li { margin: 0.45rem 0; color: #c9cff4; }
.thought-insights { display: grid; gap: 1rem; }
.thought-insights h2 { margin-bottom: 0; }
.thought-insights .card { margin: 0; }
.framework-link { font-family: "JetBrains Mono", monospace; font-weight: 700; }

/* Long-form article (governance-as-code) */
.container { width: min(860px, 100%); margin-inline: auto; }
.hero-subtitle { font-size: 1.2rem; color: #dfe6ff; margin: 0.4rem 0 0.6rem; }
.hero-tagline { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 0.92rem; }
.framework-section { padding: 2rem 0; }
.framework-section h2 { border-left: 3px solid var(--c); padding-left: 0.8rem; }
.framework-section h3 { color: var(--c); margin-top: 1.6rem; }
.framework-section p, .framework-section li { color: #c9cff4; }
.framework-section strong { color: var(--text); }
.mt-large { margin-top: 2rem; }
.comparison-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: 0.94rem; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.comparison-table th, .comparison-table td { text-align: left; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); }
.comparison-table thead th { background: var(--panel2); color: var(--text); font-family: "JetBrains Mono", monospace; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.comparison-table td { color: #c9cff4; }
.comparison-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.comparison-table td:first-child { color: var(--cyan); font-weight: 600; }
.code-block { margin: 1.2rem 0; padding: 1.1rem 1.2rem; background: #060a15; border: 1px solid var(--line); border-left: 3px solid var(--lime); border-radius: 8px; overflow-x: auto; }
.code-block code { font-family: "JetBrains Mono", monospace; font-size: 0.86rem; color: #cfe0ff; white-space: pre; display: block; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.9rem; }
.featured-shot { margin: 1rem 0 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.featured-shot img { width: 100%; max-height: 620px; object-fit: cover; display: block; }
.featured-shot figcaption { margin: 0; padding: 0.8rem 1rem; color: var(--muted); font-size: 0.92rem; font-family: "JetBrains Mono", monospace; }
.lightbox { position: fixed; inset: 0; background: rgba(4,6,12,0.94); z-index: 80; display: flex; align-items: center; justify-content: center; padding: 2rem 4.5rem; }
.lightbox[hidden] { display: none; }
.lightbox-figure { max-width: min(1100px, 100%); margin: 0; }
.lightbox-image { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 8px; border: 1px solid var(--line-strong); }
.lightbox-caption { margin-top: 0.7rem; color: #d4e1ee; text-align: center; font-family: "JetBrains Mono", monospace; }
.lightbox-close, .lightbox-nav { position: absolute; border: 1px solid var(--line-strong); background: rgba(12,16,30,0.8); color: #f3f7fa; border-radius: 999px; width: 44px; height: 44px; cursor: pointer; }
.lightbox-close { top: 1rem; right: 1rem; font-size: 1.4rem; }
.lightbox-prev { left: 1rem; } .lightbox-next { right: 1rem; }

/* Award video (evidence) */
.award-video-wrap { margin: 1.4rem 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; display: flex; justify-content: center; }
.award-video { display: block; width: auto; max-width: 100%; max-height: 560px; background: #000; }
.award-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin: 1.4rem 0; }
.award-gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); }
.award-gallery img { width: 100%; height: 220px; object-fit: cover; display: block; }
.award-gallery figcaption { padding: 0.6rem 0.8rem; color: var(--muted); font-size: 0.88rem; font-family: "JetBrains Mono", monospace; }
.award-source { margin-top: 0.9rem; font-size: 0.9rem; color: var(--muted); }

/* Scene separator */
.scene-cut { margin: 1.4rem 0 0.4rem; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), var(--coral), transparent); opacity: 0.55; }

/* Footer */
.site-footer { width: min(var(--max-width), calc(100% - 2.5rem)); margin: 0 auto 2.5rem; padding: 1.4rem 0 0; border-top: 1px solid var(--line); color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 0.84rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--lime); }
.small { font-size: 0.82rem; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 940px) {
  .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid, .mini-cases, .featured-talk-grid, .now-next-grid, .upcoming-grid, .upcoming-appointment, .recognition-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .site-header { flex-wrap: wrap; gap: 0.6rem; position: static; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; order: 3; width: 100%; flex-direction: column; gap: 0.1rem; padding-top: 0.25rem; border-top: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .site-nav a { display: block; padding: 0.5rem 0.1rem; }
  main { width: min(var(--max-width), calc(100% - 1rem)); }
  .metrics, .media-grid { grid-template-columns: 1fr; }
  .timeline li, .evidence-timeline li { grid-template-columns: 1fr; }
  .bio { flex-direction: column; align-items: center; text-align: center; }
  .btn { width: 100%; text-align: center; }
  .lightbox { padding: 1.4rem 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .node, .edge, .proof-ticker-mask, .reveal, .graph-hint-dot { animation: none; transition: none; }
  .reveal { opacity: 1; transform: none; }
}
