/* POLAKID — www.polakid.app. Tokens: ../DESIGN.md */

@font-face { font-family: "Pirata One"; src: url("../fonts/pirata-one.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "POLAKID Bold"; src: url("../fonts/polakid-bold.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "POLAKID Fineliner"; src: url("../fonts/polakid-fineliner.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0D0C0B; --panel: #171614; --raised: #22201D; --hair: #373430;
  --cream: #EFE9DE; --paper: #E8E1D2; --paper-2: #DCD3C1; --muted: #9C958A;
  --orange: #F47B20; --acid: #D9FF1F; --opacifier: #1F3A3A;
  --print-white: #F6F3EC; --pack-white: #F3F1EA;

  --f-mark: "Pirata One", serif;
  --f-hand: "POLAKID Bold", "Arial Narrow", sans-serif;
  --f-fine: "POLAKID Fineliner", "Arial Narrow", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --gut: clamp(16px, 3vw, 40px);
  --nav-h: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.5 var(--f-mono); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--acid); color: var(--ink); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: var(--s4); top: -100px; z-index: 100; background: var(--acid); color: var(--ink); padding: var(--s2) var(--s4); font-weight: 700; text-decoration: none; }
.skip:focus { top: var(--s2); }
:focus-visible { outline: 3px solid var(--acid); outline-offset: 3px; }

/* grain over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .32; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.2 -.1'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- primitives ---------- */
.label { font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.label b { font-weight: 800; }
.readout { font: 600 13px/1.2 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.readout data, .readout output, .readout .v { color: var(--orange); font-weight: 700; }
.hand { font-family: var(--f-hand); font-weight: 400; line-height: .9; text-transform: uppercase; }
.fine { font-family: var(--f-fine); line-height: 1; text-transform: uppercase; }
.ph { display: block; font: 500 9px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; opacity: .55; margin-top: var(--s1); }
.ph::before { content: "PH \00A9  "; }

.btn {
  display: inline-flex; align-items: center; gap: var(--s2); padding: 10px 16px; border: 1px solid currentColor; border-radius: 0;
  background: transparent; cursor: pointer; font: 700 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.btn:hover { background: currentColor; }
.btn:hover > span { color: var(--btn-inv, var(--paper)); }
.btn:disabled { opacity: .4; cursor: default; background: transparent; }
.btn:disabled > span { color: inherit; }

.cross { position: absolute; width: 13px; height: 13px; pointer-events: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: currentColor; }
.cross::before { left: 6px; top: 0; width: 1px; height: 13px; }
.cross::after { top: 6px; left: 0; height: 1px; width: 13px; }

/* prints */
/* frame widths as % of the print's own width: margins on the child, which measure against the figure */
.print { position: relative; display: flow-root; background: var(--print-white); box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 10px 18px -12px rgba(0,0,0,.55); }
.print img { width: 100%; height: 100%; object-fit: cover; }
.print--integral .print__img { margin: 5.6% 5.6% 20.5%; aspect-ratio: 1; overflow: hidden; background: #111; }
.print--pack { background: var(--pack-white); }
.print--pack .print__img { margin: 5.8%; aspect-ratio: 95 / 73; overflow: hidden; background: #111; }
.print--pack.print--tall .print__img { aspect-ratio: 73 / 95; }
.print__cap { position: absolute; left: 7%; right: 7%; bottom: 3.5%; height: 13%; display: flex; align-items: center; font-family: var(--f-fine); font-size: clamp(14px, 1.6vw, 22px); line-height: 1; color: #1a1a1a; text-transform: uppercase; }
.print--pack .print__cap { position: static; height: auto; margin: -2.5% 5.8% 0; padding-bottom: 4.5%; font-size: clamp(12px, 1.2vw, 16px); }
.tape { position: absolute; width: 38%; height: 22px; left: 31%; top: -11px; background: rgba(240, 236, 214, .72); box-shadow: 0 1px 2px rgba(0,0,0,.12); transform: rotate(-3deg); z-index: 2; }

/* sticker CTA */
.sticker {
  position: relative; display: grid; place-items: center; width: var(--st, 180px); aspect-ratio: 1; text-decoration: none; color: var(--ink);
  transform: rotate(-8deg); transition: transform .35s var(--ease); -webkit-tap-highlight-color: transparent;
}
.sticker svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 6px 8px rgba(0,0,0,.35)); }
.sticker svg polygon { fill: var(--acid); stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.sticker__txt { position: relative; text-align: center; line-height: .86; }
.sticker__big { display: block; font-family: var(--f-hand); font-size: calc(var(--st, 180px) * .2); }
.sticker__small { display: block; margin-top: 6px; font: 700 calc(var(--st, 180px) * .058)/1.15 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.sticker:hover, .sticker:focus-visible { transform: rotate(-2deg) scale(1.04); }
.sticker:active { transform: rotate(-2deg) scale(.97); }
.sticker:focus-visible { outline: none; }
.sticker:focus-visible svg polygon { stroke: var(--cream); stroke-width: 3; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: var(--s5);
  padding: 0 var(--gut); background: var(--ink); color: var(--cream); border-bottom: 1px solid var(--hair);
}
.nav__mark { font: 400 26px/1 var(--f-mark); text-transform: lowercase; text-decoration: none; letter-spacing: .01em; }
.nav__links { display: flex; gap: var(--s5); margin-left: auto; }
.nav__links a { text-decoration: none; }
.nav__links a:hover { color: var(--acid); }
.nav__soon { background: var(--acid); color: var(--ink); text-decoration: none; padding: 6px 10px; transform: rotate(-3deg); font-weight: 800; }
.nav__soon:hover { transform: rotate(0); }
.nav__status { color: var(--muted); }
.nav__status i { display: inline-block; width: 7px; height: 7px; background: var(--orange); margin-right: 6px; animation: blink 1.6s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; overflow: hidden; background: var(--ink); color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; padding-top: var(--nav-h); }
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: develop-img 2.8s .3s var(--ease) both; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,12,11,.55) 0%, rgba(13,12,11,0) 22%, rgba(13,12,11,0) 55%, rgba(13,12,11,.75) 100%); }
.hero__veil { position: absolute; inset: 0; background: var(--opacifier); animation: develop-veil 2.8s .3s var(--ease) both; }
@keyframes develop-img { from { filter: brightness(.35) saturate(.1) contrast(.6); } to { filter: none; } }
@keyframes develop-veil { from { opacity: .96; } to { opacity: 0; } }

.hero__top { position: absolute; top: calc(var(--nav-h) + var(--s4)); left: var(--gut); right: var(--gut); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); z-index: 2; }
.hero__top .ph { opacity: .8; margin: 0; }

.hero__body { position: relative; z-index: 2; }
.hero__lede { position: absolute; left: var(--gut); bottom: 100%; max-width: 34ch; margin-bottom: var(--s5); text-shadow: 0 1px 12px rgba(0,0,0,.5); font-size: clamp(14px, 1.2vw, 17px); line-height: 1.45; }
.hero__mark {
  /* Pirata One, always lowercase (owner, 2026-11-05): "polakid" is 2.50 em wide, ascenders .79 em, the p's tail .18 em */
  font: 400 calc((100vw - 2 * var(--gut)) / 2.5)/1.09 var(--f-mark); text-transform: lowercase; letter-spacing: -.01em; margin: -.1em 0 0 var(--gut); white-space: nowrap;
  color: var(--cream); position: relative; top: 0;
}
.hero__sticker { position: absolute; right: var(--gut); top: calc(var(--nav-h) + var(--s4)); z-index: 3; --st: clamp(120px, 13vw, 200px); }

.ticker { position: relative; z-index: 3; overflow: hidden; background: var(--orange); color: var(--ink); border-top: 1px solid var(--ink); white-space: nowrap; }
.ticker__track { display: inline-flex; gap: 0; animation: ticker 38s linear infinite; padding: 10px 0; }
.ticker__track span { font: 800 15px/1 var(--f-mono); letter-spacing: .04em; text-transform: uppercase; padding: 0 18px; }
.ticker__track span::after { content: "+"; margin-left: 36px; font-weight: 400; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */
.sec { position: relative; padding: var(--s9) var(--gut); }
.sec--dark { background: var(--ink); color: var(--cream); }
.sec--paper { background: var(--paper); color: var(--ink); }
.sec__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s4); align-items: end; margin-bottom: var(--s8); position: relative; }
.sec__label { grid-column: 1 / 13; align-self: start; }
.sec__title { grid-column: 1 / 13; text-align: center; font: 900 clamp(44px, 8.4vw, 150px)/.86 var(--f-mono); letter-spacing: -.055em; text-transform: uppercase; }
.sec__title em { font-style: normal; font-family: var(--f-mark); font-weight: 400; letter-spacing: -.01em; text-transform: lowercase; }
.sec__rule { position: absolute; left: var(--gut); right: var(--gut); top: var(--s7); height: 1px; background: currentColor; opacity: .25; }
.sec__rule + .cross { left: calc(var(--gut) - 6px); top: calc(var(--s7) - 6px); }

/* ---------- NOT A FCKN FILTER + the owner's words (was About) ---------- */
.fk { padding-top: var(--s10); overflow: hidden; }
.fk__title { font-size: calc((100vw - 2 * var(--gut)) / 5.95); line-height: .9; white-space: nowrap; margin-bottom: var(--s7); } /* one line across the page (about 5.8 em wide) */
.fk__fck { display: inline-block; padding: .06em .16em 0; transform: rotate(-4deg); background: var(--acid); color: var(--ink); border: 2px solid var(--ink); }
.fk__body { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s5); align-items: start; margin-bottom: var(--s8); }
.fk__text { grid-column: 1 / 9; font-size: clamp(24px, 2.7vw, 44px); line-height: 1.12; }
.fk__text p + p { margin-top: .7em; }
.fk__text mark { background: var(--orange); color: var(--ink); padding: 0 .1em; }
.acid-box { display: inline-block; padding: .08em .2em 0; background: var(--acid); color: var(--ink); border: 2px solid var(--ink); transform: rotate(-3deg); } /* the loud box, as FCKN and AUTOFOCUS */
.fk__sig { font-size: 1.6em; }
.fk__prints { grid-column: 9 / 13; position: relative; padding-top: var(--s4); }
.fk__print--a { width: 74%; margin-left: auto; transform: rotate(6deg); }
.fk__print--b { width: 62%; margin-top: -16%; transform: rotate(-5deg); position: relative; z-index: 2; }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.rules li { background: var(--paper); padding: var(--s5) var(--s5) var(--s6); position: relative; }
.rules h3 { font: 900 clamp(26px, 3.2vw, 52px)/.9 var(--f-mono); letter-spacing: -.05em; text-transform: uppercase; margin: var(--s3) 0 var(--s4); }
.rules p { font-size: 15px; max-width: 34ch; }
.fk__source { display: flex; justify-content: space-between; gap: var(--s5); margin-top: var(--s5); }

/* ---------- develop: a zine page (the giant clock behind, the print taped on top, notes with arrows) ---------- */
.dev { padding: 0; }
.dev__track { height: 320vh; position: relative; }
.dev__stage { position: sticky; top: var(--nav-h); height: calc(100svh - var(--nav-h)); display: grid; place-items: center; padding: var(--s6) var(--gut); overflow: hidden; }
.dev__head { position: absolute; left: var(--gut); top: var(--s6); z-index: 4; }
.dev__title { font-size: clamp(44px, 5.4vw, 100px); transform: rotate(-3deg); margin-top: var(--s3); color: var(--cream); }
.dev__clock { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; pointer-events: none;
  font: 900 calc((100vw - 2 * var(--gut)) / 2.5)/.8 var(--f-mono); letter-spacing: -.07em; color: var(--orange); font-variant-numeric: tabular-nums; }
.dev__print { position: relative; z-index: 2; width: min(30vw, 50svh); transform: rotate(-3deg); --p: 0; }
.dev__print .print__img { position: relative; }
.dev__print img { filter: brightness(calc(.3 + .7 * var(--p))) saturate(calc(.05 + .95 * var(--p))) contrast(calc(.55 + .45 * var(--p))); }
.dev__veil { position: absolute; inset: 0; background: var(--opacifier); opacity: calc(1 - var(--p) * 1.15); }
.dev__notes { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.dev__note { position: absolute; width: min(22vw, 300px); padding: var(--s3) var(--s4) var(--s4); background: var(--cream); color: var(--ink);
  box-shadow: 0 10px 18px -12px rgba(0,0,0,.7); opacity: 0; transform: translateY(14px) rotate(var(--r, -2deg)); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.dev__note.on { opacity: 1; transform: rotate(var(--r, -2deg)); }
.dev__note::before { content: ""; position: absolute; left: 30%; top: -9px; width: 40%; height: 18px; background: rgba(240,236,214,.75); transform: rotate(2deg); box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.dev__t { display: inline-block; background: var(--acid); border: 2px solid var(--ink); padding: .06em .18em 0; font-size: 28px; transform: rotate(-3deg); margin-bottom: var(--s2); }
.dev__note .fine { display: block; font-size: clamp(16px, 1.3vw, 21px); line-height: 1.12; }
.dev__arrow { position: absolute; width: 110px; height: 55px; color: var(--cream); }
.dev__note--a { left: 5%; top: 30%; --r: -3deg; }
.dev__note--a .dev__arrow { right: -112px; top: 30%; }
.dev__note--b { right: 5%; top: 18%; --r: 2.5deg; }
.dev__note--b .dev__arrow { left: -112px; top: 40%; transform: scaleX(-1); }
.dev__note--c { right: 6%; bottom: 14%; --r: -2deg; }
.dev__note--c .dev__arrow { left: -112px; top: 0; transform: scale(-1, -1); }
.dev__note--d { left: 6%; bottom: 10%; --r: 2deg; }
.dev__note--d .dev__arrow { right: -112px; top: -10px; transform: scaleY(-1); }
.dev__meta { position: absolute; left: var(--gut); bottom: var(--s5); z-index: 4; color: var(--muted); }
/* moving film grain over the darkroom (owner, after the reference site): a noise tile, twice the stage, jumping in steps */
.dev__stage::after, .hero__photo::before {
  content: ""; position: absolute; inset: -100%; z-index: 5; pointer-events: none; opacity: .3;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 2.6 -1.05'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
  background-size: 270px 270px;  /* the tile drawn larger, so the grain is coarse enough to see on retina screens */
  animation: grain 1.1s steps(10) infinite;
}
/* in the hero only over the photo: inside its figure, under every word and the sticker */
.hero__photo { overflow: hidden; }
.hero__photo::before { z-index: 1; }
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 10% { transform: translate(-5%, -10%); } 20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); } 40% { transform: translate(-5%, 25%); } 50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0); } 70% { transform: translate(0, 15%); } 80% { transform: translate(3%, 35%); } 90% { transform: translate(-10%, 10%); }
}

