/* ==========================================================================
   Sovereign Terminal — main.css
   Ember: warm cream paper, an espresso-brown "screen" frame around the top
   of every page, a tangerine accent, notched list rows and hand-drawn notes.
   Outfit (headlines, figures) · DM Sans (UI, prose) · Caveat (margin notes)
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Paper */
  --bg: #f6eee2;
  --bg-2: #eee1cd;
  --frame-bg: #fbf5ec;
  --surface: #fffaf3;
  --surface-2: #fbf3e7;

  /* Espresso */
  --ink: #2b1a10;
  --ink-2: #1e120a;
  --ink-3: #3d281a;
  --ink-rgb: 43, 26, 16;
  --cream: #fbf3e6;
  --cream-rgb: 251, 243, 230;

  /* Text */
  --text: #24160d;
  --text-rgb: 36, 22, 13;
  --text-2: #6a5545;
  --text-3: #9b8574;
  --text-prose: #3a2a1f;
  --line: rgba(var(--text-rgb), 0.09);
  --line-strong: rgba(var(--text-rgb), 0.18);

  /* Tangerine */
  --acc: #f5891f;
  --acc-rgb: 245, 137, 31;
  --acc-deep: #c9610a;
  --acc-soft: #fbc88d;
  --acc-tint: #fde7cd;
  --hot: #ef6a14;
  --peach: #f9cf9c;
  --peach-band: #f8dcb7;

  /* Market semantics */
  --up: #1d8a4e;
  --up-rgb: 29, 138, 78;
  --down: #d2432b;
  --down-rgb: 210, 67, 43;
  --warn: #c98a12;

  /* Type */
  --f-head: "Outfit", "DM Sans", system-ui, sans-serif;
  --f-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;

  /* Layout */
  --wrap: 1240px;
  --gut: 24px;
  --bezel: 12px;
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --notch: 16px;
  --shadow: 0 18px 40px -24px rgba(var(--ink-rgb), 0.35);
  --shadow-lg: 0 40px 80px -36px rgba(var(--ink-rgb), 0.55);
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

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

/* Olive grove */
:root[data-scheme="emerald"] {
  --bg: #f2f0e4;
  --bg-2: #e5e3d0;
  --frame-bg: #f9f8ef;
  --surface: #fdfdf6;
  --surface-2: #f5f4e8;
  --ink: #1f2a17;
  --ink-2: #151d0f;
  --ink-3: #2f3d24;
  --ink-rgb: 31, 42, 23;
  --text: #1c2414;
  --text-rgb: 28, 36, 20;
  --text-2: #56604a;
  --text-3: #8b9380;
  --text-prose: #2c3523;
  --acc: #a6c53f;
  --acc-rgb: 166, 197, 63;
  --acc-deep: #62801a;
  --acc-soft: #d5e7a2;
  --acc-tint: #eef5d8;
  --hot: #789a1c;
  --peach: #dbe9b4;
  --peach-band: #e3edc4;
}

/* Terracotta */
:root[data-scheme="sunset"] {
  --bg: #f7ebe3;
  --bg-2: #efdacd;
  --frame-bg: #fcf5f0;
  --surface: #fffaf6;
  --surface-2: #fbf1ea;
  --ink: #3a1711;
  --ink-2: #2a0e0a;
  --ink-3: #4d241b;
  --ink-rgb: 58, 23, 17;
  --text: #2e130e;
  --text-rgb: 46, 19, 14;
  --text-2: #6f4c43;
  --text-3: #a3837a;
  --text-prose: #44241d;
  --acc: #e4643c;
  --acc-rgb: 228, 100, 60;
  --acc-deep: #b5401c;
  --acc-soft: #f3b59c;
  --acc-tint: #fbe1d6;
  --hot: #d24a22;
  --peach: #f5c4ae;
  --peach-band: #f6d3c3;
}

/* Harbour ink */
:root[data-scheme="graphite"] {
  --bg: #f1efe9;
  --bg-2: #e3e0d6;
  --frame-bg: #f9f8f4;
  --surface: #fdfcf9;
  --surface-2: #f5f3ee;
  --ink: #16233a;
  --ink-2: #0e182a;
  --ink-3: #23344f;
  --ink-rgb: 22, 35, 58;
  --text: #141e30;
  --text-rgb: 20, 30, 48;
  --text-2: #4f5a6c;
  --text-3: #8a93a2;
  --text-prose: #26324a;
  --acc: #f2a93b;
  --acc-rgb: 242, 169, 59;
  --acc-deep: #b97410;
  --acc-soft: #f8d39a;
  --acc-tint: #fdefd6;
  --hot: #e28d10;
  --peach: #f7d9a8;
  --peach-band: #f3e2c2;
}

/* Plum velvet */
:root[data-scheme="plum"] {
  --bg: #f6eef0;
  --bg-2: #ecdde2;
  --frame-bg: #fcf6f7;
  --surface: #fffafb;
  --surface-2: #faf1f3;
  --ink: #2e1433;
  --ink-2: #210c25;
  --ink-3: #432049;
  --ink-rgb: 46, 20, 51;
  --cream: #fbf1f4;
  --cream-rgb: 251, 241, 244;
  --text: #26102a;
  --text-rgb: 38, 16, 42;
  --text-2: #6b4f6e;
  --text-3: #a0879f;
  --text-prose: #3c2240;
  --acc: #e5517f;
  --acc-rgb: 229, 81, 127;
  --acc-deep: #b52c58;
  --acc-soft: #f4afc4;
  --acc-tint: #fce1ea;
  --hot: #d63a6a;
  --peach: #f6c3d2;
  --peach-band: #f7d3de;
}

/* ── 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: 24px;
  background: var(--ink-2);
}

body {
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

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-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

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

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

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

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

/* ── 3. Layout primitives ──────────────────────────────────────────────── */
.sheet {
  position: relative;
  isolation: isolate;
  padding-bottom: clamp(4rem, 8vw, 6.5rem);
  background: var(--bg);
  overflow: clip;
}

/* Tangerine shapes peeking in from both page edges, as in a poster */
.sheet__blob {
  position: absolute;
  z-index: -1;
  width: clamp(180px, 22vw, 320px);
  height: clamp(260px, 32vw, 460px);
  background: linear-gradient(160deg, var(--acc-soft), var(--acc));
  opacity: 0.9;
  pointer-events: none;
}

.sheet__blob--l {
  top: 420px;
  left: clamp(-240px, -14vw, -120px);
  border-radius: 46% 54% 40% 60% / 55% 40% 60% 45%;
  transform: rotate(-18deg);
}

.sheet__blob--r {
  top: 560px;
  right: clamp(-250px, -15vw, -130px);
  border-radius: 60% 40% 55% 45% / 40% 60% 40% 60%;
  transform: rotate(24deg);
}

