  :root{
    --divider-x: 50vw;
    --bg:#0b0b0c;
    --line:rgba(255,255,255,.95);
    --cell: calc(100vw / 6);
  }
  *{box-sizing:border-box}
  html,body{height:100%}
  body{
    margin:0;
    background:var(--bg);
    color:#eaeaea;
    font:16px/1.4 "Times New Roman", Times, serif;
  }

  .project-nav{
    position:fixed;
    inset:0 0 auto;
    z-index:1000;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    padding:17px clamp(20px,4vw,60px);
    color:#fff;
    background:linear-gradient(180deg,rgba(8,7,10,.82),rgba(8,7,10,0));
    transition:background .2s ease,box-shadow .2s ease,backdrop-filter .2s ease;
  }
  .project-nav.scrolled{
    background:rgba(12,10,15,.92);
    box-shadow:0 10px 28px rgba(0,0,0,.2);
    backdrop-filter:blur(14px);
  }
  .project-nav a{
    color:inherit;
    text-decoration:none;
  }
  .project-nav-brand{
    flex:0 0 auto;
    font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    font-size:17px;
    font-weight:900;
    letter-spacing:-.025em;
  }
  .project-nav-links{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:clamp(13px,1.7vw,25px);
    min-width:0;
    font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    font-size:13px;
    font-weight:650;
  }
  .project-nav-links a{
    opacity:.72;
    transition:opacity .16s ease,color .16s ease;
  }
  .project-nav-links a:hover,
  .project-nav-links a.active{
    opacity:1;
    color:#e3d6ff;
  }
  #abstract,
  #method-overview,
  #visual-branch,
  #action-branch,
  #real-world,
  #results,
  #citation{
    scroll-margin-top:88px;
  }

  /* ===== HERO (unchanged layout, now light-load) ===== */
  .hero{ position:relative; width:100vw; height:100vh; overflow:hidden; }
  .stage{
    position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
    width:100vw; height:calc(100vw / 2);
  }
  .brand{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; z-index:100; pointer-events:none; }
  .brand .wordmark{
    font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight:900; font-size:clamp(42px,10vw,120px); line-height:1;
    background:linear-gradient(180deg,#fff,#dfe5ff);
    -webkit-background-clip:text; background-clip:text; color:transparent;
    text-shadow:0 10px 32px rgba(0,0,0,.45);
  }
  .hero-canvas{
    position:absolute; inset:0; overflow:hidden; background:#000;
  }
  .hero-pair{ position:absolute; inset:0; overflow:hidden; background:#000; }
  .hero-pair video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; background:#000; }
  .hero-pair video.base{ z-index:1; }
  .hero-pair video.overlay{ z-index:2;
    clip-path: polygon(0 0, var(--cut,0px) 0, var(--cut,0px) 100%, 0 100%);
    will-change:clip-path;
  }
  #divider{ position:absolute; top:0; bottom:0; left: calc(var(--divider-x) - 1px);
    width:2px; background:var(--line); pointer-events:none; z-index:2; }

  /* Hide scrollbars */
  html, body{ -ms-overflow-style:none; scrollbar-width:none; }
  html::-webkit-scrollbar, body::-webkit-scrollbar{ width:0; height:0; background:transparent; }

  /* Publication header */
  .after-hero { background:#fff; color:#111; padding:5vh 0; }
  .paper-header,
  .branch-section{
    max-width:min(1400px, 92vw);
    margin:0 auto;
  }
  .paper-header{
    display:grid;
    gap:28px;
    margin-bottom:10vh;
  }
  .paper-intro{
    display:grid;
    justify-items:center;
    gap:18px;
    padding:28px 0 8px;
    text-align:center;
    font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  }
  .fancy-title{
    margin:0 auto;
    max-width:1120px;
    color:#1b1b22;
    font-size:clamp(28px,3vw,44px);
    font-weight:800;
    line-height:1.2;
    letter-spacing:-.035em;
    text-wrap:balance;
  }
  .paper-venue{
    margin:0;
    color:#5d536d;
    font-size:15px;
    font-weight:700;
    line-height:1.5;
  }
  .paper-contribution{
    margin:-8px 0 2px;
    color:#686873;
    font-size:13px;
    line-height:1.5;
  }
  .paper-authors sup{
    margin-left:2px;
    font-size:.65em;
    line-height:0;
    color:#5d536d;
  }
  .paper-affiliations{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:6px 24px;
    max-width:100%;
    margin:-10px 0 0;
    padding:0 8px;
    list-style:none;
    color:#575762;
    font-size:15px;
    line-height:1.5;
  }
  .paper-affiliations sup{
    color:#5d536d;
    font-size:.75em;
    line-height:0;
  }
  .paper-links{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
    margin:0;
  }
  .paper-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-width:126px;
    min-height:44px;
    padding:10px 18px;
    border:1px solid #24242a;
    border-radius:999px;
    background:#24242a;
    color:#fff;
    font-size:15px;
    font-weight:600;
    line-height:1.4;
    text-decoration:none;
    white-space:nowrap;
    transition:background .16s ease,transform .16s ease;
  }
  .paper-link svg{
    width:18px;
    height:18px;
    flex-shrink:0;
  }
  .paper-link:hover{
    background:#3b3b43;
    border-color:#3b3b43;
    transform:translateY(-1px);
  }
  .paper-link:focus-visible{
    outline:3px solid #8070a2;
    outline-offset:4px;
  }
  @media (max-width:560px){
    .paper-links{
      display:grid;
      grid-template-columns:repeat(2,minmax(0,1fr));
      width:min(100%,340px);
      gap:10px;
    }
    .paper-link{
      min-width:0;
      width:100%;
    }
    .paper-venue{
      font-size:14px;
    }
  }
  .section-kicker{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:40px;
    padding:6px 12px;
    border-radius:999px;
    background:#111;
    color:#fff;
    font-size:12px;
    font-weight:800;
    letter-spacing:.18em;
    text-transform:uppercase;
  }
  .abstract-block{
    max-width:min(920px, 88vw);
    margin:0 auto;
    padding:28px 34px;
    border:1px solid rgba(17,17,17,.08);
    border-radius:24px;
    background:linear-gradient(180deg,#ffffff 0%,#f7f4ef 100%);
    box-shadow:0 18px 48px rgba(17,17,17,.08);
    text-align:left;
  }
  .abstract-block .section-kicker{
    display:table;
    margin:0 auto 14px;
  }
  .abstract-text{
    margin:0;
    font-size:clamp(17px,1.55vw,21px);
    line-height:1.9;
    color:#1a1a1a;
    text-wrap:pretty;
  }
  .overview-block{
    max-width:min(1120px, 92vw);
    margin:0 auto;
    padding:30px 34px 34px;
    border:1px solid rgba(17,17,17,.08);
    border-radius:24px;
    background:linear-gradient(180deg,#fffdf9 0%,#f4efe6 100%);
    box-shadow:0 18px 48px rgba(17,17,17,.08);
    text-align:left;
  }
  .overview-block .section-kicker{
    display:table;
    margin:0 auto 18px;
  }
  .overview-figure-wrap{
    width:100%;
    margin:0 auto 22px;
    text-align:center;
  }
  .overview-figure{
    width:100%;
    max-width:1040px;
    height:auto;
    display:block;
    margin:0 auto;
    border-radius:18px;
    box-shadow:0 16px 44px rgba(0,0,0,.10);
    background:#fff;
  }
  .overview-text{
    margin:0 auto;
    max-width:940px;
    font-size:clamp(17px,1.45vw,20px);
    line-height:1.85;
    color:#1a1a1a;
    text-wrap:pretty;
  }
  .paper-figure-section{
    max-width:min(1080px, 88vw);
    margin:0 auto 6vh;
    padding-top:2vh;
  }
  .paper-figure-header{
    margin:0 0 18px;
    text-align:center;
  }
  .paper-figure-header h2{
    margin:0 0 8px;
    font-size:clamp(24px,3vw,34px);
    line-height:1.15;
  }
  .paper-figure-header p{
    margin:0;
    font-size:clamp(14px,1.2vw,17px);
    line-height:1.7;
    color:#555;
  }
  .paper-figure{
    margin:0 auto;
    width:100%;
  }
  .paper-figure-grid{
    display:grid;
    grid-template-columns:minmax(0, 1.7fr) minmax(0, 0.8fr);
    gap:28px;
    align-items:start;
  }
  .paper-figure-media{
    height:240px;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    margin:0 auto 12px;
  }
  .paper-figure-image{
    width:auto;
    max-width:100%;
    height:100%;
    display:block;
    margin:0 auto;
    border-radius:10px;
    border:1px solid rgba(17,17,17,.08);
    box-shadow:0 8px 24px rgba(0,0,0,.06);
    background:#fff;
    object-fit:contain;
  }
  .paper-figure-caption{
    max-width:100%;
    margin:0 auto;
    font-size:clamp(14px,1.05vw,16px);
    line-height:1.7;
    color:#333;
    text-align:left;
    text-wrap:pretty;
  }
  .citation-section{
    max-width:min(1080px, 88vw);
    margin:2vh auto 6vh;
  }
  .citation-section .section-kicker{
    display:table;
    margin:0 auto 16px;
  }
  .citation-code{
    margin:0;
    padding:24px 28px;
    overflow-x:auto;
    border:1px solid rgba(17,17,17,.1);
    border-radius:18px;
    background:#f7f4ef;
    color:#1a1a1a;
    box-shadow:0 12px 34px rgba(17,17,17,.06);
    font:14px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    white-space:pre;
  }
  .teaser-wrap{
    width:100%;
    text-align:center;
  }
  .teaser-image{
    max-width:min(1100px, 100%);
    width:100%;
    height:auto;
    border-radius:18px;
    box-shadow:0 18px 54px rgba(0,0,0,.12);
  }
  .branch-section{
    margin-bottom:10vh;
  }
  .branch-copy{
    margin:0 0 28px;
    display:grid;
    gap:10px;
    text-align:center;
  }
  .branch-copy h2{
    margin:0;
    font-size:clamp(28px,3.8vw,46px);
    line-height:1.1;
  }
  .branch-copy p{
    margin:0;
    max-width:880px;
    font-size:clamp(16px,1.45vw,20px);
    line-height:1.75;
    color:#444;
    justify-self:center;
  }
  .subsection-head{
    margin:0 0 8px;
    text-align:left;
  }
  .subsection-head h3{
    margin:0;
    font-size:clamp(22px,2.7vw,34px);
    line-height:1.15;
    font-weight:800;
  }

  /* ===== NEW: Real-World Tasks layout ===== */
  .tasks{ max-width:min(1200px,92vw); margin:0 auto 8vh; }
  .real-world-scroll-wrap{
    position:relative;
  }
  .real-world-track{
    display:flex;
    gap:0;
    overflow-x:auto;
    padding:12px 0 8px;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
  }
  .real-world-track::-webkit-scrollbar{
    height:8px;
  }
  .real-world-track::-webkit-scrollbar-thumb{
    background:rgba(0,0,0,.2);
    border-radius:999px;
  }
  .real-task-slide{
    flex:0 0 100%;
    min-width:0;
    scroll-snap-align:start;
    scroll-snap-stop:always;
    background:#0f0f12;
    color:#eee;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:18px;
    box-shadow:0 6px 24px rgba(0,0,0,.15);
  }
  .task{
    margin:0;
  }
  .task h4{
    margin:4px 0 18px;
    font-size:clamp(20px,2.3vw,28px);
    font-weight:800;
  }
  .task-scroll-wrap{
    position:relative;
  }
  .demos{
    display:flex;
    gap:0;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    padding:0 0 8px;
  }
  .demos-slide{
    flex:0 0 100%;
    min-width:0;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:16px;
    scroll-snap-align:start;
    scroll-snap-stop:always;
  }
  .demos::-webkit-scrollbar{
    height:8px;
  }
  .demos::-webkit-scrollbar-thumb{
    background:rgba(0,0,0,.2);
    border-radius:999px;
  }
  .card{
    background:#0f0f12; color:#eee; border:1px solid rgba(255,255,255,.08);
    border-radius:16px; overflow:hidden; box-shadow:0 6px 24px rgba(0,0,0,.15);
    min-width:0;
  }
  .card .meta{
    padding:10px 14px; display:flex; align-items:center; justify-content:space-between;
    border-bottom:1px solid rgba(255,255,255,.06); font-size:14px; color:#bbb;
  }
  .dual{
    display:grid; grid-template-columns:1fr 1fr; gap:4px; padding:8px; background:#000;
  }
  .pane{
    position:relative; width:100%;
    aspect-ratio:16/9; background:#000; overflow:hidden; border-radius:10px;
  }
  .pane video{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block;
    background:#000;
  }
  .labels{
    position:absolute; top:6px; left:6px; padding:3px 6px; font-size:12px;
    background:rgba(0,0,0,.55); color:#fff; border-radius:6px; pointer-events:none;
  }
  details.extras{ padding:0 8px 8px; }
  details.extras summary{
    cursor:pointer; user-select:none; padding:10px 6px; color:#cbd3ff; font-size:14px;
  }
  .quad{
    display:grid; grid-template-columns:1fr 1fr; gap:4px; margin-top:6px;
  }
  .small .pane{ aspect-ratio:16/9; }
  .ghost{
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
    font-size:12px; color:#888; background:linear-gradient(180deg,#101014,#0b0b0f);
  }
  .badge{
    padding:4px 8px; border:1px solid rgba(255,255,255,.15); border-radius:999px;
    font-size:12px; color:#999;
  }
  .hint{ font-size:12px; color:#7d7d7d; padding:0 14px 12px; }
  .task-scroll-cue{
    position:absolute;
    right:12px;
    top:50%;
    transform:translateY(-50%);
    width:36px;
    height:36px;
    border-radius:999px;
    display:grid;
    place-items:center;
    font-size:20px;
    font-weight:900;
    color:#fff;
    background:rgba(0,0,0,.65);
    border:1px solid rgba(255,255,255,.42);
    box-shadow:0 0 0 1px rgba(0,0,0,.35), 0 6px 16px rgba(0,0,0,.35);
    cursor:pointer;
    pointer-events:auto;
    user-select:none;
    z-index:3;
    animation:taco-cue-nudge-right 1.2s ease-in-out infinite;
    transition:opacity .2s ease;
  }
  .task-scroll-cue.left{
    left:12px;
    right:auto;
    animation-name:taco-cue-nudge-left;
  }
  .task-scroll-cue.hidden{
    opacity:0;
    visibility:hidden;
    pointer-events:none;
  }
  .real-caption{
    padding:8px 14px; font-size:14px; color:#bbb; border-top:1px solid rgba(255,255,255,.06);
  }

  /* ==== Real Robot Demos: 4-in-a-row under each task ==== */
  .subhead{
    margin:10px 2px 8px;
    font-size:14px; font-weight:700;
    color:#9aa4ff;              /* darker than #cbd3ff */
    letter-spacing:.2px;
  }
  .real-block{
    background:#000;            /* match the EgoEngine dual's black panel */
    border-radius:16px;
    padding:8px;
    margin:12px 0 32px; 
  }
  .real-row{
    display:flex;
    flex-wrap:nowrap;             /* always one row */
    gap:4px;                      /* match .dual gap */
    overflow:hidden;
  }
  .real-row .pane{
    flex:1 1 0;                   /* keep 4 items in one row, allow shrink */
    min-width:0;
    height:clamp(110px, 18vw, 160px);
    border-radius:10px;
    background:#000; position:relative; overflow:hidden;
  }
  .real-row .pane video{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  }

  /* ==== Visual Comparison: 5-in-a-row ==== */
  .visual-comparison{
    max-width:min(1200px, 92vw);
    margin:0 auto 10vh;
  }
  .rollout-section{
    max-width:min(1200px, 92vw);
    margin:0 auto 10vh;
  }
  .comparison-block{
    background:#000;
    border-radius:16px;
    padding:8px;
    margin:12px 0 32px;
  }
  .comparison-row{
    display:flex;
    flex-wrap:nowrap;
    gap:4px;
    overflow:hidden;
  }
  .comparison-row .pane{
    flex:1 1 0;
    min-width:0;
    height:clamp(120px, 16vw, 210px);
    border-radius:10px;
    background:#000; position:relative; overflow:hidden;
  }
  .comparison-row .pane video{
    position:absolute; inset:0; width:100%; height:100%; object-fit:contain;
  }
  .comparison-row .labels{
    max-width:calc(100% - 12px);
    white-space:normal;
    overflow-wrap:anywhere;
    line-height:1.1;
    font-size:clamp(8px,1.8vw,12px);
  }
  .rollout-block{
    background:#000;
    border-radius:16px;
    padding:8px;
    margin:12px 0 32px;
  }
  .speed-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:28px;
    height:20px;
    margin-left:8px;
    padding:0 7px;
    border:1px solid rgba(255,255,255,.35);
    border-radius:999px;
    color:#fff;
    font-size:12px;
    line-height:1;
    vertical-align:middle;
  }
  .rollout-row{
    display:flex;
    flex-wrap:nowrap;
    gap:4px;
    overflow:hidden;
  }
  .rollout-row .pane{
    flex:1 1 0;
    min-width:0;
    height:clamp(140px, 18vw, 220px);
    border-radius:10px;
    background:#000;
    position:relative;
    overflow:hidden;
  }
  .rollout-row .pane video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    background:#000;
  }

  /* ===== TACO Visualization (scrollable, snap) ===== */
  .visual-generation-section{
    max-width:min(1200px, 92vw);
    margin:0 auto 8vh;
  }
  .visual-generation-block{
    background:#0f0f12;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:14px;
    box-shadow:0 6px 24px rgba(0,0,0,.15);
  }
  .action-generation-block{
    background:#0f0f12;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:14px;
    box-shadow:0 6px 24px rgba(0,0,0,.15);
  }
  .taco-section,
  .aria-section,
  .action-section{
    max-width:min(1200px, 92vw);
    margin:0 auto 10vh;
  }
  .taco-section{
    max-width:none;
    margin:0 0 14px;
  }
  .aria-section{
    max-width:none;
    margin:0;
  }
  .action-taco-section{
    max-width:none;
    margin:0 0 14px;
  }
  .action-aria-section{
    max-width:none;
    margin:0;
  }
  .action-track{
    justify-content:flex-start;
  }
  .action-teaser-section{
    max-width:min(1200px, 92vw);
    margin:0 auto 6px;
    background:#0f0f12;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:14px;
    box-shadow:0 6px 24px rgba(0,0,0,.15);
  }
  .action-teaser-row{
    display:grid;
    grid-template-columns:minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
    gap:8px;
    align-items:center;
  }
  .action-teaser-pane{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    background:#000;
    border-radius:12px;
    overflow:hidden;
  }
  .action-teaser-pane video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    background:#000;
  }
  .action-teaser-pane.main{
    background:#000;
  }
  .action-teaser-pane.main video{
    border-radius:12px;
  }
  .action-teaser-note{
    grid-column:1 / -1;
    width:100%;
    margin:0;
    color:#dce2f4;
    font-size:14px;
    line-height:1.45;
    text-align:center;
  }
  .action-teaser-safety-note{
    max-width:min(1200px, 92vw);
    margin:0 auto 6vh;
    padding:0 4px;
    color:#6d7484;
    font-size:11px;
    line-height:1.35;
    text-align:right;
  }
  .taco-track{
    display:flex; gap:0; overflow-x:auto; padding:12px 0 8px;
    scroll-snap-type:x mandatory; scroll-behavior:smooth;
    scroll-padding-inline:0;
  }
  .taco-track::-webkit-scrollbar{ height:8px; }
  .taco-track::-webkit-scrollbar-thumb{ background:rgba(0,0,0,.2); border-radius:999px; }
  .taco-scroll-wrap{ position:relative; }
  .taco-scroll-cue{
    position:absolute; right:12px; top:50%; transform:translateY(-50%);
    width:36px; height:36px; border-radius:999px;
    display:grid; place-items:center;
    font-size:20px; font-weight:900; color:#fff;
    background:rgba(0,0,0,.65); border:1px solid rgba(255,255,255,.42);
    box-shadow:0 0 0 1px rgba(0,0,0,.35), 0 6px 16px rgba(0,0,0,.35);
    cursor:pointer; pointer-events:auto; user-select:none; z-index:3;
    animation:taco-cue-nudge-right 1.2s ease-in-out infinite;
    transition:opacity .2s ease;
  }
  .taco-scroll-cue.hidden{ opacity:0; visibility:hidden; pointer-events:none; }
  .taco-scroll-cue.left{
    left:12px; right:auto;
    animation-name:taco-cue-nudge-left;
  }
  .task-scroll-cue:focus-visible,
  .taco-scroll-cue:focus-visible{
    outline:2px solid rgba(255,255,255,.9);
    outline-offset:3px;
  }
  @keyframes taco-cue-nudge-right {
    0% { transform:translateY(-50%) translateX(0); }
    50% { transform:translateY(-50%) translateX(2px); }
    100% { transform:translateY(-50%) translateX(0); }
  }
  @keyframes taco-cue-nudge-left {
    0% { transform:translateY(-50%) translateX(0); }
    50% { transform:translateY(-50%) translateX(-2px); }
    100% { transform:translateY(-50%) translateX(0); }
  }
  .taco-slide{
    flex:0 0 100%;
    scroll-snap-align:start;
    scroll-snap-stop:always;
    background:#0f0f12; border:1px solid rgba(255,255,255,.08);
    border-radius:18px; padding:14px; box-shadow:0 6px 24px rgba(0,0,0,.15);
  }
  .taco-task-row{
    display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px;
    margin:2px 0 8px; align-items:center;
  }
  .visual-generation-block .taco-slide{
    box-shadow:none;
  }
  .taco-series-title{
    justify-self:start;
    align-self:start;
    font-size:16px;
    font-weight:800;
    color:#f1f4ff;
    padding:5px 9px;
    background:rgba(255,255,255,.08);
    border-radius:9px;
    letter-spacing:.02em;
  }
  .taco-task-title{
    font-size:13px; font-weight:700; color:#cbd3ff; text-align:center;
    padding:4px 6px; background:rgba(255,255,255,.06); border-radius:8px;
  }
  .taco-row{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
  .taco-pane{ position:relative; width:100%; aspect-ratio:16/9; background:#000; border-radius:12px; overflow:hidden; }
  .taco-pane video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
  .taco-label{
    position:absolute; top:6px; left:6px; padding:3px 6px; font-size:12px;
    background:rgba(0,0,0,.55); color:#fff; border-radius:6px; pointer-events:none;
  }
  .action-slide{
    flex:0 0 100%;
    width:100%;
    scroll-snap-align:start;
    scroll-snap-stop:always;
    background:#0f0f12;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:8px;
    box-shadow:0 6px 24px rgba(0,0,0,.15);
  }
  .action-generation-block .action-slide{
    box-shadow:none;
  }
  .action-media{
    margin-top:2px;
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:2px;
    width:100%;
  }
  .action-pane{
    position:relative;
    width:100%;
    margin:0 auto;
    height:100%;
    min-height:0;
    background:#000;
    border-radius:12px;
    overflow:hidden;
  }
  .action-pane video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    display:block;
    background:#000;
  }
  .action-split-label{
    position:absolute;
    top:8px;
    padding:4px 8px;
    font-size:12px;
    line-height:1;
    color:#fff;
    background:rgba(0,0,0,.55);
    border-radius:6px;
    pointer-events:none;
    z-index:1;
  }
  .action-split-label.left{
    left:8px;
  }
  .action-split-label.right{
    left:calc(50% + 8px);
  }


  /* Keep Real-World demo pairs locked to one row, even on phones */
  @media (max-width:900px){
    .demos-slide{
      grid-template-columns:repeat(2, minmax(0, 1fr));
      gap:10px;
    }
  }

  @media (max-width:560px){
    .project-nav{
      gap:18px;
      padding:14px 16px;
      overflow:hidden;
    }
    .project-nav-brand{
      font-size:15px;
    }
    .project-nav-links{
      justify-content:flex-start;
      gap:15px;
      overflow-x:auto;
      scrollbar-width:none;
      font-size:12px;
    }
    .project-nav-links::-webkit-scrollbar{
      display:none;
    }
    .action-teaser-row{
      gap:4px;
    }
    .action-teaser-section{
      padding:8px;
      margin-bottom:9vh;
    }
    .action-teaser-note{
      font-size:11px;
      line-height:1.35;
    }
    .action-teaser-safety-note{
      font-size:9px;
      line-height:1.25;
    }
    .dual{
      grid-template-columns:1fr 1fr;
      padding:6px;
      gap:3px;
    }
    .card .meta{
      padding:8px 10px;
      font-size:12px;
    }
    .labels{
      top:4px;
      left:4px;
      padding:2px 5px;
      font-size:10px;
    }
    .subsection-head{
      align-items:flex-start;
      flex-direction:column;
      gap:10px;
    }
    .abstract-block{
      padding:22px 20px;
    }
    .overview-block{
      padding:22px 20px 24px;
    }
    .paper-figure-section{
      max-width:min(1080px, 92vw);
    }
    .paper-figure-grid{
      grid-template-columns:1fr;
      gap:22px;
    }
    .paper-figure-media{
      height:auto;
      display:block;
      margin-bottom:12px;
    }
    .paper-figure-image{
      width:100%;
      height:auto;
      border-radius:8px;
    }
    .paper-figure-caption{
      font-size:14px;
    }
    .citation-section{
      max-width:min(1080px, 92vw);
    }
    .citation-code{
      padding:18px 16px;
      border-radius:14px;
      font-size:12px;
    }
  }


@media (max-width:360px){
  .project-nav{
    gap:10px;
    padding:14px 12px;
  }
  .project-nav-links{
    gap:9px;
    font-size:11px;
  }
}

/* Publication authors */
.paper-authors{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 24px;
  max-width:760px;
  margin:0 auto 8px;
  padding:0 20px;
  list-style:none;
  text-align:center;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:clamp(16px,1.45vw,19px);
  font-weight:550;
  line-height:1.5;
}
.paper-authors li{white-space:nowrap}
.paper-authors a{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:rgba(68,51,119,.4);
  text-underline-offset:4px;
  transition:color .16s ease,text-decoration-color .16s ease;
}
.paper-authors a:hover,
.paper-authors a:focus-visible{
  color:#443377;
  text-decoration-color:currentColor;
}
