/* MeanUong Pro 1.5.1 - detailed modern food blog */

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/source-serif-4-vietnamese.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/source-serif-4-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f0f0ec;
  --paper: #fbfbf8;
  --ink: #171717;
  --ink-2: #343434;
  --muted: #686868;
  --line: #d4d4ce;
  --line-strong: #171717;
  --accent: #c1121f;
  --font: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --container: 1160px;

  /* Spacing scale */
  --page-x: clamp(1rem, 3.5vw, 1.5rem);
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.25rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.75rem;
  --section-y: clamp(2rem, 4vw, 2.75rem);
  --gap: 1.25rem;
  --gap-lg: 1.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.site-main { background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

.container {
  width: min(100% - (var(--page-x) * 2), var(--container));
  margin-inline: auto;
}

/* Safety: dual-class components must never kill horizontal centering */
.container.lead-grid,
.container.about-grid,
.container.share-band,
.container.footer-grid,
.container.edition-bar-inner,
.container.footer-bottom-inner,
.container.masthead-top {
  margin-inline: auto;
}

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;
}
.skip-link:focus {
  clip: auto; clip-path: none; height: auto; width: auto;
  left: var(--page-x); top: var(--page-x); z-index: 10000;
  background: var(--ink); color: #fff; padding: 0.65rem 0.9rem;
}

/* ——— Header ——— */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.masthead {
  padding-top: var(--space-3);
  padding-bottom: 0;
}
.masthead-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding-bottom: var(--space-2);
}
.masthead-date {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-branding { text-align: center; justify-self: center; }
.site-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  display: inline-block;
}
.site-title:hover { color: var(--ink); }
.site-title-sm { font-size: 1.3rem; line-height: 1.15; }
.custom-logo-link img { max-height: 52px; width: auto; margin-inline: auto; }
.masthead-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Language switcher (Polylang) */
.lang-switcher {
  position: relative;
  z-index: 50;
  flex: 0 0 auto;
}
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 34px;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-2);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.lang-switcher-btn:hover,
.lang-switcher-btn[aria-expanded="true"] {
  border-color: var(--ink);
  color: var(--ink);
}
.lang-switcher .lang-code {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.lang-switcher-btn .lang-name {
  max-width: 4.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lang-caret {
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 4.5px solid currentColor;
  opacity: 0.7;
}
.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 10.5rem;
  margin: 0;
  padding: 0.3rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.lang-switcher-menu[hidden] { display: none; }
.lang-switcher-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 7px;
  color: var(--ink-2) !important;
  font-size: 0.84rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.lang-switcher-menu a:hover,
.lang-switcher-menu a.is-current {
  background: var(--bg);
  color: var(--accent) !important;
}
.lang-switcher-menu .lang-code {
  min-width: 1.5rem;
  font-size: 0.74rem;
}
@media (max-width: 700px) {
  .lang-switcher-btn .lang-name { display: none; }
}
.masthead-deck {
  margin: 0 auto var(--space-3);
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
  max-width: 36rem;
  line-height: 1.45;
  padding-inline: 0;
}

.primary-nav {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 0;
  margin: 0;
  width: 100%;
  background: var(--paper);
}
.primary-nav > .container {
  padding-block: 0;
}
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: var(--space-1) 0;
}
.nav-menu a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a {
  color: var(--accent);
}
.nav-menu .sub-menu { display: none; }

.search-toggle, .nav-toggle {
  appearance: none; border: 0; background: transparent;
  width: 40px; height: 40px; display: grid; place-items: center;
  cursor: pointer; color: var(--ink); padding: 0;
}
.nav-toggle { display: none; }
.burger, .burger::before, .burger::after {
  display: block; width: 16px; height: 1.5px; background: currentColor; position: relative;
}
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -5px; }
.burger::after { top: 5px; }
.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { top: 0; transform: rotate(-45deg); }

.header-search {
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) 0;
  background: var(--paper);
}
.header-search[hidden] { display: none !important; }

