/*
Theme Name: Mixily Editorial
Theme URI: https://mixily.com
Author: Mixily / Nick Gray
Author URI: https://mixily.com
Description: A warm, magazine-style editorial theme for the Mixily blog. Big display type, alternating asymmetric post cards, coral-on-cream palette, and pages built specifically for hosting content.
Version: 1.7.0
Requires at least: 6.4
Requires PHP: 8.0
License: Proprietary — All Rights Reserved
Text Domain: mixily-editorial
Tags: blog, editorial, two-columns, custom-menu, custom-logo, featured-images, post-thumbnails, threaded-comments
*/

/* ============================================================
   MIXILY BLOG THEME — design tokens + base
   ============================================================ */

:root {
  --cream: #F5EFE6;
  --cream-2: #EFE7DA;
  --cream-3: #E8DFCE;
  --ink: #1A1410;
  --ink-soft: #3D332A;
  --muted: #7A6F62;
  --line: rgba(26, 20, 16, 0.12);
  --line-soft: rgba(26, 20, 16, 0.07);

  --primary: oklch(64% 0.18 35);
  --primary-deep: oklch(48% 0.16 30);
  --primary-soft: oklch(92% 0.04 35);
  --plum: oklch(35% 0.08 350);
  --sage: oklch(72% 0.06 145);

  --font-display: "Bricolage Grotesque", "Times New Roman", serif;
  --font-body: "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(26,20,16,.04), 0 2px 6px rgba(26,20,16,.04);
  --shadow-md: 0 2px 4px rgba(26,20,16,.05), 0 12px 28px rgba(26,20,16,.08);
  --shadow-lg: 0 4px 8px rgba(26,20,16,.06), 0 24px 56px rgba(26,20,16,.12);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    radial-gradient(rgba(26,20,16,.025) 1px, transparent 1px),
    radial-gradient(rgba(26,20,16,.018) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
  mix-blend-mode: multiply;
  opacity: .6;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}
.container-narrow { max-width: 836px; margin: 0 auto; padding: 0 32px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--cream) 88%, transparent);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: .5px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  font-variation-settings: "wdth" 95;
}
.brand__mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(circle at 30% 30%, var(--primary) 0%, transparent 55%);
  opacity: .9;
  mix-blend-mode: screen;
}
.brand__mark span { position: relative; z-index: 1; }

.brand__logo-img {
  width: auto !important;
  height: auto !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 9px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color .18s;
}
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 6px 16px -4px color-mix(in oklab, var(--primary) 60%, transparent);
}
.btn--primary:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 10px 24px -4px color-mix(in oklab, var(--primary) 70%, transparent);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--cream); }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn--icon::after {
  content: "→";
  display: inline-block;
  transition: transform .2s;
}
.btn:hover.btn--icon::after { transform: translateX(3px); }

/* ============================================================
   MASTHEAD
   ============================================================ */
.masthead {
  padding: 80px 0 64px;
  position: relative;
}
.masthead__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.masthead__eyebrow::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 25%, transparent);
}
.masthead__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  text-wrap: balance;
  font-variation-settings: "wdth" 80;
}
.masthead__title em {
  font-style: italic;
  font-weight: 500;
  font-variation-settings: "wdth" 110;
  color: var(--primary);
}
.masthead__sub {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 0 36px;
  text-wrap: pretty;
}
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--cream-2);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all .2s;
  cursor: pointer;
}
.chip:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.chip__count {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: .6;
}

.scroll-cue {
  position: absolute;
  right: 32px; bottom: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--ink), transparent);
  display: block;
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(0.4); opacity: .4; }
}

/* ============================================================
   FEATURED HERO POST
   ============================================================ */
.hero-post {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  padding: 24px 0 96px;
  align-items: center;
}
.hero-post__media {
  display: block;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: var(--cream-3);
  transition: transform .4s ease;
}
.hero-post__media-wrap {
  position: relative;
}
.hero-post__media-wrap::before {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  background: var(--primary);
  border-radius: var(--r-lg);
  z-index: 0;
  transition: inset .3s ease;
  filter: blur(6px);
  opacity: 0.85;
}
.hero-post__media-wrap:hover::before { inset: 24px -24px -24px 24px; }
.hero-post__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.hero-post__media-wrap:hover img { transform: scale(1.04); }
.hero-post__media { position: relative; z-index: 1; }

