@font-face {
  font-family: "Source Serif 4";
  src: url("/assets/fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fafaf7;
  --paper-glass: rgba(250, 250, 247, 0.92);
  --surface: #ffffff;
  --soft: #f2efe9;
  --soft-hover: #eae5dc;
  --ink: #181715;
  --copy: #252320;
  --muted: #645f57;
  --accent: #9b2c2c;
  --accent-hover: #7d2121;
  --accent-soft: #f8efed;
  --accent-line: #c98a8a;
  --sage: #2e5d4b;
  --sage-soft: #ecf4f0;
  --rule: #e4e0d8;
  --rule-strong: #cfc9be;
  --shadow-sm: 0 2px 12px rgba(24, 23, 21, 0.05);
  --shadow-md: 0 14px 36px rgba(24, 23, 21, 0.09);
  --serif: "Source Serif 4", Georgia, "Times New Roman", Times, serif;
  --serif-italic: Georgia, "Times New Roman", Times, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --site: 1080px;
  --read: 680px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #131211;
  --paper-glass: rgba(19, 18, 17, 0.92);
  --surface: #1b1a18;
  --soft: #201e1b;
  --soft-hover: #2b2824;
  --ink: #ece8e0;
  --copy: #d7d2c8;
  --muted: #989288;
  --accent: #cf5c5c;
  --accent-hover: #e07272;
  --accent-soft: #2a1c1c;
  --accent-line: #7a3b3b;
  --sage: #70b99c;
  --sage-soft: #1a2923;
  --rule: #2b2824;
  --rule-strong: #3e3a34;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.024;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="dark"] body::before { opacity: 0.032; }
:root[data-theme="dark"] figure img { filter: brightness(0.9) contrast(1.04); }

h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--ink);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; }
input, button { font: inherit; }
input { min-width: 0; }
button, summary { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.shell {
  width: min(var(--site), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 10px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

/* Fixed reading progress bar */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 60;
  pointer-events: none;
  background: transparent;
}
.reading-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width 60ms linear;
}

/* Shared editorial micro-patterns */
.kicker {
  font: 700 11.5px/1.35 var(--sans);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
}
.arrow {
  display: inline-block;
  flex: none;
  color: var(--accent);
  font: 500 15px/1 var(--sans);
  transition: transform 150ms ease;
}
a:hover .arrow { transform: translateX(2px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  color: var(--accent);
  font: 600 13.5px/1.4 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}
.text-link:hover { text-decoration: underline; }

.chevron {
  flex: none;
  width: 6px;
  height: 6px;
  margin: -2px 1px 0;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  transition: transform 160ms ease;
}
details[open] > summary .chevron {
  margin-top: 3px;
  transform: rotate(225deg);
}

.search-icon {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}
.search-icon::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 9px;
  width: 4.5px;
  height: 1.5px;
  transform: rotate(45deg);
  transform-origin: left;
  background: currentColor;
}

.section-heading, .editorial-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.editorial-head h2, .section-heading h2 {
  margin-top: 6px;
  font-size: clamp(24px, 2.7vw, 32px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.section-sub {
  max-width: 60ch;
  margin-top: 8px;
  color: var(--muted);
  font: 400 16.5px/1.56 var(--serif);
}

/* ===========================
   MASTHEAD & CATEGORY RIBBON
   =========================== */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--rule);
  background: var(--paper-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  text-decoration: none;
  font: 700 21.5px/1.1 var(--serif);
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
}
.brand-mark {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 5px;
  transition: transform 160ms ease;
}
.brand:hover .brand-mark { transform: translateY(-1px); }
.brand-dot { color: var(--accent); }

.nav-search {
  display: flex;
  align-items: stretch;
  flex: 1 1 340px;
  max-width: 390px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--surface);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.nav-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-soft);
}
.nav-search input {
  flex: 1;
  border: 0;
  padding: 7px 12px;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  outline: none;
}
.nav-search input::placeholder { color: var(--muted); opacity: 0.9; }
.nav-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  border: 0;
  border-inline-start: 1px solid var(--rule);
  background: transparent;
  color: var(--accent);
  transition: background 140ms ease;
}
.nav-search button:hover { background: var(--accent-soft); }

.masthead-tools {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--copy);
}
.site-menu > summary, .tool-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  text-decoration: none;
  white-space: nowrap;
  color: var(--copy);
  transition: color 140ms ease;
}
.site-menu > summary:hover,
.tool-link:hover,
.tool-link[aria-current="page"] { color: var(--accent); }

.search-link {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  color: var(--accent);
  text-decoration: none;
  background: var(--surface);
}
.search-link:hover { border-color: var(--accent-line); background: var(--accent-soft); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  border: 0;
  background: transparent;
}
.theme-track {
  position: relative;
  display: block;
  width: 38px;
  height: 22px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: var(--surface);
  transition: background 180ms ease, border-color 180ms ease;
}
.theme-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--paper);
  transition: transform 180ms ease, background 180ms ease;
}
:root[data-theme="dark"] .theme-track { border-color: var(--accent-line); background: var(--soft); }
:root[data-theme="dark"] .theme-thumb { transform: translateX(16px); background: var(--accent); }
.theme-toggle:hover .theme-track { border-color: var(--accent); }