.site-main {
  position: relative;
  isolation: isolate;
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

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

.sec {
  position: relative;
  padding-top: clamp(4.5rem, 9vw, 7rem);
}

.sec-band {
  position: relative;
  margin-top: clamp(4.5rem, 9vw, 7rem);
  padding-block: clamp(4rem, 8vw, 6rem);
}

/* The "screen": cream panel inside an espresso bezel, hanging off the masthead */
.frame {
  position: relative;
  background: var(--frame-bg);
  border: var(--bezel) solid var(--ink);
  border-top: 0;
  border-bottom: 0;
  overflow: hidden;
}

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

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

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

.media__fallback {
  padding: 1rem;
  font-family: var(--f-head);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}

/* Whole-card links: the headline link stretches over its positioned card */
.lead-card,
.tile,
.duo__lead,
.mini,
.hcard,
.mosaic__lead,
.sq,
.post-card,
.feature,
.row,
.biz__more li {
  position: relative;
}

.lead-card__title a::after,
.tile__title a::after,
.duo__title a::after,
.mini__title a::after,
.hcard__title a::after,
.mosaic__title a::after,
.sq__title a::after,
.post-card__title a::after,
.feature__title a::after,
.row__title a::after,
.biz__mini-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.lead-card .pill,
.duo__lead .pill,
.post-card .pill,
.feature .btn {
  position: relative;
  z-index: 2;
}

/* Headline underline on hover */
.lead-card__title a,
.tile__title a,
.duo__title a,
.mini__title a,
.hcard__title a,
.mosaic__title a,
.sq__title a,
.post-card__title a,
.feature__title a,
.row__title a,
.biz__title a,
.biz__mini-title a,
.acc__title a {
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  transition: background-size 0.35s var(--ease);
}

.lead-card:hover .lead-card__title a,
.tile:hover .tile__title a,
.duo__lead:hover .duo__title a,
.mini:hover .mini__title a,
.hcard:hover .hcard__title a,
.mosaic__lead:hover .mosaic__title a,
.sq:hover .sq__title a,
.post-card:hover .post-card__title a,
.feature:hover .feature__title a,
.row:hover .row__title a,
.biz__title a:hover,
.biz__more li:hover .biz__mini-title a {
  background-size: 100% 2px;
}

.lead-card:hover img,
.tile:hover img,
.duo__lead:hover img,
.mini:hover img,
.hcard:hover img,
.mosaic__lead:hover img,
.sq:hover img,
.post-card:hover img,
.feature:hover img,
.biz__visual:hover .biz__media img {
  transform: scale(1.05);
}

/* Line clamps */
.tile__title,
.mini__title,
.sq__title,
.row__title,
.biz__mini-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.hcard__dek,
.post-card__excerpt,
.mosaic__dek {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.hcard__dek {
  -webkit-line-clamp: 2;
}

/* ── 4. Buttons, pills, chips, meta, arrows, section heads ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn .icon {
  transition: transform 0.25s var(--ease);
}

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

.btn--fill {
  background: var(--acc);
  color: var(--ink);
  box-shadow: 0 14px 26px -16px rgba(var(--acc-rgb), 0.95);
}

.btn--fill:hover {
  background: var(--hot);
}

.btn--dark {
  background: var(--ink);
  color: var(--cream);
  border-radius: 16px;
}

.btn--dark:hover {
  background: var(--ink-3);
}

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

.btn--white:hover {
  background: #fff;
}

.btn--line {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--line:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--sm {
  min-height: 44px;
  padding: 0 1.2rem;
  font-size: 0.86rem;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--acc);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--ink);
  transition: background-color 0.2s, color 0.2s;
}

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

.pill--line {
  border: 1px solid currentColor;
  background: transparent;
  color: var(--acc);
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-2);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.85rem;
}

.meta__date,
.meta__read {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-3);
}

.meta__read::before {
  content: "·";
  margin-right: 0.85rem;
}

.meta--inv .meta__date,
.meta--inv .meta__read {
  color: rgba(var(--cream-rgb), 0.6);
}

.arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--ink);
  transition: transform 0.3s var(--ease), background-color 0.2s, color 0.2s;
}

.arrow--dark {
  width: 34px;
  height: 34px;
  background: var(--ink);
  color: var(--cream);
}

.tile:hover .arrow,
.post-card:hover .arrow,
.row:hover .arrow {
  background: var(--acc);
  color: var(--ink);
  transform: rotate(45deg);
}

/* Spaced capitals over the hero and the call-to-action */
.kicker-caps {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-2);
}

.kicker-caps--inv {
  color: rgba(var(--cream-rgb), 0.65);
}

/* Two overlapping dots before every eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.eyebrow__dots {
  display: inline-block;
  flex: none;
  width: 22px;
  height: 12px;
  background:
    radial-gradient(circle at 6px 6px, var(--hot) 5.5px, transparent 6px),
    radial-gradient(circle at 15px 6px, var(--acc-soft) 5.5px, transparent 6px);
}

.accent {
  font-style: normal;
  color: var(--hot);
}

svg.burst {
  display: inline-block;
  width: 0.42em;
  height: 0.42em;
  margin-left: 0.06em;
  vertical-align: 0.62em;
  color: var(--ink);
}

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

.shead__titles {
  max-width: 720px;
}

.shead__title {
  margin-top: 0.55rem;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.shead__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  flex: none;
  max-width: 400px;
}

.shead__kicker {
  font-size: 0.98rem;
  line-height: 1.6;
  text-align: right;
  color: var(--text-2);
}

.shead--left,
.shead--center {
  flex-direction: column;
  align-items: flex-start;
}

.shead--left .shead__side,
.shead--center .shead__side {
  align-items: flex-start;
  max-width: 560px;
}

.shead--left .shead__kicker {
  text-align: left;
}

.shead--center {
  align-items: center;
  text-align: center;
}

.shead--center .shead__side {
  align-items: center;
}

.shead--center .shead__kicker {
  text-align: center;
}

.shead--inv .eyebrow,
.shead--inv .shead__title {
  color: var(--cream);
}

.shead--inv .shead__kicker {
  color: rgba(var(--cream-rgb), 0.72);
}

.shead--inv .burst {
  color: var(--acc-soft);
}

/* Hand-drawn notes and doodles */
.squiggle {
  color: var(--ink);
}

/* Range slider shared by the calculator */
.range {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--acc) var(--fill, 50%), var(--bg-2) var(--fill, 50%));
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.range::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  border: 6px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 4px 10px rgba(var(--ink-rgb), 0.3);
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.15s;
}

.range::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border: 6px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
}

.range:active::-webkit-slider-thumb {
  transform: scale(1.12);
}

.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-2);
}

.seg__btn {
  flex: 1;
  min-height: 40px;
  padding: 0 0.4rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-2);
  transition: background-color 0.2s, color 0.2s;
}

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

.seg__btn[aria-pressed="true"] {
  background: var(--ink);
  color: var(--cream);
}

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

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

@keyframes st-pulse {
  0% { opacity: 0.7; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(1.5); }
}

/* ── 5. Rate strip ─────────────────────────────────────────────────────── */
.ratebar {
  padding: 0.8rem 0 0.9rem;
}

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

.ratebar__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* Marquee: the list is printed twice in one track that slides by half its
   width, so the loop is seamless. Hover pauses it. */
.ratebar__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 92%, transparent);
}

.ratebar__track {
  display: flex;
  width: max-content;
  animation: st-marquee var(--marquee-time, 45s) linear infinite;
}

.ratebar__viewport:hover .ratebar__track {
  animation-play-state: paused;
}

.ratebar__list {
  display: flex;
  flex: none;
  gap: 0.45rem;
  padding-right: 0.45rem;
}

@media (max-width: 640px) {
  .ratebar__flag {
    gap: 0;
    font-size: 0;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .ratebar__viewport {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ratebar__track {
    animation: none !important;
  }

  .ratebar__list[aria-hidden="true"] {
    display: none;
  }
}

.cap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
  padding: 0.32rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.76rem;
  white-space: nowrap;
}

.cap__sym {
  font-weight: 700;
}

.cap__val {
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
}

.cap__chg {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

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

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

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

/* ── 6. Masthead — the top edge of the frame ───────────────────────────── */
.masthead {
  position: relative;
  z-index: 50;
}

.masthead__bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 84px;
  padding: 0.85rem 0.85rem 0.85rem 1rem;
  border-radius: 30px 30px 0 0;
  background: var(--ink);
  color: var(--cream);
}

.masthead__brand {
  flex: none;
}

/* The logo is dark ink on light, so it rides in a cream capsule */
/* No backing: the logo sits straight on the dark bar — use a light version. */
.masthead__logo,
.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.masthead__logo a,
.footer-logo-link a {
  display: block;
}

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

.drawer__logo img,
.drawer__logo-img {
  height: 40px;
}

.site-logo,
.footer-logo-text {
  font-family: var(--f-head);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.drawer .site-logo {
  color: var(--ink);
}

.masthead__nav {
  flex: 1;
  min-width: 0;
}

.nav-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.9rem;
}

.masthead__nav .nav-list a {
  position: relative;
  display: inline-block;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(var(--cream-rgb), 0.85);
  transition: color 0.2s;
}

.masthead__nav .nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--acc);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

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

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

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

.masthead__round {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid rgba(var(--cream-rgb), 0.25);
  border-radius: 50%;
  color: var(--cream);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.masthead__round:hover {
  border-color: var(--acc);
  color: var(--acc);
}

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

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

.nav-toggle__bar:nth-child(2) {
  width: 70%;
}

.search-panel {
  padding: 0.75rem var(--bezel);
  background: var(--ink);
}

.search-panel__form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.4rem 0.4rem 1rem;
  border-radius: 999px;
  background: var(--frame-bg);
}

.search-panel__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  outline: none;
}

/* ── 7. Mobile drawer ──────────────────────────────────────────────────── */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: min(390px, 90vw);
  padding: 1.25rem 1.25rem 1.5rem;
  background: var(--bg);
  overflow-y: auto;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease), visibility 0.4s;
}

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

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

.drawer__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--cream);
}

.nav-list--drawer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  gap: 0.5rem;
}

.nav-list--drawer li {
  width: 100%;
}