/* ---------- cameras ---------- */
/* the cards share their rows (subgrid): number, name, type, drawing and the three spec lines sit at one height */
.cams { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.cam { background: var(--paper); padding: var(--s5); display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; position: relative; }
.cam__no { display: flex; justify-content: space-between; }
.cam__name { font: 900 clamp(32px, 3.3vw, 58px)/.86 var(--f-mono); letter-spacing: -.06em; text-transform: uppercase; margin: var(--s5) 0 var(--s2); }
.cam__era { margin-bottom: var(--s5); }
.cam__art { display: grid; place-items: center; padding: var(--s5) 0; min-height: 260px; }
.cam__art svg { width: 100%; max-width: 260px; height: auto; overflow: visible; }
.cam__specs { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 0; border-top: 1px solid var(--ink); }
.cam__specs li { padding: 8px 0; border-bottom: 1px solid var(--paper-2); font-size: 13px; line-height: 1.35; }
.cams__all { display: flex; align-items: baseline; gap: var(--s4); margin: var(--s8) 0 var(--s4); padding-top: var(--s4); border-top: 3px solid var(--ink); }
.cams__alltitle { font: 900 clamp(26px, 2.6vw, 40px)/1 var(--f-mono); letter-spacing: -.05em; text-transform: uppercase; display: flex; align-items: baseline; gap: var(--s4); }
.cams__alltitle .label { letter-spacing: .08em; }
.cams__foot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--ink); border: 1px solid var(--ink); }
.cams__foot p { background: var(--paper); padding: var(--s4) var(--s5); font-size: 14px; }
.cams__foot b { display: block; font: 400 34px/.9 var(--f-hand); text-transform: uppercase; margin-bottom: var(--s2); }
.cams__foot .cams__fake { background: var(--acid); } /* the one fake, owned loudly */
.cams__fake b { display: table; transform: rotate(-3deg); transform-origin: left bottom; }
.dial text { font: 700 9px var(--f-mono); fill: currentColor; }
.dial .o { font-weight: 900; } /* orange stays for the markers only: orange text is not readable on paper */
.big-flash { font: 900 64px/1 var(--f-mono); letter-spacing: -.06em; }

