:root {
  color-scheme: light;
  --bg: #f8f7f4;
  --surface: #fcfbf8;
  --text: #171717;
  --muted: #6b6b68;
  --border: #e4e1db;
  --accent: #315c72;
  --accent-soft: #e8eff2;
  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, monospace;
  --code-bg: #f0eee9;
  --shell: 1120px;
  --reading: 760px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #111312;
  --surface: #171a18;
  --text: #eceDEA;
  --muted: #a5aaa7;
  --border: #2b302d;
  --accent: #8eb4c5;
  --accent-soft: #22343b;
  --code-bg: #1d211f;
}

@media (prefers-color-scheme: dark) {
  html:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #111312;
    --surface: #171a18;
    --text: #eceDEA;
    --muted: #a5aaa7;
    --border: #2b302d;
    --accent: #8eb4c5;
    --accent-soft: #22343b;
    --code-bg: #1d211f;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.65; text-rendering: optimizeLegibility; }
a { color: inherit; }
img, svg { max-width: 100%; }
button { font: inherit; }
::selection { background: var(--accent-soft); }

.shell { width: min(calc(100% - 48px), var(--shell)); margin: 0 auto; }
.narrow { width: min(calc(100% - 48px), var(--reading)); }
.section { padding: 120px 0; }
.section-tight { padding-top: 72px; }

.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--border) 78%, transparent); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.brand { font-family: var(--font-display); font-size: 20px; text-decoration: none; letter-spacing: -0.01em; }
.site-nav { display: flex; gap: 28px; align-items: center; }
.site-nav a, .footer-links a { font-size: 14px; text-decoration: none; color: var(--muted); transition: color .2s ease; }
.site-nav a:hover, .footer-links a:hover, .text-link:hover { color: var(--text); }
.menu-toggle { display: none; border: 1px solid var(--border); background: transparent; border-radius: 8px; padding: 8px 12px; color: var(--text); }
.theme-toggle { border: 1px solid var(--border); background: transparent; color: var(--muted); border-radius: 999px; padding: 7px 10px; font-size: 13px; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.theme-toggle:hover { color: var(--text); border-color: var(--text); }
.theme-toggle:focus-visible, .menu-toggle:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.hero { padding-top: 104px; padding-bottom: 84px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .8fr); gap: 72px; align-items: center; }
.eyebrow, .section-kicker, .project-meta, .project-status, .application-note { text-transform: uppercase; letter-spacing: .095em; font-size: 12px; font-weight: 600; color: var(--muted); }
.hero h1 { margin: 10px 0 2px; font-size: clamp(42px, 5vw, 58px); line-height: 1.02; font-weight: 500; letter-spacing: -.035em; }
.affiliation { margin: 0; color: var(--muted); font-size: 16px; }
.serif { font-family: var(--font-display); }
.hero-lead { max-width: 820px; margin: 48px 0 24px; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; letter-spacing: -.025em; }
.hero-sub { max-width: 680px; font-size: 17px; color: var(--text); }
.link-row { display: flex; flex-wrap: wrap; gap: 18px 26px; align-items: center; margin-top: 28px; }
.link-row.compact { margin-top: 24px; gap: 15px 22px; }
.text-link { text-decoration: none; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: border-color .2s ease, color .2s ease; }
.text-link:hover { border-color: var(--text); }
.application-note { margin-top: 28px; }
.hero-portrait { justify-self: end; max-width: 340px; width: 100%; }
.portrait { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.portrait-placeholder { aspect-ratio: 4 / 5; background: var(--code-bg); border: 1px solid var(--border); border-radius: 10px; display: grid; place-items: center; color: var(--muted); font-family: var(--font-display); font-size: 28px; line-height: .95; text-align: center; }
.portrait-note { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

.prose { font-size: 17px; color: var(--text); }
.prose p { margin: 0 0 1.15em; }

.section-kicker { margin-bottom: 20px; }
.philosophy-section { padding-top: 72px; }
.principles-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--border); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.principle { background: var(--bg); padding: 34px 34px 38px; min-height: 230px; }
.principle-num { font-size: 12px; color: var(--muted); margin-bottom: 42px; }
.principle h2 { font-family: var(--font-display); font-size: 32px; margin: 0 0 10px; font-weight: 500; letter-spacing: -.02em; }
.principle p { margin: 0; max-width: 410px; color: var(--muted); }

.section-heading-row { display: flex; justify-content: space-between; gap: 24px; align-items: end; }
.section-title { font-family: var(--font-display); font-size: 42px; line-height: 1.08; margin: 0; font-weight: 500; letter-spacing: -.025em; }
.section-intro { max-width: 740px; color: var(--muted); font-size: 16px; margin: 28px 0 60px; }
.research-feature { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 54px; padding: 42px 0; border-top: 1px solid var(--border); align-items: center; }
.research-feature.reverse { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.research-feature.reverse .feature-visual { order: 2; }
.research-feature.reverse .feature-copy { order: 1; }
.research-feature.compact-feature { padding-bottom: 14px; }
.feature-visual { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.research-visual { display: block; width: 100%; height: auto; }
.feature-copy h3 { font-family: var(--font-display); font-weight: 500; font-size: 38px; line-height: 1.04; margin: 12px 0 4px; letter-spacing: -.025em; }
.project-title { font-family: var(--font-display); font-size: 22px; line-height: 1.18; margin: 0 0 12px; }
.feature-copy > p:not(.project-meta):not(.project-status) { color: var(--text); max-width: 520px; }
.project-meta { margin: 0; }
.project-status { margin: 0 0 14px; }

.explore-section { padding-top: 96px; }
.explore-list { border-top: 1px solid var(--border); }
.explore-item { display: flex; justify-content: space-between; gap: 30px; padding: 24px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.explore-title { font-family: var(--font-display); display: block; font-size: 25px; margin-bottom: 3px; }
.explore-desc { color: var(--muted); display: block; }
.arrow { font-size: 20px; color: var(--muted); }

.empty-notes { border-top: 1px solid var(--border); padding: 36px 0 10px; max-width: 760px; }
.empty-notes p { margin: 0 0 10px; color: var(--muted); }
.empty-notes .serif { font-size: 26px; color: var(--text); }

.highlights-section { padding-top: 84px; padding-bottom: 96px; }
.highlights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.highlight { padding: 24px 0; padding-right: 28px; }
.highlight + .highlight { border-left: 1px solid var(--border); padding-left: 28px; }
.highlight span { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.highlight strong { font-family: var(--font-display); font-size: 24px; font-weight: 500; }

.contact-section { padding-top: 96px; padding-bottom: 130px; }
.contact-block h2 { font-family: var(--font-display); font-size: clamp(38px, 4.5vw, 54px); font-weight: 500; letter-spacing: -.025em; line-height: 1.04; margin: 0 0 16px; }
.contact-block p { max-width: 640px; color: var(--muted); font-size: 18px; }
.button-link { display: inline-block; background: var(--text); color: var(--bg); text-decoration: none; padding: 11px 16px; border-radius: 8px; font-size: 14px; transition: transform .2s ease, opacity .2s ease; }
.button-link:hover { transform: translateY(-1px); opacity: .9; }

.site-footer { border-top: 1px solid var(--border); padding: 28px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 24px; align-items: start; }
.footer-grid strong, .footer-grid span { display: block; }
.footer-grid strong { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.footer-grid span, .footer-meta { color: var(--muted); font-size: 13px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-meta { text-align: right; }

/* Inner pages */
.page-hero { padding: 84px 0 52px; border-bottom: 1px solid var(--border); }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(46px, 6vw, 68px); letter-spacing: -.035em; line-height: 1; margin: 10px 0 20px; }
.page-hero p { max-width: 740px; color: var(--muted); font-size: 17px; margin: 0; }
.page-content { padding: 72px 0 120px; }

.project-page .project-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .8fr); gap: 60px; align-items: end; }
.project-page .project-hero h1 { margin: 10px 0 12px; }
.project-hero .lede { font-family: var(--font-display); font-size: 28px; line-height: 1.16; margin: 20px 0 0; max-width: 760px; }
.project-meta-block { text-align: right; }
.project-meta-block .project-status { margin-bottom: 8px; }
.project-links { display: flex; justify-content: flex-end; gap: 16px; flex-wrap: wrap; }
.paper-figure { margin: 62px auto 72px; max-width: 980px; }
.paper-figure img { display: block; width: 100%; height: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; cursor: zoom-in; }
.paper-figure figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; }

.full-bleed-visual { margin: 62px 0 84px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--surface); }
.project-section { margin: 0 auto 72px; max-width: var(--reading); }
.project-section h2 { font-family: var(--font-display); font-size: 34px; font-weight: 500; line-height: 1.1; margin: 0 0 18px; }
.project-section p, .project-section li { font-size: 17px; color: var(--text); }
.project-section ul { padding-left: 22px; }
.contribution { border-left: 3px solid var(--accent); padding: 8px 0 8px 22px; margin: 28px 0; }
.contribution .section-kicker { margin-bottom: 8px; }
.callout { background: var(--accent-soft); padding: 22px 24px; border-radius: 10px; }
.back-link { display: inline-block; margin-bottom: 22px; color: var(--muted); text-decoration: none; font-size: 14px; }

.pub-list { border-top: 1px solid var(--border); }
.pub-item { display: grid; grid-template-columns: 90px 1fr; gap: 30px; padding: 30px 0; border-bottom: 1px solid var(--border); }
.pub-year { color: var(--muted); font-size: 13px; }
.pub-title { font-family: var(--font-display); font-size: 27px; line-height: 1.12; margin: 0 0 7px; }
.pub-meta { color: var(--muted); font-size: 14px; }
.pub-links { margin-top: 13px; display: flex; gap: 18px; flex-wrap: wrap; }

.notes-index { border-top: 1px solid var(--border); }
.note-placeholder { padding: 40px 0; border-bottom: 1px solid var(--border); }
.note-placeholder h2 { font-family: var(--font-display); font-size: 30px; font-weight: 500; margin: 0 0 10px; }
.note-placeholder p { color: var(--muted); max-width: 720px; }

.cv-frame { width: 100%; min-height: 80vh; border: 1px solid var(--border); border-radius: 10px; background: white; }
.cv-actions { display: flex; gap: 18px; flex-wrap: wrap; margin: 22px 0 34px; }

@media (max-width: 860px) {
  .hero-grid, .project-page .project-hero { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: start; max-width: 280px; }
  .project-meta-block { text-align: left; }
  .project-links { justify-content: flex-start; }
  .research-feature, .research-feature.reverse { grid-template-columns: 1fr; gap: 30px; }
  .research-feature.reverse .feature-visual, .research-feature.reverse .feature-copy { order: initial; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
}

@media (max-width: 700px) {
  .shell, .narrow { width: min(calc(100% - 32px), var(--shell)); }
  .section { padding: 82px 0; }
  .hero { padding-top: 68px; }
  .site-header { background: var(--bg); }
  .menu-toggle { display: inline-block; }
  .theme-toggle { padding: 7px 9px; }
  .site-nav { display: none; position: absolute; left: 16px; right: 16px; top: 65px; padding: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; flex-direction: column; align-items: flex-start; gap: 0; }
  .site-nav.open { display: flex; }
  .site-nav a { width: 100%; padding: 11px 10px; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle { min-height: 0; }
  .section-heading-row { align-items: start; flex-direction: column; }
  .section-title { font-size: 36px; }
  .hero-lead { font-size: 35px; margin-top: 34px; }
  .feature-copy h3 { font-size: 33px; }
  .project-title { font-size: 20px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlight + .highlight { border-left: 0; border-top: 1px solid var(--border); padding-left: 0; }
  .pub-item { grid-template-columns: 1fr; gap: 10px; }
  .page-hero { padding-top: 62px; }
  .project-section h2 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* Neural hero palette — adapted from the supplied neural-network SVG demo to the site's theme. */
.intro-sticky {
  --intro-bg: #0a0f1e;
  --strand-dim: #3c5c86;
  --strand-mid: #4f7aa8;
  --strand-hero: #6fc3cf;
  --neuron-core: #cdeef3;
  --neuron-mid: #6fa7c4;
  --neuron-dim: #33507a;
  --bloom: #f3fbff;
  --hum: #8fd0d8;
  --neuron-outline: rgba(205, 238, 243, .48);
  --neuron-blue: #6fa7c4;
  --neuron-cyan: #6fc3cf;
  --neuron-violet: #7f86d8;
  --neuron-bg: #3c5c86;
  --neuron-signal: #f3fbff;
}
html[data-theme="dark"] .intro-sticky {
  --intro-bg: #0a0f1e;
}
html[data-theme="light"] .intro-sticky {
  --intro-bg: #111a28;
}
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .intro-sticky { --intro-bg: #111a28; }
}

/* Immersive home introduction */
.home-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  z-index: 60;
  transition: background .45s ease, border-color .45s ease, backdrop-filter .45s ease;
}
.home-page.home-scrolled .site-header {
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  border-bottom-color: color-mix(in srgb, var(--border) 78%, transparent);
  backdrop-filter: blur(10px);
}
.home-page .site-header .brand,
.home-page .site-header .site-nav a,
.home-page .site-header .theme-toggle,
.home-page .site-header .menu-toggle {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, color .2s ease, border-color .2s ease, background .2s ease;
}
.home-page.home-scrolled .site-header .brand,
.home-page.home-scrolled .site-header .site-nav a,
.home-page.home-scrolled .site-header .theme-toggle,
.home-page.home-scrolled .site-header .menu-toggle {
  opacity: 1;
  pointer-events: auto;
}
.home-page .site-header .nav-wrap { min-height: 72px; }
.home-page .site-header .nav-actions { opacity: 0; transition: opacity .35s ease; }
.home-page.home-scrolled .site-header .nav-actions { opacity: 1; }
.intro-stage { height: 155vh; position: relative; }
.intro-sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; background: var(--bg); }
.intro-visual, .intro-overlay, .intro-shell { position: absolute; inset: 0; }
.intro-visual { transform: scale(1); transform-origin: left center; will-change: transform, opacity, clip-path; }
.intro-overlay { background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 80%, transparent) 0%, color-mix(in srgb, var(--bg) 60%, transparent) 46%, color-mix(in srgb, var(--bg) 78%, transparent) 100%); pointer-events: none; }
.intro-network { width: 100%; height: 100%; color: var(--accent); overflow: visible; }
.intro-links, .intro-points, .intro-orbit, .neuron-connections, .neuron-nodes, .neuron-pulses, .neuron-orbit { transform-origin: 50% 50%; }
.intro-shell { width: min(calc(100% - 48px), var(--shell)); margin: 0 auto; display: flex; flex-direction: column; z-index: 2; }
.intro-topline { padding-top: 24px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }

.intro-brand { font-family: var(--font-display); font-size: 21px; text-decoration: none; }
.intro-nav { display: flex; gap: 24px; }
.intro-nav a { color: var(--muted); text-decoration: none; font-size: 13px; }
.intro-nav a:hover { color: var(--text); }
.intro-body { flex: 1; display: flex; align-items: center; }
.intro-copy { max-width: 920px; padding: 60px 0 110px; }
.intro-copy .eyebrow { max-width: 760px; }
.intro-title { margin: 22px 0 28px; max-width: 980px; font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 6.1vw, 82px); line-height: .98; letter-spacing: -.04em; }
.intro-title span { color: var(--text); }
.intro-links { display: flex; flex-wrap: wrap; gap: 13px 22px; max-width: 760px; }
.intro-links a { text-decoration: none; font-size: 14px; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 3px; transition: color .2s ease, border-color .2s ease, transform .2s ease; }
.intro-links a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.intro-availability { margin-top: 28px; color: var(--muted); text-transform: uppercase; letter-spacing: .095em; font-weight: 600; font-size: 11px; }
.intro-scroll { position: absolute; left: 0; bottom: 32px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.intro-scroll i { font-style: normal; font-size: 18px; animation: intro-bob 1.8s ease-in-out infinite; }
@keyframes intro-bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(5px); } }
.home-page .page-main { position: relative; z-index: 1; }
.home-page .section-tight { padding-top: 110px; }

