/* v09 · Print Run
   v08's content, set like a sheet coming off a press: retro, tech, bold.
   - Bands in the printer's inks: K (moments), Y (the comments and "as seen in"), C (our story; the app's from Nov 14
     until it was tabled on Nov 16), M (the last call).
     Where a band meets white, the edge steps down in the middle along the bolt's own outline.
   - One offset per thing: a single ink behind a word, a hard black shadow under a button.
   - Tech touches: a viewfinder on the film, a view meter (ticks, no numbers) under each mode print.
   Nov 12, second pass (less busy): no outline strokes, no registration marks, one offset on the occasions,
   the moment prints without coloured sheets, the render without its ink outlines, "as seen in" only.
   Third pass: the band edge's corners softened, no grey hairlines (fields keep their borders), no seal, no halftone dots.
   Fourth pass: every print shows 5 views and no frame count, big cursor arrows that nudge, $3 reservation,
   the pass's magenta edge runs across the stub, the colour bar in full inks only, the film adds capture-then-print pairs.
   Fifth pass: the story print gets the same cursor arrow, the colour bar is gone, Flip shows 3 frames,
   "shots" became "frames", and the film's label reads "capture." instead of "shoot.".
   Sixth pass: titles lose their full stops unless the stop does a job (brand kit 1.9); "capture. print. share.";
   no moving strips, no cat print or label on the film (the shared launch film is back); a comments section;
   the wedding is a real couple's live photo next to its real print; the 3D views keep the cat in one place;
   no reserver pass in the waitlist section; plain black names on the printer facts.
   Seventh pass: the comments slide past on one strip after the story; gigs and dance-offs show the motion captures
   that were printed; the wedding's real-print clip is gone; a temporary photo of the printer in hand; "as seen in" full size.
   Eighth pass (Nov 13): the printer is a product feature on its own panel with six image options, the modes come right after it,
   ink underlines back on the printer facts, no viewfinder corners, no pause buttons on videos, no lens lines on prints,
   "straight from the comments", $9 with the refund lines back, and a review switcher to try the title's offset inks.
   Ninth pass (Nov 13): the waitlist signup and the $9 line move from the first screen into the printer panel; how it works
   is white; the comments and "as seen in" share one yellow band straight after it, with white comment cards;
   a fourth title option, magenta text with yellow and cyan offsets. That option was picked the same day (brand kit 1.11):
   the title is magenta type with yellow up-left and cyan down-right, and the review switcher is gone.
   Tenth pass (Nov 13): the printer section on white with evenly spaced facts; the occasions turn a little faster with no
   pause; every print arrow nudges all the time; phone tilt plays the prints; how it works loses its "Real print, filmed"
   tag, its edge hairlines and its share clip (a still again), with shorter step 1 copy and "cartridge" for Stax Pack;
   the comments strip drags either way with no pause button; a new app section of three phones; no white strip between
   the story and the last call. A new CES still was supplied the same day.
   Eleventh pass (Nov 14): the app is one tilted phone playing a short path through every tab, on the cyan band straight
   after how it works and running into the yellow comments band; our story moves onto white; new occasions (festival
   season, new year's countdown, game day tailgate); the stadium link goes to its Instagram reel; a bigger footer logo;
   another new CES still.
   Twelfth pass (Nov 16): the paid reservation, "good to know" and the app preview are tabled (kept in <template>s in
   index.html, off the page); the header button and the last call are waitlist only; the CES still is the printer image,
   with no review switcher; a new printer line, set above the image on phones; no intro line under the modes title;
   "fotostax love in the comments"; our story is the cyan band again, and the yellow, cyan and magenta bands meet with no
   white strips.
   Thirteenth pass (Nov 16): the mode cards stick and stack at every screen size and orientation, sized to the screen; the
   moments are motion prints that play as videos until hovered or touched; "straight from the comments" is back.
   Fourteenth pass (Nov 17): even spacing between the printer facts on phones; no "simulated" labels on the prints; each
   mode print plays through once by itself (theme.js); no 01 to 04 on the mode cards; on phones the mode cards fit with
   their arrow; and no white hairline where two coloured bands meet.
   This file sits on top of styles.css (v08's). It bends two Working rules in the brand kit on purpose, for review:
   "mostly white, yellow is rare" (the yellow and cyan bands) and "nothing loops by itself" (the comments strip:
   a button and hovering stop it, and it starts stopped under reduced motion). */

:root {
  --k: #000000;
  /* The band edge: the bolt's left outline, measured from fotostax-bolt-black.svg and scaled so its height is --bh.
     Corners from the top: (0, 0), (0.2879, 0.2411), (0.0769, 0.3153), (0.2852, 0.5065), (0.0858, 0.5810), (0.7083, 1). */
  --bh: clamp(72px, 11.5vw, 176px);
  --bx: calc(50% - 0.354 * var(--bh));        /* the bolt's left end, so the step is centred */
  --edge-top:
    0 0, var(--bx) 0,
    calc(var(--bx) + 0.2879 * var(--bh)) calc(0.2411 * var(--bh)),
    calc(var(--bx) + 0.0769 * var(--bh)) calc(0.3153 * var(--bh)),
    calc(var(--bx) + 0.2852 * var(--bh)) calc(0.5065 * var(--bh)),
    calc(var(--bx) + 0.0858 * var(--bh)) calc(0.5810 * var(--bh)),
    calc(var(--bx) + 0.7083 * var(--bh)) var(--bh),
    100% var(--bh);
  /* the same outline at the bottom, moved down: the band reads as one stripe of the bolt */
  --edge-bottom:
    100% 100%,
    calc(var(--bx) + 0.7083 * var(--bh)) 100%,
    calc(var(--bx) + 0.0858 * var(--bh)) calc(100% - 0.4190 * var(--bh)),
    calc(var(--bx) + 0.2852 * var(--bh)) calc(100% - 0.4935 * var(--bh)),
    calc(var(--bx) + 0.0769 * var(--bh)) calc(100% - 0.6847 * var(--bh)),
    calc(var(--bx) + 0.2879 * var(--bh)) calc(100% - 0.7589 * var(--bh)),
    var(--bx) calc(100% - var(--bh)),
    0 calc(100% - var(--bh));
  /* The same outline with every corner softened: each corner is cut 0.025 × --bh back along both sides
     and joined with a curve (about 4px on desktop). Browsers without shape() keep the sharp polygon above. */
  --band-shape: shape(from 0 0,
    line to calc(var(--bx) - 0.025 * var(--bh)) 0,
    curve to calc(var(--bx) + 0.0192 * var(--bh)) calc(0.0161 * var(--bh)) with var(--bx) 0,
    line to calc(var(--bx) + 0.2687 * var(--bh)) calc(0.2251 * var(--bh)),
    curve to calc(var(--bx) + 0.2643 * var(--bh)) calc(0.2494 * var(--bh)) with calc(var(--bx) + 0.2879 * var(--bh)) calc(0.2411 * var(--bh)),
    line to calc(var(--bx) + 0.1005 * var(--bh)) calc(0.3070 * var(--bh)),
    curve to calc(var(--bx) + 0.0953 * var(--bh)) calc(0.3322 * var(--bh)) with calc(var(--bx) + 0.0769 * var(--bh)) calc(0.3153 * var(--bh)),
    line to calc(var(--bx) + 0.2668 * var(--bh)) calc(0.4896 * var(--bh)),
    curve to calc(var(--bx) + 0.2618 * var(--bh)) calc(0.5153 * var(--bh)) with calc(var(--bx) + 0.2852 * var(--bh)) calc(0.5065 * var(--bh)),
    line to calc(var(--bx) + 0.1092 * var(--bh)) calc(0.5723 * var(--bh)),
    curve to calc(var(--bx) + 0.1065 * var(--bh)) calc(0.5950 * var(--bh)) with calc(var(--bx) + 0.0858 * var(--bh)) calc(0.5810 * var(--bh)),
    line to calc(var(--bx) + 0.6876 * var(--bh)) calc(0.9860 * var(--bh)),
    curve to calc(var(--bx) + 0.7333 * var(--bh)) var(--bh) with calc(var(--bx) + 0.7083 * var(--bh)) var(--bh),
    line to 100% var(--bh),
    line to 100% 100%,
    line to calc(var(--bx) + 0.7333 * var(--bh)) 100%,
    curve to calc(var(--bx) + 0.6876 * var(--bh)) calc(100% - 0.0140 * var(--bh)) with calc(var(--bx) + 0.7083 * var(--bh)) 100%,
    line to calc(var(--bx) + 0.1065 * var(--bh)) calc(100% - 0.4050 * var(--bh)),
    curve to calc(var(--bx) + 0.1092 * var(--bh)) calc(100% - 0.4277 * var(--bh)) with calc(var(--bx) + 0.0858 * var(--bh)) calc(100% - 0.4190 * var(--bh)),
    line to calc(var(--bx) + 0.2618 * var(--bh)) calc(100% - 0.4847 * var(--bh)),
    curve to calc(var(--bx) + 0.2668 * var(--bh)) calc(100% - 0.5104 * var(--bh)) with calc(var(--bx) + 0.2852 * var(--bh)) calc(100% - 0.4935 * var(--bh)),
    line to calc(var(--bx) + 0.0953 * var(--bh)) calc(100% - 0.6678 * var(--bh)),
    curve to calc(var(--bx) + 0.1005 * var(--bh)) calc(100% - 0.6930 * var(--bh)) with calc(var(--bx) + 0.0769 * var(--bh)) calc(100% - 0.6847 * var(--bh)),
    line to calc(var(--bx) + 0.2643 * var(--bh)) calc(100% - 0.7506 * var(--bh)),
    curve to calc(var(--bx) + 0.2687 * var(--bh)) calc(100% - 0.7749 * var(--bh)) with calc(var(--bx) + 0.2879 * var(--bh)) calc(100% - 0.7589 * var(--bh)),
    line to calc(var(--bx) + 0.0192 * var(--bh)) calc(100% - 0.9839 * var(--bh)),
    curve to calc(var(--bx) - 0.025 * var(--bh)) calc(100% - var(--bh)) with var(--bx) calc(100% - var(--bh)),
    line to 0 calc(100% - var(--bh)),
    close);
  /* the last band has only the top edge */
  --join-shape: shape(from 0 0,
    line to calc(var(--bx) - 0.025 * var(--bh)) 0,
    curve to calc(var(--bx) + 0.0192 * var(--bh)) calc(0.0161 * var(--bh)) with var(--bx) 0,
    line to calc(var(--bx) + 0.2687 * var(--bh)) calc(0.2251 * var(--bh)),
    curve to calc(var(--bx) + 0.2643 * var(--bh)) calc(0.2494 * var(--bh)) with calc(var(--bx) + 0.2879 * var(--bh)) calc(0.2411 * var(--bh)),
    line to calc(var(--bx) + 0.1005 * var(--bh)) calc(0.3070 * var(--bh)),
    curve to calc(var(--bx) + 0.0953 * var(--bh)) calc(0.3322 * var(--bh)) with calc(var(--bx) + 0.0769 * var(--bh)) calc(0.3153 * var(--bh)),
    line to calc(var(--bx) + 0.2668 * var(--bh)) calc(0.4896 * var(--bh)),
    curve to calc(var(--bx) + 0.2618 * var(--bh)) calc(0.5153 * var(--bh)) with calc(var(--bx) + 0.2852 * var(--bh)) calc(0.5065 * var(--bh)),
    line to calc(var(--bx) + 0.1092 * var(--bh)) calc(0.5723 * var(--bh)),
    curve to calc(var(--bx) + 0.1065 * var(--bh)) calc(0.5950 * var(--bh)) with calc(var(--bx) + 0.0858 * var(--bh)) calc(0.5810 * var(--bh)),
    line to calc(var(--bx) + 0.6876 * var(--bh)) calc(0.9860 * var(--bh)),
    curve to calc(var(--bx) + 0.7333 * var(--bh)) var(--bh) with calc(var(--bx) + 0.7083 * var(--bh)) var(--bh),
    line to 100% var(--bh),
    line to 100% 100%,
    line to 0 100%,
    close);
}

