/* BKYO waitlist page. Agreed with KC (29 Nov 2026): a wire hanger and one continuous scroll wire; Libre Caslon
   Display (the logo's face) and Instrument Sans. Colour from KC's reference: mandarin orange, forest green and lime,
   with cream for paper and shapes. Each chapter switches the ground as you scroll. */

@font-face { font-family: "Caslon"; src: url("assets/fonts/LibreCaslonDisplay-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument"; src: url("assets/fonts/instrument-sans-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Anton"; src: url("assets/fonts/anton-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("assets/fonts/ibm-plex-mono-400-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("assets/fonts/ibm-plex-mono-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --orange: #ee4a0c;   /* mandarin, the bright side of Sinopia */
  --green: #0a5843;    /* forest, the deep side of Caribbean */
  --green-deep: #073f30;
  --lime: #f2cc5b;      /* butter (was a neon lime; KC: "that neon colour take it off") */
  --pink: #f6c4c8;
  --cream: #fff3e4;
  --ink: #1b1714;
  --paper: #fff8ef;
  --paper-2: #5f5650;
  --gutter: clamp(24px, 4vw, 56px);
  --pad: max(var(--gutter), calc((100vw - 1240px) / 2)); /* every section lines up on one 1240px column */
  --h2: clamp(3rem, 5.4vw, 5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Theme values; the current chapter sets them (orange is the default). */
  --bg: var(--orange);
  --fg: var(--ink);
  --fg-2: rgba(27, 23, 20, 0.8);
  --head: var(--cream);
  --wire: var(--ink);
  --wire-hi: rgba(255, 243, 228, 0.55);
  --logo: var(--cream);
  --btn-bg: var(--green);
  --btn-fg: var(--lime);
  --ghost: rgba(27, 23, 20, 0.5);
  color-scheme: light;
}
[data-theme="green"] { --bg: var(--green); --fg: var(--cream); --fg-2: rgba(255, 243, 228, 0.82); --head: var(--lime); --wire: var(--cream); --wire-hi: rgba(255, 255, 255, 0.6); --logo: var(--lime); --btn-bg: var(--lime); --btn-fg: var(--green-deep); --ghost: rgba(255, 243, 228, 0.5); }
[data-theme="cream"] { --bg: var(--cream); --fg: var(--ink); --fg-2: rgba(27, 23, 20, 0.75); --head: var(--green); --wire: var(--ink); --wire-hi: rgba(255, 255, 255, 0.6); --logo: #d7340b; --btn-bg: var(--green); --btn-fg: var(--cream); --ghost: rgba(27, 23, 20, 0.4); }
[data-theme="pink"] { --bg: var(--pink); --fg: var(--ink); --fg-2: rgba(27, 23, 20, 0.78); --head: var(--green); --wire: var(--green-deep); --wire-hi: rgba(255, 255, 255, 0.6); --logo: var(--green); --btn-bg: var(--green); --btn-fg: var(--cream); --ghost: rgba(27, 23, 20, 0.4); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--orange); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  color: var(--fg);
  font-family: "Instrument", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
  background: var(--bg); /* painted on the page itself, so hosts that wrap the page cannot hide it */
  transition: color 0.5s var(--ease), background-color 0.7s var(--ease);
}
::selection { background: var(--ink); color: var(--lime); }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 8px; }

.display { font-family: "Anton", Impact, sans-serif; font-weight: 400; letter-spacing: 0.005em; line-height: 0.92; text-transform: uppercase; }
.step h3, .sticker b, .r-head b, .stampMark span, .impression span, .hang .glyph { text-transform: uppercase; }
.ground { display: none; }

/* ---------- The wire ---------- */
.wire { position: absolute; left: 0; top: 0; width: 100%; height: 100px; z-index: 0; pointer-events: none; overflow: visible; }
.wire path { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.5s var(--ease); }
.w-shadow { stroke: rgba(27, 23, 20, 0.28); stroke-width: 5; filter: url(#soft); transform: translate(5px, 9px); }
.w-base { stroke: var(--wire); stroke-width: 3.5; }
.w-hi { stroke: var(--wire-hi); stroke-width: 1.1; transform: translate(-0.8px, -0.9px); }
.w-tip line { stroke: var(--wire); stroke-width: 1.5; }
.w-tip path { fill: var(--cream); stroke: var(--wire); stroke-width: 1.5; }
.w-tip circle { fill: var(--wire); }
.inkLayer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 30; pointer-events: none; overflow: hidden; }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 72px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.nav > * { pointer-events: auto; }
.logoSlot { display: block; width: 88px; color: var(--logo); transition: color 0.5s var(--ease); }
.logoSlot svg { display: block; width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 28px; border-radius: 999px; font: 600 15px/1 "Instrument", sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer; border: 1.5px solid transparent; transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.15s var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-solid { background: var(--btn-bg); color: var(--btn-fg); }
.btn-solid:hover { filter: brightness(1.08); }
.btn-ghost { height: 40px; padding: 0 18px; font-size: 14px; color: var(--fg); border-color: var(--ghost); background: transparent; }
.btn-ghost:hover { border-color: var(--fg); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

main { position: relative; z-index: 1; }

/* ---------- 1. Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; position: relative; overflow: hidden; }
.mega { position: absolute; z-index: 0; left: 50%; top: 9vh; transform: translateX(-50%); font: 400 clamp(8rem, 26vw, 28rem)/0.84 "Anton", Impact, sans-serif; text-transform: uppercase; letter-spacing: -0.005em; color: var(--cream); white-space: nowrap; pointer-events: none; }
.people { position: absolute; z-index: 1; left: 50%; bottom: 0; transform: translateX(-50%); height: min(84vh, 980px); width: auto; filter: drop-shadow(0 30px 40px rgba(27, 23, 20, 0.28)); pointer-events: none; }
.side { position: absolute; z-index: 2; font: 700 14px/1.3 "Instrument", sans-serif; text-transform: uppercase; letter-spacing: 0.02em; color: var(--cream); }
.side-l1 { left: var(--pad); top: 56vh; }
.side-l2 { left: var(--pad); top: 72vh; }
.side-r1 { right: var(--pad); top: 56vh; text-align: right; }
.cta-round { position: absolute; z-index: 3; right: var(--pad); bottom: 96px; width: 172px; height: 172px; border-radius: 50%; background: var(--lime); color: var(--green-deep); display: grid; place-items: center; text-align: center; text-decoration: none; font: 400 28px/1 "Anton", Impact, sans-serif; text-transform: uppercase; box-shadow: 0 18px 30px -18px rgba(27, 23, 20, 0.5); transition: transform 0.4s var(--ease); }
.cta-round:hover { transform: rotate(-8deg) scale(1.04); }
.ai-note { position: absolute; z-index: 2; left: var(--pad); bottom: 38px; font-size: 11px; color: rgba(27, 23, 20, 0.7); }
.name { min-height: 140vh; position: relative; overflow: clip; }
.name-copy { position: absolute; left: var(--pad); bottom: 14vh; max-width: 520px; }
.name h2 { font-size: var(--h2); color: var(--lime); }
.name-copy p { margin-top: 14px; font-size: 19px; color: var(--cream); }
.rig { position: absolute; z-index: 1; right: 3vw; top: 14vh; width: min(58vw, 880px); aspect-ratio: 1000 / 400; }
.hanger { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hanger path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.h-shadow { stroke: rgba(0, 0, 0, 0.4); stroke-width: 10; filter: url(#soft); transform: translate(8px, 16px); }
.h-base { stroke: var(--cream); stroke-width: 8; }
.h-hi { stroke: rgba(255, 243, 228, 0.55); stroke-width: 2.2; transform: translate(-1.5px, -2px); }
.hang { position: absolute; top: 93%; width: 0; transform-origin: 0 0; will-change: transform; touch-action: none; }
.hang .string { display: block; width: 1.5px; margin-left: -0.75px; background: var(--cream); height: var(--len, 60px); }
.hang .glyph { display: block; width: max-content; position: relative; transform: translateX(-50%); margin-top: -0.12em; font: 400 clamp(5rem, 11vw, 10.5rem)/1 "Anton", Impact, sans-serif; color: var(--lime); cursor: grab; user-select: none; text-shadow: 0 16px 24px rgba(0, 0, 0, 0.3); }
.hang.is-held .glyph { cursor: grabbing; }
.hint { position: absolute; z-index: 2; right: calc(var(--pad) + 56vw); top: 20vh; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--cream); transition: opacity 0.6s var(--ease); }
.hint svg { width: 16px; height: 16px; transform: rotate(45deg); }
.hint path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hint.is-gone { opacity: 0; }
.hero-copy { position: absolute; z-index: 2; left: var(--pad); bottom: 64px; max-width: 300px; }
.lead { font-size: 16px; line-height: 1.45; color: var(--ink); font-weight: 500; }

/* A checker strip, the way a shop awning ends. */
.checker { position: absolute; left: 0; right: 0; bottom: 0; height: 24px; z-index: 2; background: conic-gradient(var(--green) 25%, var(--cream) 0 50%, var(--green) 0 75%, var(--cream) 0) 0 0 / 48px 48px; }

/* ---------- 2. Tags on a rail ---------- */
.find { height: 340vh; position: relative; }
.find-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.find-head { padding: 0 var(--pad); }
.find h2 { font-size: var(--h2); max-width: 13ch; color: var(--head); }
.sub { margin-top: 12px; font-size: 18px; color: var(--fg-2); }
.rail { position: relative; margin-top: 5vh; height: 340px; }
.rail-bar { position: absolute; left: -20px; right: -20px; top: 16px; height: 5px; border-radius: 3px; background: var(--cream); box-shadow: 0 8px 14px rgba(0, 0, 0, 0.3); }
.rail-bar span { display: none; }
.tags { position: absolute; left: 0; top: 18px; display: flex; gap: clamp(32px, 4vw, 64px); padding: 0 var(--pad); will-change: transform; }
.tag { position: relative; flex: none; width: clamp(220px, 19vw, 280px); padding: 44px 16px 18px; margin-top: 48px; background: #fff; color: var(--ink); border-radius: 14px; transform-origin: 50% -48px; box-shadow: 0 24px 32px -20px rgba(0, 0, 0, 0.45); display: flex; flex-direction: column; gap: 2px; clip-path: polygon(24% 0, 76% 0, 100% 13%, 100% 100%, 0 100%, 0 13%); }
.tag::before { content: ""; position: absolute; left: 50%; top: -48px; width: 1.5px; height: 64px; background: var(--cream); transform: translateX(-50%); }
.tag .hole { position: absolute; left: 50%; top: 16px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--green); }
.tag b { font-size: 19px; font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.tag span { font-size: 14px; color: var(--paper-2); }
.note { padding: 0 var(--pad); font-size: 13px; color: var(--fg-2); margin-top: 8px; }

/* ---------- 3. The receipt ---------- */
.how { height: 540vh; position: relative; }
.how-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4vw; padding: 88px var(--pad) 0; }
.how h2 { font-size: var(--h2); margin-bottom: 5vh; color: var(--head); }
.steps { list-style: none; position: relative; min-height: 210px; }
.step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(20px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); }
.step.is-on { opacity: 1; transform: none; }
.step.is-past { transform: translateY(-20px); }
.step h3 { font: 400 clamp(1.9rem, 3vw, 2.6rem)/1.1 "Anton", Impact, sans-serif; letter-spacing: -0.01em; color: var(--fg); }
.step p { font-size: 18px; margin-top: 12px; max-width: 34ch; color: var(--fg-2); }
.printer { position: relative; justify-self: center; width: min(460px, 100%); height: 80vh; }
.slot { position: absolute; left: -12px; right: -12px; top: 0; height: 24px; background: var(--green-deep); border-radius: 12px; z-index: 2; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.4); }
.receipt { position: absolute; left: 0; right: 0; top: 12px; background: #fff; color: var(--ink); font: 400 15px/1.6 "Plex Mono", monospace; padding: 30px 28px 38px; clip-path: inset(0 0 calc(100% - var(--printed, 0px)) 0); box-shadow: 0 30px 40px -24px rgba(7, 63, 48, 0.55); --zig: 10px; -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--zig)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--zig)) var(--zig) repeat-x; mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--zig)) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / calc(2 * var(--zig)) var(--zig) repeat-x; }
.r-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.r-head b { font: 400 34px/1 "Anton", Impact, sans-serif; color: var(--orange); margin-bottom: 8px; }
.r-rule { border-top: 1.5px dashed rgba(27, 23, 20, 0.3); margin: 16px 0; }
.r-line { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; opacity: 0.15; transition: opacity 0.3s var(--ease); }
.r-line.is-printed { opacity: 1; }
.r-line i { flex: 1; border-bottom: 1.5px dotted rgba(27, 23, 20, 0.3); transform: translateY(-4px); }
.r-line b { font-weight: 700; text-align: right; }
.r-foot { text-align: center; letter-spacing: 0.15em; color: var(--paper-2); }

/* Rubber stamp marks. */
.stampMark { position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%) rotate(-12deg) scale(1.7); opacity: 0; pointer-events: none; color: var(--orange); }
.stampMark span { display: block; padding: 10px 20px; border: 5px solid currentColor; border-radius: 12px; font: 400 3rem/1 "Anton", Impact, sans-serif; letter-spacing: 0.02em; white-space: nowrap; filter: url(#ink); }
.stampMark.is-down { animation: stampDown 0.42s var(--ease) forwards; }
@keyframes stampDown { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-18deg) scale(1.7); } 60% { opacity: 1; transform: translate(-50%, -50%) rotate(-11deg) scale(0.97); } 100% { opacity: 0.92; transform: translate(-50%, -50%) rotate(-12deg) scale(1); } }
.stampMark.small span { font-size: 1.7rem; padding: 6px 12px; border-width: 3px; }

/* ---------- 4. What's next ---------- */
.next { height: 240vh; position: relative; }
.next-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 88px var(--pad) 0; }
.next h2 { font-size: var(--h2); margin-bottom: 6vh; color: var(--head); }
.stickers { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(20px, 3vw, 40px); max-width: 1180px; align-items: start; }
.sticker { background: var(--cream); color: var(--ink); border-radius: 24px; padding: 28px 28px 32px; box-shadow: 0 26px 36px -26px rgba(27, 23, 20, 0.5); display: flex; flex-direction: column; gap: 8px; opacity: 0; transform: rotate(calc(var(--r) * 3)) translateY(-28px) scale(1.12); transition: opacity 0.4s var(--ease), transform 0.6s var(--ease); }
.sticker.is-on { opacity: 1; transform: rotate(var(--r)); }
.sticker b { font: 400 clamp(2.2rem, 3.4vw, 3rem)/1 "Anton", Impact, sans-serif; }
.sticker span { font-size: 17px; line-height: 1.4; color: var(--paper-2); }
.sticker-accent { background: var(--green); color: var(--cream); margin-top: 40px; }
.sticker-accent b { color: var(--lime); }
.sticker-accent span { color: rgba(255, 243, 228, 0.85); }
.sticker:last-child { background: var(--lime); }
.sticker:last-child span { color: rgba(7, 63, 48, 0.85); }

/* ---------- 5. The tag you fill in ---------- */
.join { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--pad) 0; }
.formTag { position: relative; width: min(600px, 100%); margin: 0 auto 8vh; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 76px clamp(24px, 4vw, 48px) 40px; clip-path: polygon(16% 0, 84% 0, 100% 10%, 100% 100%, 0 100%, 0 10%); box-shadow: 0 34px 60px -34px rgba(0, 0, 0, 0.6); transform-origin: 50% 0; }
.formTag .hole { position: absolute; left: 50%; top: 24px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--green); }
.formTag h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); max-width: 13ch; color: var(--green); }
.join-lead { margin: 12px 0 28px; color: var(--paper-2); font-size: 18px; }
.formTag .btn-solid { background: var(--green); color: var(--lime); }
.label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-row { display: flex; gap: 8px; }
.form input[type="email"] { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 1.5px solid rgba(27, 23, 20, 0.3); border-radius: 999px; font: 400 16px "Instrument", sans-serif; color: var(--ink); background: #fff; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.form input[type="email"]::placeholder { color: #857b74; }
.form input[type="email"]:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(10, 88, 67, 0.2); }
.form input[aria-invalid="true"] { border-color: var(--orange); }
.error { min-height: 22px; margin-top: 6px; font-size: 14px; color: #b33508; }
.check { display: flex; align-items: center; gap: 10px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fine { font-size: 13px; color: var(--paper-2); margin-top: 14px; }
.done h3 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--green); }
.done p { margin-top: 10px; color: var(--paper-2); }
#listStamp { top: 30%; left: 72%; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 243, 228, 0.2); padding: 20px 140px calc(24px + env(safe-area-inset-bottom)) 0; font-size: 14px; color: var(--fg-2); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }

