:root {
  --orange: #ea580c;
  --orange-dark: #c2410c;
  --orange-glow: rgba(234, 88, 12, .32);
  --purple: #7c3aed;
  --purple-dark: #6d28d9;
  --green: #059669;
  --blue: #2563eb;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --white: #fff;
  --text: #0f172a;
  --text-light: #f1f5f9;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --max-w: 1200px;
  --reading-w: 100%;
  --nav-height: 64px;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 8px;
  --transition: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  color: var(--text);
  background: var(--white);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button, a { font: inherit; }
img, video { max-width: 100%; }
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.reading-width { width: 100%; max-width: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 12px;
  z-index: 500;
  transform: translateY(-160%);
  padding: 8px 12px;
  color: #fff;
  background: var(--orange-dark);
  border-radius: 6px;
  text-decoration: none;
  font-size: 13px;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid rgba(234, 88, 12, .55); outline-offset: 3px; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(15, 23, 42, .52);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.is-scrolled { background: rgba(15, 23, 42, .96); box-shadow: 0 5px 24px rgba(0, 0, 0, .22); }
.site-header .container { height: 100%; }
.site-nav { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); }
.site-brand { font-size: 22px; font-weight: 900; text-decoration: none; letter-spacing: 0; }
.brand-fore { color: var(--text-light); }
.brand-tac, .title-tac {
  color: var(--purple);
  background: linear-gradient(135deg, var(--orange), var(--purple));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  position: relative;
  display: block;
  padding: 8px 0;
  color: var(--gray-400);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--purple));
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-light); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--text-light);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  /* Keep the source montage's 16:9 frame intact on desktop. This lets the
     complete four-tile video reach both viewport edges without letterboxing. */
  height: min(100svh, 56.25vw);
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--text-light);
  background: var(--navy);
  text-align: center;
  isolation: isolate;
}
.hero-video, .hero-scrim { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-video {
  z-index: 1;
  object-fit: cover;
  /* Center the 16:9 montage so cover-cropping is symmetric; top-aligning
     clips the entire lower row on tall/wide desktop viewports. */
  object-position: center center;
  background: var(--navy) url('../videos/foretac_hero_poster.jpg') center / cover no-repeat;
  cursor: pointer;
}
.hero-video-backdrop {
  z-index: 0;
  object-fit: cover;
  object-position: center center;
  filter: blur(18px) saturate(.92);
  transform: scale(1.08);
  opacity: .48;
  cursor: default;
  pointer-events: none;
}
.hero-video-foreground { z-index: 1; }
.hero-scrim {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, .70), rgba(15, 23, 42, .28) 50%, rgba(15, 23, 42, .60)),
    linear-gradient(0deg, rgba(15, 23, 42, .42), rgba(15, 23, 42, .08) 55%);
}
@media (min-width: 1600px) {
  .hero-video-foreground {
    /* Preserve all four 640x360 tiles on very wide screens. Cover would
       enlarge the 16:9 montage past the capped Hero height and crop both
       the board/vase tools and the lower-right chip scene. */
    object-fit: contain;
    background: transparent;
  }
}
.hero-content { position: relative; z-index: 3; width: min(calc(100% - 48px), 980px); padding: 96px 0 68px; pointer-events: none; }
.hero-content a, .hero-content button { pointer-events: auto; }
.hero .venue {
  display: inline-block;
  margin-bottom: 26px;
  padding: 5px 16px;
  color: var(--gray-200);
  background: rgba(15, 23, 42, .34);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}