/* ---------- Ink bands ---------- */
.moments, .app, .proof, .story { --band-pad: calc(var(--fx-section) * 0.75 + var(--bh)); position: relative; isolation: isolate; padding-block: var(--band-pad); }
.moments::before, .app::before, .proof::before, .story::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(var(--edge-top), var(--edge-bottom)); }
.join { padding-top: calc(var(--fx-section) + var(--bh)); }
.join::before { clip-path: polygon(var(--edge-top), 100% 100%, 0 100%); }
@supports (clip-path: shape(from 0 0, line to 10px 10px, curve to 0 10px with 5px 20px, close)) {
  .moments::before, .app::before, .proof::before, .story::before { clip-path: var(--band-shape); }
  .join::before { clip-path: var(--join-shape); }
}
/* Nov 16: three bands in a row with no white strips between: the yellow comments run straight into the cyan story, and
   the story into the magenta last call. The upper band has no bottom edge, and the lower band's bolt edge steps down out of
   the upper band's ink instead of white. (The Nov 14 app-to-comments join went when the app preview was tabled.) */
.proof { padding-bottom: calc(var(--fx-section) * 0.75); }
.proof::before { clip-path: polygon(var(--edge-top), 100% 100%, 0 100%); }
.story { padding-bottom: calc(var(--fx-section) * 0.75); background: linear-gradient(to bottom, var(--fx-yellow) 0, var(--fx-yellow) var(--bh), transparent var(--bh)); }
.story::before { clip-path: polygon(var(--edge-top), 100% 100%, 0 100%); }
.join { background: linear-gradient(to bottom, var(--fx-cyan) 0, var(--fx-cyan) var(--bh), transparent var(--bh)); }
@supports (clip-path: shape(from 0 0, line to 10px 10px, curve to 0 10px with 5px 20px, close)) {
  .proof::before, .story::before { clip-path: var(--join-shape); }
}
/* Nov 17: where two bands meet, the upper band's ink runs 3px on under the band below, and the lower band's strip of the
   upper ink runs 3px on under its own bolt edge. Before, the edges met on a part pixel and a hairline of white showed
   along the top and the foot of each bolt step, from the step to the edge of the screen. */
.proof::before, .story::before { bottom: -3px; }
.story { background: linear-gradient(to bottom, var(--fx-yellow) 0, var(--fx-yellow) calc(var(--bh) + 3px), transparent calc(var(--bh) + 3px)); }
.join { background: linear-gradient(to bottom, var(--fx-cyan) 0, var(--fx-cyan) calc(var(--bh) + 3px), transparent calc(var(--bh) + 3px)); }

/* ---------- Buttons: one hard shadow that presses in ---------- */
.fx-btn {
  box-shadow: 4px 4px 0 var(--k);
  transition: transform 120ms var(--fx-ease-out), box-shadow 120ms var(--fx-ease-out), background-color var(--fx-dur-2) var(--fx-ease-out);
}
.fx-btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--k); }
.fx-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--k); }
.fx-btn--ink, .fx-btn--ink:hover { box-shadow: 4px 4px 0 var(--fx-magenta); }
.fx-btn--ghost, .fx-btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--k), 4px 4px 0 var(--k); background: var(--fx-white); }
.fx-btn--small { box-shadow: 3px 3px 0 var(--k); }
.fx-signup__row .fx-btn, .fx-signup__row .fx-btn:hover, .fx-signup__row .fx-btn:active { box-shadow: none; transform: none; }

/* ---------- No grey hairlines: space, fills and soft shadows do their job. Fields keep their borders. ---------- */
.site-head.is-scrolled, .site-head.is-open { border-bottom-color: transparent; box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.45); }
.printer__facts li { border-top: 0; }
.mode__card { border: 0; }
.mode__go, .mode.is-under .mode__tab:hover .mode__go { box-shadow: none; }
.facts, .timeline, .faq, .faq__item, .faq__item:nth-child(-n + 2), .press li, .press li:first-child, .press li:nth-child(2), .foot__base { border: 0; }
.tier { border: 0; }
.tier:not(.tier--reserved) { background: var(--fx-paper); }
/* the reserved card's magenta top strip is painted on the card, so it follows the rounded corners */
.tier--reserved { background: linear-gradient(to bottom, var(--fx-magenta) 0 8px, var(--fx-white) 8px); }
.tier--reserved::after { display: none; }
.pass__rows { border-top: 0; padding-top: 4px; }
/* the pass's tear-off stub is a tinted panel instead of a dashed line */
.pass__stub { border-left: 0; background: var(--fx-magenta-tint); border-radius: 0 var(--fx-radius-m) var(--fx-radius-m) 0; }
.pass__stub::before, .pass__stub::after { display: none; }
/* the magenta top edge sits above the stub, so it runs right across the pass */
.pass::before { z-index: 1; }
.join__or { justify-content: center; }
.join__or::before, .join__or::after { display: none; }
.fx-signup__success { border: 0; }
.occasions__pause { border: 0; background: var(--fx-paper); }
/* the checkout pages share this file */
.notice, .summary__box, .devnotes, .done__help > div { border: 0; }
.summary__line, .summary__list, .flow-foot { border: 0; }
@media (max-width: 899px) {
  .site-nav { border-bottom: 0; }
  .site-nav li + li { border-top: 0; }
}

