/* =========================================================
   REBUILD THE NET
   Two colours only: construction yellow on near-black.
   Every other tone is one of those two at an opacity.
   ========================================================= */

:root {
  --y: #F2C230;
  --k: #0E0E0C;
  --k2: #151512;            /* raised surface, still near-black */
  --y-72: rgba(242, 194, 48, .72);
  --y-48: rgba(242, 194, 48, .48);
  --y-28: rgba(242, 194, 48, .28);
  --y-14: rgba(242, 194, 48, .14);
  --y-08: rgba(242, 194, 48, .08);
  --y-04: rgba(242, 194, 48, .04);
  --k-72: rgba(14, 14, 12, .72);

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* side padding; on very wide screens it grows so content stays in a centred ~1760px column */
  --gutter: max(clamp(16px, 3.4vw, 48px), calc((100vw - 1760px) / 2));
  --nav-h: 64px;
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
body {
  background: var(--k);
  color: var(--y);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
.ico { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.with-ico { display: inline-flex; align-items: center; gap: .5em; }
.anchor .ico { width: 18px; height: 18px; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--y); color: var(--k); }
:focus-visible { outline: 2px solid var(--y); outline-offset: 4px; border-radius: 4px; }

.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--y-48);
}
.sec-label { display: flex; align-items: center; gap: 12px; }
.sec-label b { color: var(--y); font-weight: 500; }
.h2 {
  font-family: var(--display);
  font-variation-settings: "wdth" 62;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 9vw, 9rem);
  line-height: .84;
  letter-spacing: -.01em;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 0 var(--gutter);
  background: linear-gradient(var(--k-72), rgba(14,14,12,0));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(#000 70%, transparent);
  transition: transform .5s var(--ease-out);
}
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 13px; font-weight: 700; }
.anchor {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--y-48); font-size: 16px; line-height: 1;
  transition: background .25s, color .25s, border-color .25s, transform .5s var(--ease-back);
}
.anchor:hover { background: var(--y); color: var(--k); border-color: var(--y); transform: rotate(-18deg); }
.anchor.honk { animation: honk .7s var(--ease-out); }
@keyframes honk { 0%,100% { transform: none } 15% { transform: scale(1.3) rotate(-14deg) } 35% { transform: scale(1.1) rotate(10deg) } 55% { transform: rotate(-4deg) } }
.nav-status {
  display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px;
  border: 1px solid var(--y-14); border-radius: 99px; background: var(--y-04);
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--y-72);
}
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--y); }
.pulse::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--y);
  animation: pulse 1.8s var(--ease-out) infinite;
}
@keyframes pulse { to { transform: scale(3.2); opacity: 0; } }
.nav-links { display: flex; justify-content: flex-end; align-items: center; gap: 4px; font-family: var(--mono); font-size: 12px; }
.nav-links a { padding: 8px 10px; color: var(--y-72); border-radius: 99px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--y); background: var(--y-08); }
.nav-links .nav-cta { margin-left: 8px; background: var(--y); color: var(--k); font-weight: 700; padding: 9px 16px; }
.nav-links .nav-cta:hover { background: var(--y); color: var(--k); box-shadow: 0 0 0 4px var(--y-28); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(100svh, 640px);
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) var(--gutter) clamp(28px, 5vh, 56px);
  overflow: hidden; isolation: isolate;
}
#net, #net-flat { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; touch-action: pan-y; }
#net-flat { display: none; }
.net-flat #net { display: none; }
.net-flat #net-flat { display: block; }
.hero-vignette {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(120% 70% at 20% 100%, var(--k) 10%, transparent 60%),
    linear-gradient(to top, var(--k) 0%, transparent 35%);
}
.hud {
  position: absolute; z-index: 2; display: grid; gap: 4px;
  font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em;
  pointer-events: none;
}
.hud span { color: var(--y-48); }
.hud b { font-weight: 500; font-variant-numeric: tabular-nums; }
.hud::before {
  content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--y-48);
}
.hud-tr { top: calc(var(--nav-h) + 20px); right: var(--gutter); padding: 10px 16px 0 0; text-align: right; min-width: 150px; }
.hud-tr::before { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.hud-bar { height: 2px; background: var(--y-14); margin-top: 4px; }
.hud-bar i { display: block; height: 100%; background: var(--y); width: 0; transition: width .3s var(--ease-out); }
.hint-touch { display: none; }
@media (hover: none) { .hint-fine { display: none; } .hint-touch { display: inline; } }
.hud-br { display: none !important; right: var(--gutter); bottom: clamp(28px, 5vh, 56px); justify-items: center; gap: 10px; }
.hud-br::before { display: none; }
.scroll-line { display: block; width: 1px; height: 56px; background: var(--y-14); position: relative; overflow: hidden; }
.scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--y);
  animation: scrollline 2s var(--ease-io) infinite;
}
@keyframes scrollline { 0% { transform: translateY(-100%) } 60%, 100% { transform: translateY(100%) } }

