/* ==========================================================================
   Sovereign Terminal — main.css
   Modern finance theme: sage paper, emerald accent, forest surfaces, lime spark.
   Bricolage Grotesque (headlines) · Inter Tight (body) · JetBrains Mono (figures)
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
/* Colour tokens below are the default "Emerald" scheme. The other schemes
   (Customizer → Color Scheme) override them from st_color_schemes() in
   functions.php. Every colour has an `-rgb` twin for translucent use. */
:root {
  /* Paper */
  --paper: #f3f6f1;
  --paper-rgb: 243, 246, 241;
  --paper-2: #e7eee7;
  --card: #ffffff;
  --mint: #dcf2e4;
  --mint-2: #c4e8d2;

  /* Ink */
  --ink: #0c1f17;
  --ink-2: #33473d;
  --ink-3: #66786e;
  --ink-body: #1c2b24;
  --ink-rgb: 12, 31, 23;

  /* Rules */
  --rule: #0c1f17;
  --rule-soft: rgba(var(--ink-rgb), 0.12);

  /* Accent — white text on it passes AA */
  --accent: #0a7d52;
  --accent-dark: #075e3d;
  --accent-bright: #14b47c;
  --accent-rgb: 10, 125, 82;
  --accent-bright-rgb: 20, 180, 124;
  --lime-0: #dcf89a;
  --lime: #c8f169;
  --lime-2: #b3e34a;
  --lime-rgb: 200, 241, 105;

  /* Forest surfaces (ticker, markets, sign-up, footer) */
  --forest: #0b2e21;
  --forest-2: #0f3a2a;
  --night: #061a12;
  --forest-rgb: 11, 46, 33;
  --night-rgb: 6, 26, 18;
  --on-dark: #eef5ef;
  --on-dark-rgb: 238, 245, 239;
  --on-dark-2: rgba(var(--on-dark-rgb), 0.72);
  --on-dark-3: rgba(var(--on-dark-rgb), 0.48);
  --dark-line: rgba(var(--on-dark-rgb), 0.13);

  /* Market semantics */
  --up: #0a7d52;
  --down: #d2453a;
  --up-light: #7ee2a8;
  --down-light: #ff9686;

  /* Type */
  --f-head: "Bricolage Grotesque", "Inter Tight", system-ui, sans-serif;
  --f-sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --wrap: 1280px;
  --gut: 28px;
  --col-gap: 1.15rem;
  --gap: 16px;
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --masthead-h: 68px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(var(--ink-rgb), 0.05), 0 6px 18px -10px rgba(var(--ink-rgb), 0.18);
  --shadow: 0 1px 2px rgba(var(--ink-rgb), 0.05), 0 22px 44px -24px rgba(var(--ink-rgb), 0.32);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* ── 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: 90px;
}

body {
  font-family: var(--f-sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--f-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

::selection {
  background: var(--lime);
  color: var(--forest);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--forest);
  color: var(--on-dark);
  padding: 0.75rem 1.25rem;
  font-size: 0.75rem;
  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;
}

.arrow {
  display: inline-block;
  flex: none;
  vertical-align: -0.12em;
  transition: transform 0.25s var(--ease);
}

a:hover > .arrow,
button:hover > .arrow {
  transform: translate(2px, -2px);
}

/* Pulsing live dot */
.live-dot {
  position: relative;
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-bright);
  opacity: 0;
  animation: st-ping 2.2s var(--ease) infinite;
}

@keyframes st-ping {
  0% { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

@keyframes st-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.7); }
}

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

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

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

[class*="__media"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}

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

[class*="__media"][class*="--empty"] {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--mint), var(--paper-2));
}

.media__fallback {
  font-family: var(--f-head);
  font-size: 1rem;
  color: var(--accent);
  padding: 0.5rem;
  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 1.5px;
  background-position: 0 95%;
  background-repeat: no-repeat;
  transition: background-size 0.35s var(--ease);
}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover {
  background-size: 100% 1.5px;
}

/* ── 4. Buttons, marks, pills, dates, section heads ────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--f-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
  white-space: nowrap;
}

.btn--ink {
  background: var(--forest);
  color: var(--on-dark);
}
.btn--ink:hover {
  background: var(--accent);
  color: #fff;
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  background: var(--forest);
}

.btn--lime {
  background: var(--lime);
  color: var(--forest);
}
.btn--lime:hover {
  background: #fff;
}

.btn--sm {
  padding: 0.6rem 1.05rem;
  font-size: 0.75rem;
}

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

/* Small emerald dot with a soft halo */
.mark {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--mint);
}

.mark--light {
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(var(--lime-rgb), 0.2);
}

.pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--f-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--accent-dark);
  background: var(--mint);
  border-radius: 999px;
  padding: 0.42rem 0.7rem 0.4rem;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.pill:hover {
  background: var(--accent);
  color: #fff;
}

.pill--light,
.pill--glass {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pill--light:hover,
.pill--glass:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest);
}

.pill--lime {
  background: var(--lime);
  color: var(--forest);
}
.pill--lime:hover {
  background: #fff;
  color: var(--forest);
}

.pill--bare {
  background: none;
  padding: 0;
  font-family: var(--f-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.pill--bare:hover {
  background: none;
  color: var(--ink);
}

[class*="__date"] {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  display: block;
  font-variant-numeric: tabular-nums;
}

/* Section header */
.shead {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.shead__titles::before {
  content: "";
  display: block;
  width: 36px;
  height: 5px;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--lime));
}

.shead__title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
}

.shead__kicker {
  margin-top: 0.55rem;
  font-size: 0.9375rem;
  color: var(--ink-3);
}

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

.shead__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--rule-soft);
  background: var(--card);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.shead__more:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

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

.sec > .container {
  position: relative;
  z-index: 1;
}

/* ── 5. Masthead ───────────────────────────────────────────────────────── */
.masthead {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(var(--paper-rgb), 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
  transition: box-shadow 0.2s, background 0.2s;
}

.masthead.is-stuck {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px -26px rgba(var(--ink-rgb), 0.55);
}

.masthead__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--masthead-h);
}

/* Height comes from Customizer → Site Identity (--logo-h, 45px minimum) */
.masthead__brand img {
  height: var(--logo-h, 45px);
  max-height: none;
  width: auto;
  max-width: 100%;
}

.masthead__inner {
  padding-block: 0.6rem;
}

