/* PrintBotz landing.
   Shape rule: cards and photos 18px, chips and buttons full pill, inputs 12px.
   One deliberate exception: the maker polaroids keep small paper-print corners.
   One accent: PrintBotz orange. Theme follows the system (light / dark). */

/* One family everywhere: Montserrat, also the italic of Artem's wordmark. */
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}


:root {
  color-scheme: light dark;
  --bg: #f2f4f8;
  --surface: #fbfcfe;
  --surface-2: #e8ecf3;
  --ink: #0e1a30;
  --muted: #47536b;
  --line: #d7dde8;
  --accent: #f47a22;
  --accent-text: #b84b06;
  --on-accent: #0e1a30;
  --shadow: 0 1px 0 rgb(14 26 48 / .04), 0 18px 40px -22px rgb(14 26 48 / .35);
  --r: 18px;
  --wrap: 1160px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1324;
    --surface: #111c33;
    --surface-2: #17243f;
    --ink: #edf1f8;
    --muted: #a3aec4;
    --line: #24314f;
    --accent: #f7863a;
    --accent-text: #ffa060;
    --shadow: 0 1px 0 rgb(255 255 255 / .03), 0 18px 40px -20px rgb(0 0 0 / .6);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 450 1.0625rem/1.65 "Montserrat", ui-sans-serif, system-ui, sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; letter-spacing: -.025em; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.mono { font-size: .85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: .75rem 1.1rem; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.ticket :focus-visible, .cell--custom:focus-visible { outline-color: var(--on-accent); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.i--xl { width: 2.2rem; height: 2.2rem; }
.accent-text { color: var(--accent-text); }

.h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.lead { color: var(--muted); max-width: 58ch; margin-top: 1rem; font-size: 1.125rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 3.1rem; padding: .8rem 1.35rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.15 "Montserrat", sans-serif; text-decoration: none; text-align: center; white-space: nowrap; max-width: 100%;
  cursor: pointer; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--accent) 90%, transparent); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ink { background: var(--on-accent); color: #fff4e8; }
.btn--ink:hover { transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: .6rem 1rem; font-size: .95rem; }
.btn--wide { width: 100%; justify-content: center; }
.btn .i { transition: transform .25s var(--ease); }
.btn--ghost:hover .i { transform: translateX(3px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav__in { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; min-height: 68px; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; min-width: 44px; text-decoration: none; margin-right: auto; }
.botmark { width: 40px; height: auto; display: block; overflow: visible; }
.botmark--lg { width: 120px; }
.wordmark { font: italic 900 1.3rem/1 "Montserrat", sans-serif; letter-spacing: -.03em; margin: 0; }
.wordmark b { font-weight: 900; color: #f7861f; }
.nav__links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: .98rem; }
.nav__links a:hover { color: var(--ink); }
@media (max-width: 860px) { .nav__links { display: none; } }
@media (max-width: 420px) {
  .nav__in { gap: .75rem; }
  .nav .wordmark { font-size: 1.15rem; }
  .nav .btn { padding: .55rem .8rem; font-size: .9rem; }
}
@media (max-width: 340px) { .nav .wordmark { display: none; } }

/* Hero: Artem's banner art full-bleed, the copy where its logo used to be. Always dark. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: #0b1324; color: #f4f6fb; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 55%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, transparent 30%, rgb(11 19 36 / .68) 52%, rgb(11 19 36 / .88) 100%),
    linear-gradient(0deg, rgb(11 19 36 / .55), transparent 30%);
}
.hero__in { display: grid; justify-items: end; align-items: center; min-height: min(calc(100dvh - 68px), 760px); padding-block: clamp(2rem, 5vw, 4rem); }
.hero__copy { width: min(100%, 34rem); }
.hero :focus-visible { outline-color: #fff; }
.lockup { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1.8rem; }
.hero__copy, .lockup > div { min-width: 0; }
.lockup .botmark { width: clamp(76px, 8.5vw, 112px); flex: none; }
.wordmark--xl { font-size: min(clamp(2.3rem, 4.6vw, 3.6rem), 11vw); color: #fff; }
.tagline {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5em .7em; margin: .7rem 0 0;
  font: 700 clamp(.66rem, 1vw, .8rem)/1 "Montserrat", sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #e8edf7;
}
.tagline i { width: .45em; height: .45em; border-radius: 50%; background: var(--accent); }
.hero__title { font-size: min(clamp(2.6rem, 5.2vw, 4.4rem), 13vw); line-height: 1; letter-spacing: -.04em; color: #fff; }
.hero__title span { color: #ff9a3d; }
.hero__sub { margin-top: 1.2rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #d6deec; max-width: 34ch; text-shadow: 0 1px 12px rgb(11 19 36 / .9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.btn--glass { border-color: rgb(255 255 255 / .4); color: #fff; background: rgb(255 255 255 / .08); }
.btn--glass:hover { border-color: #fff; }
.btn--glass:hover .i { transform: translateX(3px); }
@media (max-width: 760px) {
  .hero__media { position: relative; aspect-ratio: 16 / 11; }
  .hero__media img { object-position: 22% 60%; }
  .hero__media::after { background: linear-gradient(0deg, #0b1324 2%, transparent 45%); }
  .hero__in { min-height: 0; justify-items: start; padding-block: 0 2.75rem; margin-top: -2.5rem; }
}

/* Order strip (ticket shape) */
.ticket-band { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1rem; }
.ticket {
  --notch: 22px;
  display: grid; grid-template-columns: 1fr auto; align-items: stretch;
  background: var(--accent); color: var(--on-accent); border-radius: var(--r);
  /* punched notches where the stub tears off */
  -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - 15.5rem) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - 15.5rem) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at calc(100% - 15.5rem) 0, #0000 98%, #000) top / 100% 51% no-repeat,
                radial-gradient(circle var(--notch) at calc(100% - 15.5rem) 100%, #0000 98%, #000) bottom / 100% 51% no-repeat;
}
.ticket__main { padding: min(clamp(1.6rem, 3.5vw, 2.6rem), 6vw); }
.ticket__title { font-size: min(clamp(1.8rem, 3.4vw, 2.6rem), 9vw); }
.ticket__facts { display: flex; flex-wrap: wrap; gap: 1.2rem 2.8rem; margin: 1.4rem 0 0; }
.ticket__facts dt { font: 700 .72rem/1 "Montserrat", sans-serif; text-transform: uppercase; letter-spacing: .12em; }
.ticket__facts dd { margin: .45rem 0 0; font-weight: 700; font-size: 1.2rem; }
.ticket__stub {
  width: 15.5rem; padding: min(1.6rem, 6vw); display: flex; flex-direction: column; justify-content: center; gap: .7rem;
  border-left: 2px dashed color-mix(in srgb, var(--on-accent) 35%, transparent);
}
.ticket__stub .btn { justify-content: center; }
@media (max-width: 720px) {
  .ticket { grid-template-columns: 1fr; -webkit-mask: none; mask: none; }
  .ticket__stub { width: auto; border-left: 0; border-top: 2px dashed color-mix(in srgb, var(--on-accent) 35%, transparent); }
}

/* On the table */
.table { padding-block: clamp(4rem, 9vw, 7rem) 2rem; }
.spread { margin: 2.4rem 0 0; }
.spread img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r); }
.spread figcaption { color: var(--muted); font-size: .92rem; margin-top: .7rem; }
.bento {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; margin-top: 1.4rem;
}
.cell {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cell:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cell img { width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; aspect-ratio: 4 / 3; }
.cell__text { padding: 1.15rem 1.3rem 1.35rem; }
.cell h3 { font-size: 1.4rem; }
.cell p { color: var(--muted); margin-top: .45rem; font-size: 1rem; }
.more {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: .25rem; min-height: 44px;
  font-weight: 700; color: var(--accent-text); text-decoration: none;
}
.more:hover .i { transform: translate(2px, -2px); }
.more .i { transition: transform .25s var(--ease); }
.cell--figures { grid-column: span 4; grid-row: span 2; }
.cell--figures img { aspect-ratio: 16 / 10; }
.cell--giant { grid-column: span 2; grid-row: span 2; }
.cell--giant img { aspect-ratio: auto; object-position: 50% 20%; }
.cell--trees, .cell--fidgets { grid-column: span 3; }
.cell--trees img, .cell--fidgets img { aspect-ratio: 4 / 3; }
.cell--custom {
  grid-column: span 6; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  padding: 1.8rem 1.8rem 0;
  background:
    repeating-linear-gradient(0deg, rgb(14 26 48 / .07) 0 1px, transparent 1px 7px),
    var(--accent);
  color: var(--on-accent); border-color: transparent;
}
.cell--custom__text { padding-bottom: 1.8rem; align-self: center; }
.cell--custom .mascot { width: clamp(150px, 18vw, 210px); flex: none; aspect-ratio: auto; object-fit: contain; margin-bottom: -2px; transition: transform .4s var(--ease); }
.cell--custom:hover .mascot { transform: translateY(-4px) rotate(-2deg); }
.cell--custom h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cell--custom p { color: var(--on-accent); opacity: .85; max-width: 38ch; }
.cell--custom .more { color: var(--on-accent); }
.cell--custom .i--xl { margin-bottom: 1.2rem; }
.cell--custom:hover .more .i { transform: translateX(3px); }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell--figures, .cell--custom { grid-column: span 2; grid-row: auto; }
  .cell--giant, .cell--trees, .cell--fidgets { grid-column: span 1; grid-row: auto; }
  .cell--giant img { aspect-ratio: 3 / 4; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; }
  .cell--custom { flex-direction: column; align-items: center; text-align: center; }
  .cell--custom__text { padding-bottom: 0; }
  .cell--custom .mascot { width: min(170px, 60%); }
  .spread img { aspect-ratio: 4 / 3; }
}

/* Printer */
.printer { padding-block: clamp(4rem, 9vw, 7rem); }
.printer__in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.printer .lead { margin-inline: auto; }
.bed {
  --p: 0;
  position: relative; width: min(420px, 82vw); aspect-ratio: 1; margin-top: 2.6rem;
  display: grid; place-items: center; border-radius: var(--r);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.bed__bot { width: 62%; overflow: visible; }
.bed__bot .ghost { opacity: .13; filter: grayscale(1); transition: opacity .4s; }
.bed.done .ghost { opacity: 0; }
.nozzle { position: absolute; inset: 0; pointer-events: none; }
.nozzle span {
  /* main.js sets --ny to the top edge of the printed part, in px */
  position: absolute; left: 50%; width: 26px; height: 34px; margin-left: -13px;
  top: var(--ny, 80%);
  background: linear-gradient(var(--ink) 0 62%, var(--accent) 62%);
  /* heater block, then the brass-like tip narrowing to the nozzle */
  clip-path: polygon(0 0, 100% 0, 100% 62%, 68% 62%, 56% 100%, 44% 100%, 32% 62%, 0 62%);
  translate: 0 -100%;
  opacity: 0; transition: opacity .3s;
}
.bed.printing .nozzle span { opacity: 1; animation: sweep 1.1s ease-in-out infinite alternate; }
@keyframes sweep { from { transform: translateX(-90px); } to { transform: translateX(90px); } }
.print-ctl { display: grid; justify-items: center; gap: .7rem; margin-top: 1.8rem; width: min(420px, 82vw); }
.print-ctl__label { font-weight: 700; }
.print-ctl input[type="range"] { width: 100%; accent-color: var(--accent); height: 44px; margin: 0; cursor: grab; touch-action: pan-y; }
.print-ctl__status { color: var(--muted); min-height: 1.4em; }

/* Maker */
.maker {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.maker__photos { position: relative; min-height: 520px; }
.polaroid {
  position: absolute; margin: 0; padding: .7rem .7rem 0; background: #fbfcfe; color: #0e1a30;
  border-radius: 6px; box-shadow: var(--shadow);
  transition: transform .5s var(--ease);
}
.polaroid figcaption { font-weight: 600; font-size: .95rem; padding: .7rem .2rem .9rem; }
.polaroid img { border-radius: 3px; width: 100%; object-fit: cover; }
.polaroid--artem { width: 72%; left: 0; top: 0; transform: rotate(-3deg); }
.polaroid--artem img { aspect-ratio: 4 / 5; }
.polaroid--dog { width: 48%; right: 0; bottom: 0; transform: rotate(5deg); }
.polaroid--dog img { aspect-ratio: 1; }
.polaroid:hover { transform: rotate(0) scale(1.02); z-index: 2; }
.prose { margin-top: 1.4rem; display: grid; gap: 1rem; max-width: 56ch; color: var(--muted); font-size: 1.12rem; }
.facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.facts li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .55rem .95rem;
  border-radius: 999px; background: var(--surface-2); font-weight: 600; font-size: .95rem;
}
.facts .i { color: var(--accent-text); }
@media (max-width: 900px) {
  .maker { grid-template-columns: 1fr; }
  .maker__photos { min-height: 0; aspect-ratio: 1 / 1.05; max-width: 480px; }
}

/* Order builder */
.order { padding-block: clamp(3rem, 8vw, 6rem); background: var(--surface-2); }
.order__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
fieldset { border: 0; padding: 0; margin: 2rem 0 0; }
legend { font-weight: 700; margin-bottom: .8rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1.05rem;
  border-radius: 999px; border: 2px solid var(--line); background: var(--surface);
  font-weight: 600; transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.chip input:hover + span { border-color: var(--muted); }
.chip input:checked + span { border-color: var(--ink); background: color-mix(in srgb, var(--accent) 26%, var(--surface)); font-weight: 800; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip input:active + span { transform: scale(.97); }
.chip i { width: 1rem; height: 1rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .15); }
.chip i.mix { background: conic-gradient(#f47a22 0 20%, #2453c9 0 40%, #1e9e52 0 60%, #d8262e 0 80%, #6b45c2 0); }
.field { display: grid; gap: .5rem; margin-top: 2rem; }
.field label { font-weight: 700; }
.opt { font-weight: 400; color: var(--muted); }
textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 2px solid var(--line); border-radius: 12px; padding: .8rem 1rem; resize: vertical;
}
textarea:focus { border-color: var(--accent); outline: none; }
.help { color: var(--muted); font-size: .92rem; }
.phone {
  border-radius: 28px; background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden; margin-bottom: 1.2rem;
}
.phone__bar { display: flex; align-items: center; gap: .7rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.phone__bar .botmark { width: 30px; }
.phone__bar b { display: block; line-height: 1.1; }
.phone__bar small { color: var(--muted); }
.phone__chat {
  min-height: 220px; padding: 1.4rem 1.1rem; display: flex; align-items: flex-end; justify-content: flex-end;
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--muted) 22%, transparent) 1px, transparent 0) 0 0 / 16px 16px;
}
.bubble {
  max-width: 88%; padding: .75rem 1rem; border-radius: 16px 16px 4px 16px;
  background: color-mix(in srgb, var(--accent) 22%, var(--surface)); color: var(--ink);
  white-space: pre-wrap; overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: no-preference) { .bubble.pop { animation: pop .35s var(--ease); } }
@keyframes pop { from { transform: scale(.96); opacity: .6; } }
@media (max-width: 900px) { .order__in { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding-block: clamp(4rem, 9vw, 7rem); max-width: 820px; }
.faq__list { margin-top: 2rem; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-weight: 700; font-size: 1.18rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--accent-text), var(--accent-text)) center / 14px 2.5px no-repeat,
    linear-gradient(var(--accent-text), var(--accent-text)) center / 2.5px 14px no-repeat;
  transition: transform .3s var(--ease);
}
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding: 0 0 1.4rem; max-width: 62ch; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 6rem) 2.5rem; }
.foot__cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.3rem; }
.foot__line { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; max-width: 26ch; line-height: 1.15; }
.foot__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.5rem; justify-content: space-between;
  margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem;
}
.foot__meta .wordmark { color: var(--ink); font-size: 1.15rem; }
.foot__meta p { margin-right: auto; }
.foot__meta a { display: inline-flex; align-items: center; min-height: 44px; }

/* Mark: blink and antenna */
/* The mark's moving parts live inside <use href="#bot">; registered properties inherit into it and can animate. */
@property --blink { syntax: "<number>"; inherits: true; initial-value: 1; }
@property --bob { syntax: "<number>"; inherits: true; initial-value: 0; }
.js-bot.blink { animation: blink .22s ease-in-out; }
@keyframes blink { 50% { --blink: .1; } }

/* Motion: entrance and reveal, only when the person has not asked for less motion */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i) * 90ms + 80ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } }
  .hero__media img { animation: settle 1.4s var(--ease) both; }
  @keyframes settle { from { transform: scale(1.04); } }
  .lockup .js-bot { animation: bob 2.8s ease-in-out infinite; }
  @keyframes bob { 50% { --bob: 1; } }
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
/* Printing or "Save as PDF" shows every section, scrolled to or not. */
@media print {
  .reveal, .rise { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
  .nav { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bed.printing .nozzle span { animation: none; }
}

/* Phones (and large text sizes): a long label may wrap rather than push the page sideways. */
@media (max-width: 600px) { .btn { white-space: normal; } }