.nav-list--drawer a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--surface);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
  font-family: var(--f-head);
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s;
}

.nav-list--drawer a::after {
  content: "→";
  color: var(--acc);
}

.nav-list--drawer a:hover,
.nav-list--drawer .current-menu-item > a {
  background: var(--ink);
  color: var(--cream);
}

.drawer__foot {
  display: grid;
  gap: 1rem;
  margin-top: auto;
  padding: 1.25rem;
  border-radius: var(--r-lg);
  background: var(--ink);
}

.drawer__note {
  font-size: 0.92rem;
  color: rgba(var(--cream-rgb), 0.78);
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(var(--ink-rgb), 0.55);
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* ── 8. Hero ───────────────────────────────────────────────────────────── */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem clamp(2rem, 4vw, 4rem);
  min-height: 540px;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 5vw, 4.5rem);
}

.hero__title {
  margin-top: 1.4rem;
  font-size: clamp(2.2rem, 3.9vw, 3.45rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

/* Two lines, always: "Follow the Money," / "Not the Hype." */
.hero__title > span {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero__title {
    font-size: min(8.2vw, 3.45rem);
  }
}

.hero__title > span {
  display: block;
}

.hero__dek {
  max-width: 46ch;
  margin-top: 1.5rem;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--text-2);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
  margin-top: 2rem;
}

.hero__play {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero__play-ring {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}

.hero__play:hover .hero__play-ring {
  background: var(--ink);
  color: var(--cream);
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.25rem;
}

.faces {
  display: flex;
  flex: none;
}

.faces__item {
  width: 46px;
  height: 46px;
  overflow: hidden;
  border: 3px solid var(--frame-bg);
  border-radius: 50%;
  background: var(--bg-2);
}

.faces__item + .faces__item {
  margin-left: -14px;
}

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

.hero__proof-text b {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero__proof-text em {
  font-style: normal;
  color: var(--hot);
}

.hero__proof-text small {
  font-size: 0.82rem;
  color: var(--text-3);
}

.hero__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  padding: 2.5rem 0.5rem 3rem 1.5rem;
}

.hero__blob {
  position: absolute;
  inset: 4% 2% 6% 8%;
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  background: radial-gradient(circle at 35% 30%, var(--acc-tint), var(--peach) 70%);
}

.hero__swirl {
  position: absolute;
  top: 2%;
  left: 44%;
  color: var(--hot);
  transform: rotate(-20deg) scale(0.7);
}

.hero__swirl .squiggle {
  color: var(--hot);
}

.hero__note {
  position: absolute;
  top: 2%;
  left: -2%;
  z-index: 3;
  font-family: var(--f-hand);
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  transform: rotate(-9deg);
}

.hero__note span {
  display: block;
}

.hero__note span:nth-child(2) {
  padding-left: 0.5rem;
}

.hero__note span:nth-child(3) {
  padding-left: 1rem;
}

.hero__note-arrow {
  width: 48px;
  margin: 0.2rem 0 0 2.4rem;
  transform: rotate(18deg);
}

.seal {
  position: absolute;
  top: -2%;
  right: -2%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 6px var(--frame-bg);
}

.seal__ring {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  animation: st-spin 22s linear infinite;
}

.seal__ring text {
  font-family: var(--f-head);
  font-size: 8.6px;
  font-weight: 700;
  letter-spacing: 0.16em;
  fill: var(--cream);
}

.seal__core {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--acc);
  color: var(--ink);
}

.seal__core .icon {
  stroke-width: 2.2;
}

@keyframes st-spin {
  to { transform: rotate(360deg); }
}

.lead-card {
  z-index: 2;
  width: min(100%, 480px);
  padding: 10px;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.lead-card__media {
  aspect-ratio: 5 / 3;
  border-radius: 18px;
}

.lead-card__body {
  padding: 1rem 0.7rem 0.6rem;
}

.lead-card__title {
  margin-top: 0.6rem;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.25;
}

.hero__quote {
  position: absolute;
  right: -1%;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 270px;
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  background: var(--ink);
  box-shadow: var(--shadow);
  font-size: 0.86rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--cream);
}

.hero__quote-mark {
  color: var(--acc);
}

.hero__quote-mark .icon {
  stroke-width: 2.4;
}

/* ── 9. Desk band — the base under the frame ───────────────────────────── */
.deskband {
  position: relative;
  z-index: 2;
}

.deskband__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-inline: calc(var(--bezel) * -1.5);
  padding: 1.5rem clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 5px solid var(--acc);
  border-radius: 0 0 24px 24px;
  background: var(--ink);
  box-shadow: 0 30px 50px -30px rgba(var(--ink-rgb), 0.7);
  overflow-x: auto;
  scrollbar-width: none;
}

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

.deskband__item {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  flex: none;
}

.deskband__item a {
  font-family: var(--f-head);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  font-weight: 600;
  color: var(--cream);
  white-space: nowrap;
  transition: color 0.2s;
}

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

.deskband__spark {
  width: 22px;
  height: 22px;
  color: var(--acc);
}

/* ── 10. Latest — notched accordion rows ───────────────────────────────── */
.acc {
  display: grid;
  gap: 0.8rem;
}

.acc__row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1.25rem;
  padding: 1.05rem 1.5rem 1.05rem 0;
  background: linear-gradient(100deg, var(--surface-2) 0 130px, var(--surface) 130px);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
  cursor: pointer;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}

.acc__n {
  padding-left: 1.6rem;
  font-family: var(--f-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hot);
}

.acc__title {
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.3;
  transition: color 0.3s;
}

.acc__more {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.acc__more-in {
  min-height: 0;
  overflow: hidden;
}

.acc__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.9rem;
}

.acc__dek {
  max-width: 62ch;
  margin-top: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(var(--cream-rgb), 0.7);
}

.acc__media {
  width: 0;
  aspect-ratio: 5 / 3;
  border-radius: 14px;
  opacity: 0;
  transition: width 0.45s var(--ease), opacity 0.35s;
}

.acc__row.is-open {
  padding-block: 1.6rem;
  background: var(--ink);
}

.acc__row.is-open .acc__title {
  color: var(--cream);
}

.acc__row.is-open .acc__n {
  align-self: start;
  padding-top: 0.35rem;
  color: var(--acc);
}

.acc__row.is-open .acc__more {
  grid-template-rows: 1fr;
}

.acc__row.is-open .acc__media {
  width: clamp(180px, 20vw, 250px);
  opacity: 1;
}

.acc__row.is-open .chip {
  border-color: rgba(var(--cream-rgb), 0.28);
  color: rgba(var(--cream-rgb), 0.85);
}

.acc__row.is-open .arrow {
  align-self: start;
  transform: rotate(45deg);
}

.acc__row:not(.is-open):hover {
  background: linear-gradient(100deg, var(--acc-tint) 0 130px, var(--surface) 130px);
}

/* ── 11. Business — dark band ──────────────────────────────────────────── */
.biz-band {
  background: var(--ink);
  color: var(--cream);
}

.biz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 3rem clamp(2.5rem, 6vw, 5rem);
}

.biz__visual {
  position: relative;
  padding: 2.5rem 1.5rem 3.5rem 3rem;
}

.biz__frame {
  position: absolute;
  inset: 0 10% 8% 16%;
  border-radius: 30px;
  background: linear-gradient(160deg, var(--acc-soft), var(--acc));
  transform: rotate(-3deg);
}

.biz__media {
  z-index: 1;
  aspect-ratio: 4 / 3;
  border: 6px solid var(--ink);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.biz__tags {
  position: absolute;
  top: 12%;
  left: -0.5rem;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 0.6rem;
}

.biz__tags li {
  padding: 0.38rem 0.95rem;
  border: 1.5px solid var(--cream);
  border-radius: 999px;
  background: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transform: rotate(-9deg);
}

.biz__tags li:nth-child(2) {
  margin-left: 1.6rem;
}

.biz__tags li:nth-child(3) {
  margin-left: 0.6rem;
}

.statcard {
  position: absolute;
  left: 8%;
  bottom: 0.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1.2rem 0.85rem 0.85rem;
  border-radius: 20px;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.statcard__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--acc);
}

.statcard b {
  display: block;
  font-family: var(--f-head);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
}

.statcard small {
  font-size: 0.76rem;
  color: var(--text-2);
}

.biz__doodle {
  position: absolute;
  z-index: 2;
  color: var(--acc);
}

.biz__doodle--a {
  top: -0.5rem;
  right: 2%;
  transform: rotate(160deg) scale(0.85);
}