.site-logo {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.masthead__nav {
  justify-self: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(var(--ink-rgb), 0.04);
  border: 1px solid var(--rule-soft);
}

.nav-list a {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  transition: background 0.18s, color 0.18s;
}

.nav-list a:hover {
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.nav-list .current-menu-item > a,
.nav-list .current-menu-parent > a {
  background: var(--forest);
  color: var(--on-dark);
}

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

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--rule-soft);
  background: var(--card);
  transition: background 0.15s, color 0.15s;
}
.icon-btn:hover,
.icon-btn[aria-expanded="true"] {
  background: var(--mint);
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 50%;
  background: var(--forest);
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  background: var(--on-dark);
  transition: transform 0.25s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Search panel */
.search-panel {
  border-top: 1px solid var(--rule-soft);
  padding: 1rem 0 1.1rem;
}

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

.search-panel__input {
  flex: 1;
  min-width: 0;
  font-family: var(--f-head);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--rule-soft);
  padding: 0.2rem 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.search-panel__input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}
.search-panel__input::placeholder {
  color: var(--ink-3);
}

/* ── 6. Rate strip ─────────────────────────────────────────────────────── */
.ticker {
  display: flex;
  align-items: stretch;
  background: var(--forest);
  color: var(--on-dark);
  overflow: hidden;
}

.ticker__flag {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
  padding: 0 1rem;
  background: var(--lime);
  color: var(--forest);
  font-family: var(--f-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticker__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--forest);
  animation: st-pulse 2.2s ease-in-out infinite;
}

.ticker__viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
  min-width: 0;
}

.ticker__viewport::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--forest));
  pointer-events: none;
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  height: 34px;
  white-space: nowrap;
  width: max-content;
  padding-left: 2rem;
}

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

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

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

.tick {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-variant-numeric: tabular-nums;
}

.tick__sym {
  color: var(--on-dark-3);
  font-weight: 600;
}

.tick__val {
  color: var(--on-dark);
  font-weight: 600;
}

.tick__chg.is-up { color: var(--up-light); }
.tick__chg.is-up::before { content: "▲ "; font-size: 0.75em; }
.tick__chg.is-down { color: var(--down-light); }
.tick__chg.is-down::before { content: "▼ "; font-size: 0.75em; }
.tick__chg.is-flat { color: var(--on-dark-3); }

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

/* ── 7. Mobile drawer ──────────────────────────────────────────────────── */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 380px);
  background: var(--forest);
  color: var(--on-dark);
  z-index: 200;
  transform: translateX(105%);
  transition: transform 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  gap: 1.25rem;
  overflow-y: auto;
}

.drawer.is-open {
  transform: translateX(0);
}

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

.drawer__head img {
  max-height: 40px;
  width: auto;
}

.drawer__head .site-logo {
  color: var(--on-dark);
}

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

.nav-list--drawer {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.nav-list--drawer li {
  border-bottom: 1px solid var(--dark-line);
}

.nav-list--drawer a {
  display: block;
  padding: 1rem 0;
  color: var(--on-dark);
  font-family: var(--f-head);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  border-radius: 0;
}

.nav-list--drawer a:hover,
.nav-list--drawer .current-menu-item > a {
  background: none;
  box-shadow: none;
  color: var(--lime);
}

.drawer__note {
  font-size: 0.875rem;
  color: var(--on-dark-2);
  margin-bottom: 0.85rem;
}

.drawer .btn--accent {
  background: var(--lime);
  color: var(--forest);
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(var(--night-rgb), 0.55);
  z-index: 150;
  opacity: 0;
  transition: opacity 0.3s;
}
.drawer-scrim.is-visible {
  opacity: 1;
}

/* ── 8. Briefing (hero) ────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(2rem, 4vw, 3.25rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  inset: -20% -10% auto auto;
  width: 70vw;
  max-width: 980px;
  aspect-ratio: 1;
  background:
    radial-gradient(closest-side, rgba(var(--lime-rgb), 0.55), transparent 70%) 70% 20% / 60% 60% no-repeat,
    radial-gradient(closest-side, rgba(var(--accent-bright-rgb), 0.28), transparent 72%) 30% 45% / 70% 70% no-repeat;
  filter: blur(30px);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--ink-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ink-rgb), 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
  pointer-events: none;
}

.hero__intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.hero__title {
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 14ch;
}

.hl {
  position: relative;
  white-space: nowrap;
  color: var(--accent);
}

.hl::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.04em;
  right: -0.08em;
  bottom: 0.06em;
  height: 0.32em;
  border-radius: 0.2em;
  background: var(--lime);
  transform: skewX(-12deg);
}

.hero__stamp {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  flex: none;
  padding-bottom: 0.35rem;
}

.hero__day {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  box-shadow: var(--shadow-sm);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 600;
}

.hero__desks {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
}

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(260px, auto) minmax(260px, auto);
  gap: var(--gap);
}

/* Lead: photo fills the tile, copy sits on a forest fade */
.blead {
  position: relative;
  grid-row: 1 / 3;
  min-height: 560px;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  background: var(--forest);
  isolation: isolate;
}

.blead__media {
  position: absolute !important;
  inset: 0;
  z-index: -2;
}

.blead::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--night-rgb), 0) 30%, rgba(var(--night-rgb), 0.55) 58%, rgba(var(--night-rgb), 0.94) 100%);
  pointer-events: none;
}

.blead__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(1.4rem, 3vw, 2.25rem);
}

.bento__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.bento__read {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.72);
}

.blead__title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 22ch;
}

.blead__dek {
  margin-top: 0.85rem;
  max-width: 58ch;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
}

.blead__go {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--forest);
  transition: transform 0.3s var(--ease);
}

.blead__go .arrow {
  width: 20px;
  height: 20px;
}

.blead:hover .blead__go {
  transform: rotate(45deg) scale(1.05);
}

/* Side: white card, photo beside copy */
.bside {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--rule-soft);
}

.bside__media {
  height: 100%;
  min-height: 260px;
}

.bside__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  padding: clamp(1.1rem, 2vw, 1.6rem);
}

.bside__title {
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.12;
}

.bside__dek {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bside__date {
  margin-top: auto;
}

/* Note: forest tile, text only */
.bnote {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  padding: clamp(1.2rem, 2vw, 1.6rem);
  border-radius: var(--r-lg);
  background: var(--forest);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.bnote__mark {
  position: absolute;
  z-index: -1;
  top: 0.02em;
  right: 0.12em;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--lime);
  opacity: 0.22;
}

.bnote__title {
  font-size: 1.2rem;
  line-height: 1.15;
}

.bnote__dek {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--on-dark-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bnote__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--lime);
}

/* Market pulse: lime tile with a live mini chart */
.pulse {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.1rem, 2vw, 1.4rem);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--lime-0) 0%, var(--lime) 55%, var(--lime-2) 100%);
  color: var(--forest);
  overflow: hidden;
}