/* Living neuron field: sparse, low-frequency activation pulses. */
.neuron-connections { animation: network-breathe 8s ease-in-out infinite alternate; }
.neuron-nodes { animation: node-breathe 10s ease-in-out infinite alternate; }
.neuron-orbit { animation: orbit-drift 18s linear infinite; transform-origin: 700px 390px; }
.pulse { fill: none; stroke: currentColor; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: neuron-fire 5.5s ease-out infinite; }
.pulse-1 { animation-delay: .4s; }
.pulse-2 { animation-delay: 2.1s; }
.pulse-3 { animation-delay: 3.3s; }
.pulse-4 { animation-delay: 4.4s; }
.pulse-5 { animation-delay: 1.3s; }
@keyframes neuron-fire {
  0%, 76% { opacity: 0; transform: scale(.35); }
  81% { opacity: .7; transform: scale(.75); }
  94% { opacity: 0; transform: scale(1.8); }
  100% { opacity: 0; transform: scale(2); }
}
@keyframes network-breathe { from { opacity: .86; } to { opacity: 1; } }
@keyframes node-breathe { from { opacity: .76; } to { opacity: .95; } }
@keyframes orbit-drift { from { transform: rotate(0deg); } to { transform: rotate(8deg); } }

/* Scroll-driven transformation of the intro scene. */
.js-motion .intro-sticky .intro-visual {
  transform: translate3d(calc(var(--intro-progress, 0) * -18vw), 0, 0) scale(calc(1 - var(--intro-progress, 0) * .12));
  opacity: calc(1 - var(--intro-progress, 0));
  clip-path: inset(0 calc(var(--intro-progress, 0) * 100%) 0 0 round 0);
}
.js-motion .intro-sticky .intro-overlay {
  opacity: calc(1 - var(--intro-progress, 0) * .35);
}
.js-motion .intro-copy {
  transform: translate3d(0, calc(var(--intro-progress, 0) * -14vh), 0) scale(calc(1 - var(--intro-progress, 0) * .045));
  opacity: calc(1 - var(--intro-progress, 0));
  transition: transform .08s linear, opacity .08s linear;
}
.js-motion .intro-scroll { opacity: calc(1 - var(--intro-progress, 0) * 2.8); }
.js-motion .intro-network .intro-points { transform: translate3d(calc(var(--intro-progress, 0) * 30px), calc(var(--intro-progress, 0) * -14px), 0) scale(calc(1 + var(--intro-progress, 0) * .18)); }
.js-motion .intro-network .intro-links { transform: translate3d(calc(var(--intro-progress, 0) * 55px), 0, 0) scale(calc(1 + var(--intro-progress, 0) * .06)); }