/* ---------- The stamp you can pick up ---------- */
.stampTool { position: fixed; right: var(--pad); bottom: 36px; z-index: 45; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 14px; border-radius: 999px; border: 1.5px solid var(--ghost); background: transparent; color: var(--fg); font: 600 14px "Instrument", sans-serif; cursor: pointer; transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background-color 0.3s var(--ease); }
.stampTool svg, .ghost svg { width: 18px; height: 18px; }
.stampTool path, .ghost path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.stampTool:hover { border-color: var(--fg); }
.stampTool[aria-pressed="true"] { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.ghost { position: fixed; left: 0; top: 0; z-index: 50; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--lime); pointer-events: none; opacity: 0; transform: translate(-100px, -100px); transition: opacity 0.2s var(--ease); }
body.is-stamping .ghost { opacity: 1; }
body.is-stamping, body.is-stamping * { cursor: crosshair !important; }
.impression { position: absolute; pointer-events: none; transform: translate(-50%, -50%) rotate(var(--rot)); animation: press 0.25s var(--ease) both; }
.impression span { display: block; padding: 6px 14px; border: 3px solid currentColor; border-radius: 10px; font: 400 1.9rem/1 "Anton", Impact, sans-serif; white-space: nowrap; filter: url(#ink); opacity: 0.9; }
@keyframes press { from { transform: translate(-50%, -50%) rotate(var(--rot)) scale(1.35); opacity: 0; } to { transform: translate(-50%, -50%) rotate(var(--rot)) scale(1); opacity: 1; } }

/* ---------- Without JS everything is readable ---------- */
.no-js .step { position: static; opacity: 1; transform: none; margin-bottom: 20px; }
.no-js .receipt { clip-path: none; }
.no-js .sticker { opacity: 1; transform: rotate(var(--r)); }

/* ---------- Phones ---------- */
@media (max-width: 820px) {
  body { font-size: 16px; }
  .nav { height: 64px; }
  .logoSlot { width: 72px; }
  .mega { top: 13vh; font-size: 30vw; }
  .people { height: 64vh; }
  .side { display: none; }
  .cta-round { width: 116px; height: 116px; font-size: 19px; bottom: 120px; }
  .hero-copy { top: calc(13vh + 30vw * 0.9); bottom: auto; max-width: 78vw; }
  .lead { font-size: 14px; }
  .ai-note { bottom: auto; top: calc(13vh + 30vw * 0.9 + 92px); }
  .name { min-height: 110vh; }
  .name-copy { bottom: 10vh; right: var(--pad); }
  .rig { top: 11vh; right: auto; left: 50%; width: 104vw; transform: translateX(-50%); }
  .hang .glyph { font-size: clamp(3.4rem, 16vw, 5.4rem); }
  .hint { top: 10vh; right: var(--pad); }
  .lead { font-size: 17px; }
  .find { height: auto; }
  .find-pin { position: static; height: auto; padding: 18vh 0 10vh; }
  .rail { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 24px; }
  .rail-bar { right: auto; width: 1900px; }
  .tags { position: relative; top: 18px; }
  .tag { scroll-snap-align: center; width: 64vw; }
  .how-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 16px; padding-top: 84px; }
  .how h2 { margin-bottom: 12px; }
  .steps { min-height: 176px; }
  .printer { height: 50vh; width: min(340px, 84vw); }
  .receipt { font-size: 12px; padding: 18px 16px 28px; }
  .r-head b { font-size: 26px; }
  .stampMark span { font-size: 2.2rem; }
  .next-pin { padding-top: 84px; }
  .stickers { grid-template-columns: 1fr; gap: 12px; }
  .sticker { padding: 20px 22px 24px; }
  .sticker-accent { margin-top: 0; }
  .form-row { flex-direction: column; }
  .form-row .btn, .form-row input[type="email"] { width: 100%; flex: none; }
  .foot { padding-right: 0; padding-bottom: 84px; }
}

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

/* Product photos on the tags. */
.tag img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 14px; background: #f6f4f1; }
.tag figcaption { display: flex; flex-direction: column; gap: 4px; }
.tag figcaption b { font-size: 17px; font-weight: 600; line-height: 1.25; }
.tag figcaption span { font-size: 14px; color: var(--paper-2); }
.rail { height: 470px; }
.rail-bar { background: var(--ink); }
.tag::before { background: var(--ink); }

/* The app, on a phone: one screen per step. */
.phone { justify-self: center; position: relative; width: min(340px, 78vw); aspect-ratio: 9 / 19; border-radius: 46px; background: #141210; padding: 11px; box-shadow: 0 40px 60px -30px rgba(27, 23, 20, 0.55), inset 0 0 0 2px #2a2623; }
.screen { position: relative; height: 100%; border-radius: 36px; background: #fff; overflow: hidden; color: var(--ink); }
.screen::before { content: ""; position: absolute; left: 50%; top: 10px; width: 92px; height: 26px; margin-left: -46px; border-radius: 14px; background: #141210; z-index: 3; }
.scr { position: absolute; inset: 0; padding: 60px 20px 24px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(24px); transition: opacity 0.45s var(--ease), transform 0.6s var(--ease); font-size: 13px; }
.scr.is-on { opacity: 1; transform: none; }
.scr.is-past { transform: translateY(-24px); }
.s-logo { display: block; width: 92px; color: #d7340b; margin-bottom: 8px; }
.s-logo svg { width: 100%; height: auto; display: block; }
.scr h4 { font: 400 26px/1.1 "Caslon", Georgia, serif; }
.scr p { color: #5f5650; line-height: 1.45; }
.scr label { font-size: 11px; font-weight: 600; margin-top: 6px; }
.s-field { display: flex; gap: 10px; align-items: center; height: 42px; padding: 0 12px; border: 1px solid #d9d3cd; border-radius: 10px; color: #8f857e; }
.s-field b { color: var(--ink); font-weight: 600; padding-right: 10px; border-right: 1px solid #d9d3cd; }
.s-field .dark { color: var(--ink); }
.s-btn { margin-top: auto; height: 44px; border-radius: 10px; background: #d7340b; color: #fff; display: grid; place-items: center; font-weight: 600; }
.s-id { display: flex; gap: 8px; align-items: center; font-size: 11px; color: #5f5650; }
.s-id i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.s-bar { font-weight: 600; font-size: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee8e2; margin-bottom: 4px; }
.s-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.s-photos img, .s-photos span { aspect-ratio: 1; width: 100%; object-fit: cover; border-radius: 8px; background: #f3efea; }
.s-photos span { display: grid; place-items: center; color: #8f857e; font-size: 12px; border: 1px dashed #d9d3cd; }
.s-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.s-chips span { padding: 6px 10px; border-radius: 999px; border: 1px solid #d9d3cd; font-size: 11px; }
.s-chips .on { border-color: #d7340b; color: #d7340b; font-weight: 600; }
.s-msg { max-width: 82%; padding: 9px 12px; border-radius: 14px; line-height: 1.35; }
.s-msg.them { background: #f3efea; align-self: flex-start; border-bottom-left-radius: 4px; }
.s-msg.me { background: #d7340b; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.s-offer { align-self: center; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid #e6dfd8; border-radius: 12px; font-size: 12px; }
.s-offer em { font-style: normal; color: var(--green); font-weight: 600; }
.s-order { display: flex; gap: 12px; align-items: center; }
.s-order img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.s-order div { display: flex; flex-direction: column; gap: 2px; }
.s-steps { display: flex; flex-direction: column; gap: 10px; margin: 10px 0; padding-left: 14px; border-left: 2px solid #eee8e2; }
.s-steps span { color: #a59b94; position: relative; }
.s-steps span::before { content: ""; position: absolute; left: -20px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #e6dfd8; }
.s-steps .on { color: var(--ink); font-weight: 600; }
.s-steps .on::before { background: var(--green); }
.s-cash { margin-top: auto; padding: 14px; border-radius: 12px; background: #fff3e4; font-weight: 600; text-align: center; }
.s-stars { font-size: 26px; color: #d7340b; letter-spacing: 4px; margin-top: 30px; text-align: center; }
.scr[data-scr="4"] p { text-align: center; font-size: 15px; color: var(--ink); }
.s-small { text-align: center; color: #8f857e; font-size: 11px; }
.phone .stampMark { top: 62%; }
.phone .stampMark span { font-size: 2.2rem; }
.how-note { font-size: 13px; color: var(--fg-2); margin-top: 24px; }
@media (max-width: 820px) {
  .phone { width: min(260px, 70vw); }
  .rail { height: auto; }
  .tag { width: 64vw; }
}

/* Fit the photo tags and the heading in one screen, clear of the nav. */
.find-pin { justify-content: flex-start; padding-top: 112px; }
.find h2 { font-size: clamp(2.8rem, 4.6vw, 4.2rem); max-width: 16ch; }
.rail { height: 420px; margin-top: 32px; }
.tag { width: clamp(190px, 15vw, 230px); }
@media (max-width: 820px) { .find-pin { padding-top: 18vh; } .tag { width: 62vw; } }
.tag img { aspect-ratio: 4 / 3.4; }
.find-pin { padding-top: 96px; }
.find h2 { font-size: clamp(2.6rem, 4vw, 3.8rem); }
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-grid figure { display: flex; flex-direction: column; gap: 4px; }
.s-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #f6f4f1; }
.s-grid b { font-size: 11px; }
.step h3 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); max-width: 18ch; }

/* Each chapter carries its own colour, so text never sits on the wrong ground. */
.chapter { background: var(--bg); color: var(--fg); }
.chapter[data-theme="orange"] { --bg: var(--orange); --fg: var(--ink); --head: var(--cream); }
/* More room: one rhythm for heading, line and content. */
.find h2, .how h2, .next h2, .name h2 { margin-bottom: 20px; }
.sub, .name-copy p { margin-top: 0; margin-bottom: 40px; max-width: 40ch; }
.steps { margin-top: 40px; }
.step p { margin-top: 16px; }
.find-pin { padding-top: 128px; }
.rail { margin-top: 8px; }
.stickers { margin-top: 24px; }
.next h2 { margin-bottom: 48px; }
.formTag h2 { margin-bottom: 16px; }
@media (max-width: 820px) {
  .find-pin { padding: 120px 0 80px; }
  .tag { width: clamp(180px, 44vw, 240px); }
  .rail { height: auto; }
  .name-copy { left: var(--pad); right: var(--pad); bottom: 12vh; }
  .how-pin { padding-top: 104px; gap: 24px; }
  .next-pin { padding-top: 104px; }
  .hero-copy { max-width: 84vw; }
}

[data-theme="butter"] { --bg: var(--lime); --fg: var(--ink); --fg-2: rgba(27, 23, 20, 0.8); --head: var(--green); --wire: var(--ink); --logo: var(--green); --btn-bg: var(--green); --btn-fg: var(--cream); --ghost: rgba(27, 23, 20, 0.4); }
.how { transition: background-color 0.6s var(--ease), color 0.6s var(--ease); }
.how[data-theme="green"] .step p, .how[data-theme="green"] .step h3 { color: var(--cream); }
.how[data-theme="orange"] h2 { color: var(--cream); }

.tag { transform: none !important; }
@media (max-width: 820px) { .rail { scroll-behavior: smooth; overscroll-behavior-x: contain; } .tag { scroll-snap-align: start; } .tags { padding-right: 40vw; } }

/* KC: headline lines up with the text; headers in BKYO orange; white round button. */
.mega { left: var(--pad); transform: none; }
.cta-round { background: #fff; color: var(--green-deep); }
[data-theme="green"], [data-theme="cream"], [data-theme="pink"], [data-theme="butter"] { --head: var(--orange); }
.name h2 { color: var(--head); }
.formTag h2 { color: var(--orange); }
@media (min-width: 821px) and (max-width: 1240px) { .people { left: 60%; height: min(74vh, 900px); } .side-r1 { display: none; } }

/* ---------------------------------------------------------------- 30 Nov round: fuller sections */
@font-face { font-family: "Teko"; src: url("assets/fonts/teko-600-devanagari.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+25CC, U+A830-A839, U+A8E0-A8FF; }

/* KC: body text on orange goes white. */
:root, .chapter[data-theme="orange"] { --fg: #fff; --fg-2: rgba(255, 255, 255, 0.94); --ghost: rgba(255, 255, 255, 0.6); }
.lead { color: #fff; }
.chapter[data-theme="orange"] .step p { font-weight: 500; }

/* KC: "IT SOLD" sat too close to the logo. */
@media (min-width: 821px) { .mega { top: calc(72px + 5vh); } }

/* Name: the word in Nepali, outlined, filling in as you scroll. */
.deva { position: relative; margin: 0 0 8px; font: 600 clamp(9rem, 19vw, 17rem)/1.08 "Teko", "Kohinoor Devanagari", "Noto Sans Devanagari", sans-serif; white-space: nowrap; max-width: none; }
.deva-line { color: transparent; -webkit-text-stroke: 2px var(--lime); }
.deva-fill { position: absolute; inset: 0; color: var(--lime); clip-path: inset(-20% 110% -20% -10%); }
.name-copy .deva { margin-bottom: 8px; }
@media (max-width: 820px) { .deva { font-size: 44vw; } .deva-line { -webkit-text-stroke-width: 1.5px; } }
@media (prefers-reduced-motion: reduce) { .deva-fill { clip-path: none; } }

/* How: a step counter and stickers around the phone. */
.count { display: flex; align-items: baseline; gap: 10px; margin-top: 32px; color: var(--fg); }
.count b { font: 400 clamp(3rem, 5vw, 4.5rem)/1 "Anton", Impact, sans-serif; }
.count span { font: 600 16px "Instrument", sans-serif; opacity: 0.7; }
.count i { align-self: center; width: 140px; height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--fg) 20%, transparent); margin-left: 8px; overflow: hidden; }
.count em { display: block; height: 100%; width: 20%; background: var(--fg); border-radius: 4px; transition: width 0.5s var(--ease); }
.fl { position: absolute; z-index: 3; left: var(--x); top: var(--y); opacity: 0; transform: translate(-50%, 16px) rotate(var(--r)) scale(0.85); transition: opacity 0.35s var(--ease), transform 0.55s var(--ease); pointer-events: none; }
.fl.is-on { opacity: 1; transform: translate(-50%, 0) rotate(var(--r)); }
.fl-photo { width: 42%; background: #fff; padding: 7px 7px 9px; border-radius: 16px; box-shadow: 0 22px 30px -20px rgba(27, 23, 20, 0.55); }
.fl-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.fl-photo b { display: block; padding: 7px 4px 0; font: 600 14px "Instrument", sans-serif; color: var(--ink); }
.fl-pill, .fl-bubble { white-space: nowrap; padding: 14px 22px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 17px "Instrument", sans-serif; box-shadow: 0 18px 26px -18px rgba(27, 23, 20, 0.6); }
.fl-bubble { background: #fff; color: var(--ink); border-radius: 20px 20px 20px 6px; }
.fl-bubble.fl-me { background: var(--green); color: var(--cream); border-radius: 20px 20px 6px 20px; }
@media (max-width: 820px) {
  .count { margin-top: 12px; } .count b { font-size: 2.4rem; } .count i { width: 96px; }
  .fl { left: calc(var(--x) * 0.6 + 20%); }
  .fl-photo { width: 34%; padding: 5px 5px 7px; border-radius: 12px; }
  .fl-photo b { font-size: 12px; padding-top: 5px; }
  .fl-pill, .fl-bubble { padding: 9px 13px; font-size: 12.5px; }
}

/* Next: a band of what you'll find, sliding with the scroll. */
.band { position: absolute; left: 0; right: 0; bottom: 5vh; overflow: hidden; pointer-events: none; }
.band-track { display: flex; align-items: center; gap: 0.35em; width: max-content; font: 400 clamp(3rem, 7.4vw, 7rem)/1 "Anton", Impact, sans-serif; text-transform: uppercase; color: var(--cream); will-change: transform; }
.band-track .o { color: transparent; -webkit-text-stroke: 1.5px var(--cream); }
.band-track i { font-style: normal; font-size: 0.5em; color: var(--lime); }
.next-pin { position: sticky; }
@media (max-width: 820px) { .band { bottom: 4vh; } .band-track { font-size: 3.2rem; } }

/* Join: loose price tags lying around the form. */
.join { position: relative; overflow: clip; }
.formTag { z-index: 2; }
.loose { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.loose figure { position: absolute; left: var(--x); top: var(--y); width: clamp(130px, 12vw, 184px); background: var(--paper); padding: 30px 10px 12px; border-radius: 14px; transform: rotate(var(--r)); box-shadow: 0 26px 34px -24px rgba(0, 0, 0, 0.6); clip-path: polygon(20% 0, 80% 0, 100% 12%, 100% 100%, 0 100%, 0 12%); }
.loose figure.sm { width: clamp(110px, 9.5vw, 148px); }
.loose i { position: absolute; left: 50%; top: 10px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--green); }
.loose img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.loose b { display: block; padding-top: 8px; font: 400 22px/1 "Anton", Impact, sans-serif; color: var(--ink); }
@media (max-width: 820px) {
  .loose figure { width: 104px; padding: 22px 7px 9px; }
  .loose figure.sm { display: none; }
  .loose figure:nth-child(2) { left: 8%; top: 4%; }
  .loose figure:nth-child(1) { left: 34%; top: 1%; }
  .loose figure:nth-child(4) { left: 66%; top: 5%; }
  .loose figure:nth-child(6) { display: none; }
  .loose b { font-size: 17px; }
}
@media (max-width: 820px) {
  .fl { left: calc(var(--x) * 0.5 + 24%); }
  .fl-pill, .fl-bubble { white-space: normal; max-width: 190px; text-align: center; }
  .band { top: 84px; bottom: auto; }
  .band-track { font-size: 2.8rem; }
  .next-pin { padding-top: 150px; }
  .join { padding-top: 260px; }
  .loose figure:nth-child(2) { left: 6%; top: 96px; }
  .loose figure:nth-child(1) { left: 36%; top: 84px; }
  .loose figure:nth-child(4) { left: 66%; top: 100px; }
}
@media (max-width: 820px) {
  .fl-pill, .fl-bubble { width: max-content; max-width: 180px; }
  .join { padding-top: 120px; }
  .loose { display: none; }
}
