/* ==========================================================================
   Sovereign Terminal — Ink & Integers
   A dark theme for a blog about numbers: near-black canvas, bold geometric
   headlines with a highlighted word, monospaced figures, outlined cards
   with hard offset shadows, numbered steps and colourful icon tiles.
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;

  /* canvas & surfaces */
  --bg: #0e0f15;
  --bg-2: #13141c;            /* alternate bands, footer */
  --surface: #181a23;         /* cards */
  --surface-2: #222431;       /* inputs, hovers, empty media */
  --grid: rgba(255, 255, 255, 0.035);

  /* ink */
  --ink: #f4f3fa;
  --ink-2: #b8b7c9;
  --ink-3: #868599;
  --line: rgba(236, 235, 244, 0.1);
  --line-2: rgba(236, 235, 244, 0.2);

  /* outlines & hard shadows */
  --edge: #ecebf4;            /* strong outline */
  --edge-2: #3e4054;          /* soft outline */
  --shade: #000;

  /* accent */
  --acc: #2f6bff;
  --acc-2: #5a8bff;           /* hover / lighter */
  --acc-ink: #ffffff;         /* text on accent */
  --acc-soft: rgba(47, 107, 255, 0.16);
  --acc-text: #7fa4ff;        /* accent used as text on dark */
  --sun: #ffd23f;

  /* tones: icon tiles, stickers, frame shadows */
  --t-blue: #4d8bff;
  --t-yellow: #ffd23f;
  --t-pink: #ff5fa2;
  --t-mint: #2ee6a6;
  --t-violet: #9b7bff;
  --t-orange: #ff8a3d;
  --t-ink: #0b0c10;

  /* type */
  --f-display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --f-text: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* shape */
  --r-xs: 8px;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 30px;
  --bw: 2px;

  --hard: 6px 6px 0 var(--shade);
  --hard-acc: 8px 8px 0 var(--acc);

  --gutter: 24px;
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Mint */
:root[data-scheme="emerald"] {
  --bg: #0b110f;
  --bg-2: #0f1714;
  --surface: #141d1a;
  --surface-2: #1d2824;
  --edge-2: #354a42;
  --acc: #19d29a;
  --acc-2: #4fe3b5;
  --acc-ink: #04140e;
  --acc-soft: rgba(25, 210, 154, 0.14);
  --acc-text: #4fe3b5;
  --t-mint: #ffd23f;
}

/* Ember */
:root[data-scheme="sunset"] {
  --bg: #120e0c;
  --bg-2: #181310;
  --surface: #1d1714;
  --surface-2: #2a211c;
  --edge-2: #4d3d33;
  --acc: #ff6a2b;
  --acc-2: #ff8b58;
  --acc-ink: #190802;
  --acc-soft: rgba(255, 106, 43, 0.15);
  --acc-text: #ff9466;
  --t-orange: #4d8bff;
}

/* Violet */
:root[data-scheme="graphite"] {
  --bg: #0f0d16;
  --bg-2: #14121d;
  --surface: #1a1724;
  --surface-2: #252134;
  --edge-2: #443e5c;
  --acc: #7c5cff;
  --acc-2: #9a80ff;
  --acc-ink: #ffffff;
  --acc-soft: rgba(124, 92, 255, 0.18);
  --acc-text: #a993ff;
  --t-violet: #2ee6a6;
}

/* Lagoon */
:root[data-scheme="ocean"] {
  --bg: #0a1215;
  --bg-2: #0e181c;
  --surface: #121e23;
  --surface-2: #1b2a30;
  --edge-2: #33484f;
  --acc: #1cc8e0;
  --acc-2: #5bdaec;
  --acc-ink: #03161a;
  --acc-soft: rgba(28, 200, 224, 0.14);
  --acc-text: #5bdaec;
  --t-blue: #ff8a3d;
}

/* ── 2. Base ───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: var(--acc);
  color: var(--acc-ink);
}

:focus-visible {
  outline: 2px solid var(--acc-2);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--acc);
  color: var(--acc-ink);
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.grecaptcha-badge {
  display: none !important;
}

/* ── 3. Layout primitives ──────────────────────────────────────────────── */
.sheet {
  overflow-x: clip;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: calc(820px + var(--gutter) * 2);
}

.sec {
  padding: 64px 0;
}

.site-main {
  display: block;
}

/* ── 4. Atoms ──────────────────────────────────────────────────────────── */

/* highlighted word */
mark.hl {
  background: var(--acc);
  color: var(--acc-ink);
  padding: 0 0.16em;
  margin: 0 0.02em;
  border-radius: 0.14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: var(--bw) solid var(--edge);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--edge);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background-color 0.15s;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--edge);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--edge);
}

.btn .arrow {
  transition: transform 0.2s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn--acc {
  background: var(--acc);
  color: var(--acc-ink);
}

.btn--ghost {
  background: transparent;
}

.btn--ghost:hover {
  background: var(--surface);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

/* category pill */
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--acc-soft);
  color: var(--acc-text);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.15s, color 0.15s;
}

.pill:hover {
  background: var(--acc);
  color: var(--acc-ink);
}

.pill--bare {
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
}

.pill--bare:hover {
  background: none;
  color: var(--ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 12px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 999px;
  background: var(--sun);
  color: var(--t-ink);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* meta row */
.card__meta,
.nx__meta,
.tile__meta,
.float__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.meta__date {
  color: var(--ink-3);
}

/* icon tile */
.itile {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 14px;
  background: var(--tone, var(--t-blue));
  color: var(--t-ink);
  box-shadow: 3px 3px 0 var(--t-ink), inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.itile--sm {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 2px 2px 0 var(--t-ink);
}

.tone-blue { --tone: var(--t-blue); }
.tone-yellow { --tone: var(--t-yellow); }
.tone-pink { --tone: var(--t-pink); }
.tone-mint { --tone: var(--t-mint); }
.tone-violet { --tone: var(--t-violet); }
.tone-orange { --tone: var(--t-orange); }

/* small links */
.mini-link,
.read-more,
.shead__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--acc-text);
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
}

.mini-link:hover,
.shead__more:hover {
  color: var(--ink);
}

.mini-label,
.next__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.next__label .icon {
  color: var(--sun);
}

/* progress meter */
.meter {
  display: block;
  height: 10px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  background: var(--acc);
}

/* chips (Number lab) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  min-height: 36px;
  padding: 0 14px;
  border: 1.5px solid var(--edge-2);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--ink-2);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  transition: border-color 0.15s, color 0.15s, background-color 0.15s;
}

.chip:hover {
  border-color: var(--edge);
  color: var(--ink);
}

.chip[aria-pressed="true"] {
  border-color: var(--edge);
  background: var(--sun);
  color: var(--t-ink);
}

/* pictures */
.card__media,
.nx__media,
.tile__media,
.spot__media,
.feat__media,
.split__media,
.cover__media,
.launch__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface-2);
}

.card__media img,
.nx__media img,
.tile__media img,
.spot__media img,
.feat__media img,
.split__media img,
.cover__media img,
.launch__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.media__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-mono);
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 700;
  color: var(--edge-2);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* ── 5. Ticker ─────────────────────────────────────────────────────────── */
.ticker {
  position: relative;
  z-index: 60;
  background: var(--acc);
  color: var(--acc-ink);
  border-bottom: var(--bw) solid var(--t-ink);
  font-family: var(--f-mono);
  font-size: 12.5px;
}

.ticker__inner {
  display: flex;
  align-items: stretch;
  height: 38px;
}

