/* ==========================================================================
   Sovereign Terminal — main.css
   Graphite ground, brushed-chrome type and buttons, hairline panels.
   Anton (condensed display) · Inter Tight (headlines, body, figures)
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Ground & surfaces */
  --bg: #0b0c0f;
  --bg-rgb: 11, 12, 15;
  --bg-2: #111317;
  --surface: #15171c;
  --surface-2: #1b1e24;
  --surface-3: #252930;
  --line-rgb: 255, 255, 255;
  --line: rgba(var(--line-rgb), 0.08);
  --line-strong: rgba(var(--line-rgb), 0.16);
  --panel: linear-gradient(180deg, rgba(var(--line-rgb), 0.045) 0%, rgba(var(--line-rgb), 0.015) 100%);

  /* Text */
  --text: #eceef1;
  --text-2: #a6abb4;
  --text-3: #6d737e;
  --text-prose: #cdd1d8;
  --ink: #101115; /* text on chrome */

  /* Metal — the one accent. Vertical for type, horizontal for bars. */
  --hi: #f4f5f7;
  --hi-rgb: 244, 245, 247;
  --metal: linear-gradient(180deg, #ffffff 0%, #e6e8eb 32%, #9a9fa7 60%, #d6d9dd 82%, #f6f7f8 100%);
  --metal-h: linear-gradient(90deg, #8e939b 0%, #f2f3f5 46%, #a9aeb6 100%);
  --btn: linear-gradient(180deg, #f8f9fa 0%, #d5d8dc 55%, #b2b7be 100%);
  --btn-hover: linear-gradient(180deg, #ffffff 0%, #e4e6e9 55%, #c6cad0 100%);
  --sheen-1: #16181c;
  --sheen-2: #464b53;
  --sheen-3: #a9aeb5;
  --glow-rgb: 205, 210, 220;

  /* Market semantics */
  --up: #63d6a5;
  --up-rgb: 99, 214, 165;
  --down: #ff7f7f;
  --down-rgb: 255, 127, 127;
  --warn: #f1c46c;

  /* Type */
  --f-display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --f-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --wrap: 1320px;
  --gut: 24px;
  --gap: 18px;
  --r-xl: 22px;
  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 8px;
  --masthead-h: 76px;
  --shadow: 0 30px 60px -36px rgba(0, 0, 0, 0.9);
}

/* ── 1b. Colour schemes ────────────────────────────────────────────────── */
/* Picked in Customizer → Colour scheme; printed as <html data-scheme="…">.
   "midnight" (Chrome Graphite, the :root values above) prints no attribute. */

/* Champagne Gold — warm charcoal, brushed-gold metal */
:root[data-scheme="graphite"] {
  --bg: #0e0d0b;
  --bg-rgb: 14, 13, 11;
  --bg-2: #14120f;
  --surface: #191713;
  --surface-2: #211e19;
  --surface-3: #2c2821;
  --line-rgb: 255, 240, 210;
  --text: #f3efe6;
  --text-2: #b6ad9c;
  --text-3: #7d7564;
  --text-prose: #ddd6c8;
  --ink: #1d1608;
  --hi: #f6e7bf;
  --hi-rgb: 246, 231, 191;
  --metal: linear-gradient(180deg, #fff8e4 0%, #efdcad 32%, #b08a46 60%, #e6cd93 82%, #fff4d4 100%);
  --metal-h: linear-gradient(90deg, #a5803e 0%, #f7e7bb 46%, #b8954f 100%);
  --btn: linear-gradient(180deg, #fcf3da 0%, #e4cb8f 55%, #c4a161 100%);
  --btn-hover: linear-gradient(180deg, #fff9ea 0%, #ecd7a3 55%, #d0b073 100%);
  --sheen-1: #17140f;
  --sheen-2: #574629;
  --sheen-3: #c6a96d;
  --glow-rgb: 225, 195, 125;
}

/* Jade Steel — green-black ground, pale jade metal */
:root[data-scheme="emerald"] {
  --bg: #090e0d;
  --bg-rgb: 9, 14, 13;
  --bg-2: #0e1514;
  --surface: #121a18;
  --surface-2: #18221f;
  --surface-3: #212e2a;
  --line-rgb: 215, 255, 240;
  --text: #e8f1ee;
  --text-2: #9eb3ac;
  --text-3: #667b74;
  --text-prose: #cadbd5;
  --ink: #0a1813;
  --hi: #d4f3e6;
  --hi-rgb: 212, 243, 230;
  --metal: linear-gradient(180deg, #f3fffa 0%, #cfeee2 32%, #6ea592 60%, #bfe5d6 82%, #f0fcf7 100%);
  --metal-h: linear-gradient(90deg, #67a08c 0%, #dcf6ec 46%, #7cb4a0 100%);
  --btn: linear-gradient(180deg, #f0fcf7 0%, #c0e4d5 55%, #8ec0ad 100%);
  --btn-hover: linear-gradient(180deg, #f7fffc 0%, #cfeee1 55%, #a0cdbb 100%);
  --sheen-1: #0e1513;
  --sheen-2: #36514a;
  --sheen-3: #93c4b2;
  --glow-rgb: 150, 220, 195;
}

/* Rose Copper — warm near-black, rose-copper metal */
:root[data-scheme="sunset"] {
  --bg: #100c0b;
  --bg-rgb: 16, 12, 11;
  --bg-2: #16110f;
  --surface: #1b1513;
  --surface-2: #231b18;
  --surface-3: #2f2420;
  --line-rgb: 255, 228, 215;
  --text: #f6eeea;
  --text-2: #bca69c;
  --text-3: #826a60;
  --text-prose: #e1d2cb;
  --ink: #25110a;
  --hi: #f6d3c1;
  --hi-rgb: 246, 211, 193;
  --metal: linear-gradient(180deg, #fff2eb 0%, #f2c8b2 32%, #b0714f 60%, #e9b99f 82%, #fff0e8 100%);
  --metal-h: linear-gradient(90deg, #a9694a 0%, #f7d4c2 46%, #bd7f60 100%);
  --btn: linear-gradient(180deg, #fff1e9 0%, #efc1a7 55%, #cf9070 100%);
  --btn-hover: linear-gradient(180deg, #fff8f3 0%, #f4cfba 55%, #d9a085 100%);
  --sheen-1: #18110f;
  --sheen-2: #5c392b;
  --sheen-3: #cf9e87;
  --glow-rgb: 235, 170, 140;
}

/* ── 2. Reset & base ───────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
  background: var(--bg);
}

body {
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 620px at 78% -12%, rgba(var(--glow-rgb), 0.09), transparent 62%),
    radial-gradient(900px 600px at -10% 30%, rgba(var(--glow-rgb), 0.04), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.site-main {
  flex: 1 0 auto;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
}

body.admin-bar {
  min-height: calc(100vh - 32px);
  min-height: calc(100dvh - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    min-height: calc(100vh - 46px);
    min-height: calc(100dvh - 46px);
  }
}

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

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

ul,
ol {
  list-style: none;
}

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

button {
  background: none;
  border: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--f-sans);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--hi);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
}
.skip-link:focus {
  left: 0;
}

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

.icon {
  flex: none;
}

/* ── 3. Layout primitives ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.container--narrow {
  max-width: 880px;
}

.sec {
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

/* Media wrappers produced by st_thumb() */
[class*="__media"] {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}

[class*="__media"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1), filter 0.4s;
}

article:hover [class*="__media"] img,
li:hover > [class*="__media"] img {
  transform: scale(1.04);
}

[class*="__media"][class*="--empty"] {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, var(--surface-3), var(--surface) 70%);
}

.media__fallback {
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 0.75rem;
  text-align: center;
}

/* Hover underline shared by every headline link */
h1 a,
h2 a,
h3 a,
h4 a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 96%;
  background-repeat: no-repeat;
  transition: background-size 0.35s, color 0.2s;
}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover {
  background-size: 100% 1px;
}

/* Whole-card links: the headline link stretches over its positioned card */
.tile__title a::after,
.spot__title a::after,
.cover__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.metal {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ── 4. Buttons, pills, meta, arrows, section heads ────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.45rem;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn--chrome,
.btn--grad,
.btn--accent {
  background: var(--btn);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 10px 28px -14px rgba(var(--glow-rgb), 0.7);
}

.btn--chrome:hover,
.btn--grad:hover,
.btn--accent:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
}

.btn--line {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(var(--line-rgb), 0.02);
}

.btn--line:hover {
  border-color: rgba(var(--line-rgb), 0.4);
  background: rgba(var(--line-rgb), 0.06);
}

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

.btn--ink:hover {
  background: #000;
}

.btn--sm {
  padding: 0.75rem 1.1rem;
  font-size: 0.68rem;
}

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

/* Category pill */
.pill {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

.pill--glass,
.pill--light {
  color: #fff;
  background: rgba(10, 11, 14, 0.42);
  border-color: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.pill--bare {
  padding: 0;
  border: none;
  color: var(--text-3);
}

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

/* Meta row */
.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
}

.meta__date,
.card__date,
.meta__read {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.meta__read::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 0.6rem 0.2em 0;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

/* Round "open" button */
.arrow {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(10, 11, 14, 0.32);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.35s;
  pointer-events: none;
}

.arrow--lg {
  width: 58px;
  height: 58px;
}

.arrow--sm {
  width: 34px;
  height: 34px;
}

.arrow--sm svg {
  width: 15px;
  height: 15px;
}

article:hover .arrow,
a:hover > .arrow,
a:hover .arrow {
  background: var(--btn);
  border-color: transparent;
  color: var(--ink);
  transform: rotate(45deg);
}

/* Section head: eyebrow + condensed title left, kicker + link right */
.shead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 3rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.shead__titles {
  min-width: 0;
}

.shead__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
}

.shead__eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--text-3);
}

.shead__title {
  font-family: var(--f-display);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.04em;
}

.shead__side {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem 2.5rem;
  flex-wrap: wrap;
}

.shead__kicker {
  max-width: 46ch;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-2);
}

.shead__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.shead__more,
.label-row__more {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.2s, gap 0.2s;
}

.shead__more:hover,
.label-row__more:hover {
  color: var(--text);
  gap: 0.8rem;
}

.shead--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.shead--center .shead__eyebrow {
  justify-content: center;
}

.shead--center .shead__side {
  flex-direction: column;
  align-items: center;
}

/* Small uppercase label with a hairline under it */
.label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.95rem;
  margin-bottom: 1.6rem;
  border-bottom: 1px solid var(--line);
}

.label {
  font-family: var(--f-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--text);
}

/* ── 5. Masthead ───────────────────────────────────────────────────────── */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(var(--bg-rgb), 0.72);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

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

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

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

.masthead.is-stuck {
  background: rgba(var(--bg-rgb), 0.9);
  border-bottom-color: var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: var(--masthead-h);
}

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

.masthead__logo .custom-logo-link,
.footer-logo-link .custom-logo-link,
.drawer__logo .custom-logo-link,
.masthead__logo,
.footer-logo-link,
.drawer__logo {
  display: inline-flex;
  align-items: center;
}

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

/* The site logo is dark ink on transparent; knock it out to silver on the
   dark ground. A dedicated light "Footer Logo" is shown untouched. */
.masthead__logo .custom-logo,
.drawer__logo .custom-logo,
.footer-logo-link .custom-logo {
  filter: grayscale(1) brightness(3.1) contrast(0.92);
}

.site-logo,
.footer-logo-text {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
}

.nav-list a {
  position: relative;
  display: block;
  padding: 0.5rem 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  height: 1px;
  background: var(--hi);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current-menu-parent > a,
.nav-list .current-post-parent > a {
  color: var(--text);
}

.nav-list a:hover::after,
.nav-list .current-menu-item > a::after,
.nav-list .current-post-parent > a::after {
  transform: scaleX(1);
}

.masthead__actions {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.search-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--text-2);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.search-btn:hover,
.search-btn[aria-expanded="true"] {
  color: var(--text);
  border-color: rgba(var(--line-rgb), 0.4);
  background: rgba(var(--line-rgb), 0.05);
}

.masthead__sub {
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}

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

.nav-toggle__bar:last-child {
  width: 65%;
  margin-left: auto;
}

/* Search panel */
.search-panel {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(var(--bg-rgb), 0.96);
  padding: 1.1rem 0;
}

.search-panel__form {
  display: flex;
  gap: 0.6rem;
}

.search-panel__input {
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: rgba(var(--line-rgb), 0.03);
  font-size: 0.95rem;
  -webkit-appearance: none;
  appearance: none;
}

.search-panel__input::placeholder {
  color: var(--text-3);
}

.search-panel__input:focus {
  outline: none;
  border-color: rgba(var(--line-rgb), 0.45);
}

/* ── 6. Rate band ──────────────────────────────────────────────────────── */
.ticker {
  position: relative;
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(var(--line-rgb), 0.015);
  overflow: hidden;
}

.ticker__flag {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 1.4rem 0 var(--gut);
  background: var(--bg);
  border-right: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.ticker__dot,
.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 0 rgba(var(--up-rgb), 0.6);
  animation: st-pulse 2.2s infinite;
}

@keyframes st-pulse {
  0% { box-shadow: 0 0 0 0 rgba(var(--up-rgb), 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(var(--up-rgb), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--up-rgb), 0); }
}

.ticker__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 94%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
}

.ticker__track.is-animating {
  animation: st-marquee 60s linear infinite;
}

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

@keyframes st-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tick {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-right: 1px solid var(--line);
  font-size: 0.78rem;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.tick__sym {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-3);
}

.tick__val {
  font-weight: 500;
  color: var(--text);
}

.tick__chg {
  font-size: 0.72rem;
  font-weight: 600;
}

.tick--idle {
  color: var(--text-3);
}

.is-up {
  color: var(--up);
}

.is-down {
  color: var(--down);
}

.is-flat {
  color: var(--text-3);
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track.is-animating {
    animation: none;
  }
  .ticker__viewport {
    overflow-x: auto;
  }
}

/* ── 7. Mobile drawer ──────────────────────────────────────────────────── */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  width: min(380px, 88vw);
  padding: 1.4rem 1.5rem 1.75rem;
  background: var(--bg-2);
  border-left: 1px solid var(--line-strong);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), visibility 0.35s;
  overflow-y: auto;
}

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

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

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

.drawer__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
}

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

.nav-list--drawer a {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--text);
}

.nav-list--drawer a::after {
  display: none;
}

.drawer__foot {
  margin-top: auto;
  padding-top: 2rem;
}

.drawer__note {
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--text-2);
}

.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;
}

/* ── 8. Hero — nameplate + spotlight ───────────────────────────────────── */
.hero {
  position: relative;
  padding-top: clamp(1.75rem, 3.5vw, 3rem);
}

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(0.75rem, 1.6vw, 1.25rem);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-2);
}

.hero__eyebrow--end {
  color: var(--text-3);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(3.4rem, calc(11.7vw - 4px), 10.6rem);
  line-height: 0.88;
  letter-spacing: 0.004em;
  text-transform: uppercase;
}

.hero__line {
  display: block;
  padding-bottom: 0.05em;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5));
}