.hero-inner { position: relative; width: 100%; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.kicker {
  display: flex; align-items: center; gap: 12px; margin-bottom: clamp(12px, 2vw, 24px);
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--y-72);
}
.kicker-tag { background: var(--y); color: var(--k); padding: 4px 8px; border-radius: 4px; font-weight: 700; }

.headline {
  font-family: var(--display);
  font-variation-settings: "wdth" 62;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(4.2rem, min(17vw, 25svh), 19rem);
  line-height: .8;
  letter-spacing: -.015em;
  margin-left: -.04em;
}
.hl-row { display: block; overflow: clip; padding: .02em 0 .03em; white-space: nowrap; }
.hl-row-2 { display: flex; align-items: flex-start; }
.hl-the {
  font-family: var(--mono); font-size: max(12px, .075em); font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--y-72);
  writing-mode: vertical-rl; transform: rotate(180deg);
  margin: .12em .18em 0 .04em; padding: .5em .3em; border: 1px solid var(--y-28); border-radius: 99px;
}
.ch { display: inline-block; will-change: transform; }

/* The missing letters: scaffolding outline that fills as the net is rebuilt */
.scaffold {
  --fill: 0;
  position: relative; display: inline-block;
  color: transparent;
  -webkit-text-stroke: 2px var(--y-48);
  background: repeating-linear-gradient(-45deg, var(--y-28) 0 2px, transparent 2px 9px);
  -webkit-background-clip: text; background-clip: text;
}
.scaffold::after {
  content: attr(data-c);
  position: absolute; inset: 0;
  color: var(--y); -webkit-text-stroke: 0; background: none;
  clip-path: inset(calc(100% - var(--fill) * 100%) 0 0 0);
  transition: clip-path .5s var(--ease-out);
}