.hero-title-wrap { margin-bottom: 16px; }
.hero-title { color: var(--text-light); font-size: 88px; font-weight: 900; line-height: 1; letter-spacing: 0; }
.title-fore { color: var(--text-light); text-shadow: 0 0 30px rgba(255, 255, 255, .1); }
.title-tac {
  background: linear-gradient(135deg, var(--orange), var(--purple), var(--orange));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
  text-shadow: none;
}
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.hero-bar { position: relative; width: 120px; height: 3px; margin: 16px auto 0; overflow: hidden; background: linear-gradient(90deg, var(--orange), var(--purple)); border-radius: 2px; }
.hero-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
  animation: bar-shimmer 3s infinite;
}
@keyframes bar-shimmer {
  0% { left: -50%; }
  100% { left: 150%; }
}
.hero-subtitle { max-width: 980px; margin: 0 auto 10px; color: var(--gray-200); font-size: 30px; font-weight: 600; line-height: 1.18; letter-spacing: 0; }
.hero-desc { margin-bottom: 22px; color: var(--gray-200); font-size: 16px; }
.hero .authors { color: var(--gray-200); }
.hero .affiliations { margin-bottom: 26px; color: var(--gray-400); font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); box-shadow: 0 4px 16px var(--orange-glow); }
.btn-glass { background: rgba(15, 23, 42, .46); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.btn-disabled { color: rgba(255, 255, 255, .48); background: rgba(100, 116, 139, .35); border-color: rgba(203, 213, 225, .16); filter: grayscale(1); opacity: .72; cursor: not-allowed; }
.btn-disabled:hover { transform: none; box-shadow: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(15, 23, 42, .28); }
.scroll-cue {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
  text-decoration: none;
}
.hero-loading {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 4;
  width: 28px;
  height: 28px;
  opacity: 0;
  border: 3px solid rgba(124, 58, 237, .28);
  border-top-color: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  animation: video-spinner .8s linear infinite;
}
.hero.is-loading .hero-loading { opacity: 1; }

/* Sections */
section { padding: 64px 0; }
.section-alt { background: var(--gray-100); }
.overview-section { padding-top: 72px; }
.section-title { display: inline-block; margin-bottom: 20px; color: var(--text); font-size: 26px; font-weight: 800; letter-spacing: 0; }
.section-title::after { content: ''; display: block; width: 44px; height: 3px; margin-top: 10px; background: linear-gradient(90deg, var(--orange), var(--purple)); border-radius: 2px; }
h3 { margin: 36px 0 14px; color: var(--orange-dark); font-size: 17px; font-weight: 700; }
.section-lead { margin-bottom: 24px; color: var(--text-muted); font-size: 14px; text-align: justify; text-justify: inter-word; }
.abstract-copy { color: var(--gray-600); font-size: 16px; line-height: 1.85; text-align: justify; text-justify: inter-word; }
.abstract-copy p { margin-bottom: 18px; }
.abstract-copy p:last-child { margin-bottom: 0; }
.abstract-copy, .section-lead.reading-width, .task-desc, .result-callout, .detail-lead { margin-right: auto; margin-left: 0; }

/* Standalone overview film. It intentionally keeps native media controls and
   is not part of the synchronized task-video state machine. */
.overview-player {
  position: relative;
  width: 100%;
  margin: 28px auto 0;
  overflow: hidden;
  background: var(--navy);
  border: 1px solid rgba(15, 23, 42, .18);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(15, 23, 42, .12);
}
.overview-player video {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: var(--navy);
}
.overview-player.is-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(15, 23, 42, .30);
  pointer-events: none;
}
.overview-player.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 3px solid rgba(255, 255, 255, .28);
  border-top-color: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  animation: video-spinner .8s linear infinite;
}
.overview-player.is-error::before, .overview-player.is-error::after { display: none; }
.overview-player .media-error {
  position: absolute;
  top: 50%;
  right: 16px;
  left: 16px;
  z-index: 4;
  transform: translateY(-50%);
  color: var(--gray-200);
  font-size: 13px;
  text-align: center;
}
.overview-caption { width: 100%; margin: 12px 0 24px; padding: 0; }

/* Evidence */
.evidence-section { padding: 24px 0; }
.evidence-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; text-align: center; }
.evidence-strip div { padding: 10px 12px; border-left: 1px solid var(--border); }
.evidence-strip div:first-child { border-left: 0; }
.evidence-strip strong { display: block; color: var(--orange-dark); font-size: 24px; line-height: 1.2; }
.evidence-strip span { display: block; margin-top: 3px; color: var(--text-muted); font-size: 11px; }

/* Method and idea */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0 4px; }
.pillar {
  min-height: 210px;
  padding: 25px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pillar:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15, 23, 42, .08); }
