/* BAAASE — baaase.news
   Retro paper collage: cream paper, soft blobs, halftone cut-outs,
   coral condensed lettering with a hard black shadow to the lower left. */

@font-face { font-family: "Anton"; src: url("fonts/anton-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin.woff2") format("woff2"); font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-500-latin.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-500-cyrillic.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-600-cyrillic.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --paper: #f8efe1;
  --paper-hi: #fcf6ec;
  --paper-deep: #efe2cb;
  --ink: #161412;
  --ink-soft: #2c2a27;
  --muted: #5d554b;
  --coral: #f67b6d;
  --coral-deep: #e4614f;
  --yellow: #feda88;
  --green: #bdd9bc;
  --pink: #fcbbb6;
  --lilac: #ddbbe8;
  --lilac-deep: #d2b0e3;
  --sky: #b2d7f1;

  --font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --font-text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --nav-h: 64px;
  --shadow: -6px 6px 0 var(--ink);
  --shadow-lg: -10px 10px 0 var(--ink);
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: clamp(16px, 1.05vw + 11px, 19px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
/* Paper grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .55;
  mix-blend-mode: multiply;
  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='.8' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .35  0 0 0 0 .3  0 0 0 0 .24  0 0 0 .16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; border-radius: 2px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* Wordmark colours, used by every <use href="#wm"> */
.wm-face { fill: var(--face, var(--coral)); }
.wm-shade { fill: var(--shade, var(--ink)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .9em;
  padding: .85em 1.2em .85em 1.3em;
  background: var(--ink-soft);
  color: var(--paper);
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: 0;
  box-shadow: 0 0 0 var(--coral);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s;
}
.btn .px { width: .8em; height: 1em; fill: currentColor; shape-rendering: crispEdges; transition: transform .25s var(--ease-out); }
.btn:hover { transform: translate(4px, -4px); box-shadow: -4px 4px 0 var(--coral); background: var(--ink); }
.btn:hover .px { transform: translateX(4px); }
.btn:active { transform: none; box-shadow: none; }
.btn-sm { font-size: .9rem; padding: .7em 1em .7em 1.1em; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 28px;
  padding-inline: var(--gutter);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--ink); }
.nav-logo { display: block; width: 70px; margin-right: auto; transition: transform .3s var(--ease-back); }
.nav-logo:hover { transform: rotate(-4deg) scale(1.06); }
.nav-links { display: flex; gap: 26px; font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.nav-links a { text-decoration: none; background: linear-gradient(var(--coral), var(--coral)) left bottom / 0 2px no-repeat; padding-bottom: 3px; transition: background-size .3s var(--ease-out); }
.nav-links a:hover { background-size: 100% 2px; }

/* ---------- Hero collage ---------- */
.hero { position: relative; }
.stage {
  position: relative;
  container-type: inline-size;
  width: min(100%, (100svh - var(--nav-h)) * 1.7758);
  aspect-ratio: 1671 / 941;
  margin-inline: auto;
  --px: 0;
  --py: 0;
}
.collage { position: absolute; inset: 0; }
.piece {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  margin: 0;
  translate: calc(var(--px) * var(--d, 0) * 1px) calc(var(--py) * var(--d, 0) * 1px);
  transition: translate .6s var(--ease-out);
}
.blob { aspect-ratio: var(--ar, 1); height: auto; fill: var(--c); overflow: visible; animation: blob-in 1s var(--ease-back) both, drift 14s ease-in-out infinite alternate; animation-delay: calc(var(--i) * 80ms), calc(var(--i) * -3s); }
.px-icon { aspect-ratio: var(--ar, 1); height: auto; fill: var(--c); shape-rendering: crispEdges; animation: pop .6s var(--ease-back) .9s both; }

.photo { rotate: var(--rot); animation: photo-in .9s var(--ease-back) both; animation-delay: calc(.35s + var(--i) * 110ms); }
.photo img { width: 100%; height: auto; box-shadow: -3px 4px 0 rgba(22, 20, 18, .14); }
.photo.framed { padding: .55cqw; background: #f3e8d4; box-shadow: -2px 3px 0 rgba(22, 20, 18, .12); }
.photo.framed img { box-shadow: none; }

.wm-wrap { z-index: 2; }
.wordmark { position: relative; width: 100%; height: auto; overflow: visible; }
.wordmark use { animation: letter-in .8s var(--ease-back) backwards; animation-delay: calc(.15s + var(--i) * 70ms); }
.wm-shades use { fill: var(--ink); }
.wm-faces use { fill: var(--coral); transition: translate .25s var(--ease-out); }
.wm-faces use:hover { translate: 5px -5px; }

.orbit { position: absolute; left: -17.69%; top: 21.82%; width: 153.3%; max-width: none; height: auto; overflow: visible; pointer-events: none; }
.orbit-back { z-index: -1; }
.orbit-line { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease-out) .8s forwards; }
.orbit-front .orbit-line { animation-delay: 1.1s; }
.trail { fill: var(--ink); animation: fade 0.6s ease 1.8s both; }
.sparkle { fill: var(--ink); transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out 2s infinite, fade .5s ease 1.6s both; }

.hero-copy {
  position: absolute;
  left: 27.2%;
  right: 10.8%;
  top: 80.3%;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2cqw;
}
.tagline { text-wrap: balance; font-weight: 700; font-size: 2.45cqw; line-height: 1.1; letter-spacing: -.01em; animation: rise .8s var(--ease-out) .7s both; }
.btn-join { margin-top: 1.6cqw; font-size: 2.15cqw; font-weight: 500; padding: 1.7cqw 1.6cqw 1.7cqw 1.8cqw; gap: 6cqw; animation: rise .8s var(--ease-out) .85s both; }
.btn-join .px { width: 1.6cqw; height: 2cqw; }

/* ---------- Ticker ---------- */
.ticker { position: relative; z-index: 4; overflow: hidden; background: var(--ink); color: var(--paper); transform: skewY(-1.2deg); margin: 3.5vw 0 0; padding: 14px 0; box-shadow: 0 6px 0 var(--coral); }
.ticker-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 34px); text-transform: uppercase; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.ticker svg { width: 22px; height: 22px; fill: var(--coral); flex: none; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.eyebrow { display: inline-flex; align-items: center; gap: .8em; margin-bottom: 22px; font-family: var(--font-mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow span { display: inline-grid; place-items: center; min-width: 2.4em; padding: .3em .45em; background: var(--ink); color: var(--paper); }
.display { font-family: var(--font-display); font-weight: 400; font-size: clamp(46px, 7.4vw, 108px); line-height: .94; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
.mark { color: var(--coral); text-shadow: -3px 3px 0 var(--ink); }
.lead { font-size: clamp(19px, 1.4vw + 10px, 26px); line-height: 1.38; font-weight: 500; letter-spacing: -.005em; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
h3 { font-family: var(--font-text); font-weight: 800; font-stretch: 85%; font-size: clamp(22px, 1.2vw + 14px, 30px); line-height: 1.1; letter-spacing: -.01em; margin-bottom: 12px; }

.card { position: relative; background: var(--bg, var(--paper-hi)); border: 2px solid var(--ink); box-shadow: var(--shadow); padding: clamp(22px, 2.4vw, 34px); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.card:hover { transform: translate(4px, -4px); box-shadow: var(--shadow-lg); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.about-body { display: grid; gap: 20px; max-width: 34em; padding-bottom: 8px; }
.about-body p:not(.lead) { color: var(--muted); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); margin-top: clamp(48px, 7vw, 96px); }
.pillars .card:nth-child(2) { rotate: 1.2deg; }
.pillars .card:nth-child(3) { rotate: -1deg; }
.pillars h3 { font-family: var(--font-display); font-weight: 400; font-stretch: 100%; font-size: clamp(30px, 2.6vw, 40px); text-transform: uppercase; letter-spacing: .01em; }

/* How */
.how { background: var(--paper-deep); border-block: 2px solid var(--ink); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 28px); counter-reset: step; }
.step { background: var(--bg); border: 2px solid var(--ink); border-radius: 999px 999px 18px 18px; padding: clamp(26px, 2.6vw, 38px) clamp(20px, 2vw, 28px) clamp(26px, 2.4vw, 34px); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s var(--ease-out); }
.step:nth-child(even) { translate: 0 28px; }
.step:hover { transform: rotate(-1.5deg) translateY(-6px); }
.step-n { align-self: center; font-family: var(--font-display); font-size: clamp(54px, 5.4vw, 80px); line-height: 1; color: var(--paper-hi); text-shadow: -4px 4px 0 var(--ink); margin: 6px 0 22px; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; }
.step p { color: var(--ink-soft); font-size: .95em; }

/* Rules */
.rules { background: var(--ink); color: var(--paper); }
.rules .eyebrow span { background: var(--coral); color: var(--ink); }
.rules-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); }
.rules-head { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
.rules .display { color: var(--coral); text-shadow: -5px 5px 0 #000; }
.rules-photo { margin-top: 44px; width: min(320px, 70%); rotate: -5deg; padding: 8px; background: var(--paper); }
.rules-list { counter-reset: rule; display: grid; }
.rules-list li { counter-increment: rule; display: grid; grid-template-columns: auto 1fr; column-gap: clamp(18px, 2.4vw, 32px); padding-block: clamp(26px, 3vw, 40px); border-top: 1.5px solid rgba(248, 239, 225, .28); }
.rules-list li:last-child { border-bottom: 1.5px solid rgba(248, 239, 225, .28); }
.rules-list li::before { content: counter(rule, decimal-leading-zero); grid-row: span 2; font-family: var(--font-mono); font-weight: 600; font-size: 14px; color: var(--ink); background: var(--yellow); padding: .35em .5em; height: max-content; margin-top: .35em; }
.rules-list h3 { font-size: clamp(24px, 1.6vw + 12px, 36px); color: var(--paper-hi); }
.rules-list p { color: rgba(248, 239, 225, .78); max-width: 36em; }

/* Newsrooms */
.newsrooms { overflow: hidden; }
.newsrooms::before { content: ""; position: absolute; width: 46vw; aspect-ratio: 1; right: -12vw; top: 8%; background: var(--lilac); border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; opacity: .7; z-index: -1; }
.newsrooms-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.newsrooms .lead { margin-top: 26px; max-width: 26em; }
.badges { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.badge { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--ink); rotate: var(--rot); transition: rotate .4s var(--ease-back), scale .4s var(--ease-back); }
.badges .badge:nth-child(even) { translate: 0 18%; }
.badge svg { width: 74%; height: auto; overflow: visible; }
.badge-ul::after { content: ""; position: absolute; left: 14%; right: 18%; bottom: 22%; height: 4.5%; background: var(--face); box-shadow: -2px 2px 0 var(--ink); }
.badge:hover { rotate: calc(var(--rot) * -1.4); scale: 1.08; z-index: 2; }
.badge-tag { position: absolute; left: 50%; bottom: -14%; translate: -50% 0; rotate: calc(var(--rot) * -1 - 3deg); white-space: nowrap; font-family: var(--font-mono); font-weight: 600; font-size: clamp(10px, .8vw, 12px); letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--paper); padding: .35em .6em; }

/* Why */
.why-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.why-text { display: grid; gap: 22px; }
.why-text .eyebrow { margin-bottom: 2px; }
.why-text p:not(.why-big) { color: var(--ink-soft); max-width: 36em; }
.why-big { font-weight: 600; font-size: clamp(26px, 1.6vw + 16px, 42px); line-height: 1.22; letter-spacing: -.018em; text-wrap: pretty; }
mark { background: linear-gradient(transparent 56%, var(--yellow) 56%, var(--yellow) 92%, transparent 92%); color: inherit; padding: 0 .06em; }
.text-link { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 4px; white-space: nowrap; transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: var(--ink); }
.why-collage { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / .92; justify-self: center; }
.why-collage::before { content: ""; position: absolute; inset: 10% 2% 6% 10%; background: var(--pink); border-radius: 46% 54% 42% 58% / 52% 40% 60% 48%; }
.why-photo { position: absolute; left: 6%; top: 22%; width: 84%; padding: 10px; rotate: -7deg; animation: none; }
.why-collage .badge { position: absolute; }
.why-badge-1 { width: 36%; left: -2%; bottom: 0; }
.why-badge-2 { width: 29%; right: 2%; top: 0; }
.why-px { position: absolute; right: 10%; bottom: 2%; width: 12%; height: auto; aspect-ratio: 1; fill: var(--ink); shape-rendering: crispEdges; }

/* Join */
.join { background: var(--yellow); border-top: 2px solid var(--ink); overflow: clip; }
.join .wrap { position: relative; }
.join-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.join-card { --bg: var(--paper-hi); display: flex; flex-direction: column; gap: 18px; }
.join-card:hover { transform: none; box-shadow: var(--shadow); }
.join-card h3 { margin-bottom: 0; font-size: clamp(24px, 1.5vw + 14px, 34px); }
.join-card .eyebrow { margin-bottom: 0; }
.join-card .btn { align-self: flex-start; margin-top: 6px; }
.join-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.join-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.join-head > div { flex: none; }
.join-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.join-cta { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 6px; }
.join-cta .btn { margin-top: 0; }
.posted { font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.apply-steps { padding-top: clamp(4px, 1.4vw, 20px); }
.apply-steps h3 { margin-bottom: 22px; }
.apply-steps ol { display: grid; gap: 18px; margin-bottom: 24px; counter-reset: step; }
.apply-steps li { position: relative; min-height: 32px; padding-left: 50px; counter-increment: step; }
.apply-steps li::before { content: counter(step); position: absolute; left: 0; top: -.05em; display: grid; place-items: center; width: 32px; height: 32px; background: var(--ink); color: var(--paper); font-family: var(--font-display); font-size: 18px; box-shadow: -3px 3px 0 var(--coral); }
.apply-steps .small { padding-top: 16px; border-top: 1.5px solid var(--ink); color: var(--ink-soft); }
.apply-steps--row { margin-top: clamp(56px, 7vw, 96px); }
.apply-steps--row ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.apply-steps--row li { padding: 48px 0 0; }
.apply-steps--row .small { max-width: 62em; padding-top: 0; border-top: 0; }
.join-intro { max-width: 30em; padding-bottom: 6px; }

/* Country tiles */
.countries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.country { position: relative; display: flex; flex-direction: column; height: 100%; min-height: clamp(170px, 15vw, 220px); padding: 20px 20px 18px; background: var(--bg, var(--paper-hi)); border: 2px solid var(--ink); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.country:hover { transform: translate(4px, -4px); box-shadow: var(--shadow-lg); }
.country-native { padding-right: 56px; font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.country-name { margin-top: auto; font-family: var(--font-display); font-size: clamp(32px, 3vw, 46px); line-height: .95; text-transform: uppercase; overflow-wrap: break-word; }
.country-cta { display: inline-flex; align-items: center; gap: .6em; margin-top: 12px; font-weight: 700; font-size: .95rem; }
.country-cta .px { width: .7em; height: .9em; fill: currentColor; shape-rendering: crispEdges; transition: transform .25s var(--ease-out); }
.country:hover .country-cta .px { transform: translateX(4px); }
.country-code { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 46px; aspect-ratio: 1; border-radius: 50%; background: var(--paper-hi); border: 1.5px solid var(--ink); font-family: var(--font-display); font-size: 18px; letter-spacing: .02em; color: var(--coral); text-shadow: -1.5px 1.5px 0 var(--ink); rotate: -8deg; transition: rotate .4s var(--ease-back); }
.country:hover .country-code { rotate: 8deg; }
.country-code svg { width: 22px; height: 22px; fill: var(--ink); }
.country-other { border-style: dashed; box-shadow: none; }
.country-other:hover { box-shadow: var(--shadow); }
.country-wide { grid-column: span 2; }
.country-wide .country-name { font-size: clamp(40px, 4.6vw, 68px); }
.country.is-soon { border-style: dashed; box-shadow: none; }
.country.is-soon:hover { transform: none; box-shadow: none; }
.country.is-soon:hover .country-code { rotate: -8deg; }
.country.is-soon .country-cta { font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.countries-note { margin-top: 26px; }
.lang-block { display: flex; flex-direction: column; gap: 18px; }
.lang-block[hidden] { display: none; }
.lang { display: inline-flex; border: 1.5px solid var(--ink); }
.lang button { border: 0; background: transparent; padding: 6px 10px; font-family: var(--font-mono); font-weight: 600; font-size: 12px; letter-spacing: .06em; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .38em; width: 16px; height: 16px; background: var(--coral); border: 1.5px solid var(--ink); box-shadow: -2px 2px 0 var(--ink); }
.small { font-size: .88em; color: var(--muted); }

/* 404 page */
.lost { min-height: calc(100svh - var(--nav-h) - 220px); display: grid; align-items: center; }
.lost .display { margin-bottom: 4px; }
.lost-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 10px; }

/* Application form (apply/<code>/) */
.apply { background: var(--yellow); padding-block: clamp(40px, 6vw, 96px) clamp(64px, 8vw, 120px); }
.apply-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; grid-template-areas: "intro box" "steps box"; gap: clamp(28px, 4vw, 48px) clamp(32px, 5vw, 80px); align-items: start; }
.apply-intro { grid-area: intro; display: grid; gap: 22px; }
.apply-intro .eyebrow { margin-bottom: 0; }
.apply-intro .display { font-size: clamp(44px, 5.4vw, 84px); }
.apply-lead { font-size: clamp(17px, .5vw + 14px, 20px); line-height: 1.5; color: var(--ink-soft); max-width: 34em; }
.apply-box { grid-area: box; }
.apply .apply-steps { grid-area: steps; padding-top: 0; }
.apply .apply-steps ol { margin-bottom: 18px; }
.apply-form, .apply-done { --bg: var(--paper-hi); }
.apply-form { display: grid; gap: 26px; }
.apply-form:hover, .apply-done:hover { transform: none; box-shadow: var(--shadow); }
.apply-form[hidden], .apply-done[hidden] { display: none; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; margin-bottom: 0; font-weight: 700; line-height: 1.3; }
.field > legend { margin-bottom: 8px; }
.optional { margin-left: .4em; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hint { margin-top: -4px; font-size: .88em; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 0;
  transition: box-shadow .2s var(--ease-out);
}
.field textarea { min-height: 7.5em; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: -4px 4px 0 var(--coral); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--coral-deep); background: #fdeae6; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 9px 14px; background: var(--paper); border: 2px solid var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.2; transition: background .15s, color .15s, box-shadow .2s var(--ease-out), transform .2s var(--ease-out); }
.choice:hover span { transform: translate(2px, -2px); box-shadow: -3px 3px 0 var(--ink); }
.choice input:checked + span { background: var(--ink); color: var(--paper); box-shadow: -3px 3px 0 var(--coral); transform: none; }
.choice input:focus-visible + span { outline: 3px solid var(--coral-deep); outline-offset: 3px; }
.checks { display: grid; gap: 14px; padding-top: 18px; border-top: 1.5px solid var(--ink); }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; font-size: .95rem; line-height: 1.45; cursor: pointer; }
.check input { appearance: none; display: grid; place-content: center; width: 22px; height: 22px; margin: .05em 0 0; background: var(--paper); border: 2px solid var(--ink); cursor: pointer; }
.check input:checked { background: var(--coral); box-shadow: -2px 2px 0 var(--ink); }
.check input:checked::after { content: ""; width: 11px; height: 6px; border: solid var(--ink); border-width: 0 0 3px 3px; transform: translateY(-1px) rotate(-45deg); }
.check input:focus-visible { outline: 3px solid var(--coral-deep); outline-offset: 3px; }
.check a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply-form .btn { justify-self: start; cursor: pointer; }
.apply-form .btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.form-status { font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { padding: 12px 14px; background: var(--pink); border: 2px solid var(--ink); }
.form-status a { color: var(--ink); }
.apply-done { display: grid; gap: 16px; justify-items: start; }
.apply-done .eyebrow { margin-bottom: 0; }
.apply-done h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 4vw, 56px); line-height: 1; text-transform: uppercase; }
.apply-done:focus { outline: none; }

/* Footer */
.footer { padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); background: var(--paper); border-top: 2px solid var(--ink); }
.footer .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.footer-wm { width: 100%; max-width: 640px; height: auto; overflow: visible; padding-left: 4px; }
.footer-info { display: grid; gap: 22px; }
.footer-line { font-weight: 700; font-size: clamp(22px, 1.4vw + 12px, 32px); line-height: 1.15; letter-spacing: -.01em; }
.footer-links { display: grid; gap: 8px; font-family: var(--font-mono); font-weight: 500; font-size: 14px; }
.footer-links a { text-decoration: none; background: linear-gradient(var(--coral), var(--coral)) left bottom / 0 2px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease-out); }
.footer-links a:hover { background-size: 100% 2px; }
.footer-small { padding-top: 18px; border-top: 1.5px solid var(--ink); font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.footer-small a { color: var(--ink); }
.footer-line a { text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.footer-line a:hover { text-decoration-color: var(--ink); }

/* Scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in:hover { transform: translate(4px, -4px); }
.js .step.reveal.in:hover { transform: rotate(-1.5deg) translateY(-6px); }
.js .join-card.reveal.in:hover { transform: none; }

/* ---------- Keyframes ---------- */
@keyframes blob-in { from { scale: .6; opacity: 0; } }
@keyframes drift { to { transform: translate(1.5%, -2%) rotate(3deg) scale(1.03); } }
@keyframes photo-in { from { opacity: 0; scale: .7; rotate: calc(var(--rot) - 14deg); } }
@keyframes letter-in { from { opacity: 0; translate: 0 -60px; } }
@keyframes pop { from { opacity: 0; scale: .3; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.75) rotate(45deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Tablet ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(even) { translate: 0 0; }
  .newsrooms-grid, .about-grid, .rules-grid { grid-template-columns: 1fr; }
  .rules-head { position: static; }
  .rules-photo { display: none; }
  .badges { max-width: 680px; }
}

@media (max-width: 900px) {
  .why-grid, .join-layout { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "intro" "box" "steps"; }
  .countries, .apply-steps--row ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-head { flex-direction: column; align-items: flex-start; }
  .why-collage { max-width: 320px; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --nav-h: 58px; --shadow: -4px 4px 0 var(--ink); --shadow-lg: -6px 6px 0 var(--ink); }
  .nav-logo { width: 60px; }
  .stage { width: 100%; aspect-ratio: auto; }
  .collage { position: relative; aspect-ratio: 390 / 470; overflow: hidden; }
  .piece { left: var(--mx, var(--x)); top: var(--my, var(--y)); width: var(--mw, var(--w)); }
  .photo.framed { padding: 1.4cqw; }
  .hero-copy { position: static; flex-direction: column; gap: 22px; padding: 6px var(--gutter) 8px; }
  .tagline { font-size: clamp(26px, 8vw, 36px); }
  .btn-join { margin: 0; font-size: 18px; padding: 16px 18px 16px 20px; gap: 44px; }
  .btn-join .px { width: 12px; height: 15px; }
  .ticker { margin-top: 36px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars .card:nth-child(n) { rotate: 0deg; }
  .steps { grid-template-columns: 1fr; }
  .step { border-radius: 120px 120px 16px 16px; }
  .rules-list li { grid-template-columns: 1fr; }
  .rules-list li::before { grid-row: auto; justify-self: start; margin: 0 0 14px; }
  .badges { grid-template-columns: repeat(3, 1fr); }
  .badges .badge:nth-child(even) { translate: 0 0; }
  .badges .badge:nth-child(3n + 2) { translate: 0 14%; }
  .badges .badge:nth-child(10) { display: none; }
  .join-grid { grid-template-columns: 1fr; }
  .join-head { flex-direction: column; align-items: flex-start; }
  .countries { gap: 14px; }
  .country { min-height: 150px; padding: 14px 14px 14px; }
  .country-code { width: 36px; font-size: 14px; top: 10px; right: 10px; }
  .country-native { padding-right: 40px; font-size: 11px; }
  .country-name { font-size: 26px; }
  .country-wide .country-name { font-size: 40px; }
  .apply-steps--row ol { grid-template-columns: 1fr; gap: 16px; }
  .apply-steps--row li { padding: 0 0 0 50px; }
  .why-collage { max-width: 270px; }
  .footer .wrap { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .orbit-line { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}