.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  margin-top: clamp(20px, 3vw, 36px);
}
.hero-lede {
  font-family: var(--display); font-variation-settings: "wdth" 100; font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.05; letter-spacing: -.02em;
}
.hero-lede span { color: var(--y-48); }
.meter {
  display: grid; grid-template-columns: repeat(3, auto); gap: 0;
  border: 1px solid var(--y-14); border-radius: var(--r); background: rgba(14,14,12,.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.meter-cell { display: grid; gap: 6px; padding: 14px 22px 16px; }
.meter-cell + .meter-cell { border-left: 1px solid var(--y-14); }
.meter-num {
  font-family: var(--display); font-variation-settings: "wdth" 75; font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; font-variant-numeric: tabular-nums;
}

/* ---------- method ---------- */
.method { position: relative; }
.method-pin {
  min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px;
  padding: calc(var(--nav-h) + 24px) var(--gutter) 40px;
}
.method-copy .h2 { margin: 18px 0 40px; }
.arrow { display: inline-block; font-family: var(--sans); font-weight: 300; color: var(--y-48); }
.steps { list-style: none; display: grid; gap: 0; max-width: 520px; position: relative; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0;
  border-top: 1px solid var(--y-14); opacity: .28;
  transition: opacity .5s var(--ease-out);
}
.step:last-child { border-bottom: 1px solid var(--y-14); }
.step.is-on { opacity: 1; }
.step-num { font-family: var(--mono); font-size: 12px; color: var(--y-48); padding-top: 6px; }
.step h3 {
  font-family: var(--display); font-variation-settings: "wdth" 100; font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 6px;
}
.step p { color: var(--y-72); font-size: 15px; max-width: 38ch; }

.method-stage { display: grid; justify-items: center; gap: 16px; }
.phone {
  --ph: min(640px, 72svh);
  position: relative; height: var(--ph); aspect-ratio: 9 / 19;
  border-radius: calc(var(--ph) * .085); padding: calc(var(--ph) * .014);
  background: linear-gradient(145deg, #1d1d19, var(--k2));
  border: 1px solid var(--y-14);
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 50px 100px -20px rgba(0,0,0,.8), 0 0 120px -20px var(--y-14);
}
.phone-notch {
  position: absolute; z-index: 5; top: calc(var(--ph) * .028); left: 50%; transform: translateX(-50%);
  width: 32%; height: calc(var(--ph) * .036); border-radius: 99px; background: #000;
}
.phone-screen {
  position: relative; height: 100%; border-radius: calc(var(--ph) * .072); overflow: hidden;
  background: var(--k); font-size: calc(var(--ph) * .024);
}
.scr { position: absolute; inset: 0; padding: 18% 7% 8%; display: flex; flex-direction: column; gap: 4%; }
.js .scr-blue, .js .scr-app { opacity: 0; }

/* stage 0: the joke */
.post {
  background: var(--k2); border: 1px solid var(--y-14); border-radius: 1.1em; padding: 1.1em;
  color: var(--y); font-family: var(--sans);
}
.post-head { display: flex; gap: .7em; align-items: center; margin-bottom: .8em; }
.avatar { width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--y-28); flex: none; }
.post-head b { display: block; font-size: 1em; }
.post-head span { font-size: .8em; color: var(--y-48); font-family: var(--mono); }
.post p { font-size: 1.12em; line-height: 1.35; }
.post-actions { display: flex; gap: 1.6em; margin-top: 1em; color: var(--y-48); }
.post-reply { margin-left: 12%; padding: .8em 1em; }
.post-reply p { font-size: 1em; color: var(--y-72); }

/* stage 1: blueprint */
.scr-blue { background: var(--k); font-family: var(--mono); }
.bp-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--y-08) 1px, transparent 1px), linear-gradient(90deg, var(--y-08) 1px, transparent 1px);
  background-size: 1.6em 1.6em;
}
.bp-box {
  position: relative; border: 1.5px dashed var(--y-48); border-radius: .8em;
  display: grid; place-items: center; color: var(--y-48); font-size: .8em; text-transform: uppercase; letter-spacing: .1em;
}
.bp-title { height: 8%; }
.bp-card { flex: 1; background: var(--y-04); }
.bp-dim { position: absolute; font-style: normal; font-size: .85em; color: var(--y); }
.bp-dim-w { top: -1.6em; left: 50%; transform: translateX(-50%); }
.bp-dim-h { right: -2.6em; top: 50%; transform: translateY(-50%) rotate(90deg); }
.bp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6%; height: 10%; }
.bp-btn { border-radius: 99px; font-size: 1.2em; }
.bp-status { position: relative; display: grid; gap: .5em; font-size: .8em; text-transform: uppercase; letter-spacing: .12em; color: var(--y); }
.bp-bar { height: 3px; background: var(--y-14); border-radius: 3px; overflow: hidden; }
.bp-bar i { display: block; height: 100%; width: 100%; background: var(--y); transform-origin: left; transform: scaleX(0); }