/* ---------- films ---------- */
.films { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.film { --fc-bg: var(--panel); --fc-fg: var(--cream); --fc-ac: var(--orange);
  background: var(--fc-bg); color: var(--fc-fg); padding: var(--s4); display: flex; flex-direction: column; gap: var(--s3); min-height: 520px; position: relative; overflow: hidden; }
.film__top { display: flex; justify-content: space-between; gap: var(--s2); }
.film__name { font: 900 clamp(34px, 3.1vw, 54px)/.88 var(--f-mono); letter-spacing: -.055em; text-transform: uppercase; margin: var(--s2) 0; }
.film__pic { position: relative; margin: auto 0 0; }
.film__pic .print { width: 78%; margin-left: auto; transform: rotate(var(--fc-rot, 2deg)); }
.film__asa { position: absolute; left: 0; bottom: 8%; z-index: 2; background: var(--fc-ac); color: var(--fc-bg); padding: 6px 8px 4px; font: 900 13px/1 var(--f-mono); letter-spacing: .02em; transform: rotate(-4deg); }
.film__asa b { display: block; font-size: 34px; letter-spacing: -.05em; }
.film__line { font-size: 13px; line-height: 1.4; min-height: 3.6em; }
.film__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.film__tags span { border: 1px solid currentColor; padding: 3px 6px 2px; font: 600 10px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.film__tags .look { background: var(--fc-ac); color: var(--fc-bg); border-color: var(--fc-ac); }
.film--end { display: grid; place-items: center; text-align: center; background: var(--acid); color: var(--ink); }
.film--end p { font: 900 clamp(40px, 4vw, 70px)/.86 var(--f-mono); letter-spacing: -.06em; text-transform: uppercase; }
.film--end .fine { font-size: 26px; margin-top: var(--s4); }
.films__sys { display: flex; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s5); }
.menu__head { margin: var(--s8) 0 var(--s4); padding-top: var(--s4); border-top: 3px solid var(--cream); }
.menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); }
.menu__tile { background: var(--panel); padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); }
.menu__tile b { font: 400 40px/.9 var(--f-hand); text-transform: uppercase; }
.menu__scale { width: 100%; max-width: 420px; height: auto; color: var(--cream); }
.menu__tile p { font-size: 15px; max-width: 52ch; }
.menu__tile .acid-box { font: 400 26px/1 var(--f-hand); text-transform: uppercase; }