.menu-panel, .share-panel, .contents-panel {
  position: absolute;
  z-index: 50;
  inset-inline-end: 0;
  inset-block-start: calc(100% + 8px);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.menu-panel {
  width: min(420px, calc(100vw - 32px));
  max-height: 74vh;
  overflow: auto;
}
.menu-accordion {
  display: flex;
  flex-direction: column;
}
.menu-group {
  border-bottom: 1px solid var(--rule);
}
.menu-group:last-child { border-bottom: 0; }
.menu-sub-details > summary,
.menu-solo-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 4px;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.38;
  text-decoration: none;
}
.menu-sub-details > summary:hover,
.menu-solo-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.menu-group-name {
  min-width: 0;
  color: inherit;
}
.menu-sub-all {
  color: var(--accent) !important;
  font-weight: 600 !important;
}
.menu-group-right {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  color: var(--muted);
}
.menu-sub-list {
  list-style: none;
  margin: 2px 0 8px;
  padding: 0 0 0 12px;
  border-inline-start: 2px solid var(--rule);
  margin-inline-start: 10px;
}
.menu-sub-list a {
  display: block;
  padding: 5px 10px;
  border-radius: 4px;
  color: var(--copy);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.38;
  text-decoration: none;
}
.menu-sub-list a:hover,
.menu-sub-list a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}
.share-panel a, .share-panel button, .contents-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-radius: 4px;
  padding: 8px 10px;
  color: var(--copy);
  font-size: 13.5px;
  line-height: 1.38;
  text-decoration: none;
}
.share-panel a:hover, .share-panel button:hover, .contents-panel a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}
.menu-count { flex: none; color: var(--muted); font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.menu-panel .menu-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 10px 10px 8px;
  border-top: 1px solid var(--rule);
  border-radius: 0 0 4px 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.menu-panel .menu-all:hover { background: var(--accent-soft); }

/* All-Categories Ribbon + Adaptive Multi-Column Mega Menu */
.category-ribbon {
  position: relative;
  z-index: 35;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.ribbon-shell { position: relative; }
.ribbon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.ribbon-item {
  display: flex;
  align-items: center;
  flex: none;
}
.ribbon-trigger {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding-block: 10px;
  margin-bottom: -1px;
  border-bottom: 2px solid transparent;
  transition: border-color 140ms ease;
}
.ribbon-item.is-current .ribbon-trigger,
.ribbon-item.is-open .ribbon-trigger {
  border-bottom-color: var(--accent);
}
.ribbon-link {
  padding: 2px 3px;
  color: var(--copy);
  font: 500 12.5px/1.3 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms ease;
}
.ribbon-link:hover,
.ribbon-item.is-current .ribbon-link,
.ribbon-item.is-open .ribbon-link {
  color: var(--accent);
}
.ribbon-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: var(--muted);
  transition: color 140ms ease, background 140ms ease;
}
.ribbon-toggle:hover,
.ribbon-item.is-open .ribbon-toggle {
  color: var(--accent);
}
.ribbon-toggle .chevron {
  width: 5px;
  height: 5px;
  margin: -2px 0 0;
  border-width: 0 1.35px 1.35px 0;
}
.ribbon-item.is-open .ribbon-toggle .chevron {
  margin-top: 2px;
  transform: rotate(225deg);
}

.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 45;
  padding: 20px 24px 22px;
  border: 1px solid var(--rule);
  border-top: 2px solid var(--accent);
  border-radius: 0 0 8px 8px;
  background-color: var(--surface);
  opacity: 1;
  box-shadow: var(--shadow-md);
  max-height: 70vh;
  overflow-y: auto;
}
:root[data-theme="dark"] .mega-panel {
  background-color: #1c1b19;
  border-color: var(--rule-strong);
  border-top-color: var(--accent);
}
.mega-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.mega-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}
.mega-title-row strong {
  font: 700 19px/1.2 var(--serif);
  color: var(--ink);
}
.mega-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font: 600 11.5px/1.3 var(--sans);
  font-variant-numeric: tabular-nums;
}
.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3px 18px;
}
.mega-cols-1 .mega-list { grid-template-columns: minmax(0, 340px); }
.mega-cols-2 .mega-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mega-cols-3 .mega-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-cols-4 .mega-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mega-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 4px;
  color: var(--copy);
  font: 450 13.5px/1.38 var(--sans);
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}
.mega-list a:hover,
.mega-list a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}
.mega-list a[aria-current="page"] { font-weight: 600; }

/* ===========================
   SEARCH FORM
   =========================== */