.ticker__flag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 0 16px;
  background: var(--sun);
  color: var(--t-ink);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-right: var(--bw) solid var(--t-ink);
}

.ticker__viewport {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  height: 100%;
  animation: ticker 90s linear infinite;
}

.ticker:hover .ticker__track {
  animation-play-state: paused;
}

.ticker__list {
  display: flex;
  align-items: center;
  flex: none;
}

.ticker__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 28px;
  white-space: nowrap;
}

.ticker__list li::after {
  content: "✦";
  margin-left: 28px;
  opacity: 0.55;
}

.ticker__list b {
  font-weight: 700;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ── 6. Masthead ───────────────────────────────────────────────────────── */
.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}

.masthead.is-stuck {
  border-bottom-color: var(--line);
}

.admin-bar .masthead {
  top: 32px;
}

.masthead__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 10px 0;
}

.masthead__brand {
  flex: none;
  display: flex;
  align-items: center;
}

/* The site logo is dark artwork: show it on a light badge. */
.masthead__logo .custom-logo-link,
.drawer__logo .custom-logo-link,
.footer-brand__logo:not(.footer-brand__logo--own) .custom-logo-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 14px;
  background: #f6f5fb;
  box-shadow: 4px 4px 0 var(--acc);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.masthead__logo .custom-logo-link:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 var(--acc);
}

.masthead__logo img,
.masthead__logo-img {
  width: auto;
  height: var(--logo-h, 45px);
  max-width: 260px;
  object-fit: contain;
}

.site-logo {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.masthead__nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-family: var(--f-display);
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s, background-color 0.15s;
}

.nav-list a:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav-list .current-menu-item > a,
.nav-list .current-category-ancestor > a,
.nav-list .current-post-ancestor > a {
  color: var(--ink);
  background: var(--surface-2);
}

.masthead__actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.masthead__link .icon {
  color: var(--sun);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  border: var(--bw) solid var(--edge);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 3px 3px 0 var(--edge);
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* drawer */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: min(380px, 88vw);
  padding: 22px;
  overflow-y: auto;
  background: var(--surface);
  border-left: var(--bw) solid var(--edge);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.3s var(--ease), visibility 0.3s;
}

.drawer.is-open {
  transform: none;
  visibility: visible;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.drawer__logo img,
.drawer__logo-img {
  width: auto;
  height: 40px;
  max-width: 220px;
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: var(--bw) solid var(--edge);
  border-radius: 12px;
  background: var(--bg);
  font-size: 26px;
  line-height: 1;
}

.drawer__eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nav-list--drawer {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.nav-list--drawer a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 16px;
  color: var(--ink);
}

.drawer__foot {
  margin-top: auto;
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.drawer__tool {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-display);
  font-weight: 600;
}

.drawer__note {
  color: var(--ink-2);
  font-size: 14px;
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}

.drawer-scrim.is-visible {
  opacity: 1;
}

/* ── 7. Section head ───────────────────────────────────────────────────── */
.shead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 36px;
}

.shead__main {
  max-width: 720px;
}

.shead__eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shead__num {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 26px;
  padding: 0 8px;
  border: 1.5px solid var(--edge);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.shead__title {
  font-size: clamp(28px, 3.3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.shead__side {
  display: grid;
  justify-items: end;
  gap: 12px;
  max-width: 380px;
  text-align: right;
}

.shead__kicker {
  color: var(--ink-2);
  font-size: 15.5px;
}

.shead--stack {
  display: block;
}

.shead--stack .shead__side {
  justify-items: start;
  max-width: 600px;
  margin-top: 12px;
  text-align: left;
}

/* ── 8. Hero (shared) ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 56px 0 40px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 720px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(600px 360px at 78% 18%, var(--acc-soft), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 40px 40px;
  mask-image: linear-gradient(#000 40%, transparent);
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
}

.hero__h1 {
  font-size: clamp(40px, 5.6vw, 74px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.hero__h1--md {
  font-size: clamp(34px, 4.4vw, 58px);
}

.hero__h1--sm {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
}

.hero__lede {
  max-width: 560px;
  margin-top: 22px;
  color: var(--ink-2);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__ask {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: var(--line-2);
  text-underline-offset: 4px;
}

.hero__ask span {
  color: var(--t-mint);
  font-size: 10px;
}

.hero__ask:hover {
  color: var(--ink);
}

.chip-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1.5px solid var(--edge-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--f-mono);
  font-size: 12.5px;
}

.chip-note__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--t-mint);
  box-shadow: 0 0 0 4px rgba(46, 230, 166, 0.18);
}

/* ── 8a. Next four ─────────────────────────────────────────────────────── */
.next {
  margin-top: 64px;
}

.next__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.next__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.nx {
  position: relative;
  display: flex;
  flex-direction: column;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--hard);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}

.nx:hover {
  transform: translate(-3px, -3px);
  border-color: var(--edge);
  box-shadow: 8px 8px 0 var(--acc);
}

.nx__media {
  aspect-ratio: 5 / 3;
  border-bottom: var(--bw) solid var(--edge-2);
}

.nx:hover .nx__media img {
  transform: scale(1.04);
}

.nx__n {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 50%;
  background: var(--sun);
  color: var(--t-ink);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
}

.nx__body {
  display: grid;
  gap: 10px;
  padding: 16px 18px 18px;
}

.nx__title {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.nx__title a:hover {
  color: var(--acc-text);
}

/* cols: text only, numbers in circles */
.next--cols .nx {
  flex-direction: row;
  gap: 14px;
  padding: 20px;
}

.next--cols .nx__n {
  position: static;
  flex: none;
  width: 44px;
  height: 44px;
  background: var(--bg);
  border-color: var(--edge);
  color: var(--ink);
  font-size: 14px;
}

.next--cols .nx__body {
  padding: 0;
}

/* list: two-column numbered index with thumbnails */
.next--list .next__list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.next--list .nx {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 128px;
  align-items: center;
  gap: 16px;
  padding: 14px;
}

.next--list .nx__n {
  position: static;
  order: -1;
  width: 48px;
  height: 48px;
  background: var(--bg);
  border-color: var(--edge);
  color: var(--ink);
  font-size: 15px;
}

.next--list .nx__media {
  order: 2;
  aspect-ratio: 4 / 3;
  border: var(--bw) solid var(--edge-2);
  border-radius: 12px;
}

.next--list .nx__body {
  padding: 0;
}

/* ── 8b. Hero · Launch (classic) ───────────────────────────────────────── */
.launch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: 64px;
}

.launch__visual {
  position: relative;
  padding: 0 0 56px 0;
}

.launch__frame {
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--acc);
}

.launch__media {
  aspect-ratio: 4 / 3;
}

.float {
  position: absolute;
  z-index: 2;
  padding: 16px 18px;
  border: var(--bw) solid var(--t-ink);
  border-radius: var(--r);
  background: #f6f5fb;
  color: var(--t-ink);
  box-shadow: 6px 6px 0 var(--t-ink);
}

.float__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.float__icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--t-ink);
  border-radius: 7px;
  background: var(--tone);
}

.float--lead {
  left: -44px;
  bottom: 0;
  width: min(360px, 78%);
  transform: rotate(-2.5deg);
}

