/*
Theme Name: Mixily Editorial
Theme URI: https://mixily.com
Author: Mixily / Nick Gray
Author URI: https://mixily.com
Description: The Mixily Blog. Bold magazine layout: big display type, hard ink rules, square edges, coral-on-cream palette, color-coded categories, and an All articles archive.
Version: 2.0.2
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary — All Rights Reserved
Text Domain: mixily-editorial
Tags: blog, editorial, custom-menu, custom-logo, featured-images, post-thumbnails
*/

/* ============================================================
   1. Tokens (names kept from 1.x so block CSS keeps working)
   ============================================================ */
:root {
  --cream: #F5EFE6;
  --cream-2: #EFE7DA;
  --cream-3: #E8DFCE;
  --ink: #1A1410;
  --ink-soft: #3D332A;
  --muted: #7A6F62;
  --muted-on-dark: #A89C8D;
  --line: rgba(26, 20, 16, 0.12);
  --line-soft: rgba(26, 20, 16, 0.07);
  --line-on-dark: rgba(245, 239, 230, 0.2);

  --primary: #E45937;
  --primary-deep: #A52B1E;
  --primary-soft: #FEDCD3;
  --plum: #582740;
  --sage: #8EAF8E;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 0px;
  --r-md: 0px;
  --r-lg: 0px;
  --r-xl: 0px;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;

  --gutter: 48px;
  --wrap: 1440px;
  --rule: 1px solid var(--ink);
  --rule-thick: 3px solid var(--ink);
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
html, body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
}
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html.has-open-nav, html.has-open-nav body { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary-deep); }
h1, h2, h3, h4, h5, h6, p, figure, ol, ul, dl, dd { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed !important;
  top: 8px; left: 8px; z-index: 1000;
  width: auto; height: auto; clip: auto;
  padding: 12px 16px;
  background: var(--ink); color: var(--cream);
  font-family: var(--font-mono); font-size: 13px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ============================================================
   3. Shared pieces
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.4;
}
.eyebrow--muted { color: var(--muted); font-weight: 400; font-size: 12px; }
.eyebrow--deep { color: var(--primary-deep); }
.eyebrow--accent { color: var(--primary); }
a.eyebrow:hover { text-decoration: underline; text-underline-offset: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.2;
  border: 1.5px solid transparent;
  transition: transform .12s ease, background-color .12s ease, color .12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: none; }
