/* ==========================================================================
   Passby — concept demo by Larpcore Labs.
   One metaphor all the way down: the paper stamp card and the wallet pass.
   Ink stamps, perforations, ticket notches, measured rings.
   ========================================================================== */

/* Display caps sit on .84 line boxes. Archivo's default descent (.21em) is for lowercase tails the
   headings never use, so it is trimmed: the line box then matches the ink and stacked lines don't
   claim each other's space (selection, hit-testing). Lines get extra clip room below for commas. */
@font-face { font-family: 'PB Display'; src: url('../../../fonts/Archivo-var.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; ascent-override: 88%; descent-override: 13%; }
@font-face { font-family: 'PB Text'; src: url('../../../fonts/Geist-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'PB UI'; src: url('../../../fonts/inter-tight-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'PB Mono'; src: url('../../../fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'PB Mono'; src: url('../../../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --paper: #EEEAE1;
  --paper-hi: #F6F3EC;
  --paper-lo: #E3DED2;
  --ink: #151310;
  --ink-2: #4A463F;
  --ink-3: #8B857A;
  --rule: rgba(21, 19, 16, .17);
  --rule-2: rgba(21, 19, 16, .09);
  --red: #E1301C;
  --red-deep: #C4250F;

  --pad: clamp(16px, 2.3vw, 36px);
  --hdr: 68px;
  --sec-y: clamp(88px, 10.5vw, 168px);

  --display: 'PB Display', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --text: 'PB Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ui: 'PB UI', 'PB Text', system-ui, sans-serif;
  --mono: 'PB Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.215, .61, .355, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--paper); color: var(--ink);
  font-family: var(--text); font-size: 16px; font-weight: 400; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; overflow-x: hidden; overflow-x: clip; }
/* phones widen the layout viewport for anything that pokes out sideways (then the whole page renders
   zoomed out and taps land off target), so main clips horizontally as a safety net */
main { display: block; overflow-x: hidden; overflow-x: clip; }
::selection { background: var(--red); color: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; }
input { font: inherit; color: inherit; }
h1, h2, h3, p, dl, dd { margin: 0; font-weight: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
svg { display: block; }
[hidden] { display: none !important; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

/* paper grain, drawn once */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08  0 0 0 0 .07  0 0 0 0 .06  0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ---------- type ---------- */
.display {
  font-family: var(--display); font-weight: 800; font-stretch: 62%;
  text-transform: uppercase; line-height: .84; letter-spacing: -.004em;
  font-kerning: normal;
}
.mono { font-family: var(--mono); font-size: 11px; line-height: 1.35; letter-spacing: .07em; text-transform: uppercase; font-weight: 400; }

/* ---------- ticket buttons (notched like a stub) ---------- */
.tkt {
  --n: 6px; --h: 52px;
  position: relative; display: inline-flex; align-items: stretch; height: var(--h);
  font: 500 15px/1 var(--text); letter-spacing: -.005em; white-space: nowrap;
  border-radius: 3px; isolation: isolate;
  -webkit-mask: radial-gradient(circle at 0 50%, #0000 var(--n), #000 calc(var(--n) + .5px)) 0 0 / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, #0000 var(--n), #000 calc(var(--n) + .5px)) 100% 0 / 51% 100% no-repeat;
          mask: radial-gradient(circle at 0 50%, #0000 var(--n), #000 calc(var(--n) + .5px)) 0 0 / 51% 100% no-repeat,
                radial-gradient(circle at 100% 50%, #0000 var(--n), #000 calc(var(--n) + .5px)) 100% 0 / 51% 100% no-repeat;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.tkt > span { display: inline-flex; align-items: center; }
.tkt > span:first-child, .tkt > .tkt__dot + span { padding: 0 20px 0 24px; }
.tkt__arr {
  position: relative; justify-content: center; min-width: 50px; padding: 0 16px 0 14px;
  font-family: var(--mono); font-size: 14px;
  background-image: linear-gradient(currentColor 50%, transparent 0); background-size: 1px 6px; background-repeat: repeat-y; background-position: 0 0;
}
.tkt__arr::after { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease-expo); }
.tkt--ink { background: var(--ink); color: var(--paper); }
.tkt--ink .tkt__arr { background-image: linear-gradient(rgba(238,234,225,.4) 50%, transparent 0); }
.tkt--line { background: var(--paper-lo); color: var(--ink); }
.tkt--line .tkt__arr { background-image: linear-gradient(rgba(21,19,16,.35) 50%, transparent 0); }
.tkt--red { background: var(--red); color: #fff; }
.tkt--red .tkt__arr { background-image: linear-gradient(rgba(255,255,255,.45) 50%, transparent 0); font-weight: 500; }
.tkt--red .tkt__arr::after { background: var(--ink); }
@media (hover: hover) {
  .tkt:hover .tkt__arr::after { transform: scaleX(1); transform-origin: 0 50%; }
  .tkt--line:hover .tkt__arr { color: #fff; }
}
.tkt:active { transform: translateY(1px); }

.btn-mini {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  border: 1px solid var(--rule); border-radius: 2px; background: transparent;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s;
}
@media (hover: hover) { .btn-mini:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); } }

.seg { display: inline-flex; border: 1px solid var(--ink); border-radius: 2px; overflow: hidden; }
.seg button {
  height: 34px; padding: 0 13px; font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.seg button + button { border-left: 1px solid var(--ink); }
.seg button em { font-style: normal; opacity: .55; margin-left: 6px; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--paper); }
@media (hover: hover) { .seg button[aria-checked="false"]:hover { background: var(--paper-lo); } }
.seg--sm button { height: 30px; padding: 0 11px; }

/* ---------- header ---------- */
.hdr {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--hdr);
  display: flex; align-items: center; gap: 24px; padding: 0 var(--pad);
  color: var(--ink); transition: transform .6s var(--ease-expo), color .4s var(--ease-out);
}
.hdr::before {
  content: ''; position: absolute; inset: 0; z-index: -1; background: var(--paper);
  border-bottom: 1px solid var(--rule); opacity: 0; transition: opacity .4s var(--ease-out), background-color .4s;
}
.hdr.is-solid::before { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr[data-on="ink"] { color: var(--paper); }
.hdr[data-on="ink"]::before { background: var(--ink); border-color: rgba(238,234,225,.14); }
.hdr[data-on="red"] { color: #fff; }
.hdr[data-on="red"]::before { background: var(--red); border-color: rgba(255,255,255,.2); }
.hdr[data-on="ink"] .tkt--ink, .hdr[data-on="red"] .tkt--ink { background: var(--paper); color: var(--ink); }
.hdr[data-on="ink"] .tkt--ink .tkt__arr, .hdr[data-on="red"] .tkt--ink .tkt__arr { background-image: linear-gradient(rgba(21,19,16,.3) 50%, transparent 0); }
.hdr__logo { display: inline-flex; align-items: center; gap: 9px; }
.mark { width: 28px; height: 28px; }
.hdr__word { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 21px; letter-spacing: -.035em; line-height: 1; transform: translateY(-1px); }
.hdr__nav { display: flex; gap: 26px; margin-left: auto; margin-right: 10px; }
.hdr__nav a { position: relative; padding: 6px 0; }
.hdr__nav a i { font-style: normal; opacity: .45; margin-right: 7px; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .45s var(--ease-expo); }
@media (hover: hover) { .hdr__nav a:hover::after { transform: scaleX(1); transform-origin: 0 50%; } }
.hdr__nav a.is-current::after { transform: scaleX(1); }
.hdr__cta { --h: 42px; font-size: 14px; }
.hdr__cta > span.tkt__dot { padding: 0 0 0 18px; }
.hdr__cta .tkt__dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hdr__cta .hdr__cta-l, .hdr__cta .hdr__cta-s { padding: 0 16px 0 10px; }
.hdr__cta .hdr__cta-s { display: none; }
.hdr__cta .tkt__arr { min-width: 42px; padding: 0 13px 0 12px; }

/* ---------- load + reveal ---------- */
.js [data-load] { opacity: 0; transform: translate3d(0, 26px, 0); transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1.2s var(--ease-expo) var(--d, 0s); }
.js .is-loaded [data-load], .js.is-loaded [data-load] { opacity: 1; transform: none; }
/* masked lines: the mask reaches past the .84 line box (without changing layout) so accents (É)
   and comma tails aren't cut, while text waiting below the line stays hidden */
.ln, .split__line { display: block; padding-bottom: .02em; clip-path: inset(-.2em -.6em -.15em -.6em); }
.ln__in { display: block; }
.js .ln__in { transform: translate3d(0, 135%, 0); transition: transform 1.25s var(--ease) var(--d, 0s); }
.js.is-loaded .hero .ln__in { transform: none; }

.js [data-reveal] { opacity: 0; transform: translate3d(0, 44px, 0); transition: opacity .9s var(--ease-out) var(--d, .05s), transform 1.1s var(--ease-expo) var(--d, .05s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.split__in { display: inline-block; }
.js [data-split] .split__in { transform: translate3d(0, 135%, 0); transition: transform 1.2s var(--ease) var(--d, 0s); }
.js [data-split].is-in .split__in { transform: none; }

/* ---------- HERO ---------- */
/* Everything on the stage is placed in phone widths (--stage-pw) from the phone's top-left corner, so
   the composition scales as one piece. Breakpoints only swap these numbers:
   --card-*  the paper card       --pin-*  the shop pin, also the centre of both rings
   --figb-*  the Fig. B note      --stage-x  where the phone's left edge sits in the viewport */
.hero {
  --stage-pw: min(22.6vw, calc((100svh - 236px) / 2.06), 340px);
  --stage-ph: calc(var(--stage-pw) * 2.0606);
  --stage-x: 58.2vw;
  --card-x: -.7; --card-y: 1.185; --card-w: .8; --card-r: -6.5deg;
  --pin-x: 1.1; --pin-y: 1.7825;
  --figb-x: 1.1; --figb-y: 1.36; --figb-l: .12; --figb-w: 25ch;
  position: relative; min-height: max(100vh, 760px); min-height: max(100svh, 760px);
  padding: calc(var(--hdr) + clamp(28px, 6vh, 70px)) var(--pad) 120px;
  overflow: hidden; overflow: clip;
}
.hero__copy { position: relative; z-index: 4; max-width: calc(var(--stage-x) - var(--pad) - 20px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: clamp(18px, 3vh, 30px); color: var(--ink-2); }
.kicker__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(225,48,28,.14); }
.hero__title { font-size: clamp(64px, 10.6vw, 196px); margin-left: -.03em; letter-spacing: -.012em; }
.hero__title .ln + .ln { margin-top: .05em; }
.circled { position: relative; display: inline-block; }
.circled__svg { position: absolute; left: -9%; top: -4%; width: 122%; height: 106%; overflow: visible; pointer-events: none; }
.circled__svg path { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.is-loaded .circled__svg path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) 1.25s; }
/* the lede and buttons stop short of the paper card when it sits to the left of the phone */
.hero__lede { max-width: min(30em, calc(var(--stage-x) + min(0px, var(--stage-pw) * var(--card-x)) - var(--pad) - 36px)); margin-top: clamp(22px, 3.6vh, 40px); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.42; color: var(--ink-2); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(22px, 3.6vh, 36px); }
.hero__specs { display: flex; gap: clamp(22px, 2.6vw, 44px); margin-top: clamp(28px, 6vh, 64px); }
.hero__specs > div { display: flex; align-items: center; gap: 12px; }
.hero__specs dd { order: -1; font-size: clamp(40px, 3.6vw, 60px); line-height: .8; letter-spacing: 0; }
.hero__specs dt { color: var(--ink-2); font-size: 10px; line-height: 1.35; padding-left: 12px; border-left: 1px solid var(--rule); }

.hero__stage {
  position: absolute; z-index: 2; width: var(--stage-pw); height: var(--stage-ph);
  top: calc(var(--hdr) + 26px); left: var(--stage-x);
}
.hero__rings {
  position: absolute; z-index: 0; width: calc(var(--stage-pw) * 2.83); height: calc(var(--stage-pw) * 2.83);
  left: calc(var(--stage-pw) * (var(--pin-x) - 1.415)); top: calc(var(--stage-pw) * (var(--pin-y) - 1.415));
  overflow: visible; pointer-events: none;
}
.ring { fill: none; vector-effect: non-scaling-stroke; }
.ring--a { stroke: var(--ink); stroke-opacity: .32; stroke-width: 1; stroke-dasharray: .004 .006; }
.ring--i { stroke: var(--red); stroke-width: 1.4; fill: rgba(225,48,28,.045); }
.js .ring--i { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .is-loaded .ring--i, .js.is-loaded .ring--i { stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease) .5s; }
.rings__ticks line { stroke: var(--ink); stroke-opacity: .35; stroke-width: 1; vector-effect: non-scaling-stroke; }
.rings__ticks line.is-major { stroke-opacity: .7; }
/* ring labels sit tangent to their ring at angle --a, --r user units out; --s: -1 flips one onto the
   lower half so it still reads left to right. Font size is set from JS to stay ~10.5px on screen. */
.ring__lbl {
  --s: 1;
  font-family: var(--mono); font-size: var(--ring-fs, 11px); letter-spacing: .12em; text-transform: uppercase; fill: var(--ink-2);
  transform: rotate(calc(var(--a) + var(--s) * 90deg)) translateY(calc(var(--r) * var(--s) * -1px));
}
.ring__lbl--i { --a: -58deg; --r: 258; fill: var(--red); }
.ring__lbl--a { --a: -77deg; --r: 436; }

/* phone ----------------------------------------------------------------- */
.phone { --pw: 330px; --u: calc(var(--pw) / 33); position: relative; width: var(--pw); height: calc(var(--pw) * 2.0606); flex: none; }
.phone__body {
  position: absolute; inset: 0; border-radius: calc(5.4 * var(--u)); padding: calc(.95 * var(--u));
  background: linear-gradient(145deg, #3a3631, #12100e 32%, #1d1b18 70%, #3a3631);
  box-shadow:
    inset 0 0 0 calc(.16 * var(--u)) #57514a,
    inset 0 0 0 calc(.38 * var(--u)) #0b0a09,
    0 calc(4 * var(--u)) calc(6 * var(--u)) calc(-2 * var(--u)) rgba(21,19,16,.42),
    0 calc(1.4 * var(--u)) calc(2.2 * var(--u)) calc(-1 * var(--u)) rgba(21,19,16,.32);
}
.phone__body::before, .phone__body::after { content: ''; position: absolute; width: calc(.32 * var(--u)); border-radius: 2px; background: #2a2622; }
.phone__body::before { left: calc(-.3 * var(--u)); top: 19%; height: 7%; box-shadow: 0 calc(5.6 * var(--u)) 0 #2a2622, 0 calc(11.4 * var(--u)) 0 #2a2622; }
.phone__body::after { right: calc(-.3 * var(--u)); top: 26%; height: 11%; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: calc(4.5 * var(--u)); overflow: hidden; background: #080706; isolation: isolate; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.phone__wall {
  position: absolute; inset: 0; transition: opacity .6s var(--ease-out);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 330 680' preserveAspectRatio='xMidYMid slice'%3E%3Cg fill='none' stroke='%23EEEAE1' stroke-opacity='.075' stroke-width='1'%3E%3Cpath d='M-10 420 C80 410 180 432 340 404'/%3E%3Cpath d='M-10 446 C90 440 190 458 340 430'/%3E%3Cpath d='M60 -10 C70 200 52 420 74 690'/%3E%3Cpath d='M88 -10 C96 210 80 430 100 690'/%3E%3Cpath d='M230 -10 C226 160 244 300 236 690'/%3E%3Cpath d='M-10 180 C120 168 220 196 340 172'/%3E%3Cpath d='M-10 610 C110 600 240 626 340 596'/%3E%3C/g%3E%3Ccircle cx='190' cy='432' r='120' fill='none' stroke='%23E1301C' stroke-opacity='.32' stroke-dasharray='3 5'/%3E%3Ccircle cx='190' cy='432' r='4' fill='%23E1301C' fill-opacity='.7'/%3E%3C/svg%3E") center / cover no-repeat,
    linear-gradient(180deg, #2a2420 0%, #1a1714 46%, #100e0c 100%);
}
.phone__ui { position: absolute; inset: 0; color: #F4EFE7; transition: opacity .6s var(--ease-out); }
.ui-and { display: none; }
.phone[data-os="android"] .ui-ios { display: none; }
.phone[data-os="android"] .ui-and { display: block; }
.phone.is-asleep .phone__wall { opacity: .16; transition-duration: .9s; }
.phone.is-asleep .phone__ui { opacity: .42; transition-duration: .9s; }
.phone.is-asleep .ios-btns, .phone.is-asleep .ios-status, .phone.is-asleep .and-status, .phone.is-asleep .and-fp, .phone.is-asleep .ios-home { opacity: 0; transition: opacity .6s; }
.phone__screen::after { content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; background: linear-gradient(118deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.015) 34%, transparent 34.5%); }

.ios-status { position: absolute; top: calc(1.55 * var(--u)); left: calc(3 * var(--u)); right: calc(2.6 * var(--u)); display: flex; justify-content: space-between; align-items: center; font: 600 calc(1.38 * var(--u))/1 var(--ui); letter-spacing: -.01em; }
.ios-status__r { display: inline-flex; align-items: center; gap: calc(.5 * var(--u)); }
.sig { display: inline-block; width: calc(1.6 * var(--u)); height: calc(1 * var(--u)); background: linear-gradient(90deg, currentColor 20%, transparent 0 26%, currentColor 0 46%, transparent 0 52%, currentColor 0 72%, transparent 0 78%, currentColor 0); -webkit-mask: linear-gradient(to top right, #000 50%, #0000 0); mask: linear-gradient(to top right, #000 50%, #0000 0); }
.bat { display: inline-block; width: calc(2.4 * var(--u)); height: calc(1.15 * var(--u)); border-radius: calc(.32 * var(--u)); border: 1px solid rgba(244,239,231,.5); position: relative; }
.bat::before { content: ''; position: absolute; inset: 1.5px; right: 28%; border-radius: 1px; background: currentColor; }
.ios-island { position: absolute; top: calc(1.1 * var(--u)); left: 50%; width: calc(10.4 * var(--u)); height: calc(3.05 * var(--u)); margin-left: calc(-5.2 * var(--u)); border-radius: calc(2 * var(--u)); background: #000; }
.ios-lock { position: absolute; top: calc(5.5 * var(--u)); left: 50%; width: calc(1.1 * var(--u)); height: calc(1.5 * var(--u)); margin-left: calc(-.55 * var(--u)); color: rgba(244,239,231,.9); }
.ios-date { position: absolute; top: calc(7.4 * var(--u)); width: 100%; text-align: center; font: 600 calc(1.7 * var(--u))/1 var(--ui); color: rgba(244,239,231,.82); letter-spacing: -.005em; }
.ios-time { position: absolute; top: calc(10.3 * var(--u)); width: 100%; text-align: center; font: 700 calc(8.8 * var(--u))/1 var(--ui); letter-spacing: -.045em; color: #F2ECE2; font-variant-numeric: tabular-nums; }
.ios-btns { position: absolute; bottom: calc(4 * var(--u)); left: calc(4.4 * var(--u)); right: calc(4.4 * var(--u)); display: flex; justify-content: space-between; }
.ios-btn { width: calc(4.6 * var(--u)); height: calc(4.6 * var(--u)); border-radius: 50%; background: rgba(255,255,255,.13); position: relative; }
.ios-btn::after { content: ''; position: absolute; inset: 32%; border: calc(.18 * var(--u)) solid rgba(255,255,255,.88); border-radius: 30%; }
.ios-btn--torch::after { inset: 28% 38%; border-radius: 2px 2px 4px 4px; }
.ios-home { position: absolute; bottom: calc(.85 * var(--u)); left: 50%; width: calc(12.4 * var(--u)); height: calc(.5 * var(--u)); margin-left: calc(-6.2 * var(--u)); border-radius: 9px; background: rgba(255,255,255,.9); }

/* the lock-screen suggestion: solid, not frosted */
.sugg {
  position: absolute; left: calc(1.15 * var(--u)); right: calc(1.15 * var(--u)); bottom: calc(14.6 * var(--u));
  display: grid; grid-template-columns: calc(3.9 * var(--u)) 1fr auto; align-items: start; gap: calc(1.05 * var(--u));
  padding: calc(1.3 * var(--u)) calc(1.4 * var(--u)) calc(1.4 * var(--u)) calc(1.3 * var(--u));
  border-radius: calc(2.3 * var(--u)); background: #EFEAE2; color: #191612;
  box-shadow: 0 calc(1 * var(--u)) calc(3 * var(--u)) rgba(0,0,0,.35);
  transform: translate3d(0, calc(6 * var(--u)), 0) scale(.94); opacity: 0;
  transition: transform .7s var(--spring), opacity .35s var(--ease-out);
}
.phone.has-card .sugg { transform: none; opacity: 1; }
.sugg__icon {
  width: calc(3.9 * var(--u)); height: calc(3.9 * var(--u)); border-radius: calc(.95 * var(--u));
  display: grid; place-items: center; background: var(--card-bg, #3B2418); color: var(--card-fg, #F4EDE2);
  font: 800 calc(1.42 * var(--u))/1 var(--display); font-stretch: 78%; letter-spacing: .01em;
  box-shadow: inset 0 0 0 calc(.15 * var(--u)) rgba(255,255,255,.12);
}
.sugg__txt { display: grid; gap: calc(.25 * var(--u)); min-width: 0; }
.sugg__txt b { font: 650 calc(1.42 * var(--u))/1.15 var(--ui); letter-spacing: -.01em; }
.sugg__txt > span { font: 450 calc(1.32 * var(--u))/1.28 var(--ui); color: #3a352f; letter-spacing: -.005em; }
.sugg__time { font: 450 calc(1.18 * var(--u))/1.2 var(--ui); color: #7d766c; }

/* android */
.and-status { position: absolute; top: calc(1.35 * var(--u)); left: calc(2.8 * var(--u)); right: calc(2.6 * var(--u)); display: flex; justify-content: space-between; align-items: center; font: 500 calc(1.32 * var(--u))/1 var(--ui); }
.and-status__r { display: inline-flex; gap: calc(.5 * var(--u)); align-items: center; }
.and-cam { position: absolute; top: calc(1.15 * var(--u)); left: 50%; width: calc(1.7 * var(--u)); height: calc(1.7 * var(--u)); margin-left: calc(-.85 * var(--u)); border-radius: 50%; background: #000; box-shadow: 0 0 0 calc(.18 * var(--u)) #1b1917; }
.and-date { position: absolute; top: calc(6.6 * var(--u)); left: calc(3 * var(--u)); font: 500 calc(1.55 * var(--u))/1 var(--ui); color: rgba(244,239,231,.85); }
.and-clock { position: absolute; top: calc(8.6 * var(--u)); left: calc(2.4 * var(--u)); display: grid; font: 300 calc(9.6 * var(--u))/.86 var(--ui); letter-spacing: -.04em; color: #EADBC4; font-variant-numeric: tabular-nums; }
.and-clock span:last-child { color: #CDBBA2; }
.sugg--and { display: block; bottom: calc(10.8 * var(--u)); border-radius: calc(2.6 * var(--u)); padding: calc(1.3 * var(--u)) calc(1.5 * var(--u)) calc(1.1 * var(--u)); background: #F2EDE6; }
.and-note__hd { display: flex; align-items: center; gap: calc(.6 * var(--u)); font: 500 calc(1.12 * var(--u))/1 var(--ui); color: #6b645b; margin-bottom: calc(1 * var(--u)); }
.and-note__w { width: calc(1.3 * var(--u)); height: calc(1.3 * var(--u)); border-radius: calc(.3 * var(--u)); background: linear-gradient(#151310 0 30%, #E1301C 30% 52%, #151310 52%); }
.and-note__bd { display: grid; grid-template-columns: calc(3.6 * var(--u)) 1fr; gap: calc(1 * var(--u)); align-items: center; }
.and-note__bd .sugg__icon { width: calc(3.6 * var(--u)); height: calc(3.6 * var(--u)); border-radius: 50%; }
.and-note__act { display: flex; gap: calc(2 * var(--u)); margin-top: calc(1.1 * var(--u)); padding-left: calc(4.6 * var(--u)); font: 600 calc(1.22 * var(--u))/1 var(--ui); color: #8c2a17; }
.and-fp { position: absolute; bottom: calc(4.2 * var(--u)); left: 50%; width: calc(4.4 * var(--u)); height: calc(4.4 * var(--u)); margin-left: calc(-2.2 * var(--u)); border-radius: 50%; border: 1px solid rgba(244,239,231,.3); background: radial-gradient(circle, transparent 30%, rgba(244,239,231,.25) 31% 34%, transparent 35% 46%, rgba(244,239,231,.25) 47% 50%, transparent 51%); }
.phone.has-card .sugg--and { animation: buzz .42s linear .2s 1; }
@keyframes buzz { 0%,100% { translate: 0 0; } 20% { translate: -2px 0; } 40% { translate: 2px 0; } 60% { translate: -1.5px 0; } 80% { translate: 1px 0; } }

/* hero phone + objects */
.phone--hero { --pw: var(--stage-pw); position: absolute; left: 0; top: 0; z-index: 3; }
.js .hero__stage .phone { opacity: 0; transform: translate3d(0, 60px, 0) rotate(1.5deg); transition: opacity 1s var(--ease-out) .25s, transform 1.6s var(--ease-expo) .25s; }
.js.is-loaded .hero__stage .phone { opacity: 1; transform: none; }
.hero__stage .phone { translate: 0 calc(var(--p, 0) * -.06px); }
.hero__stage .paper-card { translate: 0 calc(var(--p, 0) * -.17px); }
.hero__stage .fig { translate: 0 calc(var(--p, 0) * -.1px); }
.hero__rings { rotate: calc(var(--p, 0) * .025deg); }
/* the scroll parallax only moves layers, it never repaints them (the card and phone are costly to paint) */
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .hero__stage .phone, .hero__stage .paper-card, .hero__stage .fig, .hero__rings { will-change: transform; }
}

.paper-card {
  --cw: calc(var(--stage-pw) * var(--card-w));
  position: absolute; z-index: 2; left: calc(var(--stage-pw) * var(--card-x)); top: calc(var(--stage-pw) * var(--card-y)); width: var(--cw);
  padding: calc(var(--cw) * .0644) calc(var(--cw) * .0681) calc(var(--cw) * .0569); border-radius: 3px;
  background: #F8F4EA; color: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 26px 40px -20px rgba(21,19,16,.42), 0 3px 8px -2px rgba(21,19,16,.16);
  transform: rotate(var(--card-r)); transform-origin: 70% 40%;
}
.js .paper-card { opacity: 0; transform: translate3d(50px, 30px, 0) rotate(0deg); transition: opacity .9s var(--ease-out) .55s, transform 1.6s var(--ease-expo) .55s; }
.js.is-loaded .paper-card { opacity: 1; transform: rotate(var(--card-r)); }
.pc__hd { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pc__hd b { font-family: var(--display); font-stretch: 68%; font-weight: 800; text-transform: uppercase; font-size: calc(var(--cw) * .1023); line-height: .9; letter-spacing: .005em; white-space: nowrap; }
.pc__hd .mono { font-size: calc(var(--cw) * .0379); color: var(--red); white-space: nowrap; }
.paper-card .pc__sub { margin-top: calc(var(--cw) * .019); font-size: calc(var(--cw) * .036); color: var(--ink-3); }
.pc__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: calc(var(--cw) * .0303); margin: calc(var(--cw) * .0455) 0 calc(var(--cw) * .0379); padding: calc(var(--cw) * .0416) 0; border-block: 1px dashed var(--rule); }
.pc__slot { aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(21,19,16,.26); position: relative; }
.pc__slot .imp { position: absolute; inset: -14%; width: 128%; height: 128%; color: var(--red); transform: rotate(var(--r)); opacity: .9; }
.pc__slot:last-child { border-style: dashed; border-color: var(--ink-3); }
.pc__slot:last-child::after { content: 'Free'; position: absolute; inset: 0; display: grid; place-items: center; font: 500 calc(var(--cw) * .0323)/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.paper-card .pc__ft { font-size: calc(var(--cw) * .0341); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc__stain { position: absolute; right: -6%; top: -14%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: calc(var(--cw) * .019) solid rgba(120,72,30,.1); box-shadow: inset 0 0 0 calc(var(--cw) * .0076) rgba(120,72,30,.05); filter: url(#ink-soft); pointer-events: none; clip-path: polygon(0 26%, 100% 26%, 100% 100%, 0 100%); }

.pin { position: absolute; z-index: 4; left: calc(var(--stage-pw) * var(--pin-x)); top: calc(var(--stage-pw) * var(--pin-y)); display: flex; align-items: center; gap: 10px; transform: translate(-50%, -50%); }
.pin__dot { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font: 800 12px/1 var(--display); font-stretch: 80%; box-shadow: 0 0 0 5px rgba(225,48,28,.15), 0 0 0 1px var(--paper); position: relative; left: 0; }
.pin__dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--red); animation: ping 2.8s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 70%, 100% { transform: scale(2.6); opacity: 0; } }
/* the label wraps the coordinates onto two lines rather than run off the right edge */
.pin__lbl {
  position: absolute; left: 44px; top: 50%; transform: translateY(-50%); display: grid; gap: 3px; width: max-content;
  max-width: calc(100vw - var(--stage-x) - var(--stage-pw) * var(--pin-x) - 27px - var(--pad));
}
.pin__lbl b { font: 600 14px/1 var(--text); white-space: nowrap; }
.pin__lbl .mono { font-size: 10px; color: var(--ink-3); }
.js .pin { opacity: 0; transition: opacity .8s var(--ease-out) 1s; }
.js.is-loaded .pin { opacity: 1; }

/* annotations; the paper halo keeps the ring's dashes from running through the letters */
.fig { position: absolute; z-index: 5; width: max-content; max-width: 30ch; font-size: 10.5px; line-height: 1.5; color: var(--ink-2); text-shadow: 0 0 2px var(--paper), 0 0 4px var(--paper), 0 0 7px var(--paper); }
.fig b { color: var(--red); font-weight: 500; margin-right: 6px; }
.fig::before { content: ''; position: absolute; background: var(--ink); opacity: .5; }
.fig::after { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--red); background: var(--paper); }
.fig--a { left: calc(var(--stage-pw) * var(--card-x)); top: calc(var(--stage-pw) * (var(--card-y) + .76)); }
.fig--a::before { width: 1px; height: 14px; left: 3px; bottom: 100%; margin-bottom: 4px; }
.fig--a::after { display: none; }
.fig--b { left: calc(var(--stage-pw) * var(--figb-x)); top: calc(var(--stage-pw) * var(--figb-y)); max-width: var(--figb-w); }
.fig--b::before { height: 1px; width: calc(var(--stage-pw) * var(--figb-l)); right: 100%; top: 8px; margin-right: 8px; }
.fig--b::after { right: calc(100% + 8px + var(--stage-pw) * var(--figb-l)); top: 5px; }
.js .fig { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity .8s var(--ease-out) 1.7s, transform 1s var(--ease-expo) 1.7s; }
.js .fig--b { transition-delay: 2.1s; }
.js.is-loaded .fig { opacity: 1; transform: none; }

.hero__foot {
  position: absolute; z-index: 6; left: var(--pad); right: var(--pad); bottom: 22px;
  display: flex; justify-content: space-between; gap: 8px 24px; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--ink-2);
}
.hero__foot > * { background: var(--paper); }
.hero__foot a { display: inline-flex; align-items: center; gap: 10px; }
.hero__dash { display: inline-block; width: 34px; height: 1px; background: currentColor; transform-origin: 0 50%; animation: dash 2.4s var(--ease) infinite; }
@keyframes dash { 0% { transform: scaleX(0); transform-origin: 0 50%; } 45% { transform: scaleX(1); transform-origin: 0 50%; } 55% { transform: scaleX(1); transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }
/* endless decorations rest while their section is off screen */
.hero:not(.is-on-screen) .hero__dash, .hero:not(.is-on-screen) .pin__dot::after { animation-play-state: paused; }

/* ---------- perforation between sections ---------- */
.perf { position: relative; height: 4px; margin: 0 var(--pad); background: radial-gradient(circle, rgba(21,19,16,.3) 1.4px, transparent 1.9px) 0 50% / 10px 4px repeat-x; }
.perf::before, .perf::after { content: ''; position: absolute; top: 50%; width: 15px; height: 30px; margin-top: -15px; background: var(--paper-lo); box-shadow: inset 0 0 0 1px var(--rule-2); }
.perf::before { left: calc(-1 * var(--pad)); border-radius: 0 15px 15px 0; }
.perf::after { right: calc(-1 * var(--pad)); border-radius: 15px 0 0 15px; }

/* ---------- sections ---------- */
.sec { position: relative; padding: var(--sec-y) var(--pad); }
.sec__hd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 16px; align-items: end; margin-bottom: clamp(40px, 5vw, 76px); }
.idx { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-bottom: clamp(18px, 2.2vw, 30px); color: var(--ink-2); }
.idx span { color: var(--red); }
.idx i { width: 40px; height: 1px; background: currentColor; opacity: .4; }
.sec__title { grid-column: 1 / span 8; font-size: clamp(56px, 9.4vw, 164px); }
.sec__lede { grid-column: 9 / -1; max-width: 27em; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.5; color: var(--ink-2); padding-bottom: .4em; text-wrap: pretty; }

/* ---------- 01 WALK ---------- */
.walk__stage { display: grid; grid-template-columns: minmax(0, 1fr) clamp(300px, 25vw, 380px); background: var(--paper-hi); border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.walk__bar { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--rule); }
.walk__speed { margin-left: auto; color: var(--ink-3); }
.ico-play { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
#walk-play[aria-pressed="true"] .ico-play { width: 8px; height: 10px; border: 0; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.walk__map {
  position: relative; border-right: 1px solid var(--rule); background: var(--paper); overflow: hidden;
  /* tall enough that wide screens don't crop the drawing to a strip */
  min-height: max(540px, min(82vh, calc((100vw - 2 * var(--pad) - clamp(300px, 25vw, 380px)) * .66)));
}
.walk__map::before, .walk__map::after { content: ''; position: absolute; z-index: 2; pointer-events: none; }
.walk__map::before { left: 0; right: 0; top: 0; height: 9px; background: repeating-linear-gradient(90deg, rgba(21,19,16,.4) 0 1px, transparent 1px 10px), repeating-linear-gradient(90deg, rgba(21,19,16,.55) 0 1px, transparent 1px 50px); background-size: 100% 5px, 100% 9px; background-repeat: no-repeat; }
.walk__map::after { left: 0; top: 0; bottom: 0; width: 9px; background: repeating-linear-gradient(180deg, rgba(21,19,16,.4) 0 1px, transparent 1px 10px), repeating-linear-gradient(180deg, rgba(21,19,16,.55) 0 1px, transparent 1px 50px); background-size: 5px 100%, 9px 100%; background-repeat: no-repeat; }
#map { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: crosshair; }
#map .m-walker { touch-action: none; }
#map-base { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; will-change: transform; }
/* The two endless map animations live on their own layers above the drawing: the active ring turns
   (a turning dashed circle reads as marching ants) and the walker's halo pulses, both on the
   compositor. Positions come from walk.js in px. */
.walk__live { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.live-ring { position: absolute; left: 0; top: 0; width: var(--rd, 0px); height: var(--rd, 0px); margin: calc(var(--rd, 0px) / -2) 0 0 calc(var(--rd, 0px) / -2); transform: translate3d(var(--rx, 0px), var(--ry, 0px), 0); }
.live-ring svg { width: 100%; height: 100%; overflow: visible; animation: spin var(--spin, 60s) linear infinite; will-change: transform; }
.live-ring circle { fill: none; stroke: var(--red); stroke-width: 1.8; stroke-dasharray: 7 6; vector-effect: non-scaling-stroke; }
@keyframes spin { to { transform: rotate(1turn); } }
.live-halo { position: absolute; left: 0; top: 0; width: var(--hd, 40px); height: var(--hd, 40px); margin: calc(var(--hd, 40px) / -2) 0 0 calc(var(--hd, 40px) / -2); }
.live-halo::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(21,19,16,.08); box-shadow: inset 0 0 0 1px rgba(21,19,16,.35); animation: halo 2.2s var(--ease-out) infinite; will-change: transform, opacity; }
.is-inside .live-halo::before { background: rgba(225,48,28,.08); box-shadow: inset 0 0 0 1px rgba(225,48,28,.45); }
.walk__stage:not(.is-on-screen) .live-ring svg, .walk__stage:not(.is-on-screen) .live-halo::before { animation-play-state: paused; }
.walk__hint { position: absolute; z-index: 3; left: 22px; top: 22px; padding: 5px 8px; background: var(--ink); color: var(--paper); border-radius: 2px; pointer-events: none; transition: opacity .5s; }
.walk__hint.is-gone { opacity: 0; }
.walk__side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 26px 24px 24px; }
.phone--walk { --pw: clamp(196px, 15.4vw, 236px); }
.phone--walk.is-buzz { animation: buzz .4s linear 1; }
.readout { width: 100%; border-top: 1px solid var(--rule); }
.readout > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule-2); }
.readout dt { color: var(--ink-3); }
.readout dd { color: var(--ink); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
#ro-dist { font-family: var(--display); font-stretch: 70%; font-weight: 800; font-size: 26px; letter-spacing: 0; line-height: .9; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); transition: background-color .3s, box-shadow .3s; }
.is-live .led { background: var(--red); box-shadow: 0 0 0 4px rgba(225,48,28,.16); }
.walk__note { width: 100%; font-size: 14px; line-height: 1.45; color: var(--ink-2); min-height: 4.4em; text-wrap: pretty; }

/* map strokes */
.m-bld { stroke: var(--ink); stroke-width: .95; stroke-opacity: .82; stroke-linejoin: round; stroke-linecap: round; }
.m-edge { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; opacity: .9; }
.m-park { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; opacity: .7; }
.m-tree { fill: var(--paper); stroke: var(--ink); stroke-width: .85; stroke-opacity: .62; stroke-linejoin: round; }
.m-tree-dot { fill: var(--ink); opacity: .55; }
.m-dash { fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-dasharray: 9 9; opacity: .4; }
.m-zebra { fill: var(--ink); opacity: .2; }
.m-st { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.m-st--major { font-size: 12px; letter-spacing: .22em; fill: var(--ink); }
.m-st--sm { font-size: 8.5px; }
.m-note { font-family: var(--mono); font-size: 9.5px; letter-spacing: .05em; fill: var(--ink-3); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; }
.m-lead { stroke: var(--ink-3); stroke-width: .8; fill: none; }
.m-cafe { fill: var(--ink); }
.m-cafe-door { fill: var(--red); }
.m-ring { fill: none; vector-effect: non-scaling-stroke; transition: stroke-opacity .5s, stroke-width .3s; }
.m-ring--off { stroke: var(--ink); stroke-opacity: .35; stroke-width: 1; stroke-dasharray: 2 5; }
/* the active ring is drawn by .walk__live (below) so its marching dashes never repaint the map */
.m-ring--on { stroke: none; }
.m-ring-fill { fill: var(--red); fill-opacity: 0; transition: fill-opacity .6s var(--ease-out); }
.is-inside .m-ring-fill { fill-opacity: .07; }
.m-ring-tag rect { fill: var(--paper); stroke: var(--ink); stroke-opacity: .45; stroke-width: 1; transition: fill .35s, stroke-opacity .35s; }
.m-ring-tag text { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink-2); transition: fill .35s; }
.m-ring-tag.is-on rect { fill: var(--red); stroke-opacity: 0; }
.m-ring-tag.is-on text { fill: #fff; }
.m-pin circle { fill: var(--red); }
.m-pin text { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 11px; fill: #fff; }
.m-cafe-lbl { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-size: 17px; text-transform: uppercase; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 5px; stroke-linejoin: round; }
.m-measure { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 4; opacity: .55; }
.m-measure-lbl rect { fill: var(--ink); }
.m-measure-lbl text { font-family: var(--mono); font-size: 11px; fill: var(--paper); letter-spacing: .06em; }
.m-walker { cursor: grab; outline: none; }
.m-walker:active { cursor: grabbing; }
@keyframes halo { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.m-walker .w-body { fill: var(--ink); stroke: var(--paper); stroke-width: 3; }
.m-walker .w-dir { fill: var(--paper); }
.m-walker .w-focus { fill: none; stroke: var(--red); stroke-width: 2; stroke-dasharray: 4 3; opacity: 0; }
.m-walker:focus-visible .w-body { stroke: var(--red); }
.m-walker:focus-visible .w-focus { opacity: 1; }
.m-scale-bg { fill: var(--paper); fill-opacity: .92; }
.m-walker-tag rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.m-walker-tag text { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; fill: var(--ink); }
.m-step { fill: var(--ink); }
.m-compass text { font-family: var(--display); font-weight: 800; font-size: 14px; fill: var(--ink); }
.m-scale text { font-family: var(--mono); font-size: 9px; fill: var(--ink-2); letter-spacing: .06em; }
.m-cart { transition: opacity .5s; }
.m-cart rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1; }
.m-cart text { font-family: var(--mono); font-size: 9px; letter-spacing: .1em; fill: var(--ink-2); text-transform: uppercase; }
.m-cart .m-cart-t { font-size: 10px; fill: var(--ink); }

/* ---------- 02 DESIGN ---------- */
.field .seg { justify-self: start; }
.field .seg button { min-width: 46px; }
.design__grid { display: grid; grid-template-columns: minmax(0, 4.1fr) minmax(0, 5.2fr) minmax(0, 2.9fr); gap: clamp(20px, 2.2vw, 36px); align-items: start; }
.ctrl { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.ctrl__hd { display: flex; justify-content: space-between; padding: 10px 0 4px; color: var(--ink-3); }
.field { display: grid; gap: 8px; padding: 16px 0 16px; border-bottom: 1px solid var(--rule); min-width: 0; }
.field__k { color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; }
.field__k em { font-style: normal; color: var(--ink-2); }
.field input[type="text"] {
  width: 100%; padding: 2px 0 2px; border: 0; background: transparent; outline: none;
  font: 500 clamp(20px, 1.6vw, 26px)/1.2 var(--text); letter-spacing: -.015em; color: var(--ink);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.field input[type="text"]:focus { border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.field--mono input[type="text"] { font-family: var(--display); font-stretch: 70%; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.field-row { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 20px; border-bottom: 1px solid var(--rule); }
.field-row .field { border-bottom: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { position: relative; width: 38px; height: 38px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(21,19,16,.15); transition: transform .35s var(--spring); }
.sw::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ink); opacity: 0; transform: scale(.85); transition: opacity .25s, transform .35s var(--spring); }
.sw[aria-checked="true"]::after { opacity: 1; transform: none; }
@media (hover: hover) { .sw:hover { transform: scale(1.08); } }
.ctrl__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-top: 22px; }
.ctrl__note { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; color: var(--red); max-width: 34ch; text-wrap: pretty; text-transform: none; letter-spacing: .01em; font-size: 12px; line-height: 1.45; }
.ctrl__note svg { width: 38px; height: 30px; flex: none; margin-top: -8px; overflow: visible; }
.ctrl__note path { fill: none; stroke: var(--red); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.counter .ctrl__note { display: none; }

.counter { position: relative; }
.counter__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 0 12px; color: var(--ink-3); }
.counter__bar b { color: var(--ink); font-weight: 500; }
.counter__surface {
  position: relative; display: grid; justify-items: center; gap: 26px; padding: clamp(28px, 3.4vw, 54px) clamp(16px, 2vw, 32px) clamp(24px, 2.6vw, 36px);
  background: var(--paper-lo); border-radius: 4px; overflow: hidden;
}
.counter__surface::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle, rgba(21,19,16,.14) 1px, transparent 1.4px) 0 0 / 18px 18px; opacity: .6; }
.pass-wrap { position: relative; width: min(100%, 340px); z-index: 1; }

.pass {
  --bg: #3B2418; --fg: #F4EDE2; --lb: rgba(244,237,226,.62); --stamp: #E1301C; --slot: rgba(244,237,226,.32);
  position: relative; width: 100%; border-radius: 14px; background: var(--bg); color: var(--fg);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 34px 50px -26px rgba(21,19,16,.6), 0 8px 18px -8px rgba(21,19,16,.3);
  transition: background-color .55s var(--ease-out), color .55s var(--ease-out);
  font-family: var(--ui);
}
.pass small { display: block; font: 600 9.5px/1 var(--ui); letter-spacing: .1em; text-transform: uppercase; color: var(--lb); margin-bottom: 5px; }
.pass b { font-weight: 500; }
.pa__hd { display: flex; align-items: center; gap: 10px; padding: 16px 16px 14px; }
.pa__logo, .pg__logo { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid currentColor; font: 800 12.5px/1 var(--display); font-stretch: 80%; letter-spacing: .02em; text-transform: uppercase; }
.pa__org { font: 600 16px/1.1 var(--ui); letter-spacing: -.01em; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pa__hf { margin-left: auto; text-align: right; flex: none; }
.pa__hf b { font: 500 21px/1 var(--ui); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.pa__strip { padding: 20px 18px; background: color-mix(in srgb, var(--fg) 8%, var(--bg)); transition: background-color .55s; }
.slots { display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); gap: 11px 12px; }
.slot { position: relative; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--slot); display: grid; place-items: center; }
.slot__n { font: 500 9.5px/1 var(--mono); color: var(--lb); transition: opacity .2s; }
.slot.is-on .slot__n { opacity: 0; }
.slot .imp { position: absolute; inset: -12%; width: 124%; height: 124%; color: var(--stamp); opacity: 0; transform: rotate(var(--r, 0deg)); }
.slot.is-on .imp { opacity: 1; }
.slot--reward { border-style: solid; border-color: var(--lb); }
.slot--reward .slot__n { font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); }
.pa__fields { display: flex; justify-content: space-between; gap: 16px; padding: 15px 18px 14px; }
.pa__fields > div { min-width: 0; }
.pa__fields b { display: block; font: 500 15px/1.22 var(--ui); letter-spacing: -.01em; }
.pa__fields .r { text-align: right; }
.pa__perf { position: relative; margin: 2px 0; height: 0; border-top: 1.5px dashed var(--slot); }
.pa__perf::before, .pa__perf::after { content: ''; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper-lo); }
.pa__perf::before { left: -9px; }
.pa__perf::after { right: -9px; }
.pa__code { display: grid; justify-items: center; gap: 9px; padding: 18px 16px 18px; }
.qr { width: 124px; padding: 9px; background: #fff; border-radius: 6px; }
.qr svg, .pg__code svg { width: 100%; height: auto; }
.qr svg path, .pg__code svg path { fill: #151310; }
.pa__code .mono, .pg__code .mono { font-size: 10px; letter-spacing: .14em; color: var(--lb); }

.pass--google { border-radius: 24px; overflow: hidden; }
.pg__top { display: flex; align-items: center; gap: 11px; padding: 20px 20px 0; }
.pg__logo { background: var(--fg); color: var(--bg); border: 0; }
.pg__issuer { font: 500 15px/1.1 var(--ui); }
.pg__title { padding: 16px 20px 6px; font: 400 28px/1.05 var(--ui); letter-spacing: -.02em; }
.pg__row { display: flex; gap: 30px; padding: 10px 20px 18px; }
.pg__row b { font: 500 16px/1.2 var(--ui); }
.pg__code { margin: 0 20px; padding: 14px 14px 10px; display: grid; justify-items: center; gap: 8px; background: #fff; border-radius: 16px; }
.pg__code svg { width: 118px; }
.pg__code .mono { color: #6b655c; }
.pg__hero { margin-top: 20px; padding: 20px; background: color-mix(in srgb, var(--fg) 9%, var(--bg)); }
.pass--google .slot { border-color: var(--slot); }

.stamper { position: absolute; z-index: 6; left: 0; top: 0; width: 64px; pointer-events: none; opacity: 0; will-change: transform, opacity; filter: drop-shadow(0 14px 10px rgba(21,19,16,.3)); }
.reward-stamp {
  position: absolute; z-index: 5; left: 50%; top: 38%; pointer-events: none;
  padding: 10px 18px; border: 4px double var(--red); border-radius: 6px; color: var(--red);
  font: 800 34px/1 var(--display); font-stretch: 66%; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap;
  background: rgba(246,243,236,.86); filter: url(#ink);
  transform: translate(-50%, -50%) rotate(-11deg) scale(1.8); opacity: 0;
}
.pass-wrap.is-google .reward-stamp { top: 80%; }
.reward-stamp.is-on { opacity: 1; transform: translate(-50%, -50%) rotate(-11deg) scale(1); transition: transform .32s cubic-bezier(.5, 0, .75, 0), opacity .15s; }

.mini-sugg { position: relative; z-index: 1; width: min(100%, 340px); display: grid; gap: 10px; }
.mini-sugg__k { color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.mini-sugg__k::after { content: ''; flex: 1; height: 1px; background: var(--rule); }
.sugg--flat { --u: 10.3px; position: relative; left: auto; right: auto; bottom: auto; opacity: 1; transform: none; background: #1c1916; color: #F4EFE7; box-shadow: 0 16px 28px -16px rgba(21,19,16,.6); }
.sugg--flat .sugg__txt > span { color: rgba(244,239,231,.72); }
.sugg--flat .sugg__time { color: rgba(244,239,231,.5); }
.sugg--flat.is-ping { animation: ping-in .6s var(--spring); }
@keyframes ping-in { 0% { transform: translateY(10px) scale(.97); opacity: .4; } 100% { transform: none; opacity: 1; } }

.receipt-col { display: grid; gap: 14px; justify-items: stretch; }
.receipt { position: relative; filter: drop-shadow(0 18px 18px rgba(21,19,16,.16)) drop-shadow(0 2px 3px rgba(21,19,16,.1)); transform: rotate(-1.2deg); transform-origin: 50% 0; }
.receipt__paper { padding: 22px 18px 14px; background: #FBFAF6; font: 400 11.5px/1.65 var(--mono); text-transform: uppercase; letter-spacing: .03em; color: #2e2b27; }
.receipt__paper p { margin: 0; }
.rc__c { text-align: center; }
.rc__c b { font-weight: 500; font-size: 13px; letter-spacing: .08em; }
.rc__rule { height: 0; border-top: 1px dashed rgba(21,19,16,.35); margin: 10px 0 !important; }
.rc__row { display: flex; align-items: baseline; gap: 6px; }
.rc__row::after { content: ''; order: 1; flex: 1; border-bottom: 1px dotted rgba(21,19,16,.4); transform: translateY(-4px); min-width: 12px; }
.rc__row span:last-child { order: 2; font-variant-numeric: tabular-nums; }
.rc__row--x span:last-child { color: var(--red); }
.rc__note { text-transform: none; letter-spacing: 0; font-size: 11px; line-height: 1.5; color: #6b665e; }
.rc__log { display: grid; }
.rc__line { overflow: hidden; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .9s steps(6, end); }
.rc__line.is-in { grid-template-rows: 1fr; }
.rc__line > p { min-height: 0; padding-top: 0; }
.rc__line > p::before { content: ''; display: block; border-top: 1px dashed rgba(21,19,16,.35); margin: 10px 0 8px; }
.rc__line b { font-weight: 500; color: var(--ink); }
.receipt__tear { display: block; height: 9px; background: linear-gradient(135deg, #FBFAF6 50%, transparent 50%) 0 0 / 12px 12px repeat-x, linear-gradient(225deg, #FBFAF6 50%, transparent 50%) 0 0 / 12px 12px repeat-x; }
.push-btn { width: 100%; justify-content: space-between; }
.push-btn > span:first-child { padding: 0 14px 0 22px; }
.push-btn.is-busy { pointer-events: none; }
.push-btn.is-busy > span:first-child { opacity: .7; }
.push-note { color: var(--ink-3); }
.standee { margin: 18px 0 0; display: grid; justify-items: start; gap: 12px; }
.standee__card { width: min(100%, 230px); background: #FBFAF6; border-radius: 4px; overflow: hidden; box-shadow: 0 22px 30px -22px rgba(21,19,16,.5), 0 2px 4px rgba(21,19,16,.08); transform: perspective(700px) rotateX(9deg); transform-origin: 50% 100%; }
.standee__band { display: flex; align-items: center; gap: 9px; padding: 11px 13px; background: var(--card-bg, #3B2418); color: var(--card-fg, #F4EDE2); transition: background-color .55s var(--ease-out), color .55s; }
.standee__logo { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.3px solid currentColor; font: 800 9.5px/1 var(--display); font-stretch: 80%; }
.standee__name { font: 600 14px/1 var(--ui); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.standee__body { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: center; padding: 13px; }
.standee__qr svg { width: 74px; height: auto; }
.standee__qr svg path { fill: #151310; }
.standee__t { font: 500 12.5px/1.3 var(--ui); color: var(--ink); }
.standee__k { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px dashed var(--rule); font-size: 9.5px; color: var(--ink-3); }
.standee__nfc { padding: 3px 7px; border: 1px solid currentColor; border-radius: 999px; }
.standee figcaption { color: var(--ink-3); }

/* ---------- 03 HOW (the ticket) ---------- */
.ticket {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 46px; grid-template-rows: auto auto 1fr auto; min-height: clamp(460px, 38vw, 560px);
  background: var(--paper-hi); border-radius: 6px; box-shadow: 0 30px 60px -40px rgba(21,19,16,.35);
  overflow: hidden; overflow: clip; /* notches read as bites, and the oversized stamps can't widen the page on phones */
}
/* the stubs share the ticket's rows (subgrid), so titles, drawings and paragraphs line up across all three */
.stub { --stamp: clamp(82px, 7vw, 104px); position: relative; display: grid; grid-row: span 4; grid-template-rows: subgrid; padding: clamp(22px, 2.2vw, 32px) clamp(20px, 2.2vw, 34px) clamp(26px, 2.6vw, 40px); }
.stub + .stub, .ticket__side { background-image: linear-gradient(rgba(21,19,16,.32) 50%, transparent 0); background-size: 1.5px 9px; background-repeat: repeat-y; background-position: 0 0; }
.stub + .stub::before, .stub + .stub::after, .ticket__side::before, .ticket__side::after { content: ''; position: absolute; left: -13px; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); }
.stub + .stub::before, .ticket__side::before { top: -13px; }
.stub + .stub::after, .ticket__side::after { bottom: -13px; }
.stub__k { display: flex; justify-content: space-between; color: var(--ink-3); }
.stub__k span:first-child { color: var(--red); }
.stub__hd { container-type: inline-size; } /* on a wrapper: containment on the stub itself would switch off its subgrid */
/* the title's longest word ("stamped.", ~3.7em) and the stamp always fit side by side, whatever the stub width */
.stub__t { margin-top: clamp(24px, 3vw, 44px); font-size: min(clamp(48px, 5.6vw, 96px), calc((100cqi - var(--stamp) - 14px) / 3.7)); max-width: calc(100% - var(--stamp) - 14px); }
.stub__art { align-self: end; padding-top: 24px; }
.stub__art svg { width: 100%; max-width: 300px; height: auto; overflow: visible; }
.ln-ink { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.ln-ink.thin { stroke-width: 1; stroke: rgba(21,19,16,.25); }
.ln-ink.dash { stroke-dasharray: 3 4; }
.ln-ink.dots { stroke-width: 3.2; stroke-dasharray: 0 8; }
.ln-red { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; }
.fill-ink { fill: var(--ink); }
.fill-red { fill: var(--red); }
.ring-pulse { fill: none; stroke: var(--red); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: halo 2.2s var(--ease-out) infinite; }
.ticket:not(.is-on-screen) .ring-pulse { animation-play-state: paused; }
.art-lbl { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; fill: var(--ink-3); }
.stub__p { margin-top: 22px; font-size: clamp(15px, 1.05vw, 17px); line-height: 1.5; color: var(--ink-2); max-width: 30em; text-wrap: pretty; }
.stub__p b { font-weight: 500; color: var(--ink); }
.stub__stamp {
  position: absolute; right: clamp(18px, 2vw, 30px); top: clamp(56px, 5.4vw, 80px); width: var(--stamp); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%; color: var(--red); pointer-events: none;
  border: 3px solid currentColor; box-shadow: inset 0 0 0 5px var(--paper-hi), inset 0 0 0 6.5px currentColor;
  font: 800 clamp(17px, 1.5vw, 22px)/1 var(--display); font-stretch: 66%; text-transform: uppercase; letter-spacing: .04em;
  filter: url(#ink); transform: rotate(var(--r, -12deg)) scale(1.9); opacity: 0;
}
.stub__stamp::before { content: attr(data-txt); }
.stub[data-step="2"] .stub__stamp { --r: 9deg; }
.stub[data-step="3"] .stub__stamp { --r: -5deg; font-size: clamp(26px, 2.4vw, 34px); }
.stub.is-stamped .stub__stamp { opacity: .92; transform: rotate(var(--r, -12deg)) scale(1); transition: transform .3s cubic-bezier(.55, 0, .8, .2), opacity .12s linear; }
.ticket__side { position: relative; grid-column: -2; grid-row: 1 / -1; display: grid; place-items: center; }
.ticket__side { writing-mode: vertical-rl; color: var(--ink-3); font-size: 10px; letter-spacing: .2em; }

/* ---------- 04 PRIVACY (inverted) ---------- */
.priv { background: var(--ink); color: var(--paper); }
.priv .idx { color: rgba(238,234,225,.7); }
.priv .sec__lede { color: rgba(238,234,225,.72); }
.priv .sec__title { grid-column: 1 / span 9; }
.priv .sec__lede { grid-column: 10 / -1; }
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); align-items: center; gap: 0; }
.pd__k { color: rgba(238,234,225,.55); margin-bottom: 12px; }
.pd__box { position: relative; padding: 24px; border: 1px solid rgba(238,234,225,.28); }
.pd__node--phone .pd__box { border-radius: 38px; padding: 34px 22px 26px; border-width: 1.5px; }
.pd__node--phone .pd__box::before { content: ''; position: absolute; top: 12px; left: 50%; width: 64px; height: 16px; margin-left: -32px; border-radius: 10px; background: rgba(238,234,225,.14); }
.pd__chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 10px; background: rgba(238,234,225,.07); margin-bottom: 8px; }
.pd__chip b { display: block; font-weight: 500; font-size: 15px; }
.pd__chip small { display: block; margin-top: 3px; font-size: 10px; color: rgba(238,234,225,.55); }
.pd__chip--loc { background: rgba(225,48,28,.16); box-shadow: inset 0 0 0 1px rgba(225,48,28,.5); }
.pd__pin { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(225,48,28,.25); }
.pd__sq { width: 12px; height: 12px; flex: none; border-radius: 3px; border: 1.5px solid var(--paper); }
.pd__match { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 16px; padding: 12px 0 0; border-top: 1px dashed rgba(238,234,225,.25); color: rgba(238,234,225,.6); }
.pd__match b { color: var(--paper); font-weight: 500; }
.pd__match .red { color: var(--red); }
.pd__cap { margin-top: 14px; color: rgba(238,234,225,.5); font-size: 10px; text-transform: none; letter-spacing: .02em; }
.pd__awning { position: absolute; left: -1px; right: -1px; top: -22px; width: calc(100% + 2px); height: 30px; }
.pd__awning path { fill: var(--red); }
.pd__node--shop .pd__box { padding-top: 30px; border-radius: 2px; }
.pd__node--shop .pd__k { margin-bottom: 36px; }
.pd__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(238,234,225,.12); }
.pd__list li span { color: rgba(238,234,225,.62); }
.pd__list li b { font-weight: 500; font-variant-numeric: tabular-nums; }
.pd__list li.is-x b { color: var(--red); }

.pd__lanes { display: grid; gap: 38px; padding: 30px clamp(28px, 2.4vw, 40px); }
.lane { position: relative; }
.lane__lbl { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: rgba(238,234,225,.55); }
.lane__lbl b { color: var(--paper); font-weight: 500; text-align: right; }
.lane__track { position: relative; height: 22px; }
.lane__line { position: absolute; left: 0; right: 0; top: 50%; height: 0; border-top: 1px solid rgba(238,234,225,.5); }
.lane__line::after { content: ''; position: absolute; top: -5px; width: 9px; height: 9px; border-top: 1px solid rgba(238,234,225,.7); border-right: 1px solid rgba(238,234,225,.7); }
.lane--out .lane__line::after, .lane--no .lane__line::after { right: 1px; transform: rotate(45deg); }
.lane--in .lane__line::after { left: 1px; transform: rotate(-135deg); }
.lane__pk { position: absolute; inset: 0; transform: translateX(-100%); }
.lane__pk i { position: absolute; right: 0; top: 50%; transform: translate(50%, -50%); padding: 4px 9px; border-radius: 999px; font: 500 10px/1 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; background: var(--paper); color: var(--ink); }
.lane--in .lane__pk { transform: translateX(0); }
.lane--no .lane__line { border-top-style: dashed; border-top-color: rgba(238,234,225,.22); }
.lane--no .lane__line::after { opacity: .3; }
.lane--no .lane__pk i { background: var(--red); color: #fff; }
.lane__stop { position: absolute; left: 14%; top: -6px; bottom: -6px; width: 3px; background: var(--red); border-radius: 2px; }
.lane__stamp { position: absolute; left: 34%; top: 50%; padding: 6px 12px; border: 2.5px solid var(--red); border-radius: 4px; color: var(--red); font: 800 21px/1 var(--display); font-stretch: 66%; text-transform: uppercase; letter-spacing: .06em; transform: translateY(-14%) rotate(-7deg); filter: url(#ink); }
.pd.is-play .lane--out .lane__pk { animation: pkR 3.6s cubic-bezier(.45, 0, .25, 1) infinite; }
.pd.is-play .lane--in .lane__pk { animation: pkL 3.6s cubic-bezier(.45, 0, .25, 1) 1.2s infinite; }
.pd.is-play .lane--no .lane__pk { animation: pkNo 3.6s var(--ease-out) .5s infinite; }
@keyframes pkR { 0% { transform: translateX(-100%); opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(0); opacity: 0; } }
@keyframes pkL { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateX(-100%); opacity: 0; } }
@keyframes pkNo {
  0% { transform: translateX(-100%); opacity: 0; } 10% { opacity: 1; }
  30% { transform: translateX(-87.5%); } 34% { transform: translateX(-89.5%); } 38% { transform: translateX(-87.8%); } 42% { transform: translateX(-89%); }
  75% { transform: translateX(-89%); opacity: 1; } 92%, 100% { transform: translateX(-100%); opacity: 0; }
}

.who { margin-top: clamp(64px, 7vw, 110px); border-top: 1px solid rgba(238,234,225,.5); }
.who__row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(238,234,225,.14); font-size: clamp(16px, 1.3vw, 21px); align-items: baseline; }
.who__row--hd { padding: 12px 0; font-size: 11px; color: rgba(238,234,225,.55); }
.who__row > span:not(:first-child) { display: inline-flex; align-items: baseline; gap: 10px; }
.who__row .y::before, .who__row .n::before, .who__row .m::before { content: ''; width: 9px; height: 9px; border-radius: 50%; flex: none; transform: translateY(-1px); }
.who__row .y::before { background: var(--paper); }
.who__row .n { color: var(--red); }
.who__row .n::before { border: 1.5px solid var(--red); }
.who__row .m::before { background: linear-gradient(90deg, var(--paper) 50%, transparent 0); border: 1px solid var(--paper); }

/* ---------- 05 FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 16px; align-items: start; }
.sec__hd--split { display: block; position: sticky; top: calc(var(--hdr) + 30px); margin: 0; }
.sec__hd--split .sec__title { font-size: clamp(56px, 7.6vw, 132px); }
.faq__list { border-top: 1px solid var(--ink); }
.faq__aside { margin-top: clamp(28px, 3vw, 44px); max-width: 30ch; color: var(--ink-2); }
.faq__aside a { color: var(--ink); }
.qa { border-bottom: 1px solid var(--rule); }
.qa__q { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1fr) 28px; align-items: center; gap: 8px; padding: 24px 0; text-align: left; font: 500 clamp(19px, 1.65vw, 27px)/1.2 var(--text); letter-spacing: -.02em; }
.qa__n { color: var(--ink-3); }
.qa__pm { position: relative; width: 18px; height: 18px; justify-self: end; }
.qa__pm::before, .qa__pm::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .5s var(--ease-expo); }
.qa__pm::after { transform: rotate(90deg); }
.qa.is-open .qa__pm::after { transform: rotate(0); }
.qa.is-open .qa__n { color: var(--red); }
.qa__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .6s var(--ease-expo), visibility 0s linear .6s; }
.qa.is-open .qa__a { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .6s var(--ease-expo), visibility 0s; }
.no-js .qa__a { grid-template-rows: 1fr; visibility: visible; }
.qa__a > div { overflow: hidden; min-height: 0; }
.qa__a p { padding: 0 40px 28px 64px; max-width: 46em; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
@media (hover: hover) { .qa__q:hover .qa__pm { color: var(--red); } }

/* ---------- CTA (red, the stamp pad) ---------- */
.cta { position: relative; padding: clamp(80px, 9vw, 150px) var(--pad) clamp(70px, 7vw, 110px); background: var(--red); color: #fff; overflow: hidden; overflow: clip; }
.cta::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 9px; background: radial-gradient(circle at 50% 0, var(--paper) 5.5px, transparent 6px) 0 0 / 22px 9px repeat-x; }
/* the link ends where the seal begins, so its hit area and the seal never overlap */
.cta__link { display: grid; gap: clamp(20px, 2.4vw, 34px); position: relative; z-index: 2; max-width: calc(100% - clamp(180px, 22vw, 340px) + 40px); }
.cta__k { color: rgba(255,255,255,.78); }
.cta__title { font-size: clamp(64px, 12.4vw, 220px); max-width: 9.5em; color: #FBF5EC; }
.cta__arr { display: inline-block; width: .56em; height: .56em; margin-left: .14em; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: square; transition: transform .7s var(--ease-expo); }
@media (hover: hover) { .cta__link:hover .cta__arr { transform: translate(.08em, -.08em); } }
.cta__p { max-width: 30em; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; color: rgba(255,255,255,.88); }
/* rotated on scroll: its own layer, so the filtered ink is drawn once and only turned */
.cta__seal { position: absolute; z-index: 1; right: clamp(-60px, -2vw, 0px); top: clamp(30px, 5vw, 80px); width: clamp(180px, 22vw, 340px); height: auto; color: rgba(255,255,255,.85); transform: rotate(var(--rot, -14deg)); will-change: transform; }
.seal__ring { font-family: var(--mono); font-size: 13.5px; letter-spacing: .14em; fill: currentColor; }
.seal__mid { font-family: var(--mono); font-size: 13px; fill: currentColor; letter-spacing: .1em; }
.seal__num { font-family: var(--display); font-weight: 800; font-stretch: 66%; font-size: 46px; fill: currentColor; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 14px 30px; padding: 22px var(--pad) 26px; background: var(--red); color: rgba(255,255,255,.85); border-top: 1px solid rgba(255,255,255,.25); }
.link { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .45s var(--ease-expo); padding-bottom: 2px; }
@media (hover: hover) { .link:hover { background-size: 0 1px; background-position: 100% 100%; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
  .hdr__nav { gap: 18px; }
  .design__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
  .receipt-col { grid-column: 1 / -1; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: start; column-gap: 24px; }
  .receipt-col .receipt { grid-row: span 3; }
}
/* hero, 901–1199: no room left of the phone, so the paper card tucks in behind its right side,
   Fig. A stands down and the ring labels give way to the line in the foot */
@media (min-width: 901px) and (max-width: 1199px) {
  .hero { --card-x: .96; --card-y: .2; --card-w: .7; --card-r: 7deg; --pin-y: 1.97; --figb-x: 1.08; --figb-y: 1.43; --figb-l: .1; --figb-w: 21ch; }
  .fig--a, .ring__lbl { display: none; }
}
/* the foot's range line drops to its own row once the three don't fit on one */
@media (max-width: 1199px) {
  .hero__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .hero__foot > * { justify-self: start; }
  .hero__foot > a { justify-self: end; }
  .hero__foot-m { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .hdr__nav { display: none; }
  .hdr__cta { margin-left: auto; }
}
@media (max-width: 1024px) {
  .sec__title { grid-column: 1 / -1; }
  .sec__lede, .priv .sec__lede { grid-column: 1 / span 9; margin-top: 26px; }
  .priv .sec__title { grid-column: 1 / -1; }
  .walk__stage { grid-template-columns: minmax(0, 1fr); }
  .walk__map { border-right: 0; border-bottom: 1px solid var(--rule); min-height: 0; aspect-ratio: 1000 / 720; }
  .walk__side { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; column-gap: 24px; row-gap: 14px; }
  .walk__side .phone { grid-row: span 2; }
  .pd { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: 40px; }
  .pd__lanes { grid-column: 1 / -1; grid-row: 2; padding: 10px 28px; }
  .pd__node--shop { grid-column: 2; grid-row: 1; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .sec__hd--split { position: static; margin-bottom: 40px; }
}

/* hero goes vertical below 900px wide: copy, then the stage centred under it */
@media (max-width: 900px) {
  .hero {
    min-height: 0; padding-bottom: 96px;
    --stage-pw: min(54vw, 300px); --stage-x: calc(50vw - var(--stage-pw) * .85);
    --card-x: .96; --card-y: .14; --card-w: .74; --card-r: 7deg;
    --pin-y: 1.97; --figb-x: 1.08; --figb-y: 1.43; --figb-l: .1; --figb-w: 24ch;
  }
  .hero__copy { max-width: none; }
  .hero__lede { max-width: 30em; }
  .hero__title { font-size: clamp(60px, 17.4vw, 150px); }
  .hero__stage { position: relative; top: auto; left: auto; margin: 64px 0 calc(var(--stage-pw) * .74) calc(var(--stage-x) - var(--pad)); }
  .fig--a { display: none; }
  .fig--b { max-width: min(var(--figb-w), calc(100vw - var(--pad) - var(--stage-x) - var(--stage-pw) * var(--figb-x) - 4px)); }
  /* the rings stop below the phone instead of running through what follows */
  .hero__rings { -webkit-mask-image: linear-gradient(#000 79%, transparent 87%); mask-image: linear-gradient(#000 79%, transparent 87%); }
  .ring__lbl--a { display: none; }
  .ring__lbl--i { --a: 66deg; --s: -1; --r: 270; }
  .hero__foot { position: relative; left: auto; right: auto; bottom: auto; margin-top: 24px; }
}
/* the ticket stacks: three stubs side by side get too narrow for their titles and stamps */
@media (max-width: 900px) {
  .ticket { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; min-height: 0; }
  .stub { --stamp: 78px; grid-row: auto; display: flex; flex-direction: column; padding: 24px 20px 30px; }
  .stub + .stub, .ticket__side { background-image: linear-gradient(90deg, rgba(21,19,16,.32) 50%, transparent 0); background-size: 9px 1.5px; background-repeat: repeat-x; }
  .stub + .stub::before, .stub + .stub::after, .ticket__side::before, .ticket__side::after { left: auto; top: -13px; bottom: auto; }
  .stub + .stub::before, .ticket__side::before { left: -13px; }
  .stub + .stub::after, .ticket__side::after { right: -13px; }
  .stub__t { font-size: min(clamp(48px, 13vw, 84px), calc((100cqi - var(--stamp) - 14px) / 3.7)); margin-top: 18px; }
  .stub__art { align-self: auto; margin-top: 18px; }
  .stub__stamp { top: 54px; }
  .ticket__side { grid-column: auto; grid-row: auto; writing-mode: horizontal-tb; padding: 14px 0; font-size: 10.5px; }
}
/* phones on their side: a smaller phone so it isn't twice the screen tall */
@media (max-width: 900px) and (max-height: 520px) {
  .hero { --stage-pw: 220px; }
  .hero__title { font-size: min(17.4vw, 26svh); }
}

@media (max-width: 760px) {
  :root { --hdr: 58px; }
  .mono { font-size: 11px; }
  .hdr { gap: 12px; }
  .hdr__word { font-size: 19px; }
  .hdr__cta { --h: 40px; font-size: 13px; }
  .hdr__cta .hdr__cta-l { display: none; }
  .hdr__cta .hdr__cta-s { display: inline-flex; padding: 0 12px 0 8px; }
  .hdr__cta > span.tkt__dot { padding-left: 14px; }
  .hdr__cta .tkt__arr { min-width: 36px; padding: 0 11px; }
  .hero { --stage-pw: min(52vw, 280px); --stage-x: var(--pad); display: flex; flex-direction: column; padding-top: calc(var(--hdr) + 34px); padding-bottom: 28px; }
  .hero__copy { display: contents; }
  .kicker { order: 1; align-self: flex-start; }
  .hero__title { order: 2; font-size: 17.3vw; }
  .hero__lede { order: 3; font-size: 16.5px; }
  .hero__ctas { order: 4; }
  .hero__stage { order: 5; margin: 56px 0 calc(var(--stage-pw) * .82) 0; }
  .hero__specs { order: 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
  .hero__specs > div { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero__specs dd { font-size: 44px; }
  .hero__specs dt { font-size: 11px; padding: 9px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .hero__foot { order: 7; display: flex; flex-direction: column; gap: 8px; margin-top: 40px; }
  .tkt { --h: 48px; font-size: 14.5px; }
  .tkt > span:first-child { padding: 0 16px 0 20px; }
  .pin__lbl { display: none; }
  .fig--b { font-size: 10px; }
  .perf::before, .perf::after { width: 10px; height: 22px; margin-top: -11px; }

  .sec { padding-top: 84px; padding-bottom: 84px; }
  .sec__lede, .priv .sec__lede { grid-column: 1 / -1; }
  .sec__title { font-size: 17.4vw; }
  .walk__bar { gap: 8px; padding: 10px; }
  .walk__bar .seg { width: 100%; }
  .walk__bar .seg button { flex: 1; }
  .walk__speed { margin-left: 0; width: 100%; }
  /* on the phone crop the hint takes the bottom-right corner; the map's caption appears there once it goes */
  .walk__hint { left: auto; top: auto; right: 12px; bottom: 12px; max-width: 11em; font-size: 10.5px; line-height: 1.35; }
  .walk__map:not(.is-touched) .m-cart { opacity: 0; }
  .walk__map { aspect-ratio: 640 / 620; }
  .walk__side { grid-template-columns: auto minmax(0, 1fr); padding: 18px 14px; column-gap: 16px; }
  .phone--walk { --pw: 41vw; }
  #ro-dist { font-size: 22px; }
  .readout > div { flex-direction: column; gap: 4px; padding: 7px 0; }
  .walk__note { grid-column: 1 / -1; font-size: 14px; min-height: 0; }

  .design__grid { grid-template-columns: minmax(0, 1fr); }
  .counter { order: -1; }
  .counter__bar { flex-wrap: wrap; }
  .counter__bar .seg { width: 100%; }
  .counter__bar .seg button { flex: 1; }
  .counter .ctrl__acts { position: relative; z-index: 2; justify-content: center; padding-top: 0; }
  .ctrl__note { display: none; }
  .receipt-col { grid-template-columns: minmax(0, 1fr); }
  .receipt-col .receipt { grid-row: auto; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .field-row .field + .field { border-top: 1px solid var(--rule); }
  .pass-wrap { width: min(100%, 320px); }
  .standee__k { font-size: 10.5px; }


  .pd { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .pd__node--phone, .pd__node--shop, .pd__lanes { grid-column: 1; grid-row: auto; }
  .pd__lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 26px 0 40px; }
  .pd__chip small, .pd__cap { font-size: 10.5px; }
  .lane { display: grid; grid-template-rows: auto 150px; }
  .lane__lbl { flex-direction: column; gap: 4px; margin: 0 0 12px; font-size: 10px; }
  .lane__lbl b { text-align: left; }
  .lane__track { height: auto; width: 22px; justify-self: center; }
  .lane__line { left: 50%; right: auto; top: 0; bottom: 0; height: auto; border-top: 0; border-left: 1px solid rgba(238,234,225,.5); }
  .lane--no .lane__line { border-left-style: dashed; border-left-color: rgba(238,234,225,.22); }
  .lane__line::after { left: -5px !important; right: auto !important; }
  .lane--out .lane__line::after, .lane--no .lane__line::after { top: auto; bottom: 1px; transform: rotate(135deg); }
  .lane--in .lane__line::after { top: 1px; transform: rotate(-45deg); }
  .lane__pk { transform: translateY(-100%); }
  .lane__pk i { right: auto; top: auto; left: 50%; bottom: 0; transform: translate(-50%, 50%); }
  .lane--in .lane__pk { transform: translateY(0); }
  .lane__stop { left: -6px; right: auto; top: 14%; bottom: auto; width: 34px; height: 3px; }
  .lane { justify-items: start; }
  .lane__stamp { left: 50%; top: 66%; font-size: 14px; padding: 4px 7px; white-space: nowrap; transform: translateX(-50%) rotate(-8deg); }
  .pd.is-play .lane--out .lane__pk { animation-name: pkD; }
  .pd.is-play .lane--in .lane__pk { animation-name: pkU; }
  .pd.is-play .lane--no .lane__pk { animation-name: pkNoV; }
  .who__row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); font-size: 14px; gap: 12px; }
  .who__row--hd { font-size: 10.5px; }
  .who__row .y::before, .who__row .n::before, .who__row .m::before { display: none; }

  .qa__q { grid-template-columns: 38px minmax(0, 1fr) 22px; padding: 20px 0; font-size: 18px; }
  .qa__a p { padding: 0 8px 24px 46px; }
  .cta { padding-top: 156px; }
  .cta__link { max-width: none; }
  .cta__seal { width: 132px; top: 16px; right: -26px; }
  .cta__title { font-size: 19vw; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@keyframes pkD { 0% { transform: translateY(-100%); opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes pkU { 0% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translateY(-100%); opacity: 0; } }
@keyframes pkNoV {
  0% { transform: translateY(-100%); opacity: 0; } 10% { opacity: 1; }
  30% { transform: translateY(-87%); } 34% { transform: translateY(-89%); } 38% { transform: translateY(-87.4%); } 42% { transform: translateY(-88.6%); }
  75% { transform: translateY(-88.6%); opacity: 1; } 92%, 100% { transform: translateY(-100%); opacity: 0; }
}

/* fingers: every control at least ~42px */
@media (pointer: coarse) {
  .sw { width: 40px; height: 40px; }
  .swatches { gap: 6px 7px; }
  .seg button { height: 44px; }
  .seg--sm button { height: 42px; }
  .btn-mini { height: 42px; padding: 0 14px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-load], .js [data-reveal], .js .ln__in, .js [data-split] .split__in, .js .hero__stage .phone, .js .paper-card, .js .pin, .js .fig { opacity: 1; transform: none; }
  .js .paper-card { transform: rotate(var(--card-r)); }
  .pd .lane__pk { animation: none !important; }
  .lane--out .lane__pk, .lane--in .lane__pk { transform: translateX(-50%); }
  .lane--no .lane__pk { transform: translateX(-89%); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .lane--out .lane__pk, .lane--in .lane__pk { transform: translateY(-50%); }
  .lane--no .lane__pk { transform: translateY(-88.6%); }
}