.float__title {
  color: var(--t-ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.float__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.float--lead .float__meta {
  margin-top: 10px;
  color: #55546a;
}

.float--lead .pill--bare {
  color: var(--t-ink);
  font-weight: 700;
}

.float--year {
  top: 28px;
  right: -26px;
  width: 168px;
  transform: rotate(4deg);
}

.float__big {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* ── 8c. Hero · Cover ──────────────────────────────────────────────────── */
.cover-head {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

.cover-head .hero__lede {
  margin-left: auto;
  margin-right: auto;
}

.stickers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

.sticker {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 16px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 999px;
  background: var(--tone);
  color: var(--t-ink);
  box-shadow: 3px 3px 0 var(--edge);
  font-size: 13px;
  font-weight: 500;
}

.sticker:nth-child(1) { transform: rotate(-2deg); }
.sticker:nth-child(3) { transform: rotate(2deg); }

.sticker b {
  font-family: var(--f-mono);
  font-size: 16px;
  font-weight: 700;
}

.cover {
  position: relative;
  padding-bottom: 40px;
}

.cover__frame {
  position: relative;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--acc);
}

.cover__media {
  aspect-ratio: 2 / 1;
}

.cover__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 999px;
  background: var(--sun);
  color: var(--t-ink);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cover__cap {
  position: absolute;
  right: 40px;
  bottom: 0;
  display: grid;
  gap: 12px;
  justify-items: start;
  width: min(520px, 60%);
  padding: 26px 28px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--hard);
}

.cover__title {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cover__title a:hover {
  color: var(--acc-text);
}

.cover__dek {
  color: var(--ink-2);
  font-size: 15px;
}

/* ── 8d. Hero · Split ──────────────────────────────────────────────────── */
.split-top {
  display: flex;
  align-items: center;
  gap: 24px 36px;
  margin-bottom: 44px;
  padding-bottom: 28px;
  border-bottom: 1px dashed var(--line-2);
}

.split-top__note {
  flex: 1;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 13px;
}

.ring {
  --p: 50;
  position: relative;
  flex: none;
  display: grid;
  place-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--bg) 72%, transparent 73%),
    conic-gradient(var(--acc) calc(var(--p) * 1%), var(--surface-2) 0);
  text-align: center;
  line-height: 1.05;
}

.ring::after {
  content: "";
  position: absolute;
  inset: -2px;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
}

.ring b {
  font-family: var(--f-mono);
  font-size: 22px;
}

.ring small {
  color: var(--ink-3);
  font-size: 10.5px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}

.split__visual {
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--acc);
}

.split__media {
  aspect-ratio: 4 / 3;
}

.split__copy {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.split__title {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.split__title a:hover {
  color: var(--acc-text);
}

.split__dek {
  color: var(--ink-2);
  font-size: 17px;
}

/* ── 8e. Hero · Mosaic ─────────────────────────────────────────────────── */
.board {
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--acc);
  overflow: hidden;
}

.board__bar {
  display: flex;
  align-items: center;
  gap: 18px 28px;
  padding: 18px 24px;
  border-bottom: var(--bw) solid var(--edge);
  background: var(--bg-2);
}

.board__dots {
  display: inline-flex;
  gap: 7px;
}

.board__dots i {
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--t-ink);
  border-radius: 50%;
  background: var(--t-pink);
}

.board__dots i:nth-child(2) { background: var(--t-yellow); }
.board__dots i:nth-child(3) { background: var(--t-mint); }

.board__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-3);
}

.board__facts b {
  color: var(--ink);
}

.board__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  padding: 16px;
}

.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color 0.2s;
}

.tile:hover {
  border-color: var(--edge);
}

.tile--lead {
  grid-row: span 2;
  aspect-ratio: auto;
}

.tile__media {
  position: absolute;
  inset: 0;
}

.tile:hover .tile__media img {
  transform: scale(1.04);
}

.tile__n {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 999px;
  background: var(--sun);
  color: var(--t-ink);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
}

.tile__body {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 6px;
  padding: 44px 16px 14px;
  background: linear-gradient(transparent, rgba(5, 6, 10, 0.78) 38%, rgba(5, 6, 10, 0.94));
  pointer-events: none;
}

.tile__body a {
  pointer-events: auto;
}

.tile__title {
  color: #fff;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
}

.tile--lead .tile__title {
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.tile--lead .tile__body {
  padding: 80px 26px 24px;
}

.tile__title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.tile__meta {
  color: rgba(255, 255, 255, 0.7);
}

.tile__meta .pill--bare {
  color: var(--sun);
}

/* ── 8f. Hero · Index ──────────────────────────────────────────────────── */
.index-head {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.index-head .hero__lede {
  margin-left: auto;
  margin-right: auto;
}

.statrow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 44px 0 56px;
}

.stat {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 18px;
  padding: 22px;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--hard);
}

.stat .itile {
  grid-row: span 2;
}

.stat__num {
  font-family: var(--f-mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat__num small {
  color: var(--ink-3);
  font-size: 0.55em;
}

.stat__label {
  color: var(--ink-2);
  font-size: 14px;
}

.split--index {
  margin-bottom: 8px;
}

/* ── 9. Method (spotlight + steps) ─────────────────────────────────────── */
.method {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}

.spot {
  display: grid;
  gap: 14px;
  padding: 30px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 10px 10px 0 var(--edge-2);
  text-align: center;
  justify-items: center;
}

.spot__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.spot__title {
  font-size: clamp(20px, 1.9vw, 25px);
  line-height: 1.25;
}

.spot__title a:hover {
  color: var(--acc-text);
}

.spot__dek {
  max-width: 460px;
  color: var(--ink-2);
  font-size: 15px;
}

.spot__frame {
  width: 100%;
  margin-top: 8px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--t-pink);
}

.spot__media {
  aspect-ratio: 5 / 3;
}

.steps-wrap .shead__title {
  margin-bottom: 34px;
}

.steps {
  display: grid;
  gap: 8px;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 26px;
}

.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 58px;
  bottom: 0;
  border-left: 2px dashed var(--edge-2);
}

.step__n {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--f-mono);
  font-size: 18px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s;
}

.step:hover .step__n {
  background: var(--acc);
  color: var(--acc-ink);
}

.step__title {
  margin: 4px 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.step__text {
  color: var(--ink-2);
  font-size: 15px;
}

/* ── 10. Perks ─────────────────────────────────────────────────────────── */
.perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.perk {
  position: relative;
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
  padding: 28px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--hard);
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.perk:hover {
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--tone, var(--acc));
}

.perk:nth-child(1) { --tone: var(--t-yellow); }
.perk:nth-child(2) { --tone: var(--t-pink); }
.perk:nth-child(3) { --tone: var(--t-blue); }

.perk .itile {
  margin-bottom: 10px;
}

.perk__digit {
  position: absolute;
  top: 10px;
  right: 18px;
  font-family: var(--f-mono);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--edge-2);
}

.perk__title {
  font-size: 20px;
  font-weight: 600;
}

.perk__text {
  color: var(--ink-2);
  font-size: 15px;
}

/* ── 11. Long reads / feature ──────────────────────────────────────────── */
.feat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.feat__frame {
  position: relative;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--tone, var(--acc));
}

.feat__media {
  aspect-ratio: 4 / 3;
}

.feat:hover .feat__media img {
  transform: scale(1.03);
}

.feat__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 999px;
  background: var(--sun);
  color: var(--t-ink);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feat__copy {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.feat__title {
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.feat__title a:hover {
  color: var(--acc-text);
}

.feat__dek {
  color: var(--ink-2);
  font-size: 17px;
}

.feat--flip .feat__frame {
  order: 2;
}

/* reading shelf — four long reads: a lead card and a numbered list */
.shelf__total {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
}

.shelf__total li {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 18px;
  border: var(--bw) solid var(--edge-2);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14px;
}

.shelf__total b {
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 20px;
  font-weight: 700;
}

.shelf__total li:first-child {
  border-color: var(--edge);
  background: var(--sun);
  color: var(--t-ink);
}

.shelf__total li:first-child b {
  color: var(--t-ink);
}

.shelf {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: start;
  gap: 48px;
}

.shelf--flip .shelf__lead {
  order: 2;
}

.shelf__lead {
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--tone, var(--acc));
  overflow: hidden;
}

.shelf--flip .shelf__lead {
  box-shadow: -12px 12px 0 var(--tone, var(--acc));
}

.shelf__frame {
  position: relative;
  border-bottom: var(--bw) solid var(--edge);
}

.shelf__media,
.shelf__thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--surface-2);
}