.btn--primary { background: var(--primary); color: var(--ink); border-color: var(--primary); }
.btn--primary:hover { color: var(--ink); background: #EE6A49; }
.btn--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--ink:hover { color: var(--cream); }
.btn--ink .icon { color: var(--primary); }
.btn--outline { color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { color: var(--ink); background: var(--cream-2); }
.btn--sm { padding: 10px 14px; font-size: 12px; }
.btn--lg { padding: 20px 28px; font-size: 14px; }
.btn--block { display: flex; width: 100%; justify-content: space-between; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.cat-tag {
  display: inline-block;
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  background: var(--cream-3);
  color: var(--ink);
  white-space: nowrap;
}
a.cat-tag:hover { color: inherit; filter: brightness(0.95); }
.cat-tag--guides { background: var(--primary); color: var(--ink); }
.cat-tag--comparisons { background: var(--sage); color: var(--ink); }
.cat-tag--updates { background: var(--plum); color: var(--cream); }
a.cat-tag--updates:hover { color: var(--cream); }

.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.meta__date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.rule-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: var(--rule-thick);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rule-head h2, .rule-head span { font: inherit; letter-spacing: inherit; }
.rule-head a { color: var(--primary-deep); }
.rule-head a:hover { text-decoration: underline; text-underline-offset: 4px; }

.media-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 80px;
  background: repeating-linear-gradient(45deg, var(--cream-2) 0 12px, var(--cream-3) 12px 24px);
}

/* ============================================================
   4. Top bar + headers
   ============================================================ */
.topbar { background: var(--ink); color: var(--cream); }
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topbar__sep { margin: 0 6px; }
.topbar__cta { color: var(--primary); font-weight: 700; white-space: nowrap; }
.topbar__cta:hover { color: var(--cream); }

/* Homepage masthead */
.masthead { padding-top: 28px; position: relative; }
.masthead__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-bottom: 20px;
}
.masthead__wordmark {
  font-family: var(--font-display);
  font-size: clamp(56px, 11.6vw, 168px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.masthead__wordmark a:hover { color: inherit; }
.masthead__tagline {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 4px;
  padding-bottom: 18px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.masthead__tagline .is-accent { color: var(--primary-deep); }

.catnav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
  border-top: var(--rule-thick);
  border-bottom: var(--rule);
}
.catnav__links { display: flex; flex-wrap: wrap; gap: 8px 36px; }
.catnav__link,
.search-toggle {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.catnav__link sup {
  margin-left: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-deep);
  vertical-align: super;
}
.catnav__link.is-active { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.search-toggle { display: inline-flex; align-items: center; gap: 8px; }
.search-toggle:hover { color: var(--primary-deep); }

/* Compact header (every other page) */
.site-header { position: relative; border-bottom: var(--rule-thick); background: var(--cream); }
.site-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.site-header__wordmark {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.site-header__wordmark:hover { color: var(--ink); }
.site-header__nav { display: flex; align-items: center; gap: 28px; }
.site-header__link {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.site-header__link.is-active { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.search-toggle--icon { padding: 6px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle__bar { display: block; width: 24px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search drop-down */
.site-search {
  position: absolute;
  left: 0; right: 0; top: 100%;
  z-index: 50;
  background: var(--cream);
  border-bottom: var(--rule-thick);
  display: none;
}
.site-search.is-open { display: block; }
.site-search__inner { display: flex; align-items: center; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.site-search__form { flex: 1; display: flex; align-items: center; gap: 12px; border: 2px solid var(--ink); padding-left: 16px; background: var(--cream); }
.site-search__form .icon { color: var(--muted); flex-shrink: 0; }
.site-search__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 16px 0; font-size: 18px; outline: none; }
.site-search__form .btn { border-width: 0; align-self: stretch; }
.site-search__close { padding: 8px; }

/* Mobile menu */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--cream);
  padding: 96px 16px 32px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .25s ease;
  visibility: hidden;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__inner { display: flex; flex-direction: column; }
.mobile-nav__link {
  padding: 16px 0;
  border-bottom: var(--rule);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.mobile-nav__link:first-child { border-top: var(--rule-thick); }
.mobile-nav__link sup { font-family: var(--font-mono); font-size: 12px; color: var(--primary-deep); }
.mobile-nav__link.is-active { color: var(--primary-deep); }
.mobile-nav__search { display: flex; margin: 24px 0 16px; border: 2px solid var(--ink); }
.mobile-nav__search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 14px; outline: none; }
.mobile-nav__search button { background: var(--ink); color: var(--primary); padding: 0 16px; }
.nav-toggle { position: relative; z-index: 100; }

/* ============================================================
   5. CTA band
   ============================================================ */
.cta-band { background: var(--primary); color: var(--ink); }
.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.cta-band__title {
  max-width: 1020px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.8vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
}
.cta-band__title em { font-style: normal; display: block; }
.cta-band--compact .cta-band__inner { align-items: center; padding-top: 36px; padding-bottom: 36px; }
.cta-band--compact .cta-band__title { font-size: clamp(26px, 2.9vw, 42px); letter-spacing: -0.03em; }
.cta-band--compact .cta-band__title em { display: inline; }

/* ============================================================
   6. Grids + cards
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-3--ruled { column-gap: 56px; }
.grid-3--ruled > * { position: relative; }
.grid-3--ruled > *:not(:nth-child(3n))::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; right: -28px;
  border-right: var(--rule);
}

.card { display: flex; flex-direction: column; gap: 14px; }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
}
.card__excerpt { font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

/* ============================================================
   7. Homepage
   ============================================================ */
.home-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  padding-top: 40px;
  padding-bottom: 56px;
}
.lead { display: flex; flex-direction: column; gap: 22px; padding-right: 40px; border-right: var(--rule); }
.lead__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cream-2); }
.lead__media img { width: 100%; height: 100%; object-fit: cover; }
.lead__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.7vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}
.lead__dek { max-width: 640px; font-size: 20px; line-height: 1.45; color: var(--ink-soft); }

.latest { padding-left: 40px; }
.latest__list { list-style: none; padding: 0; }
.latest__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: var(--rule);
}
.latest__num {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--primary);
}
.latest__cat {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.latest__title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.home-section { padding: 64px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 16px;
  margin-bottom: 32px;
  border-bottom: var(--rule-thick);
}
.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.9vw, 56px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.section-head__link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-deep);
  white-space: nowrap;
}

.home-dark { background: var(--ink); color: var(--cream); }
.home-dark__inner {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 64px;
}
.home-dark__intro { display: flex; flex-direction: column; gap: 20px; }
.home-dark__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.home-dark__body { font-size: 17px; line-height: 1.5; color: var(--cream-3); }
.home-dark__list { list-style: none; padding: 0; }
.dark-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-on-dark);
}
.home-dark__list li:first-child .dark-row { border-top: 1px solid var(--line-on-dark); }
.dark-row__date {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}
.dark-row__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.dark-row__arrow { color: var(--primary); transition: transform .15s ease; }
.dark-row:hover { color: var(--cream); }
.dark-row:hover .dark-row__title { text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 6px; }
.dark-row:hover .dark-row__arrow { transform: translate(3px, -3px); }

/* ============================================================
   8. Listings: All articles + categories
   ============================================================ */
