/* ============================================================
   BATTLE//RELAY — punk zine / brutalist stylesheet
   paper + ink + one angry red. IBM Plex Mono everywhere.
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* === VARIABLES === */
:root {
  --paper: #f0ece2;
  --paper-dark: #e4dfd2;
  --ink: #151515;
  --ink-soft: #3a3a38;
  --muted: #6d6a63;
  --red: #d92323;
  --red-dark: #b31b1b;
  --yellow: #f7e733;
  --green: #2e7d46;
  --amber: #b97514;
  --border: var(--ink);
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --max-width: 1180px;
  --section-pad: 72px 20px;
  --shadow-offset: 5px 5px 0 var(--ink);
  --transition: 0.18s ease;
}

/* === BASE === */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-mono);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* xerox grain */
  background-image:
    radial-gradient(rgba(21,21,21,0.045) 1px, transparent 1px),
    radial-gradient(rgba(21,21,21,0.03) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 2px 3px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--red); }

h1, h2, h3, h4 {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(30px, 5.2vw, 58px); }
h2 { font-size: clamp(22px, 3.2vw, 34px); }
h3 { font-size: clamp(16px, 2vw, 19px); line-height: 1.35; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.section { padding: var(--section-pad); }
.section-tight { padding: 44px 20px; }

[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: var(--paper); padding: 10px 16px;
}
.skip-link:focus { left: 0; color: var(--paper); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.hl-red { color: var(--red); }

/* === TICKER === */
.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 7px 0;
  white-space: nowrap;
}
.ticker-track { display: inline-block; animation: ticker-scroll 38s linear infinite; }
.ticker-track span { display: inline-block; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* === HEADER === */
.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo { display: inline-flex; line-height: 0; }
.logo svg { transition: transform var(--transition); }
.logo:hover svg { transform: rotate(-1.2deg); }

.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; }
.site-nav a {
  display: block;
  padding: 8px 13px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid transparent;
}
.site-nav a:hover { border-color: var(--ink); color: var(--ink); }
.site-nav a.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.nav-cta { margin-left: 10px; }
.nav-cta .btn { padding: 8px 16px; font-size: 13px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--ink);
  padding: 10px 9px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}
.nav-toggle span { display: block; width: 22px; height: 3px; background: var(--ink); transition: var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-decoration: none;
  border: 3px solid var(--ink);
  padding: 11px 22px;
  cursor: pointer;
  transition: var(--transition);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
}
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-solid { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-offset); box-shadow: 5px 5px 0 rgba(21,21,21,0.35); }
.btn-solid:hover { background: var(--red); border-color: var(--red); color: var(--paper); transform: translate(2px, 2px); box-shadow: 3px 3px 0 rgba(21,21,21,0.35); }
.btn-outline { background: transparent; box-shadow: var(--shadow-offset); }
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translate(2px, 2px); box-shadow: 3px 3px 0 var(--ink); }
.btn-ghost { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn-ghost:hover { color: var(--red); }
.btn-paper { background: var(--paper); color: var(--ink); box-shadow: 5px 5px 0 rgba(240,236,226,0.3); }
.btn-paper:hover { background: var(--red); border-color: var(--paper); color: var(--paper); }

.link-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: inherit; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
  padding: 0;
}
.link-btn:hover { color: var(--red); }

/* === STAMPS === */
.stamp {
  display: inline-block;
  border: 3px solid var(--ink);
  padding: 6px 14px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--paper);
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 rgba(21,21,21,0.25);
}
.stamp-red { border-color: var(--red); color: var(--red); transform: rotate(2.5deg); }

/* === KICKER / META === */
.kicker {
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 18px;
  text-transform: uppercase;
}