.hero__sub {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 3rem;
  padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(1.5rem, 3vw, 2.25rem);
}

.hero__dek {
  max-width: 60ch;
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.6;
  color: var(--text-2);
}

.hero__jump {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
  transition: border-color 0.2s;
}

.hero__jump:hover {
  border-color: var(--hi);
}

/* Spotlight: one stage, five numbered rows */
.spot {
  --spot-delay: 7000ms;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--gap);
}

.spot__stage {
  position: relative;
  display: grid;
  aspect-ratio: 5 / 3;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}

.spot__slide {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.spot__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

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

.spot__slide .spot__media img {
  transform: scale(1.07);
  transition: transform 8s linear;
}

.spot__slide.is-active .spot__media img {
  transform: scale(1);
}

.spot__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0) 30%, rgba(8, 9, 11, 0.55) 62%, rgba(8, 9, 11, 0.94) 100%),
    linear-gradient(90deg, rgba(8, 9, 11, 0.35), transparent 55%);
  pointer-events: none;
}

.spot__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  padding-right: clamp(5rem, 9vw, 7.5rem);
}

.spot__cap .meta {
  margin-bottom: 0.9rem;
}

.spot__cap .meta__date,
.spot__cap .meta__read {
  color: rgba(255, 255, 255, 0.72);
}