/* ---------- peel ---------- */
.peel { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s5); align-items: center; }
.peel__copy { grid-column: 1 / 6; }
.peel__title { font: 400 clamp(90px, 13vw, 230px)/.78 var(--f-mark); text-transform: lowercase; margin: var(--s4) 0 var(--s5); }
.peel__copy p { max-width: 40ch; margin-bottom: var(--s4); }
.peel__clock { display: flex; align-items: baseline; gap: var(--s4); margin: var(--s5) 0; }
.peel__clock output { font: 800 72px/.8 var(--f-mono); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.peel__verdict { font-size: clamp(30px, 3vw, 46px); min-height: 1.2em; }
.peel__verdict.early { color: #b0306a; } .peel__verdict.best { color: var(--ink); } .peel__verdict.late { color: #2f6b3c; }
.peel__btns { display: flex; gap: var(--s3); flex-wrap: wrap; }
.peel__btns .btn { --btn-inv: var(--paper); }
.peel__stage { grid-column: 6 / 13; position: relative; padding: var(--s6) 0; touch-action: pan-y; }
.peel__print { width: min(100%, 640px); margin: 0 auto; transform: rotate(1.5deg); }
/* the peel itself is drawn by WebGL (js: port of the app's peelCurl shader); the img is the no-WebGL fallback */
.peel__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: none; cursor: grab; touch-action: none; }
.peel__print.gl .peel__gl { display: block; }
.peel__print.gl.dragging .peel__gl { cursor: grabbing; }
.peel__flat { position: absolute; inset: 0; background: linear-gradient(180deg, #1c1c1d, #121213); transition: opacity .8s var(--ease); }
.peel__print.gl .peel__flat, .peel__print.peeled .peel__flat { opacity: 0; pointer-events: none; }
.peel__note { position: absolute; right: 2%; bottom: -4px; transform: rotate(-2deg); font-size: 22px; white-space: nowrap; }

/* ---------- zinekid ---------- */
.zk { background: var(--acid); color: var(--ink); overflow: hidden; }
.zk__head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap; margin-bottom: var(--s7); }
.zk__mark { font: 400 clamp(110px, 21vw, 360px)/.74 var(--f-mark); text-transform: lowercase; letter-spacing: -.01em; }
.zk__claim { font-size: clamp(30px, 4vw, 64px); max-width: 12ch; text-align: right; transform: rotate(-3deg); }
.zk__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s6); align-items: start; }
.zk__book { grid-column: 1 / 8; }
.zk__steps { grid-column: 8 / 13; border-top: 2px solid var(--ink); }
.zk__steps li { display: grid; grid-template-columns: 74px 1fr; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid rgba(13,12,11,.3); }
.zk__n { font: 900 44px/.9 var(--f-mono); letter-spacing: -.06em; }
.zk__steps h3 { font: 900 clamp(26px, 2.4vw, 38px)/.9 var(--f-mono); letter-spacing: -.05em; text-transform: uppercase; margin-bottom: 6px; }
.zk__steps p { font-size: 14px; line-height: 1.4; max-width: 42ch; }
.zk__sub { font-size: clamp(15px, 1.3vw, 19px); max-width: 44ch; margin-top: var(--s4); font-weight: 600; }
.zk__head .label { display: block; margin-bottom: var(--s3); }
.zk__formats { margin-top: var(--s9); }
.zk__ftitle { font-size: clamp(56px, 7.5vw, 140px); text-align: center; margin-bottom: var(--s6); transform: rotate(-2deg); }
.zk__story { columns: 2 340px; column-gap: var(--s8); max-width: 1100px; margin: 0 auto; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; }
.zk__story p { break-inside: avoid; margin-bottom: 1em; }
.zk__lead { font-weight: 800; font-size: 1.35em; line-height: 1.25; }
.zk__story mark { background: var(--ink); color: var(--acid); padding: 0 .15em; }
.zk__punch { display: inline-block; font-family: var(--f-hand); font-size: 1.9em; line-height: 1; transform: rotate(-3deg); margin-top: .2em; }
.zk__swatches { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.zk__swatches i { width: 18px; height: 18px; background: var(--c); border: 1px solid var(--ink); display: inline-block; }
.zk__ctrl { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s5); }
.zk__ctrl .btn { --btn-inv: var(--acid); }
.zk__facts { border-top: 2px solid var(--ink); margin-top: var(--s8); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 var(--s6); }
.zk__facts li { display: grid; grid-template-columns: 1fr; gap: var(--s2); padding: 12px 0; font-size: 14px; }
.zk__facts li span:first-child { font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; padding-top: 2px; }