.hero-post__meta {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero-post__meta .badge {
  background: var(--ink);
  color: var(--cream);
  padding: 5px 11px;
  border-radius: 4px;
  font-weight: 600;
}
.hero-post__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

.hero-post__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  text-wrap: balance;
  font-variation-settings: "wdth" 85;
}
.hero-post__title a {
  background-image: linear-gradient(to bottom, transparent 92%, var(--primary) 92%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size .4s ease;
}
.hero-post__title a:hover { background-size: 100% 100%; }
.hero-post__excerpt {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 28px;
  text-wrap: pretty;
  max-width: 56ch;
}

/* ============================================================
   ARTICLE CARDS — alternating
   ============================================================ */
.section-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-label h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-label .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-stream { padding-bottom: 96px; }
.article-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.article-row:last-child { border-bottom: none; }
.article-row.is-reverse .article-row__media-wrap { order: 2; }
.article-row.is-reverse .article-row__body { order: 1; }

.article-row__media-wrap {
  position: relative;
}
.article-row__media-wrap::before {
  content: "";
  position: absolute;
  inset: 10px -10px -10px 10px;
  background: var(--cream-3);
  border-radius: var(--r-md);
  z-index: 0;
  transition: inset .3s ease, background .3s;
  filter: blur(5px);
  opacity: 0.9;
}
.article-row.is-reverse .article-row__media-wrap::before {
  inset: 10px 10px -10px -10px;
}
.article-row__media-wrap:hover::before {
  inset: 14px -14px -14px 14px;
  background: var(--primary);
}
.article-row.is-reverse .article-row__media-wrap:hover::before {
  inset: 14px 14px -14px -14px;
  background: var(--primary);
}
.article-row__media {
  display: block;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-3);
  z-index: 1;
}
.article-row__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.article-row__media-wrap:hover img { transform: scale(1.05); }

.article-row__num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 14px;
}
.article-row__meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.article-row__meta .badge {
  color: var(--primary-deep);
  font-weight: 600;
}
.article-row__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 0 0 16px;
  text-wrap: balance;
  font-variation-settings: "wdth" 90;
}
.article-row__title a {
  transition: color .2s;
}
.article-row__title a:hover { color: var(--primary); }
.article-row__excerpt {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 22px;
  max-width: 50ch;
  text-wrap: pretty;
}
.read-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: gap .2s;
}
.read-more:hover { gap: 14px; color: var(--primary); border-color: var(--primary); }

/* ============================================================
   GRID layout
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  padding-bottom: 96px;
}
.article-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.card__media {
  display: block;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-3);
}
.card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card__media img { transform: scale(1.04); }
.card__meta {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.card__meta .badge { color: var(--primary-deep); font-weight: 600; }
.card__title {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "wdth" 90;
}
.card__title a:hover { color: var(--primary); }
.card__excerpt {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}

/* List layout */
.article-list { padding-bottom: 96px; }
.list-row {
  display: grid;
  grid-template-columns: 80px 200px 1fr auto;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding .2s;
  color: inherit;
}
.list-row:hover { padding-left: 12px; }
.list-row__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.list-row__media {
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--cream-3);
}
.list-row__media img { width: 100%; height: 100%; object-fit: cover; }
.list-row__title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 6px;
}
.list-row__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  margin: 24px 0;
  padding: 80px 64px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 380px; height: 380px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 80px; top: 80px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .9;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.cta-band__eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--cream) 70%, transparent);
  margin: 0 0 20px;
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 24px;
  text-wrap: balance;
  font-variation-settings: "wdth" 85;
}
.cta-band__title em {
  font-style: italic;
  color: var(--primary);
  font-variation-settings: "wdth" 115;
  font-weight: 500;
}
.cta-band__sub {
  font-size: 18px;
  color: color-mix(in oklab, var(--cream) 80%, transparent);
  margin: 0 0 32px;
  max-width: 56ch;
}