.badge {
  display: inline-block;
  border: 2px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  text-transform: uppercase;
  background: var(--paper);
  margin-right: 6px;
}
.badge-red { background: var(--red); border-color: var(--red); color: #fff; }
.badge-yellow { background: var(--yellow); border-color: var(--ink); color: var(--ink); }
.badge-green { background: var(--green); border-color: var(--green); color: #fff; }
.badge-amber { background: var(--amber); border-color: var(--amber); color: #fff; }

.card-meta { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; margin-bottom: 10px; text-transform: uppercase; }
.card-byline { font-size: 12px; color: var(--muted); margin-top: 12px; font-style: italic; }

/* === HERO === */
.hero { padding: 70px 0 60px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero-sub { font-size: 17px; max-width: 54ch; margin-bottom: 30px; color: var(--ink-soft); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-photo {
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(1.4deg);
}
.hero-photo img, .side-photo img, .featured-media img, .about-photo img, .featured-news-media img, .article-hero img {
  filter: grayscale(1) contrast(1.35) brightness(1.04);
}
.hero-stamp-1 { position: absolute; top: -18px; right: -6px; z-index: 2; }
.hero-stamp-2 { position: absolute; bottom: -14px; left: -10px; z-index: 2; background: var(--yellow); }
.hero-tape {
  position: absolute; top: -12px; left: 34%; width: 110px; height: 28px;
  background: rgba(247,231,51,0.75);
  transform: rotate(-4deg);
  border-left: 2px dashed rgba(21,21,21,0.35);
  border-right: 2px dashed rgba(21,21,21,0.35);
}

/* === CUT LINE === */
.cut-line {
  border-top: 2px dashed var(--ink-soft);
  margin: 10px 20px;
  position: relative;
  max-width: var(--max-width);
  margin-inline: auto;
}
.cut-line span {
  position: absolute; top: -13px; left: 28px;
  background: var(--paper);
  padding: 0 8px;
  font-size: 17px;
  color: var(--ink-soft);
}

/* === SECTION HEADS === */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  border-bottom: 3px solid var(--ink);
  padding-bottom: 12px;
}
.sec-num { color: var(--red); }
.sec-link { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; white-space: nowrap; }

/* === CARDS === */
.card-grid { display: grid; gap: 26px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  border: 3px solid var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-offset); transform: translate(-2px, -2px); }
.card-body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 10px; }
.card-body h3 a { text-decoration: none; }
.card-body h3 a:hover { color: var(--red); text-decoration: underline; text-decoration-thickness: 3px; }
.card-body p { font-size: 14px; color: var(--ink-soft); }
.card-body .card-byline { margin-top: auto; padding-top: 12px; }

/* review cover art — typographic zine covers */
.card-cover {
  position: relative;
  min-height: 170px;
  border-bottom: 3px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}
.cover-txt {
  font-weight: 700;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  transform: rotate(-2deg);
  z-index: 1;
}
.score-stamp {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border: 3px double currentColor;
  font-weight: 700;
  font-size: 15px;
  padding: 3px 9px;
  transform: rotate(4deg);
  z-index: 1;
  background: rgba(240,236,226,0.85);
  color: var(--red);
}

/* halftone cover variants — ink on paper, paper on ink */
.cover-a { background: var(--ink); color: var(--paper); background-image: radial-gradient(rgba(240,236,226,0.28) 1.5px, transparent 1.5px); background-size: 8px 8px; }
.cover-b { background: var(--paper-dark); color: var(--ink); background-image: repeating-linear-gradient(45deg, transparent 0 9px, rgba(21,21,21,0.14) 9px 11px); }
.cover-c { background: var(--red); color: var(--paper); background-image: radial-gradient(rgba(21,21,21,0.35) 2px, transparent 2px); background-size: 11px 11px; }
.cover-c .score-stamp { color: var(--ink); }
.cover-d { background: var(--paper); color: var(--ink); background-image: repeating-linear-gradient(0deg, transparent 0 12px, rgba(21,21,21,0.16) 12px 14px); }
.cover-e { background: var(--ink); color: var(--yellow); background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(247,231,51,0.13) 14px 16px); }
.cover-f { background: var(--yellow); color: var(--ink); background-image: radial-gradient(rgba(21,21,21,0.22) 1.5px, transparent 1.5px); background-size: 9px 9px; }
.cover-f .score-stamp { background: rgba(247,231,51,0.85); color: var(--ink); }
.cover-g { background: var(--paper-dark); color: var(--red); background-image: radial-gradient(rgba(217,35,35,0.2) 2px, transparent 2px); background-size: 12px 12px; }
.cover-h { background: var(--ink-soft); color: var(--paper); background-image: repeating-linear-gradient(90deg, transparent 0 6px, rgba(240,236,226,0.12) 6px 8px); }

/* === FEATURED (dark band) === */
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .section-head { border-color: var(--paper); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.featured { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.featured-media { position: relative; border: 3px solid var(--paper); box-shadow: 8px 8px 0 rgba(240,236,226,0.25); transform: rotate(-1deg); }
.featured-stamp { position: absolute; bottom: -16px; right: 14px; background: var(--paper); }
.featured-copy .card-meta { color: rgba(240,236,226,0.7); }
.featured-copy h3 { font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 16px; }
.featured-copy p { color: rgba(240,236,226,0.85); margin-bottom: 14px; font-size: 15px; }
.featured-copy .btn { margin-top: 8px; }

/* === CATEGORIES === */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-tile {
  border: 3px solid var(--ink);
  padding: 22px 18px 26px;
  text-decoration: none;
  position: relative;
  transition: var(--transition);
  background: var(--paper);
}
.cat-tile:nth-child(even) { transform: rotate(0.6deg); }
.cat-tile:nth-child(odd) { transform: rotate(-0.6deg); }
.cat-tile:hover { background: var(--ink); color: var(--paper); transform: rotate(0); box-shadow: var(--shadow-offset); }
.cat-tile:hover h3 { color: var(--paper); }
.cat-tile:hover p { color: rgba(240,236,226,0.8); }
.cat-num { font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: 0.1em; }
.cat-tile h3 { margin: 8px 0 10px; font-size: 21px; }
.cat-tile p { font-size: 13px; color: var(--ink-soft); }

/* === TRENDING === */
.trend-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 44px; align-items: start; }
.trending { list-style: none; counter-reset: none; }
.trending li { border-bottom: 2px solid var(--ink); }
.trending a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--transition);
}
.trending a:hover { background: var(--ink); color: var(--paper); padding-left: 14px; }
.tr-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
  min-width: 34px;
}
.side-photo { position: relative; border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: rotate(1.6deg); }
.side-stamp { position: absolute; bottom: -14px; left: -12px; background: var(--yellow); }

