/* PsstCam. The page is the night camera and the paperwork around it: a printed label beside the monitor,
   the camera's log on a till slip, the price on a ticket. Forest and night-vision lime, Barlow. Mobile first. */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/static/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/static/fonts/barlow-condensed-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/barlow-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/static/fonts/barlow-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/barlow-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/static/fonts/barlow-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Until Barlow arrives, Arial (or Roboto on Android) scaled to Barlow's average letter width and line metrics,
   so lines break in the same places and nothing moves when the fonts swap in (average widths weighted by letter frequency). */
@font-face { font-family: "Barlow Condensed Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT");
  size-adjust: 68.16%; ascent-override: 146.7%; descent-override: 29.34%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Condensed Fallback Roboto"; font-weight: 700; src: local("Roboto Bold"), local("Roboto-Bold");
  size-adjust: 73.77%; ascent-override: 135.55%; descent-override: 27.11%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback"; font-weight: 400 500; src: local("Arial"), local("ArialMT");
  size-adjust: 96.94%; ascent-override: 103.15%; descent-override: 20.63%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback Roboto"; font-weight: 400 500; src: local("Roboto"), local("Roboto-Regular");
  size-adjust: 96.67%; ascent-override: 103.45%; descent-override: 20.69%; line-gap-override: 0%; }