/* Category strip */
.edition-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: var(--space-2) 0;
}
.edition-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.edition-bar .sep { opacity: 0.5; }
.cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
  align-items: center;
  margin: 0;
  padding: 0;
}
.chip {
  color: var(--ink-2);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 1px solid transparent;
  padding: 0.15rem 0;
}
.chip:hover, .chip.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Lead + rail — gap-based, equal padding */
.lead-section {
  padding: var(--section-y) 0;
  background: var(--paper);
}
.lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.95fr);
  column-gap: 0;
  row-gap: var(--gap-lg);
  align-items: start;
  /* no extra top pad — section already has section-y */
  padding: 0;
  /* margin-block only — never margin:0 (kills .container margin-inline:auto) */
  margin-block: 0;
  border: 0;
}
.lead-main {
  min-width: 0;
  margin: 0;
  padding: 0 var(--gap-lg) 0 0;
  border: 0;
  border-right: 1px solid var(--line);
}
.lead-rail {
  min-width: 0;
  margin: 0;
  padding: 0 0 0 var(--gap-lg);
  border: 0;
}
.lead-media {
  display: block;
  margin: 0 0 var(--space-4);
  background: #e8e4dc;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lead-body { margin: 0; padding: 0; }
.lead-title {
  margin: var(--space-2) 0 var(--space-3);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead-title a { color: inherit; }
.lead-title a:hover { color: var(--accent); }
.lead-deck {
  margin: 0 0 var(--space-3);
  font-size: 1.02rem;
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 38rem;
}
.cat-link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.cat-link:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
}
.meta-sep { opacity: 0.45; }

.rail-label {
  margin: 0 0 var(--space-3);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--ink);
  padding: 0 0 var(--space-2);
  display: inline-block;
}
.rail-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: rail;
}
.rail-list li {
  counter-increment: rail;
  padding: var(--space-3) 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
.rail-list li:first-child { padding-top: 0; }
.rail-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.rail-item {
  position: relative;
  padding: 0 0 0 1.85rem;
  margin: 0;
}
.rail-item::before {
  content: counter(rail, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}
.rail-title {
  margin: 0.2rem 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.32;
}
.rail-title a { color: inherit; }
.rail-meta { margin: 0; font-size: 0.78rem; color: var(--muted); }
.rail-empty { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* Story list */
.section-latest {
  padding: var(--section-y) 0;
  background: var(--paper);
}
.section-kicker {
  /* single rule only — avoid double-line with .home-section border */
  border-top: 0;
  margin: 0 0 var(--space-4);
  padding: 0;
}
.section-kicker h2 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: var(--space-2);
  border-bottom: 2px solid var(--ink);
  display: inline-block;
}
.section-kicker-row .section-kicker h2,
.section-kicker-row h2 {
  display: inline-block;
}
.section-kicker-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin: 0 0 var(--space-4);
  padding: 0 0 var(--space-2);
  border-bottom: 2px solid var(--ink);
}
.section-kicker-row h2 {
  border-bottom: 0;
  padding-bottom: 0;
  margin: 0;
}
.section-kicker-row .text-link {
  margin-bottom: 0.1rem;
}
.story-list {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0;
}
.story-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: var(--gap);
  padding: var(--space-4) 0;
  margin: 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.story-row:not(:has(.story-thumb)) {
  grid-template-columns: minmax(0, 1fr);
}
.story-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8e4dc;
  margin: 0;
}
.story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-body { min-width: 0; margin: 0; padding: 0; }
.story-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 var(--space-1);
}
.story-meta-top .dot { opacity: 0.45; }
.story-title {
  margin: 0 0 var(--space-2);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.3;
}
.story-title a { color: inherit; }
.story-title a:hover { color: var(--accent); }
.story-deck {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Archive cards — equal cell padding via gap + padding */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-lg) var(--gap);
  margin: 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid var(--line);
}
.post-card {
  margin: 0;
  padding: 0 0 var(--space-4);
  border: 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.card-body { margin: 0; padding: 0; }
.card-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8e4dc;
  margin: 0 0 var(--space-3);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-title {
  margin: 0 0 var(--space-2);
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 650;
}
.card-title a { color: inherit; }
.card-excerpt {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Page shells */
.layout-archive, .layout-page, .layout-single, .layout-404 {
  padding: var(--section-y) 0 calc(var(--section-y) + 0.5rem);
  background: var(--paper);
}
.archive-header {
  margin: 0 0 var(--space-5);
  border-bottom: 1px solid var(--line);
  padding: 0 0 var(--space-4);
}
.archive-title, .page-title {
  margin: 0 0 var(--space-2);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.archive-desc { color: var(--muted); margin: 0 0 var(--space-3); }
.page-header { margin: 0 0 var(--space-5); }

/* Single — reading column + optional sidebar */
.layout-single {
  --single-read: 42rem;
}
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--gap-lg);
  align-items: start;
}
.single-layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  column-gap: clamp(1.5rem, 3vw, 2.25rem);
}
.single-main {
  min-width: 0;
  max-width: var(--single-read);
  margin-inline: 0 auto;
  width: 100%;
}
.single-layout.has-sidebar .single-main {
  max-width: none;
  margin-inline: 0;
}
.single-article { margin: 0; padding: 0; }

.single-header {
  margin: 0 0 var(--space-5);
  text-align: left;
  padding: 0;
}
.single-header .cat-link {
  display: inline-block;
  margin: 0 0 var(--space-2);
}
.single-title {
  margin: 0 0 var(--space-3);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.single-header .entry-meta {
  justify-content: flex-start;
  margin: 0;
}
.single-thumb {
  margin: 0 0 var(--space-5);
  background: #e8e4dc;
  padding: 0;
  border-radius: 2px;
  overflow: hidden;
}
.single-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.content-prose {
  max-width: none;
  margin: 0;
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--ink-2);
  padding: 0;
}
.content-prose > *:first-child { margin-top: 0; }
.content-prose > *:last-child { margin-bottom: 0; }
.content-prose h2, .content-prose h3 {
  font-family: var(--serif);
  color: var(--ink);
  margin: 1.65rem 0 0.7rem;
  line-height: 1.28;
  font-weight: 700;
}
.content-prose h2 { font-size: 1.35rem; }
.content-prose h3 { font-size: 1.15rem; }
.content-prose p, .content-prose ul, .content-prose ol { margin: 0 0 1.05rem; }
.content-prose ul, .content-prose ol { padding-left: 1.35rem; }
.content-prose li { margin: 0 0 0.35rem; }
.content-prose strong { color: var(--ink); font-weight: 650; }
.content-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.content-prose blockquote {
  margin: 1.4rem 0;
  padding: 0.15rem 0 0.15rem var(--space-4);
  border-left: 2px solid var(--ink);
  color: var(--muted);
  font-style: italic;
}
.content-prose img { margin: 1.2rem 0; border-radius: 2px; }

.share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-4);
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.share-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  margin-right: 0.15rem;
}
.share-btn {
  min-width: 3.4rem;
  height: 36px;
  padding: 0 0.75rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg);
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  color: var(--ink-2);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.share-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--paper);
}

.single-footer {
  margin: var(--space-6) 0 0;
  padding-top: 0;
  border-top: 0;
}
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin: 0 0 var(--space-4);
  padding: 0;
}
.tag-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}
.tag-list a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: var(--bg);
}
.tag-list a:hover { color: var(--accent); border-color: var(--accent); }

.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.post-nav a {
  display: block;
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: inherit;
  min-height: 100%;
}
.post-nav a:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.nav-label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
}
.nav-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}
.post-nav-next { text-align: right; }