/* === PLATFORM STRIP === */
.platform-strip { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.platform-strip li {
  border: 2px solid var(--ink);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  background: var(--paper);
  transition: var(--transition);
}
.platform-strip li:nth-child(3n) { transform: rotate(-1deg); }
.platform-strip li:nth-child(3n+1) { transform: rotate(0.8deg); }
.platform-strip li:hover { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(0); }

/* === ABOUT TEASER / STATS === */
.section-paper-dark { background: var(--paper-dark); border-block: 3px solid var(--ink); }
.about-teaser { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.about-teaser-copy h2 { margin-bottom: 18px; }
.about-teaser-copy p { margin-bottom: 26px; color: var(--ink-soft); }
.about-teaser-stats, .stat-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.stat-band { grid-template-columns: repeat(4, 1fr); margin-bottom: 56px; }
.stat-box {
  border: 3px solid var(--ink);
  background: var(--paper);
  padding: 20px 16px 16px;
  text-align: center;
  box-shadow: 4px 4px 0 var(--ink);
}
.stat-num { font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--red); }
.stat-suffix { font-size: 20px; font-weight: 700; color: var(--red); }
.stat-label { display: block; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 6px; color: var(--ink-soft); }

/* === NEWSLETTER === */
.newsletter {
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-offset);
  padding: clamp(24px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--paper);
  position: relative;
}
.newsletter::before {
  content: "FREE — AS IN OPINIONS";
  position: absolute;
  top: -14px;
  right: 22px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  transform: rotate(2deg);
}
.newsletter-copy h2 { margin-bottom: 12px; }
.newsletter-copy p { color: var(--ink-soft); font-size: 15px; }
.form-row { display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.form-row input[type="email"] { flex: 1; min-width: 200px; }

/* === FORMS === */
input[type="text"], input[type="email"], input[type="search"], select, textarea {
  font-family: var(--font-mono);
  font-size: 15px;
  padding: 12px 14px;
  border: 3px solid var(--ink);
  background: #faf8f2;
  color: var(--ink);
  width: 100%;
  border-radius: 0;
  appearance: none;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--red); outline-offset: 0; }