/* ---------- Header ---------- */
.site-nav a { font-family: var(--fx-font-display); font-weight: 600; word-spacing: 0.1em; }

/* ---------- Hero ---------- */
.hero__bolt { display: none; }
.hero__title { --ex: 0.055em; --ey: 0.03em; }
/* Nov 18 (Jonathan): the line under the title is in Clash Display (it was Satoshi), then bold and lowercase
   ("instant print 3d & motion photos.", lowercased in index.html itself, so copy and screen readers get it too) */
.hero__lead { color: var(--fx-ink); font-family: var(--fx-font-display); font-weight: 700; letter-spacing: -0.01em; word-spacing: 0.08em; }

@media (min-width: 900px) {
  /* the title runs the full width on one line; the lead sits under it. The signup moved into the printer panel (Nov 13) */
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--fx-space-5); padding-block: var(--fx-space-5) var(--fx-space-7); }
  .hero__title { font-size: calc(min(100vw - 2 * var(--fx-gutter), var(--wrap)) * 0.1385); white-space: nowrap; line-height: 0.9; margin-left: -0.03em; }
  .hero__line { display: inline; }
  .hero__line--2 { padding-left: 0; }
  .hero__lead { max-width: 30rem; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem); line-height: 1.35; }
}

/* ---------- The title: magenta type with yellow up-left and cyan down-right, the double offset around magenta.
   Picked Nov 13 (brand kit 1.11). The yellow and cyan echoes still slide out from under it once (styles.css) ---------- */
.hero__title { color: var(--fx-magenta); }

/* ---------- Videos: no pause buttons anywhere (Nov 13). Under reduced motion the videos don't autoplay, so they rest on their posters ---------- */
.fx-video__toggle { display: none !important; }

/* ---------- Prints: no lens-ridge lines on the example prints; the moving highlight stays (Nov 13) ---------- */
.fx-print__ridges { display: none; }

/* ---------- The printer: a product feature after the launch film, on white (the paper panel went, Nov 13) ---------- */
.printer { display: block; margin-top: var(--fx-space-7); }
.printer__panel {
  display: grid; gap: var(--fx-space-7); align-items: center;
  padding-block: clamp(24px, 4vw, 64px); background: var(--fx-white);
}
@media (min-width: 900px) { .printer__panel { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--fx-space-9); } }
/* Nov 16: on phones and narrow windows the name and line come first, then the image, then the facts and the waitlist.
   On wider screens the image sits on the left and the name, line, facts and waitlist sit beside it, centred as one block. */
.printer__panel { grid-template-areas: "head" "visual" "text"; row-gap: var(--fx-space-6); }
.printer__head { grid-area: head; }
.printer__visual { grid-area: visual; }
.printer__text { grid-area: text; }
@media (max-width: 899px) { .printer__facts { margin-top: 0; } }
@media (min-width: 900px) {
  .printer__panel { grid-template-areas: "visual ." "visual head" "visual text" "visual ."; grid-template-rows: 1fr auto auto 1fr; row-gap: 0; }
}
.printer__title { font-size: clamp(2.75rem, 1rem + 4.6vw, 5.75rem); line-height: 0.92; }
.printer__line {
  margin-top: var(--fx-space-4); max-width: 30rem;
  font-family: var(--fx-font-display); font-weight: 600; font-size: clamp(1.25rem, 1rem + 0.7vw, 1.625rem); line-height: 1.25; word-spacing: 0.08em;
}
/* the three facts sit on equal rows on wide screens (Nov 13). Nov 17: each fact's name and its line stay together at the
   top of the row (before, a one-line fact spread out to fill a row as tall as the two-line one), and on phones and
   narrow windows the rows are as tall as their own text, so the gaps between the three facts are even too */
.printer__facts { grid-auto-rows: 1fr; gap: var(--fx-space-5); }
.printer__facts li { color: var(--fx-ink); padding-top: 0; align-items: start; align-content: start; }
@media (max-width: 899px) { .printer__facts { grid-auto-rows: auto; } }
@media (max-width: 699px) { .printer__facts li { gap: 6px; } }
/* each fact's name is underlined in its own ink (cyan, magenta, yellow), as in v08 */
.printer__k { justify-self: start; }
/* the waitlist signup and the $9 line, moved here from the first screen (Nov 13): v08's hero styles */
.printer__signup { margin-top: var(--fx-space-7); }
/* the placeholder printer image: a big square clip, still or print of the printer in hand, a card with one hard black offset.
   A review-only switcher under it picks between the six options. */
.printer__visual { justify-self: center; width: min(560px, 100%); }
.printer__render--photo { width: 100%; }
.printer__media .printer__opt {
  position: relative; display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--fx-radius-m); box-shadow: 6px 6px 0 var(--k); filter: none; object-fit: cover; background: var(--fx-paper);
}
.printer__media .printer__opt[hidden] { display: none; }
.printer__media .printer__opt video { width: 100%; height: 100%; object-fit: cover; }
.printer__note[hidden] { display: none; }
/* the CES clip as a motion print you tilt: no card behind it, a magenta sheet like the other prints, the big arrow on magenta */
.printer__media .printer__opt--print { --c: var(--fx-magenta); width: 86%; margin-inline: auto; aspect-ratio: auto; overflow: visible; isolation: isolate; border-radius: 0; box-shadow: none; background: none; }
.printer__opt--print .sheet { --sx: 14px; --sy: 12px; --sr: 3deg; }
.printer__options { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: var(--fx-space-4); }
.printer__options button {
  padding: 5px 11px; border: 0; border-radius: var(--fx-radius-pill); background: var(--fx-paper); color: var(--k);
  font: inherit; font-weight: 700; cursor: pointer;
}
.printer__options button[aria-pressed="true"] { background: var(--k); color: var(--fx-white); }
.printer__options button:focus-visible { outline: 2px solid var(--fx-magenta); outline-offset: 2px; }