.guide-search {
  display: flex;
  align-items: stretch;
  gap: 10px;
  width: min(100%, 520px);
}
.guide-search input {
  flex: 1;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.guide-search input::placeholder { color: var(--muted); }
.guide-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.guide-search button {
  flex: none;
  padding: 0 22px;
  min-height: 46px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: #ffffff;
  font: 600 14px/1 var(--sans);
  letter-spacing: 0.01em;
  transition: background 150ms ease;
}
.guide-search button:hover { background: var(--accent-hover); }

/* ===========================
   HOMEPAGE — ASYMMETRIC MAGAZINE HERO + INTERACTIVE PHRASE PREVIEW
   =========================== */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(32px, 4.5vw, 56px);
  padding-block: 44px 48px;
  border-bottom: 1px solid var(--rule);
}
.hero-left h1 {
  margin-top: 12px;
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.026em;
  text-wrap: balance;
}
.hero-lede {
  max-width: 50ch;
  margin: 18px 0 24px;
  color: var(--muted);
  font: 400 clamp(17px, 1.65vw, 19px)/1.6 var(--serif);
  text-wrap: pretty;
}

.hero-prompts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 8px;
  margin-top: 13px;
  font-size: 13px;
}
.prompts-label { color: var(--muted); margin-inline-end: 2px; }
.hero-prompts a {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--surface);
  color: var(--copy);
  font-size: 12.5px;
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}
.hero-prompts a:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
}

.hero-standards {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 26px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}
.hero-standards strong {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Right Hero Feature Card (Photo + Interactive Phrase Preview) */
.hero-showcase {
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.hero-visual {
  overflow: hidden;
  background: var(--soft);
  border-bottom: 1px solid var(--rule);
}
.hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center 58%;
}

.hero-preview {
  padding: 16px 18px 18px;
}
.hero-preview-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.preview-eyebrow {
  font: 700 10.5px/1.2 var(--sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.preview-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}
.preview-tab {
  padding: 3px 9px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font: 600 11.5px/1.3 var(--sans);
  transition: all 140ms ease;
}
.preview-tab:hover { border-color: var(--accent-line); color: var(--accent); }
.preview-tab.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.preview-quote {
  margin: 0;
  padding: 2px 0 2px 14px;
  border-inline-start: 3px solid var(--accent);
  color: var(--ink);
  font: italic 400 17.5px/1.55 var(--serif-italic);
  min-height: 3.1em;
}
.hero-preview-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.preview-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.preview-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.preview-link {
  color: var(--accent);
  font: 600 12.5px/1.2 var(--sans);
  text-decoration: none;
  white-space: nowrap;
}
.preview-link:hover { text-decoration: underline; }

/* ===========================
   HOMEPAGE SECTIONS
   =========================== */
.home-section {
  padding-block: 52px;
  border-bottom: 1px solid var(--rule);
}
.home-section:last-child { border-bottom: 0; padding-bottom: 72px; }

/* Curated Photo Collections (3x2 Magazine Grid) */
.moments-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}
.moment-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.moment-card:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.moment-media {
  overflow: hidden;
  background: var(--soft);
  border-bottom: 1px solid var(--rule);
}
.moment-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 26%;
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
img[src*="editorial-care"] { object-position: center 62% !important; }
img[src*="milestones"] { object-position: center 60% !important; }
img[src*="language"] { object-position: center 54% !important; }
.moment-card:hover .moment-media img { transform: scale(1.035); }
.moment-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}
.moment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.moment-count {
  font: 700 11px/1.2 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.moment-body h3 {
  font-size: 20px;
  line-height: 1.24;
  letter-spacing: -0.015em;
  transition: color 140ms ease;
}
.moment-card:hover h3 { color: var(--accent); }
.moment-body p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.56;
}

/* Lead Spotlight Feature Card + 3-col Crimson-Ruled Grid */
.spotlight-card {
  margin-top: 28px;
  border: 1px solid var(--rule);
  border-top: 2.5px solid var(--accent);
  border-radius: 0 0 6px 6px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.spotlight-card:hover { box-shadow: var(--shadow-sm); }
.spotlight-link {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  text-decoration: none;
}
.spotlight-media {
  overflow: hidden;
  background: var(--soft);
  border-inline-end: 1px solid var(--rule);
}
.spotlight-media img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 420ms ease;
}
.spotlight-card:hover .spotlight-media img { transform: scale(1.03); }
.spotlight-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 30px;
}
.spotlight-body h3 {
  margin-top: 10px;
  font-size: clamp(23px, 2.5vw, 29px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  transition: color 140ms ease;
}
.spotlight-card:hover .spotlight-body h3 { color: var(--accent); }
.spotlight-summary {
  margin-top: 12px;
  color: var(--muted);
  font: 400 16px/1.6 var(--serif);
}
.spotlight-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
  margin-top: 34px;
}
.editorial-card {
  display: flex;
  border-top: 2px solid var(--accent);
  padding-top: 16px;
}
.card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
}
.card-kicker {
  font: 600 11px/1.4 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.editorial-card h3 {
  margin-top: 9px;
  font-size: 19.5px;
  line-height: 1.28;
  letter-spacing: -0.015em;
  transition: color 140ms ease;
}
.card-link:hover h3 { color: var(--accent); }
.card-summary {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  color: var(--muted);
  font-size: 12.5px;
}
.card-read {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--accent);
  font-weight: 600;
}