@media (max-width: 700px) {
  .intro-stage { height: 135vh; }
  .intro-sticky { min-height: 620px; }
  .intro-copy { padding: 38px 0 100px; }
  .intro-title { font-size: clamp(40px, 11vw, 58px); }
  .intro-links { gap: 12px 18px; }
  .intro-overlay { background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 84%, transparent), color-mix(in srgb, var(--bg) 72%, transparent)); }
  .intro-scroll { bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-scroll i, .neuron-connections, .neuron-nodes, .neuron-orbit, .pulse { animation: none !important; }
  .home-page .site-header, .home-page .site-header * { transition: none !important; }
  .js-motion .intro-sticky .intro-visual, .js-motion .intro-sticky .intro-copy, .js-motion .intro-network .intro-points, .js-motion .intro-network .intro-links { transform: none !important; }
  .js-motion .intro-sticky .intro-visual { opacity: .3; clip-path: none; }
  .js-motion .intro-sticky .intro-copy { opacity: 1; }
}

/* Tier 1 motion: research-driven, subtle, and disabled for reduced-motion users. */
.reveal-section,
.reveal-item {
  opacity: 1;
  transform: none;
}

.js-motion .reveal-section,
.js-motion .reveal-item {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s ease, transform .65s ease;
}

.js-motion .reveal-section.is-visible,
.js-motion .reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-motion .research-feature.reveal-item:nth-child(2) { transition-delay: 90ms; }
.js-motion .research-feature.reveal-item:nth-child(3) { transition-delay: 160ms; }