/* zine (flip book) */
.zine { --zw: min(100%, 720px); width: var(--zw); aspect-ratio: 2 / 1.414; position: relative; perspective: 2200px; margin: 0 auto; }
.zine__leaf { position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-style: preserve-3d; transform-origin: 0 50%; transition: transform .7s var(--ease); cursor: pointer; }
.zine__leaf.flipped { transform: rotateY(-180deg); }
.zine__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: #fbf9f3; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); display: flex; flex-direction: column; padding: 6%; }
.zine__face--back { transform: rotateY(180deg); }
.zine__face--front::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 14%; background: linear-gradient(90deg, rgba(0,0,0,.18), transparent); pointer-events: none; }
.zine__face--back::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 14%; background: linear-gradient(270deg, rgba(0,0,0,.18), transparent); pointer-events: none; }
.zine__pg { position: absolute; bottom: 3%; font: 600 9px var(--f-mono); opacity: .5; }
.zine__face--front .zine__pg { right: 6%; } .zine__face--back .zine__pg { left: 6%; }
.zine__face img { width: 100%; flex: 1; min-height: 0; object-fit: cover; }
.zine__face .fine { font-size: clamp(14px, 2.2vw, 30px); margin-top: 6%; color: #161616; }
.zine__cover { background: var(--ink) !important; color: var(--cream); justify-content: space-between; }
.zine__cover .zine__t { font: 400 clamp(30px, 5.4vw, 74px)/.8 var(--f-mark); text-transform: lowercase; }
.zine__cover img { flex: 0 0 52%; margin: 8% 0; }
.zine__back { background: var(--orange) !important; justify-content: flex-end; }
.zine__back .hand { font-size: clamp(22px, 3.2vw, 44px); }
.zine__face--full { padding: 0; }
.zine__shadow { position: absolute; left: 0; right: 0; bottom: -18px; height: 22px; background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.35), transparent 70%); transition: transform .7s var(--ease); }
/* the shadow lies under what is shown: the cover (right half), an open spread (both), the back cover (left half) */
.js-zine[data-at="0"] .zine__shadow { transform: translateX(25%) scaleX(.5); }
.js-zine[data-at="4"] .zine__shadow { transform: translateX(-25%) scaleX(.5); }