/* Full-Bleed Editorial Craft Band with Gouache Illustration */
.craft-band {
  background: var(--soft);
  border-bottom: 1px solid var(--rule);
  padding-block: 58px;
}
.craft-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(30px, 5vw, 60px);
}
.craft-art {
  padding: 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.craft-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 3px;
}
.craft-art figcaption {
  margin-top: 10px;
  padding-inline: 2px;
  color: var(--muted);
  font: italic 400 13.5px/1.48 var(--serif-italic);
}
.craft-copy h2 {
  margin-top: 8px;
  font-size: clamp(25px, 2.8vw, 33px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}
.craft-pillars {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--rule-strong);
}
.craft-pillars li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  padding-block: 16px;
  border-bottom: 1px solid var(--rule-strong);
}
.pillar-num {
  font: 700 14px/1.4 var(--serif);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.craft-pillars h3 {
  font-size: 17.5px;
  line-height: 1.3;
}
.craft-pillars p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.56;
}
.craft-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 22px;
}

/* Complete Subject Index */
.situation-index {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-top: 1px solid var(--rule);
}
.situation-index li { border-bottom: 1px solid var(--rule); }
.situation-index a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 4px;
  text-decoration: none;
}
.situation-name {
  font: 600 17px/1.35 var(--serif);
  color: var(--ink);
  transition: color 140ms ease;
}
.situation-index a:hover .situation-name { color: var(--accent); }
.situation-meta { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.situation-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Recently published 2-col typographic reading list */
.archive-two-col {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  border-top: 1px solid var(--rule);
}
.archive-two-col li { border-bottom: 1px solid var(--rule); }
.archive-two-col a { display: block; padding: 15px 2px; text-decoration: none; }
.archive-title {
  display: block;
  font: 600 17.5px/1.34 var(--serif);
  color: var(--ink);
  transition: color 140ms ease;
}
.archive-two-col a:hover .archive-title { color: var(--accent); }
.archive-cat { display: block; margin-top: 4px; color: var(--muted); font-size: 12.5px; }

.more-index { margin-top: 22px; }
.more-index summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--surface);
  color: var(--copy);
  font-size: 13.5px;
  font-weight: 600;
}
.more-index summary:hover { border-color: var(--accent-line); color: var(--accent); }
.more-index-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 36px;
  max-height: 224px;
  overflow: auto;
}
.more-index-list li { min-width: 0; }
.more-index-list a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--copy);
  font: 400 15px/1.4 var(--serif);
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.more-index-list a:hover { color: var(--accent); text-decoration: underline; }

/* ===========================
   BREADCRUMBS & INTERIOR PAGES
   =========================== */
.interior { padding-block: 36px 76px; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs span[aria-hidden] { color: var(--rule-strong); }
.crumb-current { color: var(--copy); }

.page-heading {
  padding-block: 22px 28px;
  border-bottom: 1px solid var(--rule);
}
.page-heading h1 {
  margin-top: 10px;
  font-size: clamp(32px, 4.1vw, 46px);
  line-height: 1.09;
  letter-spacing: -0.024em;
  text-wrap: pretty;
}
.page-heading p:not(.kicker) {
  max-width: 58ch;
  margin-top: 12px;
  color: var(--muted);
  font: 400 clamp(17px, 1.7vw, 19px)/1.58 var(--serif);
}

/* Framed Editorial Photo in Category Reading List Header */
.collection-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 340px);
  align-items: center;
  gap: 24px 44px;
}
.collection-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
.collection-frame {
  padding: 8px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.collection-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 26%;
  border-radius: 3px;
}

.archive-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: start;
  margin-top: 32px;
}
.archive-aside { position: sticky; top: 84px; min-width: 0; }
.archive-feed { min-width: 0; }
.feed-heading { padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.feed-heading h2 { margin-top: 0; font-size: 24px; }
.feed-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

.guide-list { list-style: none; margin: 0; padding: 0; }
.guide-row { padding-block: 20px; border-bottom: 1px solid var(--rule); }
.guide-row-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  margin-bottom: 6px;
  font-size: 12px;
  color: var(--muted);
}
.guide-category {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.guide-category:hover { text-decoration: underline; }
.guide-list h3 { font-size: clamp(19.5px, 2vw, 23px); line-height: 1.28; letter-spacing: -0.015em; }
.guide-list h3 a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  text-decoration: none;
}
.guide-list h3 a:hover { color: var(--accent); }
.guide-list p { max-width: 68ch; margin-top: 8px; color: var(--muted); font-size: 14.5px; line-height: 1.58; }

.empty-guide { padding-block: 24px; color: var(--muted); }
.empty-guide p { margin-bottom: 12px; }

