@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #f1f3f7;
  --band: #e9ecf2;    /* the overview band and the footer, slightly darker than the page */
  --card: #ffffff;
  --ink: #0e1626;
  --ink-2: #2c3648;
  --muted: #5d6779;
  --line: #e3e7ee;
  --accent: #2f6bff;
  --accent-2: #7a5cff;
  --accent-soft: #e9efff;
  --robot: #ef4444;
  --ok: #16a34a;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(14, 22, 38, .05), 0 14px 28px -16px rgba(14, 22, 38, .16), 0 48px 96px -48px rgba(14, 22, 38, .42);
  --shadow-lift: 0 1px 2px rgba(14, 22, 38, .05), 0 20px 36px -18px rgba(14, 22, 38, .22), 0 64px 120px -48px rgba(14, 22, 38, .5);
  --wide: 1160px;
  --text: 720px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 50% -140px, #dfe8ff 0%, rgba(223, 232, 255, 0) 70%),
    radial-gradient(700px 420px at 92% 18%, rgba(122, 92, 255, .08) 0%, rgba(122, 92, 255, 0) 70%),
    var(--bg);
  background-repeat: no-repeat;
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(47, 107, 255, .45); outline-offset: 3px; border-radius: 8px; }

.wide { width: min(var(--wide), calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(var(--text), calc(100% - 32px)); margin: 0 auto; }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: rgba(241, 243, 247, .72);
  border-bottom: 1px solid rgba(14, 22, 38, .06);
}
.bar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.lab { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; font-weight: 560; line-height: 1.2; }
.lab:hover { text-decoration: none; color: var(--ink); }
.lab img { width: 30px; height: 30px; }
.bar nav { display: flex; gap: 6px; align-items: center; }
.bar nav a.link { color: var(--muted); font-size: 14px; font-weight: 520; padding: 8px 10px; border-radius: 10px; }
.bar nav a.link:hover { color: var(--ink); background: rgba(14, 22, 38, .05); text-decoration: none; }
@media (max-width: 720px) { .bar nav a.link { display: none; } .lab span { max-width: 170px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 600; line-height: 1;
  color: var(--ink); background: var(--card);
  box-shadow: 0 1px 2px rgba(14, 22, 38, .06), 0 6px 16px -8px rgba(14, 22, 38, .25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 1px 2px rgba(14, 22, 38, .06), 0 12px 24px -10px rgba(14, 22, 38, .3); }
.btn svg { width: 18px; height: 18px; }
.btn.primary { color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.btn.small { padding: 8px 14px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 72px 0 36px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  background: var(--accent-soft); padding: 6px 12px; border-radius: 999px;
}
/* one line of title, as on a paper: the name in bold, the rest lighter */
.hero h1 {
  max-width: 980px; margin: 22px auto 14px; text-wrap: balance;
  font-size: clamp(30px, 4.2vw, 50px); line-height: 1.15; letter-spacing: -.03em; font-weight: 560; color: var(--ink-2);
}
.hero h1 .name { font-weight: 780; color: var(--ink); }
.hero h1 .act {
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.authors { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 28px; margin: 24px 0 0; font-size: 18px; font-weight: 600; color: var(--ink); }
.byline { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.byline a { color: var(--ink-2); }

/* intro animation of the header */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero .authors, .hero .byline {
    animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
  }
  .hero .authors { animation-delay: .1s; }
  .hero .byline { animation-delay: .16s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- floating media cards ---------- */
.float {
  position: relative; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; isolation: isolate;
  outline: 1px solid rgba(14, 22, 38, .04);
}
.float video, .float > img { width: 100%; height: auto; background: #fff; }

.teaser { margin-top: 40px; }
.teaser .float { aspect-ratio: 16 / 9; }
.teaser video { width: 100%; height: 100%; object-fit: cover; }
.chapters { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 18px 0 0; padding: 0; list-style: none; }
.chapters button {
  position: relative; overflow: hidden;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--muted);
  border: 0; cursor: pointer; padding: 8px 14px 9px; border-radius: 999px; background: rgba(14, 22, 38, .05);
  transition: color .25s, background .25s;
}
.chapters button .n { color: var(--accent); margin-right: 6px; opacity: .7; }
.chapters button.on { color: var(--ink); background: var(--card); box-shadow: 0 6px 16px -8px rgba(14, 22, 38, .3); }
.chapters button .fill { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }

/* scroll-linked: media cards settle into place as they come into view (where supported) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .settle { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    @keyframes settle { from { transform: scale(.94) translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
  }
}

/* ---------- sections ---------- */
section { padding: 88px 0 0; }
.kicker { font-size: 13px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -.035em; font-weight: 740; margin: 0 0 14px; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); margin: 0; }
.explain { margin: 6px 0 0; font-size: 17px; line-height: 1.7; color: var(--ink-2); text-align: justify; hyphens: manual; }
@media (max-width: 640px) { .explain { font-size: 16px; text-align: left; } }
.center { text-align: center; }
.head { margin-bottom: 34px; }
.note { font-size: 14px; color: var(--muted); }

/* abstract */
.abstract { padding-top: 64px; }
.abstract + section { padding-top: 72px; }
/* the overview (abstract and method) on a slightly darker band, the examples below on the page's grey */
.band { margin-top: 64px; padding: 0 0 80px; background: var(--band);
  border-top: 1px solid rgba(14, 22, 38, .05); border-bottom: 1px solid rgba(14, 22, 38, .05); }
.band > .abstract { padding-top: 64px; }
h2.small { font-size: 22px; letter-spacing: -.01em; margin: 0 0 10px; text-align: center; }
/* justified, but without automatic hyphenation (user, 2026-10-14); ragged on phones, where justified lines gape */
.abstract .narrow p { margin: 0; font-size: 17.5px; line-height: 1.7; color: var(--ink-2); text-align: justify; hyphens: manual; }
@media (max-width: 640px) { .abstract .narrow p { font-size: 16.5px; text-align: left; } }

/* ---------- the 3D room ---------- */
.room { position: relative; height: min(68vh, 640px); min-height: 420px;
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #eef2f8 100%); }
.room canvas { width: 100% !important; height: 100% !important; cursor: grab; touch-action: none; }
.room canvas:active { cursor: grabbing; }
.room .ui { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; justify-content: space-between; gap: 12px; pointer-events: none; }
.room .ui > * { pointer-events: auto; }
.seg { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(14, 22, 38, .07); backdrop-filter: blur(6px); }
.seg button { position: relative; z-index: 1; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); border: 0; background: none; padding: 8px 16px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: color .25s; }
@media (max-width: 480px) { .seg button { font-size: 13.5px; padding: 8px 11px; } }
.seg button[aria-pressed="true"] { color: var(--ink); }
.seg button.later { color: #a7afbd; font-weight: 500; cursor: not-allowed; }
.seg .pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; border-radius: 999px; background: #fff; box-shadow: 0 4px 12px -6px rgba(14, 22, 38, .35); transition: transform .35s cubic-bezier(.2, .7, .2, 1), width .35s; }
.hint { font-size: 13px; color: var(--muted); background: rgba(255, 255, 255, .8); padding: 7px 12px; border-radius: 999px; align-self: center; }
.room .tags { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tag {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -100%);
  font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; color: #fff;
  padding: 5px 8px 5px 7px; border-radius: 7px; background: rgba(14, 22, 38, .82);
  border-left: 3px solid var(--c, #fff); pointer-events: auto; cursor: pointer;
  transition: opacity .25s;
}
.tag.sel { background: #fff; color: var(--ink); box-shadow: 0 8px 20px -8px rgba(14, 22, 38, .5); }
.info {
  position: absolute; left: 16px; bottom: 16px; max-width: min(360px, calc(100% - 32px));
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-radius: var(--radius-sm);
  box-shadow: 0 16px 40px -16px rgba(14, 22, 38, .45); padding: 14px 16px; font-size: 14px; line-height: 1.5;
  transition: opacity .25s, transform .25s;
}
.info[hidden] { display: block; opacity: 0; transform: translateY(8px); pointer-events: none; }
.info h3 { margin: 0 0 4px; font-size: 16px; display: flex; align-items: center; gap: 8px; text-transform: capitalize; }
.info h3 i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.info p { margin: 0; color: var(--ink-2); }
.room .loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: 15px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 18px; font-size: 14px; color: var(--muted); }
.facts b { color: var(--ink); font-weight: 650; }

/* the labelling pipeline: numbered points on one line, coloured by the tool each step uses */
.pipeline { --qwen: #7a5cff; --yoloe: #2f6bff; --data: #8a94a6;
  margin-top: 30px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 28px 22px; }
.pipeline h3 { margin: 0 0 22px; font-size: 17px; letter-spacing: -.01em; }
.pipeline ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: step; }
.pipeline li { counter-increment: step; position: relative; padding-right: 18px; --c: var(--data); }
.pipeline li.qwen { --c: var(--qwen); }
.pipeline li.yoloe { --c: var(--yoloe); }
.pipeline li::before { content: counter(step); position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--c); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 0 0 5px var(--card); }
.pipeline li:not(:last-child)::after { content: ""; position: absolute; top: 15px; left: 32px; right: 0; height: 2px; background: var(--line); }
.pipeline li b { display: block; margin-top: 14px; font-size: 15.5px; font-weight: 650; }
.pipeline li span { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 650; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, white); padding: 2px 8px; border-radius: 6px; }
.pipeline li p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.pipeline .legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 22px; padding-top: 16px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pipeline .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; background: var(--data); }
.pipeline .legend i.qwen { background: var(--qwen); }
.pipeline .legend i.yoloe { background: var(--yoloe); }
.pipeline .legend .time { margin-left: auto; }
/* narrow screens: the same points, top to bottom */
@media (max-width: 900px) {
  .pipeline { padding: 22px 18px 18px; }
  .pipeline ol { grid-template-columns: 1fr; gap: 18px; }
  .pipeline li { padding: 0 0 0 48px; min-height: 32px; }
  .pipeline li::before { position: absolute; left: 0; top: 0; }
  .pipeline li:not(:last-child)::after { top: 32px; bottom: -18px; left: 15px; right: auto; width: 2px; height: auto; }
  .pipeline li b { margin-top: 5px; display: inline; margin-right: 8px; }
  .pipeline li p { margin-top: 4px; }
  .pipeline .legend .time { margin-left: 0; }
}

/* ---------- demos ---------- */
.tabs { display: flex; justify-content: center; margin-bottom: 26px; }
/* a demo: the video, its conversation beside it, the explanation below */
.demo { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 20px 22px; align-items: start; }
.demo[hidden] { display: none; }
.demo > .float { grid-column: 1; }
/* the chat window takes the video's height and scrolls inside (the row's height comes from the video) */
.demo > .chatbox { grid-column: 2; grid-row: 1; align-self: stretch; position: relative; min-height: 260px; }
.chatbox .chat { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: thin; padding: 12px 12px 10px;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); outline: 1px solid rgba(14, 22, 38, .04); }
.demo > .outcome { grid-column: 1 / -1; }
.chat { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; line-height: 1.4; }
.chat .msg { margin: 0; padding: 7px 11px 8px; border-radius: 13px; max-width: 92%; }
.chat .msg .who { display: block; margin-bottom: 1px; font-size: 10.5px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.chat .user { align-self: flex-end; background: var(--accent-soft); border-bottom-right-radius: 4px; color: var(--ink); }
.chat .user .who { color: var(--accent); }
.chat .robot { align-self: flex-start; background: #f1f3f7; border-bottom-left-radius: 4px; color: var(--ink-2); }
.chat .robot .who { color: var(--ok); }
.chat .act { margin: 0; display: flex; flex-wrap: wrap; gap: 4px; padding-left: 4px; }
.chat .act code { font: 600 11.5px/1 ui-monospace, "Cascadia Mono", Menlo, monospace; color: var(--muted);
  background: rgba(14, 22, 38, .05); padding: 4px 6px; border-radius: 5px; }
.chat .earlier { display: flex; flex-direction: column; gap: 6px; opacity: .62; font-size: 13px; }
.chat-head { margin: 0; font-size: 11px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chat-head.now { margin-top: 6px; color: var(--accent); }
.chat-src { margin: 16px 0 0; }
/* the chat replays with its video (on wide screens; on narrow ones all of it shows, so the page does not jump) */
@media (min-width: 901px) {
  .chat [data-t]:not(.shown) { display: none; }
  .chat .shown { animation: chatin .35s ease both; }
}
@keyframes chatin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.vclock { position: absolute; left: 14px; top: 14px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, .88); padding: 5px 10px; border-radius: 8px;
  box-shadow: 0 2px 8px -4px rgba(14, 22, 38, .3); pointer-events: none; }
.vclock em { font-style: normal; color: var(--accent); }
@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; }
  .demo > .float, .demo > .chatbox { grid-column: 1; }
  .demo > .chatbox { grid-row: auto; min-height: 0; }
  .chatbox .chat { position: static; overflow: visible; }
}
.outcome { margin: 0 auto; max-width: 760px; font-size: 15px; line-height: 1.65; color: var(--ink-2); text-align: justify; hyphens: manual; }
.outcome code { font: 600 13px/1 ui-monospace, "Cascadia Mono", Menlo, monospace; color: var(--accent); background: var(--accent-soft); padding: 2px 6px; border-radius: 5px; white-space: nowrap; }
@media (max-width: 640px) { .outcome { text-align: left; } }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: transform .3s, box-shadow .3s; }
a.step:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.step .txt { flex: 1; display: flex; flex-direction: column; }
.step p.more { margin-top: auto; padding-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.step .pic { aspect-ratio: 4 / 3; background: #f6f8fc; display: grid; place-items: center; overflow: hidden; }
.step .pic img { width: 100%; height: 100%; object-fit: cover; }
.step .pic svg.runmap { width: 92%; height: 92%; }
.step .txt { padding: 16px 18px 20px; }
.step h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -.01em; display: flex; gap: 10px; align-items: baseline; }
.step h3 span { font-size: 13px; color: var(--accent); font-weight: 700; }
.step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.step .pic.tools { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 12px; align-content: center; }
.tools span { font: 600 11.5px/1 ui-monospace, "Cascadia Mono", Menlo, monospace; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 6px 8px; border-radius: 8px; }
.tools span.hot { color: #fff; background: var(--accent); border-color: var(--accent); }
/* a step that is not there yet: muted, dashed, full width under the tiles */
.step-next { display: flex; align-items: baseline; gap: 6px 28px; margin-top: 18px; padding: 18px 22px; border-radius: var(--radius);
  border: 1.5px dashed #c6cedb; background: rgba(255, 255, 255, .45); }
.step-next h3 { flex: none; margin: 0; font-size: 18px; letter-spacing: -.01em; display: flex; gap: 10px; align-items: baseline; color: var(--ink-2); }
.step-next h3 span { font-size: 13px; color: var(--muted); font-weight: 700; }
.step-next h3 em { font-style: normal; font-size: 12px; font-weight: 650; color: var(--muted); background: rgba(14, 22, 38, .06); padding: 3px 8px; border-radius: 6px; }
.step-next p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
@media (max-width: 760px) { .step-next { flex-direction: column; } }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- exploration runs: one room at a time ---------- */
.runview { --seen: #22c55e; --todo: #f59e0b; --gave: #8792a6;
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, 1fr); }
.runview .map { display: flex; flex-direction: column; height: 520px; padding: 18px 20px; background: #fbfcfe; border-right: 1px solid var(--line); }
.runview canvas { flex: 1; min-height: 0; width: 100%; }
.runview .map { position: relative; cursor: pointer; }
.runclock { position: absolute; left: 30px; bottom: 26px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, .88); padding: 5px 10px; border-radius: 8px;
  box-shadow: 0 2px 8px -4px rgba(14, 22, 38, .3); pointer-events: none; }
.runclock em { font-style: normal; color: var(--accent); }
.runview .side { padding: 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.runview h3 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.runview h3 small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.runview dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font-size: 15px; }
.runview dt { color: var(--muted); }
.runview dd { margin: 0; font-weight: 620; font-variant-numeric: tabular-nums; text-align: right; }
.runview .legend { list-style: none; margin: auto 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 13.5px; color: var(--ink-2); }
.runview .legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 9px; vertical-align: -1px; }
.runview .legend .seen { background: var(--seen); }
.runview .legend .todo { background: var(--todo); }
.runview .legend .gave { background: var(--gave); }
.runview .legend .path { height: 3px; vertical-align: 3px; border-radius: 2px; background: var(--accent); }
@media (max-width: 720px) {
  .runview { grid-template-columns: 1fr; }
  .runview .map { height: 360px; padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .runclock { left: 18px; bottom: 16px; font-size: 12px; }
}

.locfig { margin: 0; padding: 18px 22px; }
.locfig img { width: 100%; height: auto; }
#localization .note { margin: 14px 0 0; }

.robot-photo { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.robot-photo .float { border-radius: var(--radius); }
@media (max-width: 640px) { .robot-photo { grid-template-columns: 1fr; } .robot-photo .float { max-width: 260px; margin: 0 auto; } }

/* ---------- footer ---------- */
footer { margin-top: 96px; padding: 34px 0 48px; border-top: 1px solid rgba(14, 22, 38, .05); font-size: 14px; color: var(--muted); background: var(--band); }
footer .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; } }
footer p { margin: 0 0 6px; }
footer a { color: var(--ink-2); font-weight: 550; }

/* ---------- reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
  .js .reveal.in { opacity: 1; transform: none; }
}