.spot__title {
  max-width: 30ch;
  font-size: clamp(1.35rem, 2.5vw, 2.3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.spot__open {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2.25rem);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  z-index: 3;
  pointer-events: none;
}

.spot__slide:hover .arrow {
  background: var(--btn);
  border-color: transparent;
  color: var(--ink);
  transform: rotate(45deg);
}

/* The thin arc and spark from the reference, drawn over the stage */
.spot__arc {
  position: absolute;
  z-index: 3;
  top: -46%;
  right: -16%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-top-color: transparent;
  border-right-color: transparent;
  transform: rotate(-12deg);
  pointer-events: none;
}

.spot__arc .icon {
  position: absolute;
  left: 14.6%;
  top: 85.4%;
  transform: translate(-50%, -50%) rotate(12deg);
  color: #fff;
  fill: #fff;
  stroke: none;
  opacity: 0.9;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.7));
}

.spot__index {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  counter-reset: spot;
}

.spot__item {
  flex: 1 1 0;
  min-height: 0;
  position: relative;
}

.spot__item + .spot__item {
  border-top: 1px solid var(--line);
}

.spot__link {
  position: relative;
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  height: 100%;
  padding: 0.85rem 1.25rem 0.85rem 1.1rem;
  transition: background 0.3s;
}

.spot__item.is-active .spot__link,
.spot__link:hover {
  background: rgba(var(--line-rgb), 0.045);
}

.spot__n {
  font-family: var(--f-display);
  font-size: 2rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-3);
  transition: -webkit-text-stroke-color 0.3s;
}

.spot__item.is-active .spot__n {
  -webkit-text-stroke: 0;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
}