/* stage 2: it works */
.scr-app { background: var(--y); color: var(--k); }
.app-head b {
  display: block; font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 900;
  font-size: 1.9em; line-height: .95; text-transform: uppercase;
}
.app-head span { font-family: var(--mono); font-size: .8em; opacity: .6; }
.app-stack { position: relative; flex: 1; margin-top: 4%; }
.app-card {
  position: absolute; inset: 0; border-radius: 1.2em; background: var(--k); color: var(--y);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em;
  font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 900; font-size: 2.2em; text-transform: uppercase;
  box-shadow: 0 1em 2em rgba(0,0,0,.25);
}
.app-card.c3 { transform: rotate(-6deg) scale(.9); opacity: .5; }
.app-card.c2 { transform: rotate(4deg) scale(.95); opacity: .75; }
.food { font-size: 2em; }
.app-actions { display: flex; justify-content: center; gap: 12%; }
.app-actions i {
  display: grid; place-items: center; width: 3.6em; height: 3.6em; border-radius: 50%;
  border: 2px solid var(--k); font-style: normal; font-size: 1.1em; font-weight: 700;
}
.app-actions .yes { background: var(--k); color: var(--y); }
.app-match {
  position: absolute; left: 7%; right: 7%; top: 40%; z-index: 3;
  background: var(--k); color: var(--y); border-radius: 1.2em; padding: 1.2em;
  text-align: center; transform: scale(.6); opacity: 0;
}
.app-match small { display: block; font-family: var(--mono); font-size: .8em; text-transform: uppercase; letter-spacing: .14em; opacity: .7; }
.app-match b { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 900; font-size: 3.6em; line-height: .9; text-transform: uppercase; }
.app-mark { position: absolute; right: 7%; top: 11%; font-size: 1.6em; line-height: 0; }
.phone-caption { font-family: var(--mono); font-size: 11px; color: var(--y-48); text-transform: uppercase; letter-spacing: .1em; }

/* ---------- footer ---------- */
.foot { margin-top: clamp(100px, 14vw, 200px); border-top: 1px solid var(--y-14); overflow: hidden; }
.foot-row {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 24px var(--gutter); font-family: var(--mono); font-size: 12px; color: var(--y-72);
}
.wordmark {
  position: relative; padding: 0 var(--gutter);
  font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 900; text-transform: lowercase;
  font-size: 21vw; line-height: .8; letter-spacing: -.03em; white-space: nowrap;
  padding-bottom: .04em;
}
.wm-outline { display: inline-block; color: transparent; -webkit-text-stroke: 1px var(--y-28); }
.wm-fill { position: absolute; left: var(--gutter); top: 0; color: var(--y); clip-path: inset(0 100% 0 0); }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 95;
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  background: var(--y); color: var(--k); font-family: var(--mono); font-weight: 700; font-size: 13px;
  padding: 14px 20px; border-radius: 99px; max-width: calc(100vw - 32px); text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  transition: transform .5s var(--ease-back), visibility .5s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }


.hud-tr em {
  display: block; margin-top: 10px; max-width: 22ch; margin-left: auto;
  font-style: normal; color: var(--y-48); text-transform: none; letter-spacing: .02em; line-height: 1.4;
}
.hud-tr em.hint-touch { display: none; }
@media (hover: none) { .hud-tr em.hint-fine { display: none; } .hud-tr em.hint-touch { display: block; } }
.method-stage { perspective: 1400px; }
.phone { transform-style: preserve-3d; }

/* =========================================================
   THE NOTICE — a council notice cable-tied to the hoarding
   ========================================================= */