/* Research-card hover: small shifts only, keeping the visual research-first. */
.research-card {
  transition: border-color .28s ease, transform .28s ease;
}

.research-card .feature-visual {
  transition: border-color .28s ease, box-shadow .28s ease;
}

.research-card .research-visual {
  transition: transform .55s cubic-bezier(.2,.65,.2,1);
}

.research-card .text-link:first-child::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  margin-left: 0;
  vertical-align: middle;
  background: var(--accent);
  transition: width .28s ease, margin-left .28s ease;
}

.research-card:hover .feature-visual {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  box-shadow: 0 14px 35px rgba(23, 23, 23, .06);
}

html[data-theme="dark"] .research-card:hover .feature-visual {
  box-shadow: 0 14px 35px rgba(0, 0, 0, .2);
}

.research-card:hover .research-visual {
  transform: translateY(-2px) scale(1.008);
}

.research-card:hover .text-link:first-child::after {
  width: 18px;
  margin-left: 7px;
}

/* SORA: both perturbations are straight; hover/entry animates their progression. */
.sora-long-path,
.sora-short-path,
.sora-long-arrow,
.sora-short-arrow {
  transform-origin: left center;
}

.js-motion .sora-long-path,
.js-motion .sora-short-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: sora-draw 1.05s cubic-bezier(.22,.61,.36,1) .25s forwards paused;
}

.js-motion .sora-long-arrow,
.js-motion .sora-short-arrow,
.js-motion .sora-long-end,
.js-motion .sora-short-end {
  opacity: 0;
  transition: opacity .22s ease;
}

.research-card.is-visible .sora-long-path,
.research-card.is-visible .sora-short-path {
  animation-play-state: running;
}

.research-card.is-visible .sora-long-arrow,
.research-card.is-visible .sora-short-arrow,
.research-card.is-visible .sora-long-end,
.research-card.is-visible .sora-short-end {
  opacity: 1;
}