.biz__doodle--b {
  right: -0.5rem;
  bottom: 22%;
  width: 34px;
  height: 34px;
}

.biz__copy .shead {
  margin-bottom: 1.5rem;
}

.biz__title {
  margin-top: 0.6rem;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.25;
}

.biz__dek {
  margin-top: 0.9rem;
  line-height: 1.65;
  color: rgba(var(--cream-rgb), 0.72);
}

.biz__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.6rem;
}

.biz__all {
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--acc);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

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

.biz__more {
  margin-top: 2rem;
  border-top: 1px solid rgba(var(--cream-rgb), 0.14);
}

.biz__more li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(var(--cream-rgb), 0.14);
}

.biz__mini {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.biz__more .meta__date {
  color: rgba(var(--cream-rgb), 0.55);
}

.biz__mini-title {
  margin-top: 0.15rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

/* ── 12. Tiles — four project-style cards ──────────────────────────────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.tile {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tile__media {
  aspect-ratio: 5 / 3;
  border-radius: 15px;
}

.tile__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  flex: 1;
  padding: 0.95rem 0.55rem 0.55rem;
}

.tile__title {
  font-size: 1.02rem;
  line-height: 1.32;
}

.tile__meta {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-3);
}

.tile__meta .meta__date {
  font-size: inherit;
}

/* ── 13. Loan calculator ───────────────────────────────────────────────── */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.calc__controls {
  display: grid;
  align-content: start;
  gap: 1.8rem;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}

.calc__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.75rem 1rem;
}

.calc__field .range,
.calc__field .seg,
.calc__scale {
  grid-column: 1 / -1;
}

.calc__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
}

.calc__value {
  font-family: var(--f-head);
  font-size: 1.55rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.calc__scale {
  display: flex;
  justify-content: space-between;
  margin-top: -0.25rem;
  font-size: 0.74rem;
  color: var(--text-3);
}

.calc__tip {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.95rem 1.1rem;
  border-radius: var(--r-md);
  background: var(--acc-tint);
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-2);
}

.calc__tip-icon {
  flex: none;
  margin-top: 0.1rem;
  color: var(--acc-deep);
}

.calc__result {
  display: grid;
  align-content: start;
  gap: 1.6rem;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: var(--ink);
  color: var(--cream);
}

.calc__result .calc__label {
  color: rgba(var(--cream-rgb), 0.65);
}

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

.calc__big {
  display: block;
  margin: 0.4rem 0 0.5rem;
  font-family: var(--f-head);
  font-size: clamp(2.6rem, 5vw, 3.7rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--acc);
}

.calc__free {
  font-size: 0.9rem;
  color: rgba(var(--cream-rgb), 0.7);
}

.calc__free b {
  color: var(--cream);
}

.ring {
  position: relative;
  flex: none;
  width: 150px;
  height: 150px;
}

.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 5;
}

.ring__track {
  stroke: var(--acc-soft);
}

.ring__int {
  stroke: var(--hot);
  stroke-linecap: round;
  stroke-dasharray: var(--int, 40) 100;
  transition: stroke-dasharray 0.45s var(--ease);
}

.ring__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.ring__center b {
  font-family: var(--f-head);
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1;
}

.ring__center small {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: rgba(var(--cream-rgb), 0.65);
}

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

.calc__sums > div {
  padding: 0.9rem 1rem;
  border-radius: var(--r-md);
  background: rgba(var(--cream-rgb), 0.07);
}

.calc__sums dt {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: rgba(var(--cream-rgb), 0.65);
}

.calc__sums dd {
  margin-top: 0.3rem;
  font-family: var(--f-head);
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.key {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 3px;
}

.key--prin {
  background: var(--acc-soft);
}

.key--int {
  background: var(--hot);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 120px;
  margin-top: 0.8rem;
}

.bars i {
  flex: 1;
  height: var(--h, 100%);
  border-radius: 4px 4px 1px 1px;
  background: linear-gradient(to top, var(--acc-soft) var(--p, 50%), var(--hot) var(--p, 50%));
  transition: height 0.3s var(--ease);
}

.calc__axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  color: rgba(var(--cream-rgb), 0.5);
}

.calc__note {
  max-width: 72ch;
  margin: 1.1rem auto 0;
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
  color: var(--text-3);
}

/* ── 14. Stock — lead + rows ───────────────────────────────────────────── */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.duo__lead {
  overflow: hidden;
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.duo__body {
  padding: 1.5rem 1.7rem 1.8rem;
}

.duo__title {
  margin-top: 0.85rem;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1.22;
}

.duo__dek {
  margin-top: 0.75rem;
  line-height: 1.6;
  color: var(--text-2);
}

.duo__list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
}

.mini {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 1.1rem;
  padding: 10px 1.25rem 10px 10px;
  background: var(--surface);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
  transition: background-color 0.3s;
}

.mini:hover {
  background: var(--acc-tint);
}

.mini__media {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.mini__n {
  font-family: var(--f-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--hot);
}

.mini__title {
  margin-top: 0.2rem;
  font-size: 1.02rem;
  line-height: 1.32;
}

.mini__meta {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-3);
}

.mini__meta .meta__date {
  font-size: inherit;
}

/* ── 15. Politics — peach band ─────────────────────────────────────────── */
.pol-band {
  background:
    radial-gradient(40% 60% at 100% 0%, rgba(255, 255, 255, 0.45), transparent 70%),
    var(--peach-band);
}

.pol-band .btn--dark {
  border-radius: 999px;
}

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

.hcard {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.25rem;
  padding: 10px 1.4rem 10px 10px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
}

.hcard:hover {
  transform: translateY(-3px);
}

.hcard__media {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
}

.hcard__date {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acc-deep);
}

.hcard__title {
  margin-top: 0.4rem;
  font-size: 1.12rem;
  line-height: 1.3;
}

.hcard__dek {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-2);
}

/* ── 16. Digital assets — wide + grid ──────────────────────────────────── */
.mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.25rem;
}

.mosaic__lead {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 26px;
  background: var(--ink);
  color: var(--cream);
}

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

.mosaic__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.6rem 1.7rem;
}

.mosaic__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--acc);
}

.mosaic__flag .sparkle {
  width: 14px;
  height: 14px;
}

.mosaic__title {
  margin-top: 0.65rem;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.25;
}

.mosaic__dek {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(var(--cream-rgb), 0.7);
}

.mosaic__meta {
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: 0.8rem;
  color: rgba(var(--cream-rgb), 0.55);
}

.mosaic__meta .meta__date {
  font-size: inherit;
  color: inherit;
}

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

.sq {
  display: flex;
  flex-direction: column;
  padding: 8px 8px 1.1rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
}

.sq:hover {
  transform: translateY(-4px);
}

.sq__media {
  aspect-ratio: 5 / 3;
  border-radius: 15px;
}

.sq__title {
  margin: 0.85rem 0.5rem 0.4rem;
  font-size: 0.98rem;
  line-height: 1.32;
}

.sq__date {
  margin: auto 0.5rem 0;
  font-size: 0.76rem;
  color: var(--text-3);
}

/* ── 17. Money rules ───────────────────────────────────────────────────── */
.rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.rule {
  padding: 1.6rem 1.6rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: background-color 0.35s, color 0.35s, transform 0.35s var(--ease);
}

.rule:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-4px);
}

.rule__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rule__icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--acc-tint);
  color: var(--acc-deep);
  transition: background-color 0.35s, color 0.35s;
}

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

.rule__n {
  font-family: var(--f-head);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--acc);
}

.rule__title {
  margin-top: 1.2rem;
  font-size: 1.15rem;
}

.rule__text {
  margin-top: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-2);
  transition: color 0.35s;
}

.rule:hover .rule__text {
  color: rgba(var(--cream-rgb), 0.72);
}

/* ── 18. Newsletter ────────────────────────────────────────────────────── */
.signup__card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-radius: 34px;
  background:
    radial-gradient(50% 70% at 100% 0%, rgba(var(--acc-rgb), 0.16), transparent 70%),
    var(--ink);
  color: var(--cream);
}

.signup__doodle {
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  color: var(--acc);
  transform: rotate(-30deg);
}

.signup__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.signup__icon {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border: 3px solid var(--acc);
  border-radius: 50%;
  background: var(--ink-3);
  color: var(--cream);
}

.signup__icon .icon {
  stroke-width: 1.8;
}

.signup__title {
  margin-top: 0.7rem;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.signup__title .accent {
  display: block;
  color: var(--acc);
}

.signup__side p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(var(--cream-rgb), 0.75);
}