textarea { resize: vertical; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; margin-bottom: 6px; }

.check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 14px;
  cursor: pointer;
}
.check-label input {
  width: 20px; height: 20px; min-width: 20px;
  accent-color: var(--red);
  margin-top: 1px;
  cursor: pointer;
}
.form-note { font-size: 12px; color: var(--muted); margin-top: 14px; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field-error { border-color: var(--red) !important; }
.form-msg { font-size: 13px; font-weight: 700; color: var(--red); margin-top: 10px; }

/* === PAGE HEAD === */
.page-head {
  padding: 60px 0 40px;
  border-bottom: 3px solid var(--ink);
  background:
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(21,21,21,0.03) 26px 28px);
}
.breadcrumb { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.page-head h1 { margin-bottom: 18px; }
.page-intro { max-width: 72ch; color: var(--ink-soft); font-size: 16px; }
.page-head-article h1 { font-size: clamp(24px, 3.8vw, 42px); }
.article-byline { font-size: 13px; color: var(--muted); }

/* === FILTER BAR === */
.filter-bar {
  border: 3px solid var(--ink);
  background: var(--paper-dark);
  padding: 16px 18px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.filter-search input { max-width: 420px; }
.filter-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; margin-right: 4px; }
.chip {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 6px 12px;
  cursor: pointer;
  transition: var(--transition);
  min-height: 32px;
}
.chip:hover { background: var(--ink); color: var(--paper); }
.chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.filter-empty {
  border: 3px dashed var(--ink);
  padding: 26px;
  text-align: center;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--ink-soft);
}

.load-more-wrap { text-align: center; margin-top: 38px; }
.is-hidden-batch { display: none; }

/* === NEWS LIST === */
.featured-news {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-offset);
  margin-bottom: 44px;
  background: var(--paper);
}
.featured-news-media { border-right: 3px solid var(--ink); }
.featured-news-media img { height: 100%; object-fit: cover; }
.featured-news-copy { padding: clamp(20px, 3vw, 36px); }
.featured-news-copy h2 { font-size: clamp(20px, 2.6vw, 28px); margin-bottom: 14px; }
.featured-news-copy h2 a { text-decoration: none; }
.featured-news-copy h2 a:hover { color: var(--red); }
.featured-news-copy p { font-size: 15px; color: var(--ink-soft); }

.news-list { display: flex; flex-direction: column; }
.news-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  padding: 26px 8px;
  border-bottom: 2px solid var(--ink);
  transition: var(--transition);
}
.news-row:first-child { border-top: 2px solid var(--ink); }
.news-row:hover { background: var(--paper-dark); }
.news-date {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  writing-mode: horizontal-tb;
  padding-top: 4px;
}
.news-row h3 { margin-bottom: 8px; font-size: 18px; }
.news-row h3 a { text-decoration: none; }
.news-row h3 a:hover { color: var(--red); text-decoration: underline; }
.news-row p { font-size: 14px; color: var(--ink-soft); }

/* === NOTE BOX === */
.note-box {
  border: 3px solid var(--ink);
  border-left-width: 14px;
  padding: 24px 28px;
  background: var(--paper-dark);
}
.note-box h2 { font-size: 20px; margin-bottom: 10px; }
.note-box p { font-size: 14px; color: var(--ink-soft); }

/* === ARTICLE === */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.article-hero { border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); margin-bottom: 8px; }
.img-caption { font-size: 12px; color: var(--muted); font-style: italic; padding: 10px 0 26px; }
.article-main h2 { margin: 34px 0 16px; font-size: clamp(20px, 2.4vw, 26px); border-bottom: 3px solid var(--ink); padding-bottom: 8px; }
.article-main p { margin-bottom: 18px; font-size: 16px; }
.drop-cap::first-letter {
  font-size: 58px;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  padding: 6px 10px 0 0;
  color: var(--red);
}
.pull-quote {
  border: 3px solid var(--ink);
  border-left: 14px solid var(--red);
  padding: 22px 26px;
  font-size: 19px;
  font-weight: 700;
  margin: 30px 0;
  background: var(--paper-dark);
  transform: rotate(-0.5deg);
}