.spot__text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.spot__desk {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.spot__headline {
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.32;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.3s;
}

.spot__item.is-active .spot__headline,
.spot__link:hover .spot__headline {
  color: var(--text);
}

.spot__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
}

.spot__bar i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--metal-h);
}

.spot__item.is-active .spot__bar i {
  width: 100%;
}

.spot.is-live .spot__item.is-active .spot__bar i {
  width: 0;
}

.spot.is-live .spot__item.is-running .spot__bar i {
  animation: st-fill var(--spot-delay) linear forwards;
}

.spot.is-live.is-paused .spot__item.is-active .spot__bar i {
  width: 100%;
  animation: none;
}

@keyframes st-fill {
  from { width: 0; }
  to { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .spot__slide,
  .spot__slide .spot__media img {
    transition: none;
  }
  .spot.is-live .spot__item.is-active .spot__bar i {
    width: 100%;
  }
}

/* ── 9. Figures ────────────────────────────────────────────────────────── */
.figs-sec {
  padding: var(--gap) 0 clamp(2.5rem, 5vw, 3.75rem);
}

.figs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.fig {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: clamp(1.4rem, 3vw, 2.1rem) 1rem;
  text-align: center;
}

.fig + .fig::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22%;
  bottom: 22%;
  width: 1px;
  background: var(--line-strong);
}

.fig__icon {
  color: var(--text-2);
}

.fig__num {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fig__label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── 10. Stock — overlay tiles ─────────────────────────────────────────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.tile {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}

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

.tile__media img {
  filter: saturate(0.85);
}

.tile:hover .tile__media img {
  filter: saturate(1);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.45) 0%, rgba(8, 9, 11, 0) 22%, rgba(8, 9, 11, 0.6) 48%, rgba(8, 9, 11, 0.96) 80%);
  pointer-events: none;
}

.tile__title,
.spot__title,
.cover__title {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.tile__body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.tile__title {
  margin-top: auto;
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tile__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
}

.tile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

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

/* ── 11. Rules + Tech News ─────────────────────────────────────────────── */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}

.duo--solo {
  grid-template-columns: 1fr;
}

.duo:not(.duo--solo) .rules {
  padding-right: clamp(2rem, 4vw, 3.5rem);
  border-right: 1px solid var(--line);
}

.rules__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 2.6vw, 2.1rem) clamp(1.5rem, 3vw, 2.5rem);
}

.duo--solo .rules__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rule {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.rule__icon {
  color: var(--text-2);
  padding-top: 0.1rem;
}

.rule:hover .rule__icon {
  color: var(--text);
}

.rule__title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--text);
}

.rule__text {
  margin-top: 0.45rem;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-3);
}

.rules__note {
  margin-top: 2rem;
  font-size: 0.72rem;
  color: var(--text-3);
}

.techs__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.chip-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}

.chip-card:hover {
  border-color: var(--line-strong);
  background: var(--surface-2);
}

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

.chip-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.85rem 0.95rem 1.05rem;
}

.chip-card__title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 12. Business — split + numbered strip ─────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.split__media {
  aspect-ratio: 5 / 3;
  height: 100%;
}

.split__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.5rem, 3.5vw, 3rem);
}

.split__title {
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.split__dek {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-2);
}

.split__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 0.6rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: var(--gap);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.step + .step {
  border-left: 1px solid var(--line);
}

/* Dotted hand-off between steps, as in the reference process strip */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: -14px;
  top: 1.95rem;
  width: 28px;
  height: 7px;
  background:
    radial-gradient(circle, var(--text-3) 1px, transparent 1.4px) 0 50% / 5px 5px repeat-x;
}

