/* ==========================================================================
   qSIM Laboratory — site styles
   Light editorial theme (+ automatic / toggled dark mode)
   To change the brand colour, edit --accent below (light) and in the dark block.
   ========================================================================== */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/ibm-plex-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --sunken: #f3f1ec;
  --ink: #17171b;
  --ink-2: #2e2e34;
  --muted: #57575f;
  --line: #dcd8cf;
  --line-strong: #bdb8ad;
  --accent: #b3141c;          /* qSIM red, from the logo */
  --accent-ink: #ffffff;
  --accent-soft: rgba(179, 20, 28, 0.07);
  --band: #141418;            /* dark "join" band */
  --band-ink: #f1efea;
  --atom: #b3141c;
  --atom-dim: rgba(23, 23, 27, 0.16);

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --space-section: clamp(72px, 11vw, 144px);
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(20, 20, 25, 0.04), 0 8px 24px -12px rgba(20, 20, 25, 0.12);
  --shadow-lift: 0 2px 4px rgba(20, 20, 25, 0.05), 0 22px 44px -18px rgba(20, 20, 25, 0.22);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --paper: #0f1013;
  --surface: #16171b;
  --sunken: #1b1c21;
  --ink: #edebe6;
  --ink-2: #c9c7c1;
  --muted: #9d9ca3;
  --line: #2a2b31;
  --line-strong: #3a3b42;
  --accent: #ff6f61;
  --accent-ink: #17171b;
  --accent-soft: rgba(255, 111, 97, 0.10);
  --band: #1b1c21;
  --band-ink: #edebe6;
  --atom: #ff6f61;
  --atom-dim: rgba(237, 235, 230, 0.16);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.3), 0 22px 44px -18px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--line-strong); text-underline-offset: 0.2em; text-decoration-thickness: 1px; transition: color 0.2s, text-decoration-color 0.2s; }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space-section); }