.verdict-box {
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-offset);
  padding: 28px;
  margin: 40px 0;
  background: var(--paper);
  position: relative;
}
.verdict-box::before {
  content: "OFFICIAL VERDICT";
  position: absolute;
  top: -14px;
  left: 20px;
  background: var(--red);
  color: #fff;
  border: 2px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 3px 10px;
  transform: rotate(-1.5deg);
}
.verdict-score {
  font-size: 30px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 20px;
}
.verdict-score span {
  font-size: 84px;
  color: var(--red);
  line-height: 1;
}
.verdict-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 22px; }
.verdict-cols h3 { font-size: 15px; letter-spacing: 0.14em; margin-bottom: 10px; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.pros h3 { color: var(--green); border-color: var(--green); }
.cons h3 { color: var(--red); border-color: var(--red); }
.verdict-cols ul { list-style: none; }
.verdict-cols li { font-size: 14px; padding: 5px 0 5px 22px; position: relative; }
.pros li::before { content: "+"; position: absolute; left: 0; font-weight: 700; color: var(--green); }
.cons li::before { content: "–"; position: absolute; left: 0; font-weight: 700; color: var(--red); }
.verdict-text { font-size: 15px; border-top: 2px dashed var(--ink-soft); padding-top: 18px; margin-bottom: 0 !important; }

.author-bio {
  display: flex;
  gap: 20px;
  border: 3px solid var(--ink);
  padding: 22px;
  background: var(--paper-dark);
  align-items: center;
}
.author-avatar, .team-avatar {
  width: 72px; height: 72px; min-width: 72px;
  border: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
}
.author-bio h3 { font-size: 15px; margin-bottom: 6px; }
.author-bio p { font-size: 13px; color: var(--ink-soft); margin: 0; }

.article-side { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 90px; }
.info-box { border: 3px solid var(--ink); padding: 20px 22px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.info-box h3 { font-size: 15px; letter-spacing: 0.12em; border-bottom: 3px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; }
.info-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 13px; }
.info-box dt { font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; padding-top: 2px; }
.info-box dd a { word-break: break-all; }
.dd-note { font-size: 11px; color: var(--muted); }
.related-list { list-style: none; }
.related-list li { border-bottom: 2px dashed var(--ink-soft); }
.related-list li:last-child { border-bottom: none; }
.related-list a { display: block; padding: 10px 2px; font-size: 13px; font-weight: 600; text-decoration: none; }
.related-list a:hover { color: var(--red); padding-left: 8px; transition: var(--transition); }

/* === ABOUT PAGE === */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.about-copy h2 { margin: 26px 0 14px; font-size: clamp(19px, 2.2vw, 24px); }
.about-copy h2:first-child { margin-top: 0; }
.about-copy p { margin-bottom: 16px; color: var(--ink-soft); font-size: 15px; }
.about-photo { position: relative; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); transform: rotate(-1.2deg); }
.about-stamp { position: absolute; bottom: -16px; right: -8px; background: var(--paper); }

.team-grid .team-card { padding: 26px 22px; align-items: flex-start; }
.team-card h3 { margin: 16px 0 4px; font-size: 17px; }
.team-role { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--red); margin-bottom: 10px; }
.team-card p { font-size: 13px; color: var(--ink-soft); }
.team-card:nth-child(even) .team-avatar { transform: rotate(3deg); background: var(--red); }
.team-note { margin-top: 26px; font-size: 13px; color: var(--muted); font-style: italic; }

.timeline { list-style: none; max-width: 760px; }
.timeline li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 2px dashed rgba(240,236,226,0.35);
}
.timeline li:last-child { border-bottom: none; }
.tl-year { font-size: 22px; font-weight: 700; color: var(--yellow); }
.timeline p { color: rgba(240,236,226,0.85); font-size: 14px; }

.cta-band {
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-offset);
  text-align: center;
  padding: clamp(30px, 5vw, 56px);
  background: var(--paper-dark);
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--ink-soft); margin-bottom: 24px; max-width: 60ch; margin-inline: auto; }