.pulse__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pulse__title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pulse__title .live-dot {
  background: var(--forest);
}
.pulse__title .live-dot::after {
  border-color: var(--forest);
}

.pulse__win {
  font-family: var(--f-mono);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.pulse__chart {
  --half: 30px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 0.6rem 0.5rem 0.2rem;
  border-radius: var(--r-sm);
  background: rgba(var(--forest-rgb), 0.07);
}

.pulse__col {
  position: relative;
  height: calc(var(--half) * 2 + 16px);
}

.pulse__col::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: var(--half);
  height: 1px;
  background: rgba(var(--forest-rgb), 0.35);
}

.pulse__bar {
  position: absolute;
  left: 18%;
  right: 18%;
  min-height: 2px;
  height: calc(var(--half) * var(--h) / 100);
  border-radius: 3px;
  background: var(--forest);
}

.pulse__col.is-up .pulse__bar,
.pulse__col.is-flat .pulse__bar {
  bottom: calc(100% - var(--half));
}

.pulse__col.is-down .pulse__bar {
  top: var(--half);
  background: var(--down);
}

.pulse__code {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  font-family: var(--f-mono);
  font-size: 0.5rem;
  font-weight: 700;
  opacity: 0.7;
}

.pulse__list {
  display: grid;
  gap: 0.15rem;
}

.pulse__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 0.6rem;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(var(--forest-rgb), 0.14);
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.pulse__sym {
  font-weight: 600;
  opacity: 0.75;
}

.pulse__val {
  font-weight: 700;
}

.pulse__chg {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.12rem 0.38rem;
  border-radius: 6px;
  background: rgba(var(--forest-rgb), 0.1);
}
.pulse__chg.is-down {
  color: #a8261c;
  background: rgba(210, 69, 58, 0.14);
}

.pulse__row--idle {
  display: block;
  opacity: 0.7;
}

.pulse__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

/* Trending strip */
.trending {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  margin-top: var(--gap);
  padding: 1.1rem 1.5rem;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--rule-soft);
  box-shadow: var(--shadow-sm);
}

.trending__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.trending__icon {
  width: 34px;
  height: 34px;
  padding: 9px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--lime);
}

.trending__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Fixed number column so every headline starts on the same line */
.trending__item {
  display: grid;
  grid-template-columns: 2.9rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding-inline: 1.25rem;
  border-left: 1px solid var(--rule-soft);
}

.trending__num {
  font-family: var(--f-head);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--accent);
}

.trending__item:hover .trending__num {
  color: var(--lime);
  -webkit-text-stroke-color: var(--forest);
}

.trending__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.trending__title {
  font-family: var(--f-sans);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── 9. The Markets — forest band, two glass desks ─────────────────────── */
.sec--forest {
  background-color: var(--forest);
  background-image:
    radial-gradient(circle at 88% 0%, rgba(var(--accent-bright-rgb), 0.38), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(var(--lime-rgb), 0.14), transparent 40%),
    linear-gradient(rgba(var(--on-dark-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--on-dark-rgb), 0.045) 1px, transparent 1px);
  background-size: auto, auto, 56px 56px, 56px 56px;
  color: var(--on-dark);
  overflow: hidden;
}

.sec--forest .shead__kicker,
.sec--forest [class*="__date"] {
  color: var(--on-dark-3);
}

.sec--forest .shead__more {
  background: transparent;
  border-color: var(--dark-line);
  color: var(--on-dark);
}
.sec--forest .shead__more:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest);
}

.sec--forest [class*="__media"] {
  background: var(--forest-2);
}

.markets__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  width: 100%;
  height: 55%;
  pointer-events: none;
}

.markets__line path {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  stroke-linejoin: round;
  opacity: 0.22;
  vector-effect: non-scaling-stroke;
}

.desks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
}

.desk {
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
  border-radius: var(--r-lg);
  background: rgba(var(--on-dark-rgb), 0.05);
  border: 1px solid var(--dark-line);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

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

.desk__name {
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.desk__kicker {
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  color: var(--on-dark-3);
}

.desk__more {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--dark-line);
  color: var(--lime);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.desk__more:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--forest);
}

.drow {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 84px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--dark-line);
}

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

.drow__num {
  align-self: start;
  padding-top: 0.2rem;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lime);
}

.drow__title {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}

.drow__media {
  width: 84px;
  aspect-ratio: 1;
  border-radius: 16px;
}

/* ── 10. Business — cinematic lead + compact cards ─────────────────────── */
.cinema {
  position: relative;
}

.cinema__media {
  aspect-ratio: 21 / 9;
  border-radius: var(--r-lg);
}

.cinema__card {
  position: absolute;
  left: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  width: min(540px, 48%);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: clamp(1.25rem, 2.4vw, 1.9rem);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 30px 60px -30px rgba(var(--night-rgb), 0.55);
}

.cinema__card::before {
  content: "";
  position: absolute;
  top: 1.6rem;
  bottom: 1.6rem;
  left: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, var(--accent), var(--lime));
}

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

.cinema__date {
  margin-left: auto;
}

.cinema__title {
  font-size: clamp(1.4rem, 2.3vw, 2.05rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.cinema__dek {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-2);
}

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

.compact {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 1.1rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--rule-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}

.compact:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--accent-rgb), 0.35);
}

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

.compact__date {
  margin-bottom: 0.4rem;
}

.compact__title {
  font-size: 1.08rem;
  line-height: 1.2;
}

/* ── 11. Politics — sticky side header, spread + rows ──────────────────── */
.sec--mint {
  background-color: var(--mint);
  background-image: radial-gradient(rgba(var(--accent-rgb), 0.16) 1px, transparent 1.4px);
  background-size: 22px 22px;
}

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