/* ---------- wall ---------- */
.wall__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s4); margin-bottom: var(--s7); align-items: end; }
.wall__title { grid-column: 1 / 9; font: 400 clamp(110px, 19vw, 330px)/.76 var(--f-mark); text-transform: lowercase; letter-spacing: -.02em; }
.wall__note { grid-column: 9 / 13; font-size: clamp(22px, 2.2vw, 34px); transform: rotate(-3deg); }
.wall { columns: 5 220px; column-gap: clamp(16px, 2.2vw, 36px); }
.wall__item { break-inside: avoid; margin: 0 0 clamp(26px, 3vw, 48px); position: relative; transform: rotate(var(--r, 0deg)); }
.wall__item .print__cap { font-size: clamp(13px, 1.25vw, 19px); }
.wall__item .photo { position: relative; }
.wall__item .photo img { width: 100%; box-shadow: 0 10px 18px -14px rgba(0,0,0,.7); }
.wall__item .fine.under { display: block; font-size: 18px; margin-top: 8px; }
.wall__pg { position: absolute; top: -18px; right: 0; font: 700 10px var(--f-mono); letter-spacing: .06em; }
.wall__issue { background: var(--ink); color: var(--cream); padding: 18px 16px 16px; }
.wall__issue .t { font: 400 64px/.8 var(--f-mark); text-transform: lowercase; }
.wall__issue .label { margin-top: 12px; display: block; color: var(--muted); }
.wall__zine { padding: 10px 0 4px; }
.wall__zine .zine { --zw: 100%; }
.wall__more { display: flex; justify-content: center; margin-top: var(--s6); }
.wall__more .btn { --btn-inv: var(--paper); }