.page-head__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 32px;
}
.page-head__copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.page-head__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9.4vw, 136px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.page-head__sub { max-width: 720px; font-size: 20px; line-height: 1.45; color: var(--ink-soft); }
.page-head__count {
  font-family: var(--font-display);
  font-size: clamp(80px, 13.9vw, 200px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.8;
  color: var(--primary);
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-top: var(--rule-thick);
  border-bottom: var(--rule);
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1.5px solid var(--ink);
  background: var(--cream);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip:hover { color: var(--ink); background: var(--cream-2); }
.chip__label { font-weight: 700; }
.chip__count { font-size: 12px; color: var(--muted); }
.chip__swatch { width: 10px; height: 10px; background: var(--cream-3); }
.chip--guides .chip__swatch { background: var(--primary); }
.chip--comparisons .chip__swatch { background: var(--sage); }
.chip--updates .chip__swatch { background: var(--plum); }
.chip.is-active { background: var(--ink); color: var(--cream); }
.chip.is-active .chip__count { color: var(--primary); }
.chip.is-active .chip__swatch { outline: 1px solid var(--cream); }
.chip--guides.is-active { background: var(--primary); color: var(--ink); }
.chip--guides.is-active .chip__count { color: var(--ink); }
.chip--guides.is-active .chip__swatch { display: none; }
.chips--small .chip { padding: 8px 12px; font-size: 12px; }

.filter-bar__search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 280px;
  padding: 10px 2px;
  border-bottom: 1.5px solid var(--ink);
}
.filter-bar__search .icon { color: var(--muted); flex-shrink: 0; }
.filter-bar__search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 15px; }

.listing__grid { row-gap: 48px; padding: 40px 0 16px; }
.empty-note { padding: 48px 0; color: var(--muted); }