.subtopics { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.side-details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-block: 12px;
  color: var(--ink);
  font: 700 13px/1.4 var(--sans);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.side-count { font-weight: 500; color: var(--muted); }
.subtopics nav { display: grid; padding-bottom: 10px; max-height: 60vh; overflow-y: auto; }
.subtopics nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-inline-start: 2px solid transparent;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.subtopics nav a:hover, .subtopics nav a[aria-current="page"] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  font-weight: 600;
}
.nav-cnt { flex: none; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.all-categories { margin-top: 14px; }

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
}
.page-btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.page-btn:hover:not(.is-disabled) { border-color: var(--accent); background: var(--accent-soft); }
.page-btn.is-disabled { opacity: 0.35; cursor: default; color: var(--muted); }
.page-count { color: var(--muted); font-variant-numeric: tabular-nums; }

/* Directory Page */
.directory-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px 28px;
}
.directory-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 300px);
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
}
.directory-filter:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.directory-filter input { width: 100%; border: 0; background: transparent; color: var(--ink); font-size: 14px; outline: none; }
.directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  align-items: start;
  margin-top: 8px;
}
.directory-item { padding-block: 22px 14px; min-width: 0; border-bottom: 1px solid var(--rule); }
.directory-item h2 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.24; letter-spacing: -0.015em; }
.directory-item h2 a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
}
.directory-item h2 a:hover { color: var(--accent); }
.dir-right { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.dir-count { font: 500 12.5px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.directory-item summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-top: 4px;
  color: var(--accent);
  font-size: 13.5px;
  font-weight: 600;
}
.directory-item ul {
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 16px;
}
.directory-item li a { display: block; padding: 5px 0; color: var(--copy); font-size: 13.5px; line-height: 1.4; text-decoration: none; }
.directory-item li a:hover { color: var(--accent); text-decoration: underline; }
.filter-empty { margin-block: 20px; color: var(--muted); }

/* Search & Trust pages */
.search-page, .trust-page { max-width: 740px; }
.search-heading .guide-search { margin-top: 22px; }
.search-results { margin-top: 28px; }
.search-suggestions { margin-top: 28px; }
.search-suggestions .hero-prompts { margin-top: 12px; }
.result-note { margin-bottom: 8px; color: var(--muted); font: 600 14.5px/1.4 var(--sans); }
.trust-copy { margin-top: 30px; }
.trust-copy h2 { margin-top: 0; font-size: clamp(22px, 2.4vw, 27px); }
.trust-copy section + section { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--rule); }

/* ===========================
   ARTICLE / TOPIC PAGE
   =========================== */
.guide { padding-block: 28px 80px; }
.guide-header-wrap { max-width: 100%; }
.guide-after { max-width: var(--read); }
.guide-crumbs { margin-bottom: 18px; }
.article-kicker { margin-bottom: 10px; }
.article-kicker a { text-decoration: none; }
.article-kicker a:hover { text-decoration: underline; }

.article-heading h1 {
  max-width: 820px;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.022em;
  text-wrap: pretty;
}
.article-heading.medium-title h1 {
  max-width: 840px;
  font-size: clamp(26px, 2.8vw, 35px);
  line-height: 1.15;
}
.article-heading.long-title h1 {
  max-width: 860px;
  font-size: clamp(24px, 2.4vw, 31px);
  line-height: 1.18;
}
.deck {
  max-width: var(--read);
  margin-top: 14px;
  color: var(--muted);
  font: 400 clamp(17px, 1.65vw, 19.5px)/1.56 var(--serif);
  text-wrap: pretty;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 20px;
  padding-block: 11px;
  border-block: 1px solid var(--rule);
}
.byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--muted); font-size: 13px; }
.byline a { color: var(--ink); font-weight: 600; text-decoration: none; }
.byline a:hover { color: var(--accent); text-decoration: underline; }
.byline > *:not(:first-child)::before { content: "·"; margin-inline-end: 12px; color: var(--rule-strong); }

.article-tools { position: relative; display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.article-tools summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--surface);
  color: var(--copy);
  font-size: 13px;
  font-weight: 600;
}
.article-tools summary:hover { border-color: var(--accent-line); color: var(--accent); }
.share-icon {
  position: relative;
  flex: none;
  width: 12px;
  height: 10px;
  margin-top: 2px;
  border: 1.4px solid currentColor;
  border-top: 0;
  border-radius: 0 0 2px 2px;
}
.share-icon::before { content: ""; position: absolute; top: -5px; left: 3.5px; width: 1.4px; height: 9px; background: currentColor; }
.share-icon::after { content: ""; position: absolute; top: -5px; left: 1.5px; width: 5px; height: 5px; border: solid currentColor; border-width: 1.4px 0 0 1.4px; transform: rotate(45deg); }
.share-panel { width: min(190px, calc(100vw - 32px)); }
.share-panel button { width: 100%; border: 0; background: transparent; text-align: start; }
.contents-panel { width: min(380px, calc(100vw - 32px)); max-height: 50vh; overflow-y: auto; }
.contents-panel ol { margin: 0; padding: 4px 4px 4px 22px; color: var(--muted); font-size: 13px; }
.contents-panel li a { display: block; padding: 6px; }