.shelf__media {
  aspect-ratio: 5 / 3;
}

.shelf__media img,
.shelf__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.shelf__lead:hover .shelf__media img,
.shelf__item:hover .shelf__thumb img {
  transform: scale(1.04);
}

.shelf__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 999px;
  background: var(--sun);
  color: var(--t-ink);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shelf__copy {
  display: grid;
  gap: 14px;
  padding: 28px 30px 32px;
}

.shelf__title {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.shelf__title a:hover,
.shelf__item-title a:hover {
  color: var(--acc-text);
}

.shelf__dek {
  color: var(--ink-2);
  font-size: 16px;
}

.shelf__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.shelf__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 168px;
  align-items: center;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 2px dashed var(--edge-2);
}

.shelf__item:first-child {
  padding-top: 0;
}

.shelf__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.shelf__n {
  align-self: start;
  font-family: var(--f-mono);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--acc);
}

.shelf__item:hover .shelf__n {
  color: var(--acc);
}

.shelf__body {
  display: grid;
  gap: 10px;
}

.shelf__item-title {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.shelf__mins {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3, var(--ink-2));
  font-family: var(--f-mono);
  font-size: 13px;
}

.shelf__thumb {
  aspect-ratio: 4 / 3;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-lg, 16px);
}

/* ── 12. Story grid & card ─────────────────────────────────────────────── */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 26px;
}

.card {
  display: flex;
  flex-direction: column;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--hard);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}

.card:hover {
  transform: translate(-3px, -3px);
  border-color: var(--edge);
  box-shadow: 9px 9px 0 var(--acc);
}

.card__frame {
  position: relative;
  border-bottom: var(--bw) solid var(--edge-2);
}

.card:hover .card__frame {
  border-bottom-color: var(--edge);
}

.card__media {
  aspect-ratio: 5 / 3;
}

.card:hover .card__media img {
  transform: scale(1.04);
}

.card__n {
  position: absolute;
  right: 14px;
  bottom: -18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: var(--bw) solid var(--edge);
  border-radius: 50%;
  background: var(--bg);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
}

.card__body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 22px 24px;
}

.card__title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.card__title a:hover {
  color: var(--acc-text);
}

.card__dek {
  color: var(--ink-2);
  font-size: 15px;
}

/* Cover layout: first card spans two columns */
.layout-cover .more-sec .grid3 .card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.layout-cover .more-sec .grid3 .card:first-child .card__frame {
  border-bottom: 0;
  border-right: var(--bw) solid var(--edge-2);
}

.layout-cover .more-sec .grid3 .card:first-child .card__media {
  height: 100%;
  aspect-ratio: 4 / 3;
}

.layout-cover .more-sec .grid3 .card:first-child .card__body {
  align-content: center;
  padding: 28px;
}

.layout-cover .more-sec .grid3 .card:first-child .card__title {
  font-size: 24px;
}

/* ── 13. Number lab ────────────────────────────────────────────────────── */
.tool-sec {
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tool {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 30px;
}

.lab {
  padding: 36px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--acc);
}

.lab .shead {
  margin-bottom: 26px;
}

.lab__input {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 14px;
}

.lab__field {
  flex: 1;
  display: grid;
  gap: 8px;
}

.lab__label {
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lab__field input {
  width: 100%;
  height: 60px;
  padding: 0 20px;
  border: var(--bw) solid var(--edge);
  border-radius: 16px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  outline: none;
  transition: box-shadow 0.15s;
}

.lab__field input:focus {
  box-shadow: 4px 4px 0 var(--acc);
}

.lab.is-bad .lab__field input {
  border-color: var(--t-pink);
}

.lab__random {
  min-height: 60px;
  border-radius: 16px;
}

.lab__out {
  margin-top: 28px;
  display: grid;
  gap: 22px;
}

.lab__hero {
  display: grid;
  gap: 8px;
  padding: 24px;
  border: 1.5px dashed var(--edge-2);
  border-radius: var(--r-lg);
  background: var(--bg);
}

.lab__big {
  font-family: var(--f-mono);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.lab__note {
  color: var(--ink-2);
  font-size: 15.5px;
}

.lab.is-bad .lab__note {
  color: var(--t-pink);
}

.lab__factors {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-3);
}

.lab__factors b {
  color: var(--sun);
  font-size: 17px;
  overflow-wrap: anywhere;
}

.props {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1.5px solid var(--edge-2);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-color: var(--edge-2);
  transition: all 0.2s;
}

.prop .icon {
  opacity: 0.35;
}

.prop.is-on {
  border-color: var(--t-ink);
  background: var(--t-mint);
  color: var(--t-ink);
  text-decoration: none;
  box-shadow: 2px 2px 0 var(--edge);
}

.prop.is-on .icon {
  opacity: 1;
}

.lab__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.lab__stats div {
  padding: 14px 16px;
  border: 1.5px solid var(--edge-2);
  border-radius: 14px;
  background: var(--bg);
}

.lab__stats dt {
  color: var(--ink-3);
  font-size: 12.5px;
}

.lab__stats dd {
  margin: 4px 0 0;
  font-family: var(--f-mono);
  font-size: 19px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.bits {
  display: grid;
  gap: 10px;
}

.bits__label {
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bits__label b {
  color: var(--ink);
}

.bits__cells {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.bits__cells i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 30px;
  border: 1.5px solid var(--edge-2);
  border-radius: 6px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 12px;
  font-style: normal;
}

.bits__cells i.on {
  border-color: var(--t-ink);
  background: var(--acc);
  color: var(--acc-ink);
  font-weight: 700;
}

/* fact card */
.fact-card {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 18px;
  padding: 26px;
  border: var(--bw) solid var(--t-ink);
  border-radius: var(--r-xl);
  background: var(--sun);
  color: var(--t-ink);
  box-shadow: 10px 10px 0 var(--edge);
  transform: rotate(1.2deg);
}

.fact__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.fact__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--t-ink);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fact__label .itile {
  background: #fff;
}

.fact__count {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
}

.fact {
  display: grid;
  gap: 10px;
  min-height: 200px;
  align-content: start;
}

.fact.is-in {
  animation: fact-in 0.4s var(--ease);
}

@keyframes fact-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.fact__num {
  font-family: var(--f-mono);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.fact__text {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
}

.fact__next {
  justify-self: start;
  border-color: var(--t-ink);
  color: var(--t-ink);
  box-shadow: 3px 3px 0 var(--t-ink);
}

.fact__next:hover {
  background: #fff;
  box-shadow: 5px 5px 0 var(--t-ink);
}

/* ── 14. Topics ────────────────────────────────────────────────────────── */
.topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.topics__intro {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 8px 8px 8px 0;
}

.topics__title {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.topics__text {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15px;
}

.topic {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--hard);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}

.topic:hover {
  transform: translate(-3px, -3px);
  border-color: var(--edge);
  box-shadow: 9px 9px 0 var(--tone);
}

.topic .itile {
  margin-bottom: 8px;
}

.topic__n {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
}

.topic__title {
  font-size: 18px;
  font-weight: 600;
}

.topic__text {
  color: var(--ink-2);
  font-size: 14.5px;
}

/* ── 15. FAQ ───────────────────────────────────────────────────────────── */
.faq {
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 56px 40px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--edge-2);
}

.faq > .shead__eyebrow {
  justify-content: center;
}

.faq__title {
  text-align: center;
  font-size: clamp(28px, 3.3vw, 42px);
  letter-spacing: -0.025em;
}

.faq__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 26px 0 18px;
}

.faq__tab {
  min-height: 40px;
  padding: 0 18px;
  border: var(--bw) solid transparent;
  border-radius: 999px;
  background: none;
  color: var(--ink-3);
  font-family: var(--f-display);
  font-size: 14.5px;
  font-weight: 600;
  transition: color 0.15s, border-color 0.15s;
}

.faq__tab:hover {
  color: var(--ink);
}

.faq__tab[aria-selected="true"] {
  border-color: var(--edge);
  background: var(--bg);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--acc);
}

