@import url(../resources/fonts/gelasio.css);
@import url(../resources/fonts/google_sans.css);
@font-face { font-family: "Teaser Sans"; src: url(../resources/fonts/FreeSans.ttf); font-weight: 400; }
@font-face { font-family: "Teaser Sans"; src: url(../resources/fonts/FreeSansBold.ttf); font-weight: 700; }

/* palette of the supplementary video (supp_video/style.css) */
:root {
  --ink: #0f1b3d; --navy: #1e3a8a; --blue: #2b6cd4; --blue-2: #b7caf5; --blue-3: #d9e4fa; --blue-4: #eef3fd;
  --green: #1fa24a; --green-bg: #d9f2e1; --red: #e0392b; --red-bg: #fde3e0; --amber: #f2a100; --amber-bg: #fdecb0;
  --indigo: #5b5bd6; --gray: #64748b; --gray-2: #cbd5e1; --gray-3: #e2e8f0; --gray-4: #f1f5f9;
  --bg: #f6f8fc; --card-shadow: 0 1px 3px rgba(15, 27, 61, .06), 0 10px 30px rgba(15, 27, 61, .09);
  --serif: "Gelasio", Georgia, "Times New Roman", serif;
  --sans: "Google Sans", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.6;
  font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.hl { color: var(--blue); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- top navigation ---------- */
.topnav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 52px; display: flex; align-items: center;
  gap: 6px; padding: 0 20px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(30, 58, 138, .08); font-family: var(--sans);
  transform: translateY(-100%); transition: transform .35s ease; }
.topnav.show { transform: none; }
.topnav .brand { font-family: var(--serif); font-weight: 700; font-size: 20px; margin-right: auto; color: var(--ink); }
.topnav .brand span { color: var(--blue); }
.topnav a.crumb { font-size: 14px; font-weight: 500; color: #8a96b3; padding: 5px 12px; border-radius: 4px;
  background: rgba(30, 58, 138, .05); white-space: nowrap; }
.topnav a.crumb:hover { text-decoration: none; color: var(--navy); }
.topnav a.crumb.on { color: #fff; background: var(--navy); }
@media (max-width: 900px) { .topnav a.crumb { display: none; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; text-align: center;
  background: linear-gradient(180deg, #f3f6fd 0%, #fff 100%); }
.hero-curve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-curve { opacity: .55; }
.hero-curve circle { stroke: none; }
.hero-curve path { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hero .inner { position: relative; }
.title { margin: 0; font-size: clamp(54px, 10vw, 112px); line-height: 1; font-weight: 700; letter-spacing: -2px; }
.title .robo { color: var(--ink); }
.title .prog { color: var(--blue); }
.subtitle { margin: 14px auto 0; font-size: clamp(20px, 2.8vw, 30px); line-height: 1.3; color: var(--ink); max-width: 900px; }
.authors { margin: 30px auto 0; max-width: 900px; font-size: 20px; line-height: 1.7; }
.authors .a { white-space: nowrap; margin: 0 10px; }
.authors a { color: var(--ink); border-bottom: 1px solid var(--blue-2); }
.authors a:hover { text-decoration: none; color: var(--blue); }
.authors sup { color: var(--blue); font-family: var(--sans); font-size: 12px; margin-left: 1px; }
.affils { margin-top: 6px; font-size: 17px; color: #3b4766; }
.affils span { margin: 0 12px; }
.affils sup { color: var(--blue); font-family: var(--sans); font-size: 11px; }
.logos { display: flex; justify-content: center; align-items: center; gap: 44px; margin: 24px 0 0; flex-wrap: wrap; }
.logos img { height: 46px; width: auto; display: block; mix-blend-mode: multiply; }
.logos a { display: block; transition: opacity .15s; }
.logos a:hover { opacity: .75; }
.logos img.inria { height: 62px; margin: -8px -14px; }
.logos img.kyutai { height: 30px; }
.buttons { margin-top: 30px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; font-family: var(--sans); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; background: var(--ink);
  color: #fff; font-size: 16px; font-weight: 500; transition: transform .15s ease, background .15s ease; position: relative; }
.btn:hover { text-decoration: none; background: var(--navy); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn .hf { font-size: 17px; line-height: 1; margin-left: -4px; }
.btn.soon { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--gray-2); cursor: default; }
.btn.soon:hover { transform: none; }
.btn.soon::after { content: "coming soon"; position: absolute; top: -9px; right: -6px; font-size: 10px; font-weight: 700;
  letter-spacing: .3px; color: #fff; background: var(--amber); padding: 1px 7px; border-radius: 8px; }

/* ---------- sections ---------- */
section { padding: 64px 0; }
section.tint { background: var(--bg); }
.kicker { font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: #52607e; margin-bottom: 6px; }
h2 { margin: 0 0 18px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.18; letter-spacing: -.4px; }
h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.25; }
p.lead { font-size: 19px; color: #2a3656; max-width: 920px; }
.abstract p { text-align: justify; hyphens: auto; font-size: 18.5px; color: #1f2a48; }

/* ---------- teaser ---------- */
.teaser-section { padding-top: 34px; }
.teaser-wrap { position: relative; width: 100%; max-width: 1500px; margin: 0 auto; }
.teaser-wrap svg#fig { display: block; width: 100%; height: auto; font-family: "Teaser Sans", "Liberation Sans", sans-serif; }
.teaser-wrap svg#fig .panel-title, .teaser-wrap svg#fig .box-label { font-weight: 700; text-anchor: middle; }
.teaser-layer { position: absolute; inset: 0; pointer-events: none; }
.teaser-layer svg { position: absolute; inset: 0; width: 100%; height: 100%; font-family: "Teaser Sans", "Liberation Sans", sans-serif; }
.tvid { position: absolute; overflow: hidden; background: #0b1020; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.tvid video { width: 100%; height: 100%; object-fit: cover; display: block; }
.teaser-wrap .tbar { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); }
.teaser-wrap .tval { opacity: 0; }
.teaser-wrap.in .tbar { animation: tgrow .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d, 0s); }
.teaser-wrap.in .tval { animation: tfade .4s ease forwards; animation-delay: calc(var(--d, 0s) + .6s); }
/* arrows between the steps of the backbone block: a pulse running left to right */
.teaser-wrap .step-arrow { transform-box: fill-box; transform-origin: center; animation: stepflow 1.3s ease-in-out infinite; }
@keyframes stepflow {
  0% { transform: translateX(-4px); opacity: .25; }
  35% { transform: translateX(0); opacity: 1; }
  70% { transform: translateX(4px); opacity: .25; }
  100% { transform: translateX(4px); opacity: .25; }
}
@keyframes tgrow { to { transform: scaleY(1); } }
@keyframes tfade { to { opacity: 1; } }
.caption { font-size: 16px; line-height: 1.5; color: #3b4766; max-width: 1100px; margin: 18px auto 0; }
.caption b { color: var(--ink); }
.live-hint { font-family: var(--sans); font-size: 13px; color: var(--gray); text-align: center; margin-top: 8px; }
.live-hint .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red); margin-right: 6px;
  animation: blink 1.4s ease-in-out infinite; vertical-align: 1px; }
@keyframes blink { 50% { opacity: .25; } }
.teaser-scroll { overflow-x: auto; }
@media (max-width: 760px) { .teaser-scroll .teaser-wrap { min-width: 760px; } }

/* ---------- video ---------- */
.video-frame { position: relative; border-radius: 18px; overflow: hidden; box-shadow: var(--card-shadow); background: #000; }
.video-frame video { display: block; width: 100%; height: auto; }

/* ---------- scene decks (slides of the video, played in a loop) ---------- */
.deck { margin-top: 26px; }
.deck-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; font-family: var(--sans); }
.deck-tab { position: relative; overflow: hidden; border: 0; cursor: pointer; padding: 7px 16px; border-radius: 6px;
  font: 500 14.5px var(--sans); color: #52607e; background: rgba(30, 58, 138, .06); transition: background .2s, color .2s; }
.deck-tab:hover { color: var(--navy); background: rgba(30, 58, 138, .11); }
.deck-tab.on { color: #fff; background: var(--navy); }
.deck-tab .bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--blue-2); }
.deck-stage { position: relative; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--card-shadow);
  aspect-ratio: 1600 / 734; }
.deck-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .35s ease; }
.deck-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.25; margin: 0 0 4px; min-height: 1.25em; }
.deck-note { font-size: 16.5px; color: #3b4766; margin: 10px 2px 0; min-height: 3em; }
.deck-ctrl { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; z-index: 2; }
.deck-ctrl button { width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(15, 27, 61, .55);
  color: #fff; display: grid; place-items: center; }
.deck-ctrl button:hover { background: rgba(15, 27, 61, .8); }
.deck-ctrl svg { width: 16px; height: 16px; fill: #fff; }

/* ---------- contributions ---------- */
.contrib { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; margin: 22px 0 48px; }
.contrib .c { border-left: 2px solid var(--gray-2); padding: 2px 0 2px 20px; }
.contrib h3 { font-size: 22px; margin: 0; }
.contrib .kind { font: 400 15px var(--sans); color: var(--gray); margin-left: 6px; }
.contrib p { margin: 6px 0 0; font-size: 16.5px; color: #33405e; }
.contrib b { font-weight: 600; }
@media (max-width: 860px) { .contrib { grid-template-columns: 1fr; } }

/* ---------- RoboProgBench wall ---------- */
.wall-section { padding: 56px 0 30px; background: var(--bg); overflow: hidden; }
.wall { position: relative; width: 100%; overflow: hidden; }
.wall-row { position: relative; }
.wtile { position: absolute; top: 0; left: 0; border-radius: 12px; overflow: hidden; background: #0b1020; will-change: transform;
  box-shadow: 0 2px 4px rgba(15, 27, 61, .10), 0 10px 26px rgba(15, 27, 61, .16); }
.wtile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 3px solid var(--q, var(--green)); pointer-events: none; }
.wtile video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wtile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wtile .sim { position: absolute; left: 8px; bottom: 7px; font: 700 12.5px var(--sans); color: #fff; background: rgba(15, 27, 61, .62);
  padding: 1px 8px; border-radius: 8px; }
.wall-veil { position: absolute; z-index: 5; inset: -20px 0; pointer-events: none; opacity: 0; transition: opacity .8s ease;
  background: radial-gradient(60% 46% at 50% 50%, rgba(246, 248, 252, .9), rgba(246, 248, 252, .45) 62%, rgba(246, 248, 252, 0) 100%); }
.wall-card { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.55); opacity: 0;
  background: #fff; border-radius: 36px; padding: 22px 56px 26px; text-align: center; white-space: nowrap;
  box-shadow: 0 4px 10px rgba(15, 27, 61, .12), 0 30px 80px rgba(15, 27, 61, .34);
  transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), opacity .5s ease; }
.wall-card .k { font: 700 clamp(14px, 1.8vw, 24px) var(--sans); letter-spacing: 6px; text-transform: uppercase; color: #52607e; }
.wall-card .name { font-weight: 700; font-size: clamp(40px, 8vw, 104px); line-height: 1.08; letter-spacing: -2px; }
.wall-card .name span { display: inline-block; opacity: 0; transform: translateY(40px); transition: transform .5s cubic-bezier(.34, 1.8, .64, 1), opacity .35s; }
.wall.named .wall-veil { opacity: 1; }
.wall.named .wall-card { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.wall.named .wall-card .name span { opacity: 1; transform: none; }
.wall-legend { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-top: 18px; font: 14px var(--sans); color: #52607e; }
.wall-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 3px solid; vertical-align: -2px; margin-right: 6px; }
.kpis { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 30px; }
.kpi { background: #fff; border-radius: 14px; padding: 14px 10px 12px; text-align: center; box-shadow: var(--card-shadow);
  border: 2px solid var(--blue-3); }
.kpi .v { font-size: 34px; font-weight: 700; color: var(--blue); line-height: 1.1; font-variant-numeric: tabular-nums lining-nums; }
.kpi .l { font: 14px/1.3 var(--sans); color: #52607e; margin-top: 4px; }
.kpi.g { border-color: #bfe5cb; } .kpi.g .v { color: var(--green); }
.kpi.r { border-color: #f6c4be; } .kpi.r .v { color: var(--red); }
.kpi.a { border-color: #f8dc8f; } .kpi.a .v { color: #c27f00; }
@media (max-width: 900px) { .kpis { grid-template-columns: repeat(3, 1fr); } }

/* contrast with prior work (after the dataset) */
.contrast { margin-top: 34px; background: #fff; border-radius: 18px; padding: 22px 28px 20px; box-shadow: var(--card-shadow);
  border-left: 6px solid var(--blue); }
.contrast-tag { font: 700 12px var(--sans); letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 4px; }
.contrast h3 { font-size: 25px; }
.contrast p { margin: 6px 0 0; font-size: 18px; color: #26324f; }
.contrast b { color: var(--red); }

/* ---------- results ---------- */
.rpanels { margin-top: 26px; }
.rpanel { display: none; }
.rpanel.on { display: block; }
.rpanel > .rcard:first-child, .rpanel > .rgrid > .rcard { margin-top: 0; }
.rcard { background: #fff; border-radius: 18px; box-shadow: var(--card-shadow); padding: 22px 24px; margin-top: 22px; position: relative; }
.rcard h3 { font-size: 21px; margin-bottom: 2px; }
.rcard .sub { font: 14px var(--sans); color: var(--gray); margin-bottom: 14px; }
.rgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 900px) { .rgrid { grid-template-columns: 1fr; } }
.rtable { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14.5px; }
.rtable th { text-align: left; font-weight: 700; color: var(--ink); padding: 4px 8px 8px; vertical-align: bottom; font-size: 14.5px; }
.rtable th small { display: block; font-weight: 400; color: var(--gray); font-size: 12px; }
.rtable td { padding: 3px 8px; height: 32px; }
.rtable td.name { text-align: right; white-space: nowrap; color: #33405e; width: 1%; }
.rtable tr.ours td { background: var(--blue-4); }
.rtable tr.ours td:first-child { border-radius: 8px 0 0 8px; box-shadow: inset 2px 0 0 var(--blue); }
.rtable tr.ours td:last-child { border-radius: 0 8px 8px 0; }
.rtable tr.ours td.name { color: var(--blue); font-weight: 700; }
.bcell { display: flex; align-items: center; gap: 8px; }
.bar { height: 18px; border-radius: 3px; background: #c9d1df; width: 0; transition: width 1s cubic-bezier(.2, .8, .2, 1); flex: none; }
.bar.ours { background: var(--blue); }
.bar.vid { background: #f8d3ad; }
.bar.vid.ours { background: #ec8a2f; }
tr.ours .bval.vid { color: #c96a12; }
.bar.red { background: #f3b1aa; } .bar.red.ours { background: var(--red); }
.bval { font-size: 13.5px; color: #33405e; font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .4s ease; }
tr.ours .bval { font-weight: 700; color: var(--blue); }
.bval.na { font-style: italic; color: #8a96b3; }
.in .bval { opacity: 1; }
.callout { display: inline-block; margin-top: 14px; border: 3px solid var(--blue); border-radius: 16px; padding: 10px 22px;
  font-size: 20px; text-align: center; background: #fff; }
.callout b { color: var(--blue); }
.note { font: 13px/1.45 var(--sans); color: var(--gray); margin-top: 10px; }
.gain { font: 14px var(--sans); color: var(--gray); }
.gain b { font-size: 22px; color: var(--blue); margin-right: 6px; }
.gain b.red { color: var(--red); }
/* vertical grouped bars (AFBC) */
.vbars { display: flex; align-items: flex-end; justify-content: space-around; height: 230px; padding: 0 6px; border-bottom: 1.5px solid var(--gray-2); }
.vgroup { display: flex; align-items: flex-end; gap: 6px; height: 100%; }
.vbar { width: 34px; height: 0; border-radius: 4px 4px 0 0; background: #dfe3ea; position: relative; transition: height 1s cubic-bezier(.2, .8, .2, 1); }
.vbar.mid { background: #a8b1c0; } .vbar.ours { background: var(--blue); }
.vbar span { position: absolute; top: -21px; left: 50%; transform: translateX(-50%); font: 13px var(--sans); color: #33405e; opacity: 0; transition: opacity .4s ease .6s; }
.vbar.ours span { font-weight: 700; color: var(--blue); }
.in .vbar span { opacity: 1; }
.vlabels { display: flex; justify-content: space-around; font: 13px/1.3 var(--sans); color: #33405e; text-align: center; margin-top: 6px; white-space: pre-line; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font: 13px var(--sans); color: #33405e; margin-bottom: 26px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
/* online RL: IQM + CI */
.ci-row { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 10px; height: 44px; font: 14px var(--sans); }
.ci-row .nm { text-align: right; color: #33405e; }
.ci-row.ours .nm { color: var(--blue); font-weight: 700; }
.ci-track { position: relative; height: 26px; }
.ci-band { position: absolute; top: 4px; height: 18px; border-radius: 3px; background: #c9d1df; opacity: 0; transition: opacity .5s ease; }
.ci-row.ours .ci-band { background: #8fb1ee; }
.ci-mark { position: absolute; top: 0; width: 4px; height: 26px; margin-left: -2px; border-radius: 2px; background: #52607e;
  transition: left 1.1s cubic-bezier(.2, .8, .2, 1); left: 0; }
.ci-row.ours .ci-mark { background: var(--blue); }
.ci-val { position: absolute; top: 3px; font: 13.5px var(--sans); color: #33405e; opacity: 0; transition: opacity .4s ease .8s; white-space: nowrap; }
.ci-row.ours .ci-val { color: var(--blue); font-weight: 700; }
.in .ci-band, .in .ci-val { opacity: 1; }
.ci-axis { display: grid; grid-template-columns: 150px 1fr; gap: 10px; font: 12px var(--sans); color: var(--gray); }
.ci-axis .ticks { position: relative; height: 18px; border-top: 1px solid var(--gray-2); }
.ci-axis .ticks span { position: absolute; top: 2px; transform: translateX(-50%); }
.bigstat { margin-top: 14px; background: var(--blue-4); border-radius: 12px; padding: 10px; text-align: center; font: 14px var(--sans); color: #52607e; }
.bigstat b { display: block; font: 700 26px var(--serif); color: var(--blue); }

/* ---------- explorer ---------- */
.explorer { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; margin-top: 22px; align-items: start; }
@media (max-width: 900px) { .explorer { grid-template-columns: 1fr; } }
.ex-tile { position: relative; border-radius: 16px; overflow: hidden; background: #0b1020; box-shadow: var(--card-shadow); }
.ex-tile video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ex-tile svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ex-tile .speed { position: absolute; right: 10px; bottom: 8px; font: 700 13px var(--sans); color: #fff; background: rgba(15, 27, 61, .55);
  padding: 1px 8px; border-radius: 8px; }
.ex-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; min-height: 30px; }
.pill { display: inline-block; padding: 2px 12px; border-radius: 14px; font: 700 13px var(--sans); color: #fff; white-space: nowrap; }
.ex-task { font-style: italic; color: #33405e; font-size: 16px; line-height: 1.35; }
.ex-chart { background: #fff; border-radius: 16px; box-shadow: var(--card-shadow); padding: 8px; }
.ex-chart svg { display: block; width: 100%; height: auto; }
.ex-controls { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-family: var(--sans); }
.ex-controls button { width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; background: var(--ink); display: grid; place-items: center; flex: none; }
.ex-controls button svg { width: 16px; height: 16px; fill: #fff; }
.ex-controls input[type=range] { flex: 1; accent-color: var(--blue); }
.ex-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.ex-thumb { position: relative; border: 0; padding: 0; cursor: pointer; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3;
  background: #0b1020; outline: 3px solid transparent; outline-offset: 0; transition: outline-color .2s, transform .15s; }
.ex-thumb:hover { transform: translateY(-2px); }
.ex-thumb.on { outline-color: var(--blue); }
.ex-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.ex-thumb .pill { position: absolute; left: 6px; top: 6px; font-size: 11px; padding: 1px 8px; }
.ex-readout { display: flex; gap: 14px; margin-top: 12px; font: 14px var(--sans); color: #52607e; flex-wrap: wrap; }
.ex-readout b { font: 700 22px var(--serif); color: var(--ink); margin-left: 6px; }

/* ---------- bibtex / footer ---------- */
pre.bibtex { position: relative; background: var(--ink); color: #e6ecff; border-radius: 14px; padding: 20px 22px; overflow-x: auto;
  font: 14px/1.55 "DejaVu Sans Mono", Menlo, Consolas, monospace; }
.copy { position: absolute; top: 10px; right: 10px; border: 0; border-radius: 8px; padding: 5px 12px; cursor: pointer;
  font: 600 13px var(--sans); background: rgba(255, 255, 255, .14); color: #fff; }
.copy:hover { background: rgba(255, 255, 255, .26); }
footer { padding: 30px 0 44px; text-align: center; font: 14px var(--sans); color: var(--gray); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- phones ---------- */
@media (max-width: 520px) {
  .title { font-size: 46px; letter-spacing: -1px; }
  .wall-card { padding: 12px 22px 14px; border-radius: 22px; }
  .wall-card .name { font-size: 36px; letter-spacing: -1px; }
  .wall-card .k { letter-spacing: 3px; }
  section { padding: 44px 0; }
}