/* ============================================================
   POPULAR + AUTHOR FOOTER GRID
   ============================================================ */
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding: 96px 0 64px;
}
.popular-list { display: flex; flex-direction: column; gap: 0; }
.popular-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  transition: all .2s;
  color: inherit;
}
.popular-row:last-child { border-bottom: 1px solid var(--line); }
.popular-row:hover {
  padding-left: 8px;
  background: linear-gradient(to right, color-mix(in oklab, var(--primary) 10%, transparent), transparent);
}
.popular-row__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--muted);
}
.popular-row__title {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
  margin: 0;
}
.popular-row__arrow {
  color: var(--muted);
  transition: all .2s;
}
.popular-row:hover .popular-row__arrow {
  color: var(--primary);
  transform: translateX(4px);
}

.author-card {
  background: var(--cream-2);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.author-card__avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--primary);
  margin-bottom: 20px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  letter-spacing: -0.02em;
}
.author-card__role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 6px;
}
.author-card__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.author-card__bio {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 22px;
  text-wrap: pretty;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cream-2);
  padding: 64px 0 32px;
  margin-top: 32px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 18px;
  font-weight: 500;
}
.site-footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}
.site-footer a:hover { color: var(--primary); }

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: .9;
  margin: 0 0 18px;
  font-variation-settings: "wdth" 85;
}
.site-footer__tag {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 32ch;
  margin: 0;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 32px 0 64px;
  list-style: none;
  margin: 0;
}
.pagination .page-numbers {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink-soft);
  transition: all .2s;
  text-decoration: none;
}
.pagination a.page-numbers:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color: var(--cream); border-color: var(--ink); font-weight: 600; }
.pagination .page-numbers.dots { border: none; background: none; width: auto; }
/* Also handle archive.php paginate_links() */
nav.pagination a, nav.pagination span {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink-soft);
  transition: all .2s;
  text-decoration: none;
}
nav.pagination a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
nav.pagination .current { background: var(--ink); color: var(--cream); border-color: var(--ink); font-weight: 600; }

/* Archive JS-pagination nav */
.archive-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px 0 16px;
}
.archive-nav__btn {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 15px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .2s;
}
.archive-nav__btn:hover:not(:disabled) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.archive-nav__btn:disabled { opacity: 0.35; cursor: default; }
.archive-nav__label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .06em;
  min-width: 70px;
  text-align: center;
}
.archive-nav[hidden] { display: none; }

/* ============================================================
   SINGLE POST PAGE
   ============================================================ */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
}
.reading-progress__bar {
  height: 100%;
  background: var(--primary);
  transition: width .1s linear;
  width: 0%;
}

.post-hero {
  padding: 56px 0 48px;
  text-align: left;
}
.post-hero__crumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.post-hero__crumbs a:hover { color: var(--primary); }
.post-hero__crumbs .sep { margin: 0 10px; opacity: .5; }
.post-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 28px;
  text-wrap: balance;
  font-variation-settings: "wdth" 80;
  max-width: 18ch;
}
.post-hero__deck {
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: 0 0 36px;
  max-width: 56ch;
  text-wrap: pretty;
}
.post-hero__byline {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.post-hero__byline strong {
  color: var(--ink);
  font-weight: 600;
}
.post-hero__byline .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  text-transform: none;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.post-hero__cover {
  margin: 32px 0 64px;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--cream-3);
}
.post-hero__cover img { width: 100%; height: 100%; object-fit: cover; }