.signup__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 0.9rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.signup__facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.signup__facts .icon {
  color: var(--acc);
  stroke-width: 2;
}

.signup__form {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 24px;
  background: var(--frame-bg);
  color: var(--text);
}

.signup__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.75rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
  color: var(--text-3);
}

.signup__legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* CF7 — markup is owned by the plugin, so we only restyle it.
   The form becomes two numbered steps side by side:
     01 .form-options   preference checkboxes → a 2-column grid of tiles
     02 .form-fields    email + submit, with .form-privacy under it */
.signup .hidden-fields-container,
.signup .screen-reader-response {
  display: none;
}

.signup .wpcf7-form {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas:
    "opt fld"
    "opt prv"
    "out out";
  grid-template-rows: auto 1fr auto;
  counter-reset: st-step;
}

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

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

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

.signup .form-options {
  grid-area: opt;
  padding-right: clamp(1rem, 2.5vw, 2rem);
}

.signup .form-fields {
  grid-area: fld;
  padding-left: clamp(1rem, 2.5vw, 2rem);
  border-left: 1.5px dashed var(--line-strong);
}

.signup .form-privacy {
  grid-area: prv;
  padding: 1rem 0 0 clamp(1rem, 2.5vw, 2rem);
  border-left: 1.5px dashed var(--line-strong);
}

/* Step badges */
.signup .form-options::before,
.signup .form-fields::before {
  counter-increment: st-step;
  content: counter(st-step, decimal-leading-zero) ".";
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--f-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--hot);
}

.signup .form-label,
.signup .form-fields p::before {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--f-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.signup .form-fields p::before {
  content: "Your email address";
  flex: 1 0 100%;
  margin-bottom: 0.2rem;
}

/* Preference tiles, two per row */
.signup .form-options .wpcf7-checkbox,
.signup .form-options .wpcf7-radio {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.signup .form-options .wpcf7-list-item,
.signup .form-options .wpcf7-list-item label {
  height: 100%;
}

.signup .form-options .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 0.95rem;
  border: 0;
  background: var(--bg-2);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-2);
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.signup .form-options .wpcf7-list-item label:hover {
  background: var(--acc-tint);
}

.signup .form-options .wpcf7-list-item label:has(input:checked) {
  background: var(--ink);
  color: var(--cream);
}

.signup .form-options input[type="checkbox"],
.signup .form-options input[type="radio"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0.05rem 0 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 6px;
  background: #fff 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 {
  border-color: var(--acc);
  background-color: var(--acc);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1a10' 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");
}

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

/* Email above a full-width submit */
.signup .form-fields p {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

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

.signup .wpcf7-email {
  flex: 1 0 100%;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 0 1.2rem 0 3rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b8574' 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") 1.1rem center / 18px no-repeat;
  font-family: var(--f-sans);
  font-size: 1rem;
  color: var(--text);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

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

.signup .wpcf7-email:focus {
  outline: none;
  border-color: var(--acc);
  box-shadow: 0 0 0 4px rgba(var(--acc-rgb), 0.18);
}

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

.signup .wpcf7-submit {
  flex: 1 0 100%;
  order: 2;
  min-height: 54px;
  padding: 0 1.4rem;
  border: none;
  border-radius: 999px;
  background: var(--acc);
  box-shadow: 0 16px 30px -16px rgba(var(--acc-rgb), 0.95);
  font-family: var(--f-sans);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s;
}

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

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

/* Spinner sits inside the right end of the submit button */
.signup .wpcf7-spinner {
  position: absolute;
  right: 16px;
  bottom: 15px;
  margin: 0;
  background-color: rgba(var(--ink-rgb), 0.35);
  pointer-events: none;
}

.signup .wpcf7-not-valid-tip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  margin-top: 0.5rem;
  padding: 0.45rem 0.7rem 0.45rem 0.5rem;
  border: 1px solid rgba(var(--down-rgb), 0.3);
  border-radius: var(--r-sm);
  background: rgba(var(--down-rgb), 0.08);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--down);
  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: #fff;
}

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

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

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

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

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

.signup .wpcf7-list-item-label a {
  color: var(--acc-deep);
  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(--text-rgb);
  --icon: "i";
  grid-area: out;
  position: relative;
  display: none;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  column-gap: 0.8rem;
  width: 100%;
  margin: 1.4rem 0 0 !important;
  padding: 0.8rem 1rem 0.8rem 0.8rem !important;
  border: 1px solid rgba(var(--tone-rgb), 0.35) !important;
  border-radius: var(--r-md);
  background: rgba(var(--tone-rgb), 0.06);
  font-size: 0.86rem;
  font-weight: 600;
  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%;
  background: var(--tone);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.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: 201, 138, 18;
  --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;
}

/* ── 19. Inner-page banner ─────────────────────────────────────────────── */
.banner__frame {
  padding: clamp(2.75rem, 6vw, 4.75rem) clamp(1.5rem, 5vw, 4rem);
}

.banner__blob {
  position: absolute;
  top: -40%;
  right: -6%;
  width: clamp(240px, 34vw, 420px);
  aspect-ratio: 1;
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  background: radial-gradient(circle at 35% 30%, var(--acc-tint), var(--peach) 70%);
  opacity: 0.85;
}

.banner__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.banner__title {
  margin-top: 0.9rem;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.banner__title .burst {
  color: var(--hot);
}

.banner__dek {
  max-width: 60ch;
  margin-top: 1rem;
  font-size: 1.06rem;
  line-height: 1.6;
  color: var(--text-2);
}

.banner__base {
  width: calc(100% - 2 * var(--gut) + 3 * var(--bezel));
  max-width: calc(var(--wrap) - 2 * var(--gut) + 3 * var(--bezel));
  height: 20px;
  margin-inline: auto;
  border-bottom: 4px solid var(--acc);
  border-radius: 0 0 20px 20px;
  background: var(--ink);
  box-shadow: 0 24px 40px -28px rgba(var(--ink-rgb), 0.7);
}

.banner--center .banner__inner {
  margin-inline: auto;
  text-align: center;
}

.banner--center .banner__dek {
  margin-inline: auto;
}

.banner--center .banner__blob {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

/* ── 20. Archive, search & card grids ──────────────────────────────────── */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  overflow: hidden;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--cream);
}

.feature__media {
  min-height: 340px;
  aspect-ratio: 5 / 3;
}

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

.feature__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--acc);
}

.feature__flag .sparkle {
  width: 14px;
  height: 14px;
}

.feature__title {
  margin-top: 0.85rem;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.18;
}

.feature__dek {
  margin-top: 0.9rem;
  line-height: 1.65;
  color: rgba(var(--cream-rgb), 0.72);
}

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

.feature__read {
  font-size: 0.84rem;
  color: rgba(var(--cream-rgb), 0.6);
}

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

.post-card {
  display: flex;
  flex-direction: column;
  padding: 8px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

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

.post-card__media {
  aspect-ratio: 5 / 3;
  border-radius: 15px;
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 0.7rem 0.6rem;
}

.post-card__title {
  margin-top: 0.7rem;
  font-size: 1.14rem;
  line-height: 1.3;
}

.post-card__excerpt {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-2);
}

.post-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
}

.post-card__read {
  font-size: 0.78rem;
  color: var(--text-3);
}

.pagination {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

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

.pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: var(--surface);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background-color 0.2s, color 0.2s;
}

.pagination a.page-numbers:hover {
  background: var(--acc);
}

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

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

.no-results {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  max-width: 520px;
  margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  text-align: center;
  color: var(--text-2);
}

.no-results__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--acc-tint);
  color: var(--acc-deep);
}