/* === CONTACT === */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.contact-form-wrap h2 { margin-bottom: 22px; }
.contact-form { border: 3px solid var(--ink); padding: clamp(20px, 3vw, 32px); background: var(--paper); box-shadow: var(--shadow-offset); }
.contact-side { display: flex; flex-direction: column; gap: 26px; }
.rules-list { list-style: none; }
.rules-list li { font-size: 13px; padding: 8px 0 8px 20px; position: relative; border-bottom: 2px dashed var(--ink-soft); color: var(--ink-soft); }
.rules-list li:last-child { border-bottom: none; }
.rules-list li::before { content: "→"; position: absolute; left: 0; color: var(--red); font-weight: 700; }

/* === THANK YOU === */
.thanks-wrap { text-align: center; padding: 40px 20px 60px; }
.thanks-stamp { font-size: 16px; margin-bottom: 28px; }
.thanks-wrap .page-intro { margin: 0 auto 30px; }
.thanks-wrap .hero-actions { justify-content: center; }

/* === LEGAL === */
.legal-body { max-width: 800px; }
.legal-body h2 { font-size: 19px; margin: 32px 0 12px; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; }
.legal-body ul { padding-left: 24px; margin-bottom: 16px; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
.legal-table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 13px; }
.legal-table th, .legal-table td { border: 2px solid var(--ink); padding: 10px 12px; text-align: left; vertical-align: top; }
.legal-table th { background: var(--ink); color: var(--paper); text-transform: uppercase; letter-spacing: 0.08em; font-size: 12px; }
.legal-table td { color: var(--ink-soft); }

/* === FOOTER === */
.site-footer { background: var(--ink); color: var(--paper); border-top: 3px solid var(--ink); margin-top: 40px; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 20px 40px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
  gap: 40px;
}
.footer-logo { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 14px; }
.footer-logo span { color: var(--red); }
.footer-tag { font-size: 13px; color: rgba(240,236,226,0.65); max-width: 34ch; margin-bottom: 20px; }
.footer-barcode {
  height: 34px; width: 150px;
  background: repeating-linear-gradient(90deg,
    var(--paper) 0 2px, transparent 2px 5px,
    var(--paper) 5px 6px, transparent 6px 11px,
    var(--paper) 11px 14px, transparent 14px 17px);
  opacity: 0.8;
}
.footer-col h3 { font-size: 13px; letter-spacing: 0.16em; color: var(--yellow); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 13px; color: rgba(240,236,226,0.8); }
.footer-col a { color: rgba(240,236,226,0.85); text-decoration: none; }
.footer-col a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.footer-col .link-btn { color: rgba(240,236,226,0.85); text-decoration: none; }
.footer-col .link-btn:hover { color: var(--paper); text-decoration: underline; }
.footer-legal {
  border-top: 2px dashed rgba(240,236,226,0.3);
  padding: 18px 20px;
  text-align: center;
}
.footer-legal p { font-size: 12px; color: rgba(240,236,226,0.55); letter-spacing: 0.04em; }

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 200;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}
.cookie-text { font-size: 13px; color: var(--ink-soft); max-width: 60ch; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 9px 16px; font-size: 13px; }