:root {
  --forest: #0f1f10;        /* the night: ground of most of the page */
  --forest-2: #1b331c;      /* one tone step up, for pressed and hovered surfaces */
  --black: #000;
  --paper: #fff;
  --ink: #fff;
  --muted: #a3ada3;         /* on forest and black: 6.9:1 and 8.6:1 */
  --muted-paper: #4b5a4c;   /* on paper: 7.2:1 */
  --lime: #c6f19d;          /* night-vision phosphor: the action and the closing name */
  --lime-2: #d9f8bb;
  --rec: #ff3b30;
  --display: "Barlow Condensed", "Barlow Condensed Fallback", "Barlow Condensed Fallback Roboto", "Arial Narrow", sans-serif;
  --text: "Barlow", "Barlow Fallback", "Barlow Fallback Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
    --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-sub: clamp(2rem, 1.3rem + 2.4vw, 3.5rem);
  --step-head: clamp(2.5rem, 1.2rem + 5vw, 5.5rem);
  --margin: clamp(16px, 1.8vw, 28px);
  --section: clamp(96px, 11vw, 176px);
  --ease-out: cubic-bezier(0.22, 0.8, 0.24, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--lime) #000; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--lime); border: 3px solid #000; }
::-webkit-scrollbar-thumb:hover { background: var(--lime-2); }
/* Smooth wheel scrolling (Lenis, app.js) on mouse and trackpad; touch and reduced motion keep native scrolling. */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
body { margin: 0; min-height: 100svh; background: var(--forest); color: var(--ink);
       font: 400 var(--step-body)/1.5 var(--text); -webkit-tap-highlight-color: transparent; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 500; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.steps :focus-visible, .faq :focus-visible, .slip :focus-visible, .ticket :focus-visible, .paper :focus-visible,
.slide--lime :focus-visible { outline-color: var(--forest); }
::selection { background: var(--lime); color: var(--forest); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hidden { display: none !important; }
.skip { position: absolute; left: var(--margin); top: -200px; z-index: 20; padding: 14px 18px; background: var(--lime);
        color: var(--forest); font-weight: 500; text-decoration: none; }
.skip:focus { top: var(--margin); }
.testbar { margin: 0; padding: 8px var(--margin); background: var(--lime); color: var(--forest); font-size: var(--step-small);
           font-weight: 500; text-align: center; }

/* Type: one display face for statements and names, one text face for everything read. */
h2, .display { font-family: var(--display); font-size: var(--step-head); line-height: 0.9; letter-spacing: -0.02em;
               text-transform: uppercase; text-wrap: balance; }
.lead { font-size: var(--step-lead); line-height: 1.35; }
.hint { font-size: var(--step-small); color: var(--muted); margin: 14px 0 0; }
.error { color: #ffb3a7; margin: 12px 0 0; font-weight: 500; }

/* The wordmark: the camera's red recording dot, then the name. */
.wordmark { display: inline-flex; align-items: center; gap: 0.38em; font: 700 var(--step-lead)/1 var(--display);
            letter-spacing: 0.01em; text-transform: uppercase; text-decoration: none; padding: 6px 0; }
.rec { width: 0.42em; height: 0.42em; border-radius: 50%; background: var(--rec); flex: none; }
@keyframes blink { 0%, 60% { opacity: 1; } 61%, 100% { opacity: 0.15; } }
.motion .rec { animation: blink 1s steps(1) infinite; }

/* One button shape for the whole site: square, flat, one fill. Lime on the night, forest ink on paper. */
.btn { appearance: none; border: 0; border-radius: 0; cursor: pointer; display: inline-flex; align-items: center;
       justify-content: center; min-height: 56px; padding: 0 28px; background: var(--lime); color: var(--forest);
       font: 500 var(--step-body)/1.15 var(--text); text-align: center; text-decoration: none;
       transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.btn:hover { background: var(--lime-2); }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.btn--block { display: flex; width: 100%; }
.btn--quiet { background: var(--forest-2); color: var(--ink); }
.btn--quiet:hover { background: #24412a; }
.card .btn, .paper .btn { background: var(--forest); color: var(--paper); }
.card .btn:hover, .paper .btn:hover { background: #22432a; }
.linkbtn { appearance: none; background: none; border: 0; padding: 10px 0; cursor: pointer; color: inherit;
           text-decoration: underline; text-decoration-thickness: 0.08em; text-underline-offset: 0.22em; }

/* ---------- The feed: the whole first screen is the night camera ---------- */

.osd { position: absolute; inset: 0; pointer-events: none; color: #fff;
       font: 700 max(13px, 3.4cqmin)/1 var(--display); letter-spacing: 0.06em; white-space: pre; font-variant-numeric: tabular-nums; }
.osd > span { padding: 0.2em 0.34em 0.14em; background: rgb(0 0 0 / 0.55); }
.osd__label { position: absolute; left: 4cqmin; top: 4cqmin; }
.osd__clock { position: absolute; right: 4cqmin; top: 4cqmin; }
.osd__rec { position: absolute; left: 4cqmin; bottom: 4cqmin; display: flex; align-items: center; gap: 0.45em; }
.osd__rec i { width: 0.72em; height: 0.72em; border-radius: 50%; background: #ff2b20; }
/* In a narrow picture the camera's clock goes under its name instead of beside it. */
@container (max-width: 330px) { .osd:not(.osd--feed) .osd__clock { left: 4cqmin; right: auto; top: calc(4cqmin + 1.75em); } }
.motion .osd__rec i { animation: blink 1s steps(1) infinite; }

.feed { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh;
        overflow: hidden; background: #000; color: #fff; }
.feed__screen { position: absolute; inset: 0; z-index: -1; container-type: size; background: #000; }
.poster { position: absolute; inset: 0; }
.poster img { width: 100%; height: 100%; object-fit: cover; }
.feed__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feed__video.is-mirrored, .feed__poster.is-mirrored img { transform: scaleX(-1); }
@media (max-width: 600px) { .feed__poster.has-tall img { transform: none; } }
.feed--quiet { background: var(--forest); }
/* A neutral scrim over the camera feed so the headline and the bar stay legible on any clip. */
.feed__screen::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0) 20%), /* taste-skill-ignore: scrim */
              linear-gradient(to top, rgb(0 0 0 / 0.86), rgb(0 0 0 / 0.55) 34%, rgb(0 0 0 / 0) 64%); /* taste-skill-ignore: scrim */ }
.osd--feed { font-size: clamp(13px, 1.25vw, 20px); }
.osd--feed .osd__label { left: var(--margin); top: calc(var(--margin) + 64px); }
.osd--feed .osd__clock { right: var(--margin); top: calc(var(--margin) + 64px); }
.osd--feed .osd__rec { left: auto; right: var(--margin); bottom: auto; top: calc(var(--margin) + 64px + 2.2em); }
.feed__bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between;
             gap: 16px; padding: calc(var(--margin) - 4px) var(--margin); }
.feed__bar .wordmark { color: #fff; }
.feed__nav { display: flex; gap: 4px 28px; flex-wrap: wrap; justify-content: flex-end; font-weight: 500; }
.feed__nav a { padding: 10px 0; text-decoration: none; }
.feed__nav a:hover { text-decoration: underline; }
.feed__copy { position: relative; z-index: 1; width: min(100%, 50vw); padding: 120px var(--margin) clamp(48px, 8vh, 96px); }
.feed__title { font-family: var(--display); font-weight: 700; line-height: 0.84; letter-spacing: -0.02em; text-transform: uppercase;
               font-size: min(calc(44vw / var(--em, 6)), 13rem); }
.feed__title span { display: block; }
.feed__lead { max-width: 36ch; margin: clamp(20px, 2.4vw, 32px) 0 0; font-size: var(--step-lead); line-height: 1.35; }
.feed__action { margin-top: clamp(24px, 2.6vw, 36px); }
.feed .hint { color: rgb(255 255 255 / 0.82); max-width: 44ch; }
.feed__meta { position: absolute; right: var(--margin); bottom: var(--margin); z-index: 2; display: flex; align-items: center; gap: 12px;
              margin: 0; max-width: 46vw; font-size: var(--step-small); line-height: 1.3; text-align: right; }
.feed__pause, .clip__pause { display: none; flex: none; align-items: center; justify-content: center; min-width: 6.5rem; min-height: 44px;
                             padding: 0 14px; border: 0; background: rgb(0 0 0 / 0.72); color: #fff; font-size: var(--step-small);
                             font-weight: 500; cursor: pointer; transition: background-color 160ms ease; }
.feed__pause:hover, .clip__pause:hover { background: #000; }
.js .feed__pause, .js .clip__pause { display: inline-flex; }
@media (max-width: 760px) and (orientation: portrait), (max-aspect-ratio: 4 / 5) {
  .feed { display: block; min-height: 0; background: var(--forest); }
  .feed__screen { position: relative; inset: auto; z-index: 0; height: 56svh; }
  .feed__screen::after { background: linear-gradient(to bottom, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0) 26%), /* taste-skill-ignore: scrim */
                                     linear-gradient(to top, rgb(0 0 0 / 0.55), rgb(0 0 0 / 0) 22%); /* taste-skill-ignore: scrim */ }
  .feed__nav { display: none; }
  .osd--feed .osd__label, .osd--feed .osd__clock { top: 64px; }
  .osd--feed .osd__rec { top: auto; bottom: 16px; left: var(--margin); right: auto; }
  .feed__copy { width: 100%; padding: 22px var(--margin) 36px; }
  .feed__title { font-size: min(calc((100vw - 2 * var(--margin)) / var(--em, 6) * 0.97), 7rem); }
  .feed__meta { top: calc(56svh - 44px); bottom: auto; right: 0; max-width: none; gap: 0; }
  .feed__cap { display: none; }
}
/* Phones held upright: the clip takes what the copy leaves of the first screen, so the button is always on it. */
@media (max-width: 600px) and (orientation: portrait) {
  .feed { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(32svh, 1fr) auto; min-height: 100svh; }
  .feed__screen { grid-area: 1 / 1; height: auto; }
  .feed__meta { grid-area: 1 / 1; position: relative; top: auto; right: auto; bottom: auto; z-index: 2; align-self: end; justify-self: end; }
  .feed__copy { grid-area: 2 / 1; }
}
/* Phones held sideways: the camera fills the screen and the copy sits compact on its left. */
@media (orientation: landscape) and (max-height: 500px) {
  .feed__nav, .osd--feed .osd__label, .feed__cap { display: none; }
  .osd--feed .osd__clock { top: calc(var(--margin) + 2px); }
  .osd--feed .osd__rec { top: calc(var(--margin) + 2px + 2.1em); }
  .feed__copy { width: min(100%, 62vw); padding: 64px var(--margin) 18px; }
  .feed__title { font-size: min(calc(36vw / var(--em, 6)), 21svh); }
  .feed__lead { max-width: 46ch; margin-top: 12px; font-size: var(--step-body); line-height: 1.4; }
  .feed__action { margin-top: 14px; }
  .feed .hint { margin-top: 8px; }
}
@media (orientation: landscape) and (max-height: 360px) {
  .feed__copy { padding-top: 54px; padding-bottom: 12px; }
  .feed__lead { font-size: 0.97rem; }
}
/* The narrowest phones: the clock goes under the camera's name instead of beside it. */
@media (max-width: 340px) and (orientation: portrait) {
  .osd--feed .osd__clock { left: var(--margin); right: auto; top: calc(64px + 2em); }
}

/* ---------- Scenes: one colour field each, the scene's word behind its clip ---------- */

.slides { position: relative; background: var(--forest); }
.slides__head { display: grid; gap: 20px 48px; padding: var(--section) var(--margin) clamp(32px, 4vw, 56px); }
.slides__head p { max-width: 38ch; margin: 0; font-size: var(--step-lead); line-height: 1.35; }
@media (min-width: 1000px) { .slides__head { grid-template-columns: 7fr 5fr; align-items: end; } }
.slides__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
                 list-style: none; }
.slides__track::-webkit-scrollbar { display: none; }
section[tabindex="-1"]:focus, [id][tabindex="-1"]:focus { outline: none; }
.slides__track:focus-visible { outline: 3px solid #fff; outline-offset: -9px; box-shadow: inset 0 0 0 6px #000; }
.slide { --field: var(--lime); --ink-word: var(--forest); --ink-text: var(--forest);
         position: relative; flex: 0 0 100%; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center;
         overflow: hidden; min-height: min(100svh, 920px); padding: clamp(28px, 4svh, 56px) var(--margin) 150px;
         background: var(--field); color: var(--ink-text); }
.slide--black { --field: #000; --ink-word: var(--lime); --ink-text: #fff; }
.slide--red { --field: #a3161a; --ink-word: #fff; --ink-text: #fff; }
.slide--deep { --field: #1b331c; --ink-word: #fff; --ink-text: #fff; }
.slide__word { margin: 0; text-align: center; white-space: nowrap; font: 700 min(25vw, 30svh)/0.8 var(--display);
               letter-spacing: -0.03em; text-transform: uppercase; color: var(--ink-word); user-select: none; }
.slide__clip { position: relative; z-index: 1; width: min(54vw, 860px); aspect-ratio: 16 / 9; margin: -0.05em 0 0; overflow: hidden;
               background: #000; container-type: size; }
.slide--tall .slide__clip { width: auto; height: min(58svh, 600px); aspect-ratio: 9 / 16; }
@media (min-width: 761px) and (max-width: 1099px) { .slide__clip { width: 78vw; } }
.slide__clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip__pause { position: absolute; right: 0; bottom: 0; }
.slide__text { position: absolute; left: var(--margin); bottom: var(--margin); z-index: 2; max-width: min(34ch, 40vw); }
.slide__text h3 { font: 700 var(--step-sub)/0.95 var(--display); letter-spacing: -0.01em; text-transform: uppercase; }
.slide__text p { margin: 10px 0 0; }
.slides__controls { position: absolute; right: var(--margin); bottom: var(--margin); z-index: 3; display: flex; align-items: stretch; gap: 6px; }
.slides__count { display: flex; align-items: center; margin: 0; padding: 0 16px; min-height: 52px; background: #000; color: #fff;
                 font-size: var(--step-small); font-weight: 500; }
.slides__btn { width: 52px; height: 52px; border: 0; background: #000; color: #fff; font-size: var(--step-lead); cursor: pointer;
               transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.slides__btn:hover { background: #262626; }
.slides__btn:active { transform: scale(0.94); }
.slides__btn[disabled] { opacity: 0.45; cursor: default; transform: none; }
.slide__clip, .slide__word { transition: transform 600ms var(--ease-out), opacity 600ms var(--ease-out); }
.motion .slide:not(.is-active) .slide__clip { transform: scale(0.92); opacity: 0.7; }
.motion .slide:not(.is-active) .slide__word { transform: translateX(10%); }
@media (max-width: 760px) {
  .slide { min-height: 0; padding: 40px var(--margin) 24px; display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .slide__word { font-size: 23vw; }
  .slide__clip, .slide--tall .slide__clip { width: 100%; height: auto; aspect-ratio: 4 / 5; }
  .slide__text { position: static; max-width: none; }
  .slides__controls { position: static; justify-content: flex-end; padding: 12px var(--margin) 0; }
}

/* ---------- Photo, preview, video: one room, held while the steps pass ---------- */

.steps { display: grid; gap: 0 clamp(40px, 4.5vw, 80px); padding: 0 var(--margin); background: var(--paper); color: var(--forest); }
.steps__media { margin: 0; }
.steps__pictures { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; container-type: size; }
.steps__pictures > picture, .steps__video { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0;
                                            transition: opacity 500ms ease; }
.steps__pictures > .is-on { opacity: 1; }
.steps__pictures img { width: 100%; height: 100%; object-fit: cover; }
.steps__video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.steps__count { margin-top: 12px; font-size: var(--step-small); color: var(--muted-paper); }
.steps__side { padding: var(--section) 0; }
.steps__side h2 { max-width: 11ch; }
.steps__list { list-style: none; margin: 0; padding: 0; }
.steps__item { display: flex; flex-direction: column; justify-content: center; min-height: 72svh; color: var(--muted-paper);
               transition: color 240ms ease; }
.steps__item.is-active { color: var(--forest); }
.steps__item h3 { font: 700 var(--step-sub)/0.92 var(--display); letter-spacing: -0.01em; text-transform: uppercase; }
.steps__item p { max-width: 34ch; margin: 18px 0 0; font-size: var(--step-lead); line-height: 1.35; }
.steps__item .cells { margin-top: 32px; }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cell { display: flex; align-items: center; justify-content: center; min-height: 64px; padding: 12px 18px; border: 0; cursor: pointer;
        font: 500 var(--step-body)/1.2 var(--text); text-align: center; text-decoration: none; transition: background-color 160ms ease; }
.cell--ink { background: var(--forest); color: var(--paper); }
.cell--ink:hover { background: #22432a; }
.cell--tone { background: #e8ece8; color: var(--forest); }
.cell--tone:hover { background: #dbe2db; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: 7fr 5fr; }
  .js .steps__media { position: sticky; top: 0; align-self: start; height: 100svh; display: flex; flex-direction: column; justify-content: center;
                      padding-top: 0; }
}
@media (max-width: 999px) {
  /* On phones and tablets each step carries its own picture: photo, preview, video, one under the other. */
  .steps { padding-block: var(--section); }
  .steps__media, .steps__pictures, .steps__side, .steps__list { display: contents; }
  .steps__side h2 { order: 0; margin-bottom: 8px; }
  .steps__pictures > picture, .steps__video { position: relative; inset: auto; display: block; width: 100%; height: auto; opacity: 1;
                                              aspect-ratio: 16 / 9; margin-top: 32px; }
  .steps__video { overflow: hidden; container-type: size; }
  .steps__pictures > [data-step="0"] { order: 1; }
  .steps__item:nth-child(1) { order: 2; }
  .steps__pictures > [data-step="1"] { order: 3; }
  .steps__item:nth-child(2) { order: 4; }
  .steps__pictures > [data-step="2"] { order: 5; }
  .steps__item:nth-child(3) { order: 6; }
  .steps__count { display: none; }
  .steps__item { min-height: 0; padding-top: 18px; color: var(--forest); }
}
@media (max-width: 560px) { .cells { grid-template-columns: 1fr; } .cell { min-height: 56px; } }

/* ---------- How it works: the camera's log printed on a till slip ---------- */

.how { display: grid; gap: 48px; padding: var(--section) var(--margin); background: var(--black); }
.how .lead { max-width: 30ch; margin-top: 28px; }
.guide { margin-top: clamp(40px, 5vw, 72px); }
.guide h3 { font: 700 var(--step-lead)/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.guide p { max-width: 40ch; margin: 12px 0 20px; color: var(--muted); }
.guide__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; }
.guide__photos figure { margin: 0; }
.guide__photos img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #111; }
.guide__photos figcaption { margin-top: 8px; font-size: var(--step-small); }
.slip { width: 100%; max-width: 480px; padding: 36px 32px 64px; background: var(--paper); color: var(--forest);
        font-variant-numeric: tabular-nums;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 97.917% 100%, 95.833% calc(100% - 14px), 93.75% 100%, 91.667% calc(100% - 14px), 89.583% 100%, 87.5% calc(100% - 14px), 85.417% 100%, 83.333% calc(100% - 14px), 81.25% 100%, 79.167% calc(100% - 14px), 77.083% 100%, 75% calc(100% - 14px), 72.917% 100%, 70.833% calc(100% - 14px), 68.75% 100%, 66.667% calc(100% - 14px), 64.583% 100%, 62.5% calc(100% - 14px), 60.417% 100%, 58.333% calc(100% - 14px), 56.25% 100%, 54.167% calc(100% - 14px), 52.083% 100%, 50% calc(100% - 14px), 47.917% 100%, 45.833% calc(100% - 14px), 43.75% 100%, 41.667% calc(100% - 14px), 39.583% 100%, 37.5% calc(100% - 14px), 35.417% 100%, 33.333% calc(100% - 14px), 31.25% 100%, 29.167% calc(100% - 14px), 27.083% 100%, 25% calc(100% - 14px), 22.917% 100%, 20.833% calc(100% - 14px), 18.75% 100%, 16.667% calc(100% - 14px), 14.583% 100%, 12.5% calc(100% - 14px), 10.417% 100%, 8.333% calc(100% - 14px), 6.25% 100%, 4.167% calc(100% - 14px), 2.083% 100%, 0 calc(100% - 14px)); }
.slip__when { margin: 28px 0 10px; font: 700 var(--step-lead)/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.slip__when:first-child { margin-top: 0; }
.slip__rows { margin: 0; }
.slip__row { display: flex; align-items: baseline; gap: 10px; padding: 5px 0; }
.slip__row dt { display: flex; align-items: baseline; flex: 1; gap: 10px; min-width: 0; }
.slip__row dt::after { content: ""; flex: 1 1 24px; min-width: 24px; border-bottom: 4px dotted #9aa59b; transform: translateY(-0.25em); }
.slip__row dd { margin: 0; white-space: nowrap; font-weight: 500; }
.slip__total { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; margin: 30px -14px 0;
               padding: 8px 14px; background: var(--forest); color: var(--paper); font-weight: 500; }
@media (min-width: 1000px) {
  .how { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .how__intro { grid-column: 1 / 6; }
  .slip { grid-column: 7 / 12; }
}

/* ---------- Price: printed on a ticket with a tear-off stub ---------- */

.price { display: flex; flex-direction: column; align-items: center; padding: var(--section) var(--margin); background: var(--forest); }
.price > * { width: min(100%, max(720px, 64vw)); }
.price__title { margin-bottom: clamp(40px, 5vw, 72px); }
.ticket { position: relative; display: grid; grid-template-columns: 7fr 3fr; margin: 0 0 24px; background: var(--paper); color: var(--forest); }
@media (min-width: 761px) { .ticket { aspect-ratio: 2.3 / 1; } }
.ticket__main { container-type: inline-size; display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
                padding: clamp(28px, 3vw, 44px); }
.ticket__what { font: 700 var(--step-sub)/0.92 var(--display); letter-spacing: -0.02em; text-transform: uppercase; }
.ticket__lines { list-style: none; columns: 2 16ch; column-gap: 32px; }
.ticket__lines li { break-inside: avoid; padding: 4px 0; }
.ticket__stub { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 22px;
                padding: clamp(24px, 2.6vw, 40px); border-left: 6px dotted var(--forest); text-align: center; }
.ticket__stub::before, .ticket__stub::after { content: ""; position: absolute; left: -17px; width: 28px; height: 28px;
                                              border-radius: 50%; background: var(--forest); }
.ticket__stub::before { top: -14px; }
.ticket__stub::after { bottom: -14px; }
.ticket__price { margin: 0; font: 700 var(--step-head)/0.9 var(--display); letter-spacing: -0.02em; }
.ticket__go { appearance: none; border: 0; min-height: 56px; padding: 0 16px; background: var(--forest); color: var(--paper);
              font-weight: 500; cursor: pointer; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.ticket__go:hover { background: #22432a; }
.ticket__go:active { transform: scale(0.97); }
.price__note { max-width: 52ch; margin: 24px 0 0; color: var(--muted); }
@media (max-width: 760px) {
  .ticket { grid-template-columns: 1fr; }
  .ticket__stub { border-left: 0; border-top: 6px dotted var(--forest); padding-top: 44px; }
  .ticket__stub::before, .ticket__stub::after { top: -17px; bottom: auto; }
  .ticket__stub::before { left: -14px; }
  .ticket__stub::after { left: auto; right: -14px; }
}

/* ---------- Questions: answered as reading text, all at a glance ---------- */

.faq { display: grid; gap: 40px; padding: var(--section) var(--margin); background: var(--paper); color: var(--forest); }
.faq__text p { break-inside: avoid; margin: 0 0 20px; max-width: 40ch; }
.faq__text b { font-weight: 500; }
@media (min-width: 700px) { .faq__text { columns: 2; column-gap: clamp(32px, 4vw, 56px); } }
@media (min-width: 1000px) {
  .faq { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .faq h2 { grid-column: 1 / 4; position: sticky; top: var(--margin); }
  .faq__text { grid-column: 5 / 13; }
}

/* ---------- The close: an invitation over the cropped name ---------- */

.close { container-type: inline-size; display: flex; flex-direction: column; overflow: hidden;
         padding: clamp(80px, 9vw, 140px) var(--margin) var(--margin); background: var(--black); color: var(--ink); }
.close__top { display: grid; gap: 48px; }
.close__line { max-width: 16ch; margin: 0 0 32px; font: 700 var(--step-head)/0.9 var(--display); letter-spacing: -0.02em;
               text-transform: uppercase; text-wrap: balance; }
.close__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.close__links a { display: inline-block; min-width: 24px; padding: 8px 0; text-decoration: none; }
.close__links a:hover { text-decoration: underline; }
.close__links--stack { flex-direction: column; align-items: flex-start; gap: 2px; }
/* The name, whole, edge to edge: its width in this face is 3.07 em, so it is set to the footer's measure. */
.close__name { margin: clamp(28px, 2.5vw, 48px) 0 0; padding-top: 0.04em; font: 700 calc(100cqi / 3.12)/0.8 var(--display);
               letter-spacing: -0.035em; text-transform: uppercase; white-space: nowrap; color: var(--lime); user-select: none; }
.close__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 32px;
              padding-top: clamp(20px, 2vw, 28px); color: var(--muted); font-size: var(--step-small); }
.close__row p { margin: 0; max-width: 72ch; }
.close__langs { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; }
.close__langs a { display: inline-block; padding: 8px 0; text-decoration: none; }
.close__langs a:hover, .close__langs a[aria-current] { color: var(--ink); text-decoration: underline; }
.close--small { padding: 48px var(--margin) 32px; }
.close--small .close__row { padding-top: 0; }
@media (min-width: 1000px) {
  .close__top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
  .close__invite { grid-column: 1 / 8; }
  .close__links--stack { grid-column: 10 / 13; }
}

/* ---------- Simple pages: make, order, legal, errors ---------- */

.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: var(--margin); }
.bar nav { display: flex; gap: 20px; font-size: var(--step-small); }
.bar nav a { padding: 10px 0; text-decoration: none; }
.page, .narrow { width: min(720px, 100% - 2 * var(--margin)); margin: 0 auto; padding: 24px 0 var(--section); }
.legal > h1, .page--error .page__title { font: 700 var(--step-head)/0.9 var(--display); letter-spacing: -0.02em; text-transform: uppercase;
                                           text-wrap: balance; margin: 0 0 20px; }
.make__title, .page .make__title { margin: 40px 0 12px; font: 700 var(--step-sub)/0.95 var(--display); letter-spacing: -0.01em;
                                   text-transform: uppercase; }
.order .make__title, .page .order .make__title { margin-top: 0; }
.page [data-retry] { display: inline-block; padding: 8px 0; }
.make__go { margin-top: 28px; }
.share__title { font: 700 var(--step-lead)/1.1 var(--display); text-transform: uppercase; margin: 0 0 8px; }
.page--error { padding-top: clamp(48px, 10vw, 140px); }
.error__code { margin: 0; font: 700 clamp(7rem, 30vw, 22rem)/0.8 var(--display); letter-spacing: -0.03em; color: var(--lime); }
.page > h1, .page__title { font: 700 var(--step-head)/0.9 var(--display); letter-spacing: -0.02em; text-transform: uppercase;
                           text-wrap: balance; margin: 0 0 28px; }
.page h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); margin: 0 0 16px; }
.panel { margin: 20px 0; padding: clamp(20px, 3vw, 32px); background: var(--forest-2); }
.panel--paper, .paper { background: var(--paper); color: var(--forest); color-scheme: light; }
.paper .hint, .panel--paper .hint { color: var(--muted-paper); }
.paper .error, .panel--paper .error { color: #a3261b; }
.status { display: flex; gap: 16px; align-items: center; }
.spinner { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 4px solid rgb(255 255 255 / 0.18); border-top-color: var(--lime);
           animation: spin 0.9s linear infinite; }
.paper .spinner { border-color: rgb(15 31 16 / 0.15); border-top-color: var(--forest); }
@keyframes spin { to { transform: rotate(360deg); } }
.muted { color: var(--muted); }
.paper .muted { color: var(--muted-paper); }
.small { font-size: var(--step-small); }

.shot { position: relative; margin: 0; background: #000; }
.shot img, .shot video { width: 100%; height: auto; }
.shot.portrait img { width: auto; max-height: 72svh; margin: 0 auto; }

.group { margin: 32px 0 0; padding: 0; border: 0; min-width: 0; }
.group > legend { padding: 0; margin: 0 0 14px; font: 700 var(--step-lead)/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg label { position: relative; display: block; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px 10px; background: var(--forest-2);
            color: var(--ink); font-weight: 500; text-align: center; cursor: pointer; transition: background-color 160ms ease; }
.seg input:checked + span { background: var(--lime); color: var(--forest); }
.seg input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 3px; }
.choices { display: grid; gap: 6px; }
.choice { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 2px 12px; align-items: start; padding: 16px 18px;
          background: var(--forest-2); cursor: pointer; transition: background-color 160ms ease; }
.choice:hover { background: #24412a; }
.choice input { grid-row: 1 / span 2; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--lime); }
.choice b { grid-column: 2; font-weight: 500; }
.choice small { grid-column: 2; color: var(--muted); font-size: var(--step-small); }
.choice .amt { grid-column: 3; grid-row: 1; font: 700 var(--step-lead)/1 var(--display); }
.choice:has(input:checked) { background: var(--lime); color: var(--forest); }
.choice:has(input:checked) input { accent-color: var(--forest); }
.choice:has(input:checked) small { color: var(--forest); }
.choice:has(input:focus-visible) { outline: 3px solid var(--lime); outline-offset: 3px; }
.paper .choice { background: #eef1ee; color: var(--forest); }
.paper .choice:hover { background: #e2e8e2; }
.paper .choice small { color: var(--muted-paper); }
.paper .choice input { accent-color: var(--forest); }
.paper .choice:has(input:checked) input { accent-color: var(--lime); }
.paper .choice:has(input:checked) { background: var(--forest); color: var(--paper); }
.paper .choice:has(input:checked) small { color: #d4dfd4; }
.paper .choice:has(input:focus-visible) { outline-color: var(--forest); }
.paper .linkbtn, .paper a { color: var(--forest); }
.field { display: grid; gap: 6px; margin: 14px 0; }
.field label { font-size: var(--step-small); font-weight: 500; }
.field input[type=text], .field input[type=date], .field input[type=time] {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #3b5a3d; border-radius: 0; background: var(--forest);
  color: var(--ink); font: 400 1rem/1.3 var(--text); }
.field input:focus { outline: 3px solid var(--lime); outline-offset: 0; border-color: var(--lime); }
.paper .field input { background: var(--paper); color: var(--forest); border-color: #8a978b; }
.paper .field input:focus { outline-color: var(--forest); border-color: var(--forest); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field input { min-width: 0; }
@media (max-width: 359px) { .row2 { grid-template-columns: minmax(0, 1fr); gap: 0; } }
details.more { margin-top: 20px; }
details.more summary { cursor: pointer; padding: 12px 0; font-weight: 500; }
.consent { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; margin: 14px 0; font-size: var(--step-small); }
.consent input { width: 24px; height: 24px; margin: 0; accent-color: var(--forest); }
#checkout-form { margin-top: 16px; min-height: 40px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.ainote { margin: 28px 0 0; color: var(--muted); font-size: var(--step-small); }
.friend { margin: 0 0 16px; padding: 12px 14px; background: #e9f9d9; color: var(--forest); font-weight: 500; }
.copyrow { display: flex; gap: 8px; margin: 14px 0; }
.copyrow input { flex: 1; min-width: 0; min-height: 52px; padding: 0 12px; border: 2px solid #8a978b; border-radius: 0; background: var(--paper);
                 color: var(--forest); font: 400 0.95rem/1 var(--text); }

.legal h1 { margin-bottom: 8px; }
.legal h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); margin: 48px 0 14px; }
.legal li { margin-bottom: 8px; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal a { color: var(--lime); }
.legal code { font: inherit; font-weight: 500; }

/* ---------- Motion: entrances once per section, feedback on every control ---------- */

.motion [data-rise] { transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.motion [data-rise]:not(.in) { opacity: 0; transform: translateY(26px); animation: show 0s 3s forwards; }
@keyframes show { to { opacity: 1; transform: none; } }
.motion .plate__item.is-on img, .motion .plate__item.is-on { animation: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}