.single-sidebar {
  min-width: 0;
  position: sticky;
  top: 1rem;
}
.single-sidebar .widget {
  margin: 0 0 var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
}
.single-sidebar .widget:last-child { margin-bottom: 0; }
.single-sidebar .widget-title {
  margin: 0 0 var(--space-3);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.single-sidebar .search-form {
  max-width: none;
  flex-direction: column;
  gap: var(--space-2);
}
.single-sidebar .search-field {
  min-height: 42px;
}
.single-sidebar .search-submit {
  width: 100%;
}
.single-sidebar .widget ul {
  margin: 0;
  padding-left: 1.05rem;
}
.single-sidebar .widget li {
  margin: 0 0 0.45rem;
  line-height: 1.4;
  font-size: 0.9rem;
}

.related-posts {
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 2px solid var(--ink);
  grid-column: 1 / -1;
}
.related-title {
  margin: 0 0 var(--space-4);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Breadcrumbs — same column as article body */
.breadcrumbs {
  margin: 0 0 var(--space-4);
  padding: 0.15rem 0 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.15rem;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin: 0 0.4rem;
  opacity: 0.45;
  flex-shrink: 0;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li:last-child span {
  color: var(--ink-2);
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.layout-page .breadcrumbs,
.layout-archive .breadcrumbs {
  max-width: var(--single-read);
  margin-inline: auto;
  margin-bottom: var(--space-4);
}

/* Forms */
.search-form {
  display: flex;
  gap: var(--space-2);
  max-width: 420px;
  margin: 0;
  width: 100%;
}
.search-field, .comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.65rem 0.8rem;
  font: inherit;
  color: var(--ink);
  margin: 0;
}
.search-field:focus, .comment-form input:focus, .comment-form textarea:focus {
  outline: 1px solid var(--ink);
  border-color: var(--ink);
}
.search-submit, .form-submit .submit {
  appearance: none;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.65rem 0.95rem;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}
.comments-area {
  max-width: none;
  margin: var(--space-6) 0 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
}
.comment-list { list-style: none; margin: 0 0 var(--space-5); padding: 0; }
.comment-body { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); margin: 0; }
.comment-form label { display: block; font-size: 0.85rem; font-weight: 600; margin: 0 0 var(--space-1); }
.comment-form p { margin: 0 0 var(--space-3); }

.pagination, .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  justify-content: center;
  margin: var(--space-6) 0 0;
  padding: 0;
}
.page-numbers {
  min-width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 0 0.4rem;
}
.page-numbers.current, .page-numbers:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.sidebar .widget {
  border: 1px solid var(--line);
  padding: var(--space-3) var(--space-4);
  margin: 0 0 var(--space-3);
  background: var(--bg);
}
.widget-title {
  margin: 0 0 var(--space-2);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.widget ul { margin: 0; padding-left: 1.1rem; }

/* Footer */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 0;
  margin: 0;
}
.footer-rule {
  height: 0;
  border-top: 2px solid var(--ink);
  margin: 0;
  width: 100%;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--gap-lg);
  padding: var(--space-6) 0 var(--space-5);
  margin-block: 0;
}
.footer-brand, .footer-col { min-width: 0; margin: 0; padding: 0; }
.footer-desc {
  margin: var(--space-2) 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 16rem;
  line-height: 1.45;
}
.footer-label {
  margin: 0 0 var(--space-2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin: 0 0 0.4rem; padding: 0; }
.footer-menu a { font-size: 0.9rem; color: var(--ink-2); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: var(--space-3) 0 var(--space-4);
  margin: 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); }

.back-to-top {
  position: fixed;
  right: var(--page-x);
  bottom: var(--page-x);
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 900;
  font-size: 0.95rem;
  padding: 0;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; }

.layout-404, .no-results {
  text-align: center;
  padding: var(--space-7) 0;
  margin: 0;
}
.error-code {
  font-family: var(--serif);
  font-size: 3rem;
  margin: 0 0 var(--space-2);
  font-weight: 700;
}
.no-results h2 { font-family: var(--serif); margin: 0 0 var(--space-2); }
.no-results p { margin: 0 0 var(--space-4); }
.no-results .search-form { margin-inline: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.2;
  margin: 0;
}
.btn-ghost, .btn-outline {
  background: transparent;
  color: var(--ink) !important;
}
.text-link {
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

/* Home extended sections */
.home-section {
  padding: var(--section-y) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  margin: 0;
}
.home-section .section-kicker { margin-bottom: var(--space-4); }
.home-section .section-kicker h2 { margin: 0; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr);
  gap: var(--gap-lg);
  align-items: start;
}
.about-lead {
  font-size: 1.05rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 var(--space-3);
  max-width: 38rem;
}
.about-note { margin: 0 0 var(--space-3); color: var(--muted); font-size: 0.92rem; }
.about-actions {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  font-size: 0.92rem;
}
.about-actions .dot { color: var(--muted); }
.about-stats {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
}
.about-stats .stat {
  border: 1px solid var(--line);
  padding: var(--space-3) var(--space-4);
  background: var(--bg);
  margin: 0;
}
.about-stats .stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 0 0 0.2rem;
}
.about-stats .stat span { font-size: 0.8rem; color: var(--muted); }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap) var(--gap);
  margin: 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid var(--line);
}
.topic-tile {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  margin: 0;
  border: 1px solid var(--line);
  background: var(--bg);
  color: inherit !important;
  min-width: 0;
}
.topic-tile:hover .topic-tile-title { color: var(--accent); }
.topic-tile-title {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 650;
  line-height: 1.25;
}
.topic-tile-desc {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.45;
  flex: 1;
}
.topic-tile-meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: var(--space-1);
}

.howto-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap-lg);
  margin: 0;
  padding: 0;
}
.howto-item {
  border-top: 2px solid var(--ink);
  padding: var(--space-3) 0 0;
  margin: 0;
  min-width: 0;
}
.howto-n {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--muted);
  margin: 0 0 var(--space-2);
}
.howto-item h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.05rem;
  font-family: var(--serif);
  line-height: 1.3;
}
.howto-item p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.92rem;
  line-height: 1.5;
}

