/* soclya.com: grunge punk comic. Black ink, newsprint paper, neon stickers, halftone and torn edges.
   Fonts (SIL Open Font License): Metal Mania, Bangers, Archivo Black, Silkscreen, Space Grotesk. */

@font-face { font-family: "Metal Mania"; src: url(fonts/metal-mania-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Bangers"; src: url(fonts/bangers-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url(fonts/archivo-black-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url(fonts/silkscreen-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(fonts/space-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --ink: #0a0a0b;
  --ink-2: #141416;
  --ink-3: #1e1e21;
  --paper: #efe9dc;
  --paper-2: #e2dac8;
  --text: #f3efe6;
  --muted: #a7a29a;
  --pink: #ff2e88;
  --cyan: #00e5ff;
  --lime: #c6ff00;
  --amber: #ffb000;
  --line: #2c2c30;
  --wrap: 1240px;
  --r: 0px;
  --f-logo: "Metal Mania", "Bangers", Impact, sans-serif;
  --f-comic: "Bangers", Impact, "Arial Black", sans-serif;
  --f-label: "Archivo Black", "Arial Black", Impact, sans-serif;
  --f-pixel: "Silkscreen", ui-monospace, monospace;
  --f-body: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tear: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V18l22 9 17-14 26 12 19-17 31 15 14-8 27 11 22-16 25 13 18-7 30 14 21-18 24 12 16-6 29 13 20-15 27 10 23-12 18 15 30-13 21 9 26-17 17 14 28-6 22 12 19-15 31 13 16-9 27 15 24-14 20 8 29-11 18 16 25-13 22 10 27-15 19 12 30-8 21 14 26-16 17 9 29-12 23 15 20-10 27 13 22-17 24 12 19-6 30 14 18-13 26 11 21-15 25 12 22-9 27 14 20-16 24 12 18-7 23 13 21-11V40z'/%3E%3C/svg%3E");
  --dots: radial-gradient(circle at center, rgba(0, 0, 0, .55) 1.1px, transparent 1.6px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.6 var(--f-body); overflow-x: hidden; }
img, video, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--pink); color: var(--ink); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 8px 14px; font-family: var(--f-label); }
.skip:focus { left: 8px; }
.i { flex: none; }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.wrap-wide { width: min(1100px, 100% - 40px); margin-inline: auto; }

/* Film grain over everything (very light). */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0) } 20% { transform: translate(-3%, 2%) } 40% { transform: translate(2%, -3%) } 60% { transform: translate(-2%, -1%) } 80% { transform: translate(3%, 3%) } 100% { transform: translate(0, 0) } }

/* ---------- Type */
.wordmark { font-family: var(--f-logo); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: .82; color: var(--text); display: inline-block;
  text-shadow: 3px 3px 0 var(--ink), 5px 5px 0 var(--pink); }
.wm-small { font-family: var(--f-logo); text-transform: uppercase; font-size: 22px; line-height: 1; }
.h-comic { font-family: var(--f-comic); font-weight: 400; letter-spacing: .02em; line-height: .92; text-transform: uppercase; font-size: clamp(42px, 6vw, 84px); margin: 0 0 .25em; }
.h-xl { font-size: clamp(54px, 9vw, 132px); }
.hl { color: var(--lime); }
.hl-pink { color: var(--pink); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 62ch; color: #d9d4ca; }
.kicker { margin: 0 0 14px; }

/* ---------- Stickers and buttons */
.tag { display: inline-block; font: 400 12.5px/1 var(--f-label); text-transform: uppercase; letter-spacing: .06em; padding: 7px 11px 6px; transform: skew(-10deg) rotate(-1.5deg); margin: 0 6px 6px 0; color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.tag-cyan { background: var(--cyan); }
.tag-pink { background: var(--pink); }
.tag-lime { background: var(--lime); }
.tag-paper { background: var(--paper); }
.btn { --b: var(--pink); position: relative; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; border: 0; background: none; padding: 0; isolation: isolate; }
.btn > span { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px 13px; font: 400 15px/1 var(--f-label); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); background: var(--b); transform: skew(-9deg); border: 2.5px solid var(--ink); box-shadow: 5px 5px 0 var(--ink), 5px 5px 0 2.5px var(--text); transition: transform .15s ease, box-shadow .15s ease; }
.btn > span > * { transform: skew(9deg); }
.btn:hover > span { transform: skew(-9deg) translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink), 8px 8px 0 2.5px var(--text); }
.btn:active > span { transform: skew(-9deg) translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink), 1px 1px 0 2.5px var(--text); }
.btn-cyan { --b: var(--cyan); }
.btn-lime { --b: var(--lime); }
.btn-ghost > span { background: transparent; color: var(--text); border-color: var(--text); box-shadow: 5px 5px 0 rgba(255, 255, 255, .15); }
.btn-ghost:hover > span { background: var(--text); color: var(--ink); }
.btn-dark > span { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 5px 5px 0 var(--pink); }
.btn-dark:hover > span { box-shadow: 8px 8px 0 var(--pink); }
.b-ic { display: inline-flex; }

/* Torn paper edges */
.tear { position: absolute; left: 0; right: 0; height: 34px; z-index: 3; pointer-events: none; -webkit-mask: var(--tear) center / 1200px 100% repeat-x; mask: var(--tear) center / 1200px 100% repeat-x; }
.tear-bottom { bottom: -1px; }
.tear-top { top: -1px; transform: scaleY(-1); }
.tear-paper { background: var(--paper); }
.tear-ink { background: var(--ink); }

/* Halftone dots */
.halftone { position: absolute; inset: 0; pointer-events: none; background-image: var(--dots); background-size: 5px 5px; mix-blend-mode: multiply; opacity: .9; }

/* ---------- Header */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 22px; padding: 14px clamp(16px, 3vw, 36px); transition: background .25s, padding .25s, transform .3s; }
.top.scrolled { background: rgba(10, 10, 11, .92); backdrop-filter: blur(8px); padding-block: 9px; box-shadow: 0 2px 0 var(--line); }
.top.hide { transform: translateY(-110%); }
.logo { text-decoration: none; margin-right: auto; }
.logo .wordmark { font-size: 40px; text-shadow: 2px 2px 0 var(--ink), 4px 4px 0 var(--pink); transition: transform .2s; }
.logo:hover .wordmark { transform: rotate(-3deg) scale(1.04); }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 9px 13px 8px; font: 400 14px/1 var(--f-label); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; position: relative; }
.nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; background: var(--pink); transform: scaleX(0) skew(-20deg); transform-origin: left; transition: transform .2s; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1) skew(-20deg); }
.nav a[aria-current] { color: var(--lime); }
.nav-foot { display: none; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 10px; font: 400 13px/1 var(--f-label); border: 2px solid var(--text); transform: skew(-8deg); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { background: var(--text); color: var(--ink); }
.lang ul { position: absolute; right: 0; top: calc(100% + 10px); list-style: none; margin: 0; padding: 6px; min-width: 170px; background: var(--paper); color: var(--ink); border: 2.5px solid var(--ink); box-shadow: 6px 6px 0 var(--pink); }
.lang ul a { display: block; padding: 9px 12px; text-decoration: none; font-weight: 700; }
.lang ul a:hover { background: var(--ink); color: var(--paper); }
.lang ul a[aria-current] { background: var(--lime); }
.burger { display: none; width: 46px; height: 42px; border: 2.5px solid var(--text); background: none; cursor: pointer; padding: 9px 9px; flex-direction: column; justify-content: space-between; transform: skew(-8deg); }
.burger span { display: block; height: 3px; background: currentColor; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 120px 0 110px; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.hero-bg video, .hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.25) contrast(1.1); image-rendering: pixelated; transform: scale(1.08); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(10, 10, 11, .25), rgba(10, 10, 11, .82) 72%), linear-gradient(180deg, rgba(10, 10, 11, .55), transparent 30%, rgba(10, 10, 11, .9)); }
.hero-bg .halftone { z-index: 1; opacity: .55; }
.hero-in { text-align: center; width: min(1100px, 100% - 32px); position: relative; }
.hero-logo { margin: 0; line-height: .8; }
.wm-hero { font-size: clamp(96px, 21vw, 300px); text-shadow: 5px 5px 0 var(--ink), 11px 11px 0 var(--pink), 15px 15px 0 var(--ink); transform: rotate(-3deg); }
.wm-hero .ch { display: inline-block; }
.hero-title { font: 400 clamp(30px, 4.6vw, 64px)/1 var(--f-comic); text-transform: uppercase; letter-spacing: .02em; margin: 26px 0 14px; text-shadow: 3px 3px 0 var(--ink); }
.hero-title .hl { display: inline-block; background: var(--lime); color: var(--ink); padding: 2px 14px 0; transform: skew(-8deg) rotate(-1deg); text-shadow: none; box-shadow: 5px 5px 0 var(--ink); }
.hero-text { margin: 0 auto 30px; max-width: 58ch; font-size: clamp(17px, 1.5vw, 20px); color: #e6e1d7; text-shadow: 0 1px 12px rgba(0, 0, 0, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.hero-now { position: absolute; left: clamp(16px, 3vw, 36px); bottom: 64px; display: inline-flex; align-items: center; gap: 10px; font: 400 12px/1 var(--f-pixel); text-transform: uppercase; text-decoration: none; background: rgba(10, 10, 11, .8); padding: 10px 14px; border: 2px solid var(--text); }
.hero-now .dot { width: 9px; height: 9px; background: var(--lime); box-shadow: 0 0 0 3px rgba(198, 255, 0, .25); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2 } }