/* === MODAL === */
.modal { position: fixed; inset: 0; z-index: 250; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(21,21,21,0.6); }
.modal-box {
  position: relative;
  background: var(--paper);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  max-width: 560px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--ink);
  padding: 16px 22px;
}
.modal-head h2 { font-size: 19px; }
.modal-close {
  background: none;
  border: 2px solid var(--ink);
  font-size: 22px;
  line-height: 1;
  width: 40px; height: 40px;
  cursor: pointer;
  font-family: var(--font-mono);
  transition: var(--transition);
}
.modal-close:hover { background: var(--red); border-color: var(--red); color: #fff; }
.modal-body { padding: 20px 22px; }
.modal-body > p { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.modal-foot { display: flex; gap: 12px; flex-wrap: wrap; padding: 16px 22px 22px; border-top: 2px dashed var(--ink-soft); }
.modal-foot .btn { font-size: 13px; padding: 10px 18px; }

.consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 2px solid var(--ink);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.consent-row h3 { font-size: 14px; margin-bottom: 4px; }
.consent-row p { font-size: 12px; color: var(--muted); }

.switch { position: relative; display: inline-block; width: 54px; height: 30px; min-width: 54px; cursor: pointer; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span {
  position: absolute; inset: 0;
  background: var(--paper-dark);
  border: 3px solid var(--ink);
  transition: var(--transition);
}
.switch span::before {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: var(--ink);
  transition: var(--transition);
}
.switch input:checked + span { background: var(--red); }
.switch input:checked + span::before { transform: translateX(23px); background: var(--paper); }
.switch input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.switch.is-locked { opacity: 0.55; cursor: not-allowed; }

/* === SCROLL REVEAL === */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* === PUNK LAYER: ransom notes, misregistration, torn edges, scribbles === */

/* misregistration — печать со сдвигом формы */
.page-head h1, .hero h1, .thanks-wrap h1,
.section-head h2, .article-main h2, .featured-copy h3 {
  text-shadow: 0.05em 0.05em 0 rgba(217, 35, 35, 0.45);
}
.section-dark .section-head h2 { text-shadow: 0.05em 0.05em 0 rgba(217, 35, 35, 0.7); }

/* ransom note — буквы, вырезанные из другого журнала */
.rn {
  display: inline-block;
  padding: 0 0.2em;
  margin: 0.06em 0;
  border: 3px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  transform: rotate(-2deg);
  box-shadow: 3px 3px 0 rgba(21, 21, 21, 0.3);
  text-shadow: none;
}
.rn-ink { background: var(--ink); color: var(--paper); transform: rotate(1.6deg); }
.rn-red { background: var(--red); color: #fff; transform: rotate(-1.4deg); }
.rn-yel { background: var(--yellow); color: var(--ink); transform: rotate(2.1deg); }

/* torn paper — рваные края тёмных полос */
.section-dark {
  clip-path: polygon(
    0 10px, 5% 2px, 11% 14px, 18% 5px, 26% 12px, 34% 3px, 43% 11px,
    52% 4px, 61% 13px, 70% 5px, 79% 12px, 88% 3px, 95% 10px, 100% 4px,
    100% calc(100% - 12px), 94% calc(100% - 3px), 86% calc(100% - 13px),
    77% calc(100% - 5px), 68% calc(100% - 12px), 58% calc(100% - 4px),
    48% calc(100% - 12px), 38% calc(100% - 3px), 28% calc(100% - 11px),
    18% calc(100% - 5px), 9% calc(100% - 13px), 0 calc(100% - 6px)
  );
  padding-top: 88px;
  padding-bottom: 88px;
}

/* scribbles — пометки маркером поверх макета */
.scribble {
  font-family: 'Caveat', cursive;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  color: var(--red);
  display: inline-block;
  transform: rotate(-3.5deg);
  letter-spacing: 0;
  text-transform: none;
}
.scribble-light { color: var(--yellow); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-grid, .featured, .about-teaser, .about-grid, .contact-grid, .trend-grid { grid-template-columns: 1fr; gap: 36px; }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .featured-news { grid-template-columns: 1fr; }
  .featured-news-media { border-right: none; border-bottom: 3px solid var(--ink); }
  .hero-visual { max-width: 560px; }
}

@media (max-width: 767px) {
  .cols-3, .cat-grid, .newsletter { grid-template-columns: 1fr; }
  .section { padding: 48px 20px; }
  .hero { padding: 44px 0 40px; }

  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 3px solid var(--ink);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 20px; }
  .site-nav a { padding: 14px 10px; border-bottom: 2px dashed var(--ink-soft); font-size: 16px; }
  .site-nav a.is-active { border-color: var(--ink); }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { display: block; }

  .news-row { grid-template-columns: 1fr; gap: 6px; }
  .verdict-cols { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .author-bio { flex-direction: column; align-items: flex-start; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .hero-actions .btn { width: 100%; }
  .form-row { flex-direction: column; }
  .form-row .btn { width: 100%; }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .ticker-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