/* manual zine: closed cover centred, open spreads centred, back cover centred */
.js-zine { transition: transform .7s var(--ease); }
.js-zine[data-at="0"] { transform: translateX(-25%); }
.js-zine[data-at="4"] { transform: translateX(25%); }

/* auto-flipping zine (the "GIF") */
.zine--auto { animation: zbook 10s var(--ease) infinite; }
.zine--auto .zine__leaf { transition: none; cursor: default; animation: 10s var(--ease) infinite; }
.zine--auto .zine__leaf:nth-child(1) { animation-name: zl1; z-index: 3; }
.zine--auto .zine__leaf:nth-child(2) { animation-name: zl2; z-index: 2; }
.zine--auto .zine__leaf:nth-child(3) { animation-name: zl3; z-index: 1; }
@keyframes zbook { 0%, 8% { transform: translateX(-25%); } 16%, 52% { transform: none; } 60%, 68% { transform: translateX(25%); } 76%, 84% { transform: none; } 92%, 100% { transform: translateX(-25%); } }
@keyframes zl1 { 0%, 7.9% { transform: none; z-index: 3; } 8% { transform: none; z-index: 9; } 15.9% { transform: rotateY(-180deg); z-index: 9; } 16%, 83.9% { transform: rotateY(-180deg); z-index: 1; } 84% { transform: rotateY(-180deg); z-index: 9; } 91.9% { transform: none; z-index: 9; } 92%, 100% { transform: none; z-index: 3; } }
@keyframes zl2 { 0%, 29.9% { transform: none; z-index: 2; } 30% { transform: none; z-index: 9; } 37.9% { transform: rotateY(-180deg); z-index: 9; } 38%, 75.9% { transform: rotateY(-180deg); z-index: 2; } 76% { transform: rotateY(-180deg); z-index: 9; } 83.9% { transform: none; z-index: 9; } 84%, 100% { transform: none; z-index: 2; } }
@keyframes zl3 { 0%, 51.9% { transform: none; z-index: 1; } 52% { transform: none; z-index: 9; } 59.9% { transform: rotateY(-180deg); z-index: 9; } 60%, 67.9% { transform: rotateY(-180deg); z-index: 3; } 68% { transform: rotateY(-180deg); z-index: 9; } 75.9% { transform: none; z-index: 9; } 76%, 100% { transform: none; z-index: 1; } }

