/* EgoStream project page — custom theme (not Bulma-based).
   Structure and interaction patterns adapted from well-executed research
   showcase pages (full-bleed hero video, numbered pipeline, metric grids
   with dividers, comparison highlight, filterable card grid). EPFL red
   (#FF0000, official brand color) is the single accent; everything else is
   ink/muted/paper/canvas neutrals, matching the restrained-but-not-blank
   look of pages like Instant-NGP / CAT3D / 3D Gaussian Splatting. */

:root {
  --ink: #15161a;
  --muted: #5b6068;
  --paper: #ffffff;
  --canvas: #f4f4f5;
  --line: #e1e0e0;
  --dark: #0c0c0e;
  --red: #FF0000;        /* official EPFL "Swiss red", CMYK 0/100/100/0 */
  --red-dark: #C2160C;   /* higher-contrast variant for text on white */
  --red-soft: rgba(255, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans', ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
}

/* Headings/titles in 'Google Sans' (body copy stays 'Noto Sans'), matching
   the font pairing used by the cs503-compositional-diffusion-webpage
   template this project's earlier layout was based on. */
.brand,
.hero h1,
.hero-tagline,
.hero-label,
.section-label,
.section-intro h2,
.compare-copy h3,
.pipeline strong,
.callout-label,
.demo-card h3,
.metric-grid dd,
.hero-stats dd,
.primary-action,
.secondary-action,
.result-tabs button,
.filter-chip,
.site-footer strong {
  font-family: 'Google Sans', 'Noto Sans', sans-serif;
}

a { color: var(--red-dark); text-decoration: none; }
a:hover { color: var(--red); }
::selection { background: var(--red); color: #fff; }

p { color: var(--muted); font-size: 20px; line-height: 1.7; }

img, video { max-width: 100%; display: block; }

/* =============== Hero =============== */

.hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.hero-shade { position: absolute; inset: 0; }
.hero-shade {
  background: linear-gradient(180deg, rgba(8,8,10,.42) 0%, rgba(8,8,10,.22) 40%, rgba(8,8,10,.6) 100%);
}

/* Hero background: a wall of many small looping fisheye clips, instead of
   one single video — each tile is a real EgoStream generated rollout. */
.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  /* No grid-auto-rows here: row height must come from the tile's own
     aspect-ratio (below), not from dividing container height by row
     count — otherwise rows and columns are sized independently and
     tiles come out rectangular instead of square. */
  align-content: start;
  gap: 2px;
  overflow: hidden;
  background: var(--dark);
}
.hero-mosaic video {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  filter: brightness(.85) saturate(1.1) contrast(1.05);
  display: block;
}

.top-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: min(1180px, calc(100% - 56px));
  height: 78px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  color: rgba(255,255,255,.9);
  font-size: 13.5px;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.nav-links a:hover { color: #fff; }
.nav-links .source-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 6px;
  color: #fff;
}
.nav-links .source-link:hover { border-color: var(--red); color: #fff; background: rgba(255,0,0,.12); }

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(1180px, calc(100% - 56px));
  min-height: calc(640px - 78px);
  margin: 0 auto;
  padding: 40px 0 56px;
}
.hero-copy { max-width: 760px; }
.hero-label {
  margin: 0 0 4px;
  color: var(--red);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .02em;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.hero-affil {
  margin: 0 0 14px;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}
.hero h1 {
  margin: 0;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
}

/* Artistic wordmark for the project name: a small hand-drawn logo mark
   (inline SVG — exocentric "eye" -> warp arc -> streaming dots -> egocentric
   play icon, in EPFL red) sitting above a bold solid wordmark, echoing the
   VITA Lab EverAnimate lockup convention (icon mark + wordmark, not a text
   effect). Crisp at any size, no separate image request since it's inlined. */
h1.wordmark {
  margin: 0;
  line-height: 0;
}
h1.wordmark svg {
  display: block;
  width: min(100%, 480px);
  height: auto;
  filter: drop-shadow(0 6px 30px rgba(255, 0, 0, 0.25));
}
.hero-tagline {
  margin: 20px 0 0;
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,.55);
}
.hero-description {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.85);
  font-size: 20px;
  line-height: 1.6;
  text-shadow: 0 1px 4px rgba(0,0,0,.55);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.primary-action, .secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}