.faq__group {
  margin: 30px 0 6px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faq.is-tabbed .faq__group {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.qa {
  border-bottom: 1px solid var(--line-2);
}

.qa:last-child {
  border-bottom: 0;
}

.qa__q {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 10px;
  padding: 22px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
}

.qa__q::-webkit-details-marker {
  display: none;
}

.qa__n {
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 14px;
}

.qa__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--edge-2);
  border-radius: 50%;
  color: var(--ink-2);
  transition: transform 0.25s var(--ease), background-color 0.2s;
}

.qa__q:hover .qa__text {
  color: var(--acc-text);
}

.qa[open] .qa__n,
.qa[open] .qa__text {
  color: var(--acc-text);
}

.qa[open] .qa__icon {
  transform: rotate(180deg);
  border-color: var(--acc);
  background: var(--acc);
  color: var(--acc-ink);
}

.qa__a {
  padding: 0 40px 24px 58px;
  color: var(--ink-2);
  font-size: 15.5px;
}

/* ── 16. Newsletter ────────────────────────────────────────────────────── */
.signup__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
  padding: 56px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--acc);
  overflow: hidden;
}

.signup__deco {
  position: absolute;
  right: -10px;
  top: -30px;
  font-family: var(--f-display);
  font-size: 150px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--edge-2);
  opacity: 0.6;
  pointer-events: none;
  white-space: nowrap;
}

.signup__pitch,
.signup__card {
  position: relative;
}

.signup__title {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.signup__sub {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 16.5px;
}

.signup__facts {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.signup__facts li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.signup__facts b {
  display: block;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
}

.signup__facts small {
  display: block;
  color: var(--ink-3);
  font-size: 13.5px;
}

.signup__card {
  padding: 30px;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r-lg);
  background: var(--bg);
}

.signup__solo-head {
  display: grid;
  justify-items: center;
  gap: 4px;
  margin-bottom: 26px;
  text-align: center;
}

.signup__solo-head .itile {
  margin-bottom: 14px;
}

.signup__solo-head .shead__eyebrow {
  margin-bottom: 8px;
}

.signup__owner {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
  color: var(--ink-3);
  font-size: 12.5px;
  line-height: 1.55;
}

.signup__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
  margin-top: 30px;
  color: var(--ink-3);
  font-size: 13px;
  text-align: center;
}

.signup__legal a:hover {
  color: var(--ink);
}

/* variants */
.signup--solo .signup__panel {
  grid-template-columns: 1fr;
  max-width: 660px;
  margin: 0 auto;
  padding: 44px;
}

.signup--solo .signup__card {
  padding: 0;
  border: 0;
  background: none;
}

.signup--stacked .signup__panel {
  grid-template-columns: 1fr;
  gap: 36px;
}

.signup--stacked .signup__pitch {
  max-width: 760px;
}

.signup--stacked .signup__facts {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.signup--accent .signup__panel {
  border-color: var(--t-ink);
  background: var(--acc);
  color: var(--acc-ink);
  box-shadow: 12px 12px 0 var(--edge);
}

.signup--accent .signup__title,
.signup--accent .signup__sub,
.signup--accent .shead__eyebrow {
  color: var(--acc-ink);
}

.signup--accent .shead__num {
  border-color: currentColor;
  color: var(--acc-ink);
}

.signup--accent .signup__title mark.hl {
  background: var(--sun);
  color: var(--t-ink);
}

.signup--accent .signup__deco {
  -webkit-text-stroke-color: rgba(0, 0, 0, 0.25);
}

.signup--accent .signup__card {
  border-color: var(--t-ink);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--t-ink);
}

.signup--swap .signup__card {
  order: -1;
}

/* Contact Form 7 */
.signup .wpcf7-form {
  display: grid;
  gap: 18px;
}

.signup .wpcf7-form p {
  margin: 0;
}

.signup .wpcf7-form br {
  display: none;
}

.signup .form-label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.signup .wpcf7-list-item {
  margin: 0;
}

.signup .form-options .wpcf7-checkbox,
.signup .form-options .wpcf7-radio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.signup .form-options .wpcf7-list-item label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1.5px solid var(--edge-2);
  border-radius: 14px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.signup .form-options .wpcf7-list-item label:hover {
  border-color: var(--edge);
}

.signup .form-options .wpcf7-list-item label:has(input:checked) {
  border-color: var(--edge);
  background: var(--acc-soft);
  box-shadow: 3px 3px 0 var(--acc);
}

.signup input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--acc);
  cursor: pointer;
}

.signup .form-fields p {
  display: flex;
  gap: 10px;
}

.signup .form-fields .wpcf7-form-control-wrap {
  flex: 1;
  min-width: 0;
}

.signup .wpcf7-email {
  width: 100%;
  height: 54px;
  padding: 0 20px;
  border: var(--bw) solid var(--edge);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 16px;
  outline: none;
  transition: box-shadow 0.15s;
}

.signup .wpcf7-email::placeholder {
  color: var(--ink-3);
}

.signup .wpcf7-email:focus {
  box-shadow: 3px 3px 0 var(--acc);
}

.signup .wpcf7-email.wpcf7-not-valid {
  border-color: var(--t-pink);
}

.signup .wpcf7-submit {
  flex: none;
  height: 54px;
  padding: 0 24px;
  border: var(--bw) solid var(--edge);
  border-radius: 999px;
  background: var(--acc);
  color: var(--acc-ink);
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 3px 3px 0 var(--edge);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.signup .wpcf7-submit:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--edge);
}

.signup .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.signup .wpcf7-spinner {
  position: absolute;
  margin: 0;
  right: 0;
  bottom: -30px;
}

.signup .form-fields {
  position: relative;
}

.signup .wpcf7-not-valid-tip {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding-left: 18px;
  color: var(--t-pink);
  font-size: 13px;
}

.signup .wpcf7-not-valid-tip::before {
  content: "!";
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--t-pink);
  color: var(--t-ink);
  font-size: 11px;
  font-weight: 700;
}

.signup .form-privacy .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.signup .form-privacy input[type="checkbox"] {
  margin-top: 1px;
}