.split__head {
  position: sticky;
  top: calc(var(--masthead-h) + 2rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.split__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.split__eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.split__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.split__kicker {
  font-size: 1rem;
  color: var(--ink-2);
  max-width: 28ch;
}

.split__ornament {
  width: 150px;
  margin-top: 1.5rem;
}

.split__ornament circle {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1;
  opacity: 0.35;
}

.split__ornament circle:last-child {
  fill: var(--lime);
  stroke: none;
  opacity: 1;
}

.split__body {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

.spread {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}

.spread__media {
  height: 100%;
  min-height: 340px;
}

.spread__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding: clamp(1.25rem, 2.6vw, 2rem);
}

.spread__title {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.spread__dek {
  font-size: 0.875rem;
  color: var(--ink-2);
}

.spread__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
}

.hrows {
  padding: 0.35rem clamp(1rem, 2.4vw, 1.75rem);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.hrow {
  position: relative;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

.hrow:last-child {
  border-bottom: none;
}

.hrow__title {
  font-size: 1.15rem;
  line-height: 1.2;
}

/* Whole row is the click target */
.hrow__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hrow__go {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--accent);
  transition: background 0.2s, color 0.2s, transform 0.3s var(--ease);
}

.hrow:hover .hrow__go {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}

/* ── 12. Live board ────────────────────────────────────────────────────── */
.board-section {
  background:
    radial-gradient(circle at 12% 20%, rgba(var(--lime-rgb), 0.35), transparent 32%),
    radial-gradient(circle at 92% 90%, rgba(var(--accent-bright-rgb), 0.16), transparent 36%),
    var(--paper);
}

.board {
  --brow-grid: 52px minmax(96px, 1fr) minmax(150px, 2.6fr) 74px auto;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: 32px;
  padding: clamp(1.4rem, 3.5vw, 2.75rem);
  box-shadow: var(--shadow);
}

.board__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 1.5rem;
}

.board__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--mint);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  margin-bottom: 1rem;
}

.board__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: st-pulse 2.2s ease-in-out infinite;
}

.board__title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}

.board__sub {
  color: var(--ink-2);
  font-size: 0.875rem;
  max-width: 62ch;
}

.board__stamp {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--paper);
}

.board__stamp-label {
  font-family: var(--f-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.board__stamp-value {
  font-family: var(--f-mono);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
}

.board__stamp-note {
  font-size: 0.6875rem;
  color: var(--ink-3);
}

.board__callouts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  margin-bottom: 1.75rem;
}

.callout {
  position: relative;
  overflow: hidden;
  border-radius: var(--r);
  padding: 1.15rem 1.3rem;
  background: var(--forest);
  color: var(--on-dark);
}

.callout::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 12px, rgba(var(--lime-rgb), 0.16) 12px 13px);
}

.callout--worst {
  background: #fdeeea;
  color: #6d1c14;
}

.callout--worst::after {
  background: repeating-radial-gradient(circle, transparent 0 12px, rgba(210, 69, 58, 0.16) 12px 13px);
}

.callout__label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.45rem;
}

.callout__value {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.callout__value strong {
  font-family: var(--f-head);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.callout__value em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 0.875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.callout--best .callout__value em {
  color: var(--lime);
}

.callout__name {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  opacity: 0.8;
}

.board__scalerow {
  display: grid;
  grid-template-columns: var(--brow-grid);
  margin-bottom: 0.5rem;
}

.board__scale {
  grid-column: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  font-family: var(--f-mono);
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.board__scale > :first-child {
  text-align: left;
}

.board__scale > :last-child {
  text-align: right;
}

.board__scale-zero {
  color: var(--ink);
  text-align: center;
  padding-inline: 0.75rem;
}

.board__rows {
  border-top: 1px solid var(--rule-soft);
}

.brow {
  display: grid;
  grid-template-columns: var(--brow-grid);
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.5rem;
  margin-inline: -0.5rem;
  border-radius: 10px;
  border-bottom: 1px solid var(--rule-soft);
  font-variant-numeric: tabular-nums;
  transition: background 0.15s;
}

.brow:hover {
  background: var(--paper);
}

.brow__code {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  font-weight: 700;
}

.brow__name {
  font-size: 0.8125rem;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brow__track {
  position: relative;
  height: 18px;
  border-radius: 999px;
  background: var(--paper);
}

.brow__axis {
  position: absolute;
  left: 50%;
  top: -0.35rem;
  bottom: -0.35rem;
  width: 1px;
  background: var(--ink-3);
}

.brow__bar {
  position: absolute;
  top: 3px;
  bottom: 3px;
  min-width: 2px;
  border-radius: 999px;
  transition: width 0.5s var(--ease);
}

.brow__bar.is-up { background: linear-gradient(90deg, var(--accent), var(--accent-bright)); }
.brow__bar.is-down { background: linear-gradient(270deg, var(--down), #ef7a6b); }
.brow__bar.is-flat { background: var(--ink-3); }

.brow__chg {
  font-family: var(--f-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: right;
}

.brow__chg.is-up { color: var(--up); }
.brow__chg.is-down { color: var(--down); }
.brow__chg.is-flat { color: var(--ink-3); }

.brow__rate {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  color: var(--ink-2);
  text-align: right;
  white-space: nowrap;
}

.brow__rate-pre,
.brow__rate-code {
  color: var(--ink-3);
}

.board__empty {
  padding: 1.5rem 0;
  color: var(--ink-3);
  font-size: 0.875rem;
}

.board__foot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  margin-top: 1.5rem;
}

.board__crypto {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 0.9rem 1.2rem;
  border-radius: var(--r);
  background: var(--forest);
  color: var(--on-dark);
}

.board__crypto-label {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.05;
  max-width: 110px;
  color: var(--lime);
}

.coin {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-left: 1.25rem;
  border-left: 1px solid var(--dark-line);
  font-family: var(--f-mono);
  font-variant-numeric: tabular-nums;
}

.coin__code {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--on-dark-3);
}

.coin__price {
  font-size: 1.05rem;
  font-weight: 700;
}

.coin__chg {
  font-size: 0.6875rem;
  font-weight: 600;
}

.coin__chg.is-up { color: var(--up-light); }
.coin__chg.is-down { color: var(--down-light); }
.coin__chg.is-flat { color: var(--on-dark-3); }

.coin__win {
  color: var(--on-dark-3);
  font-weight: 400;
}

.board__note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
}

.board__note p {
  font-size: 0.75rem;
  color: var(--ink-3);
  max-width: 50ch;
  line-height: 1.55;
}

/* ── 13. Sport — rail of tall overlay cards ────────────────────────────── */
.rail-sec {
  padding-top: clamp(2rem, 4vw, 3rem);
}

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

.rail-nav__btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--rule-soft);
  background: var(--card);
  font-size: 0.95rem;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.rail-nav__btn:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--lime);
}

.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * var(--gap)) / 3.4);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  padding-bottom: 0.5rem;
}

.rail::-webkit-scrollbar {
  display: none;
}

.tallcard {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: #fff;
  background: var(--forest);
  scroll-snap-align: start;
  isolation: isolate;
}

.tallcard__media {
  position: absolute !important;
  inset: 0;
  z-index: -2;
}

.tallcard::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--night-rgb), 0) 40%, rgba(var(--night-rgb), 0.9) 100%);
  pointer-events: none;
}