.note-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.note-list li {
  padding: var(--space-3) 0 var(--space-3) 1.25rem;
  margin: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}
.note-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--muted);
}

.share-band {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-lg);
  margin-block: 0;
  padding: 0;
}
.share-band p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.share-band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.faq-list {
  border-top: 1px solid var(--line);
  max-width: 720px;
  margin: 0;
  padding: 0;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) 0;
  margin: 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.98rem;
  list-style: none;
  padding: 0.15rem 1.5rem 0.15rem 0;
  line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  margin-right: -1.5rem;
  color: var(--muted);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-a {
  margin: var(--space-2) 0 0;
  padding: 0 1.5rem 0 0;
  color: var(--ink-2);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 900px) {
  .lead-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .lead-main {
    padding: 0 0 var(--space-5);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .lead-rail {
    padding: var(--space-5) 0 0;
    border: 0;
  }
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .about-grid,
  .topic-grid,
  .howto-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  :root {
    --page-x: 1rem;
    --section-y: 1.75rem;
    --gap: 1rem;
    --gap-lg: 1.25rem;
  }

  .masthead { padding-top: var(--space-2); }
  .masthead-top {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-2);
  }
  .masthead-date { display: none; }
  .site-branding { justify-self: start; text-align: left; }
  .site-title { font-size: 1.55rem; }
  .masthead-deck {
    text-align: left;
    margin-bottom: var(--space-2);
  }

  .nav-toggle { display: grid; }
  .primary-nav {
    display: none;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 0;
    margin: 0;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav > .container {
    padding-top: var(--space-2);
    padding-bottom: var(--space-3);
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
  }
  .nav-menu a {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
  }

  .story-row {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: var(--space-3);
    padding: var(--space-3) 0;
  }
  .story-title { font-size: 1.05rem; }

  .posts-grid,
  .about-grid,
  .topic-grid,
  .howto-row,
  .footer-grid,
  .post-nav {
    grid-template-columns: minmax(0, 1fr);
  }

  .post-nav-next { text-align: left; }
  .single-layout.has-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  .single-sidebar {
    position: static;
  }

  .topic-tile { padding: var(--space-3); }
  .share-band { align-items: stretch; }
  .share-band-actions { width: 100%; }
  .share-band-actions .btn { flex: 1 1 auto; }

  .layout-archive, .layout-page, .layout-single, .layout-404 {
    padding-top: var(--space-5);
    padding-bottom: var(--space-6);
  }

  .single-main {
    max-width: 100%;
  }
}

/* 1.3 editorial redesign */

:where(a, button, input, textarea, summary):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

:where(button, .btn, .share-btn, .search-submit):active {
  transform: translateY(1px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line-strong);
  background: rgb(251 251 248 / 96%);
  backdrop-filter: blur(12px);
}

.header-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}

.header-row .site-branding {
  justify-self: start;
  text-align: left;
}

.header-row .site-title {
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  white-space: nowrap;
}

.header-row .custom-logo-link img {
  max-height: 44px;
}

.header-row .primary-nav {
  width: auto;
  min-width: 0;
  border: 0;
  background: transparent;
}

.header-row .nav-menu {
  justify-content: center;
  flex-wrap: nowrap;
  padding: 0;
}

.header-row .nav-menu > li {
  position: relative;
  flex: 0 0 auto;
}

.header-row .nav-menu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.5rem clamp(0.45rem, 1vw, 0.75rem);
  font-size: 0.75rem;
  letter-spacing: 0.045em;
  white-space: nowrap;
}

.header-row .nav-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 18px 44px rgb(23 23 23 / 12%);
}

.header-row .nav-menu li:hover > .sub-menu,
.header-row .nav-menu li:focus-within > .sub-menu {
  display: block;
}

.header-row .nav-menu .sub-menu a {
  min-height: 40px;
  padding-inline: 0.7rem;
  text-transform: none;
  letter-spacing: 0;
}

.masthead-actions {
  gap: 0.25rem;
}

.search-toggle,
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
}