/* ---------- Moments: the black band (K) ---------- */
.moments { margin-top: var(--fx-space-6); color: var(--fx-white); }
.moments::before { background: var(--k); }
.moments .section-head__intro { color: #d9d9d9; }
.moments .occasions__pause { background: #262626; color: var(--fx-white); }
.moments .occasions__pause:hover { background: #262626; }
.moments :focus-visible { outline-color: var(--fx-white); }
.moments .fx-print__stage:focus-visible .fx-print__card { outline-color: var(--fx-white); }
/* one ink per occasion, set down and to the right of the word */
.occasions__word { --ox: 0.05em; --oy: 0.045em; text-shadow: 0 0 0 var(--c); }
.occasions__word.is-on { text-shadow: var(--ox) var(--oy) 0 var(--c); }
/* the prints are just prints here: white border, thick bottom, no coloured sheet behind to read as a border */
.strip .sheet { display: none; }
/* gigs: the square starts higher up the frame, so the two friends' raised arms and their top halves are in */
.moment__video--gigs > video { object-position: 50% 20%; }
/* Nov 16: each moment is a motion print with its video laid over the picture (theme.js moves it there). Hovered or touched,
   the video fades and the print plays. Its arrow sits on the row with the moment's name: white on the moment's ink, no
   words. A finger on it drags it up and down or sideways, and the page holds still meanwhile (see the touch-action rule
   with the print arrows). Nov 17: no print on the page carries a "simulated" label any more. */
.moment__print .fx-print__image > .moment__video { position: absolute; inset: 0; z-index: 3; aspect-ratio: auto; border-radius: 0; transition: opacity 240ms ease; }
.moment__print.is-awake .fx-print__image > .moment__video { opacity: 0; pointer-events: none; }
.moment__print .fx-print__tag { display: none; }
.moments .moment .fx-print__caption { position: absolute; left: 0; top: 100%; margin: 16px 0 0; }
.moments .moment .fx-print__hint { padding-left: 36px; font-size: 0; }
.moments .moment .fx-print__hint::before { background: var(--fx-white); }
/* ---------- The comments and "as seen in": one yellow band (Y), straight after how it works (Nov 16: the app is tabled) ---------- */
.proof { margin-top: var(--fx-section); }
.proof::before { background: var(--fx-yellow); }
.proof .trust { padding-block: var(--fx-space-7) 0; }
.proof :focus-visible { outline-color: var(--k); }
/* ---------- The comments section: real comments drifting past on one strip. On the yellow band each card is white,
   on a hard offset in magenta, cyan or black (a yellow offset would vanish into the band).
   Nov 13: no pause button; the strip drags either way (theme.js moves it), hovering holds it,
   and under reduced motion it doesn't drift. ---------- */
.comments { padding-top: 0; }
.comments__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--fx-space-4) var(--fx-space-6); }
.comments__title, .trust__h {
  font-family: var(--fx-font-display); font-weight: 700; font-size: clamp(2.5rem, 1.4rem + 4vw, 5rem);
  line-height: 0.95; letter-spacing: -0.015em; word-spacing: 0.1em;
}
.comments__note { margin-top: var(--fx-space-3); color: var(--fx-ink); max-width: 34rem; }
.comments__strip {
  overflow: hidden; margin-top: var(--fx-space-6); padding-block: 22px 30px;
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none;
}
.comments__strip.is-dragging { cursor: grabbing; }
[data-marquee] { display: flex; flex: none; width: max-content; will-change: transform; }
.comments__group { display: flex; flex: none; align-items: center; gap: var(--fx-space-6); padding-right: var(--fx-space-6); }
.comment {
  flex: none; max-width: 21rem; margin: 0; padding: 20px 22px;
  background: var(--fx-white); border-radius: var(--fx-radius-m);
  box-shadow: 7px 7px 0 var(--c); transform: rotate(var(--r));
  font-size: var(--fx-step-1); line-height: 1.4; color: var(--k);
}
.comment--big { font-family: var(--fx-font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; word-spacing: 0.08em; }
@media (max-width: 699px) {
  .comment { max-width: 17rem; box-shadow: 4px 4px 0 var(--c); }
}
/* ---------- Waitlist: the copy on its own, no pass graphic ---------- */
@media (min-width: 900px) { .reserve__top { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Modes ---------- */
.modes { padding-top: var(--fx-space-7); }
/* the tab is a full strip of the card's ink */
.mode__card::before { height: var(--tab); }
.mode__tab { z-index: 1; padding-top: 0; }
.mode__tab-name { font-family: var(--fx-font-display); font-weight: 600; font-size: 1.0625rem; word-spacing: 0.1em; }
.mode--k .mode__tab { color: var(--fx-white); }
.mode__tab:hover .mode__tab-name { text-decoration-color: currentColor; }
.mode__tab:focus-visible { outline-color: currentColor; }
.mode__name { text-shadow: 0.045em 0.045em 0 var(--c); }
.mode--k .mode__name { text-shadow: 0.045em 0.045em 0 #cfcfcf; }
@media (min-width: 700px) {
  /* the "in your hand" line is a strip of label tape */
  .mode__play { border-radius: 0; background: var(--k); color: var(--fx-white); }
  .mode__play-k { color: var(--fx-yellow); }
}
@media (min-width: 960px) and (min-height: 720px) { .mode__body { padding-top: 12px; } }
@media (max-width: 699px) { .mode__body { padding-top: 20px; } }
/* Nov 16: the cards stick and stack at every screen size and orientation (before, only on screens at least 960 by 720).
   Each card is as tall as the screen allows under the header and the tabs of the cards beneath it, and its print scales
   to the room left in the card (.mode__stage is a size container), so a phone held either way shows the whole card.
   Below 760 tall the description, the "in your hand" line and the view meter step aside; the print's arrow stays, and
   only steps aside below 560 tall. Below 500 tall (a phone on its side) the tabs get slimmer too.
   Nov 17, phones: the arrow and its "Drag…" prompt were missing and the print's sheet ran into the card's bottom edge
   (seen on an Android phone in the Claude app, about 384 by 655: under 760 tall the arrow stepped aside). Now the
   description and the meter step aside on every phone (the print plays through once by itself instead, theme.js), the
   arrow stays down to 560 tall, and the tabs are slimmer. The cards end 16px above the bottom, plus whatever theme.js
   measures as hidden under a browser or app bar (--hide-b); that phone showed no bar over the page. */
.stack {
  --stick-gap: 12px; --end-gap: 16px;
  --card-h: min(660px, calc(100vh - var(--head-h) - var(--stick-gap) - 3 * var(--tab) - var(--end-gap)));
  --card-h: min(660px, calc(100svh - var(--head-h) - var(--stick-gap) - 3 * var(--tab) - var(--end-gap)));
}
.mode { position: sticky; top: calc(var(--head-h) + var(--stick-gap) + var(--i) * var(--tab)); height: var(--card-h); }
.mode + .mode { margin-top: var(--card-gap); }
.mode + .mode::before, .mode:nth-child(n + 3)::after { display: none; }
.stack__end { height: 10vh; }
.mode__card { display: flex; flex-direction: column; height: 100%; }
.mode__tab { flex: none; }
.mode__body {
  flex: 1; min-height: 0; height: auto; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
  gap: 12px; align-items: stretch; padding: 10px 18px 14px;
}
@media (min-width: 700px) {
  .mode__body { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: var(--fx-space-7); align-items: center; padding: 12px 48px 16px; }
}
@media (min-width: 960px) { .mode__body { padding-inline: 64px; } }
.mode__stage { --cap-h: 100px; container-type: size; display: grid; place-items: center; min-height: 0; height: 100%; }
.mode__stage .mode__print { width: min(330px, calc(100cqw - 32px), calc((100cqh - var(--cap-h)) / var(--print-ratio))); }
.mode__name { font-size: min(clamp(4.5rem, 1.6rem + 7.2vw, 9.5rem), 14vh); font-size: min(clamp(4.5rem, 1.6rem + 7.2vw, 9.5rem), 14svh); }
@media (max-width: 699px) {
  :root { --tab: 40px; }
  .stack { --end-gap: calc(16px + var(--hide-b, 0px)); }
  .mode__name { font-size: min(clamp(3.5rem, 18vw, 5rem), 10vh); font-size: min(clamp(3.5rem, 18vw, 5rem), 10svh); }
  .mode__desc, .mode__play, .mode .meter { display: none; }
  .mode__stage { --cap-h: 52px; }
}
@media (max-height: 760px) {
  .mode__desc, .mode__play, .mode .meter { display: none; }
  .mode__stage { --cap-h: 52px; }
}
@media (max-height: 560px) {
  .mode__stage { --cap-h: 0px; }
  .mode .fx-print__caption { display: none; }
}
@media (max-height: 500px) {
  :root { --tab: 32px; }
  .mode__tab-name { font-size: 0.875rem; }
  .mode__line { margin-top: 6px; font-size: 1.125rem; }
  .mode__body { padding-block: 6px 10px; }
}
/* the view meter: which view the print is showing. Ticks only: the number of views is still in development */
.meter { display: flex; align-items: center; margin-top: 12px; }
.meter__ticks { display: flex; flex: 1; gap: 4px; }
.meter__ticks i { flex: 1; height: 8px; border-radius: 1px; background: #dcd9d2; }
.meter__ticks i.is-on { background: var(--c); }
.mode--k .meter__ticks i.is-on { background: var(--k); }
/* "Move your cursor…": a big chunky arrow in black on the ink of the sheet behind the print, pointing the way to move.
   Under the mode prints, the story print and the printer's print option. It nudges that way all the time (Nov 13). */
.story__print { --c: var(--fx-yellow); }   /* the story print sits on a yellow sheet */
:is(.mode, .story, .printer__opt--print, .moment) .fx-print__caption { align-items: center; }
:is(.mode, .story, .printer__opt--print, .moment) .fx-print__hint {
  position: relative; isolation: isolate; gap: 0; padding-left: 50px; min-height: 40px;
  font-family: var(--fx-font-display); font-weight: 600; font-size: 1rem; line-height: 1.15; word-spacing: 0.08em; color: var(--k);
}
:is(.mode, .story, .printer__opt--print, .moment) .fx-print__hint::before, :is(.mode, .story, .printer__opt--print, .moment) .fx-print__hint::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px;
  -webkit-mask: var(--hint-arrow) center / contain no-repeat; mask: var(--hint-arrow) center / contain no-repeat;
  --hint-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M18 1.5 30.5 14H23v8h7.5L18 34.5 5.5 22H13v-8H5.5z' fill='%23000' stroke='%23000' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E");
}
:is(.mode, .story, .printer__opt--print, .moment) .fx-print__hint::before { z-index: 1; background: var(--k); transform: none; }
:is(.mode, .story, .printer__opt--print, .moment) .fx-print__hint::after { z-index: 0; background: var(--c); translate: 4px 4px; }
.mode--k .fx-print__hint::after { background: #cfcfcf; }
/* 3D turns side to side: the same arrow, lying down (the nudge runs along the arrow, so it goes sideways too) */
.mode .fx-print--3d .fx-print__hint::before, .mode .fx-print--3d .fx-print__hint::after { rotate: 90deg; }
/* Nov 13: every print's arrow nudges all the time, not only during the first-view hint or on hover. Still under reduced motion */
:is(.mode, .story, .printer__opt--print, .moment) .fx-print__hint::before, :is(.mode, .story, .printer__opt--print, .moment) .fx-print__hint::after { animation: hint-nudge 0.7s ease-in-out infinite alternate; }
@keyframes hint-nudge { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
/* Nov 16: while a print is being played, the page holds still. On a touch screen a finger on any print that plays
   (3D, motion, flip, and the moments) moves the print, never the page: 3D drags sideways, motion and flip up and down or
   sideways (theme.js turns on FxPrint.touchDrag). Still prints don't play, so a swipe on them scrolls as normal.
   (theme.js also stops the mouse wheel scrolling the page while the cursor is over a print.) */
.fx-print:not(.fx-print--still) .fx-print__stage { touch-action: none; }
/* phone tilt turns on by itself (theme.js), so the per-print "Use phone tilt" buttons are not needed */
.fx-print__gyro { display: none !important; }


/* ---------- Nov 17: the privacy policy and terms of use are back, as pages of their own (privacy.html, terms.html,
   their look is legal.css). Linked in the footer only: the links under both signups came off on Nov 18. ---------- */
.foot__base { align-items: center; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 4px var(--fx-space-5); }
.foot__legal a, .fx-signup__note a { text-decoration: underline; text-decoration-color: var(--fx-magenta); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.foot__legal a { display: inline-flex; align-items: center; min-height: 32px; }

/* ---------- How it works: white, no band (Nov 13). v08's paper zigzag band is switched off too ---------- */
.how { margin-top: 0; padding-block: var(--fx-section) 0; }
.how::before { display: none; }
.how .section-head__intro, .how .step__text p, .how .facts__list dd { color: var(--fx-ink); }
.step__media { box-shadow: 6px 6px 0 var(--k); }
/* Nov 13: no light hairline at the edges (the box was mist behind a video a pixel short; now black, and the picture
   is drawn 1% larger so it always covers), and a double-click in the step text can't select the picture next to it */
.step__media { background: var(--k); -webkit-user-select: none; user-select: none; }
.step__media > img, .step__media > video { transform: scale(1.01); }
.step__num { -webkit-user-select: none; user-select: none; }

/* ---------- The app (Nov 14): the cyan band (C), one phone tilted a little, playing a short path through the app
   (capture, print, send, chat, My Stax, Discover, Profile), with the steps listed beside it. The screens follow
   App Design 2.0 (390 by 844, Android first): the Camera is dark, the rest light; lowercase Clash Display for titles,
   chips and tabs; Satoshi for names and messages; magenta only for what's picked or pressed; the picked tab in magenta
   with cyan up-right and yellow down-left; mode tags as dark chips. Every size is in --u, one 390th of the screen's
   width, so a screen scales with its phone. Real clips and photos from our own footage; the names are made up. ---------- */
.app { margin-top: var(--fx-section); color: var(--k); }
.app::before { background: var(--fx-cyan); }
.app .section-head__intro { margin-top: var(--fx-space-4); color: var(--fx-ink); }
.app :focus-visible { outline-color: var(--k); }
.app__inner { display: grid; gap: var(--fx-space-7); grid-template-areas: "head" "stage" "list"; }
.app__head { grid-area: head; }
.app__stage { grid-area: stage; display: grid; place-items: center; padding: 8px 0 16px; }
.journey { grid-area: list; display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; max-width: 34rem; }
@media (min-width: 900px) {
  .app__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); grid-template-rows: auto 1fr;
    grid-template-areas: "head stage" "list stage"; column-gap: var(--fx-space-9); row-gap: var(--fx-space-7);
  }
  .app__stage { align-self: center; }
}

/* the steps: the one on screen is a white card on a hard black offset; a click jumps the phone to it */
.journey__step {
  display: grid; grid-template-columns: 2.2em minmax(0, 1fr); column-gap: 8px; align-items: baseline; width: 100%;
  padding: 12px 16px; border: 0; border-radius: 14px; background: transparent; color: var(--k);
  font: inherit; text-align: left; cursor: pointer; transition: background-color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.journey__num { font-family: var(--fx-font-display); font-weight: 600; font-size: var(--fx-step--1); }
.journey__k { font-family: var(--fx-font-display); font-weight: 600; font-size: var(--fx-step-1); line-height: 1.2; word-spacing: 0.1em; }
.journey__t { grid-column: 2; margin-top: 2px; line-height: 1.4; }
.journey__step:hover { background: rgba(255, 255, 255, 0.4); }
.journey__step.is-on { background: var(--fx-white); box-shadow: 5px 5px 0 var(--k); }
@media (max-width: 699px) {
  .journey__step { padding: 10px 14px; }
  .journey__t { font-size: var(--fx-step--1); }
}

/* the phone: the frame is the size container, so the screens inside (and everything on them) can be sized in its units.
   Tilted a little, on a hard yellow offset */
.phone { container-type: inline-size; padding: 8px; border-radius: 42px; background: var(--k); }
.phone__screen { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 34px; background: var(--fx-white); }
.app__phone { width: min(66vw, 320px); transform: rotate(-4deg); box-shadow: 10px 10px 0 var(--fx-yellow); }

/* the screens sit on top of each other; the one on screen slides in from the right as the last slides off left */
.ui__screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(8%); transition: opacity 420ms ease, transform 420ms ease, visibility 0s linear 420ms; }
.ui__screen:not(.ui--dark) { background: var(--fx-white); }
.ui__screen.is-on { z-index: 1; opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.ui__screen.is-off { transform: translateX(-8%); }
/* a finger tap on what moves the path on (the shutter, the send button, the next tab) */
.ui__finger {
  position: absolute; z-index: 5; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u));
  width: calc(62 * var(--u)); height: calc(62 * var(--u)); margin: calc(-31 * var(--u)) 0 0 calc(-31 * var(--u));
  border-radius: 50%; background: rgba(0, 0, 0, 0.2); box-shadow: 0 0 0 calc(2 * var(--u)) rgba(255, 255, 255, 0.9);
  opacity: 0; pointer-events: none;
}
.ui__screen.is-tap .ui__finger { animation: ui-tap 650ms ease-out forwards; }
@keyframes ui-tap {
  0% { opacity: 0; transform: scale(1.35); }
  35% { opacity: 1; transform: scale(0.8); }
  60% { opacity: 1; transform: scale(0.72); }
  100% { opacity: 0; transform: scale(1.3); }
}

.ui {
  --u: calc(100cqw / 390); --ms: #df1787; --surface: #f2f2f2; --muted: #6b6b6b;
  display: flex; flex-direction: column; height: 100%; color: var(--k);
  font-family: var(--fx-font-body); font-size: calc(15 * var(--u)); line-height: 1.3;
}
.ui--dark { background: var(--k); color: var(--fx-white); }
.ui video, .ui img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ui .ic { display: inline-block; flex: none; width: calc(24 * var(--u)); height: calc(24 * var(--u)); background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
/* the picked tab (and the bolts heart): magenta, cyan up-right, yellow down-left */
.ui__on { display: inline-flex; color: var(--fx-magenta); filter: drop-shadow(calc(1.5 * var(--u)) calc(-1.5 * var(--u)) 0 var(--fx-cyan)) drop-shadow(calc(-1.5 * var(--u)) calc(1.5 * var(--u)) 0 var(--fx-yellow)); }
.ui__tag {
  position: absolute; right: calc(10 * var(--u)); bottom: calc(10 * var(--u)); padding: calc(4 * var(--u)) calc(11 * var(--u));
  border-radius: 999px; background: rgba(0, 0, 0, 0.7); color: var(--fx-white);
  font-family: var(--fx-font-display); font-weight: 600; font-size: calc(13 * var(--u)); line-height: 1.2; word-spacing: 0.1em;
}
.ui__av {
  display: inline-grid; place-items: center; flex: none; width: calc(36 * var(--u)); height: calc(36 * var(--u)); border-radius: 50%;
  background: var(--surface); color: var(--k); font-weight: 700; font-size: calc(12 * var(--u));
}
.ui__tabs { display: flex; justify-content: space-around; align-items: center; margin-top: auto; height: calc(84 * var(--u)); padding-bottom: calc(14 * var(--u)); }
.ui__tabs .ic { width: calc(26 * var(--u)); height: calc(26 * var(--u)); }
.ui__tabs--light { border-top: 1px solid #e3e3e3; background: var(--fx-white); position: relative; z-index: 1; }
.ui__badged { position: relative; display: inline-flex; }
.ui__badged b {
  position: absolute; top: calc(-8 * var(--u)); right: calc(-10 * var(--u)); display: grid; place-items: center;
  min-width: calc(19 * var(--u)); height: calc(19 * var(--u)); border-radius: 999px; background: var(--fx-magenta); color: var(--fx-white);
  font-weight: 700; font-size: calc(11 * var(--u)); line-height: 1;
}

/* the Camera */
.ui__top { position: relative; display: flex; align-items: center; justify-content: space-between; height: calc(112 * var(--u)); padding: calc(4 * var(--u)) calc(16 * var(--u)) 0; }
.ui__logo { position: absolute; left: 50%; top: calc(58 * var(--u)); width: auto !important; height: calc(28 * var(--u)) !important; transform: translate(-50%, -50%); object-fit: contain; }
.ui__top-end { display: inline-flex; gap: calc(14 * var(--u)); }
.ui__finder { flex: none; height: calc(390 * var(--u)); background: #222; }
.ui__finder video { object-position: 50% 42%; }
.ui__modes {
  display: flex; justify-content: center; align-items: center; gap: calc(24 * var(--u)); height: calc(78 * var(--u));
  font-family: var(--fx-font-display); font-weight: 600; font-size: calc(13 * var(--u)); word-spacing: 0.1em;
}
.ui__modes .is-on { padding: calc(6 * var(--u)) calc(18 * var(--u)); border-radius: 999px; background: var(--fx-magenta); font-size: calc(15 * var(--u)); }
.ui__shoot { position: relative; height: calc(130 * var(--u)); }
.ui__shoot > * { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.ui__gallery { left: calc(76 * var(--u)); }
.ui__shutter { left: 50%; display: grid; place-items: center; width: calc(84 * var(--u)); height: calc(84 * var(--u)); border-radius: 50%; background: var(--fx-white); }
.ui__shutter span { width: calc(60 * var(--u)); height: calc(60 * var(--u)); border-radius: 50%; background: var(--fx-magenta); box-shadow: calc(3 * var(--u)) calc(-3 * var(--u)) 0 var(--fx-cyan), calc(-3 * var(--u)) calc(3 * var(--u)) 0 var(--fx-yellow); }
.ui__filter, .ui__face { display: grid; place-items: center; width: calc(52 * var(--u)); height: calc(52 * var(--u)); border-radius: 50%; }
.ui__filter { left: calc(277 * var(--u)); background: #1c1c1e; box-shadow: inset 0 0 0 calc(2.5 * var(--u)) var(--fx-magenta); }
.ui__face { left: calc(345 * var(--u)); background: #0e0e0f; color: #3d3d3f; box-shadow: inset 0 0 0 calc(2 * var(--u)) #3a1027; }

/* Discover */
.ui__head { display: flex; justify-content: space-between; align-items: center; padding: calc(40 * var(--u)) calc(16 * var(--u)) 0; }
.ui__title { font-family: var(--fx-font-display); font-weight: 700; font-size: calc(26 * var(--u)); line-height: 1; word-spacing: 0.1em; }
.ui__pill, .ui__chips span {
  display: inline-flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(6 * var(--u)) calc(15 * var(--u)); border-radius: 999px;
  box-shadow: inset 0 0 0 calc(1.5 * var(--u)) var(--k); font-family: var(--fx-font-display); font-weight: 600; font-size: calc(15 * var(--u)); word-spacing: 0.1em;
}
.ui__go { width: calc(12 * var(--u)); height: calc(12 * var(--u)); border-top: calc(2 * var(--u)) solid; border-right: calc(2 * var(--u)) solid; position: relative; }
.ui__go::after { content: ""; position: absolute; right: calc(-1 * var(--u)); top: calc(-1 * var(--u)); width: calc(14 * var(--u)); height: calc(2 * var(--u)); background: currentColor; transform-origin: right center; transform: rotate(-45deg); }
.ui__chips { display: flex; gap: calc(8 * var(--u)); padding: calc(16 * var(--u)) calc(16 * var(--u)) 0; }
.ui__chips .is-on { background: var(--ms); box-shadow: none; color: var(--fx-white); }
.ui__feed { flex: 1; min-height: 0; overflow: hidden; }
.ui__post { padding: calc(18 * var(--u)) calc(16 * var(--u)) 0; }
.ui__who { display: flex; align-items: center; gap: calc(10 * var(--u)); font-weight: 500; }
.ui__photo { position: relative; margin-top: calc(10 * var(--u)); aspect-ratio: 1; overflow: hidden; border-radius: calc(12 * var(--u)); background: var(--surface); }
.ui__like { margin-top: calc(10 * var(--u)); }

/* a chat */
.ui__chat-head { display: flex; align-items: center; gap: calc(10 * var(--u)); padding: calc(34 * var(--u)) calc(16 * var(--u)) calc(12 * var(--u)); }
.ui__av--ring { width: calc(32 * var(--u)); height: calc(32 * var(--u)); box-shadow: inset 0 0 0 calc(1.5 * var(--u)) #b9b9b9; font-size: calc(11 * var(--u)); }
.ui__name { flex: 1; font-weight: 500; font-size: calc(17 * var(--u)); }
.ui__bolts { display: inline-flex; align-items: center; gap: calc(7 * var(--u)); padding: calc(6 * var(--u)) calc(13 * var(--u)) calc(6 * var(--u)) calc(11 * var(--u)); border-radius: 999px; background: var(--k); color: var(--fx-white); font-family: var(--fx-font-display); font-weight: 700; font-size: calc(15 * var(--u)); }
.ui__bolts .ic { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.ui__msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: calc(10 * var(--u)); padding: 0 calc(16 * var(--u)) calc(14 * var(--u)); }
.ui__day { align-self: center; margin-bottom: calc(4 * var(--u)); font-family: var(--fx-font-display); font-weight: 600; font-size: calc(12 * var(--u)); color: var(--muted); }
/* bubbles: 18 corners, one top corner cut 8 at 45 degrees (the chat icon's cut) */
.ui__bubble {
  align-self: flex-start; max-width: 80%; margin: 0; padding: calc(10 * var(--u)) calc(14 * var(--u)); border-radius: 0 calc(18 * var(--u)) calc(18 * var(--u)) calc(18 * var(--u));
  background: var(--surface); clip-path: polygon(calc(8 * var(--u)) 0, 100% 0, 100% 100%, 0 100%, 0 calc(8 * var(--u)));
}
.ui__bubble--me { align-self: flex-end; background: var(--ms); color: var(--fx-white); border-radius: calc(18 * var(--u)) 0 calc(18 * var(--u)) calc(18 * var(--u)); clip-path: polygon(0 0, calc(100% - 8 * var(--u)) 0, 100% calc(8 * var(--u)), 100% 100%, 0 100%); }
.ui__them { display: flex; align-items: flex-end; gap: calc(8 * var(--u)); }
.ui__them > div { display: flex; flex-direction: column; align-items: flex-start; gap: calc(8 * var(--u)); min-width: 0; }
.ui__them .ui__bubble { max-width: calc(260 * var(--u)); }
.ui__av--sm { width: calc(28 * var(--u)); height: calc(28 * var(--u)); font-size: calc(10 * var(--u)); margin-bottom: calc(20 * var(--u)); }
.ui__av--plain { margin-bottom: 0; }
.ui__photo--chat { width: calc(216 * var(--u)); margin-top: 0; }
.ui__meta { font-size: calc(12 * var(--u)); color: var(--muted); }
.ui__compose { display: flex; align-items: center; gap: calc(12 * var(--u)); padding: calc(10 * var(--u)) calc(12 * var(--u)) calc(30 * var(--u)) calc(16 * var(--u)); border-top: 1px solid #e3e3e3; }
.ui__field { flex: 1; padding: calc(11 * var(--u)) calc(16 * var(--u)); border-radius: 999px; background: var(--surface); color: #777; }
.ui__send { display: grid; place-items: center; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; background: var(--surface); }

/* the chat's last two messages arrive while it's on screen */
.ui__mine { align-self: flex-end; display: flex; flex-direction: column; align-items: flex-end; gap: calc(6 * var(--u)); }
.ui__screen.is-on .ui__them--late { animation: ui-pop 320ms ease-out 1.1s both; }
.ui__screen.is-on .ui__bubble--late { animation: ui-pop 320ms ease-out 2.2s both; }
@keyframes ui-pop { from { opacity: 0; transform: translateY(calc(12 * var(--u))); } }

/* shared bits for the print, My Stax and Profile screens */
.ui__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; flex: none; height: calc(112 * var(--u)); padding: calc(4 * var(--u)) calc(16 * var(--u)) 0; }
.ui__bar--lo { height: calc(92 * var(--u)); padding-top: calc(16 * var(--u)); }
.ui__bar-t { font-family: var(--fx-font-display); font-weight: 600; font-size: calc(16 * var(--u)); word-spacing: 0.1em; }
.ui__bar-end { justify-self: end; display: inline-flex; align-items: center; gap: calc(18 * var(--u)); }
.ui__chip {
  display: inline-flex; align-items: center; gap: calc(6 * var(--u)); padding: calc(7 * var(--u)) calc(13 * var(--u)); border-radius: 999px;
  box-shadow: inset 0 0 0 calc(1.5 * var(--u)) var(--k); font-family: var(--fx-font-display); font-weight: 600; font-size: calc(14 * var(--u));
  line-height: 1.2; white-space: nowrap; word-spacing: 0.1em;
}
.ui__chip .ic { width: calc(17 * var(--u)); height: calc(17 * var(--u)); }
.ui__sec { display: flex; align-items: baseline; gap: calc(6 * var(--u)); padding: calc(18 * var(--u)) calc(16 * var(--u)) calc(10 * var(--u)); color: var(--muted); font-size: calc(15 * var(--u)); }
.ui__sec b { color: var(--k); font-family: var(--fx-font-display); font-weight: 700; font-size: calc(20 * var(--u)); word-spacing: 0.1em; }
.ui__sec-end { margin-left: auto; color: var(--k); font-family: var(--fx-font-display); font-weight: 600; font-size: calc(14 * var(--u)); }
.ui__tag--sm { left: calc(7 * var(--u)); right: auto; bottom: calc(7 * var(--u)); padding: calc(3 * var(--u)) calc(9 * var(--u)); font-size: calc(11 * var(--u)); }

/* printing: the preview dimmed under the printing card; the magenta part of the bar fills while it's on screen */
.ui__square { flex: none; height: calc(390 * var(--u)); background: #222; }
.ui__strip { position: relative; display: flex; height: calc(54 * var(--u)); margin: calc(14 * var(--u)) calc(16 * var(--u)) 0; overflow: hidden; border-radius: calc(6 * var(--u)); }
.ui__strip span { flex: 1; background: url(shared/media/video/v-heart-hands.jpg) var(--p) 40% / cover; opacity: 0.5; }
.ui__strip span:nth-child(n+2):nth-child(-n+4) { opacity: 1; }
.ui__strip::after { content: ""; position: absolute; top: 0; bottom: 0; left: 20%; width: 60%; border: calc(3 * var(--u)) solid var(--fx-magenta); border-radius: calc(5 * var(--u)); }
.ui__print {
  position: absolute; left: calc(16 * var(--u)); right: calc(16 * var(--u)); bottom: calc(44 * var(--u)); display: grid; place-items: center;
  height: calc(60 * var(--u)); border-radius: 999px; background: var(--fx-magenta); color: var(--fx-white);
  font-family: var(--fx-font-display); font-weight: 600; font-size: calc(22 * var(--u));
  box-shadow: calc(3 * var(--u)) calc(-3 * var(--u)) 0 var(--fx-cyan), calc(-3 * var(--u)) calc(3 * var(--u)) 0 var(--fx-yellow);
}
.ui__dim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }
.ui__card {
  position: absolute; left: calc(34 * var(--u)); right: calc(34 * var(--u)); top: calc(290 * var(--u)); display: flex; flex-direction: column; align-items: center;
  gap: calc(14 * var(--u)); padding: calc(28 * var(--u)) calc(24 * var(--u)) calc(22 * var(--u)); border-radius: calc(18 * var(--u)); background: var(--fx-white);
}
.ui .ui__bolt { width: auto; height: calc(72 * var(--u)); object-fit: contain; }
.ui__card-t { font-family: var(--fx-font-display); font-weight: 700; font-size: calc(22 * var(--u)); line-height: 1; }
.ui__prog { display: flex; gap: calc(8 * var(--u)); width: 100%; }
.ui__prog i { position: relative; flex: 1; height: calc(5 * var(--u)); overflow: hidden; border-radius: 9px; background: #dcdcdc; }
.ui__prog i:first-child { background: var(--fx-yellow); }
.ui__prog i:nth-child(2)::before { content: ""; position: absolute; inset: 0; background: var(--fx-magenta); transform-origin: left center; transform: scaleX(0.15); }
.ui__screen.is-on .ui__prog i:nth-child(2)::before { animation: ui-fill 2.3s linear forwards; }
@keyframes ui-fill { to { transform: scaleX(1); } }
.ui__btn { display: block; width: 100%; padding: calc(12 * var(--u)); border-radius: 999px; box-shadow: inset 0 0 0 calc(1.5 * var(--u)) var(--k); text-align: center; font-family: var(--fx-font-display); font-weight: 600; font-size: calc(15 * var(--u)); }

/* printed: saved to My Stax, two friends picked, the send button */
.ui__done { display: flex; flex-direction: column; align-items: center; }
.ui__thumb { position: relative; width: calc(220 * var(--u)); margin-top: calc(10 * var(--u)); aspect-ratio: 1; overflow: hidden; border-radius: calc(12 * var(--u)); }
.ui__done-t { margin-top: calc(24 * var(--u)); font-family: var(--fx-font-display); font-weight: 700; font-size: calc(30 * var(--u)); line-height: 1; }
.ui__done-s { margin-top: calc(8 * var(--u)); color: var(--muted); font-size: calc(15 * var(--u)); }
.ui__panel { display: flex; flex-direction: column; gap: calc(12 * var(--u)); margin-top: auto; padding: calc(22 * var(--u)) calc(16 * var(--u)) calc(30 * var(--u)); border-radius: calc(20 * var(--u)) calc(20 * var(--u)) 0 0; background: var(--surface); }
.ui__panel-h { font-family: var(--fx-font-display); font-weight: 600; font-size: calc(15 * var(--u)); word-spacing: 0.1em; }
.ui__people { display: flex; align-items: flex-start; gap: calc(16 * var(--u)); }
.ui__people .ui__chip { margin-top: calc(13 * var(--u)); }
.ui__person { display: flex; flex-direction: column; align-items: center; gap: calc(6 * var(--u)); font-size: calc(12 * var(--u)); }
.ui__av--pick { position: relative; width: calc(52 * var(--u)); height: calc(52 * var(--u)); background: var(--fx-white); color: var(--fx-magenta); box-shadow: inset 0 0 0 calc(2 * var(--u)) var(--fx-magenta); font-family: var(--fx-font-display); font-size: calc(15 * var(--u)); }
.ui__av--pick b { position: absolute; right: calc(-3 * var(--u)); bottom: calc(-3 * var(--u)); display: grid; place-items: center; width: calc(21 * var(--u)); height: calc(21 * var(--u)); border-radius: 50%; background: var(--fx-magenta); color: var(--fx-white); box-shadow: 0 0 0 calc(2 * var(--u)) var(--surface); }
.ui__av--pick b .ic { width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.ui__albums { display: flex; gap: calc(8 * var(--u)); }
.ui__cta {
  display: flex; align-items: center; justify-content: center; gap: calc(8 * var(--u)); height: calc(56 * var(--u)); margin-top: calc(6 * var(--u));
  border-radius: 999px; background: var(--fx-magenta); color: var(--fx-white); font-family: var(--fx-font-display); font-weight: 600; font-size: calc(18 * var(--u)); word-spacing: 0.1em;
}
.ui__cta .ic { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }

/* My Stax: an album friends can see, so its cover keeps the yellow sheet (brand kit 1.1) */
.ui__album { display: flex; align-items: center; gap: calc(22 * var(--u)); padding: calc(10 * var(--u)) calc(16 * var(--u)) 0 calc(20 * var(--u)); }
.ui__cover { flex: none; width: calc(124 * var(--u)); height: calc(124 * var(--u)); overflow: hidden; border-radius: calc(6 * var(--u)); box-shadow: calc(8 * var(--u)) calc(-8 * var(--u)) 0 var(--fx-yellow); }
.ui__album-txt { display: flex; flex-direction: column; gap: calc(4 * var(--u)); min-width: 0; color: var(--muted); font-size: calc(15 * var(--u)); }
.ui__album-txt b { color: var(--k); font-size: calc(24 * var(--u)); font-weight: 700; line-height: 1.15; }
.ui__row { display: flex; align-items: center; gap: calc(12 * var(--u)); margin: calc(22 * var(--u)) calc(16 * var(--u)) 0; padding: calc(12 * var(--u)) calc(14 * var(--u)); border-radius: calc(12 * var(--u)); background: var(--surface); }
.ui__row-ic { display: grid; place-items: center; flex: none; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; background: var(--fx-yellow); box-shadow: inset 0 0 0 calc(1.5 * var(--u)) var(--k); }
.ui__row-ic .ic { width: calc(20 * var(--u)); height: calc(20 * var(--u)); }
.ui__row-txt { flex: 1; display: flex; flex-direction: column; gap: calc(2 * var(--u)); min-width: 0; color: var(--muted); font-size: calc(13 * var(--u)); }
.ui__row-txt b { color: var(--k); font-family: var(--fx-font-display); font-weight: 600; font-size: calc(16 * var(--u)); }
.ui__acts { display: flex; gap: calc(8 * var(--u)); padding: calc(16 * var(--u)) calc(16 * var(--u)) 0; }
.ui__acts .ui__chip { padding-inline: calc(11 * var(--u)); font-size: calc(13 * var(--u)); }
.ui__grid { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: calc(116 * var(--u)); align-content: start; gap: calc(6 * var(--u)); padding: 0 calc(16 * var(--u)); overflow: hidden; }
.ui__grid > span, .ui__pgrid > span { position: relative; overflow: hidden; border-radius: calc(8 * var(--u)); background: var(--surface); }

/* Profile: a ring of cyan and yellow round the picture, badges in the offset inks */
.ui__me { display: flex; align-items: center; gap: calc(20 * var(--u)); padding: calc(4 * var(--u)) calc(20 * var(--u)) 0 calc(24 * var(--u)); }
.ui__me-pic { flex: none; width: calc(116 * var(--u)); height: calc(116 * var(--u)); overflow: hidden; border-radius: 50%; box-shadow: calc(5 * var(--u)) calc(-5 * var(--u)) 0 var(--fx-cyan), calc(-5 * var(--u)) calc(5 * var(--u)) 0 var(--fx-yellow); }
.ui__me-pic img { object-position: 30% 50%; }
.ui__me-txt { display: flex; flex-direction: column; gap: calc(2 * var(--u)); min-width: 0; color: var(--muted); font-size: calc(15 * var(--u)); }
.ui__me-txt b { color: var(--k); font-size: calc(26 * var(--u)); font-weight: 700; line-height: 1.15; }
.ui__me-btns { display: flex; gap: calc(8 * var(--u)); margin-top: calc(10 * var(--u)); color: var(--k); }
.ui__stats { margin: calc(20 * var(--u)) calc(20 * var(--u)) 0; color: var(--muted); font-size: calc(15 * var(--u)); }
.ui__stats b { color: var(--k); font-weight: 700; }
.ui__badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: calc(6 * var(--u)) calc(10 * var(--u)) 0; }
.ui__badges > span { display: flex; flex-direction: column; align-items: center; gap: calc(12 * var(--u)); text-align: center; font-family: var(--fx-font-display); font-weight: 600; font-size: calc(12 * var(--u)); line-height: 1.2; word-spacing: 0.1em; }
.ui__bdg { position: relative; display: grid; place-items: center; width: calc(52 * var(--u)); height: calc(52 * var(--u)); font-family: var(--fx-font-display); font-weight: 700; font-size: calc(19 * var(--u)); }
.ui__bdg--sq { background: var(--fx-yellow); box-shadow: calc(5 * var(--u)) calc(-5 * var(--u)) 0 var(--fx-cyan), calc(-5 * var(--u)) calc(5 * var(--u)) 0 var(--fx-magenta); }
.ui__bdg--sq .ic { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }
.ui__bdg--star, .ui__bdg--heart { filter: drop-shadow(calc(4 * var(--u)) calc(-4 * var(--u)) 0 var(--fx-cyan)) drop-shadow(calc(-4 * var(--u)) calc(4 * var(--u)) 0 var(--fx-yellow)); }
.ui__bdg--star > span {
  display: grid; place-items: center; width: 100%; height: 100%; background: var(--fx-magenta);
  clip-path: polygon(50% 0, 61% 23%, 85% 15%, 77% 39%, 100% 50%, 77% 61%, 85% 85%, 61% 77%, 50% 100%, 39% 77%, 15% 85%, 23% 61%, 0 50%, 23% 39%, 15% 15%, 39% 23%);
}
.ui__bdg--dot { border-radius: 50%; background: var(--fx-cyan); box-shadow: calc(4 * var(--u)) calc(-4 * var(--u)) 0 var(--fx-magenta), calc(-4 * var(--u)) calc(4 * var(--u)) 0 var(--fx-yellow); }
.ui__bdg--heart { color: var(--fx-white); }
.ui__bdg--heart::before { content: ""; position: absolute; inset: calc(-4 * var(--u)); background: var(--k); -webkit-mask: url(media/app/heart-filled.svg) center / contain no-repeat; mask: url(media/app/heart-filled.svg) center / contain no-repeat; }
.ui__bdg--heart .ic { position: relative; width: calc(20 * var(--u)); height: calc(20 * var(--u)); margin-top: calc(-3 * var(--u)); }
.ui__seg { display: inline-flex; align-self: center; margin-left: auto; padding: calc(3 * var(--u)); border-radius: 999px; background: var(--surface); }
.ui__seg span { padding: calc(5 * var(--u)) calc(12 * var(--u)); border-radius: 999px; color: var(--muted); font-family: var(--fx-font-display); font-weight: 600; font-size: calc(13 * var(--u)); }
.ui__seg .is-on { background: var(--fx-magenta); color: var(--fx-white); }
.ui__pgrid { flex: 1; min-height: 0; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: calc(6 * var(--u)); padding: 0 calc(16 * var(--u)) calc(10 * var(--u)); }
.ui__pgrid > span:first-child { grid-row: span 2; }

/* under reduced motion the path doesn't move on by itself (theme.js), and nothing slides, taps or fills */
@media (prefers-reduced-motion: reduce) {
  .ui__screen { transition: none; }
  .ui__finger { display: none; }
  .ui__screen.is-on .ui__prog i:nth-child(2)::before, .ui__screen.is-on .ui__them--late, .ui__screen.is-on .ui__bubble--late { animation: none; }
}

/* ---------- Our story: the cyan band (C) again since Nov 16, between the yellow comments and the magenta last call.
   Its print sits on a yellow sheet ---------- */
.story { margin-top: 0; }
.story::before { background: var(--fx-cyan); }
.story__text > p:last-child, .story .fx-print__tag, .story .fx-print__hint { color: var(--fx-ink); }

/* ---------- As seen in (on the yellow band, under the comments) ---------- */
.trust { padding-top: var(--fx-section); }
.trust__inner { border-top: 0; padding-top: 0; }
.trust__h { margin-bottom: var(--fx-space-6); }   /* "as seen in" is a full-size Clash Display title (set with the comments title above) */

/* ---------- The last call: the magenta band (M) ---------- */
.join__title { text-shadow: 0.05em 0.05em 0 var(--k); }

/* ---------- Footer (the colour bar that used to open it was removed in the fifth pass) ---------- */
.foot { padding-top: 0; }
.foot__top { padding-top: var(--fx-space-8); }
/* Nov 14: the logo a size up, so its wordmark sits in proportion to the line under it */
.foot__brand img { height: clamp(52px, 4.2vw, 64px); }

/* ---------- Phones ---------- */
@media (max-width: 699px) {
  .film .fx-video__toggle { right: 24px; bottom: 24px; }
  .step__media { box-shadow: 4px 4px 0 var(--k); }
}

/* ---------- Reduced motion: the arrows stay still (the comments strip doesn't drift: theme.js) ---------- */
@media (prefers-reduced-motion: reduce) {
  :is(.mode, .story, .printer__opt--print, .moment) .fx-print__hint::before, :is(.mode, .story, .printer__opt--print, .moment) .fx-print__hint::after { animation: none !important; }
  .fx-btn { transition: none; }
}