/* Desktop Two-Column Reading Layout + Magazine Sidebar */
.reader-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--read)) minmax(220px, 260px);
  justify-content: space-between;
  align-items: start;
  gap: 56px;
  margin-top: 34px;
}
.reader-main { min-width: 0; }
.reader-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.reader-outline {
  padding-block: 14px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.reader-outline h2 { margin-bottom: 12px; font: 700 13px/1.3 var(--serif); color: var(--ink); letter-spacing: 0.01em; }
.outline-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
  max-height: 440px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.outline-list li { counter-increment: toc; margin-bottom: 1px; }
.outline-list a {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 6px;
  padding: 4px 6px 4px 8px;
  border-inline-start: 2px solid transparent;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 140ms ease, border-color 140ms ease;
}
.outline-list a::before { content: counter(toc) "."; color: var(--rule-strong); font-variant-numeric: tabular-nums; }
.outline-list a:hover { color: var(--ink); }
.outline-list a.is-active { border-inline-start-color: var(--accent); color: var(--ink); font-weight: 600; }
.outline-list a.is-active::before { color: var(--accent); }
.outline-top {
  display: inline-block;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  width: 100%;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.outline-top:hover { color: var(--accent); }

/* Sidebar Visual Topic Card */
.sidebar-topic-card {
  display: block;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.sidebar-topic-card:hover { border-color: var(--accent-line); box-shadow: var(--shadow-sm); }
.sidebar-topic-media { overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--soft); }
.sidebar-topic-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 26%;
  transition: transform 360ms ease;
}
.sidebar-topic-card:hover .sidebar-topic-media img { transform: scale(1.04); }
.sidebar-topic-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 13px 14px 14px;
}
.sidebar-topic-body strong {
  font: 700 15.5px/1.28 var(--serif);
  color: var(--ink);
}
.sidebar-topic-card:hover .sidebar-topic-body strong { color: var(--accent); }
.sidebar-topic-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  color: var(--accent);
  font: 600 12.5px/1.3 var(--sans);
}

@media (min-width: 1041px) {
  .contents-menu { display: none; }
}

/* ===========================
   PROSE & PHRASE CARDS
   =========================== */
.prose { color: var(--copy); font: 400 18.5px/1.82 var(--serif); overflow-wrap: anywhere; }
.prose p { margin-block: 0 1.15em; }
.prose > :first-child { margin-top: 0; }

.article-body > p:first-of-type::first-letter {
  float: left;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 3.55em;
  line-height: 0.82;
  padding: 0.08em 0.14em 0 0;
  color: var(--accent);
}