/* ---------- Marquee */
.marquee { position: relative; z-index: 4; overflow: hidden; background: var(--lime); color: var(--ink); transform: rotate(-1.6deg); margin: -10px -20px 0; border-block: 3px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.marquee-pink { background: var(--pink); }
.marquee-in { display: flex; width: max-content; align-items: center; gap: 26px; padding: 14px 0 11px; font: 400 clamp(22px, 2.6vw, 34px)/1 var(--f-comic); text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; animation: marquee 38s linear infinite; }
.marquee-in i { display: inline-flex; }
@keyframes marquee { to { transform: translateX(-33.333%) } }

/* ---------- Section heads */
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 30px; margin-bottom: 36px; }
.sec-head p { margin: 0 0 10px; color: var(--muted); font-size: 18px; max-width: 46ch; }
.sec-head-dark .h-comic { color: var(--ink); }

/* ---------- Games grid */
.games { padding: 110px 0 90px; position: relative; }
.games-page { padding-top: 70px; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 34px; }
.game-card { --accent: var(--lime); position: relative; background: var(--ink-2); border: 3px solid var(--text); box-shadow: 10px 10px 0 var(--accent); transition: transform .2s, box-shadow .2s; transform-style: preserve-3d; }
.game-card:nth-child(2n) { transform: rotate(.8deg); }
.game-card:nth-child(2n+1) { transform: rotate(-.6deg); }
.game-card:hover { box-shadow: 14px 14px 0 var(--accent); }
.gc-link { position: absolute; inset: 0; z-index: 5; }
.gc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); border-bottom: 3px solid var(--text); }
.gc-media video, .gc-media > img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transition: transform .5s; }
.game-card:hover .gc-media video { transform: scale(1.05); }
.gc-cover { position: absolute; right: 12px; bottom: 12px; width: 42% !important; height: auto !important; object-fit: contain !important; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transform: rotate(3deg); image-rendering: auto !important; }
.gc-body { padding: 24px 26px 30px; }
.gc-title { font: 400 clamp(40px, 4.4vw, 60px)/.9 var(--f-comic); text-transform: uppercase; margin: 10px 0 8px; letter-spacing: .02em; color: var(--accent); text-shadow: 3px 3px 0 var(--ink); }
.gc-tagline { font: 400 15px/1.3 var(--f-pixel); text-transform: uppercase; margin: 0 0 12px; }
.gc-short { color: #cfcac0; margin: 0 0 22px; }
.gc-cta { pointer-events: none; }

/* ---------- Game spotlight */
.spot { position: relative; padding: 110px 0; overflow: hidden; }
.spot::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1.2px, transparent 1.7px); background-size: 9px 9px; pointer-events: none; }
.spot-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.spot-farm .spot-in, .spot.spot-farm .spot-in { grid-template-columns: 1.15fr 1fr; }
.spot.spot-farm .spot-text { order: 2; }
.spot-title { font: 400 clamp(60px, 8vw, 120px)/.85 var(--f-comic); text-transform: uppercase; margin: 14px 0 12px; color: var(--accent); text-shadow: 4px 4px 0 var(--ink), 8px 8px 0 var(--text); letter-spacing: .02em; }
.spot-tagline { font: 400 18px/1.2 var(--f-pixel); text-transform: uppercase; margin: 0 0 16px; }
.spot-short { color: #d4cfc5; margin: 0 0 20px; max-width: 56ch; }
.spot-feats { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 10px; }
.spot-feats li { padding-left: 26px; position: relative; color: #cfcac0; font-size: 16px; }
.spot-feats li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; background: var(--accent); transform: rotate(45deg); box-shadow: 2px 2px 0 var(--ink); }
.spot-feats strong { color: var(--text); }
.spot-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.spot-visual { position: relative; min-height: 420px; }
.frame { position: absolute; border: 4px solid var(--text); background: var(--ink); box-shadow: 12px 12px 0 var(--accent); overflow: hidden; }
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.frame-a { inset: 0 14% 22% 0; transform: rotate(-2.5deg); z-index: 2; }
.frame-b { inset: 40% 0 0 34%; transform: rotate(3deg); z-index: 3; box-shadow: 12px 12px 0 var(--pink); }

/* ---------- News */
.news-home { position: relative; background: var(--paper); color: var(--ink); padding: 110px 0 120px; }
.news-home .h-comic { color: var(--ink); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.news-card { --c: var(--pink); background: #fffaf0; color: var(--ink); border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); transition: transform .18s, box-shadow .18s; }
.news-card:hover { transform: translate(-3px, -3px) rotate(-.5deg); box-shadow: 10px 10px 0 var(--c); }
.news-big { grid-column: 1 / -1; }
.news-big .nc-link { display: grid; grid-template-columns: 1.3fr 1fr; }
.news-big .nc-img { aspect-ratio: auto; min-height: 320px; border-bottom: 0; border-right: 3px solid var(--ink); }
.news-big h3 { font-size: clamp(30px, 3.4vw, 48px); }
.nc-link { display: block; text-decoration: none; height: 100%; }
.nc-img { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 3px solid var(--ink); background: var(--ink); position: relative; }
.nc-img img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }
.nc-img::after { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 4px 4px; opacity: .25; mix-blend-mode: multiply; }
.nc-ph { height: 100%; display: grid; place-items: center; background: var(--c); }
.nc-ph .wm-small { font-size: 46px; color: var(--ink); }
.nc-body { padding: 18px 20px 22px; }
.nc-sec { display: inline-block; font: 400 11px/1 var(--f-label); text-transform: uppercase; letter-spacing: .07em; background: var(--c); color: var(--ink); padding: 5px 8px; transform: skew(-10deg); border: 2px solid var(--ink); }
.news-card h3 { font: 400 26px/1 var(--f-comic); text-transform: uppercase; margin: 12px 0 8px; letter-spacing: .02em; }
.news-card p { margin: 0 0 10px; color: #3d3a33; font-size: 15.5px; }
.nc-meta { font: 400 11.5px/1.4 var(--f-pixel); text-transform: uppercase; color: #6a655b !important; margin: 0 !important; }
.empty { font: 400 26px/1.2 var(--f-comic); text-transform: uppercase; padding: 40px 0; opacity: .7; }
.news-list { background: var(--paper); color: var(--ink); padding: 70px 0 110px; }
.news-list .h-comic { color: var(--ink); }
.pager { display: flex; gap: 16px; justify-content: center; margin-top: 46px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips a { --c: var(--text); text-decoration: none; font: 400 13px/1 var(--f-label); text-transform: uppercase; padding: 9px 13px 8px; border: 2.5px solid var(--text); transform: skew(-8deg); }
.chips a:hover { background: var(--c); color: var(--ink); border-color: var(--c); }
.chips a[aria-current] { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* ---------- Pitch (send a demo) */
.pitch { position: relative; padding: 130px 0; overflow: hidden; background: radial-gradient(circle at 20% 50%, #1c1030, var(--ink) 60%); }
.pitch-in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.vinyl-wrap { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; }
.sleeve { position: absolute; inset: 0 18% 0 0; background: var(--pink); border: 4px solid var(--ink); box-shadow: 12px 12px 0 var(--cyan); transform: rotate(-4deg); display: flex; align-items: end; padding: 24px; overflow: hidden; }
.sleeve::before { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 7px 7px; opacity: .5; }
.sleeve-t { position: relative; font: 400 clamp(34px, 4vw, 58px)/.9 var(--f-comic); text-transform: uppercase; color: var(--ink); max-width: 7ch; }
.vinyl { position: absolute; top: 6%; right: 0; width: 76%; aspect-ratio: 1; border-radius: 50%; background: repeating-radial-gradient(circle, #111 0 2px, #1b1b1e 2px 4px); border: 4px solid var(--ink); box-shadow: 0 0 0 2px #333, 8px 8px 0 var(--ink); display: grid; place-items: center; }
.vinyl::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 30deg, transparent 0 10%, rgba(255, 255, 255, .12) 14%, transparent 20% 60%, rgba(255, 255, 255, .08) 64%, transparent 70%); }
.vinyl-label { width: 36%; aspect-ratio: 1; border-radius: 50%; background: var(--lime); border: 3px solid var(--ink); display: grid; place-items: center; align-content: center; gap: 2px; color: var(--ink); position: relative; z-index: 1; }
.vinyl-label .wm-small { font-size: clamp(14px, 1.7vw, 22px); }
.vinyl-label span:last-child { font: 400 11px/1 var(--f-pixel); }
.vinyl-label::after { content: ""; position: absolute; width: 9%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); }
.vinyl-small { max-width: 220px; margin-bottom: 20px; }
.vinyl-small .vinyl { position: relative; width: 100%; top: 0; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.checks .i { color: var(--ink); background: var(--lime); padding: 3px; width: 26px; height: 26px; transform: skew(-8deg); }
.checks-row { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 56px 0 0; }

/* ---------- Contact strip */
.contact-strip { background: var(--cyan); color: var(--ink); padding: 70px 0; position: relative; border-block: 4px solid var(--ink); }
.cs-in { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; justify-content: space-between; }
.cs-in .h-comic { margin: 0; color: var(--ink); }
.cs-mails { display: flex; flex-wrap: wrap; gap: 18px 36px; }
.cs-mails a { text-decoration: none; font: 400 clamp(20px, 2.1vw, 28px)/1.1 var(--f-label); display: grid; gap: 4px; }
.cs-mails a span { font: 400 11px/1 var(--f-pixel); text-transform: uppercase; }
.cs-mails a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.contact-strip .btn-cyan > span { background: var(--ink); color: var(--cyan); box-shadow: 5px 5px 0 var(--pink); border-color: var(--ink); }

/* ---------- Inner page heads */
.page-head { position: relative; padding: 170px 0 110px; background: var(--ink); overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(255, 46, 136, .25), transparent 45%), radial-gradient(circle at 10% 90%, rgba(0, 229, 255, .18), transparent 40%); }
.page-head::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 1.3px, transparent 1.8px); background-size: 10px 10px; pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head-small { padding: 140px 0 70px; }
.page-head-small .h-comic { margin: 0; }

/* ---------- Game page */
.game-hero { position: relative; min-height: 88svh; display: flex; align-items: end; padding: 140px 0 120px; overflow: hidden; isolation: isolate; }
.gh-visual { position: absolute; inset: 0; z-index: -1; }
.gh-visual video, .gh-visual img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.gh-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 11, .9), rgba(10, 10, 11, .35) 60%, transparent), linear-gradient(0deg, var(--ink), transparent 40%); }
.gh-farm .farm { position: absolute; inset: 0; height: 100%; }
.gh-farm .farm-land { width: min(56%, 720px); left: 70%; }
.gh-in { position: relative; }
.gh-title { font: 400 clamp(72px, 12vw, 190px)/.82 var(--f-comic); text-transform: uppercase; margin: 10px 0 14px; color: var(--accent); text-shadow: 5px 5px 0 var(--ink), 11px 11px 0 var(--text); letter-spacing: .02em; max-width: 9ch; }
.gh-logo img { max-width: min(560px, 90%); }
.gh-tagline { font: 400 clamp(16px, 1.8vw, 22px)/1.25 var(--f-pixel); text-transform: uppercase; margin: 0 0 30px; }
.gh-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.game-main { padding: 90px 0; }
.gm-in { display: grid; grid-template-columns: 1fr 340px; gap: 60px; align-items: start; }
.gm-side { position: sticky; top: 100px; display: grid; gap: 24px; }
.facts { margin: 0; border: 3px solid var(--text); background: var(--ink-2); box-shadow: 8px 8px 0 var(--accent); }
.facts div { display: grid; gap: 2px; padding: 13px 16px; border-bottom: 2px dashed var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font: 400 11px/1 var(--f-pixel); text-transform: uppercase; color: var(--accent); }
.facts dd { margin: 0; font-weight: 600; }
.steam-widget iframe { width: 100%; height: 190px; border: 0; }
.feat-grid { list-style: none; padding: 0; margin: 36px 0 46px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feat { background: var(--paper); color: var(--ink); padding: 22px 20px; border: 3px solid var(--ink); box-shadow: 7px 7px 0 var(--accent); transform: rotate(var(--r)); }
.feat-n { font: 400 13px/1 var(--f-pixel); background: var(--ink); color: var(--accent); padding: 4px 7px; }
.feat strong { display: block; font: 400 30px/1 var(--f-comic); text-transform: uppercase; margin: 14px 0 8px; }
.feat p { margin: 0; font-size: 15.5px; color: #34312b; }
.shots { padding: 40px 0 110px; }
.loops { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 26px; margin-bottom: 26px; }
.loop { border: 4px solid var(--text); box-shadow: 10px 10px 0 var(--accent); }
.loop video { width: 100%; image-rendering: pixelated; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.shot { display: block; border: 3px solid var(--text); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; image-rendering: pixelated; transition: transform .4s; }
.shot:hover { transform: rotate(-1deg) scale(1.02); box-shadow: 8px 8px 0 var(--pink); }
.shot:hover img { transform: scale(1.06); }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(10, 10, 11, .94); display: grid; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox img { max-height: 88vh; border: 4px solid var(--text); box-shadow: 14px 14px 0 var(--pink); image-rendering: pixelated; }

/* Rich text */
.prose { font-size: 18px; line-height: 1.7; }
.prose h2, .prose h3 { font-family: var(--f-comic); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; line-height: 1; margin: 1.6em 0 .5em; }
.prose h2 { font-size: 44px; color: var(--accent, var(--lime)); }
.prose h3 { font-size: 32px; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose ul li::marker { content: "+  "; color: var(--accent, var(--pink)); font-weight: 800; }
.prose a { color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose strong { color: #fff; }
.prose blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 6px solid var(--pink); background: rgba(255, 255, 255, .04); font-style: italic; }
.prose img, .prose figure img { border: 3px solid currentColor; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font: 400 12px/1.4 var(--f-pixel); text-transform: uppercase; margin-top: 8px; opacity: .7; }
.prose code { font-family: ui-monospace, monospace; background: rgba(255, 255, 255, .08); padding: 2px 6px; }
.prose pre { overflow: auto; background: var(--ink); color: var(--text); padding: 16px; border: 3px solid currentColor; }
.prose .table { overflow-x: auto; margin: 1.4em 0; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.prose th, .prose td { border: 2px solid currentColor; padding: 8px 10px; text-align: left; }
.prose hr { border: 0; height: 4px; background: currentColor; margin: 2em 0; transform: skew(-20deg); }
.prose-paper { color: var(--ink); }
.prose-paper strong { color: var(--ink); }
.prose-paper h2 { color: var(--ink); }
.prose-paper a { color: #c8005f; }
.prose-paper blockquote { background: rgba(0, 0, 0, .05); }

/* ---------- Article */
.story { background: var(--paper); color: var(--ink); }
.story-head { position: relative; background: var(--ink); color: var(--text); padding: 150px 0 100px; }
.story-head::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1.2px, transparent 1.7px); background-size: 9px 9px; pointer-events: none; }
.story-head .wrap-narrow { position: relative; z-index: 1; }
.back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 400 12px/1 var(--f-pixel); text-transform: uppercase; margin-bottom: 26px; }
.back:hover { color: var(--lime); }
.story-title { font: 400 clamp(46px, 7vw, 92px)/.92 var(--f-comic); text-transform: uppercase; margin: 10px 0 18px; letter-spacing: .015em; }
.story-dek { font-size: 21px; color: #d9d4ca; margin: 0 0 20px; }
.story-meta { font: 400 12px/1.5 var(--f-pixel); text-transform: uppercase; color: var(--muted); margin: 0; }
.story-cover { margin: 40px auto 0; }
.story-cover img { width: 100%; border: 4px solid var(--ink); box-shadow: 12px 12px 0 var(--pink); }
.story-body { padding: 50px 0 80px; }
.toc { border: 3px solid var(--ink); padding: 16px 20px; margin-bottom: 34px; background: #fffaf0; box-shadow: 6px 6px 0 var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; font-weight: 600; }
.toc a { color: var(--ink); }
.story-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.story-tags span { font: 400 12px/1 var(--f-pixel); background: var(--ink); color: var(--paper); padding: 6px 9px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 3px dashed var(--ink); }
.share-h { font: 400 22px/1 var(--f-comic); text-transform: uppercase; margin-right: 8px; }
.share a, .share button { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: var(--paper); border: 0; cursor: pointer; transform: skew(-8deg); transition: background .15s, transform .15s; }
.share a:hover, .share button:hover { background: var(--pink); color: var(--ink); transform: skew(-8deg) translateY(-3px); }
.related { padding-top: 0; }

/* ---------- Forms */
.form-sec { padding: 90px 0 120px; }
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.form-side { position: sticky; top: 110px; }
.form-side p { color: var(--muted); }
.form { background: var(--paper); color: var(--ink); padding: clamp(22px, 4vw, 40px); border: 4px solid var(--ink); box-shadow: 14px 14px 0 var(--pink); display: grid; gap: 18px; position: relative; }
.form::before { content: ""; position: absolute; top: -18px; left: 30px; width: 110px; height: 30px; background: rgba(255, 255, 255, .5); border: 1px solid rgba(0, 0, 0, .08); transform: rotate(-4deg); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; border: 0; padding: 0; margin: 0; min-width: 0; }
.f-label { font: 400 13px/1 var(--f-label); text-transform: uppercase; letter-spacing: .05em; padding: 0; }
.f-hint { font-size: 13.5px; color: #5d584e; }
.form input:not([type="checkbox"]):not([type="file"]), .form select, .form textarea { width: 100%; background: #fffdf8; color: var(--ink); border: 3px solid var(--ink); padding: 13px 14px; border-radius: 0; font-size: 16px; transition: box-shadow .15s, transform .15s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; box-shadow: 5px 5px 0 var(--cyan); transform: translate(-2px, -2px); }
.form textarea { resize: vertical; min-height: 120px; }
.form .invalid { box-shadow: 5px 5px 0 var(--pink) !important; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; padding: 8px 12px; border: 2.5px solid var(--ink); font-weight: 700; font-size: 14px; cursor: pointer; transform: skew(-8deg); }
.pill input:checked + span { background: var(--ink); color: var(--lime); }
.pill input:focus-visible + span { outline: 3px solid var(--cyan); }
.drop { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 18px; border: 3px dashed var(--ink); background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(0, 0, 0, .035) 10px 20px); cursor: pointer; transition: background .15s; }
.drop:hover, .drop.over { background: rgba(0, 229, 255, .18); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-t { font: 400 24px/1 var(--f-comic); text-transform: uppercase; }
.drop-h { font-size: 13.5px; color: #5d584e; }
.drop-name { font: 400 12px/1.3 var(--f-pixel); background: var(--ink); color: var(--lime); padding: 5px 8px; }
.drop-name:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: start; font-size: 14.5px; }
.consent input { width: 22px; height: 22px; flex: none; accent-color: var(--ink); margin-top: 1px; }
.consent a { color: #c8005f; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.btn-send { justify-self: start; margin-top: 6px; }
.btn-send[disabled] { opacity: .6; pointer-events: none; }
.form-status { margin: 0; padding: 14px 16px; border: 3px solid var(--ink); font-weight: 700; }
.form-status.ok { background: var(--lime); }
.form-status.err { background: var(--pink); }
.form-done > :not(.form-status):not(.btn-again) { display: none; }
.form-closed { font-size: 18px; }
.mail-cards { display: grid; gap: 16px; margin-bottom: 30px; }
.mail-card { display: grid; gap: 4px; text-decoration: none; padding: 20px 22px; background: var(--cyan); color: var(--ink); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--text); transform: rotate(-1deg); transition: transform .15s; }
.mail-card-b { background: var(--lime); transform: rotate(1deg); }
.mail-card:hover { transform: rotate(0) translate(-3px, -3px); }
.mail-card span { font: 400 11px/1 var(--f-pixel); text-transform: uppercase; }
.mail-card strong { font: 400 clamp(19px, 2vw, 24px)/1.15 var(--f-label); word-break: break-all; }
.foot-h { font: 400 12px/1 var(--f-pixel); text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

/* ---------- Publishing steps, values */
.steps { padding: 90px 0 30px; }
.step-list, .value-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 26px; }
.step, .value { background: var(--ink-2); border: 3px solid var(--text); padding: 28px 24px; position: relative; box-shadow: 9px 9px 0 var(--cyan); transform: rotate(var(--r, 0deg)); }
.step:nth-child(2) { box-shadow: 9px 9px 0 var(--pink); }
.step:nth-child(3) { box-shadow: 9px 9px 0 var(--lime); }
.step-n, .value-n { position: absolute; top: -24px; right: 18px; font: 400 54px/1 var(--f-comic); color: var(--ink); background: var(--lime); border: 3px solid var(--ink); padding: 4px 14px 0; transform: rotate(4deg); }
.step h2, .value h2 { font: 400 36px/1 var(--f-comic); text-transform: uppercase; margin: 6px 0 12px; letter-spacing: .02em; }
.step p, .value p { margin: 0; color: #cfcac0; }
.values { padding: 110px 0 40px; }
.value:nth-child(2) { box-shadow: 9px 9px 0 var(--pink); }
.value:nth-child(3) { box-shadow: 9px 9px 0 var(--amber); }

/* ---------- Legal, 404 */
.legal { background: var(--paper); color: var(--ink); padding: 60px 0 110px; }
.nf { min-height: 90svh; display: grid; place-items: center; text-align: center; padding: 140px 0 90px; }
.nf-big { font: 400 clamp(140px, 30vw, 380px)/.8 var(--f-comic); margin: 0; color: var(--pink); text-shadow: 6px 6px 0 var(--ink), 14px 14px 0 var(--cyan); position: relative; }
.nf .hero-cta { margin-top: 30px; }
.nf .lead { margin-inline: auto; }

/* ---------- Footer */
.foot { position: relative; background: var(--paper); color: var(--ink); padding: 100px 0 30px; margin-top: 0; }
.foot .tear { background: var(--paper); transform: scaleY(-1); top: -33px; }
.foot-in { width: min(var(--wrap), 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; }
.logo-big .wordmark { font-size: clamp(64px, 8vw, 110px); color: var(--ink); text-shadow: 3px 3px 0 var(--paper), 6px 6px 0 var(--pink); }
.foot-brand p { max-width: 36ch; margin: 14px 0 20px; font-weight: 600; }
.foot-h { color: #6a655b; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { text-decoration: none; font-weight: 700; }
.foot-col a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-decoration-color: var(--pink); }
.foot .muted { color: #6a655b; font-size: 13px; }
.foot-legal { width: min(var(--wrap), 100% - 40px); margin: 60px auto 0; padding-top: 20px; border-top: 3px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; font-size: 13.5px; }
.foot-legal p { margin: 0; }
.foot-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }
.foot-legal a { text-decoration: none; font-weight: 700; }
.foot-legal a:hover { color: #c8005f; }
.socials { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; background: var(--ink); color: var(--paper); transform: skew(-8deg); transition: transform .15s, background .15s; }
.socials a:hover { background: var(--pink); color: var(--ink); transform: skew(-8deg) translateY(-3px); }
.socials-big a { width: 52px; height: 52px; background: var(--text); color: var(--ink); }

/* ---------- Motion helpers (set by site.js) */
.js .reveal { opacity: 0; transform: translateY(40px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .3, 1.2); }
.js .game-card.reveal.in:nth-child(2n) { transform: rotate(.8deg); }
.js .game-card.reveal.in:nth-child(2n+1) { transform: rotate(-.6deg); }
.js .step.reveal.in, .js .value.reveal.in, .js .feat.reveal.in { transform: rotate(var(--r, 0deg)); }
.vinyl.spin { animation: spin 3.2s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .grain { display: none; }
}

/* ---------- Small screens */
@media (max-width: 980px) {
  .burger { display: flex; }
  .nav { position: fixed; inset: 0; z-index: -1; background: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: 90px 30px 40px; transform: translateX(100%); transition: transform .35s cubic-bezier(.7, 0, .2, 1); background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1.3px, transparent 1.8px); background-size: 10px 10px; }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { font: 400 clamp(46px, 11vw, 72px)/1.05 var(--f-comic); padding: 6px 0; }
  .nav a::after { display: none; }
  .nav-foot { display: block; margin-top: 30px; }
  .nav-foot .socials a { background: var(--text); color: var(--ink); }
  .spot-in, .spot.spot-farm .spot-in, .pitch-in, .gm-in, .form-wrap { grid-template-columns: 1fr; }
  .spot.spot-farm .spot-text { order: 0; }
  .spot-visual { min-height: 300px; aspect-ratio: 16 / 11; }
  .gm-side, .form-side { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .news-big .nc-link { grid-template-columns: 1fr; }
  .news-big .nc-img { border-right: 0; border-bottom: 3px solid var(--ink); min-height: 0; aspect-ratio: 16 / 9; }
  .vinyl-wrap { max-width: 380px; margin: 0 auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo .wordmark { font-size: 32px; }
  .lang summary span { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .hero { padding-top: 100px; }
  .hero-now { display: none; }
  .game-card { box-shadow: 7px 7px 0 var(--accent); }
  .gc-body { padding: 20px 18px 24px; }
  .foot-in { grid-template-columns: 1fr; }
  .btn > span { padding: 13px 18px 12px; font-size: 14px; }
  .frame-a { inset: 0 8% 26% 0; }
  .frame-b { inset: 46% 0 0 30%; }
}

/* =====================================================================================
   The newspaper
   ===================================================================================== */

/* Header in two rows: masthead and the sections strip */
.top { flex-direction: column; align-items: stretch; gap: 0; padding: 0; background: var(--ink); box-shadow: 0 3px 0 var(--line); }
.top.scrolled { padding: 0; }
.top-row { display: flex; align-items: center; gap: 18px; padding: 12px clamp(16px, 3vw, 36px); }
.top-date { margin: 0; font: 400 11px/1.2 var(--f-pixel); text-transform: uppercase; color: var(--muted); }
.top-search { margin-left: auto; display: flex; align-items: center; border: 2.5px solid var(--text); transform: skew(-8deg); background: var(--ink-2); }
.top-search input { width: 220px; background: none; border: 0; padding: 8px 10px; transform: skew(8deg); font-size: 14px; }
.top-search input:focus { outline: none; }
.top-search button { background: var(--text); color: var(--ink); border: 0; width: 38px; height: 36px; display: grid; place-items: center; cursor: pointer; }
.top-search button:hover { background: var(--lime); }
.logo { margin-right: 0; }
.nav { border-top: 2px solid var(--line); }
.nav ul { gap: 0; overflow-x: auto; padding: 0 clamp(8px, 2.4vw, 28px); scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav li { flex: none; }
.nav a { --c: var(--pink); padding: 12px 13px 11px; font-size: 13px; }
.nav a::after { background: var(--c); }
.nav a[aria-current] { color: var(--c); }
.nav-latest { display: inline-flex !important; align-items: center; gap: 6px; color: var(--lime); }
.nav-search { display: none; }
main { padding-top: 112px; }
.page-home main, .page-list main { padding-top: 112px; }

/* Breaking news bar */
.breaking { position: fixed; z-index: 49; top: 112px; left: 0; right: 0; display: flex; align-items: center; gap: 14px; padding: 9px clamp(16px, 3vw, 36px); background: var(--pink); color: var(--ink); text-decoration: none; border-bottom: 3px solid var(--ink); font-weight: 800; }
.breaking-tag { display: inline-flex; align-items: center; gap: 6px; flex: none; background: var(--ink); color: var(--pink); padding: 5px 9px; font: 400 12px/1 var(--f-label); text-transform: uppercase; transform: skew(-10deg); animation: blink 1.4s steps(2) infinite; }
.breaking-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.breaking:hover .breaking-t { text-decoration: underline; }
.breaking ~ main { padding-top: 158px; }

/* Front page */
.front { position: relative; padding: 34px 0 90px; background: var(--ink); }
.front::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .05) 1.2px, transparent 1.7px); background-size: 9px 9px; pointer-events: none; }
.front-grid { position: relative; display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; gap: 26px; }
.lead-story { grid-column: 1; grid-row: 1 / span 2; }
.front-side { grid-column: 2; grid-row: 1 / span 2; display: grid; gap: 26px; align-content: start; }
.front-latest { grid-column: 3; grid-row: 1 / span 2; background: var(--ink-2); border: 3px solid var(--text); padding: 18px 18px 8px; box-shadow: 9px 9px 0 var(--lime); align-self: start; }
.lead-story { --c: var(--pink); position: relative; }
.ls-link { display: block; text-decoration: none; position: relative; border: 4px solid var(--text); box-shadow: 12px 12px 0 var(--c); background: var(--ink); overflow: hidden; }
.ls-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.ls-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; filter: contrast(1.08) saturate(1.1); }
.ls-link:hover .ls-img img { transform: scale(1.05); }
.ls-img .halftone { opacity: .35; }
.ls-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 10, 11, .92)); }
.ls-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 3vw, 34px); }
.ls-tags { margin: 0 0 10px; }
.ls-title { font: 400 clamp(36px, 4.6vw, 72px)/.92 var(--f-comic); text-transform: uppercase; letter-spacing: .015em; margin: 0 0 12px; text-shadow: 3px 3px 0 var(--ink), 6px 6px 0 var(--c); }
.ls-link:hover .ls-title { color: var(--lime); }
.ls-dek { margin: 0 0 12px; font-size: 18px; color: #e6e1d7; max-width: 60ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ls-meta { margin: 0; font: 400 11.5px/1.4 var(--f-pixel); text-transform: uppercase; color: #cfcac0; }
.front .news-card { background: var(--ink-2); color: var(--text); border-color: var(--text); box-shadow: 7px 7px 0 var(--c); }
.front .news-card p { color: #c9c4ba; }
.front .news-card .nc-meta { color: var(--muted) !important; }
.front .nc-img { border-bottom-color: var(--text); }

/* Section headings like stickers */
.block-head { --c: var(--pink); display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 20px; border-bottom: 4px solid currentColor; padding-bottom: 8px; }
.block-head h2 { margin: 0; font: 400 clamp(28px, 3vw, 42px)/1 var(--f-comic); text-transform: uppercase; letter-spacing: .02em; position: relative; }
.block-head h2::before { content: ""; display: inline-block; width: .55em; height: .55em; background: var(--c); border: 3px solid currentColor; margin-right: 12px; transform: rotate(45deg) translateY(-4px); }
.block-head h2 a { text-decoration: none; }
.block-head h2 a:hover { color: var(--c); -webkit-text-stroke: 1px currentColor; }
.block-more { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font: 400 12px/1 var(--f-label); text-transform: uppercase; white-space: nowrap; }
.block-more:hover { color: var(--c); }
.front-latest .block-head { border-color: var(--text); }
.front-latest .block-head h2 { font-size: 30px; }

/* Rankings and the latest list */
.rank { list-style: none; margin: 0; padding: 0; }
.rank li { border-bottom: 2px dashed var(--line); }
.rank li:last-child { border-bottom: 0; }
.rank a { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; text-decoration: none; }
.rank a:hover .rank-h { color: var(--pink); }
.rank-n { flex: none; font: 400 46px/.8 var(--f-comic); color: var(--pink); -webkit-text-stroke: 1.5px var(--ink); min-width: 34px; }
.rank-t { flex: none; font: 400 10.5px/1.3 var(--f-pixel); text-transform: uppercase; color: var(--lime); min-width: 62px; }
.rank-h { font-weight: 700; line-height: 1.3; }
.popular { background: #fffaf0; border: 3px solid var(--ink); padding: 20px 22px 10px; box-shadow: 9px 9px 0 var(--pink); margin: 10px 0 60px; }
.popular .rank { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); column-gap: 26px; }
.popular .rank li { border-bottom-color: #d6cdb8; }
.popular-side { margin: 0; }
.popular-side .rank { display: block; }

/* Paper zone (newsprint) */
.paper-zone { position: relative; background: var(--paper); color: var(--ink); padding: 70px 0 110px; }
.paper-zone .empty { color: var(--ink); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-bottom: 50px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-4 .nc-lg { grid-column: span 2; grid-row: span 2; }
.sec-block { margin-bottom: 64px; }
.nc-lg h3 { font-size: clamp(30px, 3vw, 44px); }
.nc-lg .nc-img { aspect-ratio: 16 / 10; }
.nc-sm h3 { font-size: 21px; }
.nc-sm .nc-body { padding: 14px 16px 16px; }
.list-lead { margin-bottom: 34px; }
.list-lead .nc-lg .nc-link { display: grid; grid-template-columns: 1.25fr 1fr; }
.list-lead .nc-lg .nc-img { aspect-ratio: auto; min-height: 340px; border-bottom: 0; border-right: 3px solid var(--ink); }
.page-head .page-title { color: var(--c, var(--text)); text-shadow: 4px 4px 0 var(--ink), 8px 8px 0 var(--text); }
.big-search { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; max-width: 760px; }
.big-search input { flex: 1; min-width: 220px; font-size: 20px; padding: 14px 16px; background: var(--paper); color: var(--ink); border: 4px solid var(--text); }
.big-search input:focus { outline: none; box-shadow: 6px 6px 0 var(--lime); }
.big-search .btn > span { height: 100%; }
.empty-front { padding: 80px 0; text-align: center; }
.empty-front .wm-hero { display: block; margin-bottom: 20px; }

/* Reading */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 5px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--lime); box-shadow: 0 0 0 1px var(--ink); }
.story-head { padding: 60px 0 100px; }
.story-tags-top { margin: 0 0 6px; }
.story-tags-top a { text-decoration: none; }
.story-title { text-shadow: 3px 3px 0 var(--ink), 6px 6px 0 var(--c); }
.story-cover figcaption { font: 400 11px/1.4 var(--f-pixel); text-transform: uppercase; color: #5d584e; margin-top: 12px; }
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding: 50px 0 80px; align-items: start; }
.story-body { padding: 0; max-width: 740px; }
.story-side { position: static; }
.story-tags a { font: 400 12px/1 var(--f-pixel); background: var(--ink); color: var(--paper); padding: 6px 9px; text-decoration: none; }
.story-tags a:hover { background: var(--pink); color: var(--ink); }
.toc p { margin: 0 0 6px; font: 400 20px/1 var(--f-comic); text-transform: uppercase; }
.prose-paper { font-size: 19px; }
.prose-paper > p:first-child::first-letter { float: left; font: 400 5.2em/.78 var(--f-comic); margin: .06em .1em 0 0; color: var(--pink); text-shadow: 3px 3px 0 var(--ink); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 3px solid currentColor; }
.about-sections { display: flex; flex-wrap: wrap; gap: 10px; margin: 46px 0 0; }
.about-sections a { --c: var(--pink); text-decoration: none; font: 400 22px/1 var(--f-comic); text-transform: uppercase; padding: 10px 14px 8px; background: var(--c); color: var(--ink); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--text); transform: rotate(-1.5deg); }
.about-sections a:nth-child(2n) { transform: rotate(1.5deg); }
.about-sections a:hover { transform: rotate(0) translateY(-3px); }
.nc-ph { background: var(--c, var(--pink)); }
.foot-sections ul { columns: 2; display: block; }
.foot-sections li { margin-bottom: 10px; }

@media (max-width: 1180px) {
  .front-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
  .front-latest { grid-column: 1 / -1; grid-row: auto; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-date { display: none; }
}
@media (max-width: 980px) {
  main, .page-home main, .page-list main { padding-top: 70px; }
  .breaking { top: 68px; }
  .breaking ~ main { padding-top: 116px; }
  .top-search { display: none; }
  .lang { margin-left: auto; }
  .nav { position: fixed; inset: 0; z-index: -1; border: 0; }
  .nav ul { flex-direction: column; overflow: visible; padding: 0; }
  .nav a { font: 400 clamp(36px, 9vw, 56px)/1.05 var(--f-comic); padding: 4px 0; }
  .nav-latest .i { width: 30px; height: 30px; }
  .nav-search { display: flex; margin-top: 24px; border: 3px solid var(--text); }
  .nav-search input { flex: 1; background: none; border: 0; padding: 12px; font-size: 18px; }
  .nav-search button { background: var(--lime); border: 0; width: 52px; display: grid; place-items: center; color: var(--ink); }
  .nav { overflow-y: auto; justify-content: flex-start; padding-top: 100px; }
  .front-grid { grid-template-columns: 1fr; }
  .lead-story, .front-side, .front-latest { grid-column: 1; grid-row: auto; }
  .front-side { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-layout { grid-template-columns: 1fr; gap: 30px; }
  .story-side { position: static; }
  .list-lead .nc-lg .nc-link { grid-template-columns: 1fr; }
  .list-lead .nc-lg .nc-img { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 3px solid var(--ink); }
  .burger { margin-left: 0; }
}
@media (max-width: 640px) {
  .front { padding-top: 18px; }
  .ls-img { aspect-ratio: 4 / 5; }
  .ls-title { font-size: clamp(32px, 10vw, 46px); }
  .ls-dek { font-size: 16px; }
  .front-side, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-4 .nc-lg { grid-column: auto; grid-row: auto; }
  .prose-paper { font-size: 17.5px; }
  .popular { padding: 16px 16px 6px; }
  .breaking-tag span { display: none; }
  .top-row { padding: 10px 14px; gap: 10px; }
}

/* Lead story fills its column; sections with few stories stay compact */
.lead-story .ls-link { height: 100%; display: flex; flex-direction: column; }
.lead-story .ls-img { flex: 1; aspect-ratio: auto; min-height: 520px; }
.grid-few { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
@media (max-width: 640px) { .lead-story .ls-img { min-height: 480px; } }
@media (max-width: 980px) { .top-row { padding-right: 20px; } .burger { flex: none; } .lang summary { padding: 8px 9px; } }

/* ---------- Logo, authors, translations */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 44px; height: 44px; border-radius: 11px; border: 2.5px solid var(--text); box-shadow: 3px 3px 0 var(--pink); transform: rotate(-4deg); transition: transform .2s; }
.logo:hover .logo-mark { transform: rotate(4deg) scale(1.06); }
.logo-big .logo-mark { width: 72px; height: 72px; border-radius: 18px; border-color: var(--ink); box-shadow: 5px 5px 0 var(--pink); }
.nc-ph { display: grid; place-items: center; height: 100%; background-image: radial-gradient(circle, rgba(0, 0, 0, .18) 1.2px, transparent 1.7px); background-size: 7px 7px; }
.nc-ph img { width: 30%; max-width: 96px; border-radius: 22%; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-6deg); }
.av { display: block; border-radius: 50%; object-fit: cover; border: 3px solid var(--text); background: var(--ink-2); flex: none; }
.av-mark { display: grid; place-items: center; background: var(--pink); color: var(--ink); font: 400 28px/1 var(--f-comic); }
.av-xs { display: inline-block; width: 22px !important; height: 22px !important; border-width: 2px; vertical-align: middle; margin-right: 6px; font-size: 12px; }
.nc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; }
.nc-meta .av { border-color: var(--ink); }
.front .nc-meta .av { border-color: var(--text); }
.ls-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.byline-av { flex: none; }
.byline-av .av { width: 52px; height: 52px; box-shadow: 3px 3px 0 var(--c, var(--pink)); }
.byline-av img.av[src="/brand/logo-256.webp"] { border-radius: 14px; }
.byline-name { margin: 0 0 4px; font: 400 15px/1.2 var(--f-label); text-transform: uppercase; letter-spacing: .03em; }
.byline-name a { text-decoration: none; }
.byline-name a:hover { color: var(--lime); }
.byline-name span { display: block; font: 400 11px/1.4 var(--f-pixel); color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.translated { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 26px; padding: 10px 14px; background: var(--cyan); color: var(--ink); border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); font-weight: 700; font-size: 15px; transform: rotate(-.6deg); }
.translated a { color: var(--ink); text-decoration-thickness: 2px; }
.author-box { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start; margin-top: 44px; padding: 26px; background: var(--ink); color: var(--text); border: 4px solid var(--ink); box-shadow: 10px 10px 0 var(--pink); position: relative; }
.author-box::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1.2px, transparent 1.7px); background-size: 9px 9px; pointer-events: none; }
.author-box > * { position: relative; }
.author-box .av { width: 104px; height: 104px; box-shadow: 5px 5px 0 var(--lime); }
.author-box .av-mark { font-size: 54px; }
.author-box-k { margin: 0 0 4px; font: 400 11px/1 var(--f-pixel); text-transform: uppercase; color: var(--lime); }
.author-box-name { margin: 0; font: 400 36px/1 var(--f-comic); text-transform: uppercase; letter-spacing: .02em; }
.author-box-name a { text-decoration: none; }
.author-box-name a:hover { color: var(--pink); }
.author-box-job { margin: 4px 0 0; font-weight: 700; color: var(--cyan); }
.author-box-bio { margin: 12px 0 0; color: #d9d4ca; line-height: 1.55; }
.author-box-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.author-links { display: flex; flex-wrap: wrap; gap: 8px; }
.author-links a { width: 38px; height: 38px; display: grid; place-items: center; background: var(--text); color: var(--ink); transform: skew(-8deg); transition: transform .15s, background .15s; }
.author-links a:hover { background: var(--pink); transform: skew(-8deg) translateY(-3px); }
.author-head-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 50px); align-items: center; }
.av-big { width: clamp(120px, 16vw, 180px) !important; height: clamp(120px, 16vw, 180px) !important; border-width: 5px; box-shadow: 10px 10px 0 var(--pink); transform: rotate(-3deg); }
.av-big.av-mark { font-size: 90px; }
.author-job { margin: -4px 0 12px; font: 400 15px/1.2 var(--f-label); text-transform: uppercase; color: var(--lime); }
.author-meta { font: 400 11px/1.5 var(--f-pixel); text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.author-head .author-links a { width: 44px; height: 44px; }
@media (max-width: 640px) {
  .author-box { grid-template-columns: 1fr; padding: 20px; }
  .author-head-in { grid-template-columns: 1fr; }
  .logo-mark { width: 36px; height: 36px; border-radius: 9px; }
}

/* Footer logo always fits its column */
.foot-brand { min-width: 0; }
.logo-big { flex-wrap: wrap; max-width: 100%; }
.logo-big .wordmark { font-size: clamp(44px, 4.4vw, 76px); white-space: nowrap; }
.logo-big .logo-mark { width: 56px; height: 56px; border-radius: 14px; }
.foot-in { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr); }
@media (max-width: 980px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr; } .logo-big .wordmark { font-size: 56px; } }
/* Breaking bar scrolls with the page (it never covers the story) */
.breaking { position: relative; top: auto; margin-top: 112px; }
.breaking ~ main { padding-top: 0 !important; }
@media (max-width: 980px) { .breaking { margin-top: 68px; } }
/* No sideways scroll from the tilted strips; record sleeve text always fits */
html, body { overflow-x: clip; }
.sleeve { inset: 0 22% 0 0; }
.sleeve-t { font-size: clamp(24px, 2.6vw, 44px); max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
/* Phones: compact record sleeve, tighter blocks */
@media (max-width: 640px) {
  .pitch { padding: 80px 0; }
  .vinyl-wrap { max-width: 250px; }
  .sleeve-t { font-size: 26px; }
  .pitch-in { gap: 30px; }
  .h-xl { font-size: clamp(44px, 13vw, 64px); }
  .page-head { padding: 40px 0 80px; }
  .paper-zone { padding: 50px 0 80px; }
  .popular { margin-bottom: 40px; }
  .sec-block { margin-bottom: 44px; }
  .news-card h3 { font-size: 23px; }
  .story-head { padding: 34px 0 80px; }
  .story-title { font-size: clamp(38px, 11vw, 54px); }
  .story-layout { padding: 30px 0 60px; }
  .wrap, .wrap-narrow, .wrap-wide { width: min(var(--wrap), 100% - 28px); }
  .contact-strip, .values { padding: 60px 0; }
  .form { box-shadow: 8px 8px 0 var(--pink); }
}
@media (max-width: 980px) { .grain { display: none; } }
.author-head[style*="--banner"]::before { background: linear-gradient(90deg, rgba(10, 10, 11, .94), rgba(10, 10, 11, .7) 55%, rgba(10, 10, 11, .45)), var(--banner) center / cover no-repeat; }

/* Embedded videos, about links, print */
.prose .embed { margin: 1.8em 0; }
.prose .embed iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); background: var(--ink); }
.about-links { display: flex; flex-wrap: wrap; gap: 16px; margin: 40px 0 0; }
@media print {
  .top, .breaking, .grain, .progress, .share, .story-side, .related, .pitch, .foot, .marquee, .tear, .author-box-foot { display: none !important; }
  body, .story, .story-head { background: #fff !important; color: #000 !important; }
  main { padding: 0 !important; }
  .story-title { text-shadow: none !important; color: #000 !important; font-size: 34pt; }
  .story-layout { display: block; padding: 0; }
  .prose-paper { font-size: 12pt; }
  .story-cover img { box-shadow: none; border: 1px solid #000; }
  a { color: #000 !important; }
}
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header buttons, full-screen search, fixed mobile menu */
.icon-btn { flex: none; width: 44px; height: 42px; display: grid; place-items: center; border: 2.5px solid var(--text); background: none; color: var(--text); cursor: pointer; transform: skew(-8deg); text-decoration: none; transition: background .15s, color .15s; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: var(--text); color: var(--ink); }
.icon-btn .i { transform: skew(8deg); }
.search-btn { display: none; }
.account-btn { overflow: hidden; padding: 0; }
.account-btn img { width: 100%; height: 100%; object-fit: cover; transform: skew(8deg) scale(1.2); }
.account-btn.signed { border-color: var(--lime); }
/* The header must not trap the fixed menu (blur and transforms create a containing block). */
body.menu-open .top { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transform: none !important; background: var(--ink); }
.search-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(10, 10, 11, .97); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 90px 22px 40px; overflow-y: auto; background-image: radial-gradient(circle, rgba(255, 255, 255, .06) 1.3px, transparent 1.8px); background-size: 10px 10px; }
.search-overlay:not([hidden]) { animation: search-in .28s cubic-bezier(.2, .9, .3, 1.15); }
.search-overlay:not([hidden]) .search-big { animation: search-pop .45s .05s cubic-bezier(.2, .9, .3, 1.3) both; }
@keyframes search-in { from { opacity: 0; clip-path: circle(0 at calc(100% - 60px) 40px); } to { opacity: 1; clip-path: circle(150% at calc(100% - 60px) 40px); } }
@keyframes search-pop { from { opacity: 0; transform: translateY(30px) rotate(-2deg); } to { opacity: 1; transform: none; } }
.search-close { position: absolute; top: 16px; right: 18px; width: 52px; height: 50px; }
.search-big { width: min(760px, 100%); display: grid; gap: 16px; }
.search-k { margin: 0; font: 400 clamp(48px, 10vw, 96px)/.9 var(--f-comic); text-transform: uppercase; color: var(--lime); text-shadow: 4px 4px 0 var(--ink), 8px 8px 0 var(--pink); }
.search-big input { width: 100%; font-size: clamp(20px, 4vw, 28px); padding: 16px 18px; background: var(--paper); color: var(--ink); border: 4px solid var(--text); box-shadow: 8px 8px 0 var(--cyan); }
.search-big input:focus { outline: none; box-shadow: 8px 8px 0 var(--lime); }
.search-big .btn { justify-self: start; }
.search-secs { display: flex; flex-wrap: wrap; gap: 10px; width: min(760px, 100%); margin: 34px 0 0; }
.search-secs a { --c: var(--pink); text-decoration: none; font: 400 13px/1 var(--f-label); text-transform: uppercase; padding: 9px 12px 8px; border: 2.5px solid var(--c); color: var(--text); transform: skew(-8deg); }
.search-secs a:hover { background: var(--c); color: var(--ink); }
body.search-open { overflow: hidden; }
@media (max-width: 980px) {
  .search-btn { display: grid; margin-left: auto; }
  .lang { margin-left: 0; }
  .top-row { gap: 8px; }
  .nav { height: 100dvh; padding: 96px 28px 40px; }
  .nav-search { display: none !important; }
  .lang summary { height: 42px; }
  .burger { width: 44px; }
}
@media (max-width: 380px) { .logo .wordmark { font-size: 26px; } .logo-mark { width: 32px; height: 32px; } .icon-btn, .burger { width: 40px; } }

/* ---------- Nothing overlaps: 404 and the drop cap */
.nf-big { line-height: 1; margin: 0 0 18px; text-shadow: 5px 5px 0 var(--ink), 11px 11px 0 var(--cyan); }
.nf h1 { position: relative; z-index: 1; margin-top: 0; }
.prose-paper > p:first-child::first-letter { float: none; font: inherit; margin: 0; color: inherit; text-shadow: none; }
.story-body .prose-paper > p:first-of-type::first-letter {
  float: left; font: 400 3.6em/.82 var(--f-comic); margin: .08em .14em 0 0; padding: .06em .12em 0; color: var(--ink);
  background: var(--pink); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); text-shadow: none;
}
.prose-legal h2 { margin-top: 1.4em; }
@media (max-width: 640px) { .story-body .prose-paper > p:first-of-type::first-letter { font-size: 3em; } }

/* ---------- Reader accounts */
.auth { position: relative; padding: 50px 0 110px; background: var(--ink); overflow: hidden; }
.auth::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 15% 30%, rgba(255, 46, 136, .22), transparent 45%), radial-gradient(circle at 90% 80%, rgba(0, 229, 255, .16), transparent 40%); }
.auth-in { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(30px, 6vw, 80px); align-items: center; }
.auth-side .lead { margin-bottom: 26px; }
.auth-sticker { display: inline-flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--lime); transform: rotate(-3deg); }
.auth-sticker img { width: 64px; height: 64px; border-radius: 16px; border: 3px solid var(--ink); }
.auth-sticker .wm-small { font-size: 34px; }
.auth-card .form { box-shadow: 12px 12px 0 var(--cyan); }
.auth-h { margin: 0; font: 400 clamp(30px, 3.4vw, 42px)/1 var(--f-comic); text-transform: uppercase; letter-spacing: .02em; }
.auth-h3 { margin: 18px 0 0; font: 400 24px/1 var(--f-comic); text-transform: uppercase; }
.auth-p { margin: 0; color: #4a463e; }
.auth-forgot { margin: -6px 0 0; text-align: right; font-size: 14px; }
.auth-forgot a, .auth-switch a, .auth-links { color: #c8005f; font-weight: 700; }
.auth-switch { margin: 4px 0 0; font-size: 15px; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #c8005f; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.otp input { width: 100% !important; aspect-ratio: 1 / 1.15; text-align: center; font: 400 clamp(28px, 6vw, 40px)/1 var(--f-comic) !important; padding: 0 !important; background: #fffdf8; border: 3px solid var(--ink) !important; }
.otp input:focus { box-shadow: 5px 5px 0 var(--lime) !important; transform: translate(-2px, -2px); }
.otp-long { font-size: 22px !important; letter-spacing: .2em; text-align: center; }
.btn-small > span { padding: 10px 14px 9px; font-size: 13px; }
.account-head { padding: 40px 0 100px; }
.account-head::before { background: linear-gradient(90deg, rgba(10, 10, 11, .94), rgba(10, 10, 11, .65)), var(--banner, radial-gradient(circle at 85% 20%, rgba(255, 46, 136, .25), transparent 45%)) center / cover no-repeat !important; }
.account-head-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; }
.account-av { display: grid; justify-items: center; gap: 14px; }
.account-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.account-zone .form + .form { margin-top: 40px; }
.account-danger { box-shadow: 14px 14px 0 var(--ink) !important; }
@media (max-width: 980px) { .auth-in, .account-head-in { grid-template-columns: 1fr; } .auth-sticker { display: none; } }

/* ---------- Comments */
.comments { margin-top: 56px; }
.cm-count { display: inline-block; background: var(--ink); color: var(--cyan); font: 400 .6em/1 var(--f-label); padding: 6px 9px; vertical-align: middle; transform: skew(-8deg); }
.cm-compose { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin-bottom: 26px; }
.cm-compose textarea { width: 100%; min-height: 96px; resize: vertical; padding: 12px 14px; font: inherit; font-size: 16px; background: #fffdf8; color: var(--ink); border: 3px solid var(--ink); }
.cm-compose textarea:focus { outline: none; box-shadow: 5px 5px 0 var(--cyan); }
.cm-compose-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.cm-login { margin: 0 0 26px; }
.cm-closed, .cm-empty { font: 400 22px/1.2 var(--f-comic); text-transform: uppercase; opacity: .7; }
.cm-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cm { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 16px; background: #fffaf0; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
.cm:target { box-shadow: 6px 6px 0 var(--pink); }
.cm-reply { background: #fff; box-shadow: 4px 4px 0 var(--cyan); }
.cm .av { border-color: var(--ink); }
.cm-head { margin: 0 0 6px; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 6px; }
.cm-head strong { font: 400 15px/1.2 var(--f-label); text-transform: uppercase; }
.cm-staff { background: var(--pink); color: var(--ink); font: 400 10px/1 var(--f-label); text-transform: uppercase; padding: 4px 6px; transform: skew(-8deg); }
.cm-handle, .cm-head time { color: #6a655b; font-size: 13px; }
.cm-text { margin: 0; line-height: 1.55; overflow-wrap: anywhere; }
.cm-tools { display: flex; gap: 14px; margin: 8px 0 0; font-size: 14px; }
.cm-replies { margin-top: 14px; }
.cm-body { min-width: 0; }
.cm-body > .cm-compose { margin: 14px 0 0; }
@media (max-width: 640px) { .cm { padding: 12px; gap: 10px; } .cm-compose { grid-template-columns: 1fr; } .cm-compose [data-me-avatar] { display: none; } }

/* ---------- Breathing room: titles never touch tags or each other */
.h-comic, .h-xl, .ls-title, .story-title, .gc-title, .spot-title, .news-card h3, .page-title { line-height: 1.02 !important; }
.h-comic { padding-top: .08em; }
.page-head p:first-child, .story-tags-top { margin-bottom: 18px !important; }
.page-head .tag, .story-tags-top .tag { margin-bottom: 0; }
.tag { position: relative; z-index: 2; }

/* Lead story: the photo and the text share one grid cell, so the card grows with a long headline
   instead of pushing the tags out of the frame. */
.lead-story .ls-link { display: grid; height: auto; min-height: 100%; }
.lead-story .ls-img, .lead-story .ls-body { grid-area: 1 / 1; }
.lead-story .ls-img { min-height: 520px; height: 100%; aspect-ratio: auto; }
.lead-story .ls-body { position: relative; align-self: end; z-index: 2; padding-top: 90px; }
.lead-story .ls-title { font-size: clamp(32px, 3.8vw, 62px); overflow-wrap: break-word; hyphens: auto; }
.ls-img .nc-ph img, .ls-img .nc-ph .wm-small { display: none; }
.ls-img::after { background: linear-gradient(180deg, rgba(10, 10, 11, .15) 0%, rgba(10, 10, 11, .55) 45%, rgba(10, 10, 11, .94)) !important; }
.ls-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ls-tags .tag { margin: 0; }
@media (max-width: 640px) { .lead-story .ls-img { min-height: 440px; } .lead-story .ls-body { padding-top: 60px; } }

/* Cards: long words wrap, the section sticker keeps its space */
.news-card h3, .rank-h, .story-title, .ls-title { overflow-wrap: break-word; }
.nc-sec { margin-bottom: 4px; }
/* The lead story stretches to the height of the other columns, so the front page has no gap below it. */
.lead-story { align-self: stretch; }
.lead-story .ls-link { height: 100%; }
.lead-story .ls-img { min-height: 560px; }
.page-head p:first-child { margin-bottom: 28px !important; }
@media (max-width: 1180px) { .lead-story { grid-column: 1; } }
/* Mobile menu: its own scroll, the header row always on top of it */
@media (max-width: 980px) {
  .top-row { position: relative; z-index: 2; background: var(--ink); }
  .nav { top: 0; bottom: 0; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-top: 104px; padding-bottom: 60px; justify-content: flex-start; }
  body.menu-open .breaking { visibility: hidden; }
}

/* ---------- Account settings: tabs, switches, sessions, two-step setup */
.acc-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; }
.acc-tabs button { font: 700 13px/1 var(--f-pixel, inherit); letter-spacing: .08em; text-transform: uppercase; padding: 12px 16px; background: #fffdf8; color: var(--ink); border: 3px solid var(--ink); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.acc-tabs button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.acc-tabs button[aria-selected="true"] { background: var(--ink); color: var(--lime); box-shadow: 5px 5px 0 var(--pink); transform: translate(-2px, -2px); }
.account-zone [data-panel] > .form + .form { margin-top: 40px; }
.acc-row { display: flex; flex-wrap: wrap; gap: 12px; padding: 18px 22px !important; margin-top: 24px; }
.acc-row:not(:has(button:not([hidden]))) { display: none; }
.acc-code { display: grid; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 3px dashed var(--ink); }
.acc-switch { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 16px 0; border-top: 2px solid rgba(10, 10, 11, .15); cursor: pointer; }
.acc-switch input { position: absolute; opacity: 0; pointer-events: none; }
.acc-switch-ui { position: relative; width: 58px; height: 32px; background: #fffdf8; border: 3px solid var(--ink); flex: none; transition: background .2s; }
.acc-switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: var(--ink); transition: transform .2s; }
.acc-switch input:checked + .acc-switch-ui { background: var(--lime); }
.acc-switch input:checked + .acc-switch-ui::after { transform: translateX(26px); }
.acc-switch input:focus-visible + .acc-switch-ui { box-shadow: 4px 4px 0 var(--pink); }
.acc-switch b { display: block; font-size: 17px; }
.acc-switch small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.45; opacity: .75; }
.acc-qr { width: 200px; max-width: 100%; background: #fff; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--cyan, #00e5ff); }
.acc-qr svg { display: block; width: 100%; height: auto; }
.acc-key code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; word-break: break-all; background: #fffdf8; padding: 2px 6px; border: 2px solid var(--ink); }
.acc-recovery { margin: 0; padding: 16px; background: var(--ink); color: var(--lime); font: 600 16px/1.7 ui-monospace, Menlo, Consolas, monospace; white-space: pre-wrap; border: 3px solid var(--ink); }
.acc-sessions { list-style: none; margin: 8px 0 22px; padding: 0; }
.acc-sessions li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 2px solid rgba(10, 10, 11, .15); }
.acc-sessions b { display: block; }
.acc-sessions small { display: block; margin-top: 3px; font-size: 13px; opacity: .7; word-break: break-all; }
.acc-sessions em { font-style: normal; font: 700 11px/1 var(--f-pixel, inherit); letter-spacing: .08em; text-transform: uppercase; background: var(--lime); color: var(--ink); padding: 6px 8px; border: 2px solid var(--ink); white-space: nowrap; }
.account-zone select { width: 100%; }
@media (max-width: 640px) {
  .acc-tabs { gap: 8px; }
  .acc-tabs button { padding: 10px 12px; font-size: 12px; }
}
.account-zone .row2 { align-items: start; }
/* Ten sections: the menu tightens on mid-size screens so it fits in one row. */
@media (min-width: 981px) and (max-width: 1360px) {
  .nav a { padding: 9px 9px 8px; font-size: 13px; letter-spacing: .04em; }
}

/* Contact by ticket */
.ticket-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 26px; }
.ticket-card { position: relative; display: grid; gap: 10px; padding: 26px 24px 54px; background: var(--paper); color: var(--ink); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--pink); text-decoration: none; transform: rotate(var(--r, 0deg)); transition: transform .18s, box-shadow .18s; }
.ticket-card:hover { transform: rotate(0deg) translate(-3px, -3px); box-shadow: 12px 12px 0 var(--lime); }
.ticket-n { font: 400 40px/1 var(--f-comic); color: var(--pink); }
.ticket-card strong { font: 400 26px/1.05 var(--f-comic); text-transform: uppercase; letter-spacing: .02em; }
.ticket-card span:not(.ticket-n) { font-size: 15px; line-height: 1.5; }
.ticket-card em { position: absolute; right: 18px; bottom: 16px; display: grid; place-items: center; width: 38px; height: 38px; background: var(--ink); color: var(--lime); }
.ticket-how { margin: 34px 0 6px; font-size: 16px; color: var(--muted); }
.ticket-legal { margin: 0 0 30px; font-size: 13px; color: var(--muted); }
.ticket-legal a { color: var(--lime); }

/* Soclya Social: header button, share button and the front-page invitation */
.social-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px 0 8px; border: 2px solid var(--text); color: var(--text); text-decoration: none; font: 400 14px/1 var(--f-label); text-transform: uppercase; letter-spacing: .04em; transform: skew(-6deg); transition: background .15s, color .15s; }
.social-btn img { border-radius: 6px; }
.social-btn:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
@media (max-width: 640px) { .social-btn span { display: none; } .social-btn { padding: 0 8px; } }
.share .share-social { display: inline-flex; align-items: center; gap: 6px; width: auto !important; padding: 0 12px !important; font: 400 13px/1 var(--f-label); text-transform: uppercase; background: var(--lime) !important; color: var(--ink) !important; border-color: var(--ink) !important; }
.share .share-social img { border-radius: 4px; }
.social-promo { position: relative; padding: 90px 0 110px; background: var(--ink); overflow: hidden; }
.social-promo::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 30%, rgba(198, 255, 0, .14), transparent 45%), radial-gradient(circle at 10% 90%, rgba(255, 46, 136, .16), transparent 40%); pointer-events: none; }
.sp-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.sp-text .lead { max-width: 560px; }
.sp-points { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.sp-points li { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.sp-points .i { color: var(--lime); }
.sp-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.sp-phone { display: grid; gap: 12px; padding: 18px; background: #0f0f11; border: 3px solid var(--text); box-shadow: 12px 12px 0 var(--lime); transform: rotate(2deg); text-decoration: none; color: var(--text); transition: transform .2s; }
.sp-phone:hover { transform: rotate(0deg) translate(-3px, -3px); }
.sp-bar { display: flex; align-items: center; gap: 8px; font: 400 22px/1 var(--f-logo); padding-bottom: 10px; border-bottom: 2px solid var(--line); }
.sp-bar img { border-radius: 7px; }
.sp-bar em { font: 400 11px/1 var(--f-pixel); font-style: normal; color: var(--lime); text-transform: uppercase; letter-spacing: .12em; }
.sp-post { display: block; padding: 12px 14px; border: 2px solid var(--line); font-size: 14px; line-height: 1.5; }
.sp-tick { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; background: var(--lime); color: var(--ink); vertical-align: -3px; }
.sp-lbl { margin-left: 6px; padding: 2px 5px; background: var(--lime); color: var(--ink); font: 400 9px/1 var(--f-pixel); text-transform: uppercase; vertical-align: 2px; }
.sp-lfg { border-color: var(--cyan); color: var(--cyan); }
.sp-lfg b { font: 400 17px/1 var(--f-comic); text-transform: uppercase; }
.sp-spoiler { border: 2px dashed var(--pink); background: repeating-linear-gradient(-45deg, rgba(255, 46, 136, .15) 0 10px, transparent 10px 20px); text-align: center; font: 400 16px/1.4 var(--f-comic); text-transform: uppercase; }
@media (max-width: 980px) { .sp-in { grid-template-columns: 1fr; } .sp-phone { transform: none; max-width: 420px; } }
/* Front page: the two stories beside the lead keep a short summary, so the block stays compact. */
.front-side .nc-body > p:not(.nc-meta) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.front-side .nc-img { aspect-ratio: 16 / 9; }
/* Phones: the header keeps only logo and icons (the Social button lives in the menu). */
.nav-social { display: none; }
@media (max-width: 980px) {
  .social-btn { display: none; }
  .nav-social { display: block; }
  .nav-social a { display: inline-flex !important; align-items: center; gap: 10px; color: var(--lime) !important; }
  .nav-social img { border-radius: 6px; }
}