.search-toggle {
  width: auto;
  padding-inline: 0.65rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-search {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.header-search .search-form {
  max-width: 560px;
  margin-inline: auto;
}

.edition-bar {
  padding: 0;
  background: var(--paper);
}

.edition-bar-inner {
  min-height: 46px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

.edition-bar-inner::-webkit-scrollbar {
  display: none;
}

.edition-bar .cat-chips {
  flex-wrap: nowrap;
  gap: clamp(1rem, 2.4vw, 2rem);
  width: max-content;
}

.edition-bar .chip {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  white-space: nowrap;
}

.lead-section {
  padding: clamp(2.5rem, 4vw, 3.5rem) 0 clamp(3rem, 5vw, 4rem);
  background: var(--paper);
}

.lead-story {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4.25rem);
  margin: 0;
}

.lead-body {
  max-width: 470px;
}

.lead-title {
  max-width: 10ch;
  margin: 0.65rem 0 1rem;
  font-size: clamp(2.65rem, 4.6vw, 4.1rem);
  line-height: 1.01;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.lead-deck {
  max-width: 50ch;
  margin-bottom: 1rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--muted);
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.5rem;
}

.lead-actions .entry-meta {
  margin: 0;
}

.lead-actions .text-link {
  font-size: 0.84rem;
}

.lead-media {
  height: clamp(340px, 31vw, 430px);
  aspect-ratio: auto;
  margin: 0;
  background: #deded8;
}

.lead-media img {
  object-position: center 56%;
}

.entry-meta,
.story-meta-top {
  gap: 0.55rem 1rem;
}

.entry-meta > * + *,
.story-meta-top > time {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.section-latest {
  background: var(--paper);
}

.home-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--paper);
}

.section-kicker,
.home-section .section-kicker {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.section-kicker h2 {
  display: block;
  padding: 0;
  border: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: none;
}

.section-kicker-row {
  align-items: center;
  padding: 0;
  border: 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}

.featured-story {
  min-width: 0;
  margin: 0;
}

.featured-media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #deded8;
}

.featured-story:first-child .featured-media {
  aspect-ratio: 16 / 10;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}

.featured-media:hover img {
  transform: scale(1.015);
}

.featured-body {
  padding-top: 1.1rem;
}

.featured-title {
  margin: 0.5rem 0 0.65rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.featured-body p {
  max-width: 52ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--line-strong);
}

.latest-story {
  min-width: 0;
  padding: 1.35rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.latest-story .story-meta-top {
  margin-bottom: 0.65rem;
}

.latest-story h3 {
  max-width: 24ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.22;
  letter-spacing: -0.018em;
}

.single-thumb,
.content-prose img,
.share-btn,
.tag-list a,
.post-nav a,
.single-sidebar .widget,
.lang-switcher-btn,
.lang-switcher-menu,
.lang-switcher-menu a {
  border-radius: 0;
}

.single-thumb img,
.single-image {
  width: 100%;
  height: auto;
}

.layout-single {
  max-width: 1240px;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.single-layout {
  display: block;
}

.single-main {
  max-width: none;
  margin: 0;
}

.single-main > .breadcrumbs {
  max-width: 1120px;
  margin-inline: auto;
}

.single-header {
  max-width: 1120px;
  margin: clamp(2rem, 4vw, 3.5rem) auto clamp(2rem, 4vw, 3rem);
}

.single-title {
  max-width: none;
  margin: 0.65rem 0 1.25rem;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.single-thumb {
  max-width: 1120px;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
}

.content-prose,
.single-footer,
.comments-area {
  max-width: 720px;
  margin-inline: auto;
}

.content-prose {
  font-size: clamp(1.05rem, 1.5vw, 1.16rem);
  line-height: 1.82;
}

.related-posts {
  margin-top: clamp(4rem, 8vw, 7rem);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line-strong);
}

/* 1.4 premium editorial expansion */

.cover-section {
  padding: 0 0 clamp(3.5rem, 6vw, 5.5rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.cover-edition {
  min-height: 46px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cover-edition span:nth-child(2) {
  text-align: center;
}

.cover-edition span:last-child {
  text-align: right;
}

.cover-story {
  position: relative;
  min-height: clamp(470px, 39vw, 540px);
  margin: 0;
  overflow: hidden;
  background: #171717;
  isolation: isolate;
}

.cover-media,
.cover-media::after {
  position: absolute;
  inset: 0;
}

.cover-media {
  z-index: 0;
  display: block;
}

.cover-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgb(15 15 15 / 95%) 0%, rgb(15 15 15 / 80%) 31%, rgb(15 15 15 / 24%) 61%, transparent 78%),
    linear-gradient(0deg, rgb(15 15 15 / 52%) 0%, transparent 36%);
}

.cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 900ms cubic-bezier(.2,.65,.3,1);
}

.cover-story:hover .cover-media img {
  transform: scale(1.012);
}

.cover-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  width: min(48%, 540px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 4.75rem);
  color: #fff;
}

.cover-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 0 0 1.25rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cover-kicker span {
  min-width: 2.4rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--accent);
  color: #ff626c;
}

.cover-title {
  max-width: 9ch;
  margin: 0 0 1.15rem;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(3.25rem, 5.8vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.cover-title a {
  color: inherit;
}

.cover-title a:hover {
  color: #fff;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.12em;
}

.cover-deck {
  max-width: 39ch;
  margin: 0 0 1.5rem;
  color: rgb(255 255 255 / 76%);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  color: rgb(255 255 255 / 60%);
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cover-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.35rem;
  border: 1px solid rgb(255 255 255 / 54%);
  background: rgb(0 0 0 / 18%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cover-link::after {
  content: "↗";
  margin-left: 0.7rem;
  font-size: 1rem;
}

.cover-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.cover-side-note {
  position: absolute;
  z-index: 3;
  top: 1.4rem;
  right: 1.4rem;
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgb(255 255 255 / 34%);
  color: #fff;
  text-align: right;
}

.cover-side-note span {
  color: rgb(255 255 255 / 62%);
  font-size: 0.64rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.cover-side-note strong {
  font-family: var(--serif);
  font-size: 0.98rem;
  font-weight: 600;
}

.cover-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.cover-index a {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  border-right: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 650;
}

.cover-index a:last-child {
  border-right: 0;
}

.cover-index a:hover {
  background: #f1f1ec;
  color: var(--accent);
}

.cover-index span {
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.premium-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.premium-section-head > div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.premium-section-head h2,
.weekend-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.2vw, 3.65rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.premium-section-head p {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-number {
  color: var(--accent);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.premium-featured-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: start;
}

.premium-feature-story {
  position: relative;
}

.premium-feature-story .featured-media {
  position: relative;
  aspect-ratio: 16 / 10;
}

.premium-feature-story:nth-child(2) {
  padding-top: clamp(2rem, 6vw, 5rem);
}

.premium-feature-story:nth-child(2) .featured-media {
  aspect-ratio: 4 / 5;
}

.image-index {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 46px;
  min-height: 42px;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
}

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

.feature-meta-line time {
  color: var(--muted);
  font-size: 0.72rem;
}

.premium-feature-story:first-child .featured-title {
  max-width: 23ch;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.premium-feature-story:nth-child(2) .featured-title {
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
}

.weekend-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f1f1ec;
}

.weekend-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.weekend-heading {
  align-self: start;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.4rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.weekend-heading h2 {
  max-width: 8ch;
}

.weekend-heading p {
  grid-column: 2;
  max-width: 30ch;
  margin: 1rem 0 0;
  color: var(--muted);
}

.weekend-list {
  border-top: 1px solid var(--line-strong);
}

.weekend-story {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 46px;
  gap: 1.25rem;
  align-items: start;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid var(--line);
}

.weekend-index {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.weekend-story h3 {
  max-width: 26ch;
  margin: 0.55rem 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.weekend-story p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.weekend-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  font-size: 1.1rem;
}

.weekend-arrow:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.taste-directory {
  padding-bottom: clamp(4.5rem, 8vw, 7rem);
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.directory-grid a {
  min-height: 132px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.directory-grid a:hover {
  background: var(--ink);
  color: #fff;
}

.directory-grid span,
.directory-grid small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.directory-grid span {
  color: var(--accent);
}

.directory-grid small {
  color: var(--muted);
  text-align: right;
}

.directory-grid a:hover small {
  color: rgb(255 255 255 / 62%);
}

.directory-grid strong {
  grid-column: 1 / -1;
  align-self: end;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  line-height: 1;
}

/* 1.5 detailed food blog homepage */

.cover-section {
  padding: 0 0 clamp(2.75rem, 4vw, 3.75rem);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.cover-intro {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.86rem;
}

.cover-intro strong {
  flex: 0 0 auto;
  padding-right: 1rem;
  border-right: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.7rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.cover-story {
  position: relative;
  min-height: clamp(500px, 38vw, 540px);
  display: grid;
  grid-template-columns: minmax(370px, 0.82fr) minmax(0, 1.18fr);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #eee9df;
  isolation: isolate;
}

.cover-story::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 4;
  width: 90px;
  height: 6px;
  background: var(--accent);
}

.cover-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  width: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.75rem, 4.5vw, 4.25rem);
  color: var(--ink);
  background-color: #f1ede5;
  background-image:
    linear-gradient(rgb(23 23 23 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(23 23 23 / 3%) 1px, transparent 1px);
  background-size: 64px 64px;
}

.cover-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.9rem;
  margin: 0 0 1.35rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cover-meta .post-category {
  padding-right: 0.9rem;
  border-right: 1px solid var(--line);
  color: var(--accent);
}

.cover-title {
  max-width: 9.5ch;
  margin: 0 0 1.2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.45rem, 5vw, 4.65rem);
  line-height: 0.97;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.cover-title a {
  color: inherit;
}

.cover-title a:hover {
  color: var(--accent);
  text-decoration: none;
}

.cover-deck {
  max-width: 37ch;
  margin: 0 0 1.65rem;
  color: var(--ink-2);
  font-size: clamp(0.98rem, 1.2vw, 1.06rem);
  line-height: 1.65;
}

.cover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cover-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.4rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cover-link::after {
  content: "↗";
  margin-left: 0.75rem;
  font-size: 1rem;
}

.cover-link:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.cover-media,
.cover-media::after {
  position: absolute;
  inset: 0;
}

.cover-media {
  position: relative;
  inset: auto;
  z-index: 1;
  min-height: inherit;
  display: block;
  overflow: hidden;
  box-shadow: inset 6px 0 0 var(--accent);
}

.cover-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgb(23 23 23 / 16%), transparent 22%),
    linear-gradient(0deg, rgb(23 23 23 / 20%), transparent 36%);
  pointer-events: none;
}

.cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transition: transform 900ms cubic-bezier(.2,.65,.3,1);
}

.cover-story:hover .cover-media img {
  transform: scale(1.015);
}

.story-section-head {
  display: block;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-strong);
}

.story-section-head h2,
.weekend-heading h2 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.story-section-head p {
  max-width: 52ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.home-featured {
  padding-top: clamp(3.75rem, 6vw, 5.25rem);
  padding-bottom: clamp(5rem, 9vw, 8rem);
}

.premium-featured-grid {
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 0.62fr);
  align-items: start;
  gap: clamp(2.25rem, 4vw, 4rem);
}

.premium-feature-story {
  position: relative;
}

.premium-feature-story .featured-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 4px solid var(--ink);
}

.premium-feature-story:nth-child(2) {
  padding-top: clamp(2.5rem, 7vw, 6rem);
}

.premium-feature-story:nth-child(2) .featured-media {
  aspect-ratio: 4 / 5;
  border-bottom-color: var(--accent);
}

.premium-feature-story .featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.65,.3,1);
}

.premium-feature-story:hover .featured-media img {
  transform: scale(1.018);
}

.premium-feature-story .featured-body {
  padding-top: 1.15rem;
}

.feature-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-meta-line > span {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.feature-meta-line time {
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.feature-meta-line small {
  flex: 0 0 auto;
  color: var(--muted);
  font: inherit;
}

.premium-feature-story:first-child .featured-title {
  max-width: 22ch;
  font-size: clamp(2.1rem, 3.6vw, 3.2rem);
}

.premium-feature-story:nth-child(2) .featured-title {
  font-size: clamp(1.6rem, 2.7vw, 2.3rem);
}

.premium-feature-story .featured-body > p {
  max-width: 56ch;
  color: var(--muted);
}

.featured-story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-story-link:hover {
  border-color: var(--accent);
}

.weekend-section {
  padding-top: clamp(4.75rem, 8vw, 7rem);
  padding-bottom: clamp(4.75rem, 8vw, 7rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f1eee7;
}

.weekend-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.weekend-heading {
  align-self: start;
  display: block;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line-strong);
}

.weekend-heading h2 {
  max-width: 8ch;
}

.weekend-heading p {
  max-width: 31ch;
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.weekend-list {
  border-top: 1px solid var(--line-strong);
}

.weekend-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: start;
  margin: 0;
  padding: clamp(1.75rem, 3vw, 2.35rem) 0 clamp(1.75rem, 3vw, 2.35rem) 1.35rem;
  border-bottom: 1px solid var(--line);
}

.weekend-story::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 0;
  width: 3px;
  height: 30px;
  background: var(--accent);
}

.story-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-meta-top time,
.story-meta-top > span {
  padding-left: 0.75rem;
  border-left: 1px solid var(--line);
}

.weekend-story h3 {
  max-width: 28ch;
  margin: 0.65rem 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.7vw, 2.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.weekend-story p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.weekend-arrow {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.85rem;
  border: 1px solid var(--line-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.weekend-arrow span {
  font-size: 1rem;
}

.weekend-arrow:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.taste-directory {
  padding-top: clamp(4.75rem, 8vw, 7rem);
  padding-bottom: clamp(4.75rem, 8vw, 7rem);
  background: var(--paper);
}

.directory-head h2 {
  max-width: 12ch;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line);
}

.directory-grid a {
  min-height: 184px;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.4rem 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.directory-grid a:nth-child(1) { grid-column: span 7; }
.directory-grid a:nth-child(2) { grid-column: span 5; background: #f3f0e9; }
.directory-grid a:nth-child(3) { grid-column: span 4; }
.directory-grid a:nth-child(4) { grid-column: span 8; }
.directory-grid a:nth-child(5) { background: #f3f0e9; }

.directory-grid a:hover {
  background: var(--ink);
  color: #fff;
}

.directory-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.directory-grid small {
  color: inherit;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.directory-item-top i {
  color: var(--accent);
  font-size: 1rem;
  font-style: normal;
}

.directory-grid strong {
  margin-top: auto;
  align-self: flex-start;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1;
}

.directory-grid p {
  max-width: 40ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.directory-grid a:hover p,
.directory-grid a:hover small {
  color: rgb(255 255 255 / 66%);
}

.home-contribute {
  padding: 0 0 clamp(5rem, 9vw, 8rem);
  background: var(--paper);
}

.contribute-panel {
  position: relative;
  min-height: 240px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2.5rem;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 4rem);
  border-left: 8px solid var(--accent);
  background: var(--ink);
  color: #fff;
}

.contribute-panel::after {
  content: "";
  position: absolute;
  top: -70%;
  right: 10%;
  width: 270px;
  height: 520px;
  border: 1px solid rgb(255 255 255 / 10%);
  transform: rotate(34deg);
  pointer-events: none;
}

.contribute-panel > * {
  position: relative;
  z-index: 1;
}

.contribute-panel h2 {
  max-width: 16ch;
  margin: 0;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 4.5vw, 3.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.contribute-panel p {
  max-width: 58ch;
  margin: 1rem 0 0;
  color: rgb(255 255 255 / 67%);
}

.contribute-panel > a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 1.25rem;
  border: 1px solid rgb(255 255 255 / 50%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contribute-panel > a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 5rem;
  z-index: 1000;
  transform: translateX(-50%);
  padding: 0.75rem 1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  box-shadow: 0 12px 34px rgb(23 23 23 / 20%);
}

.copy-fallback {
  position: fixed;
  left: -9999px;
}

.scroll-sentinel {
  position: absolute;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

@media (max-width: 1020px) {
  .header-row {
    gap: 0.75rem;
  }

  .header-row .nav-menu a {
    padding-inline: 0.4rem;
    font-size: 0.7rem;
  }
}

@media (max-width: 760px) {
  :root {
    --page-x: 1rem;
  }

  .site-header {
    backdrop-filter: none;
  }

  .header-row {
    position: relative;
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .header-row .site-title {
    font-size: 1.5rem;
  }

  .header-row .primary-nav {
    position: absolute;
    top: 100%;
    left: calc(var(--page-x) * -1);
    right: calc(var(--page-x) * -1);
    z-index: 20;
    display: none;
    width: auto;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    padding: 0 var(--page-x) 1rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-strong);
    background: var(--paper);
  }

  .header-row .primary-nav.is-open {
    display: block;
  }

  .header-row .nav-menu {
    align-items: stretch;
    flex-direction: column;
  }

  .header-row .nav-menu a {
    min-height: 48px;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
    letter-spacing: 0;
    text-transform: none;
  }

  .header-row .nav-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 0 1rem;
    border: 0;
    box-shadow: none;
  }

  .nav-toggle {
    display: grid;
  }

  .search-toggle {
    padding-inline: 0.45rem;
  }

  .edition-bar-inner {
    min-height: 44px;
  }

  .cover-section {
    padding-bottom: 3.5rem;
  }

  .cover-edition {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .cover-edition span:nth-child(2) {
    text-align: right;
  }

  .cover-edition span:last-child {
    display: none;
  }

  .cover-story {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .cover-media {
    position: relative;
    inset: auto;
    z-index: auto;
    aspect-ratio: 16 / 10;
  }

  .cover-media::after {
    background: linear-gradient(0deg, rgb(15 15 15 / 38%), transparent 55%);
  }

  .cover-content {
    min-height: 0;
    width: 100%;
    padding: 1.75rem 1.25rem 2rem;
    background: #171717;
  }

  .cover-kicker {
    margin-bottom: 0.85rem;
  }

  .cover-title {
    max-width: 9ch;
    margin-bottom: 0.9rem;
    font-size: clamp(2.75rem, 14vw, 3.45rem);
  }

  .cover-deck {
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
  }

  .cover-side-note {
    display: none;
  }

  .cover-index {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cover-index a {
    min-height: 72px;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.85rem 0.7rem;
    font-size: 0.76rem;
    line-height: 1.22;
  }

  .cover-index span {
    margin-top: 0.14rem;
  }

  .premium-section-head {
    display: block;
  }

  .premium-section-head > div {
    align-items: flex-start;
  }

  .premium-section-head h2,
  .weekend-heading h2 {
    font-size: clamp(2.15rem, 11vw, 3rem);
  }

  .premium-section-head p {
    margin-top: 1rem;
  }

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

  .premium-feature-story:nth-child(2) {
    padding-top: 0;
  }

  .premium-feature-story:nth-child(2) .featured-media {
    aspect-ratio: 16 / 10;
  }

  .premium-feature-story:first-child .featured-title,
  .premium-feature-story:nth-child(2) .featured-title {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .weekend-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .weekend-heading h2 {
    max-width: none;
  }

  .weekend-heading p {
    grid-column: 1 / -1;
  }

  .weekend-story {
    grid-template-columns: 34px minmax(0, 1fr) 44px;
    gap: 0.75rem;
  }

  .weekend-story h3 {
    font-size: 1.45rem;
  }

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

  .directory-grid a {
    min-height: 142px;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .directory-grid small {
    display: none;
  }

  .lead-section {
    padding-top: 2rem;
  }

  .lead-story {
    display: block;
  }

  .lead-body {
    max-width: none;
  }

  .lead-title {
    max-width: 11ch;
    font-size: clamp(2.25rem, 12vw, 3.45rem);
    line-height: 1.02;
  }

  .lead-media {
    height: auto;
    aspect-ratio: 4 / 3;
    margin-top: 1.5rem;
  }

  .layout-single {
    padding-top: 2rem;
  }

  .single-header {
    margin: 2rem 0 1.75rem;
  }

  .single-title {
    max-width: none;
    font-size: clamp(2.35rem, 11vw, 3.25rem);
  }

  .single-thumb {
    margin-bottom: 2rem;
  }

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

  .featured-grid {
    gap: 2.75rem;
  }

  .featured-story:first-child .featured-media {
    aspect-ratio: 4 / 3;
  }

  .latest-story h3 {
    max-width: none;
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (min-width: 761px) and (max-width: 1020px) {
  .cover-story {
    min-height: 490px;
    grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  }

  .cover-content {
    padding: 2.5rem;
  }

  .cover-title {
    font-size: clamp(3.15rem, 6.2vw, 4rem);
  }

  .premium-feature-story:nth-child(2) {
    padding-top: 3.5rem;
  }
}

@media (max-width: 760px) {
  .header-row {
    min-height: 66px;
  }

  .header-row .site-title {
    font-size: 1.55rem;
  }

  .edition-bar {
    position: relative;
  }

  .edition-bar::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 34px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--paper));
    pointer-events: none;
  }

  .edition-bar-inner {
    padding-right: 2rem;
    scroll-snap-type: x proximity;
  }

  .edition-bar .chip {
    scroll-snap-align: start;
  }

  .cover-section {
    padding: 0 0 3rem;
  }

  .cover-intro {
    min-height: 70px;
    display: block;
    padding: 0.9rem 0;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .cover-intro strong {
    display: block;
    margin-bottom: 0.3rem;
    padding: 0;
    border: 0;
    font-size: 0.64rem;
  }

  .cover-story {
    min-height: 0;
    display: flex;
    flex-direction: column;
    border-color: var(--line-strong);
  }

  .cover-story::before {
    width: 72px;
    height: 5px;
  }

  .cover-content {
    order: 1;
    min-height: 0;
    width: 100%;
    padding: 1.85rem 1.25rem 2rem;
    color: var(--ink);
    background-color: #f1ede5;
  }

  .cover-meta {
    margin-bottom: 1rem;
  }

  .cover-title {
    max-width: 9ch;
    margin-bottom: 1rem;
    color: var(--ink);
    font-size: clamp(2.8rem, 13.5vw, 3.35rem);
    line-height: 0.97;
  }

  .cover-deck {
    margin-bottom: 1.35rem;
    color: var(--ink-2);
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .cover-actions {
    color: var(--muted);
  }

  .cover-link {
    min-height: 46px;
  }

  .cover-media {
    order: 2;
    min-height: 0;
    aspect-ratio: 16 / 10;
    box-shadow: inset 0 5px 0 var(--accent);
  }

  .cover-media::after {
    background: linear-gradient(0deg, rgb(23 23 23 / 18%), transparent 42%);
  }

  .home-featured,
  .weekend-section,
  .taste-directory {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .home-featured {
    padding-top: 3.25rem;
  }

  .story-section-head {
    margin-bottom: 2.1rem;
  }

  .story-section-head h2,
  .weekend-heading h2 {
    max-width: 11ch;
    font-size: clamp(2.35rem, 11.5vw, 3rem);
  }

  .story-section-head p {
    margin-top: 0.9rem;
  }

  .premium-featured-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.25rem;
  }

  .premium-feature-story:nth-child(2) {
    padding-top: 0;
  }

  .premium-feature-story .featured-media,
  .premium-feature-story:nth-child(2) .featured-media {
    aspect-ratio: 4 / 3;
  }

  .premium-feature-story:first-child .featured-title,
  .premium-feature-story:nth-child(2) .featured-title {
    max-width: none;
    font-size: clamp(1.8rem, 8.5vw, 2.45rem);
  }

  .feature-meta-line {
    align-items: flex-start;
  }

  .weekend-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .weekend-heading {
    display: block;
  }

  .weekend-heading h2 {
    max-width: 10ch;
  }

  .weekend-heading p {
    max-width: 34ch;
    margin-top: 1rem;
  }

  .weekend-story {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem;
    padding: 1.65rem 0 1.65rem 1rem;
  }

  .weekend-story::before {
    top: 1.75rem;
    height: 26px;
  }

  .weekend-story h3 {
    max-width: none;
    font-size: 1.55rem;
  }

  .weekend-arrow {
    min-width: 44px;
    padding: 0 0.65rem;
  }

  .weekend-arrow {
    font-size: 0;
  }

  .weekend-arrow span {
    font-size: 1rem;
  }

  .directory-head h2 {
    max-width: 10ch;
  }

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

  .directory-grid a,
  .directory-grid a:nth-child(1),
  .directory-grid a:nth-child(2),
  .directory-grid a:nth-child(3),
  .directory-grid a:nth-child(4),
  .directory-grid a:nth-child(5) {
    min-height: 156px;
    grid-column: 1 / -1;
  }

  .directory-grid strong {
    font-size: 1.9rem;
  }

  .home-contribute {
    padding-bottom: 4.5rem;
  }

  .contribute-panel {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 1.75rem;
    padding: 2.25rem 1.5rem;
    border-left-width: 6px;
  }

  .contribute-panel h2 {
    max-width: 10ch;
    font-size: clamp(2.25rem, 11vw, 2.85rem);
  }

  .contribute-panel > a {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