.signup .wpcf7-list-item-label a {
  color: var(--acc-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.signup .wpcf7-acceptance.wpcf7-not-valid .wpcf7-list-item-label {
  color: var(--t-pink);
}

.signup .wpcf7-acceptance.wpcf7-not-valid input[type="checkbox"] {
  outline: 2px solid var(--t-pink);
  outline-offset: 1px;
}

.signup .form-privacy .wpcf7-not-valid-tip {
  padding-left: 30px;
}

.signup .wpcf7-response-output {
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 1.5px solid var(--line-2) !important;
  border-radius: 14px;
  color: var(--ink);
  font-size: 14px;
}

.signup .wpcf7-form.init .wpcf7-response-output,
.signup .wpcf7-form.resetting .wpcf7-response-output,
.signup .wpcf7-form.submitting .wpcf7-response-output {
  display: none;
}

.signup .wpcf7-form.sent .wpcf7-response-output {
  border-color: var(--t-mint) !important;
  background: rgba(46, 230, 166, 0.1);
}

.signup .wpcf7-form.invalid .wpcf7-response-output,
.signup .wpcf7-form.unaccepted .wpcf7-response-output,
.signup .wpcf7-form.payment-required .wpcf7-response-output {
  border-color: var(--t-yellow) !important;
  background: rgba(255, 210, 63, 0.08);
}

.signup .wpcf7-form.spam .wpcf7-response-output,
.signup .wpcf7-form.failed .wpcf7-response-output,
.signup .wpcf7-form.aborted .wpcf7-response-output {
  border-color: var(--t-pink) !important;
  background: rgba(255, 95, 162, 0.08);
}

/* ── 17. Footer ────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  margin-top: 48px;
  padding: 64px 0 28px;
  border-top: var(--bw) solid var(--edge);
  background: var(--bg-2);
  overflow: hidden;
}

.site-footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 18px;
}

.footer-logo-img,
.footer-brand__logo img {
  width: auto;
  height: 50px;
  max-width: 240px;
}

.footer-logo-text {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 800;
}

.footer-brand__desc {
  max-width: 340px;
  color: var(--ink-2);
  font-size: 15px;
}

.footer-col__title {
  margin-bottom: 16px;
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
}

.footer-col__title span {
  color: var(--sun);
}

.footer-col__list {
  display: grid;
  gap: 10px;
}

.footer-col__list a {
  color: var(--ink-2);
  font-size: 15px;
  transition: color 0.15s;
}

.footer-col__list a:hover {
  color: var(--acc-text);
}

.footer-col--cta {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 14px;
}

.footer-col--cta .footer-col__title {
  margin: 0;
}

.footer-col__text {
  color: var(--ink-2);
  font-size: 14.5px;
}

.footer-disclaimer {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
  color: var(--ink-3);
  font-size: 13px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 13.5px;
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1.5px solid var(--edge-2);
  border-radius: 999px;
  color: var(--ink-2);
  transition: border-color 0.15s, color 0.15s;
}

.to-top:hover {
  border-color: var(--edge);
  color: var(--ink);
}

/* ── 18. Archive / listing ─────────────────────────────────────────────── */
.banner {
  padding: 48px 0 8px;
}

.banner__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 44px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  background:
    radial-gradient(500px 240px at 100% 0%, var(--acc-soft), transparent 70%),
    linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--surface);
  box-shadow: 10px 10px 0 var(--acc);
}

.banner__title {
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.banner__dek {
  max-width: 640px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 17px;
}

.banner__count {
  flex: none;
  display: grid;
  place-items: center;
  align-content: center;
  width: 128px;
  height: 128px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 50%;
  background: var(--sun);
  color: var(--t-ink);
  box-shadow: 5px 5px 0 var(--edge);
  text-align: center;
  transform: rotate(-6deg);
}

.banner__count b {
  font-family: var(--f-mono);
  font-size: 36px;
  line-height: 1;
}

.banner__count span {
  font-size: 13px;
  font-weight: 600;
}

.banner--narrow .banner__inner {
  padding: 34px 40px;
}

.archive-main > .container {
  padding-top: 48px;
  padding-bottom: 32px;
}

.feat--list {
  margin-bottom: 64px;
}

.grid3--list {
  margin-top: 8px;
}

.pagination {
  margin-top: 56px;
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border: 1.5px solid var(--edge-2);
  border-radius: 14px;
  background: var(--surface);
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 700;
  transition: border-color 0.15s;
}

.pagination a.page-numbers:hover {
  border-color: var(--edge);
}

.pagination .page-numbers.current {
  border-color: var(--edge);
  background: var(--acc);
  color: var(--acc-ink);
  box-shadow: 3px 3px 0 var(--edge);
}

.pagination .page-numbers.dots {
  border: 0;
  background: none;
}

.no-results {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 64px 0;
  color: var(--ink-2);
  text-align: center;
}

.no-results__num {
  font-family: var(--f-mono);
  font-size: 120px;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--edge);
}

/* ── 19. Single post ───────────────────────────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 4px;
  pointer-events: none;
}

.admin-bar .reading-progress {
  top: 32px;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--acc);
  box-shadow: 0 0 12px var(--acc);
}

.single-main {
  padding: 48px 0 24px;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
  gap: 56px;
}

.article-head {
  display: grid;
  gap: 32px;
  margin-bottom: 40px;
}

.article-hero {
  margin: 0;
  order: 2;
}

.article-hero__img {
  width: 100%;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  box-shadow: 10px 10px 0 var(--acc);
}

.article-hero__caption {
  margin-top: 18px;
  color: var(--ink-3);
  font-size: 13.5px;
}

.article-head__copy {
  display: grid;
  gap: 18px;
}

.article-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 12.5px;
}

.article-head__title {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.article-head__dek {
  color: var(--ink-2);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}

.article-content {
  color: #d8d7e5;
  font-size: 18px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.article-content > * + * {
  margin-top: 1.3em;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  margin-top: 1.9em;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.article-content h2 {
  font-size: clamp(25px, 2.4vw, 32px);
}

.article-content h3 {
  font-size: clamp(21px, 2vw, 25px);
}

.article-content h4 {
  font-size: 19px;
}

.article-content h2 + *,
.article-content h3 + *,
.article-content h4 + * {
  margin-top: 0.7em;
}

.article-content a {
  color: var(--acc-text);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--ink);
}

.article-content strong,
.article-content b {
  color: var(--ink);
  font-weight: 700;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 0.55em;
}

.article-content li {
  position: relative;
  padding-left: 34px;
}

.article-content ul > li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.68em;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--t-ink);
  border-radius: 3px;
  background: var(--acc);
  transform: rotate(45deg);
}

.article-content ol {
  counter-reset: li;
}

.article-content ol > li {
  counter-increment: li;
}

.article-content ol > li::before {
  content: counter(li);
  position: absolute;
  left: 0;
  top: 0.18em;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.article-content blockquote {
  position: relative;
  margin-left: 0;
  margin-right: 0;
  padding: 28px 32px 28px 36px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--acc);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.article-content blockquote::before {
  content: "“";
  position: absolute;
  top: -22px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: var(--bw) solid var(--t-ink);
  border-radius: 12px;
  background: var(--sun);
  color: var(--t-ink);
  font-size: 34px;
  line-height: 1;
  padding-top: 12px;
}

.article-content blockquote p {
  margin: 0;
}

.article-content blockquote p + p {
  margin-top: 0.8em;
}

.article-content blockquote cite {
  display: block;
  margin-top: 14px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 13px;
  font-style: normal;
}

.article-content .wp-block-pullquote {
  padding: 0;
  border: 0;
}

.article-content figure {
  margin-left: 0;
  margin-right: 0;
}

.article-content img {
  border-radius: var(--r);
}

.article-content figcaption,
.article-content .wp-caption-text {
  margin-top: 10px;
  color: var(--ink-3);
  font-size: 14px;
  text-align: center;
}

.article-content hr {
  height: 0;
  margin: 2.4em 0;
  border: 0;
  border-top: 2px dashed var(--line-2);
}

.article-content code,
.article-content kbd {
  padding: 0.12em 0.4em;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--surface-2);
  font-family: var(--f-mono);
  font-size: 0.86em;
  color: var(--sun);
}

.article-content pre {
  padding: 20px 22px;
  overflow-x: auto;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r);
  background: #07080b;
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.6;
}

.article-content pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
}

.article-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r);
  overflow: hidden;
  font-size: 15.5px;
}

.article-content .wp-block-table {
  overflow-x: auto;
}

.article-content th,
.article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article-content th {
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-content td {
  font-variant-numeric: tabular-nums;
}

.article-content tr:last-child td {
  border-bottom: 0;
}

.article-content tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.article-content .alignleft {
  float: left;
  margin: 0.3em 1.5em 1em 0;
}

.article-content .alignright {
  float: right;
  margin: 0.3em 0 1em 1.5em;
}

.article-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.article-content iframe,
.article-content video {
  max-width: 100%;
  border-radius: var(--r);
}

/* Post content blocks: key numbers, sources, disclaimer */
.article-content .jn-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 2em 0;
}