.section + .section { padding-top: 0; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type ---------- */
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; transform-origin: left; transition: transform 0.9s var(--ease) 0.15s; }
.js [data-reveal]:not(.is-in) .eyebrow::before, .js .eyebrow[data-reveal]:not(.is-in)::before { transform: scaleX(0); }
.display { font-family: var(--serif); font-weight: 380; font-size: clamp(44px, 7.4vw, 96px); line-height: 0.98; letter-spacing: -0.025em; }
.display em, .h2 em { font-style: italic; color: var(--accent); }
.h1 { font-family: var(--serif); font-weight: 380; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.022em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.018em; }
.h3 { font-family: var(--serif); font-weight: 450; font-size: clamp(22px, 2.2vw, 27px); line-height: 1.2; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.statement { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 40px); line-height: 1.28; letter-spacing: -0.012em; font-weight: 380; max-width: 26em; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; }
.muted { color: var(--muted); }
.small { font-size: 15px; }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 500 15px/1 var(--sans); text-decoration: none; border: 1px solid var(--line-strong); color: var(--ink); background: transparent; cursor: pointer; transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s var(--ease); }
.btn:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.link-arrow .arrow { transition: transform 0.3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 50; view-transition-name: site-header; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; transition: height 0.3s var(--ease); }
.site-header.is-scrolled .header-inner { height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { height: 30px; width: auto; border-radius: 3px; }
.brand-name { font: 500 15px/1.15 var(--sans); }
.brand-name small { display: block; font: 400 11px/1.3 var(--mono); letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { position: relative; padding: 10px 14px; font-size: 15px; font-weight: 450; color: var(--ink-2); text-decoration: none; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--ink); background: var(--sunken); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); cursor: pointer; transition: background 0.2s, color 0.2s; }
.icon-btn:hover { background: var(--sunken); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .moon, :root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.menu-toggle { display: none; }
@media (max-width: 1080px) {
  .menu-toggle { display: inline-grid; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lift); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s; }
  .site-header.is-scrolled .nav { top: 60px; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 4px; font-family: var(--serif); font-size: 26px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { background: transparent; color: var(--accent); }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav a[aria-current="page"]::after { display: none; }
  .brand-name small { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 8vw, 112px) clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-copy > * + * { margin-top: 28px; }
.hero .lead { max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: end; }
.hero-visual canvas { width: 100%; height: 100%; }
.hero-visual figcaption { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; color: var(--muted); font-size: 12px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 380px; aspect-ratio: 1; }
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 32px 24px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value { font-family: var(--serif); font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat-label { margin-top: 10px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat { padding: 24px 16px; }
}

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > div > * + * { margin-top: 16px; }
.page-head { padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-head > .wrap > * + * { margin-top: 22px; }
.page-head + .section, .page-head + div + .section { padding-top: clamp(48px, 7vw, 96px); }
@media (max-width: 640px) { .section-head { flex-direction: column; align-items: start; } }

/* ---------- Intro + pillars ---------- */
.intro { display: grid; grid-template-columns: 1fr; gap: clamp(48px, 7vw, 96px); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.pillar { padding: 28px 28px 8px 0; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar-num { font: 500 12px/1 var(--mono); color: var(--accent); letter-spacing: 0.1em; }
.pillar-icon { width: 56px; height: 56px; margin: 26px 0 22px; color: var(--ink); }
.pillar .h3 { margin-bottom: 12px; }
.pillar p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
}

/* ---------- Feature image ---------- */
.feature { position: relative; }
.feature-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ph, var(--sunken)); aspect-ratio: 16 / 8; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--zoom, 1.06)); transition: transform 0.1s linear; will-change: transform; }
.feature figcaption { display: flex; gap: 16px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.feature figcaption::before { content: "Fig."; font: 500 12px/1.9 var(--mono); color: var(--accent); }
@media (max-width: 640px) { .feature-media { aspect-ratio: 4 / 3; } }

/* ---------- Cards / lists ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s; }
a.card { text-decoration: none; color: inherit; }
a.card:hover, .card.hoverable:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
a.card:hover .h3 { color: var(--accent); }
.card .h3 { transition: color 0.2s; }
.card .more { margin-top: auto; padding-top: 8px; font-size: 14px; font-weight: 500; color: var(--accent); }
.date { font: 500 12px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-2); font-size: 16px; }

/* ---------- People ---------- */
.pi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 980px) { .pi-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pi-grid { grid-template-columns: 1fr; } }
.person { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.portrait { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ph, var(--sunken)); aspect-ratio: 4 / 5; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 0.8s var(--ease), filter 0.6s var(--ease); filter: grayscale(0.15); }
.person:hover .portrait img, .pi-card:hover .portrait img { transform: scale(1.04); filter: none; }
.portrait .initials { position: absolute; inset: 0; display: grid; place-items: center; font: 400 44px/1 var(--serif); color: var(--muted); }
.person-name { margin-top: 18px; font-family: var(--serif); font-size: 22px; line-height: 1.2; }
.person-role { margin-top: 6px; font: 500 12px/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.person-bio { margin-top: 12px; color: var(--ink-2); font-size: 15.5px; }

.pi-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 12px; transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.pi-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.pi-body { padding: 18px 10px 10px; display: flex; flex-direction: column; }
.pi-meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 18px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.pi-meta div { background: var(--surface); padding: 12px 14px; }
.pi-meta strong { display: block; font: 400 26px/1 var(--serif); }
.pi-meta span { font: 500 11px/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pi-pub { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); }
.pi-pub b { display: block; font: 500 11px/1.8 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pi-email { margin-top: 18px; align-self: start; }

.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
@media (max-width: 980px) { .member-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .member-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } .member-grid .person-name { font-size: 18px; } }
.member-grid.compact { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 980px) { .member-grid.compact { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .member-grid.compact { grid-template-columns: repeat(3, 1fr); } .member-grid.compact .person-name { font-size: 16px; } }
.member-grid.compact .portrait { aspect-ratio: 1; }

.collab-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .collab-list { grid-template-columns: 1fr; } }
.collab { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.collab .portrait { aspect-ratio: 1; border-radius: 8px; }
.collab .person-name { margin-top: 0; font-size: 20px; }
.collab .person-bio { font-size: 15px; margin-top: 8px; }

.people-section + .people-section { margin-top: clamp(72px, 9vw, 120px); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink-2); font: 450 14px/1 var(--sans); text-decoration: none; cursor: pointer; transition: all 0.2s var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Research ---------- */
.direction { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); }
.direction:first-child { border-top: 1px solid var(--ink); }
.direction-num { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.direction .h2 { margin-top: 18px; }
.direction-sub { margin-top: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font: 500 11px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.25; } }
.direction p { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
@media (max-width: 800px) { .direction { grid-template-columns: 1fr; gap: 20px; } }
.technique .icon { width: 40px; height: 40px; color: var(--accent); }
.systems { counter-reset: sys; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.system { display: grid; grid-template-columns: 56px 1fr; gap: 8px 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.system-num { font: 500 13px/1.6 var(--mono); color: var(--accent); }
.system h3 { font: 500 18px/1.4 var(--sans); }
.system p { grid-column: 2; color: var(--ink-2); font-size: 16px; }
@media (max-width: 760px) { .systems { grid-template-columns: 1fr; } }

/* ---------- Publications ---------- */
.pub-tools { position: sticky; top: 60px; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-block: 16px; border-bottom: 1px solid var(--line); }
.pub-tools .wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.field { position: relative; flex: 1 1 260px; }
.field svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input, .select { width: 100%; min-height: 46px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--ink); font: 400 15px/1.4 var(--sans); transition: border-color 0.2s, box-shadow 0.2s; }
.field .input { padding-left: 42px; }
.input:focus, .select:focus, textarea.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent-soft); }
.select { flex: 0 1 220px; width: auto; appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2364646c' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.pub-count { flex-basis: 100%; font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.year-group { display: grid; grid-template-columns: 160px 1fr; gap: 32px; padding-block: 40px; border-top: 1px solid var(--line); }
.year-group:first-child { border-top: 0; }
.year-label { font: 380 44px/1 var(--serif); letter-spacing: -0.02em; color: var(--muted); position: sticky; top: 150px; align-self: start; }
.pub { padding-block: 22px; border-top: 1px solid var(--line); }
.pub:first-child { border-top: 0; padding-top: 0; }
.pub-title { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 23px); line-height: 1.3; font-weight: 420; }
.pub-title a { text-decoration: none; }
.pub-title a:hover { text-decoration: underline; }
.pub-authors { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.pub-authors strong { font-weight: 600; color: var(--ink); }
.pub-meta { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.venue { font: 400 13px/1.5 var(--mono); color: var(--muted); }
.tag { font: 500 11px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 8px; border-radius: 4px; background: var(--sunken); color: var(--muted); }
.pub-links { display: flex; gap: 8px; }
.pub-links a { font: 500 13px/1 var(--mono); padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; }
.pub-links a:hover { border-color: var(--accent); }
.pub-section + .pub-section { margin-top: clamp(56px, 8vw, 96px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--ink); }
.pub-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; margin-bottom: 8px; }
.pub-section-head p { max-width: 52ch; font-size: 15px; }
.pub-section.earlier .pub-title { font-size: clamp(18px, 1.6vw, 21px); }
.person-since { margin-top: 6px; font-size: 12px; color: var(--accent); letter-spacing: 0.04em; }
.pub-empty { padding: 64px 0; text-align: center; color: var(--muted); }
@media (max-width: 760px) {
  .year-group { grid-template-columns: 1fr; gap: 16px; padding-block: 28px; }
  .year-label { position: static; font-size: 34px; }
  .pub-tools { top: 60px; }
}
.pub-list-compact .pub { display: grid; grid-template-columns: 72px 1fr; gap: 20px; }
.pub-list-compact .pub-year { font: 380 26px/1.1 var(--serif); color: var(--muted); }
@media (max-width: 600px) { .pub-list-compact .pub { grid-template-columns: 1fr; gap: 4px; } .pub-list-compact .pub-year { font-size: 18px; } }

/* ---------- News ---------- */
.news-item { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding-block: 40px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.news-item:first-child { border-top: 1px solid var(--ink); }
.news-item .h3 { margin-bottom: 14px; }
.news-item p { color: var(--ink-2); max-width: 68ch; }
.news-item .source { margin-top: 16px; display: inline-flex; }
.news-item:target .h3 { color: var(--accent); }
@media (max-width: 700px) { .news-item { grid-template-columns: 1fr; gap: 10px; padding-block: 28px; } }

/* ---------- Join band ---------- */
.band { background: var(--band); color: var(--band-ink); border-radius: calc(var(--radius) + 6px); padding: clamp(40px, 7vw, 88px); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; position: relative; overflow: hidden; }
.band .h2 { color: var(--band-ink); }
.band p { color: color-mix(in srgb, var(--band-ink) 72%, transparent); margin-top: 18px; max-width: 46ch; }
.band .actions { justify-content: flex-end; }
.band .btn { color: var(--band-ink); border-color: color-mix(in srgb, var(--band-ink) 35%, transparent); }
.band .btn:hover { border-color: var(--band-ink); }
.band .btn-primary { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }
.band .btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.band > div { position: relative; z-index: 1; }
.band-dots { position: absolute; right: -110px; top: -130px; width: 320px; height: 320px; opacity: 0.12; color: var(--band-ink); pointer-events: none; }
@media (max-width: 800px) { .band { grid-template-columns: 1fr; } .band .actions { justify-content: flex-start; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list > div { padding-block: 22px; border-top: 1px solid var(--line); }
.info-list > div:first-child { border-top: 1px solid var(--ink); }
.info-list dt { font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.info-list dd { margin: 0; font-size: 17px; }
.map { position: relative; margin-top: 8px; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--sunken); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; background-image: radial-gradient(var(--line-strong) 1px, transparent 1px); background-size: 18px 18px; }
.form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form label { display: block; margin-bottom: 8px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form .input, .form .select { border-radius: 8px; width: 100%; }
.form textarea.input { min-height: 150px; padding: 14px 16px; resize: vertical; line-height: 1.6; }
.form .note { font-size: 14px; color: var(--muted); }
.form-status { padding: 14px 16px; border-radius: 8px; background: var(--accent-soft); color: var(--ink); font-size: 15px; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; padding-block: 64px 32px; border-top: 1px solid var(--line); background: var(--sunken); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h2 { font: 500 12px/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-grid li + li { margin-top: 10px; }
.footer-grid a { text-decoration: none; color: var(--ink-2); font-size: 15px; }
.footer-grid a:hover { color: var(--accent); }
.footer-about p { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 32ch; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom a { text-decoration: none; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 22px; justify-items: center; }


/* ---------- Progress ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 5px 11px; border-radius: 999px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-done { background: var(--accent-soft); color: var(--accent); }
.status-active { background: color-mix(in srgb, #b7791f 12%, transparent); color: #9a5f0e; }
:root[data-theme="dark"] .status-active { color: #f0b354; }
.status-active::before { animation: pulse 1.8s ease-in-out infinite; }
.status-next { background: var(--sunken); color: var(--muted); }
.status-next::before { background: transparent; border: 1.5px solid currentColor; }

.plan-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
@media (max-width: 800px) { .plan-grid { grid-template-columns: 1fr; gap: 18px; } }

.roadmap { display: grid; gap: 20px; }
.lane { padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); }
.lane-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.lane-title { font: 450 24px/1.2 var(--serif); }
.lane-count { color: var(--muted); font-size: 12px; }
.lane-steps { --dot: 18px; position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); counter-reset: step; }
.lane-steps::before, .lane-steps::after { content: ""; position: absolute; top: calc(var(--dot) / 2 - 1px); left: calc(50% / var(--n)); right: calc(50% / var(--n)); height: 2px; background: var(--line); border-radius: 2px; }
.lane-steps::after { right: auto; width: calc((100% - 100% / var(--n)) * var(--fill)); background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease) 0.2s; }
.lane.is-in .lane-steps::after, html:not(.js) .lane-steps::after { transform: scaleX(1); }
.step a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 6px; text-align: center; text-decoration: none; color: var(--ink-2); }
.step a:hover { color: var(--accent); }
.dot { display: inline-block; width: var(--dot, 18px); height: var(--dot, 18px); border-radius: 50%; border: 2px solid var(--line-strong); background: var(--surface); transition: transform 0.3s var(--ease); }
.step a:hover .dot { transform: scale(1.18); }
.step-done .dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.step-active .dot { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 35%, var(--surface) 38%); animation: ring 2.2s ease-out infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.step-next .dot { border-style: dashed; }
.step-title { font-size: 14px; line-height: 1.35; font-weight: 450; }
.step-next .step-title { color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: 12px; }
.legend > span { display: inline-flex; align-items: center; gap: 8px; }
.legend .dot { --dot: 12px; width: 12px; height: 12px; }
.legend .step-done .dot { box-shadow: none; }
.legend .step-active .dot { animation: none; }
@media (max-width: 760px) {
  .lane-steps { grid-template-columns: 1fr; gap: 18px; }
  .lane-steps::before, .lane-steps::after { top: 9px; bottom: 9px; left: 8px; right: auto; width: 2px; height: auto; }
  .lane-steps::after { height: calc((100% - 18px) * var(--fill)); bottom: auto; transform: scaleY(0); transform-origin: top; }
  .lane.is-in .lane-steps::after, html:not(.js) .lane-steps::after { transform: scaleY(1); }
  .step a { flex-direction: row; text-align: left; padding: 0; gap: 16px; }
  .step-title { font-size: 15px; }
}

.gallery { display: grid; grid-template-columns: 1.9fr 1fr; gap: 20px; }
.gal-media { overflow: hidden; border-radius: var(--radius); background: var(--ph, var(--sunken)); aspect-ratio: 16 / 9.4; }
.gallery .gal-item:nth-child(2) .gal-media { aspect-ratio: auto; height: 100%; max-height: none; }
.gallery .gal-item:nth-child(2) { display: grid; grid-template-rows: 1fr auto; }
.gal-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal-item:hover .gal-media img { transform: scale(1.03); }
.gal-item figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr; } .gallery .gal-item:nth-child(2) .gal-media { aspect-ratio: 4 / 5; height: auto; } }

.track-intro { margin-bottom: clamp(32px, 5vw, 56px); max-width: 70ch; }
.milestones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 860px) { .milestones { grid-template-columns: 1fr; } }
.milestone { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); scroll-margin-top: 90px; transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.milestone:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.milestone:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ms-media { position: relative; background: #fff; border-bottom: 1px solid var(--line); aspect-ratio: 5 / 4; overflow: hidden; }
.ms-media img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; transition: transform 0.8s var(--ease); }
.milestone:hover .ms-media img { transform: scale(1.03); }
.ms-body { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 30px; flex: 1; }
.ms-summary { color: var(--ink-2); }
.ms-facts li { position: relative; padding-left: 22px; font-size: 15.5px; color: var(--ink-2); }
.ms-facts li + li { margin-top: 6px; }
.ms-facts li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 1px; background: var(--accent); }
.ms-refs { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.ms-refs a { font-size: 14px; text-decoration: none; color: var(--ink); }
.ms-refs a:hover { color: var(--accent); }
.ms-refs a::before { content: "↗ "; color: var(--accent); }
.ms-refs .venue { font-size: 12px; }
.next-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .next-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .next-grid { grid-template-columns: 1fr; } }
.next-card { border-style: dashed; }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.partners ul { display: flex; flex-wrap: wrap; gap: 10px; }
.partners li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font: 500 14px/1.2 var(--sans); color: var(--ink-2); background: var(--surface); }
.roadmap.compact .lane { background: transparent; }


/* ==========================================================================
   Contrast + motion layer
   ========================================================================== */
/* Dark "stage" sections: hero, page headers, progress band, footer */
.stage {
  --paper: #0b0b0f; --surface: rgba(255,255,255,0.035); --sunken: rgba(255,255,255,0.07);
  --ink: #f4f2ed; --ink-2: #cfccc6; --muted: #a2a1a9; --line: rgba(255,255,255,0.11); --line-strong: rgba(255,255,255,0.3);
  --accent: #ff5348; --accent-ink: #0b0b0f; --accent-soft: rgba(255,83,72,0.14);
  --atom: #ff5348; --atom-dim: rgba(255,255,255,0.2);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.4), 0 26px 50px -20px rgba(0,0,0,.8);
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--paper); color: var(--ink); color-scheme: dark;
}
.stage::before {           /* drifting dot lattice */
  content: ""; position: absolute; inset: -40px; z-index: -2; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.13) 1px, transparent 1.4px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%);
  animation: drift 40s linear infinite;
}
.stage::after {            /* glow that follows the cursor */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx, 80%) var(--my, 20%), rgba(255,83,72,0.16), transparent 60%),
    radial-gradient(900px circle at 100% 0%, rgba(179,20,28,0.22), transparent 55%);
  transition: background 0.2s;
}
@keyframes drift { to { transform: translate3d(34px, 34px, 0); } }
.stage .btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.stage .btn-primary:hover { background: #fff; border-color: #fff; color: #0b0b0f; }
.stage a:hover { color: var(--accent); }

/* header sits on the dark stage until you scroll past it */
.site-header.on-dark {
  --ink: #f4f2ed; --ink-2: #cfccc6; --muted: #a2a1a9; --sunken: rgba(255,255,255,0.08); --paper: #0b0b0f; --line: rgba(255,255,255,0.1);
  background: rgba(11, 11, 15, 0.97); border-bottom-color: rgba(255,255,255,0.06); color: var(--ink);
}
.site-header { transition: border-color 0.3s, background 0.4s, color 0.4s; }
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* hero */
.hero.stage { padding-bottom: 0; }
.hero .display { font-size: clamp(48px, 8vw, 112px); }
.hero-visual::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,83,72,0.28), transparent); filter: blur(30px); z-index: -1; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: 0.7; } }
.hero-stats { margin-top: clamp(48px, 7vw, 96px); }
.hero-stats .stats { border-bottom: 0; }
.stat { position: relative; }
.stat::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease) 0.3s; }
.stat.is-in::after { transform: scaleX(0.3); }
.stat:hover::after { transform: scaleX(1); transition-delay: 0s; }