.tallcard__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 1.35rem;
}

.tallcard__date {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff !important;
}

.tallcard__title {
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.15;
}

.tallcard__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* ── 14. Newsletter ────────────────────────────────────────────────────── */
.signup {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2.5rem, 5vw, 4rem);
}

/* One centred column: heading → form card → "inside every issue" row */
.signup__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: 40px;
  background-color: var(--forest);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(var(--accent-bright-rgb), 0.5), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(var(--lime-rgb), 0.2), transparent 45%),
    linear-gradient(rgba(var(--on-dark-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--on-dark-rgb), 0.045) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

/* Concentric rings, bottom right */
.signup__panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -180px;
  bottom: -260px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 30px, rgba(var(--lime-rgb), 0.1) 30px 31px);
  pointer-events: none;
}

.signup__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--dark-line);
  background: rgba(var(--on-dark-rgb), 0.05);
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.signup__eyebrow .live-dot {
  background: var(--lime);
}
.signup__eyebrow .live-dot::after {
  border-color: var(--lime);
}

.signup__title {
  font-size: clamp(2.8rem, 6.4vw, 5.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.signup__head {
  max-width: 760px;
}

.signup__sub {
  max-width: 62ch;
  margin: 1rem auto 0;
  font-size: 1.0625rem;
  color: var(--on-dark-2);
}

/* "Inside every issue" — a mini table of contents */
.signup__foot {
  width: 100%;
}

.signup__label {
  margin-bottom: 1rem;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}

.signup__inside {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  text-align: left;
}

.signup__inside li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(var(--on-dark-rgb), 0.05);
  border: 1px solid var(--dark-line);
  transition: background 0.2s, border-color 0.2s, transform 0.25s var(--ease);
}

.signup__inside li:hover {
  background: rgba(var(--on-dark-rgb), 0.09);
  border-color: rgba(var(--lime-rgb), 0.35);
  transform: translateY(-3px);
}

.signup__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--lime);
  color: var(--forest);
}

.signup__inside div {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.signup__inside strong {
  font-family: var(--f-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-dark);
}

.signup__inside div span {
  font-size: 0.8125rem;
  color: var(--on-dark-3);
}

.signup__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-top: 1.5rem;
}

.signup__tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--on-dark-2);
}

.signup__tags li::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  /* Tinted disc + tick drawn as a mask so it follows --lime */
  background: var(--lime);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill-opacity='.18'/%3E%3Cpath d='M5.08 8.21 7.17 10.08 10.92 5.92' fill='none' stroke='%23000' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='8' fill-opacity='.18'/%3E%3Cpath d='M5.08 8.21 7.17 10.08 10.92 5.92' fill='none' stroke='%23000' stroke-width='1.67' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}

/* Inbox preview peeking out behind the form card */
.signup__stage {
  position: relative;
  width: 100%;
  max-width: 580px;
  padding-top: 44px;
  text-align: left;
}

/* Peeks out past the card's top-right corner */
.signup__preview {
  position: absolute;
  top: 0;
  right: -90px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.9rem 1rem 1.6rem;
  border-radius: 20px;
  background: var(--forest-2);
  border: 1px solid var(--dark-line);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, 0.6);
  transform: rotate(5deg);
}

.signup__preview-bar {
  display: flex;
  gap: 5px;
}

.signup__preview-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dark-line);
}

.signup__preview-bar i:first-child {
  background: var(--lime);
}

.signup__preview-kicker {
  font-family: var(--f-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-dark-3);
}

.signup__preview svg {
  width: 100%;
  height: 54px;
}

.signup__preview .line {
  fill: none;
  stroke: var(--lime);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.signup__preview .area {
  fill: rgba(var(--lime-rgb), 0.14);
}

.signup__preview-line {
  height: 6px;
  width: 80%;
  border-radius: 999px;
  background: var(--dark-line);
}

.signup__preview-line--short {
  width: 52%;
}

.signup__card {
  position: relative;
  z-index: 1;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-radius: 28px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55);
}

.signup__card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.signup__card-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: var(--mint);
  color: var(--accent);
}

.signup__card-title {
  font-family: var(--f-head);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.signup__card-note {
  font-size: 0.8125rem;
  color: var(--ink-3);
}

/* Sender address + company name under the form */
.signup__legal {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink-3);
  text-align: center;
}

.signup__company {
  font-weight: 600;
}

/* CF7 — markup is owned by the plugin, so we only restyle it.
   Supports the current email + consent form and the optional
   .form-row / .form-topics / .form-freq groups described in the notes. */
.signup .hidden-fields-container,
.signup .screen-reader-response {
  display: none;
}

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

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

.signup .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

/* Shared field look */
.signup .wpcf7-text,
.signup .wpcf7-email,
.signup .wpcf7-select {
  width: 100%;
  font-family: var(--f-sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--rule-soft);
  border-radius: 14px;
  padding: 0.95rem 1.05rem;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.signup .wpcf7-select {
  padding-right: 2.6rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23767b80' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

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

.signup .wpcf7-text:focus,
.signup .wpcf7-select:focus {
  outline: none;
  background-color: var(--card);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14);
}

/* Optional two-up row (e.g. first name + reader type) */
.signup .form-row {
  margin-bottom: 0.75rem;
}

.signup .form-row p {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

/* Optional labelled groups */
.signup .form-group {
  margin-bottom: 1.1rem;
}

.signup .form-label {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Topics → toggle chips */
.signup .form-topics .wpcf7-checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

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

.signup .form-topics label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.95rem 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1.5px solid var(--rule-soft);
  background: var(--card);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

.signup .form-topics label:hover {
  border-color: var(--accent);
}

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

.signup .form-topics .wpcf7-list-item-label::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: var(--mint);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1;
  vertical-align: -0.2em;
}

.signup .form-topics label:has(input:checked) {
  background: var(--forest);
  border-color: var(--forest);
  color: #fff;
}

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

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

/* Frequency → segmented control */
.signup .form-freq .wpcf7-radio {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.3rem;
  padding: 0.3rem;
  border-radius: 16px;
  background: var(--paper);
  border: 1.5px solid var(--rule-soft);
}

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

.signup .form-freq label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 100%;
  padding: 0.7rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  color: var(--ink-3);
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.signup .form-freq .wpcf7-list-item-label::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 0.45rem;
  border-radius: 50%;
  border: 2px solid currentColor;
  vertical-align: 0;
}

.signup .form-freq label:has(input:checked) {
  background: var(--card);
  color: var(--accent-dark);
  box-shadow: var(--shadow-sm);
}

.signup .form-freq label:has(input:checked) .wpcf7-list-item-label::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--mint);
}