.article-content .jn-numbers__item {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 20px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r);
  background: var(--surface);
  box-shadow: 5px 5px 0 var(--tone);
}

.article-content .jn-numbers__item:nth-child(3n + 1) { --tone: var(--acc); }
.article-content .jn-numbers__item:nth-child(3n + 2) { --tone: var(--t-yellow); }
.article-content .jn-numbers__item:nth-child(3n + 3) { --tone: var(--t-pink); }

.article-content .jn-numbers__item strong {
  font-family: var(--f-mono);
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.article-content .jn-numbers__item span {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.45;
}

.article-content .jn-disclaimer {
  padding: 12px 16px;
  border: 1.5px dashed var(--line-2);
  border-radius: var(--r-sm);
  color: var(--ink-3);
  font-size: 14px;
}

.article-content .jn-sources {
  margin-top: 2.6em;
  padding: 24px 26px;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r-lg);
  background: var(--bg-2);
  font-size: 14.5px;
  line-height: 1.6;
}

.article-content .jn-sources h2 {
  margin: 0 0 14px;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.article-content .jn-sources ol {
  gap: 0.7em;
}

.article-content .jn-sources li {
  color: var(--ink-2);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-2);
}

.article-tags__label {
  margin-right: 6px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-tags a {
  padding: 5px 12px;
  border: 1.5px solid var(--edge-2);
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 13.5px;
}

.article-tags a:hover {
  border-color: var(--edge);
  color: var(--ink);
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}

.article-nav__side {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--hard);
  transition: transform 0.2s var(--ease), border-color 0.2s, box-shadow 0.2s var(--ease);
}

.article-nav__side:hover {
  transform: translate(-2px, -2px);
  border-color: var(--edge);
  box-shadow: 8px 8px 0 var(--acc);
}

.article-nav__side--next {
  text-align: right;
}

.article-nav__label {
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-nav__link {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

/* aside */
.single-aside {
  display: grid;
  gap: 24px;
}

.aside-panel,
.numcard {
  padding: 24px;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--hard);
}

.aside-panel .mini-label,
.numcard .mini-label {
  margin-bottom: 8px;
}

.nlist {
  display: grid;
}

.nrow {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.nrow:last-child {
  border-bottom: 0;
}

.nrow__n {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--edge);
  border-radius: 50%;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 700;
}

.nrow__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.nrow__title a:hover {
  color: var(--acc-text);
}

.nrow__meta {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 12px;
}

.nrow__media {
  position: relative;
  display: block;
  width: 96px;
  aspect-ratio: 4 / 3;
  border: 1.5px solid var(--edge-2);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface-2);
}

.nrow__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nrow__media .media__fallback {
  font-size: 28px;
}

.numcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.numcard__day {
  padding: 4px 10px;
  border: 1.5px solid var(--t-ink);
  border-radius: 999px;
  background: var(--sun);
  color: var(--t-ink);
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 700;
}