/* ---------- get ---------- */
.get { background: var(--orange); color: var(--ink); text-align: center; overflow: hidden; padding: var(--s10) var(--gut); position: relative; }
.get__bg { position: absolute; inset: 0; display: grid; place-items: center; font: 400 30vw/.8 var(--f-mark); text-transform: lowercase; color: rgba(13,12,11,.09); white-space: nowrap; pointer-events: none; }
.get .sticker { --st: clamp(240px, 30vw, 420px); margin: 0 auto; }
.get__sub { margin-top: var(--s6); }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: var(--cream); padding: var(--s8) var(--gut) var(--s5); }
.foot__mark { font: 400 calc((100vw - 2 * var(--gut)) / 2.5)/1.09 var(--f-mark); text-transform: lowercase; letter-spacing: -.01em; margin: -.1em 0 var(--s5); white-space: nowrap; }
.foot__row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s4); border-top: 1px solid var(--hair); padding-top: var(--s4); }
.foot__row > :nth-child(1) { grid-column: 1 / 4; }
.foot__row > :nth-child(2) { grid-column: 4 / 10; color: var(--muted); font-size: 11px; line-height: 1.5; }
.foot__row > :nth-child(3) { grid-column: 10 / 13; display: flex; gap: var(--s4); justify-content: flex-end; }
.foot__row a { text-decoration: none; }
.foot__row a:hover { color: var(--acid); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cams, .films, .cams__foot { grid-template-columns: repeat(2, 1fr); }
  .cam { min-height: 0; }
  .wall__note { grid-column: 1 / 13; }
  .wall__title { grid-column: 1 / 13; }
}
@media (max-width: 860px) {
  :root { --nav-h: 48px; }
  .nav__links, .nav__status { display: none; }
  .nav__soon { margin-left: auto; }
  .sec { padding: var(--s8) var(--gut); }
  .sec__head { grid-template-columns: 1fr; gap: var(--s3); margin-bottom: var(--s6); }
  .sec__label, .sec__title { grid-column: 1; }
  .hero__lede { position: static; margin: 0 var(--gut) var(--s4); }
  .hero__sticker { top: calc(var(--nav-h) + 56px); }
  .rules { grid-template-columns: 1fr; }
  .fk { padding-top: var(--s9); }
  .fk__body { grid-template-columns: 1fr; }
  .fk__text, .fk__prints { grid-column: 1; }
  .fk__prints { display: flex; gap: var(--s4); align-items: flex-start; }
  .fk__print--a, .fk__print--b { width: 46%; margin: 0; }
  .fk__source { flex-direction: column; gap: var(--s2); }
  .dev__track { height: auto; }
  .dev__stage { position: relative; top: 0; height: auto; display: flex; flex-direction: column; align-items: stretch; gap: var(--s5); padding: var(--s8) var(--gut); }
  .dev__head, .dev__clock, .dev__notes, .dev__meta { position: static; }
  .dev__clock { font-size: 34vw; text-align: center; }
  .dev__print { width: min(80%, 380px); align-self: center; margin-top: -14vw; }
  .dev__notes { display: grid; gap: var(--s5); }
  .dev__note, .dev__note.on { position: relative; width: auto; left: auto; right: auto; top: auto; bottom: auto; opacity: 1; transform: rotate(var(--r, -2deg)); }
  .dev__arrow { display: none; }
  .cams__foot { grid-template-columns: 1fr; }
  .menu { grid-template-columns: 1fr; }
  .films { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut); border: 0; background: transparent; }
  .film { flex: 0 0 82%; scroll-snap-align: start; border: 1px solid var(--hair); }
  .peel { grid-template-columns: 1fr; }
  .peel__copy, .peel__stage { grid-column: 1; }
  .zk__grid { grid-template-columns: 1fr; }
  .zk__book, .zk__steps { grid-column: 1; }
  .zk__facts { grid-template-columns: 1fr; }
  .zk__claim { text-align: left; }
  .foot__row { grid-template-columns: 1fr; }
  .foot__row > * { grid-column: 1 !important; justify-content: flex-start !important; }
}
@media (max-width: 560px) {
  .cams { grid-template-columns: 1fr; }
  .wall { columns: 2 140px; }
  .hero__top .ph { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ticker__track { animation: none; }
  .zine--auto, .zine--auto .zine__leaf { animation: none; }
  .dev__stage::after, .hero__photo::before { animation: none; }
  .zine--auto { transform: translateX(-25%); }
}

/* after the first development the hero print stays developed */
.hero.is-developed .hero__veil { display: none; }
.hero.is-developed .hero__photo img { animation: none; filter: none; }