.notice-sec { padding: clamp(110px, 15vw, 210px) var(--gutter) clamp(40px, 6vw, 80px); display: grid; justify-items: center; perspective: 1600px; }
.notice {
  position: relative; width: min(1060px, 100%);
  background: var(--y); color: var(--k);
  padding: clamp(30px, 5vw, 64px);
  border-radius: 4px; transform: rotate(-1deg);
  box-shadow: 0 50px 90px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(14,14,12,.2) inset;
}
.notice::before { content: ""; position: absolute; inset: 14px; border: 2px solid var(--k); pointer-events: none; }
.notice::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(14,14,12,.3); pointer-events: none; }
.tie { position: absolute; width: 46px; height: 9px; border-radius: 3px; background: var(--k); z-index: 2; box-shadow: 0 2px 0 rgba(0,0,0,.4); }
.tie::after { content: ""; position: absolute; right: -7px; top: -2px; width: 10px; height: 13px; border-radius: 2px; background: var(--k); }
.tie-tl { left: -14px; top: 22px; transform: rotate(-38deg); }
.tie-tr { right: -14px; top: 22px; transform: rotate(38deg) scaleX(-1); }
.tie-bl { left: -14px; bottom: 22px; transform: rotate(38deg); }
.tie-br { right: -14px; bottom: 22px; transform: rotate(-38deg) scaleX(-1); }
.notice-top {
  display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--k);
  font-family: var(--mono); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
}
.notice-top b { font-weight: 700; }
.notice-title {
  font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.4rem, 10.5vw, 9.6rem); line-height: .8; letter-spacing: -.01em;
  margin: clamp(22px, 3vw, 34px) 0 clamp(26px, 3.4vw, 40px);
}
.notice-grid { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: clamp(16px, 2.4vw, 32px); }
.notice-grid > div { border-top: 2px solid var(--k); padding: 12px 0 20px; }
.notice-grid .wide { grid-column: span 2; }
.notice-grid dt { font-family: var(--mono); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; opacity: .62; margin-bottom: 6px; }
.notice-grid dd { font-family: var(--display); font-variation-settings: "wdth" 100; font-weight: 700; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.18; letter-spacing: -.015em; }
.notice-foot {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  margin-top: 10px; font-family: var(--mono); font-size: 12px; font-weight: 500;
}
.sig { display: inline-flex; align-items: flex-end; gap: 10px; }
.sig i { display: inline-block; width: 150px; border-bottom: 1.5px solid var(--k); }
.stamp-big {
  position: absolute; right: 7%; top: 17%; z-index: 1;
  display: grid; justify-items: center; padding: 10px 18px 12px;
  border: 5px solid var(--k); border-radius: 6px; transform: rotate(-12deg);
  color: var(--k); opacity: .88;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stamp-big span { font-family: var(--mono); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .3em; }
.stamp-big b { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 900; font-size: clamp(34px, 4vw, 52px); line-height: .85; text-transform: uppercase; }

/* =========================================================
   THE LEDGER — hang tags on a rope
   ========================================================= */
.ledger { padding-top: clamp(110px, 15vw, 200px); }
.ledger-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding: 0 var(--gutter); margin-bottom: clamp(20px, 3vw, 40px); }
.ledger-head .h2 { margin-top: 18px; }
.ledger-stats { display: flex; gap: clamp(20px, 4vw, 56px); }
.ledger-stats div { display: grid; }
.ledger-stats b { font-family: var(--display); font-variation-settings: "wdth" 70; font-weight: 900; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: .9; font-variant-numeric: tabular-nums; }
.ledger-stats span { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--y-48); }

