  :root {
    /* ── Theme — change these four lines to retheme the entire site ── */
    --c1: #111827;   /* primary text   */
    --c2: #111827;   /* accent → black */
    --c3: #374151;   /* accent dark    */
    --c4: #ffffff;   /* body background */

    /* Fonts */
    --serif: 'Merriweather', Georgia, serif;
    --sans:  'Inter', system-ui, sans-serif;
    --mono:  'JetBrains Mono', monospace;

    /* Derived palette */
    --ink:    var(--c1);
    --ink2:   #374151;
    --ink3:   #6b7280;
    --paper:  var(--c4);
    --paper2: #f9fafb;
    --paper3: #f3f4f6;
    --rule:   #e5e7eb;
    --accent:  var(--c2);
    --accent2: #059669;
    --accent3: var(--c2);
    --warm:    #f59e0b;
    --blue50:   #f3f4f6;
    --blue600:  var(--c2);
    --teal50:   #ecfdf5;
    --teal600:  #059669;
    --amber50:  #fffbeb;
    --amber600: #d97706;
    --red50:    #fef2f2;
    --red600:   #dc2626;
    --max: 960px;
    --narrow: 680px;
  }

  /* ── Dark mode ── */
  [data-theme="dark"] {
    --c1: #FFFFFF;
    --c2: #d1d5db;
    --c4: #0f172a;
    --ink:   #FFFFFF;
    --ink2:  #d1d5db;
    --ink3:  #9ca3af;
    --paper: #0f172a;
    --paper2: #1e293b;
    --paper3: #334155;
    --rule:  #334155;
    --blue50:   #1f2937;
    --teal50:   #064e3b;
    --amber50:  #451a03;
    --red50:    #450a0a;
  }
  [data-theme="dark"] nav {
    background: rgba(15,23,42,0.96);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    font-size: 20px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
  }

  /* NAV */
  nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--rule);
    padding: 0 2rem;
  }
  .nav-inner {
    max-width: var(--max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    gap: 2rem;
  }
  .nav-logo {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.01em;
    white-space: nowrap;
  }
  /* 3D CUBE LOGO MARK (inline, before the title) */
  .logo-mark {
    display: inline-block;
    height: 1.4em;
    width: auto;
    vertical-align: -0.45em;
    margin-right: 0.35em;
  }
  .nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
  }
  .nav-links a {
    font-size: 13px;
    color: var(--ink3);
    text-decoration: none;
    transition: color 0.15s;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-badge {
    font-size: 11px;
    padding: 3px 10px;
    background: var(--blue50);
    color: var(--c2);
    border: 1px solid var(--rule);
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
  }

  /* SECTIONS */
  section { padding: 5rem 2rem; }
  .section-inner { max-width: var(--max); margin: 0 auto; }
  #hero .section-inner { max-width: 860px; }

  /* HERO */
  #hero {
    background: var(--paper);
    padding: 5rem 2rem 4rem;
    text-align: center;
    border-bottom: 1px solid var(--rule);
  }
  .venue-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c2);
    margin-bottom: 1.5rem;
  }
  .venue-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--c2); }

  h1 {
    font-family: var(--sans);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--ink);
    max-width: 780px;
    margin: 0 auto 1.5rem;
  }
  h1 em { font-style: italic; color: var(--c2); }

  .authors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.5rem;
    margin-bottom: 0.75rem;
  }
  .author {
    font-size: 17px;
    color: var(--ink2);
    text-decoration: none;
  }
  .author sup { font-size: 10px; color: var(--c2); }
  .affil {
    font-size: 15px;
    color: var(--ink3);
    margin-bottom: 2rem;
  }

  /* PILL BUTTONS — all dark, matching academic project page template */
  .btn-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3rem;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 9999px;
    padding: 9px 22px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    font-family: var(--sans);
    background: #363636;
    color: #fff;
    border: none;
  }
  .btn:hover { background: #1a1a1a; color: #fff; }
  .btn-primary { background: #363636; color: #fff; }
  .btn-primary:hover { background: #1a1a1a; }
  .btn-outline { background: #363636; color: #fff; border: none; }
  .btn-outline:hover { background: #1a1a1a; }

  /* ABSTRACT */
  .abstract-card {
    background: transparent;
    border: none;
    border-radius: 0;
    max-width: 720px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
  }
  .abstract-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink3);
    margin-bottom: 0.75rem;
  }
  .abstract-text {
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.9;
    color: var(--ink2);
    text-align: justify;
    hyphens: auto;
  }

  /* SECTION HEADERS */
  h2 {
    font-family: var(--sans);
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 0.5rem;
    line-height: 1.25;
    text-align: center;
  }
  .section-subtitle {
    font-size: 16px;
    color: var(--ink3);
    margin-bottom: 2.5rem;
    text-align: center;
  }

  /* Section background alternation */
  #contributions { background: var(--paper2); }
  #method        { background: var(--paper); }
  #demo          { background: var(--paper2); }
  #results       { background: var(--paper); }
  #ablations     { background: var(--paper2); }
  #preferences   { background: var(--paper); }
  #robot         { background: var(--paper2); }
  #bibtex        { background: var(--paper2); }

  /* Subtle rule between sections */
  section + section { border-top: 1px solid var(--rule); }
  #hero + section   { border-top: none; }

  /* KEY CONTRIBUTIONS — clean numbered list */
  .contrib-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 820px;
    margin: 0 auto;
  }
  .contrib-card {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule);
    border-radius: 0;
    padding: 1.25rem 0;
    box-shadow: none;
  }
  .contrib-card:last-child { border-bottom: none; }
  .contrib-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink3);
    margin-bottom: 0.75rem;
    letter-spacing: 0.06em;
  }
  .contrib-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
  }
  .contrib-desc {
    font-size: 16px;
    color: var(--ink2);
    line-height: 1.7;
  }
  .contrib-tag {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 10px;
    padding: 2px 7px;
    border-radius: 2px;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-family: var(--mono);
  }
  .tag-blue  { background: var(--blue50);  color: var(--blue600); }
  .tag-teal  { background: var(--teal50);  color: var(--teal600); }
  .tag-amber { background: var(--amber50); color: var(--amber600); }

  /* METHOD */
  .pipeline-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2.5rem;
  }
  .pipeline-step {
    background: var(--paper);
    padding: 1.25rem 1rem;
    text-align: center;
  }
  .pipeline-step:hover { background: var(--paper2); }
  .step-num {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink3);
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
  }
  .step-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.35rem;
  }
  .step-desc {
    font-size: 13px;
    color: var(--ink3);
    line-height: 1.5;
  }

  .method-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  .method-card {
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 1.5rem;
    background: var(--paper);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }
  .method-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .method-card-body {
    font-size: 15px;
    color: var(--ink2);
    line-height: 1.65;
  }
  .formula {
    background: var(--paper2);
    border: 1px solid var(--rule);
    border-radius: 6px;
    padding: 0.9rem 1rem;
    margin: 0.75rem 0;
    color: var(--ink);
    overflow-x: auto;
  }
  /* KaTeX-rendered equations — a bit bigger than body text */
  .formula .katex { font-size: 1.25rem; }
  .formula .katex-display { margin: 0; }

  /* INTERACTIVE DEMO */
  .demo-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  .demo-controls {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    padding: 1.25rem;
  }
  .control-section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink3);
    margin-bottom: 0.75rem;
    margin-top: 1.25rem;
  }
  .control-section-label:first-child { margin-top: 0; }
  .box-preset-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .box-btn {
    font-size: 12px;
    padding: 6px 8px;
    border: 1px solid var(--rule);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink2);
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    font-family: var(--sans);
  }
  .box-btn:hover, .box-btn.active { border-color: var(--accent); color: var(--accent); background: var(--blue50); }
  .pref-input {
    width: 100%;
    font-size: 12px;
    padding: 8px 10px;
    border: 1px solid var(--rule);
    border-radius: 6px;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    resize: none;
    margin-bottom: 0.5rem;
    outline: none;
    transition: border-color 0.15s;
  }
  .pref-input:focus { border-color: var(--accent); }
  .pref-examples {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 0.75rem;
  }
  .pref-chip {
    font-size: 11px;
    color: var(--accent);
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 4px;
    background: var(--blue50);
    border: none;
    text-align: left;
    font-family: var(--sans);
    transition: background 0.1s;
  }
  .pref-chip:hover { background: #d1d5db; }
  .run-btn {
    width: 100%;
    padding: 10px;
    background: var(--ink);
    color: var(--paper);
    border: none;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--sans);
    transition: background 0.15s;
    margin-top: 0.75rem;
  }
  .run-btn:hover { background: #2a2825; }
  .run-btn:disabled { background: var(--ink3); cursor: not-allowed; }

  .demo-viz {
    background: var(--paper);
    border: 1px solid var(--rule);
    border-radius: 10px;
    overflow: hidden;
  }
  .demo-viz-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--rule);
    font-size: 12px;
    color: var(--ink3);
  }
  .demo-status {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ink3);
    transition: background 0.3s;
  }
  .status-dot.running { background: var(--accent3); animation: pulse 1s ease-in-out infinite; }
  .status-dot.done { background: var(--accent2); }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

  #three-container canvas {
    display: block;
    width: 100%;
    cursor: crosshair;
  }
  .demo-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule);
    border-top: 1px solid var(--rule);
  }
  .metric-cell {
    background: var(--paper2);
    padding: 0.75rem 1rem;
    text-align: center;
  }
  .metric-val {
    font-family: var(--mono);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ink);
  }
  .metric-lbl {
    font-size: 10px;
    color: var(--ink3);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 2px;
  }

  .diffusion-progress {
    padding: 0.6rem 1rem 0.5rem;
    border-top: 1px solid var(--rule);
    background: var(--paper2);
  }
  .progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--ink3);
    margin-bottom: 6px;
  }
  /* Scrubber track */
  .scrubber-wrap {
    position: relative;
    height: 18px;
    display: flex;
    align-items: center;
  }
  .scrubber-track {
    position: absolute;
    left: 0; right: 0;
    height: 4px;
    background: var(--rule);
    border-radius: 2px;
    pointer-events: none;
  }
  .scrubber-fill {
    position: absolute;
    left: 0;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    width: 0%;
    pointer-events: none;
    transition: width 0.05s linear;
  }
  #scrubber {
    position: relative;
    width: 100%;
    height: 18px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
    margin: 0;
    z-index: 1;
  }
  #scrubber::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--paper);
    box-shadow: 0 0 0 1px var(--accent);
    cursor: grab;
    transition: transform 0.1s, box-shadow 0.1s;
  }
  #scrubber:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.2);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.2);
  }
  #scrubber::-moz-range-thumb {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--paper);
    box-shadow: 0 0 0 1px var(--accent);
    cursor: grab;
  }
  #scrubber::-webkit-slider-runnable-track { background: transparent; }
  #scrubber::-moz-range-track { background: transparent; }
  /* Keyframe tick marks */
  .scrubber-ticks {
    position: absolute;
    left: 0; right: 0;
    height: 4px;
    pointer-events: none;
  }

  /* RESULTS */
  .results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .chart-card {
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 1.25rem 1.25rem 1rem;
    background: var(--paper);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }
  .chart-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.25rem;
  }
  .chart-sub {
    font-size: 13px;
    color: var(--ink3);
    margin-bottom: 1rem;
  }
  canvas { max-width: 100%; }

  .results-table-wrap {
    border: 1px solid var(--rule);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }
  .results-table-title {
    padding: 1rem 1.25rem;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    background: var(--paper2);
    border-bottom: 1px solid var(--rule);
  }
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
  }
  th {
    background: var(--paper2);
    padding: 8px 10px;
    text-align: right;
    font-weight: 600;
    color: var(--ink2);
    border-bottom: 1px solid var(--rule);
    font-size: 13px;
    letter-spacing: 0.04em;
  }
  th:first-child { text-align: left; }
  td {
    padding: 7px 10px;
    text-align: right;
    color: var(--ink2);
    border-bottom: 1px solid var(--rule);
    font-family: var(--mono);
    font-size: 13px;
  }
  td:first-child { text-align: left; font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--ink); }
  tr:last-child td { border-bottom: none; }
  tr.highlight td { background: #f3f4f6; color: var(--ink); font-weight: 600; }
  tr.highlight td:first-child { color: var(--ink); }

  /* ABLATIONS */
  .ablation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  /* PREFERENCES */
  .pref-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .pref-card {
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 1.25rem;
    background: var(--paper);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }
  .pref-card-type {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
  .pref-card-example {
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--ink);
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }
  .pref-card-desc { font-size: 14px; color: var(--ink2); line-height: 1.55; }

  .sr-table-wrap {
    border: 1px solid var(--rule);
    border-radius: 8px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  }

  /* ROBOT */
  .robot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
  .robot-video-placeholder {
    background: var(--paper2);
    border: 1px dashed var(--rule);
    border-radius: 0;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--ink3);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s;
  }
  .robot-video-placeholder:hover { border-color: var(--ink3); }
  .video-icon { font-size: 2.5rem; opacity: 0.4; }
  .hardware-table { margin-top: 1rem; }
  .hw-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--rule);
    font-size: 15px;
  }
  .hw-row:last-child { border-bottom: none; }
  .hw-key { color: var(--ink3); }
  .hw-val { color: var(--ink); font-weight: 500; font-family: var(--mono); font-size: 12px; }
  .success-rate-big {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  .sr-num {
    font-family: var(--sans);
    font-size: 4rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1;
  }
  .sr-label { font-size: 15px; color: var(--ink3); margin-top: 0.25rem; }

  /* BIBTEX */
  .bibtex-block {
    font-family: var(--mono);
    font-size: 13px;
    background: #0f172a;
    color: #c8c4bc;
    border-radius: 8px;
    padding: 1.5rem;
    line-height: 1.7;
    position: relative;
    overflow-x: auto;
    max-width: 820px;
    margin: 0 auto;
  }
  .bibtex-key { color: #85c1e9; }
  .bibtex-val { color: #a9dfbf; }
  .copy-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 4px 10px;
    font-size: 11px;
    background: rgba(255,255,255,0.1);
    color: #c8c4bc;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--sans);
    transition: background 0.15s;
  }
  .copy-btn:hover { background: rgba(255,255,255,0.2); }

  /* FOOTER */
  footer {
    padding: 2rem;
    border-top: 1px solid var(--rule);
    text-align: center;
    font-size: 12px;
    color: var(--ink3);
    background: var(--paper);
  }
  footer a { color: var(--ink3); text-decoration: underline; }

  /* UTILS */
  .divider { height: 1px; background: var(--rule); margin: 2rem 0; }
  .label-pill {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 2px 7px;
    border-radius: 2px;
    font-family: var(--mono);
  }

  /* ===== INTRO ANIMATION: diffusion → bin packing ===== */
  /* Each logo cube starts scattered + faded (like diffusion noise) and settles into the packed stack. */
  /* SVG must not clip while cubes fly in from across the page. */
  .logo-mark { overflow: visible; }
  .logo-mark .cube {
    transform-box: fill-box;
    transform-origin: center;
    animation: cube-diffuse 1.5s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    animation-delay: var(--cd, 0s);
  }
  @keyframes cube-diffuse {
    0% {
      /* Far away: cube is 6–8× its final size, then shrinks proportionally as it travels in. */
      transform: translate(var(--ox, 0), var(--oy, 0)) scale(var(--s0, 7));
      opacity: 0;
      filter: blur(2px);
    }
    20% { opacity: 1; filter: blur(1px); }
    100% { transform: translate(0, 0) scale(1); opacity: 1; filter: blur(0); }
  }

  /* Hero text/content rises in after the cubes begin settling. */
  #hero .venue-tag,
  #hero .authors,
  #hero .affil,
  #hero .btn-row,
  #hero .abstract-card,
  #hero #overview-block {
    animation: rise-in 0.7s ease-out backwards;
  }
  #hero .venue-tag    { animation-delay: 0s; }
  #hero .authors      { animation-delay: 1.5s; }
  #hero .affil        { animation-delay: 1.6s; }
  #hero .btn-row      { animation-delay: 1.7s; }
  #hero .abstract-card{ animation-delay: 1.85s; }
  #hero #overview-block { animation-delay: 2.0s; }
  @keyframes rise-in {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .logo-mark .cube,
    #hero .venue-tag, #hero .authors, #hero .affil,
    #hero .btn-row, #hero .abstract-card, #hero #overview-block {
      animation: none;
    }
  }

  @media (max-width: 700px) {
    .demo-layout { grid-template-columns: 1fr; }
    .method-detail-grid { grid-template-columns: 1fr; }
    .results-grid { grid-template-columns: 1fr; }
    .ablation-grid { grid-template-columns: 1fr; }
    .robot-grid { grid-template-columns: 1fr; }
    .pipeline-row { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .demo-metrics { grid-template-columns: repeat(2, 1fr); }
  }