/* ── 21. Single ────────────────────────────────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 4px;
}

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

.article-head__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.article-head__title {
  max-width: 26ch;
  margin-top: 1.1rem;
  font-size: clamp(1.9rem, 4.4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.article-head__dek {
  max-width: 62ch;
  margin-top: 1rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--text-2);
}

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

.article-hero__img {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  object-fit: cover;
}

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

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.article-content {
  max-width: 70ch;
  font-size: 1.1rem;
  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;
  padding: 0.08em 0.12em 0 0;
  font-family: var(--f-head);
  font-size: 4em;
  font-weight: 800;
  line-height: 0.85;
  color: var(--hot);
}

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

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

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

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

.article-content h2 .emoji,
.article-content p .emoji {
  display: inline;
  width: 1em;
  height: 1em;
  margin: 0 0.1em;
  vertical-align: -0.12em;
}

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

.article-content a {
  color: var(--acc-deep);
  text-decoration: underline;
  text-decoration-color: rgba(var(--acc-rgb), 0.5);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}

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

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

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

.article-content ul li::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acc);
}

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

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

.article-content ol li::marker {
  font-family: var(--f-head);
  font-size: 0.9em;
  font-weight: 700;
  color: var(--hot);
}

.article-content blockquote {
  position: relative;
  margin-block: 2.2rem;
  padding: 1.6rem 1.6rem 1.6rem 4.2rem;
  border-radius: var(--r-lg);
  background: var(--ink);
  font-family: var(--f-head);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--cream);
}

.article-content blockquote::before {
  content: "“";
  position: absolute;
  left: 1.2rem;
  top: 1rem;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--acc);
}

.article-content blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--f-sans);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: rgba(var(--cream-rgb), 0.6);
}

.article-content blockquote strong {
  color: inherit;
}

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

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

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

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

.article-content figcaption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  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.92rem;
  font-variant-numeric: tabular-nums;
}

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

.article-content th {
  border-bottom: 2px solid var(--acc);
  font-family: var(--f-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.article-content code {
  padding: 0.15em 0.4em;
  border-radius: 6px;
  background: var(--acc-tint);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.85em;
}

.article-content pre {
  overflow-x: auto;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--cream);
}

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

.article-content hr {
  height: 2px;
  border: none;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px);
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  max-width: 70ch;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.article-tags__label {
  margin-right: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-3);
}

.article-tags a {
  padding: 0.3rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

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

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 70ch;
  margin-top: 2.5rem;
}

.article-nav__side {
  padding: 1.1rem 1.3rem;
  background: var(--surface);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}

.article-nav__side:not(:has(a)) {
  background: none;
}

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

.article-nav__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--acc-deep);
}

.article-nav__link {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.2s;
}

.article-nav__link:hover {
  color: var(--hot);
}

.single-aside {
  position: sticky;
  top: 1.5rem;
  display: grid;
  align-self: start;
  gap: 1.25rem;
}

.aside-panel {
  padding: 1.4rem 1.4rem 0.6rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.aside-panel__heading {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.row__media {
  aspect-ratio: 1;
  border-radius: 12px;
}

.row__date {
  font-size: 0.74rem;
  color: var(--text-3);
}

.row__title {
  margin-top: 0.15rem;
  font-size: 0.95rem;
  line-height: 1.32;
}

.aside-cta {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  overflow: hidden;
  padding: 1.6rem;
  border-radius: var(--r-lg);
  background: var(--ink);
  color: var(--cream);
}

.aside-cta__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 3px solid var(--acc);
  border-radius: 50%;
  background: var(--ink-3);
}

.aside-cta__title {
  font-family: var(--f-head);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.aside-cta__title em {
  font-style: normal;
  color: var(--acc);
}

.aside-cta__text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(var(--cream-rgb), 0.72);
}

.aside-cta .btn {
  margin-top: 0.4rem;
}

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

/* ── 22. Page & 404 ────────────────────────────────────────────────────── */
.static-page {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.static-page .article-content {
  max-width: none;
}

.page-hero__img {
  width: 100%;
  max-height: 520px;
  margin-bottom: 2rem;
  border-radius: var(--r-xl);
  object-fit: cover;
}

.error-page__code {
  font-family: var(--f-head);
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--hot);
}