/* Email field, then a full-width button underneath */
.signup .form-fields p {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  position: relative;
}

.signup .form-fields .wpcf7-email {
  font-size: 1.0625rem;
  padding: 1.05rem 1rem 1.05rem 2.85rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2366786e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 1rem center;
}

.signup .form-fields .wpcf7-email:focus {
  outline: none;
  background-color: var(--card);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.14);
}

.signup .wpcf7-submit {
  width: 100%;
  font-family: var(--f-sans);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7'/%3E%3Cpath d='M8 7h9v9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  color: #fff;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  padding: 1.1rem 3rem;
  box-shadow: 0 14px 28px -16px rgba(var(--accent-rgb), 0.8);
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.18s, transform 0.18s;
}

.signup .wpcf7-submit:hover {
  background-color: var(--forest);
}

.signup .wpcf7-submit:active {
  transform: translateY(1px);
}

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

/* Sits inside the button, left of the label */
.signup .wpcf7-spinner {
  position: absolute;
  left: 1.1rem;
  bottom: 1.05rem;
  margin: 0;
  pointer-events: none;
}

/* ── Validation ───────────────────────────────────────────────────────── */

/* Invalid fields: coral border and wash, coral ring on focus */
.signup .wpcf7-not-valid.wpcf7-text,
.signup .wpcf7-not-valid.wpcf7-email,
.signup .wpcf7-not-valid.wpcf7-select {
  border-color: rgba(210, 69, 58, 0.55);
  background-color: #fff6f4;
}

.signup .wpcf7-not-valid.wpcf7-text:focus,
.signup .wpcf7-not-valid.wpcf7-email:focus,
.signup .wpcf7-not-valid.wpcf7-select:focus {
  border-color: var(--down);
  background-color: var(--card);
  box-shadow: 0 0 0 4px rgba(210, 69, 58, 0.14);
}

.signup .form-fields .wpcf7-email.wpcf7-not-valid {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23d2453a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='3'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
}

/* Field tip: small coral line with an alert badge */
.signup .wpcf7-not-valid-tip {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.5rem;
  padding-left: 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: #b4271c;
  animation: st-tip-in 0.25s var(--ease);
}

.signup .wpcf7-not-valid-tip::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--down) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M12 5v8'/%3E%3Cpath d='M12 19h.01'/%3E%3C/svg%3E") no-repeat center;
}

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

/* Invalid chip / segmented groups get a coral outline */
.signup .wpcf7-checkbox.wpcf7-not-valid label,
.signup .wpcf7-radio.wpcf7-not-valid {
  border-color: rgba(210, 69, 58, 0.55);
}


/* Consent checkbox */
.signup .form-privacy {
  margin-top: 1.35rem;
}

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

.signup .form-privacy label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  cursor: pointer;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-3);
  text-align: left;
}

.signup .form-privacy input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.05em;
  border-radius: 6px;
  border: 1.5px solid rgba(var(--ink-rgb), 0.3);
  background: var(--card);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.signup .form-privacy input[type="checkbox"]:checked {
  background-color: var(--accent);
  border-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.signup .form-privacy input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

/* Consent not given: coral box, tip lines up with the label text */
.signup .wpcf7-acceptance.wpcf7-not-valid input[type="checkbox"] {
  border-color: var(--down);
  background-color: #fff6f4;
  box-shadow: 0 0 0 3px rgba(210, 69, 58, 0.14);
}

.signup .form-privacy .wpcf7-not-valid-tip {
  position: relative;
  margin-top: 0.45rem;
  padding-left: calc(20px + 0.7rem);
}

/* Badge sits centred under the checkbox */
.signup .form-privacy .wpcf7-not-valid-tip::before {
  position: absolute;
  left: 2px;
}

/* ── Response banner ──────────────────────────────────────────────────────
   Error (invalid, unaccepted, failed) · Warning (spam, aborted) · Success (sent) */
.signup .wpcf7-response-output {
  --rb-bg: #fdeeea;
  --rb-line: #f5cdc6;
  --rb-ink: #8f2219;
  --rb-badge: var(--down);
  --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M12 5v8'/%3E%3Cpath d='M12 19h.01'/%3E%3C/svg%3E");
  display: none;
  position: relative;
  width: 100%;
  margin: 1.25rem 0 0 !important;
  padding: 0.9rem 1rem 0.9rem 3.15rem;
  border: 1px solid var(--rb-line) !important;
  border-radius: 14px;
  background: var(--rb-bg);
  color: var(--rb-ink);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  animation: st-tip-in 0.3s var(--ease);
}

.signup .wpcf7-form.invalid .wpcf7-response-output,
.signup .wpcf7-form.unaccepted .wpcf7-response-output,
.signup .wpcf7-form.payment-required .wpcf7-response-output,
.signup .wpcf7-form.spam .wpcf7-response-output,
.signup .wpcf7-form.aborted .wpcf7-response-output,
.signup .wpcf7-form.failed .wpcf7-response-output,
.signup .wpcf7-form.sent .wpcf7-response-output {
  display: block;
}

/* Hard failure: cross instead of exclamation */
.signup .wpcf7-form.failed .wpcf7-response-output {
  --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.6' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}

.signup .wpcf7-form.spam .wpcf7-response-output,
.signup .wpcf7-form.aborted .wpcf7-response-output {
  --rb-bg: #fff6df;
  --rb-line: #f1dc9f;
  --rb-ink: #6e4a00;
  --rb-badge: #e0a100;
}

.signup .wpcf7-form.sent .wpcf7-response-output {
  --rb-bg: var(--mint);
  --rb-line: var(--mint-2);
  --rb-ink: var(--accent-dark);
  --rb-badge: var(--accent);
  --rb-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17 19 7'/%3E%3C/svg%3E");
}

/* While sending: dim the button */
.signup .wpcf7-form.submitting .wpcf7-submit {
  opacity: 0.75;
  cursor: progress;
}

/* ── 15. Archive, search & card grids ──────────────────────────────────── */
.archive-main,
.page-main,
.error-main {
  padding: clamp(1.75rem, 3.5vw, 3rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.archive-head {
  position: relative;
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 32px;
  background-color: var(--forest);
  background-image:
    radial-gradient(circle at 85% 0%, rgba(var(--accent-bright-rgb), 0.45), transparent 45%),
    radial-gradient(circle at 10% 100%, rgba(var(--lime-rgb), 0.16), transparent 40%),
    linear-gradient(rgba(var(--on-dark-rgb), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--on-dark-rgb), 0.045) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  color: var(--on-dark);
  overflow: hidden;
}

.archive-head__eyebrow,
.page-head__eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--lime);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  margin-bottom: 1rem;
}

.archive-head__title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(2.75rem, 8vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.archive-head__title--query {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 5vw, 4rem);
}

.archive-head__desc {
  max-width: 60ch;
  margin: 1rem auto 0;
  color: var(--on-dark-2);
}

.archive-head__count {
  margin-top: 0.85rem;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--on-dark-3);
}

/* Split feature card (archive lead) */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}

