/* Palette shared with InterEvolve: dark hero (ivory + gold) fading into a white page.
   --accent is the text gold, --accent-fill the fill gold. No teal, blue or green. */
:root{
  --bg:#ffffff;--panel:#faf7f1;--ink:#17130e;--muted:#6f6455;--line:#e6ded0;
  --accent:#9a7322;--accent-fill:#d6a84a;
  --hero-ink:#f6f0e6;--hero-gold:#d6a84a;--hero-bg:#050505;
  --serif:Georgia,"Iowan Old Style","Times New Roman",serif;
  --sans:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:82px;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer}
img,video{display:block;max-width:100%}
h1,h2,h3,p,figure{margin:0}
[hidden]{display:none!important}
::selection{background:#4a3712;color:#f3d48c}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.hero :focus-visible,.site-header:not(.is-light) :focus-visible{outline-color:var(--hero-gold)}
.page-width{width:min(1500px,calc(100% - 104px));margin-inline:auto}
.skip-link{position:fixed;top:-100px;left:18px;z-index:200;padding:12px 18px;background:#fff;color:var(--ink)}
.skip-link:focus{top:12px}
.read-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent-fill);z-index:101}
/* Header: clear over the dark hero, black once scrolled, white over the page (.is-light, toggled in app.js) */
.site-header{position:fixed;inset:0 0 auto;z-index:90;height:78px;display:flex;align-items:center;gap:40px;padding-inline:max(52px,calc((100vw - 1500px)/2));color:var(--hero-ink);background:transparent;border-bottom:1px solid #ffffff45;transition:background .3s,color .3s,border-color .3s,box-shadow .3s}
.site-header.is-scrolled{background:#000000ed;border-color:#ffffff1f;box-shadow:0 8px 28px #0002;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.site-header.is-light{background:#ffffffeb;color:var(--ink);border-color:var(--line);box-shadow:0 8px 28px #2a1d0d12;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
/* Soft shade behind the clear header so its links stay legible over the bright mosaic video */
.site-header::before{content:"";position:absolute;inset:0 0 -34px;z-index:-1;background:linear-gradient(180deg,#000000a6 0%,#00000073 55%,#0000 100%);pointer-events:none;transition:opacity .3s}
.site-header.is-scrolled::before,.site-header.is-light::before{opacity:0}
.brand{flex:0 0 auto;font-size:20px;font-weight:740;letter-spacing:-.8px;white-space:nowrap}
.brand span{font-weight:400}
.brand i{display:inline-block;width:6px;height:6px;margin-left:4px;border-radius:50%;background:var(--accent-fill);vertical-align:super}
.header-nav{display:flex;gap:27px;margin-left:auto;min-width:0}
.header-nav a{flex:0 0 auto;padding:10px 0;font-size:12px;font-weight:650;white-space:nowrap;color:#f6f0e6c9;transition:color .2s}
.site-header.is-scrolled .header-nav a{color:#f6f0e6b3}
.site-header.is-light .header-nav a{color:var(--muted)}
.header-nav a:hover,.header-nav a[aria-current="true"]{color:var(--hero-gold)}
.site-header.is-light .header-nav a:hover,.site-header.is-light .header-nav a[aria-current="true"]{color:var(--accent)}
.hero{height:145svh;background:var(--hero-bg)}
.hero-stage{position:sticky;top:0;height:100svh;min-height:600px;overflow:hidden;background:var(--hero-bg);color:var(--hero-ink)}
.hero-image,.hero-scrim{position:absolute;inset:0;width:100%;height:100%}
.hero-image{object-fit:cover;object-position:center 50%;will-change:transform}
.hero-scrim{background:linear-gradient(90deg,#000c 0%,#0009 46%,#0002 100%),linear-gradient(0deg,#000b 0%,transparent 64%,#0006 100%)}
.hero-content{position:absolute;left:0;right:0;bottom:12.5%;z-index:2;will-change:transform,opacity}
.hero-kicker{font-size:12px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--hero-gold)}
.hero h1{font-size:clamp(68px,10.5vw,166px);line-height:.9;letter-spacing:-.073em;font-weight:720;margin:18px 0 21px}
.hero h1 span{font-weight:390}
.hero-subtitle{font-family:var(--serif);font-size:clamp(20px,2.25vw,35px);line-height:1.22;letter-spacing:-.025em;max-width:830px}
.hero-actions{display:flex;gap:27px;align-items:center;margin-top:32px}
.hero-logos{display:flex;align-items:center;gap:30px;margin-top:20px}
.hero-logos img{display:block;height:30px;width:auto}
.hero-logos img[src*="nvidia"]{height:22px}
.pill{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;border-radius:100px;padding:14px 20px 14px 23px;font-size:13px;font-weight:700;transition:transform .22s,background .22s,color .22s}
.pill:hover{transform:translateY(-3px)}
.pill.light{background:#f7f1e6;color:#24190e}
.pill.light:hover{background:var(--hero-gold)}
.hero-bottom{position:absolute;bottom:28px;left:0;right:0;z-index:2;display:flex;justify-content:flex-end;color:#f6f0e6cc;font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.hero-bottom b{font-size:19px;vertical-align:middle;margin-left:11px;font-weight:400}
.hero-category{position:absolute;right:max(52px,calc((100vw - 1500px)/2));bottom:17%;z-index:3;display:grid;justify-items:end;gap:7px;text-align:right;text-shadow:0 2px 18px #000b;pointer-events:none}
.hero-category-index{font-size:10px;font-weight:800;letter-spacing:.18em;color:var(--hero-gold)}
.hero-category-name{font:400 clamp(22px,2.5vw,35px)/1.05 var(--serif);letter-spacing:-.035em}
.hero-category-bars{display:flex;gap:6px;margin-top:7px}
.hero-category-bars i{display:block;width:25px;height:2px;background:#f6f0e688;transition:background .3s,transform .3s}
.hero-category-bars i.is-current{background:var(--hero-gold);transform:scaleY(2)}
.hero-category.is-changing .hero-category-name{animation:hero-category-in .55s cubic-bezier(.2,.7,.1,1) both}
@keyframes hero-category-in{from{opacity:0;transform:translateY(11px)}to{opacity:1;transform:none}}
/* Transition from the dark hero to the white page (same band as InterEvolve, starting at the hero black).
   ::before darkens the last strip of the sticky hero as it scrolls out, so the bright mosaic video
   meets the band without a grey-to-black step; the hero's first view is unchanged. */
.hero-fade{position:relative;height:clamp(140px,22vh,260px);margin-bottom:-1px;background:linear-gradient(180deg,#050505 0%,#080706 10%,#1d1a16 24%,#4a4540 40%,#8d8780 56%,#c9c5bf 72%,#efedea 88%,#fff 100%)}
.hero-fade::before{content:"";position:absolute;left:0;right:0;bottom:100%;z-index:1;height:clamp(90px,17vh,160px);background:linear-gradient(180deg,#05050500 0%,#0505051f 25%,#05050566 50%,#050505bf 75%,#050505 100%);pointer-events:none}
.overline{font-size:11px;line-height:1.3;letter-spacing:.18em;text-transform:uppercase;font-weight:750;color:var(--accent)}
.thesis{padding-top:88px;padding-bottom:80px;display:grid;grid-template-columns:1.35fr 2fr;column-gap:60px;align-items:start}
.thesis .overline{padding-top:14px}
/* The paper teaser's robot crowd, blended into the left of the section behind the text. */
.thesis{position:relative;isolation:isolate;overflow:hidden}
.thesis-art{position:absolute;z-index:-1;left:0;top:50%;width:min(58%,820px);height:auto;transform:translateY(-50%);opacity:.42;pointer-events:none;user-select:none;-webkit-mask-image:radial-gradient(ellipse 66% 78% at 44% 50%,#000 46%,transparent 98%);mask-image:radial-gradient(ellipse 66% 78% at 44% 50%,#000 46%,transparent 98%)}
.thesis h2{font:400 clamp(36px,3.85vw,64px)/1.06 var(--serif);letter-spacing:-.055em;max-width:none}
.thesis h2 .line{display:block;white-space:nowrap}
.thesis h2 em,.chapter h2 em{color:var(--accent);font-weight:400}
.thesis>p strong{color:var(--ink);font-weight:600}
.thesis>p:not(.overline){grid-column:2;font-size:min(18px,1.18vw);line-height:1.55;color:var(--muted);max-width:none;white-space:nowrap;margin-top:28px}
@media(max-width:1200px){.thesis>p:not(.overline){font-size:16px;white-space:normal;max-width:620px}}
/* Chapters share the white page; the dividing rule runs at page width, as on InterEvolve */
.chapter{scroll-margin-top:65px;background:var(--bg)}
.chapter>.page-width{padding:72px 0 80px;border-top:1px solid var(--line)}
.chapter-retarget>.page-width{padding-bottom:60px}
.chapter-head{margin-bottom:34px}
.chapter-head .overline{margin-bottom:18px}
.chapter h2{font:400 clamp(44px,4.7vw,68px)/1.02 var(--serif);letter-spacing:-.055em}
.subsection-head{display:grid;grid-template-columns:50px minmax(0,1fr);gap:18px;align-items:baseline;border-top:1px solid var(--line);padding:14px 0 18px;margin-top:52px;scroll-margin-top:90px}
.chapter-head + .subsection-head{margin-top:0}
.subsection-head span:first-child{font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--accent)}
.subsection-head h3{font:400 clamp(28px,3vw,42px)/1.1 var(--serif);letter-spacing:-.035em}
.real-group-title{margin:0 0 19px;color:var(--accent);font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.real-demo-group-secondary{margin-top:47px;padding-top:20px;border-top:1px solid var(--line)}
.media-grid{display:grid;gap:20px}
.comparison-collection{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:54px 26px}
.comparison-slide{padding-top:0}
.comparison-slide .text-button{margin-top:17px}
.comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.embodiment-row{grid-template-columns:repeat(4,minmax(0,1fr))}
.execution-collection .interaction-group:first-child{margin-top:0}
.interaction-group{margin-top:42px;border-top:1px solid var(--line);padding-top:18px}
.execution-row-pair{grid-template-columns:repeat(4,minmax(0,1fr))}
.object-grid{grid-template-columns:repeat(5,minmax(0,1fr));row-gap:22px}
.real-featured{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
/* Desktop deploy galleries (four per row, partial last rows centred) are set in the behaviour block at the end. */
.media-card{min-width:0}
/* Video tiles: hairline frame on the white page; emphasis (ours, hover) is black, never gold */
.media-visual{position:relative;background:#fff;border:1px solid var(--line);overflow:hidden;aspect-ratio:16/9;transition:transform .28s cubic-bezier(.2,.7,.1,1),border-color .28s,box-shadow .28s}
.media-visual video{width:100%;height:100%;object-fit:contain;background:#fff}
.media-visual video{cursor:pointer}
.media-visual video:focus-visible{outline:2px solid var(--accent-fill);outline-offset:-2px}
/* Shown only on clips the visitor paused (there are no native controls). */
.media-card.is-paused .media-visual::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;margin:-22px 0 0 -22px;border-radius:50%;background:rgba(23,19,14,.62);pointer-events:none;z-index:3}
.media-card.is-paused .media-visual::before{content:"";position:absolute;left:50%;top:50%;margin:-8px 0 0 -4px;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #fff;pointer-events:none;z-index:4}
.media-card.is-real .media-visual{background:#000;border-color:#000}
.media-card.is-real video{object-fit:cover;background:#000}
.media-card.is-evolving .media-visual,.media-card.is-evolving video{background:#fff}
.media-visual .badge{position:absolute;z-index:2;top:12px;left:12px;background:#17130ebf;color:var(--hero-ink);padding:7px 10px;border:1px solid #f6f0e666;font-size:9px;text-transform:uppercase;letter-spacing:.1em;font-weight:800;pointer-events:none}
.media-card .caption{display:flex;justify-content:space-between;gap:12px;align-items:baseline;padding-top:12px}
.media-card .caption strong{font-size:14px;line-height:1.35;font-weight:700}
.media-card .caption span{font-size:11px;line-height:1.4;color:var(--muted);text-align:right}
.embodiment-row .caption span{display:none}
.media-card.is-ours .media-visual{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}
.media-card.is-ours .caption strong{color:var(--accent)}
@media (hover:hover){
  .media-card:hover .media-visual{border-color:var(--ink)}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  .media-card:hover .media-visual{transform:translateY(-4px);box-shadow:0 14px 30px #17130e2e}
  .media-card.is-ours:hover .media-visual{box-shadow:0 0 0 1px var(--ink),0 14px 30px #17130e2e}
}
.text-button{border:0;border-bottom:1px solid var(--accent);background:transparent;color:var(--accent);margin:24px 0 0;padding:0 0 5px;font-size:11px;font-weight:700;transition:color .2s,border-color .2s}
.text-button:hover{color:var(--ink);border-color:var(--ink)}
.text-button:disabled{opacity:.55;cursor:default}
details{color:var(--muted);font-size:12px;line-height:1.5}
summary{cursor:pointer;color:var(--accent);font-weight:700}
summary::marker{color:var(--accent)}
summary:hover{color:var(--ink)}
.pill.dark{background:var(--ink);color:var(--hero-ink)}
.pill.dark:hover{background:var(--accent-fill);color:var(--ink)}
.site-footer{min-height:125px;display:flex;align-items:center;justify-content:flex-start;gap:30px;border-top:1px solid var(--line);font-size:11px;color:var(--muted)}
.site-footer>a{font-weight:700;transition:color .2s}
.site-footer>a:hover{color:var(--accent)}
.playback-toggle{position:fixed;right:24px;bottom:22px;z-index:95;border:1px solid #83705e;border-radius:30px;background:#2d2014e9;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:10px 16px;color:#fff;font-size:11px;font-weight:700;box-shadow:0 5px 23px #17130e26;transition:background .2s,color .2s,border-color .2s}
.playback-toggle:hover{background:var(--accent-fill);border-color:var(--accent-fill);color:var(--ink)}
.media-error{position:absolute;inset:auto 10px 10px;color:#fff;background:#21180fef;padding:9px;font-size:11px}
.media-error a{text-decoration:underline}
.motion-ready .reveal{opacity:0;transform:translateY(32px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.1,1)}
.motion-ready .reveal.is-visible{opacity:1;transform:none}
@media(max-width:1100px){
  .page-width{width:calc(100% - 64px)}
  .site-header{padding-inline:32px;gap:25px}
  .chapter h2{font-size:clamp(42px,5vw,60px)}
}
@media(max-width:760px){
  html{scroll-padding-top:65px}
  .page-width{width:calc(100% - 36px)}
  .site-header{height:62px;padding-inline:18px;gap:18px}
  .brand{font-size:18px}
  /* Phones: compact links; if a very narrow screen still runs out of room, the nav scrolls sideways inside the header */
  .header-nav{gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;padding:4px 3px;margin:-4px -3px -4px auto}
  .header-nav::-webkit-scrollbar{display:none}
  .header-nav a{padding:12px 0;font-size:11.5px}
  .hero{height:125svh}
  .hero-stage{min-height:500px}
  .hero-image{object-position:center center}
  .hero-scrim{background:linear-gradient(0deg,#000f 0%,#000b 55%,#0008 100%)}
  .hero-category{top:82px;right:18px;bottom:auto;gap:4px}
  .hero-category-name{font-size:22px}
  .hero-category-bars{margin-top:5px}
  .hero-content{bottom:14%}
  .hero h1{font-size:clamp(53px,12vw,91px);margin:16px 0}
  .hero-subtitle{font-size:clamp(19px,5.1vw,28px)}
  .hero-subtitle br{display:none}
  .hero-actions{margin-top:25px;gap:17px}
  .hero-logos{gap:22px;margin-top:16px}
  .hero-logos img{height:25px}
  .hero-logos img[src*="nvidia"]{height:18px}
  .hero-bottom{bottom:19px;font-size:9px}
  .thesis{padding:70px 0 72px;display:block}
  .thesis-art{top:40px;left:-4%;width:108%;transform:none;opacity:.32;-webkit-mask-image:radial-gradient(ellipse 58% 70% at 50% 45%,#000 40%,transparent 100%);mask-image:radial-gradient(ellipse 58% 70% at 50% 45%,#000 40%,transparent 100%)}
  .thesis h2{font-size:clamp(46px,8.5vw,65px);margin-top:18px}
  .thesis h2 .line{display:inline;white-space:normal}
  .thesis>p:not(.overline){font-size:16px;margin-top:20px}
  .chapter>.page-width{padding:58px 0 64px}
  .chapter-retarget>.page-width{padding-bottom:48px}
  .chapter-head{display:block;margin-bottom:32px}
  .chapter-head .overline{margin-bottom:17px}
  .chapter h2{font-size:clamp(40px,9vw,58px)}
  .subsection-head{grid-template-columns:42px minmax(0,1fr);gap:10px 12px;margin-top:42px;padding-bottom:14px}
  .subsection-head h3{font-size:clamp(29px,7vw,38px)}
  .comparison-collection{grid-template-columns:1fr;gap:42px}
  .comparison,.embodiment-row,.execution-row-pair,.object-grid,.real-featured{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 13px}
  #g1-inspire-featured .media-card:last-child:nth-child(3n+1){grid-column:auto}
  #g1-inspire-featured{grid-template-columns:repeat(2,minmax(0,1fr))}
  #g1-inspire-featured .media-card,
  #g1-inspire-featured .media-card:last-child:nth-child(3n+1),
  #g1-inspire-featured .media-card:nth-last-child(2):nth-child(3n+1),
  #g1-inspire-featured .media-card:last-child:nth-child(3n+2){grid-column:auto}
  #g1-inspire-featured .media-card:last-child:nth-child(2n+1){grid-column:1/-1;justify-self:center;width:calc((100% - 13px)/2)}
  #booster-featured .media-card:last-child:nth-child(3n+1),
  #vega-featured .media-card:last-child:nth-child(3n+1){grid-column:auto}
  #booster-featured .media-card:last-child:nth-child(2n+1),
  #vega-featured .media-card:last-child:nth-child(2n+1){grid-column:1/-1;justify-self:center;width:calc((100% - 13px)/2)}
  .interaction-group{margin-top:30px;padding-top:14px}
  .media-card .caption strong{font-size:13px}
  .media-card .caption span{display:none}
  .site-footer{padding:32px 0 85px;min-height:0;flex-wrap:wrap}
  .playback-toggle{right:12px;bottom:12px;padding:8px 13px}
}
@media(max-width:440px){
  .site-header{gap:10px;padding-inline:14px}
  .brand{font-size:15px}
  .header-nav{gap:9px}
  .header-nav a{font-size:10px}
  .hero h1{font-size:51px}
  .hero-actions{align-items:flex-start;flex-direction:column;gap:10px}
  .hero-bottom span:first-child{display:none}
  .comparison .media-card .caption{display:block}
  .comparison .media-card .caption span{display:block;text-align:left;margin-top:4px}
  .media-card .caption strong{font-size:14px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*:before,*:after{animation:none!important;transition:none!important}
  .motion-ready .reveal{opacity:1;transform:none}
}

/* Keep content readable even if the reveal observer is delayed by an anchor jump. */
.motion-ready .reveal{opacity:1;transform:none;transition:none}.motion-ready .reveal.is-visible{animation:rise-in .75s cubic-bezier(.2,.7,.1,1) both}@keyframes rise-in{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.motion-ready .reveal.is-visible{animation:none}}

/* 04: the round labels above the motion rows (the rows' layout is in the behaviour block at the end). */
.subsection-head.unnumbered{display:block}
.evolving-stage-legend{display:grid;margin:0 0 14px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}

html{scroll-behavior:auto}

.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;filter:brightness(.94) saturate(1.05);transition:opacity .8s ease}.hero-video.is-ready{opacity:1}.hero-scrim{z-index:1}.hero-image{z-index:0}.hero-video{z-index:0}

/* Authors and affiliation in the hero */
.hero-authors { margin-top: 22px; max-width: 980px; }
.author-list { display: flex; flex-wrap: wrap; gap: 4px 20px; color: var(--hero-ink); font-size: 15px; font-weight: 650; letter-spacing: -.005em; }
.author-list sup, .author-notes sup { color: var(--hero-gold); font-size: .72em; margin-left: 1px; }
.author-meta { margin-top: 9px; color: #f6f0e6c9; font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.author-meta .meta-item + .meta-item { margin-left: 18px; }
.author-notes { margin-left: 36px; white-space: nowrap; }
.author-notes > span + span { margin-left: 16px; }
@media (max-width: 680px) {
  .hero-authors { margin-top: 16px; }
  .author-list { gap: 2px 14px; font-size: 13px; }
  .author-meta { font-size: 11px; }
  .author-notes { display: block; margin: 4px 0 0; }
}
.author-meta sup { color: var(--hero-gold); font-size: .72em; margin-right: 1px; }
.author-list a { color: inherit; text-decoration: none; border-bottom: 1px solid #f6f0e655; transition: border-color .2s, color .2s; }
.author-list a:hover { color: var(--hero-gold); border-bottom-color: var(--hero-gold); }

/* === Behaviour features (SMPL-X overlay, synced groups) === */
/* Source motion (SMPL-X) leading the embodiment row: same card size, quietly marked as the source. */
@media(min-width:761px){#embodiment-gallery{grid-template-columns:repeat(5,minmax(0,1fr))}}
.media-card.is-source .media-visual{border-color:var(--ink,#17130e)}
.source-tag,.human-tag{position:absolute;z-index:2;top:10px;left:10px;padding:5px 8px;background:#fffffff2;color:var(--accent,#9a7322);border:1px solid var(--line,#e6ded0);font-size:9px;font-weight:800;line-height:1;letter-spacing:.12em;text-transform:uppercase;pointer-events:none}
/* Source-motion overlay on the retargeted clips, revealed on hover, keyboard focus, or the touch toggle. */
.human-layer{position:absolute;inset:0;z-index:1;opacity:0;pointer-events:none;transition:opacity .16s ease}
.media-card.is-human .human-layer{opacity:1}
.media-visual .human-layer .human-video{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#fff}
.human-toggle{display:none;position:absolute;z-index:3;top:6px;right:6px;min-height:30px;align-items:center;padding:6px 10px;border:1px solid var(--line,#e6ded0);border-radius:40px;background:#ffffffe6;color:var(--ink,#17130e);font-size:10px;font-weight:750;line-height:1;letter-spacing:.03em}
.human-toggle[aria-pressed="true"]{background:var(--accent-fill,#d6a84a);border-color:var(--accent-fill,#d6a84a)}
.human-hint{margin:-6px 0 18px;color:var(--muted,#6f6455);font-size:12px;line-height:1.5}
.human-hint-touch{display:none}
@media(hover:none){
  .human-toggle{display:inline-flex}
  .human-tag{top:auto;bottom:8px;left:8px}
  .human-hint-hover{display:none}
  .human-hint-touch{display:inline}
}
/* Galleries that grew: center a partial last row. */
@media(min-width:761px){
  #object-gallery{grid-template-columns:repeat(10,minmax(0,1fr))}
  #object-gallery .media-card{grid-column:span 2}
  #object-gallery .media-card:nth-child(5n+1):nth-last-child(4){grid-column:2/span 2}
}
@media(max-width:760px){
  #embodiment-gallery .media-card.is-source{grid-column:1/-1;justify-self:center;width:calc((100% - 13px)/2)}
  #retarget-object-gallery .media-card:last-child:nth-child(2n+1):last-child:nth-child(2n+1){grid-column:1/-1;justify-self:center;width:calc((100% - 13px)/2)}
}
/* Shorter page: the 01 robots, the 03.2 rows and the 04 cases each show one item at a time and rotate on
   their own; the tabs (InterEvolve's task tabs) and the numbered case picks choose an item and show its progress. */
.task-tabs{display:flex;gap:8px;overflow-x:auto;padding-bottom:14px;margin-bottom:21px;scrollbar-width:thin}
.task-tab{flex:0 0 auto;color:var(--muted,#6f6455);background:transparent;border:1px solid var(--line,#e6ded0);border-radius:2px;padding:9px 13px;font-size:11px;font-weight:700;transition:color .2s,background .2s,border-color .2s}
.task-tab:hover{color:var(--ink,#17130e)}
.task-tab[aria-selected="true"]{background:var(--accent-fill,#d6a84a);border-color:var(--accent-fill,#d6a84a);color:var(--ink,#17130e)}
.execution-collection .interaction-group{margin-top:0;border-top:0;padding-top:0}
.interaction-pairs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.interaction-pairs .execution-pair{grid-template-columns:repeat(2,minmax(0,1fr))}
.pair-label{margin:0 0 10px;color:var(--accent,#9a7322);font-size:10px;font-weight:800;line-height:1.3;letter-spacing:.14em;text-transform:uppercase}
/* Rotation progress: a thin line under the active tab. */
.rotation-bar{position:relative;display:block;overflow:hidden;pointer-events:none}
.rotation-bar b{position:absolute;inset:0;background:var(--accent-fill,#d6a84a);transform:scaleX(0);transform-origin:left center}
.task-tab{position:relative}
.task-tab .rotation-bar{position:absolute;left:-1px;right:-1px;bottom:-7px;height:2px}
/* Only the item on screen takes up space. During a switch (.is-switching, height eased in app.js) the old
   item fades out on top of the new one, which fades in; Reduce Motion switches instantly. */
.rotation-panels{position:relative}
.rotation-panels.is-switching{overflow:hidden}
.rotation-panels>.is-leaving{position:absolute;top:0;left:0;right:0;pointer-events:none;animation:rotation-out .35s ease both}
.rotation-panels>.is-entering{animation:rotation-in .35s ease both}
@keyframes rotation-in{from{opacity:0}to{opacity:1}}
@keyframes rotation-out{from{opacity:1}to{opacity:0}}
/* 04 motion sets: four motions per tab, each a row of Raw and Rounds 1-5 as square tiles (on narrow screens
   each motion is 3 x 2, a little apart from the next); the clips are already cropped square around the action.
   These six-clip rows now only stand in where a motion's single video (below) cannot play. */
.evolving-set{display:grid;gap:12px}
.evolving-rounds-legend{grid-template-columns:repeat(6,minmax(0,1fr));gap:0 calc(100% * 2 / 2410)}
.evolving-rounds{grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.evolving-rounds .media-visual{aspect-ratio:1/1;background:#fff}
.evolving-rounds .media-visual video{object-fit:cover;background:#fff}
.evolving-rounds .media-card .caption{display:none}
/* Arrows from each round to the next. A chip sits on every tile boundary, centred on the gap and on the tile,
   overlapping both tiles slightly; it takes no space and lets clicks through. The label row gets a small arrow
   on the same boundaries. --round-gap mirrors the grid gap (the labels follow the strip's 2 px gutters). */
.evolving-rounds{--round-gap:12px}
.evolving-rounds-legend{--round-gap:1px}
.evolving-rounds .media-card{position:relative}
.round-arrow{position:absolute;z-index:3;top:50%;left:calc(100% + var(--round-gap) / 2);display:grid;place-items:center;width:22px;height:22px;margin:-11px 0 0 -11px;border:1px solid var(--line,#e6ded0);border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(23,19,14,.12);color:var(--accent,#9a7322);pointer-events:none}
.round-arrow svg{display:block;width:12px;height:12px}
.evolving-rounds-legend>span{position:relative}
.evolving-rounds-legend>span+span{padding-left:9px}
.legend-arrow{position:absolute;top:50%;left:calc(var(--round-gap) / -2);width:9px;height:9px;margin:-4.5px 0 0 -4.5px;color:var(--accent,#9a7322)}
.legend-arrow svg{display:block;width:9px;height:9px}
/* 04: each motion is one video of its six clips (app.js): on desktop a 6 x 1 strip under the round labels, which
   line up with its tiles (2 px gutters in 2410 px); on phones a 3 x 2 composite with the round tags laid over it.
   Arrows and tags sit at --x / --y: the middle of the gutter between two tiles, or a tile's top-left corner. The
   six separate clips show only where that video failed (.no-composite). */
.evolving-set>.evolving-rounds,.evolving-set>.evolving-row{display:none}
.evolving-set>.evolving-strip{display:block}
.evolving-set>.no-composite{display:none}
@media(min-width:761px){.evolving-set>.evolving-strip.no-composite+.evolving-rounds{display:grid}}
.evolving-strip .media-visual{aspect-ratio:2410/400;background:#fff}
.evolving-row .media-visual{aspect-ratio:964/642;background:#fff}
.evolving-strip .media-visual video,.evolving-row .media-visual video{object-fit:fill}
.evolving-strip .round-arrow,.evolving-row .round-arrow{left:var(--x);top:var(--y)}
.row-tag{position:absolute;z-index:2;left:calc(var(--x) + 5px);top:calc(var(--y) + 5px);padding:4px 6px;background:#fffffff0;border:1px solid var(--line,#e6ded0);pointer-events:none}
.row-tag strong{display:block;color:var(--accent,#9a7322);font-size:9px;font-weight:800;line-height:1;letter-spacing:.1em;text-transform:uppercase}
/* 04 pages: centred under the grid, one button per page of the current set ("Motions 1–2", "Motions 3–4"), styled
   like the tabs: the current one gold, with a line under it that runs for the page's time on screen. */
.evolving-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:22px}
.evolving-pager[hidden]{display:none}
.page-pick{position:relative;min-height:30px;padding:6px 14px;border:1px solid var(--line,#e6ded0);border-radius:2px;background:#fff;color:var(--muted,#6f6455);font-size:12px;font-weight:700;line-height:1.2;transition:color .2s,background .2s,border-color .2s}
.page-pick:hover{color:var(--ink,#17130e)}
.page-pick[aria-current="true"]{background:var(--accent-fill,#d6a84a);border-color:var(--accent-fill,#d6a84a);color:var(--ink,#17130e)}
.page-pick .rotation-bar{position:absolute;left:-1px;right:-1px;bottom:-7px;height:2px}
/* 01: four clips per row, a partial last row centred (8 columns, each clip spanning 2). */
@media(min-width:761px){
  .deploy-panels .real-featured{grid-template-columns:repeat(8,minmax(0,1fr))}
  .deploy-panels .real-featured .media-card{grid-column:span 2}
  .deploy-panels .real-featured .media-card:nth-child(4n+1):nth-last-child(3){grid-column:2/span 2}
  .deploy-panels .real-featured .media-card:nth-child(4n+1):nth-last-child(2){grid-column:3/span 2}
  .deploy-panels .real-featured .media-card:nth-child(4n+1):last-child{grid-column:4/span 2}
}
@media(max-width:760px){
  .task-tabs{flex-wrap:wrap;gap:10px 8px;overflow:visible;padding-bottom:0;margin-bottom:18px}
  .interaction-pairs{grid-template-columns:minmax(0,1fr);gap:22px}
  .interaction-pairs .execution-pair{gap:24px 13px}
  .evolving-rounds-legend{display:none}
  .evolving-pager{margin-top:18px}
  .page-pick{min-height:36px;padding:8px 16px}
  .evolving-set{gap:16px}
  .evolving-rounds{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;--round-gap:6px}
  /* Each motion wraps after Round 2; the round tags carry the order onto the second line. */
  .evolving-rounds .media-card:nth-child(3n) .round-arrow{display:none}
  .round-arrow{width:20px;height:20px;margin:-10px 0 0 -10px}
  .round-arrow svg{width:11px;height:11px}
  .evolving-rounds .media-card .caption{display:block;position:absolute;top:5px;left:5px;padding:4px 6px;background:#fffffff0;border:1px solid var(--line,#e6ded0);pointer-events:none}
  .evolving-rounds .media-card .caption strong{display:block;color:var(--accent,#9a7322);font-size:9px;font-weight:800;line-height:1;letter-spacing:.1em;text-transform:uppercase}
  .evolving-set>.evolving-strip{display:none}
  .evolving-set>.evolving-row{display:block}
  .evolving-set>.evolving-row.no-composite{display:none}
  .evolving-set>.evolving-row.no-composite+.evolving-strip+.evolving-rounds{display:grid}
}
/* Two-stage hero. Stage A (scroll 0): the bright teaser, with only the chapter widget and the scroll hint, each on
   a dark backing. Stage B (p = 1, after 85svh): the cover exactly as before. app.js writes --p (0..1) on .hero
   and #site-header; everything here derives from it. The stage stays sticky for 100svh of the 200svh hero. */
.hero{--p:0;height:215svh}
.hero-video{filter:brightness(calc(1 - .06 * var(--p))) saturate(calc(1 + .05 * var(--p)))}
.hero-scrim{opacity:var(--p)}
.hero-content{--in:clamp(0, (var(--p) - .35) / .65, 1);opacity:var(--in);transform:translateY(calc(24px * (1 - var(--in))))}
.hero-category::before,.hero-bottom span::before{content:"";position:absolute;z-index:-1;background:rgba(23,19,14,calc(.55 * (1 - var(--p))));pointer-events:none}
.hero-category::before{inset:-12px -16px -14px;border-radius:12px}
.hero-bottom span{position:relative}
.hero-bottom span::before{inset:-9px -15px;border-radius:999px}
.site-header{--p:1;opacity:clamp(0, (var(--p) - .6) / .4, 1)}
.site-header.is-hidden{visibility:hidden;pointer-events:none}
/* At p = 0 the filter is the identity: drop it, so the full-screen teaser is not drawn through a filter on stage A.
   (app.js stops writing --p while the hero stays at either end; .is-start / .is-end mark the ends.) */
.hero.is-start .hero-video{filter:none}
/* The scroll hint is the only span left in .hero-bottom; keep it on small phones too. */
@media(max-width:440px){.hero-bottom span:first-child{display:inline}}
@media(prefers-reduced-motion:reduce){
  .hero-video,.hero-scrim,.hero-content,.site-header,.hero-category::before,.hero-bottom span::before{transition:opacity .2s ease,filter .2s ease,background-color .2s ease!important}
  .hero-content{transform:none}
}
@media(max-width:380px){
  .site-header{gap:8px;padding-inline:12px}
  .brand{font-size:14px}
  .header-nav{gap:7px}
  .header-nav a{font-size:9.5px}
}
/* Phones: no backdrop blur over playing video (costly on mid-range Android); slightly more opaque instead. */
@media(max-width:760px){
  .site-header,.site-header.is-scrolled,.site-header.is-light,.playback-toggle{-webkit-backdrop-filter:none;backdrop-filter:none}
  .site-header.is-scrolled{background:#000000f2}
  .site-header.is-light{background:#fffffff7}
}