.step__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.step__n {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.step__title {
  margin: 0.75rem 0 1.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.step__media {
  width: 96px;
  aspect-ratio: 4 / 3;
  margin-top: auto;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}

.step__media img {
  filter: grayscale(0.7);
}

.step:hover .step__media img {
  filter: none;
}

/* ── 13. Market clock ──────────────────────────────────────────────────── */
.clock {
  --name-w: 168px;
  --status-w: 214px;
  padding: clamp(1.25rem, 3vw, 2.1rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.clock__summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
  border-bottom: 1px solid var(--line);
}

.clock__fig {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  align-items: center;
}

.clock__fig + .clock__fig {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.clock__fig .icon {
  grid-row: span 3;
  color: var(--text-2);
}

.clock__label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.clock__value {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.clock__zone {
  font-size: 0.72rem;
  color: var(--text-3);
}

.clock__rows {
  display: flex;
  flex-direction: column;
}

.xrow {
  display: grid;
  grid-template-columns: var(--name-w) minmax(0, 1fr) var(--status-w);
  align-items: center;
  gap: 1.25rem;
  padding: 0.6rem 0;
}

.clock__rows .xrow + .xrow {
  border-top: 1px solid var(--line);
}

.xrow--axis {
  padding: 0 0 0.45rem;
}

.xrow__name {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  min-width: 0;
}

.xrow__code {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
}

.xrow__city {
  font-size: 0.78rem;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.xrow__track {
  position: relative;
  height: 26px;
  border-radius: 6px;
  background-color: rgba(var(--line-rgb), 0.025);
  background-image: linear-gradient(90deg, rgba(var(--line-rgb), 0.07) 1px, transparent 1px);
  background-size: calc(100% / 8) 100%;
}

.xrow__track--axis {
  height: 16px;
  background: none;
}

.xrow__track--axis i {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.xrow__track--axis i:first-child {
  transform: none;
}

.xrow__track--axis i:last-child {
  transform: translateX(-100%);
}

.xrow__hours {
  display: block;
  padding-left: 0.75rem;
  font-size: 0.72rem;
  line-height: 26px;
  color: var(--text-3);
}

.xrow__bar {
  position: absolute;
  top: 5px;
  bottom: 5px;
  min-width: 2px;
  border-radius: 4px;
  background: rgba(var(--line-rgb), 0.14);
  border: 1px solid rgba(var(--line-rgb), 0.1);
}

.xrow__bar.is-live {
  background: var(--metal-h);
  border-color: transparent;
  box-shadow: 0 0 16px -2px rgba(var(--glow-rgb), 0.55);
}

.xrow__now {
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 1px;
  margin-left: -0.5px;
  background: var(--up);
  box-shadow: 0 0 8px rgba(var(--up-rgb), 0.8);
}

.xrow__status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.xrow__status::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--text-3);
}

.xrow.is-open .xrow__status {
  color: var(--text);
}

.xrow.is-open .xrow__status::before {
  border-color: var(--up);
  background: var(--up);
  box-shadow: 0 0 0 3px rgba(var(--up-rgb), 0.18);
}

.xrow.is-open .xrow__code {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.xrow.is-break .xrow__status {
  color: var(--text-2);
}

.xrow.is-break .xrow__status::before {
  border-color: var(--warn);
  background: var(--warn);
}

.clock__note {
  margin-top: 1.25rem;
  font-size: 0.72rem;
  color: var(--text-3);
}

/* ── 14. Politics — cover + ranked list ────────────────────────────────── */
.pol {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--gap);
}

.pol--solo {
  grid-template-columns: 1fr;
}

.cover {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: var(--surface);
  isolation: isolate;
}

.pol--solo .cover {
  aspect-ratio: 2 / 1;
}

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

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0) 35%, rgba(8, 9, 11, 0.6) 65%, rgba(8, 9, 11, 0.95) 100%);
  pointer-events: none;
}

.cover__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(1.25rem, 3vw, 2rem);
  padding-right: clamp(4.5rem, 8vw, 6rem);
}

.cover__cap .meta {
  margin-bottom: 0.85rem;
}

.cover__cap .meta__date {
  color: rgba(255, 255, 255, 0.72);
}

.cover__title {
  font-size: clamp(1.3rem, 2.3vw, 1.95rem);
  line-height: 1.14;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cover__arrow {
  position: absolute;
  right: clamp(1.25rem, 3vw, 2rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
}

.ranked {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.ranked__item {
  flex: 1 1 0;
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr) 120px;
  align-items: center;
  gap: 1.1rem;
  padding: 0.9rem 1.1rem 0.9rem 1.25rem;
  transition: background 0.25s;
}

.ranked__item + .ranked__item {
  border-top: 1px solid var(--line);
}

.ranked__item:hover {
  background: rgba(var(--line-rgb), 0.035);
}

.ranked__n {
  font-family: var(--f-display);
  font-size: 2.3rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--text-3);
}

.ranked__item:hover .ranked__n {
  -webkit-text-stroke-color: var(--text);
}

.ranked__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.ranked__title {
  font-size: 0.96rem;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranked__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}

/* ── 15. Digital Assets rail ───────────────────────────────────────────── */
.sport {
  position: relative;
  padding: clamp(1.25rem, 3.5vw, 2.5rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(var(--glow-rgb), 0.08), transparent 70%),
    var(--panel);
  overflow: hidden;
}

.rail-nav {
  display: flex;
  gap: 0.5rem;
}

.rail-nav__btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 1rem;
  color: var(--text);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.rail-nav__btn:hover {
  background: var(--btn);
  border-color: transparent;
  color: var(--ink);
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--gap)) / 3.35);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-3) transparent;
  padding-bottom: 0.75rem;
  margin-bottom: -0.75rem;
}

.rail:focus-visible {
  outline-offset: 6px;
}

.railcard {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s;
}

.railcard:hover {
  border-color: var(--line-strong);
}

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

.railcard__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem 1.2rem;
}

.railcard__title {
  font-size: 0.98rem;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 16. The desks ─────────────────────────────────────────────────────── */
.desks__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.desk {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.3s;
}

.desk:hover {
  border-color: var(--line-strong);
}

.desk__cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.desk__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.85);
  transition: filter 0.5s, transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.desk:hover .desk__cover img {
  filter: none;
  transform: scale(1.04);
}

.desk__foot {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.2rem 1.2rem;
}

.desk__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.desk__name {
  font-family: var(--f-display);
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
}