.feature--list {
  margin-bottom: 2.25rem;
}

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

.feature__body {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3.5vw, 2.75rem);
}

.feature__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 1rem;
}

.feature__title {
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.feature__dek {
  margin-top: 1rem;
  max-width: 54ch;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-2);
}

.feature__foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  color: var(--ink-3);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2rem) var(--gap);
}

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.65rem 0.65rem 1.1rem;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--rule-soft);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.post-card__media {
  aspect-ratio: 16 / 11;
  margin-bottom: 0.95rem;
  border-radius: var(--r-sm);
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-inline: 0.45rem;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.post-card__title {
  font-size: 1.2rem;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.post-card__excerpt {
  font-size: 0.8125rem;
  color: var(--ink-2);
  margin-bottom: 0.9rem;
}

.post-card__foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--rule-soft);
  margin-top: auto;
}

.post-card__read {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent);
  margin-left: auto;
}

/* Pagination */
.pagination {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

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

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 1rem;
  border: 1px solid var(--rule-soft);
  background: var(--card);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 0.75rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

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

.pagination .page-numbers.current {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--lime);
}

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

.pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.no-results {
  padding: clamp(3rem, 8vw, 6rem) 0;
  text-align: center;
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  font-family: var(--f-head);
  font-size: 1.35rem;
  line-height: 1.2;
}

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

.reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--lime));
  border-radius: 0 4px 4px 0;
}

.single-main {
  padding: clamp(2rem, 4.5vw, 3.5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.article-head {
  max-width: 940px;
  margin: 0 auto 2rem;
  text-align: center;
}

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

.article-head__meta .pill {
  align-self: center;
}

.article-head__read {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--ink-3);
}

.article-head__title {
  font-size: clamp(2.1rem, 4.8vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.article-head__dek {
  max-width: 62ch;
  margin: 1.2rem auto 0;
  font-size: 1.125rem;
  color: var(--ink-2);
}

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

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

.article-hero__caption {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: var(--ink-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: 720px;
  width: 100%;
  justify-self: center;
}

/* Article body */
.article-content {
  font-size: 1.0625rem;
  line-height: 1.78;
  color: var(--ink-body);
}

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

/* Drop cap on stories only — static pages (privacy, terms…) start plain */
.single-article .article-content > p:first-child::first-letter {
  float: left;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 4.4em;
  line-height: 0.82;
  padding: 0.06em 0.12em 0 0;
  color: var(--accent);
}

.article-content h2 {
  font-size: 1.75rem;
  line-height: 1.1;
  margin-top: 2.5rem;
}

.article-content h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
}

.article-content h4 {
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1.75rem;
}

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

.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.62em;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--mint);
}

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

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

.article-content ol li::marker {
  font-family: var(--f-mono);
  font-weight: 700;
  color: var(--accent);
}

.article-content blockquote {
  margin-block: 2rem;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--mint);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

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

.article-content figcaption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--ink-3);
}

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

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

.article-content th {
  border-bottom: 2px solid var(--accent);
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-content code {
  font-family: var(--f-mono);
  font-size: 0.85em;
  background: var(--mint);
  padding: 0.15em 0.4em;
  border-radius: 5px;
}

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

.article-tags__label {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 0.35rem;
}

.article-tags a {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  background: var(--card);
  border: 1px solid var(--rule-soft);
  border-radius: 999px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.article-tags a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: 2.5rem;
}

.article-nav__side {
  padding: 1.15rem 1.3rem;
  border-radius: var(--r);
  background: var(--card);
  border: 1px solid var(--rule-soft);
}

.article-nav__side:empty {
  visibility: hidden;
}

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

.article-nav__label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.article-nav__link {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
.article-nav__link:hover {
  color: var(--accent);
}

.related {
  margin-top: clamp(3rem, 6vw, 5rem);
}

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

.aside-panel {
  padding: 1.25rem 1.25rem 0.5rem;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--rule-soft);
}

.aside-panel__heading {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule-soft);
}

.dot {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
}

.dot--aside {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule-soft);
}

.dot--aside:last-child {
  border-bottom: none;
}

.dot__media {
  width: 64px;
  aspect-ratio: 1;
  border-radius: var(--r-sm);
}

.dot__date {
  margin-bottom: 0.25rem;
}

.dot__title {
  font-family: var(--f-sans);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0;
}

.aside-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1.5rem;
  border-radius: var(--r-lg);
  background-color: var(--forest);
  background-image: radial-gradient(circle at 100% 0%, rgba(var(--accent-bright-rgb), 0.5), transparent 55%);
  color: var(--on-dark);
  overflow: hidden;
}

.aside-cta__eyebrow {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  color: var(--lime);
}

.aside-cta__title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.aside-cta__btn {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  background: var(--lime);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  transition: background 0.15s, color 0.15s;
}

.aside-cta:hover .aside-cta__btn {
  background: #fff;
}

/* ── 17. Page & 404 ────────────────────────────────────────────────────── */
.page-head {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--rule-soft);
}

.page-head__title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

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

.page-hero img {
  border-radius: var(--r-lg);
}

.error-page {
  text-align: center;
  padding-block: clamp(1rem, 4vw, 3rem);
}

.error-page__code {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(6rem, 22vw, 13rem);
  line-height: 0.8;
  letter-spacing: -0.07em;
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
}

.error-page__title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.error-page__desc {
  color: var(--ink-2);
  max-width: 52ch;
  margin-inline: auto;
  margin-bottom: 1.75rem;
}

.error-recent {
  margin-top: 3.5rem;
  text-align: left;
}

.error-recent__heading {
  font-size: 1.45rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule-soft);
}

/* ── 18. Footer ────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background-color: var(--night);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(var(--accent-bright-rgb), 0.22), transparent 60%);
  color: var(--on-dark);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.footer-frame {
  border: 1px solid var(--dark-line);
  border-radius: 32px;
  padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.25rem, 3.5vw, 2.75rem);
  background: rgba(var(--on-dark-rgb), 0.025);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.footer-logo-link,
.footer-logo-text {
  display: inline-block;
  margin-bottom: 1.1rem;
}

/* Height comes from Customizer → Footer (--footer-logo-h, 45px minimum) */
.footer-logo-link img,
.footer-brand img {
  height: var(--footer-logo-h, 45px);
  max-height: none;
  width: auto;
  max-width: 100%;
}