.post-body {
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-soft);
  padding-bottom: 64px;
}
.post-body p { margin: 0 0 24px; text-wrap: pretty; }
.post-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 96px;
  line-height: 0.85;
  float: left;
  margin: 6px 14px 0 0;
  color: var(--primary);
  font-variation-settings: "wdth" 80;
}
.post-body h2 {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 56px 0 20px;
  color: var(--ink);
  font-variation-settings: "wdth" 90;
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 40px 0 14px;
  color: var(--ink);
}
.post-body blockquote {
  margin: 40px -32px;
  padding: 32px;
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-left: 4px solid var(--primary);
  background: var(--cream-2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-variation-settings: "wdth" 95;
}
.post-body blockquote p { margin: 0; text-wrap: balance; }
.post-body ul, .post-body ol { padding-left: 24px; margin: 0 0 28px; }
.post-body li { margin-bottom: 10px; }
.post-body a {
  color: var(--primary-deep);
  border-bottom: 1px solid currentColor;
}
.post-body a:hover { color: var(--primary); }

.post-toc {
  position: sticky;
  top: 96px;
  padding: 24px;
  background: var(--cream-2);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  font-size: 14px;
}
.post-toc h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.post-toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.post-toc li { counter-increment: toc; padding: 6px 0; }
.post-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  margin-right: 10px;
}
.post-toc a:hover { color: var(--primary); }

.post-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  align-items: start;
}

/* ============================================================
   CATEGORY PAGE
   ============================================================ */
.cat-header {
  padding: 96px 0 48px;
  position: relative;
}
.cat-header__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin: 0 0 18px;
}
.cat-header__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 10vw, 160px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  font-variation-settings: "wdth" 75;
}
.cat-header__sub {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0;
}
.cat-header__stats {
  margin-top: 36px;
  display: flex;
  gap: 48px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cat-header__stat .n {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
  font-variation-settings: "wdth" 90;
}
.cat-header__stat .l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.layout-switch {
  display: inline-flex;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.layout-switch button {
  appearance: none;
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s;
}
.layout-switch button.is-active {
  background: var(--ink);
  color: var(--cream);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  padding: 80px 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-hero__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.about-hero__kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 25%, transparent);
}
.about-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  text-wrap: balance;
  font-variation-settings: "wdth" 78;
}
.about-hero__title em {
  font-style: italic; font-weight: 500;
  color: var(--primary);
  font-variation-settings: "wdth" 115;
}
.about-hero__deck {
  font-size: 20px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
}
.about-hero__portrait {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--cream-3);
  border-radius: var(--r-lg);
  overflow: visible;
}
.about-hero__portrait::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  background: var(--primary);
  border-radius: var(--r-lg);
  z-index: 0;
  filter: blur(6px);
  opacity: 0.85;
}
.about-hero__portrait-inner {
  position: relative; z-index: 1;
  height: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--cream-3);
}
.about-hero__portrait-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 64px 0 96px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-strip__cell {
  padding: 28px 24px;
  border-right: 1px solid var(--line);
}
.stat-strip__cell:last-child { border-right: none; }
.stat-strip__n {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variation-settings: "wdth" 85;
  margin: 0 0 6px;
}
.stat-strip__n em { font-style: italic; color: var(--primary); font-variation-settings: "wdth" 115; font-weight: 500; }
.stat-strip__l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.manifesto {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 32px 0 96px;
  align-items: start;
}
.manifesto__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  position: sticky;
  top: 96px;
}
.manifesto__body {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 500;
  margin: 0;
  text-wrap: pretty;
  color: var(--ink);
  font-variation-settings: "wdth" 95;
}
.manifesto__body em { font-style: italic; color: var(--primary); font-variation-settings: "wdth" 115; }
.manifesto__body p { margin: 0 0 24px; }
.manifesto__body p:last-child { margin: 0; }