.desk__eyebrow {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.desk__count {
  font-size: 0.72rem;
  color: var(--text-2);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.desk .arrow {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.desk--cta {
  justify-content: center;
  align-items: flex-start;
  gap: 0.8rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-color: transparent;
  background:
    linear-gradient(115deg, var(--sheen-1) 0%, var(--sheen-2) 28%, var(--sheen-3) 46%, var(--sheen-2) 62%, var(--sheen-1) 100%);
  color: #fff;
}

.desk__cta-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.22);
}

.desk__cta-title {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.desk__cta-text {
  max-width: 34ch;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.86);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.desk--cta .btn {
  margin-top: 0.6rem;
}

/* ── 17. Newsletter ────────────────────────────────────────────────────── */
.signup {
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.signup__panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 4.5vw, 3.5rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(112deg, var(--sheen-1) 0%, var(--sheen-2) 16%, var(--sheen-3) 27%, var(--sheen-2) 37%, var(--sheen-1) 54%, var(--bg-2) 100%);
  box-shadow: var(--shadow);
}

/* Brushed grain over the sheen */
.signup__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.signup__pitch,
.signup__card {
  min-width: 0;
}

.signup__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.signup__title {
  margin-top: 0.9rem;
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 4.4vw, 3.9rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.signup__sub {
  max-width: 48ch;
  margin-top: 1.1rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.perks {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.perk {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.perk__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

.perk__text {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.signup__card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 3vw, 2.1rem);
  border-radius: var(--r-lg);
  background: rgba(var(--bg-rgb), 0.82);
  border: 1px solid var(--line-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.signup__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.signup__card-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.signup__step {
  flex: none;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}

.signup__form {
  margin-top: 1.4rem;
}

.signup__legal {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  line-height: 1.65;
  color: var(--text-3);
}

.signup__legal a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

/* CF7 — markup is owned by the plugin, so we only restyle it.
   Expected wrappers in the form template:
     .form-options  edition checkboxes/radios → selectable tiles
     .form-topics   optional topic checkboxes → chips
     .form-fields   email, then submit
     .form-privacy  acceptance checkbox */
.signup .hidden-fields-container,
.signup .screen-reader-response {
  display: none;
}

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

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

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

.signup .form-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* Edition tiles */
.signup .form-options {
  margin-bottom: 1.3rem;
}

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

.signup .form-options .wpcf7-list-item:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.signup .form-options .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  height: 100%;
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(var(--line-rgb), 0.02);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.signup .form-options .wpcf7-list-item label:hover {
  border-color: rgba(var(--line-rgb), 0.35);
}

.signup .form-options .wpcf7-list-item label:has(input:checked) {
  background: rgba(var(--hi-rgb), 0.08);
  border-color: rgba(var(--hi-rgb), 0.6);
  color: var(--text);
}

.signup .form-options input[type="checkbox"],
.signup .form-options input[type="radio"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0.05rem 0 0;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  background: transparent center / 11px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.signup .form-options input[type="radio"] {
  border-radius: 50%;
}

.signup .form-options input:checked {
  background-color: var(--hi);
  border-color: var(--hi);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101115' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Topic chips */
.signup .form-topics {
  margin-bottom: 1.3rem;
}

.signup .form-topics .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.signup .form-topics .wpcf7-list-item label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.signup .form-topics .wpcf7-list-item label::before {
  content: "+";
  font-weight: 600;
  color: var(--text-3);
}

.signup .form-topics .wpcf7-list-item label:hover {
  border-color: rgba(var(--line-rgb), 0.35);
  color: var(--text);
}

.signup .form-topics input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.signup .form-topics .wpcf7-list-item label:has(input:checked) {
  background: var(--btn);
  border-color: transparent;
  color: var(--ink);
}

.signup .form-topics .wpcf7-list-item label:has(input:checked)::before {
  content: "✓";
  color: var(--ink);
}

.signup .form-options label:has(input:focus-visible),
.signup .form-topics label:has(input:focus-visible) {
  outline: 2px solid var(--hi);
  outline-offset: 2px;
}

/* Email + submit on one line. The control wrap is flattened so a
   validation tip drops into the same box as a full-width strip. */
.signup .form-fields p {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.45rem;
  padding: 0.35rem;
  border-radius: var(--r-md);
  background: rgba(var(--line-rgb), 0.03);
  border: 1px solid var(--line-strong);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.signup .form-fields p:focus-within {
  border-color: rgba(var(--hi-rgb), 0.6);
  box-shadow: 0 0 0 4px rgba(var(--hi-rgb), 0.08);
}

.signup .form-fields .wpcf7-form-control-wrap {
  display: contents;
}

.signup .wpcf7-email {
  flex: 999 1 200px;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  font-family: var(--f-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d737e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E") 0.85rem center / 18px no-repeat;
  border: none;
  padding: 0 0.75rem 0 2.6rem;
  -webkit-appearance: none;
  appearance: none;
}

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

.signup .wpcf7-email:focus {
  outline: none;
}

.signup .wpcf7-submit {
  flex: 1 0 auto;
  order: 2;
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--btn);
  color: var(--ink);
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0.95rem 1.3rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.18);
  transition: background 0.18s, transform 0.18s;
}

.signup .wpcf7-submit:hover {
  background: var(--btn-hover);
  transform: translateY(-1px);
}

.signup .wpcf7-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.signup .wpcf7-spinner {
  position: absolute;
  right: 0.25rem;
  bottom: calc(100% + 0.5rem);
  margin: 0;
  background-color: var(--surface-3);
  pointer-events: none;
}

.signup .wpcf7-not-valid-tip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.6rem;
  padding: 0.5rem 0.75rem 0.5rem 0.55rem;
  border-radius: var(--r-sm);
  background: rgba(var(--down-rgb), 0.1);
  border: 1px solid rgba(var(--down-rgb), 0.32);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  color: #ffc9c9;
  width: fit-content;
  max-width: 100%;
  animation: st-tip-in 0.25s ease-out;
}

.signup .wpcf7-not-valid-tip::before {
  content: "!";
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--down);
  font-size: 0.7rem;
  font-weight: 700;
  color: #1a0707;
}

@keyframes st-tip-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.signup .form-fields .wpcf7-not-valid-tip {
  order: 3;
  flex: 1 0 100%;
  width: auto;
  margin: 0;
}

.signup .form-fields p:has(.wpcf7-not-valid) {
  border-color: rgba(var(--down-rgb), 0.55);
}

.signup .wpcf7-checkbox.wpcf7-not-valid .wpcf7-list-item label {
  border-style: dashed;
  border-color: rgba(var(--down-rgb), 0.55);
}

/* Acceptance */
.signup .form-privacy {
  margin-top: 1.1rem;
}

.signup .form-privacy .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--text-2);
}

.signup .form-privacy input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 0.2em;
  accent-color: var(--hi);
  cursor: pointer;
}

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

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

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

.signup .form-privacy .wpcf7-not-valid-tip {
  margin-left: 1.6rem;
}

/* Form-level response banner */
.signup .wpcf7-response-output {
  --tone: var(--text-2);
  --tone-rgb: var(--hi-rgb);
  --icon: "i";
  position: relative;
  display: none;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  column-gap: 0.8rem;
  width: 100%;
  margin: 1.3rem 0 0 !important;
  padding: 0.8rem 1rem 0.8rem 0.8rem !important;
  border: 1px solid rgba(var(--tone-rgb), 0.38) !important;
  border-radius: var(--r-md);
  background: rgba(var(--tone-rgb), 0.06);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  animation: st-tip-in 0.3s ease-out;
}

.signup .wpcf7-response-output::before {
  content: var(--icon);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(var(--tone-rgb), 0.55);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tone);
}

.signup .wpcf7-form.sent .wpcf7-response-output {
  --tone: var(--up);
  --tone-rgb: var(--up-rgb);
  --icon: "✓";
  display: grid;
}

.signup .wpcf7-form.invalid .wpcf7-response-output,
.signup .wpcf7-form.unaccepted .wpcf7-response-output,
.signup .wpcf7-form.payment-required .wpcf7-response-output {
  --tone: var(--warn);
  --tone-rgb: 241, 196, 108;
  --icon: "!";
  display: grid;
}

.signup .wpcf7-form.spam .wpcf7-response-output,
.signup .wpcf7-form.failed .wpcf7-response-output,
.signup .wpcf7-form.aborted .wpcf7-response-output {
  --tone: var(--down);
  --tone-rgb: var(--down-rgb);
  --icon: "×";
  display: grid;
}

/* ── 18. Archive, search & card grids ──────────────────────────────────── */
.archive-main,
.page-main,
.error-main {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 6rem);
}

.archive-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line);
}