.primary-action { background: var(--red); color: #fff !important; }
.primary-action:hover { background: var(--red-dark); }
.secondary-action { border: 1px solid rgba(255,255,255,.5); color: #fff !important; }
.secondary-action:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  max-width: 760px;
  margin: 36px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.28);
}
.hero-stats div { padding: 16px 20px 0 0; }
.hero-stats div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.2); }
.hero-stats dt { margin: 0; color: rgba(255,255,255,.68); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.hero-stats dd { margin: 6px 0 0; font-size: 19px; font-weight: 800; text-shadow: 0 1px 3px rgba(0,0,0,.5); }

/* =============== Section shells =============== */

.section {
  padding: 84px max(28px, calc((100% - 1180px)/2));
}
.section.on-paper { background: var(--paper); }
.section.on-canvas { background: var(--canvas); }
.section.on-dark { background: var(--dark); color: #fff; }
.section.on-dark p { color: rgba(255,255,255,.68); }
.section.on-dark .muted { color: rgba(255,255,255,.56); }

.section-intro {
  display: grid;
  grid-template-columns: minmax(0,.85fr) minmax(320px,1fr);
  gap: 64px;
  align-items: start;
}
.section-intro.centered {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.section-label {
  display: block;
  margin: 0 0 12px;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.section.on-dark .section-label { color: var(--red); }
.section-intro h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.section-intro p:last-child {
  margin: 0;
  font-size: 20px;
}

/* =============== Method: numbered pipeline =============== */

.pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin: 52px 0 0;
  padding: 0;
  border-top: 2px solid var(--ink);
  list-style: none;
}
.pipeline li { position: relative; min-height: 150px; padding: 18px 22px 16px 0; }
.pipeline li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.pipeline-index { display: block; margin-bottom: 24px; color: var(--red); font-size: 12px; font-weight: 800; }
.pipeline strong { display: block; font-size: 16px; }
.pipeline small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.5; }

.method-figure {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.method-figure img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.method-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

/* Dark-section variant of method-figure, for figures inside .on-dark
   sections (e.g. the ablation grid in Evaluation) */
.report-figure {
  margin-top: 48px;
}
.report-figure img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.14);
}
.report-figure figcaption {
  margin-top: 12px;
  color: rgba(255,255,255,.55);
  font-size: 13px;
  line-height: 1.65;
}

/* Single-case 4-up comparison (generated / ego GT / exo GT / warp),
   placed right under the ablation figure */
.case-quad-figure {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.case-quad {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.case-quad-item video {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #000;
  display: block;
}
.case-quad-item p {
  margin: 8px 0 0;
  text-align: center;
  font-size: 13px !important;
  color: var(--ink);
  font-weight: 700;
}
.case-quad-item p span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: none;
}
.case-quad-figure > figcaption {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
@media (max-width: 680px) {
  .case-quad { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Full results table (Table 1 style): bordered, striped-on-hover, best
   bold / second-best underlined per column, matching the convention used
   by the cs503-compositional-diffusion-webpage template */
.results-table-wrap {
  overflow-x: auto;
  margin-top: 26px;
}
/* Classic bordered / striped / hoverable academic table — the Bulma
   "is-bordered is-striped is-narrow is-hoverable" look used by the
   cs503-compositional-diffusion-webpage template, reimplemented in plain
   CSS to match this page's design-token system. */
.results-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
  border: 1px solid var(--line);
}
.results-table th, .results-table td {
  padding: 8px 12px;
  text-align: center;
  white-space: nowrap;
  border: 1px solid var(--line);
  color: var(--ink);
}
.results-table thead th {
  background: #fafafa;
  color: var(--ink);
  font-weight: 700;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.results-table td:first-child, .results-table th:first-child {
  text-align: left;
}
.results-table tbody tr:not(.scenario-row):nth-of-type(even) td {
  background: #fafafa;
}
.results-table tbody tr:not(.scenario-row):hover td {
  background: #f3f3f3;
}
.results-table tr.scenario-row td {
  background: #f0f0f0;
  padding-top: 9px;
  padding-bottom: 9px;
  color: var(--red-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .05em;
  text-align: left;
}
.results-table tr.is-ours td {
  background: #fff5f5;
  font-weight: 600;
}
.results-table tr.is-ours:hover td {
  background: #ffe9e9;
}
.results-table td strong { color: var(--ink); font-weight: 800; }
.results-table td u { text-decoration-color: var(--red); text-underline-offset: 3px; }
.table-note { color: var(--muted); font-size: 12.5px; line-height: 1.65; margin-top: 14px; }

.two-col-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.two-col-callout article { display: grid; grid-template-columns: 130px 1fr; gap: 18px; }
.callout-label { color: var(--red-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.two-col-callout p { margin: 0; }

/* =============== Comparison highlight (EgoStream vs EgoX) =============== */

.compare-highlight {
  display: grid;
  grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr);
  gap: 52px;
  margin-top: 46px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.compare-copy h3 { margin: 8px 0 14px; font-size: 24px; line-height: 1.25; color: var(--ink); }
.compare-copy > p:last-of-type { max-width: 560px; margin: 0; font-size: 20px; }
.compare-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 96px minmax(0,1fr);
  border: 1px solid var(--line);
  background: #fff;
}
.compare-grid .cond { padding: 22px; }
.compare-grid .cond.ours { border-left: 1px solid rgba(255,0,0,.25); background: #fff5f5; }
.compare-grid .cond > span { display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.compare-grid .cond.ours > span { color: var(--red-dark); }
.compare-grid .cond ul { margin: 12px 0 0; padding: 0; list-style: none; }
.compare-grid .cond li { margin-top: 8px; color: var(--ink); font-size: 13.5px; line-height: 1.5; }
.compare-grid .cond.ours li strong { color: var(--ink); }
.compare-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
  text-align: center;
  padding: 16px 8px;
}
.compare-divider strong { color: var(--red); font-size: 20px; }
.compare-divider span { margin-top: 6px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.compare-caveat { margin: 16px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; max-width: 780px; }

/* =============== Results: metric grid =============== */

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  margin: 50px 0 0;
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.metric-grid + .metric-grid {
  margin-top: 0;
  border-top: 0;
}
.metric-grid div { padding: 22px 20px 22px 0; }
.metric-grid div + div { padding-left: 20px; border-left: 1px solid rgba(255,255,255,.16); }
.metric-grid dt { margin: 0; color: rgba(255,255,255,.55); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.metric-grid dd { margin: 8px 0 0; font-size: 26px; font-weight: 800; color: #fff; }
.metric-group-label {
  margin: 40px 0 0;
  color: rgba(255,255,255,.5);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.metric-group-label:first-of-type { margin-top: 44px; }
.metric-footnote {
  margin: 24px 0 0;
  color: rgba(255,255,255,.5);
  font-size: 12.5px;
  line-height: 1.7;
  max-width: 820px;
}
.metric-footnote code {
  background: rgba(255,255,255,.08);
  padding: 1px 5px;
  border-radius: 3px;
  color: #fff;
}

/* =============== Video wall =============== */

.results-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.results-heading p:last-child { max-width: 640px; margin: 14px 0 0; }
.result-tabs {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  gap: 2px;
}
.result-tabs button, .filter-chip {
  min-height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.result-tabs button.is-active, .filter-chip.is-active {
  background: var(--ink);
  color: #fff;
}
.result-count { margin: 20px 0 0; color: var(--muted); font-size: 13px; }

.demo-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Collapsed by default to roughly 3 rows; "Show all videos" lifts the
   max-height cap. Height is an approximation (card height scales with
   column width) rather than an exact row count. */
.demo-wall-collapse {
  position: relative;
  max-height: 1380px;
  overflow: hidden;
  transition: max-height .35s ease;
}
.demo-wall-collapse.is-expanded {
  /* Large fixed value instead of "none" — CSS cannot transition max-height
     to/from "none", it would just snap instead of animating open. */
  max-height: 20000px;
}
.demo-wall-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(244,244,245,0) 0%, var(--canvas) 85%);
  pointer-events: none;
}
.demo-wall-collapse.is-expanded .demo-wall-fade {
  display: none;
}
.demo-wall-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.demo-wall-toggle {
  min-height: 40px;
  padding: 0 22px;
  border: 1px solid var(--line);
  background: #fff;
}
.demo-wall-toggle:hover {
  border-color: var(--red);
  color: var(--red-dark);
}
.demo-card {
  display: grid;
  grid-template-rows: auto auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.demo-card:hover { transform: translateY(-3px); border-color: #c9c9c9; box-shadow: 0 14px 28px rgba(16,16,18,.1); }

.demo-card .media-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #0c0c0e;
  overflow: hidden;
}
.demo-card video, .demo-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.domain-badge {
  position: absolute;
  top: 10px; left: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 5px;
  background: rgba(8,8,10,.82);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.demo-card .card-body { padding: 14px 16px 16px; }
.demo-card .card-meta {
  display: flex; align-items: center; justify-content: space-between;
  color: var(--muted); font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em;
}
.demo-card h3 { margin: 10px 0 0; font-size: 15.5px; font-weight: 700; letter-spacing: 0; }
.demo-card .card-legend {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.demo-wall-empty { text-align: center; color: var(--muted); padding: 2rem 0; grid-column: 1 / -1; }
.legend-key {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.legend-key span { font-weight: 700; color: var(--ink); }

/* =============== BibTeX / code blocks =============== */

.code-block {
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}
.code-block code { color: var(--ink); }
.ack-list { margin: 20px 0 0; padding: 0; list-style: none; }
.ack-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.ack-list li:first-child { border-top: 0; padding-top: 0; }
.ack-list .code-block { margin-top: 12px; }

/* =============== Section dividers =============== */
/* A short, rounded, thick red bar straddling the seam between major
   sections — EPFL red, standing in for a hairline rule. */
.section-divider {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 6px;
  margin: -3px 0;
  background: var(--red);
  border-radius: 3px;
}

/* =============== Footer =============== */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px max(28px, calc((100% - 1180px)/2));
  border-top: 1px solid #222225;
  background: var(--dark);
  color: rgba(255,255,255,.68);
  font-size: 13px;
}
.site-footer strong { color: #fff; }
.site-footer a { color: #ff8a80; font-weight: 700; }
.site-footer a:hover { color: #fff; }

/* =============== Responsive =============== */

@media (max-width: 1000px) {
  .hero h1 { font-size: 46px; }
  h1.wordmark svg { width: min(100%, 360px); }
  .section-intro { grid-template-columns: 1fr; gap: 20px; }
  .pipeline { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pipeline li:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .two-col-callout { grid-template-columns: 1fr; gap: 24px; }
  .compare-highlight { grid-template-columns: 1fr; gap: 24px; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .metric-grid div:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .demo-wall { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .top-nav, .hero-content { width: calc(100% - 32px); }
  .nav-links a:not(.source-link) { display: none; }
  .hero { min-height: 560px; }
  .hero h1 { font-size: 34px; }
  h1.wordmark svg { width: min(100%, 280px); }
  .hero-tagline { font-size: 18px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats div:nth-child(2n+1) { border-left: 0; padding-left: 0; }
  .section { padding: 56px 18px; }
  .section-intro h2 { font-size: 28px; }
  .pipeline { grid-template-columns: 1fr; border-top-width: 1px; }
  .pipeline li { padding: 16px 0 !important; border-left: 0 !important; }
  .pipeline li + li { border-top: 1px solid var(--line); }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-divider { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .compare-grid .cond.ours { border-left: 0; border-top: 1px solid rgba(255,0,0,.35); }
  .demo-wall { grid-template-columns: 1fr; }
  .results-header { flex-direction: column; align-items: flex-start; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo-card, .demo-card video { transition: none; }
}