.error-page__actions {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.error-recent {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.error-recent__heading {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.error-recent .row {
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 1.25rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 0;
  background: var(--surface);
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}

.error-recent .row__media {
  aspect-ratio: 4 / 3;
}

.error-recent .row__title {
  font-size: 1.08rem;
}

/* ── 23. Footer ────────────────────────────────────────────────────────── */
.site-footer {
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
  background: var(--ink-2);
  color: rgba(var(--cream-rgb), 0.7);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 2.5rem;
}

.footer-brand__desc {
  max-width: 36ch;
  margin-top: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-col__title {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--cream);
}

.footer-col__list {
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.footer-col__list a {
  transition: color 0.2s;
}

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

.footer-col__text {
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-disclaimer {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(var(--cream-rgb), 0.12);
  font-size: 0.8rem;
  line-height: 1.65;
  color: rgba(var(--cream-rgb), 0.5);
}

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

.footer-top-link {
  font-weight: 600;
  transition: color 0.2s;
}

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

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

  .masthead__actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: flex;
  }

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

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero__stage {
    width: 100%;
    max-width: 580px;
    margin-inline: auto;
  }

  .biz,
  .calc,
  .duo,
  .mosaic,
  .feature,
  .single-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .biz__visual {
    max-width: 600px;
  }

  .duo__list {
    grid-template-rows: none;
  }

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

  .signup__head {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .signup__side {
    grid-column: 1 / -1;
  }

  .signup .wpcf7-form {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "opt"
      "fld"
      "prv"
      "out";
    grid-template-rows: none;
    row-gap: 1.5rem;
  }

  .signup .form-options {
    padding-right: 0;
  }

  .signup .form-fields,
  .signup .form-privacy {
    padding: 1.5rem 0 0;
    border-left: 0;
    border-top: 1.5px dashed var(--line-strong);
  }

  .signup .form-privacy {
    padding-top: 0;
    border-top: 0;
  }

  .feature__media {
    min-height: 0;
  }

  .single-aside {
    position: static;
  }

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

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

@media (max-width: 760px) {
  :root {
    --gut: 16px;
    --bezel: 8px;
    --notch: 12px;
  }

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

  .shead__side {
    align-items: flex-start;
    max-width: none;
  }

  .shead__kicker {
    text-align: left;
  }

  .shead--center {
    align-items: center;
  }

  .masthead__bar {
    min-height: 72px;
    gap: 0.75rem;
    padding: 0.65rem 0.65rem 0.65rem 0.75rem;
    border-radius: 22px 22px 0 0;
  }

  .hero__note,
  .hero__swirl {
    display: none;
  }

  .hero__stage {
    min-height: 0;
    padding: 2rem 0 4.5rem;
  }

  .seal {
    width: 92px;
    height: 92px;
    top: 0;
  }

  .seal__core {
    width: 34px;
    height: 34px;
  }

  .hero__quote {
    right: 0;
    left: 1rem;
    max-width: none;
  }

  .deskband__list {
    justify-content: flex-start;
    padding-block: 1.1rem;
  }

  .acc__row {
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 0.9rem;
    padding-right: 1rem;
    background: linear-gradient(100deg, var(--surface-2) 0 54px, var(--surface) 54px);
  }

  .acc__row:not(.is-open):hover {
    background: linear-gradient(100deg, var(--acc-tint) 0 54px, var(--surface) 54px);
  }

  .acc__n {
    padding-left: 1rem;
  }

  .acc__media {
    display: none;
  }

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

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

  .calc__sums > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .calc__sums dd {
    margin-top: 0;
  }

  .signup .form-options .wpcf7-checkbox {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-nav {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .article-nav__side:not(:has(a)) {
    display: none;
  }
}

@media (max-width: 640px) {
  .masthead__logo img,
  .masthead__logo-img,
  .footer-logo-link img,
  .footer-logo-img {
    height: var(--logo-h-m, 34px);
  }

  .masthead__sub,
  .masthead__round {
    display: none;
  }

  .tiles,
  .rules,
  .post-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Brand and brief full width; the two link menus share a row */
  .footer-top {
    gap: 2rem 1.5rem;
  }

  .footer-brand,
  .footer-col--brief {
    grid-column: 1 / -1;
  }

  .biz__visual {
    padding: 2rem 0.5rem 3.5rem 1.5rem;
  }

  .biz__tags li {
    font-size: 0.72rem;
  }

  .mini {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .calc__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .ring {
    align-self: center;
  }

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

  .signup__icon {
    width: 64px;
    height: 64px;
  }

  .signup__doodle {
    display: none;
  }

  .error-recent .row {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .error-recent .row__arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .mosaic__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hcard {
    grid-template-columns: minmax(0, 1fr);
    padding: 8px 8px 1.1rem;
  }

  .hcard__body {
    padding-inline: 0.5rem;
  }

  .hero__cta .btn {
    width: 100%;
  }
}

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

/* ==========================================================================
   25. Homepage layouts — variants picked in Customizer → Homepage layout
   (inc/home-layouts.php). Section variants first, then hero variants,
   sign-up variants and the per-layout cosmetics (body.layout-<slug>).
   ========================================================================== */

/* ── 25a. Section variants ─────────────────────────────────────────────── */

/* Latest: ranked list */
.rank {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1rem 1.5rem;
}

.rank__item {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 120px minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 12px 1.25rem 12px 1rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform 0.35s var(--ease), background-color 0.3s;
}

.rank__item:hover {
  transform: translateX(4px);
  background: var(--acc-tint);
}

.rank__item--lead {
  grid-row: span 4;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  padding: 10px 10px 1.6rem;
  background: var(--ink);
  color: var(--cream);
}

.rank__item--lead:hover {
  transform: none;
  background: var(--ink);
}

.rank__n {
  font-family: var(--f-head);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.3px var(--hot);
}

.rank__item--lead .rank__n {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  font-size: 3.4rem;
  color: var(--acc);
  -webkit-text-stroke: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.rank__media {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

.rank__item--lead .rank__media {
  aspect-ratio: 5 / 3;
  border-radius: 16px;
}

.rank__item--lead .rank__body {
  padding: 1.2rem 0.85rem 0;
}

.rank__item--lead .meta__date {
  color: rgba(var(--cream-rgb), 0.6);
}

.rank__title {
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.rank__item--lead .rank__title {
  margin-top: 0.7rem;
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  line-height: 1.25;
}

.rank__dek {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(var(--cream-rgb), 0.7);
}

.rank__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.rank__item .pill {
  position: relative;
  z-index: 2;
}

/* Business: light band, picture on the right */
.biz-band--light {
  background:
    radial-gradient(40% 60% at 0% 100%, rgba(255, 255, 255, 0.45), transparent 70%),
    var(--peach-band);
  color: var(--text);
}

.biz-band--light .biz__visual {
  order: 2;
}

.biz-band--light .biz__frame {
  background: var(--ink);
  transform: rotate(3deg);
}

.biz-band--light .biz__media {
  border-color: var(--peach-band);
}

.biz-band--light .biz__tags li {
  color: var(--cream);
}

.biz-band--light .biz__doodle {
  color: var(--hot);
}

.biz-band--light .biz__dek {
  color: var(--text-2);
}

.biz-band--light .biz__all {
  text-decoration-color: var(--hot);
}

.biz-band--light .biz__all:hover {
  color: var(--hot);
}

.biz-band--light .biz__more,
.biz-band--light .biz__more li {
  border-color: var(--line-strong);
}

.biz-band--light .biz__more .meta__date {
  color: var(--text-3);
}

/* Stock / digital / calculator: mirrored */
.duo--flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
}

.duo--flip .duo__lead,
.mosaic--flip .mosaic__lead {
  order: 2;
}

.mosaic--flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.calc--flip {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
}

.calc--flip .calc__result {
  order: -1;
}

/* Politics: plain section, numbered tiles */
.tile__n {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  font-family: var(--f-head);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--cream);
}

.tiles--num .tile:hover .tile__n {
  background: var(--acc);
  color: var(--ink);
}

/* Rules: dark band */
.rules-band {
  background: var(--ink);
  color: var(--cream);
}

.rules-band .rule {
  border-color: rgba(var(--cream-rgb), 0.1);
  background: rgba(var(--cream-rgb), 0.05);
}

.rules-band .rule:hover {
  background: var(--ink-3);
}

.rules-band .rule__icon {
  background: rgba(var(--cream-rgb), 0.1);
  color: var(--acc);
}

.rules-band .rule__text {
  color: rgba(var(--cream-rgb), 0.7);
}

/* ── 25b. Hero variants ────────────────────────────────────────────────── */

/* Centred headline + three cards */
.hero-c {
  position: relative;
  padding: clamp(2.75rem, 5vw, 4.25rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.5rem, 4vw, 3.5rem);
}

.hero-c__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.hero-c .hero__title {
  font-size: clamp(2.2rem, 5vw, 4.3rem);
}

.hero-c .hero__dek {
  margin-inline: auto;
}

.hero-c .hero__cta {
  justify-content: center;
}

.hero-c__note {
  top: 16%;
  left: 5%;
}

.hero-c__swirl {
  top: 10%;
  left: auto;
  right: 9%;
}

.hero-c__cards {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.tile--lead {
  background: var(--ink);
  color: var(--cream);
}

.tile--lead .tile__meta {
  color: rgba(var(--cream-rgb), 0.6);
}

.tile--lead .arrow--dark {
  background: var(--acc);
  color: var(--ink);
}

.tile__flag {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acc);
}

.tile--lead .tile__title {
  font-size: 1.2rem;
}

.seal--sm {
  top: -30px;
  right: -18px;
  width: 92px;
  height: 92px;
}

.seal--sm .seal__core {
  width: 32px;
  height: 32px;
}

/* Front cover: wide lead picture */
.hero-cv {
  padding: clamp(0.75rem, 1.5vw, 1.1rem) clamp(0.75rem, 1.5vw, 1.1rem) clamp(2.5rem, 4vw, 3.5rem);
}

.hero-cv__pic {
  position: relative;
}

.hero-cv__media {
  aspect-ratio: 21 / 8;
  border-radius: 22px;
}

.hero-cv__seal {
  top: 1.25rem;
  right: 1.25rem;
}

.hero-cv__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: 2rem 3rem;
  padding-inline: clamp(0.75rem, 2.5vw, 2.25rem);
}

.hero-cv__copy {
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

.hero-cv__story {
  position: relative;
  z-index: 2;
  margin-top: -96px;
  padding: 1.75rem 1.8rem;
  border-radius: 24px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  color: var(--cream);
}

.hero-cv__flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--acc);
}

.hero-cv__flag .sparkle {
  width: 14px;
  height: 14px;
}

.hero-cv__title {
  margin-top: 0.7rem;
  font-size: clamp(1.3rem, 2.1vw, 1.65rem);
  line-height: 1.25;
}

.hero-cv__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-cv__dek {
  margin: 0.75rem 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(var(--cream-rgb), 0.72);
}

.hero-cv__story .pill {
  position: relative;
  z-index: 2;
}

.hero-cv__story .meta__date,
.hero-cv__story .meta__read {
  color: rgba(var(--cream-rgb), 0.6);
}

/* Newsroom board: copy + 2×2 board */
.hero-b {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 2.5rem clamp(2rem, 4vw, 3.5rem);
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 3.5vw, 3rem) clamp(3rem, 5vw, 4rem);
}

.hero-b .hero__title {
  font-size: clamp(2.1rem, 3.5vw, 3.15rem);
}

.hero-b__board {
  position: relative;
  padding: 1.6rem 1.25rem 1.25rem;
  border-radius: 26px;
  background:
    radial-gradient(rgba(var(--ink-rgb), 0.13) 1px, transparent 1.6px) 0 0 / 16px 16px,
    var(--bg-2);
}

.hero-b__pin {
  position: absolute;
  top: -14px;
  left: 1.5rem;
  z-index: 3;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cream);
  transform: rotate(-3deg);
}

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

.hero-b__grid .sq:nth-child(odd) {
  transform: rotate(-0.8deg);
}

.hero-b__grid .sq:nth-child(even) {
  transform: rotate(0.8deg);
}

.hero-b__grid .sq:hover {
  transform: translateY(-4px);
}

.sq__n {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 0.2rem 0.55rem;
  border-radius: 8px;
  background: var(--acc);
  font-family: var(--f-head);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ink);
}

/* Nocturne: the frame goes dark */
.hero--night .hero__frame {
  background:
    radial-gradient(55% 80% at 85% 15%, rgba(var(--acc-rgb), 0.18), transparent 70%),
    var(--ink);
}

.hero--night .kicker-caps {
  color: rgba(var(--cream-rgb), 0.6);
}

.hero--night .hero__title {
  color: var(--cream);
}

.hero--night .hero__dek {
  color: rgba(var(--cream-rgb), 0.72);
}

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

.hero--night .btn--dark:hover {
  background: var(--hot);
}

.hero--night .hero__play {
  color: var(--cream);
}

.hero--night .hero__play-ring {
  border-color: rgba(var(--cream-rgb), 0.5);
}

.hero--night .hero__play:hover .hero__play-ring {
  background: var(--cream);
  color: var(--ink);
}

.hero--night .faces__item {
  border-color: var(--ink);
}

.hero--night .hero__proof-text b {
  color: var(--cream);
}

.hero--night .hero__proof-text small {
  color: rgba(var(--cream-rgb), 0.55);
}

.hero--night .deskband__list {
  border-top: 1px solid rgba(var(--cream-rgb), 0.12);
}

.hero-n__stage {
  position: relative;
  padding: 2.25rem 1.5rem 4.5rem 2.5rem;
}

.hero-n__frame {
  position: absolute;
  inset: 0 6% 20% 14%;
  border-radius: 30px;
  background: linear-gradient(160deg, var(--acc-soft), var(--acc));
  transform: rotate(4deg);
}

.hero-n__burst {
  position: absolute;
  top: -6px;
  left: 6%;
  z-index: 2;
  width: 42px;
  height: 42px;
  color: var(--acc);
}

.hero-n__media {
  z-index: 1;
  aspect-ratio: 5 / 3;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.hero-n__card {
  position: absolute;
  left: 0;
  right: 12%;
  bottom: 0;
  z-index: 2;
  padding: 1.1rem 1.35rem 1.2rem;
  border-radius: 20px;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.hero-n__card .pill {
  position: relative;
  z-index: 2;
}

/* ── 25c. Sign-up variants ─────────────────────────────────────────────── */

/* Split: dark pitch left, form right */
.signup__wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.25rem;
}

.signup--split .signup__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
}

.signup--split .signup__form,
.signup--band .signup__form {
  display: flex;
  align-items: center;
  margin-top: 0;
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.signup--split .signup__form > *,
.signup--band .signup__form > * {
  width: 100%;
}

.signup--split .wpcf7-form {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "opt"
    "fld"
    "prv"
    "out";
  grid-template-rows: none;
}

.signup--split .form-options {
  padding: 0 0 1.5rem;
}

.signup--split .form-fields {
  padding: 1.5rem 0 0;
  border-left: 0;
  border-top: 1.5px dashed var(--line-strong);
}

.signup--split .form-privacy {
  padding-left: 0;
  border-left: 0;
}

/* Band: full-width tint, centred pitch */
.signup__band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background:
    radial-gradient(40% 60% at 100% 0%, rgba(255, 255, 255, 0.5), transparent 70%),
    var(--peach-band);
}

.signup__blob {
  position: absolute;
  bottom: -160px;
  left: -120px;
  width: 360px;
  height: 360px;
  border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%;
  background: linear-gradient(160deg, var(--acc-soft), var(--acc));
  opacity: 0.55;
}

.signup--band .signup__head {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.signup--band .signup__icon {
  border-color: var(--ink);
  background: var(--acc);
  color: var(--ink);
}

.signup--band .signup__title .accent,
.signup--outline .signup__title .accent {
  color: var(--hot);
}

.signup--band .signup__side p,
.signup--outline .signup__side p {
  color: var(--text-2);
}

.signup--band .signup__facts {
  justify-content: center;
}

.signup--band .signup__facts .icon,
.signup--outline .signup__facts .icon {
  color: var(--hot);
}

.signup--band .signup__form {
  position: relative;
  max-width: 1060px;
  margin: clamp(2rem, 4vw, 2.75rem) auto 0;
}

/* Outline: paper card, ink border, hard offset shadow */
.signup--outline .signup__card {
  border: 2px solid var(--ink);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: 12px 12px 0 var(--ink);
  color: var(--text);
}

.signup--outline .signup__head {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
}

.signup__aside {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.signup--outline .signup__icon {
  flex: none;
  width: 64px;
  height: 64px;
  background: var(--ink);
}

.signup--outline .signup__form {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2rem) 0 0;
  border-top: 1.5px dashed var(--line-strong);
  border-radius: 0;
  background: none;
}

.signup--outline .signup__doodle {
  top: 1.5rem;
  right: 1.75rem;
  width: 46px;
  height: 46px;
  color: var(--hot);
  transform: none;
}

/* ── 25d. Layout cosmetics ─────────────────────────────────────────────── */

/* Ledger: highlighter accents, a dash for the eyebrow, no bursts */
.layout-ledger .shead__title .accent,
.layout-ledger .hero__title .accent,
.layout-ledger .signup__title .accent {
  color: inherit;
  background: linear-gradient(transparent 60%, var(--acc-soft) 60%, var(--acc-soft) 92%, transparent 92%);
}

.layout-ledger .shead--inv .accent,
.layout-ledger .signup--split .signup__title .accent {
  background: linear-gradient(transparent 60%, rgba(var(--acc-rgb), 0.55) 60%, rgba(var(--acc-rgb), 0.55) 92%, transparent 92%);
}

.layout-ledger .signup__title .accent {
  display: inline;
}

.layout-ledger .burst {
  display: none;
}

.layout-ledger .eyebrow__dots {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--hot);
}

/* Front cover: squarer corners throughout */
.layout-cover {
  --r-lg: 14px;
  --r-xl: 18px;
}

.layout-cover .btn,
.layout-cover .pill,
.layout-cover .chip,
.layout-cover .seg,
.layout-cover .seg__btn {
  border-radius: 10px;
}

.layout-cover .masthead__bar {
  border-radius: 18px 18px 0 0;
}

.layout-cover .deskband__list {
  border-radius: 0 0 16px 16px;
}

.layout-cover .tile,
.layout-cover .sq,
.layout-cover .duo__lead,
.layout-cover .mosaic__lead,
.layout-cover .signup__band .signup__form,
.layout-cover .calc {
  border-radius: 16px;
}

/* Newsroom board: diamond eyebrow, wavy underline instead of the burst */
.layout-board .eyebrow__dots {
  width: 10px;
  height: 10px;
  margin-inline: 2px;
  border-radius: 2px;
  background: var(--hot);
  transform: rotate(45deg);
}

.layout-board .shead__title .accent {
  text-decoration: underline wavy var(--acc);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.layout-board .shead__title .burst {
  display: none;
}

/* Nocturne: handwritten accents, caps eyebrows */
.layout-nocturne .shead__title .accent,
.layout-nocturne .hero__title .accent,
.layout-nocturne .signup__title .accent {
  font-family: var(--f-hand);
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 0;
}

.layout-nocturne .eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── 25e. Responsive ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .duo--flip,
  .mosaic--flip,
  .calc--flip,
  .hero-cv__grid,
  .hero-b,
  .signup__wrap,
  .rank {
    grid-template-columns: minmax(0, 1fr);
  }

  .duo--flip .duo__lead,
  .mosaic--flip .mosaic__lead,
  .calc--flip .calc__result,
  .biz-band--light .biz__visual {
    order: 0;
  }

  .rank__item--lead {
    grid-row: auto;
  }

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

  .hero-c__cards .tile--lead {
    grid-column: 1 / -1;
  }

  .hero-cv__story {
    margin-top: 0;
  }

  .hero-c .hero__title,
  .hero-b .hero__title {
    font-size: min(8.2vw, 3.45rem);
  }
}

@media (max-width: 760px) {
  .hero-c__note,
  .hero-c__swirl {
    display: none;
  }

  .hero-c__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-cv__media {
    aspect-ratio: 5 / 3;
  }

  .seal--sm {
    right: -6px;
  }

  .hero-n__stage {
    padding: 1.5rem 0 5rem 1rem;
  }

  .hero-n__card {
    right: 0;
  }

  .signup--outline .signup__head {
    grid-template-columns: minmax(0, 1fr);
  }

  .signup--outline .signup__card {
    box-shadow: 6px 6px 0 var(--ink);
  }
}

@media (max-width: 640px) {
  .rank__item {
    grid-template-columns: 2.4rem 88px minmax(0, 1fr);
    gap: 0.8rem;
    padding-right: 0.9rem;
  }

  .rank__n {
    font-size: 1.8rem;
  }

  .rank__item--lead {
    grid-template-columns: minmax(0, 1fr);
    padding-right: 10px;
  }

  .rank__item--lead .rank__n {
    font-size: 2.6rem;
  }

  /* Board stays 2×2 on phones, just tighter */
  .hero-b__board {
    padding: 1.4rem 0.6rem 0.6rem;
  }

  .hero-b__grid {
    gap: 0.6rem;
  }

  .hero-b__grid .sq {
    padding: 6px 6px 0.8rem;
  }

  .hero-b__grid .sq__title {
    margin: 0.6rem 0.25rem 0;
    font-size: 0.84rem;
  }

  .hero-b__grid .sq__date {
    display: none;
  }

  .sq__n {
    top: 11px;
    left: 11px;
  }

  /* Nocturne: the story card sits under the picture instead of over it */
  .hero-n__stage {
    padding: 1.25rem 0.5rem 0.5rem 0.75rem;
  }

  .hero-n__card {
    position: relative;
    margin: -1.75rem 0.5rem 0;
  }

  .signup__aside {
    flex-direction: column;
  }
}