.archive-head__titles {
  min-width: 0;
}

.archive-head__title {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.04em;
  overflow-wrap: anywhere;
}

.archive-head__count {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}

.feature__media {
  aspect-ratio: 5 / 3;
  height: 100%;
}

.feature__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.5rem, 3.5vw, 3rem);
}

.feature__title {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.feature__dek {
  font-size: 0.95rem;
  color: var(--text-2);
}

.feature__foot {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 0.5rem;
}

.feature__read {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: var(--gap);
}

.post-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s;
}

.post-card:hover {
  border-color: var(--line-strong);
}

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

.post-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  flex: 1;
  padding: 1.1rem 1.2rem 1.3rem;
}

.post-card__title {
  font-size: 1.04rem;
  line-height: 1.3;
}

.post-card__excerpt {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--text-3);
}

.post-card__read {
  margin-top: auto;
  padding-top: 0.4rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.pagination {
  margin-top: clamp(2rem, 4vw, 3rem);
}

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

.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.9rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pagination a.page-numbers:hover {
  color: var(--text);
  border-color: rgba(var(--line-rgb), 0.4);
}

.pagination .page-numbers.current {
  background: var(--btn);
  border-color: transparent;
  color: var(--ink);
}

.pagination .page-numbers.dots {
  border-color: transparent;
}

.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-radius: var(--r-lg);
  border: 1px dashed var(--line-strong);
  text-align: center;
  color: var(--text-2);
}

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

.reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--metal-h);
  box-shadow: 0 0 10px rgba(var(--glow-rgb), 0.7);
}

.single-main {
  padding: clamp(2rem, 4.5vw, 3.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.article-head {
  max-width: 980px;
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
  text-align: center;
}

.article-head__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 1.4rem;
}

.article-head__date,
.article-head__read {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}

.article-head__read::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 3px;
  margin: 0 1rem 0.2em 0;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.article-head__title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.article-head__dek {
  max-width: 62ch;
  margin: 1.3rem auto 0;
  font-size: 1.1rem;
  color: var(--text-2);
}

.article-hero {
  position: relative;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.article-hero__img {
  width: 100%;
  max-height: 660px;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-strong);
}

.article-hero__caption {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--text-3);
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.single-col {
  max-width: 740px;
  width: 100%;
  justify-self: center;
}

.article-content {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text-prose);
  overflow-wrap: break-word;
}

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

.single-article .article-content > p:first-child::first-letter {
  float: left;
  font-family: var(--f-display);
  font-size: 4.1em;
  line-height: 0.85;
  padding: 0.06em 0.12em 0 0;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--text);
}

.article-content h2 {
  font-size: 1.65rem;
  line-height: 1.2;
  margin-top: 2.6rem;
}

.article-content h3 {
  font-size: 1.3rem;
  margin-top: 2.1rem;
}

.article-content h4 {
  font-size: 1.08rem;
  margin-top: 1.8rem;
}

.article-content strong {
  color: var(--text);
}

.article-content a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(var(--hi-rgb), 0.45);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.article-content a:hover {
  text-decoration-color: var(--hi);
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
}

.article-content ul li {
  list-style: none;
  position: relative;
  padding-left: 0.25rem;
  margin-bottom: 0.5rem;
}

.article-content ul li::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.75em;
  width: 10px;
  height: 1px;
  background: var(--text-2);
}

.article-content ol {
  list-style: decimal;
}

.article-content ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.article-content ol li::marker {
  font-weight: 600;
  color: var(--text-2);
}

.article-content blockquote {
  margin-block: 2.2rem;
  padding: 0.4rem 0 0.4rem 1.6rem;
  border-left: 1px solid var(--hi);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}

.article-content blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.article-content img,
.article-content figure {
  margin-block: 2rem;
}

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

.article-content figure img {
  margin-block: 0;
}

.article-content .aligncenter {
  margin-inline: auto;
}

.article-content figcaption {
  margin-top: 0.55rem;
  font-size: 0.8rem;
  color: var(--text-3);
}

.article-content iframe,
.article-content video {
  max-width: 100%;
}

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

.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.article-content th,
.article-content td {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0.85rem 0.65rem 0;
  text-align: left;
}

.article-content th {
  border-bottom-color: var(--line-strong);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

.article-content code {
  font-size: 0.875em;
  background: var(--surface-2);
  padding: 0.15em 0.4em;
  border-radius: 5px;
}

.article-content pre {
  overflow-x: auto;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

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

.article-content hr {
  border: none;
  height: 1px;
  background: var(--line-strong);
}

.article-tags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.article-tags__label {
  margin-right: 0.5rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.article-tags a {
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-2);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

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

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 1.75rem;
}

.article-nav__side {
  padding: 1.2rem 1.35rem;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.2s;
}

.article-nav__side:hover {
  border-color: var(--line-strong);
}

.article-nav__side:empty {
  background: none;
  border-color: transparent;
}

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

.article-nav__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

.article-nav__link {
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
}

.related {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.single-aside {
  position: sticky;
  top: calc(var(--masthead-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.aside-panel {
  padding: 1.3rem 1.3rem 0.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
}

.aside-panel__heading {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 0;
}

.row + .row {
  border-top: 1px solid var(--line);
}

.row__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-sm);
}

.row__date {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

.row__title {
  font-size: 0.98rem;
  line-height: 1.32;
}

.row--aside {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.85rem 0;
}

.row--aside .row__title {
  font-size: 0.85rem;
  line-height: 1.38;
}

.aside-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--sheen-1) 0%, var(--sheen-2) 30%, var(--sheen-3) 50%, var(--sheen-2) 68%, var(--sheen-1) 100%);
  border: 1px solid var(--line-strong);
  color: #fff;
}

.aside-cta__eyebrow {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.aside-cta__title {
  font-family: var(--f-display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.aside-cta__text {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.aside-cta__btn {
  margin-top: 1rem;
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--btn);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 0.15s;
}

.aside-cta:hover .aside-cta__btn {
  transform: translateY(-1px);
}

/* ── 20. Page & 404 ────────────────────────────────────────────────────── */
.page-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.page-head__eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}

.page-head__title {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.04em;
}

.page-hero {
  margin-bottom: 2.5rem;
}

.page-hero__img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}

.error-page {
  text-align: center;
}

.error-page__code {
  font-family: var(--f-display);
  font-size: clamp(8rem, 26vw, 17rem);
  line-height: 0.85;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.6));
}

.error-page__title {
  margin-top: 1.25rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.02em;
}

.error-page__desc {
  max-width: 56ch;
  margin: 1rem auto 0;
  color: var(--text-2);
}

.error-page__actions {
  margin-top: 1.75rem;
}

.error-recent {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: 1.4rem 1.5rem 0.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--panel);
  text-align: left;
}