.research-card:hover .sora-short-path,
.research-card:hover .sora-short-arrow {
  filter: drop-shadow(0 0 3px color-mix(in srgb, var(--accent) 45%, transparent));
}

@keyframes sora-draw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

/* NCO: route draws itself once, candidate edge appears last. */
.js-motion .nco-tour-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.research-card.is-visible .nco-tour-path {
  animation: nco-draw 1.25s cubic-bezier(.22,.61,.36,1) .15s forwards;
}

.nco-candidate-path {
  opacity: .16;
  transition: opacity .35s ease;
}

.research-card:hover .nco-candidate-path {
  opacity: .72;
}

@keyframes nco-draw {
  to { stroke-dashoffset: 0; }
}

/* Transformation teaser: transformed samples and response signals react on hover. */
.research-visual--transforms .transform-invariant,
.research-visual--transforms .transform-sensitive {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform .55s cubic-bezier(.2,.65,.2,1), opacity .35s ease;
}

.research-card:hover .research-visual--transforms .transform-invariant {
  transform: translateX(8px) rotate(6deg);
}

.research-card:hover .research-visual--transforms .transform-sensitive {
  transform: translateX(10px) scale(1.08);
}

/* Navigation active state. */
.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .25s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

.site-nav a[aria-current="page"] {
  color: var(--text);
}

@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal-section,
  .js-motion .reveal-item { opacity: 1; transform: none; transition: none; }
  .research-card,
  .research-card .feature-visual,
  .research-card .research-visual,
  .site-nav a::after,
  .sora-long-arrow,
  .sora-short-arrow,
  .sora-long-end,
  .sora-short-end,
  .nco-candidate-path { transition: none !important; animation: none !important; }
  .sora-long-path,
  .sora-short-path { stroke-dasharray: none; stroke-dashoffset: 0; }
  .nco-tour-path { stroke-dasharray: none; stroke-dashoffset: 0; }
}