.prose h2, .prose h3, .prose h4 { color: var(--ink); line-height: 1.24; letter-spacing: -0.018em; text-wrap: pretty; scroll-margin-top: 82px; }
.prose h2 { margin: 2.1em 0 0.65em; padding-top: 26px; border-top: 1px solid var(--rule); font-size: clamp(23px, 2.5vw, 27px); }
.prose h3 { margin: 1.55em 0 0.5em; font-size: 20px; }
.prose h4 { margin: 1.25em 0 0.45em; font-size: 18px; }
.prose :is(ul, ol) { margin: 0.7em 0 1.15em; padding-inline-start: 1.35em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose em { font-family: var(--serif-italic); font-style: italic; }
.prose a { color: var(--accent); text-decoration-color: var(--accent-line); }
.prose a:hover { text-decoration-color: currentColor; }
.prose hr { margin-block: 1.8em; border: 0; border-top: 1px solid var(--rule); }

.prose blockquote {
  margin: 1.35em 0 0.6em;
  padding: 2px 0 2px 18px;
  border-inline-start: 3px solid var(--accent);
  color: var(--ink);
  font: italic 400 19.5px/1.64 var(--serif-italic);
}
.prose blockquote > :last-child { margin-bottom: 0; }
.prose blockquote :is(strong, em) { font-style: normal; }
.article-body p.example-context {
  margin: 0 0 1.5rem;
  padding-inline-start: 21px;
  color: var(--muted);
  font: 400 13.5px/1.55 var(--sans);
}
.example-context strong { color: var(--ink); font-weight: 600; }

.tone-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 8px;
  margin: 26px 0 6px;
  padding: 13px 16px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: var(--surface);
  font-family: var(--sans);
}
.tone-filter-bar + h2 { margin-top: 28px; padding-top: 0; border-top: 0; }
.tone-filter-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-inline-end: 4px;
}
.tone-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: var(--paper);
  color: var(--copy);
  font-size: 12.5px;
  font-weight: 500;
  transition: all 140ms ease;
}
.tone-chip:hover { border-color: var(--accent-line); color: var(--accent); }
.tone-chip.is-active { border-color: var(--accent); background: var(--accent); color: #ffffff; }
.tone-chip .chip-count { font-size: 11px; opacity: 0.78; font-variant-numeric: tabular-nums; }

.phrase-card {
  position: relative;
  margin: 0;
  padding: 20px 0 22px;
  border-top: 1px solid var(--rule);
  transition: opacity 180ms ease;
}
.phrase-card.is-filtered-out { display: none; }
.phrase-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.phrase-card blockquote {
  flex: 1;
  margin: 0;
  padding: 2px 0 2px 18px;
  border-inline-start: 3px solid var(--accent);
  color: var(--ink);
  font: italic 400 19.5px/1.64 var(--serif-italic);
}

.copy-phrase-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  margin-top: 2px;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--surface);
  color: var(--muted);
  font: 600 12px/1.2 var(--sans);
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
}
.copy-phrase-btn svg { width: 13px; height: 13px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.phrase-card:hover .copy-phrase-btn, .avoid-alt:hover .copy-phrase-btn, .copy-phrase-btn:focus-visible { border-color: var(--rule-strong); color: var(--ink); }
.copy-phrase-btn:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.copy-phrase-btn.is-copied { border-color: var(--sage); background: var(--sage-soft); color: var(--sage); }

.phrase-meta { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; padding-inline-start: 21px; font: 400 13.5px/1.55 var(--sans); color: var(--muted); }
.phrase-meta-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.phrase-meta-label { font-weight: 700; color: var(--ink); }
.tone-pill { display: inline-block; padding: 1px 8px; border-radius: 3px; background: var(--soft); color: var(--copy); font-size: 12px; font-weight: 600; }

/* Phrases to Reconsider */
.avoid-pair { margin: 0; padding: 22px 0; border-top: 1px solid var(--rule); }
.avoid-skip { margin-bottom: 14px; }
.avoid-badge { display: inline-block; margin-inline-end: 8px; padding: 2px 7px; border-radius: 3px; font: 700 10.5px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 1px; }
.avoid-badge-skip { background: var(--accent-soft); color: var(--accent); }
.avoid-badge-try { background: var(--sage-soft); color: var(--sage); margin-bottom: 8px; }
.avoid-skip-quote { font: 700 17.5px/1.45 var(--serif); color: var(--ink); }
.avoid-skip-reason { margin: 6px 0 0 !important; color: var(--muted); font: 400 14.5px/1.6 var(--sans); }
.avoid-alt { margin-top: 14px; padding: 12px 14px 12px 16px; border-inline-start: 3px solid var(--sage); border-radius: 0 4px 4px 0; background: var(--sage-soft); }
.avoid-alt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.avoid-alt blockquote { margin: 0; padding: 0; border: 0; color: var(--ink); font: italic 400 18.5px/1.6 var(--serif-italic); }

.faq-item { padding-block: 16px 4px; border-top: 1px solid var(--rule); }
.faq-item h3 { margin-top: 0 !important; font-size: 19px; }
.faq-item p { font-size: 17px; line-height: 1.72; color: var(--copy); }

.prose pre, .prose > table, .table-scroll { max-width: 100%; overflow-x: auto; }
.prose pre { margin: 1.35em 0; padding: 14px 16px; border-inline-start: 3px solid var(--accent); background: var(--soft); white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; }
.prose code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.85em; }
.prose table { width: 100%; border-collapse: collapse; font: 400 14.5px/1.55 var(--sans); }
.prose > table { display: block; margin: 1.4em 0; }
.prose th, .prose td { min-width: 110px; padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: start; vertical-align: top; }
.prose th { background: var(--soft); font-weight: 600; color: var(--ink); }
.table-scroll { margin: 1.4em 0; }

/* Author Card, Prev/Next, Related */
.author-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  margin-top: 52px;
  padding: 24px 0;
  border-block: 1px solid var(--rule);
}
.author-monogram {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent);
  font: 700 18px/1 var(--serif);
  letter-spacing: -0.02em;
}
.author-info h2 { margin-top: 4px; font-size: 19px; }
.author-bio { margin-top: 6px; color: var(--copy); font-size: 14.5px; line-height: 1.58; }
.author-note { margin-top: 8px; color: var(--muted); font-size: 13px; }
.author-note a { color: var(--accent); text-decoration: none; font-weight: 600; }
.author-note a:hover { text-decoration: underline; }

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.article-nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 5px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease;
}
.article-nav-item:hover { border-color: var(--accent-line); background: var(--accent-soft); }
.article-nav-next { text-align: end; }
.article-nav-label { font: 700 11px/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.article-nav-title { font: 600 16px/1.35 var(--serif); color: var(--ink); }

.related { margin-top: 44px; }
.related h2 { font-size: 24px; }
.related-grid {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  border-top: 1px solid var(--rule);
}
.related-grid li { border-bottom: 1px solid var(--rule); }
.related-grid a { display: block; padding: 15px 2px; text-decoration: none; }
.related-title { display: block; font: 600 16.5px/1.36 var(--serif); color: var(--ink); transition: color 140ms ease; }
.related-grid a:hover .related-title { color: var(--accent); }
.related-cat { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

/* ===========================
   SITE FOOTER
   =========================== */
.site-footer { padding-block: 44px 28px; border-top: 1px solid var(--rule); background: var(--paper); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.75fr); gap: 32px 48px; }
.footer-brand p { max-width: 36ch; margin-top: 10px; color: var(--muted); font: 400 15px/1.6 var(--serif); }
.footer-navs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; }
.footer-navs h2 { margin-bottom: 10px; font: 700 11.5px/1.3 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink); }
.footer-navs a { display: block; width: fit-content; padding-block: 4px; color: var(--muted); font-size: 13.5px; text-decoration: none; overflow-wrap: anywhere; }
.footer-navs a:hover, .footer-section-links a:hover, .footer-base a:hover { color: var(--accent); text-decoration: underline; }
.footer-sections { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rule); }
.footer-section-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.footer-section-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 12.5px; }
.footer-base-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-base a { text-decoration: none; }