/* inner page headers */
.page-head.stage { border-bottom: 0; padding-block: clamp(72px, 11vw, 150px) clamp(56px, 8vw, 100px); }
.page-head .h1 { font-size: clamp(44px, 7vw, 92px); max-width: 15ch; }
.orbit { position: absolute; right: max(-60px, calc(50% - 720px)); top: 50%; width: min(46vw, 520px); height: auto; transform: translateY(-50%); z-index: -1; color: var(--accent); opacity: 0.55; pointer-events: none; }
.orbit ellipse { fill: none; stroke: rgba(255,255,255,0.22); stroke-width: 1; }
.orbit g circle { fill: currentColor; }
.orbit-core { fill: currentColor; filter: drop-shadow(0 0 12px currentColor); }
.orbit g { transform-origin: 200px 200px; animation: spin 18s linear infinite; }
.orbit .orbit-b { animation-duration: 24s; animation-direction: reverse; }
.orbit .orbit-c { animation-duration: 30s; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 760px) { .orbit { width: 300px; right: -120px; opacity: 0.35; } }

/* ticker */
.ticker { overflow: hidden; background: var(--accent); color: #fff; border-block: 1px solid rgba(0,0,0,0.1); }
:root[data-theme="dark"] .ticker { background: #c4161f; }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; font: 500 14px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; animation: marquee 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.7; box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* dark band sections inside light pages */
.band-section { padding-block: var(--space-section); }
.section + .band-section, .band-section + .section { padding-top: var(--space-section); }
.band-section .lane { background: rgba(255,255,255,0.03); }

/* headline word reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.1em 0; margin: 0 -0.06em -0.1em 0; }
.js .split .w > span { display: inline-block; transform: translateY(108%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.05s var(--ease); transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0s)); }
.js .is-in .split .w > span { transform: none; }
.split em { padding-right: 0.04em; }

/* image wipe reveal */
.js .reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js .reveal-img img { transform: scale(1.18); transition: transform 1.6s var(--ease), filter 0.6s var(--ease); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in img { transform: none; }
.js .feature-media.reveal-img.is-in img { transform: scale(var(--zoom, 1.06)); transition: transform 0.1s linear; }
.js .person:hover .reveal-img.is-in img, .js .pi-card:hover .reveal-img.is-in img { transform: scale(1.05); }
.js .milestone:hover .reveal-img.is-in img { transform: scale(1.03); }

/* cursor spotlight + tilt on cards */
.card, .pi-card, .milestone, .lane, .collab { position: relative; transform-style: preserve-3d; will-change: transform; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(360px circle at var(--cx, 50%) var(--cy, 50%), color-mix(in srgb, var(--accent) 13%, transparent), transparent 65%); }
.spot:hover::after { opacity: 1; }
.card::before, .milestone::before, .pi-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: inherit; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); z-index: 2; }
.card:hover::before, .milestone:hover::before, .pi-card:hover::before { transform: scaleX(1); }

/* join band twinkle */
.band-dots circle { animation: twinkle 3.6s ease-in-out infinite; animation-delay: calc(var(--k) * -0.33s); }
@keyframes twinkle { 50% { opacity: 0.25; } }
.band { box-shadow: 0 40px 80px -40px rgba(179,20,28,0.45); }

/* footer on dark */
.site-footer.stage { background: var(--paper); border-top: 0; }
.site-footer.stage::before { -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%); mask-image: linear-gradient(to bottom, #000, transparent 80%); }

/* nav underline slide */
.nav a::before { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
.nav a:hover::before { transform: scaleX(1); transform-origin: left; }
@media (max-width: 1080px) { .nav a::before { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .stage::before, .orbit g, .ticker-track, .hero-visual::before, .band-dots circle { animation: none !important; }
  .js .split .w > span, .js .reveal-img, .js .reveal-img img { transform: none !important; clip-path: none !important; }
}

/* ---------- Motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .hero [data-enter] { opacity: 0; transform: translateY(18px); animation: enter 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes enter { to { opacity: 1; transform: none; } }
.js img.fade { opacity: 0; transition: opacity 0.7s var(--ease); }
.js img.fade.is-loaded { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .hero [data-enter] { opacity: 1; transform: none; }
  .feature-media img { transform: none !important; }
}

@media print {
  .site-header, .site-footer, .pub-tools, .band, .hero-visual { display: none !important; }
  body { background: #fff; color: #000; }
}