.timeline {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.timeline__row {
  display: grid;
  grid-template-columns: 120px 1fr 220px;
  gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.timeline__row:last-child { border-bottom: none; }
.timeline__year {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.timeline__title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 8px;
  font-variation-settings: "wdth" 90;
}
.timeline__title em { font-style: italic; color: var(--primary); }
.timeline__body {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
  max-width: 56ch;
}
.timeline__tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}

.book-band {
  margin: 64px 0 32px;
  padding: 64px;
  background: var(--cream-2);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}
.book-cover {
  aspect-ratio: 2/3;
  border-radius: 6px;
  background: var(--ink);
  color: var(--cream);
  padding: 20px;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.25);
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotate(-3deg);
  transition: transform .3s ease;
}
.book-cover:hover { transform: rotate(0) scale(1.03); }
.book-cover--photo {
  aspect-ratio: 2/3;
  border-radius: 6px;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,.25);
  transform: rotate(-3deg);
  transition: transform .3s ease;
  display: block;
  object-fit: cover;
}
.book-cover--photo:hover { transform: rotate(0) scale(1.03); }
.book-cover__top {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: .6;
}
.book-cover__title {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--primary);
  font-variation-settings: "wdth" 80;
}
.book-cover__author {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.book-band__body h3 {
  font-family: var(--font-display);
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 16px;
  font-variation-settings: "wdth" 88;
  text-wrap: balance;
}
.book-band__body p { font-size: 17px; color: var(--ink-soft); margin: 0 0 24px; }

.press {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: center;
}
.press__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.press__list {
  display: flex;
  gap: 56px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink-soft);
  flex-wrap: wrap;
  font-variation-settings: "wdth" 90;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding: 80px 0 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: end;
}
.contact-hero__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary-deep);
  margin: 0 0 18px;
  display: flex; align-items: center; gap: 12px;
}
.contact-hero__kicker::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--primary) 25%, transparent);
}
.contact-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 144px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "wdth" 78;
}
.contact-hero__title em {
  font-style: italic; font-weight: 500;
  color: var(--primary);
  font-variation-settings: "wdth" 115;
}
.contact-hero__deck {
  font-size: 19px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
  text-wrap: pretty;
  max-width: 36ch;
}

.contact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 32px 0 96px;
}
.contact-strip__cell {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
}
.contact-strip__cell:last-child { border-right: none; }
.contact-strip__l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.contact-strip__v {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  font-variation-settings: "wdth" 90;
}
.contact-strip__v small {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 4px;
  letter-spacing: 0;
}

.email-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-xl);
  padding: 80px 64px;
  position: relative;
  overflow: hidden;
  text-align: center;
  margin-bottom: 96px;
}
.email-card::before {
  content: "";
  position: absolute;
  left: -120px; top: -120px;
  width: 360px; height: 360px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: .45;
}
.email-card::after {
  content: "";
  position: absolute;
  right: -100px; bottom: -100px;
  width: 280px; height: 280px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
}
.email-card__inner { position: relative; z-index: 1; }
.email-card__kicker {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--cream) 70%, transparent);
  margin: 0 0 28px;
}
.email-card__email {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 32px;
  font-variation-settings: "wdth" 88;
  word-break: break-word;
}
.email-card__email a {
  color: var(--cream);
  background-image: linear-gradient(to bottom, transparent 88%, var(--primary) 88%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size .5s ease;
}
.email-card__email a:hover { background-size: 100% 100%; }
.email-card__sub {
  font-size: 18px;
  color: color-mix(in oklab, var(--cream) 80%, transparent);
  max-width: 48ch;
  margin: 0 auto 36px;
  text-wrap: pretty;
}
.email-card__cta {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn--light {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--cream);
}
.btn--light:hover { background: var(--cream); color: var(--ink); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-bottom: 96px;
  align-items: start;
}

.quick-links {
  display: flex; flex-direction: column;
  gap: 0;
}
.quick-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  transition: padding .2s;
  color: inherit;
}
.quick-link:last-child { border-bottom: 1px solid var(--line); }
.quick-link:hover { padding-left: 8px; }
.quick-link__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 4px;
  font-variation-settings: "wdth" 92;
}
.quick-link__sub {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.quick-link__arrow {
  color: var(--muted);
  font-size: 22px;
  transition: all .2s;
}
.quick-link:hover .quick-link__arrow {
  color: var(--primary);
  transform: translateX(6px);
}

.faq__item {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-variation-settings: "wdth" 95;
}
.faq__q::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--muted);
  transition: transform .25s;
  font-size: 16px;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq__item.is-open .faq__q::after { transform: rotate(45deg); color: var(--primary); }