.numcard__figure {
  margin-top: 14px;
  color: var(--acc-text);
  font-family: var(--f-mono);
  font-size: clamp(36px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  overflow-wrap: anywhere;
}

.numcard__label {
  margin-top: 6px;
  color: var(--ink-2);
  font-size: 14px;
}

.numcard__table {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}

.numcard__row {
  padding: 14px 0;
  border-top: 1px dashed var(--line-2);
}

.numcard__row dt {
  color: var(--ink-3);
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.numcard__row dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.55;
}

.aside-cta {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 26px;
  border: var(--bw) solid var(--t-ink);
  border-radius: var(--r-lg);
  background: var(--sun);
  color: var(--t-ink);
  box-shadow: 8px 8px 0 var(--edge);
  transition: transform 0.2s var(--ease);
}

.aside-cta:hover {
  transform: rotate(-1deg);
}

.aside-cta .itile {
  margin-bottom: 6px;
}

.aside-cta__eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aside-cta__title {
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.aside-cta__text {
  font-size: 14.5px;
}

.aside-cta__btn {
  margin-top: 6px;
  border-color: var(--t-ink);
  box-shadow: 3px 3px 0 var(--t-ink);
}

.aside-tool {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.15s;
}

.aside-tool:hover {
  border-color: var(--edge);
}

.aside-tool > span:nth-child(2) {
  flex: 1;
}

.aside-tool b {
  display: block;
  font-family: var(--f-display);
  font-size: 15px;
}

.aside-tool small {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
}

.related {
  margin-top: 88px;
}

/* ── 20. Page & 404 ────────────────────────────────────────────────────── */
.page-main > .container {
  padding-top: 48px;
  padding-bottom: 24px;
}

.page-hero {
  margin: 0 0 40px;
}

.page-hero__img {
  width: 100%;
  border: var(--bw) solid var(--edge);
  border-radius: var(--r-xl);
  box-shadow: 10px 10px 0 var(--acc);
}

.error-main {
  padding: 64px 0 24px;
}

.error-hero {
  display: grid;
  justify-items: center;
  gap: 20px;
  text-align: center;
}

.error-hero__code {
  display: flex;
  gap: 14px;
  margin-bottom: 10px;
}

.error-hero__code span {
  display: grid;
  place-items: center;
  width: clamp(80px, 14vw, 128px);
  aspect-ratio: 1;
  border: var(--bw) solid var(--t-ink);
  border-radius: var(--r-lg);
  background: var(--t-blue);
  color: var(--t-ink);
  box-shadow: 6px 6px 0 var(--edge);
  font-family: var(--f-mono);
  font-size: clamp(48px, 9vw, 84px);
  font-weight: 700;
  line-height: 1;
  transform: rotate(-4deg);
}

.error-hero__code span:nth-child(2) {
  background: var(--t-yellow);
  transform: rotate(3deg) translateY(-8px);
}

.error-hero__code span:nth-child(3) {
  background: var(--t-pink);
  transform: rotate(-2deg);
}

.error-hero__title {
  font-size: clamp(32px, 4.4vw, 52px);
  letter-spacing: -0.03em;
}

.error-hero__dek {
  max-width: 600px;
  color: var(--ink-2);
  font-size: 17px;
}

.error-recent {
  margin-top: 64px;
  padding: 28px;
  border: var(--bw) solid var(--edge-2);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--hard);
}

/* ── 21. Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .masthead__nav {
    display: none;
  }

  .masthead__actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .next__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .topics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .topics__intro {
    grid-column: 1 / -1;
    padding: 0 0 8px;
  }

  .tool {
    grid-template-columns: 1fr;
  }

  .fact-card {
    position: static;
    transform: none;
  }

  .fact {
    min-height: 0;
  }

  .lab__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .shelf {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .shelf--flip .shelf__lead {
    order: 0;
    box-shadow: 12px 12px 0 var(--tone, var(--acc));
  }

  :root {
    --gutter: 20px;
  }

  .sec {
    padding: 52px 0;
  }

  .launch,
  .split,
  .method,
  .feat,
  .signup__panel,
  .single-layout {
    grid-template-columns: 1fr;
  }

  .launch {
    gap: 48px;
  }

  .launch__visual {
    max-width: 720px;
  }

  .float--lead {
    left: 16px;
  }

  .float--year {
    right: 12px;
  }

  .split,
  .feat {
    gap: 36px;
  }

  .feat--flip .feat__frame {
    order: 0;
  }

  .method {
    gap: 56px;
  }

  .board__grid {
    grid-template-columns: 1fr 1fr;
  }

  .tile--lead {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout-cover .more-sec .grid3 .card:first-child {
    grid-column: 1 / -1;
  }

  .perks {
    grid-template-columns: 1fr;
  }

  .cover__cap {
    position: relative;
    right: auto;
    width: auto;
    margin: -48px 20px 0;
  }

  .cover {
    padding-bottom: 0;
  }

  .cover__media {
    aspect-ratio: 5 / 3;
  }

  .signup__panel {
    gap: 36px;
    padding: 40px;
  }

  .signup--swap .signup__card {
    order: 0;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .next--list .next__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .admin-bar .masthead {
    top: 0;
  }

  .admin-bar .reading-progress {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .shelf__item {
    grid-template-columns: auto minmax(0, 1fr) 96px;
    gap: 14px;
    padding: 20px 0;
  }

  .shelf__thumb {
    border-radius: 12px;
  }

  .shelf__copy {
    padding: 22px;
  }

  .shelf__total li {
    padding: 8px 14px;
  }

  .shelf__total b {
    font-size: 17px;
  }

  :root {
    --gutter: 16px;
    --hard: 4px 4px 0 var(--shade);
  }

  body {
    font-size: 15.5px;
  }

  .sec {
    padding: 44px 0;
  }

  .hero {
    padding: 36px 0 24px;
  }

  .masthead__bar {
    min-height: 68px;
    gap: 12px;
  }

  .masthead__logo img,
  .masthead__logo-img {
    height: var(--logo-h-m, 34px);
    max-width: 170px;
  }

  .masthead__logo .custom-logo-link,
  .drawer__logo .custom-logo-link {
    padding: 5px 10px;
    border-radius: 11px;
    box-shadow: 3px 3px 0 var(--acc);
  }

  .masthead__link {
    display: none;
  }

  .masthead__sub {
    display: none;
  }

  .ticker__flag span {
    display: none;
  }

  .shead {
    display: block;
    margin-bottom: 28px;
  }

  .shead__side {
    justify-items: start;
    margin-top: 12px;
    text-align: left;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .launch__frame,
  .cover__frame,
  .split__visual,
  .feat__frame,
  .board,
  .lab,
  .signup__panel,
  .banner__inner {
    box-shadow: 6px 6px 0 var(--acc);
  }

  .launch__visual {
    padding: 0;
  }

  .float {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
  }

  .float--lead {
    margin: -40px 14px 0;
  }

  .float--year {
    display: none;
  }

  .next {
    margin-top: 48px;
  }

  .next__list,
  .grid3,
  .topics,
  .statrow {
    grid-template-columns: 1fr;
  }

  .next--row .nx {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: center;
  }

  .next--row .nx__media {
    height: 100%;
    aspect-ratio: 4 / 3;
    border-bottom: 0;
    border-right: var(--bw) solid var(--edge-2);
  }

  .next--row .nx__n {
    top: 8px;
    left: 8px;
    width: 28px;
    height: 28px;
    font-size: 11px;
  }

  .next--row .nx__body {
    padding: 12px 14px;
    gap: 6px;
  }

  .nx__title {
    font-size: 15px;
  }

  .next--list .nx {
    grid-template-columns: 40px minmax(0, 1fr) 92px;
    gap: 12px;
    padding: 12px;
  }

  .next--list .nx__n {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .split-top {
    flex-wrap: wrap;
  }

  .split-top__note {
    order: 3;
    flex-basis: 100%;
  }

  .ring {
    width: 84px;
    height: 84px;
    margin-left: auto;
  }

  .ring b {
    font-size: 18px;
  }

  .board__bar {
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .board__facts {
    margin-left: 0;
    flex-basis: 100%;
  }

  .board__grid {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .tile--lead {
    aspect-ratio: 4 / 3;
  }

  .tile--lead .tile__body {
    padding: 60px 18px 16px;
  }

  .cover__cap {
    margin: -32px 10px 0;
    padding: 20px;
  }

  .cover__badge {
    top: 12px;
    left: 12px;
  }

  .stat {
    padding: 18px;
  }

  .spot {
    padding: 22px;
  }

  .layout-cover .more-sec .grid3 .card:first-child {
    display: flex;
  }

  .layout-cover .more-sec .grid3 .card:first-child .card__frame {
    border-right: 0;
    border-bottom: var(--bw) solid var(--edge-2);
  }

  .layout-cover .more-sec .grid3 .card:first-child .card__media {
    aspect-ratio: 5 / 3;
  }

  .layout-cover .more-sec .grid3 .card:first-child .card__body {
    padding: 22px;
  }

  .layout-cover .more-sec .grid3 .card:first-child .card__title {
    font-size: 19px;
  }

  .lab {
    padding: 22px;
  }

  .lab__input {
    flex-wrap: wrap;
  }

  .lab__field {
    flex-basis: 100%;
  }

  .lab__random {
    width: 100%;
    min-height: 50px;
  }

  .lab__hero {
    padding: 18px;
  }

  .lab__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-card {
    padding: 22px;
    box-shadow: 6px 6px 0 var(--edge);
  }

  .faq {
    padding: 32px 18px 20px;
    box-shadow: 6px 6px 0 var(--edge-2);
  }

  .qa__q {
    grid-template-columns: 32px minmax(0, 1fr) 28px;
    padding: 18px 0;
    font-size: 16px;
  }

  .qa__a {
    padding: 0 0 20px 42px;
  }

  .signup__panel {
    padding: 26px 18px;
  }

  .signup__card {
    padding: 20px 16px;
  }

  .signup--solo .signup__panel {
    padding: 28px 18px;
  }

  .signup--stacked .signup__facts {
    grid-template-columns: 1fr;
  }

  .signup__deco {
    font-size: 90px;
  }

  .signup .form-options .wpcf7-checkbox,
  .signup .form-options .wpcf7-radio {
    grid-template-columns: 1fr;
  }

  .signup .form-fields p {
    flex-direction: column;
  }

  .signup .wpcf7-submit {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .banner__inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }

  .banner__count {
    width: 104px;
    height: 104px;
  }

  .banner__count b {
    font-size: 28px;
  }

  .article-content {
    font-size: 17px;
  }

  .article-hero__img,
  .page-hero__img {
    box-shadow: 6px 6px 0 var(--acc);
  }

  .article-content blockquote {
    padding: 26px 20px 20px;
    font-size: 18px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav__side--next {
    text-align: left;
  }

  .nrow {
    grid-template-columns: 36px minmax(0, 1fr) 80px;
  }

  .nrow__media {
    width: 80px;
  }

  .error-recent {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .ticker__track {
    animation: none;
  }
}