/* Tier 2: research trajectory */
.trajectory-section { padding-top: 96px; }
.trajectory-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 96px; align-items: start; }
.trajectory-intro { max-width: 520px; }
.trajectory-intro p { color: var(--muted); max-width: 480px; font-size: 17px; margin: 26px 0 0; }
.trajectory-path { position: relative; padding-left: 34px; }
.trajectory-line { position: absolute; left: 6px; top: 14px; bottom: 16px; width: 1px; background: var(--border); overflow: hidden; }
.trajectory-progress { display: block; width: 100%; height: 0; background: var(--accent); transform-origin: top; }
.js-motion .trajectory-progress { transition: height 1.4s cubic-bezier(.22,.61,.36,1); }
.js-motion .trajectory-section.is-visible .trajectory-progress { height: 100%; }
.trajectory-node { position: relative; display: grid; grid-template-columns: 1fr; gap: 10px; padding: 0 0 52px; }
.trajectory-node:last-child { padding-bottom: 0; }
.trajectory-dot { position: absolute; left: -34px; top: 7px; width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--bg); background: var(--border); box-shadow: 0 0 0 1px var(--border); transition: background .35s ease, box-shadow .35s ease, transform .35s ease; }
.js-motion .trajectory-node:nth-child(2) .trajectory-dot { transition-delay: 120ms; }
.js-motion .trajectory-node:nth-child(3) .trajectory-dot { transition-delay: 250ms; }
.js-motion .trajectory-node:nth-child(4) .trajectory-dot { transition-delay: 380ms; }
.js-motion .trajectory-node:nth-child(5) .trajectory-dot { transition-delay: 510ms; }
.js-motion .trajectory-section.is-visible .trajectory-node .trajectory-dot { background: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.trajectory-year { display: block; color: var(--muted); font-size: 12px; letter-spacing: .11em; margin-bottom: 5px; }
.trajectory-node strong { font-family: var(--font-display); font-weight: 500; font-size: 30px; letter-spacing: -.02em; }
.trajectory-node p { color: var(--muted); max-width: 520px; margin: 4px 0 0; }

/* Tier 2: richer research-area accents */
.research-area--robustness .project-meta { color: color-mix(in srgb, var(--accent) 92%, var(--muted)); }
.research-area--interpretability .project-meta { color: var(--area-interpretability, #665a86); }
.research-area--geometry .project-meta { color: var(--area-foundations, #536e60); }
html[data-theme="dark"] { --area-interpretability: #b5a9d1; --area-foundations: #a8c1b1; }
.feature-copy h3, .project-title, .project-status, .feature-copy > p:not(.project-meta):not(.project-status) { transition: color .28s ease; }
.research-card:hover .feature-copy h3 { color: color-mix(in srgb, var(--accent) 88%, var(--text)); }
.research-area--interpretability:hover .feature-copy h3 { color: var(--area-interpretability, #665a86); }
.research-area--geometry:hover .feature-copy h3 { color: var(--area-foundations, #536e60); }

/* Tier 2: paper figure reveal */
.paper-figure { position: relative; }
.js-motion .paper-figure img { clip-path: inset(0 0 8% 0); opacity: .76; transform: translateY(8px); transition: opacity .8s ease, transform .8s ease, clip-path .9s ease; }
.js-motion .paper-figure.is-visible img { clip-path: inset(0 0 0 0); opacity: 1; transform: translateY(0); }

/* Tier 2: notes are intentionally index-like rather than card-heavy. */
.notes-index { position: relative; }
.note-placeholder { position: relative; padding-left: 20px; transition: padding-left .28s ease, border-color .28s ease; }
.note-placeholder::before { content: ""; position: absolute; left: 0; top: 41px; width: 0; height: 28px; background: var(--accent); transition: width .28s ease; }
.note-placeholder:hover { padding-left: 28px; }
.note-placeholder:hover::before { width: 2px; }
.note-placeholder h2 { transition: color .28s ease; }
.note-placeholder:hover h2 { color: var(--accent); }

/* Tier 2: subtle rule animation for section dividers. */
.js-motion .section-heading-row::after { content: ""; position: absolute; }
.section-heading-row { position: relative; }

@media (max-width: 860px) {
  .trajectory-grid { grid-template-columns: 1fr; gap: 58px; }
}

/* v10: About portrait and richer neural intro */
.about-section .about-grid,
.about-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,340px); gap:72px; align-items:center; }
.about-portrait { margin:0; justify-self:end; width:min(100%,340px); }
.about-portrait img { display:block; width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:12px; border:1px solid var(--border); box-shadow:0 18px 50px color-mix(in srgb, var(--text) 7%, transparent); }
.about-section .prose { max-width:760px; }

/* Opening theme control must remain interactive above the visual/overlay layers. */
.intro-shell { pointer-events:none; }
.intro-shell a, .intro-shell button { pointer-events:auto; }

/* Neural background uses an intentionally deeper visual hierarchy. */
.intro-network { background:#080d1a; }
.intro-network #bg-layer, .intro-network #mid-layer, .intro-network #fg-layer { transform-box:fill-box; transform-origin:center; }
.intro-network #bg-layer { animation: neural-drift-back 24s ease-in-out infinite alternate; }
.intro-network #mid-layer { animation: neural-drift-mid 18s ease-in-out infinite alternate; }
.intro-network #fg-layer { animation: neural-drift-front 14s ease-in-out infinite alternate; }
.intro-network .signal { opacity:.96; }
@keyframes neural-drift-back { from{transform:translate3d(-1.5%,1%,0) scale(1);} to{transform:translate3d(1.5%,-1%,0) scale(1.03);} }
@keyframes neural-drift-mid { from{transform:translate3d(1%,-.5%,0);} to{transform:translate3d(-1%,.8%,0);} }
@keyframes neural-drift-front { from{transform:translate3d(-.5%,.4%,0);} to{transform:translate3d(.8%,-.5%,0);} }

@media (max-width: 850px) {
  .about-section .about-grid,
  .about-grid { grid-template-columns:1fr; gap:44px; }
  .about-portrait { justify-self:start; width:min(100%,300px); }
}

@media (prefers-reduced-motion: reduce) {
  .intro-network #bg-layer, .intro-network #mid-layer, .intro-network #fg-layer { animation:none !important; }
  .intro-network .signal { display:none; }
}

/* v10 visual refresh */
.about-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,340px); gap:72px; align-items:center; }
.about-portrait { margin:0; justify-self:end; width:min(100%,340px); }
.about-portrait img { display:block; width:100%; aspect-ratio:4/5; object-fit:cover; border-radius:12px; border:1px solid var(--border); box-shadow:0 18px 50px color-mix(in srgb, var(--text) 7%, transparent); }
.about-section .prose { max-width:760px; }
.intro-shell { pointer-events:none; }
.intro-shell a, .intro-shell button { pointer-events:auto; }
.intro-network { background:#080d1a; }
.intro-network #bg-layer { animation: neural-back 24s ease-in-out infinite alternate; }
.intro-network #mid-layer { animation: neural-mid 18s ease-in-out infinite alternate; }
.intro-network #fg-layer { animation: neural-front 14s ease-in-out infinite alternate; }
@keyframes neural-back { from{transform:translate(-1.3%,1%) scale(1)} to{transform:translate(1.3%,-1%) scale(1.03)} }
@keyframes neural-mid { from{transform:translate(0.8%,-0.4%)} to{transform:translate(-0.8%,0.6%)} }
@keyframes neural-front { from{transform:translate(-0.35%,0.25%)} to{transform:translate(0.55%,-0.35%)} }
@media (max-width: 850px){ .about-grid{grid-template-columns:1fr;gap:44px}.about-portrait{justify-self:start;width:min(100%,300px)} }
@media (prefers-reduced-motion: reduce){ .intro-network #bg-layer,.intro-network #mid-layer,.intro-network #fg-layer{animation:none!important}.intro-network .signal{display:none} }

/* v11: refined neural opener and composition */
:root {
  --intro-bg: #f8f7f4;
  --neuron-bg: #c7d0dc;
  --neuron-mid: #68798e;
  --neuron-blue: #5f86a4;
  --neuron-cyan: #4f94b2;
  --neuron-violet: #6c6f9d;
  --neuron-deep: #3f566f;
  --neuron-outline: #dceaf0;
  --neuron-hi: #edfaff;
  --neuron-signal: #dffbff;
}

html[data-theme="dark"] {
  --intro-bg: #0f141d;
  --neuron-bg: #3b4859;
  --neuron-mid: #5c6e82;
  --neuron-blue: #38bdf8;
  --neuron-cyan: #00d9e8;
  --neuron-violet: #7778d6;
  --neuron-deep: #24374b;
  --neuron-outline: #cdebf2;
  --neuron-hi: #e0f7fc;
  --neuron-signal: #ffffff;
}

.intro-body { align-items: flex-start; }
.intro-copy { padding-top: clamp(150px, 19vh, 205px); padding-bottom: 40px; }
.intro-title { max-width: 970px; }
.intro-network { background: var(--intro-bg); }
.intro-overlay { background: linear-gradient(90deg, color-mix(in srgb, var(--intro-bg) 54%, transparent) 0%, color-mix(in srgb, var(--intro-bg) 28%, transparent) 48%, color-mix(in srgb, var(--intro-bg) 54%, transparent) 100%); }

/* In light mode, the opener remains part of the same palette; in dark mode it becomes deeper and more luminous. */
html[data-theme="dark"] .intro-overlay { background: linear-gradient(90deg, rgba(15,20,29,.52), rgba(15,20,29,.18) 50%, rgba(15,20,29,.48)); }

/* Let the foreground copy sit a little above center while keeping the scroll cue near the bottom. */
.js-motion .intro-sticky .intro-copy { transform: translate3d(0, calc(var(--intro-progress, 0) * -14vh), 0) scale(calc(1 - var(--intro-progress, 0) * .045)); }


.authors { margin: 10px 0 5px; max-width: 850px; font-size: 15px; line-height: 1.55; color: var(--text); }
.authors strong { font-weight: 700; }
.authors sup { font-size: .72em; top: -.35em; position: relative; }
.author-note { margin: 0 0 4px; font-size: 12px; color: var(--muted); }
.author-note sup { font-size: .72em; top: -.2em; position: relative; }
.authors a { color: inherit; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.authors a:hover { color: var(--accent); text-decoration-color: currentColor; }
.supervision { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.supervision a { color: inherit; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.supervision a:hover { color: var(--accent); text-decoration-color: currentColor; }

@media (max-width: 900px) {
  .intro-copy { padding-top: 15vh; }
}

@media (max-width: 640px) {
  .intro-copy { padding-top: 11vh; }
}

@media (prefers-reduced-motion: reduce) {
  .intro-copy, .intro-visual { transform: none !important; }
}
.intro-nav { display:none !important; }
.intro-shell { z-index: 10; }
.intro-topline, .intro-body, .intro-scroll { position: relative; z-index: 11; }


/* v13: immersive opener cleanup — continuous transition, reliable controls. */
.intro-visual { pointer-events: none; }
.intro-overlay { pointer-events: none; }
.intro-shell { pointer-events: auto; z-index: 30; }
.intro-shell a, .intro-shell button { pointer-events: auto; }

/* Keep the transition compact so the main content arrives as the opener ends. */
.intro-stage { height: 125vh; }
.home-page .about-section { padding-top: 72px; }

/* Make the scroll cue unambiguously visible at the top, then let the existing
   scroll-progress rule fade it away. */
.intro-scroll { z-index: 35; opacity: 1; }

@media (max-width: 700px) {
  .intro-stage { height: 120vh; }
  .home-page .about-section { padding-top: 56px; }
  .intro-scroll { bottom: 24px; }
}

/* Selected work / academic background */
.selected-work-section { padding-top: 100px; }
.selected-work-list { border-top: 1px solid var(--border); }
.work-row { display: grid; grid-template-columns: 54px minmax(0, 1fr) 28px; gap: 22px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; transition: background-color .25s ease, transform .25s ease, padding-left .25s ease; }
.work-row:hover { background: var(--surface); padding-left: 10px; padding-right: 10px; }
.work-index { color: var(--muted); font-size: 12px; padding-top: 4px; }
.work-meta { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .095em; margin-bottom: 7px; }
.work-main h3 { font-family: var(--font-display); font-size: 28px; font-weight: 500; line-height: 1.08; margin: 0 0 7px; }
.work-main p { margin: 0; color: var(--muted); max-width: 760px; font-size: 16px; }
.work-arrow { color: var(--muted); font-size: 19px; padding-top: 3px; text-align: right; }
.background-section { padding-top: 108px; }
.background-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.timeline-list { border-top: 1px solid var(--border); }
.timeline-item { display: grid; grid-template-columns: 115px 1fr; gap: 26px; padding: 24px 0; border-bottom: 1px solid var(--border); }
.timeline-date { font-size: 12px; color: var(--muted); padding-top: 4px; }
.timeline-item h3, .teaching-block h3 { font-family: var(--font-display); font-size: 24px; font-weight: 500; margin: 0 0 6px; }
.timeline-item p, .teaching-block p { color: var(--muted); margin: 0; font-size: 15px; line-height: 1.6; }
.teaching-block { border-top: 1px solid var(--border); padding: 24px 0; }
.teaching-block--secondary { border-top: 1px solid var(--border); }
.teaching-courses { margin-top: 13px !important; font-size: 14px !important; }
.projects-page-list { max-width: 980px; }
.project-list-item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 28px; padding: 34px 0; border-top: 1px solid var(--border); }
.project-list-item:last-child { border-bottom: 1px solid var(--border); }
.project-list-index { color: var(--muted); font-size: 12px; padding-top: 6px; }
.project-list-item h2 { font-family: var(--font-display); font-size: 34px; line-height: 1.08; font-weight: 500; margin: 9px 0 10px; }
.project-list-item p { max-width: 780px; color: var(--muted); font-size: 16px; margin: 0; line-height: 1.65; }
.project-links-inline { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
@media (max-width: 860px) { .background-grid { grid-template-columns: 1fr; gap: 34px; } .work-row { grid-template-columns: 42px minmax(0,1fr) 24px; gap: 14px; } }
@media (max-width: 700px) { .timeline-item { grid-template-columns: 1fr; gap: 8px; } .work-main h3 { font-size: 24px; } .project-list-item { grid-template-columns: 42px minmax(0,1fr); gap: 14px; } .project-list-item h2 { font-size: 29px; } }

/* The immersive opener intentionally remains dark in both themes. The theme toggle controls the site content below, not the opener artwork. */
.intro-sticky { --intro-bg: #0a0f1e !important; }
.intro-network { --intro-bg: #0a0f1e !important; --neuron-bg: #3c5c86 !important; --neuron-mid: #4f7aa8 !important; --neuron-blue: #38bdf8 !important; --neuron-cyan: #6fc3cf !important; --neuron-violet: #6366f1 !important; --neuron-deep: #24374b !important; --neuron-outline: #e0f7fc !important; --neuron-hi: #e0f7fc !important; --neuron-signal: #ffffff !important; }
.intro-overlay { background: linear-gradient(90deg, rgba(10,15,30,.56), rgba(10,15,30,.22) 50%, rgba(10,15,30,.52)); }

.baseline-details{margin-top:18px}.baseline-details summary{cursor:pointer;color:var(--accent);font-size:.92rem;font-weight:600}.baseline-details summary::marker{color:var(--accent)}.baseline-details .baseline-groups{margin-top:16px}
.baseline-links{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:10px}.baseline-groups{display:grid;grid-template-columns:1fr;gap:24px;margin-top:20px}.baseline-groups>div{padding-top:12px;border-top:1px solid var(--border)}


/* Permanent dark styling for the immersive opener. The opener is intentionally
   independent of the site's light/dark theme; only the content below it themes. */
.intro-sticky {
  --intro-bg: #0a0f1e !important;
  --intro-text: #f2f7fa;
  --intro-muted: #aebdcb;
  --intro-border: rgba(220,232,240,.24);
  --intro-accent: #8fd0d8;
  background: var(--intro-bg) !important;
  color: var(--intro-text) !important;
}
.intro-sticky .intro-brand,
.intro-sticky .intro-title,
.intro-sticky .intro-title span,
.intro-sticky .intro-links a { color: var(--intro-text) !important; }
.intro-sticky .intro-links a { border-color: var(--intro-border) !important; }
.intro-sticky .intro-links a:hover { color: var(--intro-accent) !important; border-color: var(--intro-accent) !important; }
.intro-sticky .intro-copy .eyebrow,
.intro-sticky .intro-availability,
.intro-sticky .intro-scroll { color: var(--intro-muted) !important; }
.intro-sticky .intro-scroll i { color: var(--intro-text) !important; }
.intro-network { background: var(--intro-bg) !important; }
.intro-overlay { background: linear-gradient(90deg, rgba(10,15,30,.56), rgba(10,15,30,.22) 50%, rgba(10,15,30,.52)) !important; }
html[data-theme="light"] .intro-sticky,
html[data-theme="dark"] .intro-sticky {
  --intro-bg: #0a0f1e !important;
  color: var(--intro-text) !important;
}
html[data-theme="light"] .intro-sticky .intro-brand,
html[data-theme="light"] .intro-sticky .intro-title,
html[data-theme="light"] .intro-sticky .intro-title span,
html[data-theme="light"] .intro-sticky .intro-links a,
html[data-theme="light"] .intro-sticky .intro-scroll i { color: var(--intro-text) !important; }
html[data-theme="light"] .intro-sticky .intro-copy .eyebrow,
html[data-theme="light"] .intro-sticky .intro-availability,
html[data-theme="light"] .intro-sticky .intro-scroll { color: var(--intro-muted) !important; }


/* Final opener isolation: the immersive hero is permanently dark, independent
   of the light/dark theme selected for the rest of the site. */
.intro-sticky {
  --intro-bg: #0a0f1e !important;
  --intro-text: #f2f7fa !important;
  --intro-muted: #aebdcb !important;
  --intro-border: rgba(220,232,240,.24) !important;
  --intro-accent: #8fd0d8 !important;
  background: #0a0f1e !important;
  color: #f2f7fa !important;
}
.intro-sticky .intro-brand,
.intro-sticky .intro-title,
.intro-sticky .intro-title span,
.intro-sticky .intro-links a {
  color: #f2f7fa !important;
}
.intro-sticky .intro-copy .eyebrow,
.intro-sticky .intro-availability,
.intro-sticky .intro-scroll {
  color: #aebdcb !important;
}
.intro-sticky .intro-scroll i {
  color: #f2f7fa !important;
}
.intro-sticky .intro-links a {
  border-bottom-color: rgba(220,232,240,.24) !important;
}
.intro-sticky .intro-links a:hover {
  color: #8fd0d8 !important;
  border-bottom-color: #8fd0d8 !important;
}
.intro-network {
  background: #0a0f1e !important;
}
.intro-overlay {
  background: linear-gradient(90deg, rgba(10,15,30,.56), rgba(10,15,30,.22) 50%, rgba(10,15,30,.52)) !important;
}
html[data-theme="light"] .intro-sticky,
html[data-theme="dark"] .intro-sticky,
html[data-theme="light"] .intro-sticky .intro-brand,
html[data-theme="light"] .intro-sticky .intro-title,
html[data-theme="light"] .intro-sticky .intro-title span,
html[data-theme="light"] .intro-sticky .intro-links a,
html[data-theme="dark"] .intro-sticky .intro-brand,
html[data-theme="dark"] .intro-sticky .intro-title,
html[data-theme="dark"] .intro-sticky .intro-title span,
html[data-theme="dark"] .intro-sticky .intro-links a {
  color: #f2f7fa !important;
}
html[data-theme="light"] .intro-sticky .intro-copy .eyebrow,
html[data-theme="light"] .intro-sticky .intro-availability,
html[data-theme="light"] .intro-sticky .intro-scroll,
html[data-theme="dark"] .intro-sticky .intro-copy .eyebrow,
html[data-theme="dark"] .intro-sticky .intro-availability,
html[data-theme="dark"] .intro-sticky .intro-scroll {
  color: #aebdcb !important;
}