.line-wrap { position: relative; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.line-wrap::-webkit-scrollbar { display: none; }
.rope { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.rope path { fill: none; stroke: var(--y); stroke-width: 2.5; stroke-linecap: round; }
.tags { list-style: none; display: flex; align-items: flex-start; justify-content: space-evenly; gap: clamp(40px, 4.5vw, 80px); width: max-content; min-width: 100%; padding: 0 var(--gutter) 90px; }
.tag-slot {
  --hang: 20px; --len: 60px;
  position: relative; padding-top: calc(var(--hang) + var(--len));
  transform-origin: 50% var(--hang); transform: rotate(var(--swing, 0rad));
  perspective: 900px;
}
.string { position: absolute; left: 50%; top: calc(var(--hang) - 3px); width: 1.5px; height: calc(var(--len) + 20px); background: var(--y-72); transform: translateX(-50%); }
.string::before { content: ""; position: absolute; left: 50%; top: -3px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--y); background: var(--k); transform: translateX(-50%); }

.tag {
  --edge: var(--y); --face: #141411; --ink: var(--y);
  position: relative; isolation: isolate;
  width: clamp(250px, 21vw, 310px); padding: 44px 22px 22px;
  color: var(--ink);
  transform: rotateY(var(--turn, 0deg)); transform-origin: 50% 0;
}
.tag::before, .tag::after {
  content: ""; position: absolute; z-index: -1;
  clip-path: polygon(20% 0, 80% 0, 100% 13%, 100% 100%, 0 100%, 0 13%);
}
.tag::before { inset: 0; background: var(--edge); }
.tag::after { inset: 1.5px; background: var(--face); }
.tag.is-building::after { background: repeating-linear-gradient(-45deg, var(--face) 0 16px, #19180f 16px 32px); }
.tag.is-live, .tag.is-draft { --face: var(--y); --ink: var(--k); --edge: var(--y); }
.tag.is-open { --edge: var(--y-48); --ink: var(--y-72); }
.eyelet {
  position: absolute; left: 50%; top: 13px; transform: translateX(-50%);
  width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--ink); background: var(--k);
}
.tag-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tag-n { font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 900; font-size: 62px; line-height: .8; letter-spacing: -.02em; }
.tag-stamp {
  font-family: var(--mono); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  border: 1.5px solid currentColor; padding: 4px 7px; transform: rotate(-6deg); white-space: nowrap;
}
.tag-joke {
  font-family: var(--display); font-variation-settings: "wdth" 90; font-weight: 800;
  font-size: clamp(21px, 1.8vw, 25px); line-height: 1.04; letter-spacing: -.02em; text-transform: lowercase;
  margin: 20px 0 18px; min-height: 3.12em;
}
.tag-fields { border-top: 1.5px dashed currentColor; padding-top: 10px; display: grid; gap: 6px; }
.tag-fields div { display: grid; grid-template-columns: 62px 1fr; gap: 8px; align-items: baseline; }
.tag-fields dt { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; opacity: .6; }
.tag-fields dd { font-family: var(--mono); font-size: 12px; line-height: 1.35; }
.tag-go { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   WORKBENCH — label-maker tape
   ========================================================= */
.bench-sec {
  padding: clamp(110px, 15vw, 200px) var(--gutter) 0;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.bench-head { position: sticky; top: calc(var(--nav-h) + 32px); }
.bench-head .h2 { margin: 18px 0 20px; }
.bench-note { color: var(--y-72); max-width: 34ch; font-size: 16px; }
.tapes {
  list-style: none; display: grid; gap: 22px; padding: 36px clamp(16px, 3vw, 40px);
  border-radius: 18px;
  background: radial-gradient(circle, rgba(242,194,48,.10) 1.6px, transparent 2px) 0 0 / 26px 26px, #12120f;
  border: 1px solid var(--y-14);
}
.tapes li { transform: rotate(var(--r)); margin-left: var(--x); min-width: 0; filter: drop-shadow(0 8px 10px rgba(0,0,0,.55)); }
.tape {
  display: inline-flex; align-items: center; gap: 16px; max-width: 100%; text-align: left;
  padding: 13px 22px 13px 20px;
  background: linear-gradient(180deg, rgba(14,14,12,0) 0, rgba(14,14,12,.05) 45%, rgba(14,14,12,.2) 100%), var(--y);
  color: var(--k);
  clip-path: polygon(0 6%, 1.5% 0, 98.5% 0, 100% 8%, 99% 50%, 100% 92%, 98.5% 100%, 1.5% 100%, 0 94%, 1% 50%);
  font-family: var(--mono); font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  font-size: clamp(13px, 1.35vw, 18px); line-height: 1.25;
  text-shadow: 0 1px 0 rgba(242,194,48,.95), 0 -1px 0 rgba(14,14,12,.35);
  transition: transform .35s var(--ease-back);
}
.tape:hover { transform: translateY(-3px); }
.tape:active { transform: translateY(1px) scale(.98); }
.tape-cat { font-size: .62em; opacity: .62; padding-right: 14px; border-right: 1.5px solid rgba(14,14,12,.3); white-space: nowrap; }
.tape-text { min-width: 0; }
.tape-punch { position: relative; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px dashed rgba(14,14,12,.45); }
.tape[aria-pressed="true"] .tape-punch { background: var(--k); border: 0; box-shadow: inset 0 2px 3px rgba(0,0,0,.6); }
.tape[aria-pressed="true"] .tape-punch::after {
  content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 10px;
  border: solid var(--y); border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* =========================================================
   ASK — write the next tag
   ========================================================= */
.ask { padding: clamp(120px, 16vw, 240px) var(--gutter) 0; }
.ask-h {
  margin: 24px 0 clamp(36px, 5vw, 64px);
  font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 900; text-transform: uppercase;
  font-size: clamp(4.4rem, 17vw, 19rem); line-height: .8; letter-spacing: -.02em;
}
.ask-row { display: block; overflow: clip; padding-bottom: .02em; }
.ask-row-o { color: transparent; -webkit-text-stroke: 2px var(--y); padding-left: .5em; }
.ask-arrow { display: inline-block; width: .42em; height: .62em; vertical-align: -.02em; margin-left: .06em; color: var(--y); animation: bob 2.2s var(--ease-io) infinite; }
@keyframes bob { 50% { transform: translateY(.12em); } }

.composer { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.c-label { display: block; margin-bottom: 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--y-48); }
#joke-input {
  width: 100%; resize: none; background: #12120f; color: var(--y);
  border: 1.5px solid var(--y-28); border-radius: 16px; padding: 18px 20px;
  font-family: var(--display); font-variation-settings: "wdth" 90; font-weight: 700;
  font-size: clamp(22px, 2.3vw, 32px); line-height: 1.15; letter-spacing: -.02em;
  transition: border-color .2s;
}
#joke-input::placeholder { color: var(--y-28); }
#joke-input:focus { outline: none; border-color: var(--y); }
.c-meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 10px 2px 24px; font-family: var(--mono); font-size: 11px; color: var(--y-48); }
.c-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pbtn {
  display: inline-flex; align-items: center; gap: 14px; padding: 15px 20px; border-radius: 99px;
  border: 1px solid var(--y-28); font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--y); background: none; cursor: pointer;
  transition: background .25s, color .25s, border-color .25s;
}
.pbtn i { font-style: normal; transition: transform .35s var(--ease-out); }
.pbtn:hover, .pbtn-solid { background: var(--y); color: var(--k); border-color: var(--y); }
.pbtn:hover i { transform: translate(3px, -3px); }
.composer-tag { display: grid; justify-items: center; perspective: 1000px; padding-top: 20px; }
.composer-tag::before { content: ""; width: 1.5px; height: 40px; background: var(--y-72); margin-bottom: -14px; }
.tag-draft { transform: rotate(3deg); transition: opacity .3s; animation: sway 5s ease-in-out infinite; transform-origin: 50% 0; }
.tag-draft.is-empty .tag-joke { opacity: .4; }
@keyframes sway { 50% { transform: rotate(-2deg); } }

/* =========================================================
   SITE RULES
   ========================================================= */
.rules { padding: clamp(120px, 16vw, 220px) var(--gutter) 0; }
.rules-board { position: relative; border: 1.5px solid var(--y-28); border-radius: 20px; padding: clamp(24px, 4vw, 56px); background: #12120f; }
.rules-title {
  display: inline-block; margin-bottom: clamp(28px, 4vw, 48px); padding: .06em .18em 0;
  background: var(--y); color: var(--k);
  font-family: var(--display); font-variation-settings: "wdth" 62; font-weight: 900; text-transform: uppercase;
  font-size: clamp(3rem, 8vw, 7.4rem); line-height: .86;
}
.rules-list { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.rules-list li { display: grid; align-content: start; gap: 16px; }
.sign { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--y); }
.sign svg { width: 44px; height: 44px; fill: none; stroke: var(--k); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; color: var(--k); }
.sign .dot { fill: var(--k); }
.rules-list b { display: block; font-family: var(--display); font-variation-settings: "wdth" 100; font-weight: 700; font-size: clamp(19px, 1.5vw, 23px); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 6px; }
.rules-list p { color: var(--y-72); font-size: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .rules-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .method-pin { grid-template-columns: 1fr; gap: 24px; align-content: center; }
  .method-copy .h2 { margin: 12px 0 16px; font-size: clamp(2.6rem, 11vw, 4rem); }
  .method-copy .steps .step { display: none; }
  .method-copy .steps .step.is-on { display: grid; opacity: 1; border-bottom: 1px solid var(--y-14); }
  .phone { --ph: min(480px, 52svh); }
  .phone-caption { display: none; }
  .bench-sec { grid-template-columns: 1fr; }
  .bench-head { position: static; }
  .composer { grid-template-columns: 1fr; }
  .notice-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hud-tr { top: calc(var(--nav-h) + 8px); }
  .hl-the { font-size: 11px; }
  .headline { font-size: 19.5vw; }
  .hero-foot { gap: 20px; }
  .meter { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .meter-cell { padding: 12px 14px 14px; }
  .notice { transform: rotate(-.6deg); }
  .notice-grid { grid-template-columns: 1fr; }
  .notice-grid .wide { grid-column: auto; }
  .stamp-big { top: auto; bottom: 7%; right: 4%; transform: rotate(-10deg) scale(.72); }
  .tag { width: 74vw; }
  .tapes li { transform: rotate(calc(var(--r) * .6)); margin-left: 0; }
  .tape-cat { display: none; }
  .ask-row-o { padding-left: .3em; -webkit-text-stroke-width: 1.5px; }
  .c-actions .pbtn { flex: 1 1 100%; justify-content: space-between; }
  .rules-list { grid-template-columns: 1fr; }
  .rules-list li { grid-template-columns: 64px 1fr; align-items: start; }
  .sign { width: 60px; height: 60px; }
  .sign svg { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .scr-joke, .js .scr-blue { display: none; }
  .js .scr-app { opacity: 1; }
  .app-card.c1 { transform: translateX(130%) rotate(22deg); }
  .app-match { opacity: 1; transform: none; }
  .wm-fill { clip-path: none; }
}

/* ---------- very wide screens ---------- */
@media (min-width: 1800px) {
  body { font-size: 18px; }
  .notice { width: min(1180px, 100%); }
  .tag { width: 330px; }
}

/* ---------- short landscape screens (phones on their side) ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 100svh; padding-top: calc(var(--nav-h) + 8px); padding-bottom: 16px; }
  .kicker, .hud-tr { display: none; }
  .headline { font-size: min(12vw, 30svh); }
  .hero-foot { margin-top: 10px; gap: 16px; flex-wrap: nowrap; }
  .hero-lede { font-size: 18px; }
  .hero-lede br, .hero-lede span { display: none; }
  .meter { width: auto; }
  .meter-cell { padding: 8px 14px 10px; }
  .meter-num { font-size: 1.6rem; }
  .method-pin { grid-template-columns: 1fr auto; gap: 24px; padding-top: calc(var(--nav-h) + 4px); padding-bottom: 12px; align-content: center; }
  .method-copy .h2 { font-size: 2.4rem; margin: 6px 0 10px; }
  .phone { --ph: 80svh; }
  .phone-caption { display: none; }
  .notice-title { font-size: 3rem; }
  .ask-h { font-size: min(17vw, 34svh); }
}