.index-list { padding-top: 40px; }
.row {
  display: grid;
  grid-template-columns: 72px 150px minmax(0, 1fr) 22px;
  grid-template-areas: "date tag copy arrow";
  align-items: start;
  gap: 32px;
  padding: 22px 0;
  border-bottom: var(--rule);
}
.row__date {
  grid-area: date;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.row__tag { grid-area: tag; padding-top: 3px; }
.row__media { grid-area: media; display: none; aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.row__media img { width: 100%; height: 100%; object-fit: cover; }
.row__copy { grid-area: copy; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.row__url { font-family: var(--font-mono); font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.row__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.row__excerpt { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.row__arrow { grid-area: arrow; color: var(--primary-deep); padding-top: 4px; transition: transform .15s ease; }
.row:hover .row__arrow { transform: translate(3px, -3px); }

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0 72px;
}
.pager__showing {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.pager__pages { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pager .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}
.pager .page-numbers.current { background: var(--ink); color: var(--cream); }
.pager .page-numbers.dots { border-color: transparent; }
.pager .page-numbers:hover:not(.current):not(.dots) { background: var(--cream-2); color: var(--ink); }
.pager__next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  background: var(--primary);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pager__next:hover { color: var(--ink); background: #EE6A49; }

/* ============================================================
   9. Single article
   ============================================================ */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 80; pointer-events: none; }
.reading-progress__bar { height: 100%; width: 0; background: var(--primary); }

.article-head .wrap { display: flex; flex-direction: column; gap: 28px; padding-top: 56px; }
.article-head__kicker { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.crumbs {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a:hover { color: var(--ink); }
.article-head__title {
  max-width: 1200px;
  font-family: var(--font-display);
  font-size: clamp(42px, 7.2vw, 104px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.93;
  text-wrap: balance;
}
.article-head__deck { max-width: 760px; font-size: 21px; line-height: 1.45; color: var(--ink-soft); }
.byline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 16px 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
}
.byline__who { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; }
.byline__who:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.byline__avatar {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--cream);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
}
.byline__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.article-cover { margin-top: 40px; aspect-ratio: 2 / 1; overflow: hidden; background: var(--cream-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 680px) minmax(240px, 1fr);
  gap: 64px;
  padding-top: 56px;
  padding-bottom: 72px;
}
.article-grid__toc, .article-grid__cta { min-width: 0; }
.post-toc, .sticky-cta { position: sticky; top: 24px; }
.admin-bar .post-toc, .admin-bar .sticky-cta { top: 56px; }
.post-toc__label {
  display: flex;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  cursor: default;
  padding-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.post-toc__count { display: none; color: var(--muted); font-weight: 400; }
.post-toc ol { list-style: none; padding: 0; max-height: calc(100vh - 120px); overflow-y: auto; }
.post-toc a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 8px;
  padding: 11px 0;
  border-bottom: var(--rule);
  font-size: 15px;
  line-height: 1.35;
}
.post-toc__n { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 2px; }
.post-toc a.is-current { font-weight: 700; }
.post-toc a.is-current .post-toc__n { color: var(--primary-deep); }

.sticky-cta { display: flex; flex-direction: column; gap: 16px; padding: 24px; background: var(--primary); color: var(--ink); }
.sticky-cta__title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}
.sticky-cta__body { font-size: 15px; line-height: 1.45; }
.sticky-cta .btn--block { white-space: normal; text-align: left; }

/* Article content */
.post-body { min-width: 0; font-size: 19px; line-height: 1.65; color: var(--ink-soft); }
.post-body > * + * { margin-top: 24px; }
.post-body > p:first-child { font-size: 24px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.post-body p { text-wrap: pretty; }
.post-body strong { color: var(--ink); }
.post-body h2 {
  margin-top: 56px;
  font-family: var(--font-display);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  scroll-margin-top: 24px;
}
.post-body h3 {
  margin-top: 40px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.post-body h4 { margin-top: 32px; font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--ink); }
.post-body h2 + *, .post-body h3 + *, .post-body h4 + * { margin-top: 14px; }
.post-body a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.post-body a:hover { color: var(--primary-deep); }
.post-body ul, .post-body ol { padding-left: 0; }
.post-body li + li { margin-top: 10px; }
.post-body ul { list-style: none; }
.post-body ul > li { position: relative; padding-left: 26px; }
.post-body ul > li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 10px; height: 10px; background: var(--primary); }
.post-body ol { list-style: none; counter-reset: li; }
.post-body ol > li { position: relative; padding-left: 40px; counter-increment: li; }
.post-body ol > li::before {
  content: counter(li, decimal-leading-zero);
  position: absolute; left: 0; top: 0.2em;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-deep);
}

/* "Quick verdict" boxes (core quote block) */
.post-body blockquote,
.post-body .wp-block-quote {
  margin-left: 0; margin-right: 0;
  padding: 24px 28px;
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
}
.post-body blockquote p + p { margin-top: 12px; }
/* "Quick verdict:" style lead-ins become a mono label (class added by theme.js) */
.post-body blockquote .callout-label {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-deep);
}
.post-body blockquote cite { display: block; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; font-style: normal; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
/* Pull quote style, if a post uses it */
.post-body .wp-block-pullquote { padding: 24px 0; border-top: 3px solid var(--primary); border-bottom: 3px solid var(--primary); text-align: left; }
.post-body .wp-block-pullquote blockquote { background: none; border: 0; padding: 0; }
.post-body .wp-block-pullquote p { font-family: var(--font-display); font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.12; color: var(--primary-deep); }

/* Copy-paste boxes: posts ship inline styles, so these need !important */
.copy-box { position: relative; }
.post-body pre.wp-block-preformatted,
.post-body pre {
  margin: 0;
  padding: 52px 24px 24px !important;
  background: var(--ink) !important;
  color: var(--cream) !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-family: var(--font-display) !important;
  font-size: 21px !important;
  font-weight: 600;
  line-height: 1.4 !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere;
}
.copy-box + *, * + .copy-box { margin-top: 24px; }
.copy-box::before {
  content: "Copy-ready text";
  position: absolute; top: 20px; left: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.copy-box__btn {
  position: absolute; top: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-3);
  border: 1px solid var(--line-on-dark);
}
.copy-box__btn:hover { color: var(--ink); background: var(--primary); border-color: var(--primary); }
/* Inline code: a quiet chip inside a sentence */
.post-body code {
  font-family: var(--font-mono);
  font-size: 0.84em;
  color: var(--primary-deep);
  background: var(--cream-3);
  border: 1px solid var(--line);
  padding: 1px 6px;
  overflow-wrap: anywhere;
}
/* Never style the <code> inside a <pre> as an inline chip (this caused cream-on-cream) */
.post-body pre code {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
}

/* Code blocks: commands and config people paste into a terminal */
.code-box { background: var(--ink); }
.code-box + *, * + .code-box { margin-top: 24px; }
.code-box__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 10px 14px 10px 24px;
  border-bottom: 1px solid var(--line-on-dark);
}
.code-box__lang {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.code-box .copy-box__btn { position: static; }
.post-body pre.wp-block-code {
  margin: 0;
  padding: 22px 24px 26px !important;
  background: var(--ink) !important;
  color: var(--cream) !important;
  font-family: var(--font-mono) !important;
  font-size: 15px !important;
  font-weight: 400;
  line-height: 1.7 !important;
  white-space: pre-wrap !important;
  overflow-wrap: break-word;
  tab-size: 2;
}
/* Wrap at spaces only: never split a flag like --header across lines */
.post-body pre.wp-block-code code { white-space: inherit; overflow-wrap: break-word; }
.code-box .tok-prompt { color: var(--muted-on-dark); user-select: none; }
.code-box .tok-flag { color: var(--sage); white-space: nowrap; }
.code-box .tok-str { color: #F4B7A3; }
.code-box .tok-ph { color: var(--primary); }

/* Tables */
.post-body .wp-block-table { overflow-x: auto; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.post-body thead th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: var(--rule-thick);
}
.post-body th, .post-body td { padding: 12px 14px 12px 0; border-bottom: var(--rule); vertical-align: top; }
/* Hairline rows only: drop WordPress's default box borders on every cell */
.post-body .wp-block-table th, .post-body .wp-block-table td { border-top: 0; border-left: 0; border-right: 0; }
.post-body .wp-block-table thead { border-bottom: 0; }
.post-body .wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--cream-2); }
/* The Mixily column in comparison tables (class added by theme.js) */
.post-body .is-mixily-col { background: rgba(228, 89, 55, 0.08); padding-left: 14px; font-weight: 600; color: var(--ink); }
.post-body thead .is-mixily-col { color: var(--primary-deep); }
.post-body figcaption, .post-body .wp-element-caption { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* Images */
.post-body figure.wp-block-image img { width: 100%; height: auto; }
.post-body .alignright { float: right; max-width: 45%; margin: 6px 0 16px 28px; }
.post-body .alignleft { float: left; max-width: 45%; margin: 6px 28px 16px 0; }
.post-body .aligncenter { margin-left: auto; margin-right: auto; }
.post-body h2, .post-body h3, .post-body .copy-box, .post-body blockquote, .post-body .wp-block-table { clear: both; }
.post-body hr, .post-body .wp-block-separator { border: 0; border-top: var(--rule-thick); margin: 48px 0; }

/* FAQ + Do/Don't blocks sit in the square system */
.post-body .mixily-faq { border-radius: 0 !important; box-shadow: none !important; }
.post-body .mixily-faq[open] { border-color: var(--ink); }
.post-body .mixily-dodont { clear: both; }

/* Buttons + file downloads */
.post-body .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  background: var(--primary);
  color: var(--ink);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.post-body .wp-block-button__link::after { content: "→"; font-size: 16px; }
.post-body .wp-block-button__link:hover { background: var(--ink); color: var(--cream); }
.post-body .wp-block-file {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 0;
  border-top: var(--rule);
  border-bottom: var(--rule);
  font-weight: 600;
  color: var(--ink);
}
.post-body .wp-block-file a:not(.wp-block-file__button) { text-decoration: none; }
.post-body .wp-block-file__button {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0;
  padding: 10px 14px;
  background: none;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.post-body .wp-block-file__button:hover { background: var(--ink); color: var(--cream); }

.page-links { margin-top: 32px; font-family: var(--font-mono); }

.read-next { background: var(--cream-2); border-top: var(--rule-thick); padding: 48px 0 64px; }
.read-next__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 24px; }
.next-item { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; }
.next-item__thumb { display: block; aspect-ratio: 10 / 7; overflow: hidden; background: var(--cream-3); }
.next-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.next-item__title {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.next-item:hover .next-item__title { text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 4px; }
.next-item:hover { color: var(--ink); }

.mobile-cta-bar { display: none; }

/* ============================================================
   10. Search
   ============================================================ */
.search-head .wrap { display: flex; flex-direction: column; gap: 20px; padding-top: 56px; }
.big-search { display: flex; align-items: center; gap: 20px; padding-bottom: 14px; border-bottom: var(--rule-thick); }
.big-search > .icon { color: var(--primary); flex-shrink: 0; }
.big-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  font-family: var(--font-display);
  font-size: clamp(48px, 8.3vw, 120px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.big-search input::placeholder { color: var(--cream-3); }
.big-search__clear {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.search-head__bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.search-head__count { font-size: 18px; color: var(--ink-soft); }
.search-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; padding-top: 24px; padding-bottom: 72px; }
.search-body .row { grid-template-columns: 220px minmax(0, 1fr) 22px; grid-template-areas: "media copy arrow"; gap: 28px; padding: 24px 0; }
.search-body .row__media { display: block; aspect-ratio: 22 / 15; }
.search-body .row__date { display: none; }
.search-body .row__tag { grid-area: copy; align-self: start; }
.search-body .row__copy { padding-top: 34px; }
.search-body .row__title { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
.search-body .row__excerpt { font-size: 16px; }
.search-body .pager { padding-bottom: 0; }
.search-body__side { display: flex; flex-direction: column; gap: 28px; }
.side-block { display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; border-bottom: var(--rule); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 12px; background: var(--cream-2); font-size: 15px; }
.pill:hover { background: var(--cream-3); color: var(--ink); }
.no-results { display: flex; flex-direction: column; gap: 12px; }
.no-results__title { font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; color: var(--ink); }

/* ============================================================
   11. 404
   ============================================================ */
.nf__inner { display: flex; align-items: flex-end; gap: 56px; padding-top: 64px; padding-bottom: 56px; }
.nf__num {
  font-family: var(--font-display);
  font-size: clamp(150px, 23.6vw, 340px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.8;
  color: var(--primary);
}
.nf__copy { flex: 1; display: flex; flex-direction: column; gap: 22px; padding-bottom: 12px; }
.nf__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.nf__body { font-size: 19px; line-height: 1.5; color: var(--ink-soft); }
.nf-picks { padding-bottom: 72px; }
.nf-picks .grid-3 { margin-top: 24px; }

.boxed-search { display: flex; align-items: center; border: 2px solid var(--ink); background: var(--cream); }
.boxed-search > .icon { margin-left: 18px; color: var(--muted); flex-shrink: 0; }
.boxed-search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 18px 12px; font-size: 17px; }
.boxed-search .btn { border: 0; align-self: stretch; }
.boxed-search .btn:hover { transform: none; }

/* ============================================================
   12. About
   ============================================================ */
.about-hero__inner {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr) 300px;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 48px;
}
.about-hero__photo { min-height: 100%; overflow: hidden; background: var(--cream-2); }
.about-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-hero__intro { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; }
.about-hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 5.8vw, 84px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
}
.about-hero__title em { font-style: normal; color: var(--primary-deep); }
.about-hero__lede { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.about-hero__body { font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.about-hero__intro .btn-row { padding-top: 6px; }

.glance { padding-top: 8px; }
.glance dl { margin: 0; }
.glance__item { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: var(--rule); }
.glance dt {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-deep);
}
.glance dd { font-family: var(--font-display); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.glance dd a { text-decoration: underline; text-decoration-color: var(--primary); text-underline-offset: 4px; }

.about-story__inner { display: grid; grid-template-columns: 420px minmax(0, 1fr); padding-bottom: 56px; }
.book-panel { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px; background: var(--primary-soft); }
.book-panel__top { display: flex; align-items: flex-end; gap: 22px; }
.book-panel__cover { display: block; flex-shrink: 0; width: 150px; box-shadow: 8px 8px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.book-panel__cover:hover { transform: translate(-2px, -2px); box-shadow: 10px 10px 0 var(--ink); }
.book-panel__cover img { width: 100%; height: auto; }
.book-panel__top .eyebrow { margin-bottom: 8px; }
.book-panel__title { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -0.035em; line-height: 0.95; }
.book-panel__title a { text-decoration: underline; text-decoration-color: var(--primary); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.book-panel__desc { font-size: 16px; line-height: 1.55; }

.why { display: flex; flex-direction: column; gap: 22px; padding: 32px 0 0 48px; }
.why__head { display: flex; flex-direction: column; gap: 12px; padding-bottom: 18px; border-bottom: var(--rule-thick); }
.why__quote { font-family: var(--font-display); font-size: clamp(34px, 3.6vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.why__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.why__cols > div { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.why__lead { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.why__strong { font-weight: 600; color: var(--ink); }

.now-strip { background: var(--ink); color: var(--cream); }
.now-strip__inner { display: grid; grid-template-columns: 280px repeat(3, minmax(0, 1fr)); align-items: center; padding-top: 36px; padding-bottom: 36px; }
.now-strip__label { display: flex; flex-direction: column; gap: 8px; padding-right: 32px; }
.now-strip__lead { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.15; }
.now-strip__fact { padding: 4px 0 4px 32px; border-left: 1px solid var(--line-on-dark); }
.now-strip__h { font-family: var(--font-display); font-size: 40px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.now-strip__b { margin-top: 6px; font-size: 15px; line-height: 1.45; color: var(--cream-3); }

/* ============================================================
   13. Contact
   ============================================================ */
.contact-hero .wrap { display: flex; flex-direction: column; gap: 28px; padding-top: 72px; padding-bottom: 64px; }
.contact-hero__title { font-family: var(--font-display); font-size: clamp(88px, 13.9vw, 200px); font-weight: 800; letter-spacing: -0.05em; line-height: 0.85; }
.contact-hero__body { max-width: 760px; font-size: 24px; line-height: 1.45; color: var(--ink-soft); }
.email-band { background: var(--primary); }
.email-band__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.email-band__address {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(40px, 7.2vw, 104px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 8px;
  overflow-wrap: anywhere;
}
.email-band__address:hover { color: var(--ink); text-decoration-color: var(--cream); }
.contact-options { padding-top: 56px; padding-bottom: 72px; }
.contact-option { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.contact-option__icon { color: var(--primary-deep); }
.contact-option__title { font-family: var(--font-display); font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
.contact-option__body { font-size: 17px; line-height: 1.5; color: var(--ink-soft); }

/* ============================================================
   14. Plain pages
   ============================================================ */
.plain-page__head { padding-top: 56px; padding-bottom: 32px; border-bottom: var(--rule-thick); }
.plain-page__title { font-family: var(--font-display); font-size: clamp(48px, 7vw, 104px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.93; }
.plain-page__body { max-width: 720px; padding: 48px 0 72px; }

/* ============================================================
   15. Footer
   ============================================================ */
.site-footer { background: var(--ink); color: var(--cream); border-top: 6px solid var(--primary); }
.site-footer .wrap { display: flex; flex-direction: column; gap: 40px; padding-top: 48px; padding-bottom: 32px; }
.site-footer__row { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 32px; }
.site-footer__wordmark { font-family: var(--font-display); font-size: clamp(56px, 6.1vw, 88px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.9; }
.site-footer__wordmark:hover { color: var(--cream); }
.site-footer__tag { margin-top: 10px; color: var(--cream-3); font-size: 15px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.site-footer__links a {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-3);
}
.site-footer__links a:hover { color: var(--primary); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ============================================================
   16. Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .article-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
  .article-grid__cta { display: none; }
  .mobile-cta-bar {
    position: sticky; bottom: 0; z-index: 40;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px var(--gutter);
    background: var(--primary);
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
  }
  .about-hero__inner { grid-template-columns: 320px minmax(0, 1fr); }
  .glance { grid-column: 1 / -1; }
  .glance dl { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
  .about-story__inner { grid-template-columns: 1fr; gap: 0; }
  .why { padding-left: 0; }
  .home-dark__inner { grid-template-columns: 1fr; gap: 32px; }
  .site-header__nav { gap: 20px; }
}

@media (max-width: 960px) {
  :root { --gutter: 24px; }
  .home-hero__inner { grid-template-columns: 1fr; }
  .lead { padding-right: 0; border-right: 0; }
  .latest { padding-left: 0; padding-top: 40px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3--ruled > *::after { display: none; }
  .grid-3 { column-gap: 32px; row-gap: 40px; }
  .read-next__row { grid-template-columns: 1fr; gap: 20px; }
  .search-body { grid-template-columns: 1fr; gap: 40px; }
  .now-strip__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .now-strip__label { grid-column: 1 / -1; padding-right: 0; }
  .now-strip__fact:nth-child(2) { border-left: 0; padding-left: 0; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar__search { width: 100%; }
  .site-header__nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .catnav { display: none; }
  .masthead__row { align-items: center; }
  .masthead__tagline { display: none; }
  .masthead { border-bottom: var(--rule-thick); padding-bottom: 0; }
  .masthead__row { padding-bottom: 14px; }
  .nf__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }

  .topbar__inner { font-size: 10px; }
  .topbar__issue { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .topbar__issue { display: none; }
  .topbar__inner { justify-content: center; }

  .masthead { padding-top: 16px; }
  .masthead__wordmark { font-size: 46px; letter-spacing: -0.045em; }
  .site-header__wordmark { font-size: 28px; }
  .site-header__inner { padding-top: 12px; padding-bottom: 12px; }

  .cta-band__inner { flex-direction: column; align-items: stretch; gap: 20px; padding-top: 28px; padding-bottom: 28px; }
  .cta-band__title { font-size: 32px; }
  .cta-band .btn { justify-content: space-between; }

  .home-hero__inner { padding-top: 20px; padding-bottom: 28px; }
  .lead { gap: 14px; }
  .lead__media { aspect-ratio: 3 / 2; }
  .lead__title { font-size: 36px; letter-spacing: -0.04em; }
  .lead__dek { font-size: 16px; }
  .latest__item { grid-template-columns: 40px 1fr; padding: 14px 0; }
  .latest__num { font-size: 28px; }
  .latest__title { font-size: 18px; }
  .home-section { padding: 40px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .grid-3 { grid-template-columns: 1fr; }
  .home-dark__inner { padding-top: 40px; padding-bottom: 40px; }
  .dark-row { grid-template-columns: 1fr 24px; gap: 6px 16px; padding: 18px 0; }
  .dark-row__date { grid-column: 1 / -1; }

  .page-head__inner { padding-top: 24px; padding-bottom: 16px; align-items: flex-end; }
  .page-head__title { font-size: 52px; }
  .page-head__sub { font-size: 16px; }
  .page-head__count { font-size: 72px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { padding: 8px 10px; font-size: 11px; gap: 6px; }
  .listing__grid { padding-top: 24px; }

  .row,
  .search-body .row {
    grid-template-columns: 96px auto minmax(0, 1fr);
    grid-template-areas:
      "media tag date"
      "media copy copy";
    gap: 8px 12px;
    padding: 16px 0;
  }
  .row__media, .search-body .row__media { display: block; aspect-ratio: 1; align-self: start; }
  .row__date, .search-body .row__date { display: block; padding-top: 4px; font-size: 10px; }
  .row__tag, .search-body .row__tag { grid-area: tag; padding-top: 0; }
  .row__arrow { display: none; }
  .search-body .row__copy { padding-top: 0; }
  .row__title, .search-body .row__title { font-size: 18px; }
  .row__excerpt, .search-body .row__excerpt { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .row__url { display: none; }
  .pager { justify-content: center; padding-bottom: 40px; }
  .pager__showing { width: 100%; text-align: center; }

  .article-head .wrap { gap: 14px; padding-top: 24px; }
  .article-head__title { font-size: 40px; letter-spacing: -0.045em; line-height: 0.95; }
  .byline { font-size: 14px; }
  .byline__meta { font-size: 10px; }
  .article-cover { margin-top: 20px; aspect-ratio: 3 / 2; }
  .article-grid { grid-template-columns: 1fr; gap: 24px; padding-top: 24px; padding-bottom: 40px; }
  .post-toc { position: static; border-top: var(--rule-thick); border-bottom: var(--rule); }
  .post-toc__label { cursor: pointer; padding: 14px 0; }
  .post-toc__label::after { content: "+"; font-size: 18px; line-height: 1; }
  .post-toc__label[aria-expanded="true"]::after { content: "−"; }
  .post-toc__count { display: inline; margin-left: auto; margin-right: 12px; }
  .post-toc ol { display: none; max-height: none; }
  .post-toc.is-open ol { display: block; }
  .post-toc.is-open li:last-child a { border-bottom: 0; }
  .post-body { font-size: 17px; }
  .post-body > p:first-child { font-size: 20px; }
  .post-body h2 { margin-top: 40px; font-size: 30px; }
  .post-body h3 { font-size: 22px; }
  .post-body pre.wp-block-preformatted, .post-body pre { font-size: 18px !important; padding: 48px 18px 20px !important; }
  .copy-box::before { left: 18px; }
  .post-body pre.wp-block-code { font-size: 14px !important; padding: 18px 18px 20px !important; }
  .code-box__bar { padding-left: 18px; }
  /* Wide comparison tables scroll sideways instead of crushing columns */
  .post-body .wp-block-table { -webkit-overflow-scrolling: touch; }
  .post-body .wp-block-table table { table-layout: auto; min-width: 560px; }
  .post-body .wp-block-table th { white-space: nowrap; }
  .post-body .alignright, .post-body .alignleft { float: none; max-width: 100%; margin: 0; }
  .read-next { padding: 32px 0 40px; }
  .next-item { grid-template-columns: 96px 1fr; }
  .next-item__title { font-size: 17px; }
  .mobile-cta-bar { padding: 12px 16px; font-size: 16px; }

  .search-head .wrap { padding-top: 24px; gap: 14px; }
  .big-search { gap: 10px; }
  .big-search > .icon { width: 28px; height: 28px; }
  .big-search input { font-size: 48px; }
  .search-head__count { font-size: 15px; }
  .chips--small { width: 100%; }

  .nf__inner { padding-top: 32px; padding-bottom: 28px; }
  .nf__title { font-size: 38px; }
  .nf__body { font-size: 16px; }
  .boxed-search .btn { padding: 0 14px; font-size: 0; gap: 0; }
  .boxed-search .btn::after { content: "→"; font-size: 18px; color: var(--primary); }
  .nf-picks { padding-bottom: 40px; }

  .about-hero__inner { grid-template-columns: 1fr; gap: 20px; padding-top: 24px; }
  .about-hero__photo { order: 2; aspect-ratio: 4 / 5; }
  .about-hero__intro { display: contents; }
  .about-hero__intro .eyebrow { order: 0; }
  .about-hero__title { order: 1; font-size: 52px; }
  .about-hero__lede { order: 3; font-size: 22px; }
  .about-hero__body { order: 4; font-size: 16px; }
  .about-hero__intro .btn-row { order: 5; }
  .glance { order: 6; }
  .glance dl { grid-template-columns: 1fr; }
  .book-panel { padding: 24px 16px; margin: 0 calc(var(--gutter) * -1); }
  .book-panel__cover { width: 96px; box-shadow: 6px 6px 0 var(--ink); }
  .book-panel__title { font-size: 28px; }
  .why { padding-top: 28px; }
  .why__cols { grid-template-columns: 1fr; gap: 16px; }
  .now-strip__inner { grid-template-columns: 1fr; }
  .now-strip__fact { border-left: 0; padding: 12px 0 0; border-top: 1px solid var(--line-on-dark); }
  .now-strip__h { font-size: 30px; }

  .contact-hero .wrap { padding-top: 32px; padding-bottom: 28px; gap: 16px; }
  .contact-hero__title { font-size: 96px; }
  .contact-hero__body { font-size: 17px; }
  .email-band__inner { flex-direction: column; align-items: stretch; padding-top: 24px; padding-bottom: 24px; }
  .email-band__address { font-size: 44px; text-decoration-thickness: 3px; }
  .email-band .btn { justify-content: space-between; }
  .contact-options { padding-top: 16px; padding-bottom: 32px; }
  .contact-option { padding: 18px 0 !important; border-bottom: var(--rule); }
  .contact-option__title { font-size: 24px; }

  .site-footer .wrap { padding-top: 28px; padding-bottom: 24px; gap: 20px; }
  .site-footer__wordmark { font-size: 36px; }
  .site-footer__links { gap: 10px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