.error-recent__heading {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ── 21. Footer ────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem;
  background: linear-gradient(180deg, rgba(var(--line-rgb), 0.015), transparent 60%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

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

.footer-brand__desc {
  max-width: 40ch;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-2);
}

.footer-col__title {
  margin-bottom: 1.1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-col__list {
  display: grid;
  gap: 0.65rem;
}

.footer-col__list a {
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color 0.2s;
}

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

.footer-disclaimer {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  line-height: 1.65;
  color: var(--text-3);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-3);
}

.footer-copy a {
  color: var(--text-2);
}

.footer-top-link {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.2s;
}

.footer-top-link:hover {
  color: var(--text);
}

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

/* ── 22. Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1180px) {
  .masthead__nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .clock {
    --name-w: 140px;
    --status-w: 190px;
  }
}

@media (max-width: 1024px) {
  .single-layout {
    grid-template-columns: 1fr;
  }
  .single-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
  }
  .rail {
    grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.3);
  }
}

@media (max-width: 900px) {
  :root {
    --gut: 20px;
    --masthead-h: 68px;
  }

  .hero__top .hero__eyebrow--end {
    display: none;
  }
  .hero__sub {
    flex-direction: column;
    align-items: flex-start;
  }

  .spot {
    grid-template-columns: 1fr;
  }
  .spot__stage {
    aspect-ratio: 4 / 3;
  }
  .spot__item {
    flex: none;
  }
  .spot__link {
    padding-block: 0.8rem;
  }

  .tiles {
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
  }
  .tile {
    scroll-snap-align: start;
  }

  .duo {
    grid-template-columns: 1fr;
  }
  .duo:not(.duo--solo) .rules {
    padding-right: 0;
    border-right: none;
  }
  .duo--solo .rules__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split,
  .feature {
    grid-template-columns: 1fr;
  }
  .split__media,
  .feature__media {
    height: auto;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .step + .step {
    border-left: none;
  }
  .step:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .step:nth-child(even)::after {
    display: none;
  }

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

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

  .signup__panel {
    grid-template-columns: 1fr;
    background:
      linear-gradient(165deg, var(--sheen-1) 0%, var(--sheen-2) 14%, var(--sheen-3) 24%, var(--sheen-2) 34%, var(--sheen-1) 50%, var(--bg-2) 100%);
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .figs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fig:nth-child(3)::before {
    display: none;
  }
  .fig:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .clock__summary {
    grid-template-columns: 1fr;
  }
  .clock__fig + .clock__fig {
    padding-left: 0;
    padding-top: 1rem;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .xrow {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem 1rem;
    padding: 0.75rem 0;
  }
  .xrow__track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .xrow--axis {
    padding-bottom: 0;
  }
  .xrow--axis > span:not(.xrow__track) {
    display: none;
  }
  .xrow--axis .xrow__track {
    grid-row: 1;
  }
  .xrow__track--axis i:nth-child(even) {
    display: none;
  }
}

@media (max-width: 600px) {
  .masthead__sub {
    display: none;
  }

  .hero__title {
    font-size: clamp(2.9rem, 17vw, 5rem);
  }

  .spot__stage {
    aspect-ratio: 5 / 4;
  }
  .spot__cap {
    padding-right: 1.25rem;
  }
  .spot__open {
    top: 1rem;
    bottom: auto;
    right: 1rem;
  }
  .spot__open .arrow--lg {
    width: 44px;
    height: 44px;
  }
  .spot__arc {
    display: none;
  }

  .tiles {
    grid-auto-columns: 86%;
  }

  .rules__grid,
  .duo--solo .rules__grid {
    grid-template-columns: 1fr;
  }
  .techs__panel {
    padding: 10px;
    gap: 10px;
  }

  .steps {
    grid-template-columns: 1fr;
  }
  .step,
  .step:nth-child(even) {
    border-left: none;
  }
  .step + .step {
    border-top: 1px solid var(--line);
  }
  .step::after {
    display: none;
  }
  .step {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 88px;
    column-gap: 1rem;
  }
  .step__head,
  .step__title {
    grid-column: 1;
  }
  .step__title {
    margin-bottom: 0;
  }
  .step__media {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 88px;
    margin: 0;
    align-self: center;
  }

  .cover {
    aspect-ratio: 4 / 3.4;
  }
  .ranked__item {
    grid-template-columns: 2.6rem minmax(0, 1fr) 88px;
    gap: 0.8rem;
    padding: 0.9rem;
  }
  .ranked__n {
    font-size: 1.8rem;
  }

  .rail {
    grid-auto-columns: 84%;
  }
  .sport .shead {
    align-items: flex-start;
  }

  .desks__grid,
  .post-grid {
    grid-template-columns: 1fr;
  }

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

  .single-aside {
    grid-template-columns: 1fr;
  }
  .article-nav {
    grid-template-columns: 1fr;
  }
  .article-nav__side--next {
    text-align: left;
  }
  .row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

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

@media (max-width: 400px) {
  .clock__value {
    font-size: 1.15rem;
  }
  .xrow__status {
    font-size: 0.7rem;
  }
}