/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */
@media (max-width: 1040px) {
  .reader-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .reader-main { max-width: var(--read); }
  .reader-sidebar { display: none; }
}

@media (max-width: 1000px) {
  .ribbon-list {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ribbon-list::-webkit-scrollbar { display: none; }
  .ribbon-toggle, .mega-panel { display: none !important; }
}

@media (max-width: 920px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 34px 38px; }
  .spotlight-link { grid-template-columns: minmax(0, 1fr); }
  .spotlight-media { border-inline-end: 0; border-bottom: 1px solid var(--rule); }
  .spotlight-media img { min-height: 0; aspect-ratio: 16 / 9; }
  .craft-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .craft-art { max-width: 440px; }
}

@media (max-width: 860px) {
  .nav-search { display: none; }
  .search-link { display: inline-flex; }
  .moments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .situation-index, .archive-two-col, .more-index-list { grid-template-columns: minmax(0, 1fr); }
  .collection-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .collection-frame { max-width: 440px; }
  .archive-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 22px; }
  .archive-aside { position: static; }
  .subtopics nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; max-height: none; }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  .masthead-inner { min-height: 56px; gap: 12px; }
  .brand { gap: 7px; font-size: 19.5px; }
  .brand-mark { width: 23px; height: 23px; }
  .masthead-tools { gap: 10px; font-size: 13px; }
  .ribbon-trigger { padding-block: 9px; }

  .hero-split { padding-block: 26px 32px; }
  .hero-left h1 { font-size: clamp(31px, 8.6vw, 40px); }
  .hero-lede { margin: 14px 0 20px; font-size: 16.5px; }
  .guide-search { flex-direction: column; gap: 8px; }
  .guide-search button { min-height: 44px; width: 100%; }
  .hero-standards { gap: 6px 16px; margin-top: 20px; }
  .hero-preview { padding: 14px; }
  .preview-quote { font-size: 16.5px; }
  .hero-preview-foot { align-items: flex-start; }

  .home-section { padding-block: 36px; }
  .moments-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .spotlight-body { padding: 18px 18px 20px; }
  .featured-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 24px; }
  .craft-band { padding-block: 40px; }

  .interior { padding-block: 24px 56px; }
  .directory { grid-template-columns: minmax(0, 1fr); }
  .directory-item ul { grid-template-columns: minmax(0, 1fr); }
  .subtopics nav { grid-template-columns: minmax(0, 1fr); }

  .guide { padding-block: 22px 56px; }
  .guide-crumbs { margin-bottom: 16px; font-size: 12.5px; }
  .article-heading h1 { font-size: clamp(26px, 7vw, 32px); }
  .article-heading.medium-title h1 { font-size: clamp(24px, 6.4vw, 29px); }
  .article-heading.long-title h1 { font-size: clamp(22px, 5.8vw, 26px); }
  .deck { font-size: 16.5px; }
  .article-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
  .article-tools { margin-inline-start: 0; }
  .contents-panel, .share-panel { inset-inline-end: auto; inset-inline-start: 0; }

  .prose { font-size: 17.5px; line-height: 1.76; }
  .phrase-card-head { flex-direction: column; gap: 10px; }
  .phrase-card blockquote { font-size: 18px; padding-inline-start: 14px; }
  .phrase-meta { padding-inline-start: 17px; }
  .copy-phrase-btn { align-self: flex-start; margin-inline-start: 17px; min-height: 36px; padding: 6px 13px; font-size: 12.5px; }
  .hero-preview .copy-phrase-btn, .avoid-alt .copy-phrase-btn { margin-inline-start: 0; }
  .avoid-alt blockquote { font-size: 17.5px; }

  .author-card { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .author-monogram { width: 44px; height: 44px; font-size: 15px; }
  .article-nav { grid-template-columns: minmax(0, 1fr); }
  .article-nav-next { text-align: start; }
  .related-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-navs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 389px) {
  .masthead-inner { gap: 8px; }
  .masthead .brand { font-size: 17px; }
  .masthead-tools { gap: 7px; }
  .masthead .tool-link { display: none; }
}