.pillar-icon { margin-bottom: 12px; font-size: 28px; }
.pillar h3 { margin: 0 0 9px; font-size: 16px; }
.pillar p { color: var(--text-muted); font-size: 13px; line-height: 1.6; text-align: justify; text-justify: inter-word; }
.pillar--orange { border-color: rgba(234, 88, 12, .3); }
.pillar--orange .pillar-icon, .pillar--orange h3 { color: var(--orange-dark); }
.pillar--purple { border-color: rgba(124, 58, 237, .3); }
.pillar--purple .pillar-icon, .pillar--purple h3 { color: var(--purple-dark); }
.pillar--green { border-color: rgba(5, 150, 105, .3); }
.pillar--green .pillar-icon, .pillar--green h3 { color: var(--green); }
.pillar--blue { border-color: rgba(37, 99, 235, .3); }
.pillar--blue .pillar-icon, .pillar--blue h3 { color: var(--blue); }
.method-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 28px 0 8px; }
.method-facts article { min-height: 155px; padding: 18px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.fact-label { display: block; margin-bottom: 8px; color: var(--purple-dark); font-size: 13px; font-weight: 800; }
.method-facts p { color: var(--gray-600); font-size: 13px; line-height: 1.6; text-align: justify; text-justify: inter-word; }

/* Figures */
.content-card {
  width: 100%;
  margin: 20px auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 18px rgba(15, 23, 42, .06);
}
.content-card picture { display: block; }
.content-card img { display: block; width: 100%; height: auto; }
.figure-frame { margin: 24px 0; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.figure-frame .fig-caption { padding: 0; }
.wide-figure, .teaser-figure, .method-figure, .task-overview-figure, .diagnostic-frame { max-width: none; }
.fig-caption { margin-top: 12px; color: var(--text-muted); font-size: 13px; line-height: 1.6; text-align: justify; text-justify: inter-word; }
.fig-caption strong { color: var(--orange-dark); }

/* Section padding owns the outer gap; final figures need no extra margin. */
main > section > .container > :last-child { margin-bottom: 0; }
/* Keep the shared-background Method-to-Results transition compact. */
#method { padding-bottom: 0; }
#method + #results { padding-top: 24px; }

/* Results */
.results-subsection { margin-top: 42px; }
.results-subsection h3 { margin-top: 0; }
.results-subsection .section-lead { margin-bottom: 16px; }
.results-secondary-details { margin-top: 42px; }
.results-secondary-details > summary { font-size: 17px; }
.results-secondary-details .results-subsection { margin-top: 0; }
.results-table-block { width: 100%; margin: 16px 0 0; }
.results-table-block--wide { width: 100%; }
.results-table-card { width: 100%; margin: 0; padding: 0; overflow-x: auto; overscroll-behavior-inline: contain; }
.comp-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.45; }
.main-results-table { min-width: 1050px; }
.tactile-results-table { min-width: 820px; }
.ablation-results-table { min-width: 840px; }
.cross-table { min-width: 700px; }
.cost-table { min-width: 610px; }
.comp-table th, .comp-table td { padding: 9px; border-bottom: 1px solid var(--gray-200); text-align: left; vertical-align: middle; }
.comp-table th { color: var(--text); background: linear-gradient(180deg, var(--gray-50), #eef2f7); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.comp-table .task-header th { color: var(--navy); background: linear-gradient(180deg, #fff7ed, #f5f3ff); border-bottom: 1px solid #d9dde8; text-align: center; }
.comp-table .metric-header th { color: var(--gray-600); background: var(--gray-50); border-bottom: 2px solid var(--gray-200); font-size: 10px; text-align: center; }
.comp-table .table-group th { padding: 7px 9px; color: var(--purple-dark); background: #f5f3ff; border-bottom: 1px solid #ddd6fe; font-size: 10px; letter-spacing: 0; text-align: left; text-transform: uppercase; }
.comp-table td:first-child { min-width: 78px; font-weight: 600; }
.ablation-results-table th:not(:first-child), .ablation-results-table td:not(:first-child),
.tactile-results-table th:not(:first-child), .tactile-results-table td:not(:first-child),
.cross-table th:not(:first-child), .cross-table td:not(:first-child),
.cost-table th:not(:first-child), .cost-table td:not(:first-child),
.compact-table th:not(:first-child), .compact-table td:not(:first-child) { text-align: center; white-space: nowrap; }
/* Explicit text cells keep rowspan rows from shifting numeric-column styles. */
.main-results-table td { min-width: 0; text-align: center; font-weight: 400; white-space: nowrap; }
.main-results-table .text-cell { text-align: left; font-weight: 600; }
.comp-table td { font-variant-numeric: tabular-nums; }
.comp-table .note { display: block; margin-top: 3px; color: var(--text-muted); font-size: 10px; font-style: italic; font-weight: 400; white-space: normal; }
.comp-table .row-ours { background: linear-gradient(90deg, rgba(234, 88, 12, .08), rgba(124, 58, 237, .08)); }
.comp-table .row-ours td { border-bottom: 2px solid var(--orange); }
.result-callout { width: 100%; margin-top: 14px; padding: 12px 14px; color: var(--gray-600); background: #fff; border-left: 3px solid var(--orange); font-size: 13px; text-align: justify; text-justify: inter-word; }
.result-callout strong { color: var(--orange-dark); }
.result-details { margin-top: 18px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.result-details + .result-details { border-top: 0; }
.result-details > summary { padding: 16px 0; color: var(--navy); font-size: 15px; font-weight: 700; cursor: pointer; list-style-position: inside; }
.result-details > summary::marker { color: var(--orange); }
.result-details[open] { padding-bottom: 20px; }
.detail-lead { width: 100%; color: var(--text-muted); font-size: 13px; text-align: justify; text-justify: inter-word; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.detail-grid > div { min-width: 0; }
.table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.detail-grid h4 { margin: 6px 0 10px; color: var(--orange-dark); font-size: 14px; }
.compact-table { min-width: 460px; font-size: 12px; }
.compact-table th, .compact-table td { padding: 7px 8px; }
/* Only the outer details supplies the bottom separator after Figure 4. */
.results-secondary-details[open], .diagnostic-details[open] { padding-bottom: 0; }
.diagnostic-details { border-bottom: 0; }
.diagnostic-frame { margin-bottom: 0; }
.cost-details { margin-top: 8px; }

/* Demos */
.demo-group-label { margin: 34px 0 8px; color: var(--orange-dark); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.task-demo + .task-demo { margin-top: 44px; }
.task-demo h3 { margin-bottom: 8px; }
.task-desc { width: 100%; color: var(--text-muted); font-size: 13px; line-height: 1.65; text-align: justify; text-justify: inter-word; }
.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.task-demo > .video-grid:last-child { margin-bottom: 0; }
.video-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 120px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(15, 23, 42, .05);
}
.video-card video { grid-area: 1 / 1; position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #e9edf2; cursor: pointer; }
.video-card .caption { position: relative; z-index: 2; display: grid; place-items: center; min-height: 43px; padding: 9px 14px; color: var(--text-muted); background: var(--gray-100); border-top: 1px solid var(--border); font-size: 12px; font-weight: 600; text-align: center; }
.video-card.is-loading::before { content: ''; grid-area: 1 / 1; z-index: 3; background: rgba(248, 250, 252, .78); pointer-events: none; }
.video-card.is-loading::after {
  content: '';
  grid-area: 1 / 1;
  place-self: center;
  z-index: 4;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(124, 58, 237, .22);
  border-top-color: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  animation: video-spinner .8s linear infinite;
}
.video-card.is-error::before, .video-card.is-error::after { display: none; }
.media-error { position: absolute; top: calc((100% - 43px) / 2); right: 12px; left: 12px; z-index: 5; transform: translateY(-50%); color: var(--gray-600); font-size: 13px; text-align: center; }
@keyframes video-spinner { to { transform: rotate(360deg); } }

/* BibTeX and footer */
.bibtex-block { position: relative; padding: 24px 28px; overflow-x: auto; color: var(--gray-200); background: var(--navy); border: 1px solid rgba(255, 255, 255, .06); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(15, 23, 42, .15); font-family: var(--font-mono); font-size: 12px; line-height: 1.7; }
.bibtex-block pre { margin: 0; padding-right: 70px; white-space: pre-wrap; overflow-wrap: anywhere; }
.copy-btn { position: absolute; top: 12px; right: 12px; padding: 6px 12px; color: var(--gray-200); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: 6px; font-size: 11px; cursor: pointer; }
.copy-btn:hover { color: #fff; background: var(--orange); border-color: var(--orange); }
footer { padding: 34px 0; color: var(--gray-400); background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .04); font-size: 12px; text-align: center; }

@media (max-width: 900px) {
  .pillars, .method-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero { height: auto; min-height: 0; padding-top: var(--nav-height); }
  .hero-video-foreground {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center top;
    background: transparent;
  }
  .hero-video-backdrop { filter: blur(12px) saturate(.92); transform: scale(1.05); }
  .hero-scrim { background: linear-gradient(90deg, rgba(15, 23, 42, .72), rgba(15, 23, 42, .34) 50%, rgba(15, 23, 42, .72)), linear-gradient(0deg, rgba(15, 23, 42, .56), rgba(15, 23, 42, .12) 62%); }
  .hero-content { padding: 28px 0 72px; }
  .hero .venue { margin-bottom: 18px; }
  .hero-title { font-size: 48px; }
  .hero-subtitle { font-size: 18px; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px;
    background: rgba(15, 23, 42, .98);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 10px 0; }
  .evidence-strip { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .evidence-strip div:nth-child(odd) { border-left: 0; }
  .detail-grid, .video-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  section { padding: 46px 0; }
  .hero-content { width: calc(100% - 32px); padding: 24px 0 64px; }
  .hero-title { font-size: 44px; }
  .hero-subtitle { font-size: 17px; line-height: 1.35; }
  .hero-desc { font-size: 13px; }
  .btn-row { margin-bottom: 0; }
  .pillars, .method-facts { grid-template-columns: 1fr; }
  .pillar { min-height: 0; }
  .evidence-strip strong { font-size: 20px; }
  .evidence-strip div { padding: 10px 6px; }
  .bibtex-block { padding: 22px 18px; font-size: 11px; }
  .bibtex-block pre { padding-right: 0; padding-top: 30px; }
}

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