.faq__a {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding-top .3s ease;
  text-wrap: pretty;
  max-width: 56ch;
}
.faq__item.is-open .faq__a { max-height: 240px; padding-top: 14px; }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
  padding: 120px 0;
  text-align: center;
}
.page-404__num {
  font-family: var(--font-display);
  font-size: clamp(120px, 20vw, 240px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--cream-3);
  margin: 0 0 32px;
  font-variation-settings: "wdth" 75;
}
.page-404__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.page-404__sub {
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0 0 36px;
}

/* ============================================================
   GENERIC PAGE
   ============================================================ */
.page-hero {
  padding: 80px 0 48px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin: 0 0 24px;
  font-variation-settings: "wdth" 82;
}
.page-content {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 680px;
  padding-bottom: 96px;
}
.page-content h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 40px 0 16px;
}
.page-content a { color: var(--primary-deep); border-bottom: 1px solid currentColor; }
.page-content a:hover { color: var(--primary); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-post { grid-template-columns: 1fr; gap: 32px; }
  .article-row { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .article-row.is-reverse .article-row__media-wrap { order: 0; }
  .article-row.is-reverse .article-row__body { order: 0; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 48px; }
  .post-layout { grid-template-columns: 1fr; }
  .post-toc { position: static; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .list-row { grid-template-columns: 60px 1fr; gap: 16px; }
  .list-row__media { display: none; }
  .about-hero { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip__cell:nth-child(2) { border-right: none; }
  .stat-strip__cell:nth-child(1), .stat-strip__cell:nth-child(2) { border-bottom: 1px solid var(--line); }
  .manifesto { grid-template-columns: 1fr; gap: 24px; }
  .manifesto__label { position: static; }
  .timeline__row { grid-template-columns: 90px 1fr; gap: 24px; }
  .timeline__tag { display: none; }
  .book-band { grid-template-columns: 1fr; padding: 32px; }
  .press { grid-template-columns: 1fr; gap: 24px; }
  .contact-hero { grid-template-columns: 1fr; gap: 24px; }
  .contact-strip { grid-template-columns: 1fr; }
  .contact-strip__cell { border-right: none; border-bottom: 1px solid var(--line); }
  .contact-strip__cell:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .email-card { padding: 56px 28px; }
}
/* ============================================================
   MOBILE NAV
   ============================================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
  transform-origin: center;
}
.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); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0; right: 0;
  z-index: 99;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.mobile-nav.is-open { display: block; }
.mobile-nav__inner {
  display: flex;
  flex-direction: column;
  padding: 24px 20px 32px;
  gap: 4px;
}
.mobile-nav__link {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  display: block;
  font-variation-settings: "wdth" 90;
  transition: color .15s;
}
.mobile-nav__link:last-of-type { border-bottom: none; }
.mobile-nav__link:hover, .mobile-nav__link.is-active { color: var(--primary); }
.mobile-nav__cta { margin-top: 24px; align-self: flex-start; }

@media (max-width: 900px) {
  .container, .container-narrow { padding: 0 20px; }
  .nav { display: none; }
  .btn--cta-header { display: none; }
  .nav-toggle { display: flex; }
  .article-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 28px; border-radius: var(--r-md); }
  .site-footer__top { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }
  /* Keep offset shadows within viewport on mobile */
  .hero-post__media-wrap { padding-right: 14px; }
  .hero-post__media-wrap::before { inset: 10px -10px -10px 6px; }
  .hero-post__media-wrap:hover::before { inset: 10px -10px -10px 6px; }
  .article-row__media-wrap { padding-right: 12px; }
  .article-row__media-wrap::before { inset: 8px -8px -8px 6px; }
  .article-row__media-wrap:hover::before { inset: 8px -8px -8px 6px; }
  .article-row.is-reverse .article-row__media-wrap { padding-right: 0; padding-left: 12px; }
  .article-row.is-reverse .article-row__media-wrap::before { inset: 8px 6px -8px -8px; }
  .article-row.is-reverse .article-row__media-wrap:hover::before { inset: 8px 6px -8px -8px; }
  .about-hero__portrait::before { inset: 10px -10px -10px 8px; }
}

@media (max-width: 640px) {
  .container, .container-narrow { padding: 0 16px; }
}