/* No light "Footer Logo" set in the Customizer: knock the site logo out to white */
.footer-logo-link .custom-logo,
.drawer__logo .custom-logo {
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--on-dark);
}

.footer-brand__desc {
  font-family: var(--f-head);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  max-width: 24ch;
  margin-bottom: 1.1rem;
}

.footer-brand__disclaimer {
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--on-dark-3);
  max-width: 48ch;
}

.footer-col__title {
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.footer-col__list li + li {
  margin-top: 0.7rem;
}

.footer-col__list a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-dark-2);
  transition: color 0.15s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--dark-line);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--on-dark-3);
}

.footer-copy a {
  color: var(--on-dark-2);
}
.footer-copy a:hover,
.footer-top-link:hover {
  color: var(--lime);
}

.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--dark-line);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--on-dark-2);
}

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

/* ── 19. Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .blead {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 520px;
  }
  .bside {
    grid-column: 1 / -1;
  }
  .trending {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .trending__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 1.1rem;
  }
  .trending__item:nth-child(odd) {
    padding-left: 0;
    border-left: none;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .split__head {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.75rem 2rem;
  }
  .split__eyebrow,
  .split__title,
  .split__kicker {
    grid-column: 1;
  }
  .split__head .btn {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: end;
  }
  .split__ornament {
    display: none;
  }
  .rail {
    grid-auto-columns: calc((100% - 2 * var(--gap)) / 2.5);
  }
}

@media (max-width: 960px) {
  .masthead__nav {
    display: none;
  }
  .masthead__inner {
    grid-template-columns: auto 1fr;
  }
  .masthead__actions {
    justify-self: end;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 900px) {
  :root {
    --gut: 20px;
  }
  .hero__intro {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero__stamp {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }
  .desks {
    grid-template-columns: 1fr;
  }
  .cinema__media {
    aspect-ratio: 16 / 10;
  }
  .cinema__card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -4rem 1rem 0;
  }
  .spread {
    grid-template-columns: 1fr;
  }
  .spread__media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .board__head {
    grid-template-columns: 1fr;
  }
  .board__stamp {
    text-align: left;
    flex-direction: row;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-self: start;
  }
  .board__foot {
    grid-template-columns: 1fr;
  }
  .board__note {
    justify-content: space-between;
  }
  .signup__inside {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-inline: auto;
  }
  .signup__preview {
    right: -20px;
    width: 260px;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature__media {
    aspect-ratio: 16 / 10;
  }
  .feature__meta {
    margin-top: 0;
  }
  .feature__dek {
    margin-bottom: 0;
  }
  .feature__foot {
    margin-top: 1.25rem;
  }
  .single-layout {
    grid-template-columns: 1fr;
  }
  .single-aside {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: start;
  }
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .post-card__excerpt {
    display: none;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .board {
    --brow-grid: 46px minmax(0, 1fr) 64px;
  }
  .brow__name {
    display: none;
  }
  .brow__track {
    grid-column: 2;
  }
  .brow__rate {
    grid-column: 1 / -1;
    text-align: left;
    padding-bottom: 0.25rem;
  }
  .board__scale {
    grid-column: 2;
  }
  .board__callouts {
    grid-template-columns: 1fr;
  }
  .compact-grid {
    grid-template-columns: 1fr;
  }
  .article-nav {
    grid-template-columns: 1fr;
  }
  .article-nav__side--next {
    text-align: left;
  }
}

@media (max-width: 640px) {
  :root {
    --gut: 16px;
    --gap: 12px;
  }
  .masthead__sub {
    display: none;
  }
  /* Big custom heights would push the buttons off a phone screen */
  .masthead__brand img {
    height: min(var(--logo-h, 45px), 45px);
  }
  .shead {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.9rem;
  }
  .shead__side {
    width: 100%;
    justify-content: space-between;
  }
  .hero__desks {
    display: none;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .blead {
    min-height: 460px;
    border-radius: var(--r);
  }
  .bside {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .bside__media {
    min-height: 0;
  }
  .bside__title {
    font-size: 1.1rem;
  }
  .bnote__dek {
    -webkit-line-clamp: 4;
  }
  .trending {
    padding: 1rem 1.1rem;
  }
  .trending__list {
    grid-template-columns: 1fr;
  }
  .trending__item:nth-child(n) {
    padding: 0.9rem 0 0;
    border-left: none;
    border-top: 1px solid var(--rule-soft);
  }
  .trending__item:first-child {
    padding-top: 0;
    border-top: none;
  }
  .desk__more {
    width: 40px;
    height: 40px;
  }
  .drow {
    grid-template-columns: 1.6rem minmax(0, 1fr) 64px;
    gap: 0.75rem;
  }
  .drow__media {
    width: 64px;
    border-radius: 12px;
  }
  .cinema__card {
    margin: -2.5rem 0.6rem 0;
  }
  .compact {
    grid-template-columns: 104px minmax(0, 1fr);
  }
  .split__head {
    grid-template-columns: 1fr;
  }
  .split__head .btn {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .hrow {
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 0.3rem 0.75rem;
  }
  .hrow__date {
    grid-column: 1;
  }
  .hrow__title {
    grid-column: 1;
    font-size: 1.05rem;
  }
  .hrow__go {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 36px;
    height: 36px;
  }
  .rail {
    grid-auto-columns: 78%;
  }
  .board__note {
    flex-direction: column;
    align-items: flex-start;
  }
  .board__crypto-label {
    max-width: none;
    width: 100%;
  }
  .coin:first-of-type {
    padding-left: 0;
    border-left: none;
  }
  .signup__panel {
    border-radius: 28px;
    padding: 1.75rem 1.1rem 1.1rem;
  }
  .signup__stage {
    padding-top: 0;
  }
  .signup__preview {
    display: none;
  }
  .signup__card {
    border-radius: 22px;
    padding: 1.25rem;
  }
  .signup .form-row p {
    grid-template-columns: 1fr;
  }
  .signup .form-freq .wpcf7-radio {
    grid-auto-flow: row;
  }
  .single-aside {
    grid-template-columns: 1fr;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    gap: 1.75rem 1.25rem;
  }
}

@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.is-animating {
    animation: none;
  }
  .ticker__viewport {
    overflow-x: auto;
  }
}
