:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #fbf8f4;
  --surface-warm: #fff2eb;
  --ink: #1f1b17;
  --muted: #6b645d;
  --line: #e8dfd5;
  --line-strong: #dacdbf;
  --accent: #d44b2f;
  --accent-dark: #ab341b;
  --accent-soft: #fff0ea;
  --herb: #557a4f;
  --butter: #f0cf77;
  --shadow: 0 16px 40px rgba(31, 20, 12, 0.06);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Helvetica Neue", "Segoe UI", sans-serif;
  background: var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
li {
  font-size: 1rem;
  line-height: 1.72;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.96;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.03;
}

h3 {
  font-size: clamp(1.34rem, 2vw, 1.72rem);
  line-height: 1.15;
}

.page-shell {
  width: min(var(--content), calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 0 64px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(31, 20, 12, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.36rem;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08);
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.top-nav,
.footer-links,
.lang-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.header-cluster {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.top-nav a,
.footer-links a,
.lang-switcher a {
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.top-nav a:hover,
.footer-links a:hover,
.lang-switcher a:hover,
.card-link:hover,
.section-link:hover {
  color: var(--accent-dark);
}

.hero,
.panel,
.recipe-card,
.story-card,
.selector-card,
.notice-band,
.content-card,
.policy-block,
.home-post-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 410px);
  gap: 26px;
  margin-bottom: 32px;
  padding: clamp(28px, 4vw, 50px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), var(--butter), var(--herb));
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 18px;
}

.hero-selector {
  align-items: start;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lede {
  margin: 0;
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(212, 75, 47, 0.18);
}

.button-secondary {
  background: #ffffff;
  color: var(--accent-dark);
  border: 1px solid #efc4b9;
  box-shadow: none;
}

.section {
  margin-top: 34px;
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.selector-grid,
.recipe-grid,
.story-grid,
.facts-grid,
.category-grid,
.home-post-grid {
  display: grid;
  gap: 18px;
}

.selector-grid,
.story-grid,
.facts-grid,
.category-grid,
.home-post-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.selector-card,
.recipe-card,
.story-card,
.content-card,
.policy-block,
.home-post-card {
  padding: 24px;
}

.selector-label,
.recipe-kicker,
.meta-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #f0c6ba;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
}

.card-link,
.section-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--accent-dark);
  font-weight: 700;
}

.intro-panel,
.art-panel,
.aside-card {
  padding: 24px;
}

.panel {
  background: var(--surface);
}

.feature-card,
.category-card,
.editor-note {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-alt);
}

.feature-card {
  display: grid;
  gap: 14px;
  border-left: 4px solid var(--accent);
}

.category-card {
  background: linear-gradient(180deg, #ffffff, #fcfaf7);
}

.editor-note {
  background: var(--surface-warm);
}

.sidebar-stack {
  display: grid;
  gap: 16px;
}

.mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.mini-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-list a {
  display: block;
}

.mini-list strong,
.feature-card strong,
.category-card strong,
.home-post-card strong {
  display: block;
  margin-bottom: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
}

.mini-list span,
.feature-card span,
.category-card span,
.home-post-card span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.microcopy {
  color: var(--muted);
  font-size: 0.95rem;
}

.list-clean,
.tag-list,
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.list-clean li,
.contact-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.list-clean li:last-child,
.contact-list li:last-child {
  border-bottom: 0;
}

.notice-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 32px;
  padding: 28px 30px;
  background: #fff8f4;
  border-left: 5px solid var(--accent);
}

.home-post-card {
  gap: 12px;
  border-top: 4px solid var(--accent);
}

.home-post-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  margin-top: 40px;
  padding: 24px 4px 0;
  border-top: 2px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.hero-art {
  display: grid;
  gap: 16px;
}

.art-panel,
.recipe-image {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 2px);
  border: 1px solid var(--line);
  background: #f8f4ef;
}

.art-panel img,
.recipe-image img {
  width: 100%;
  height: auto;
}

.meta-row,
.info-list,
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #faf6f1;
  color: var(--muted);
  font-size: 0.92rem;
}

.recipe-layout {
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.content-stack {
  display: grid;
  gap: 18px;
}

.content-card h2,
.content-card h3,
.policy-block h2,
.policy-block h3,
.recipe-card h3,
.story-card h3,
.selector-card h3,
.home-post-card h3,
.category-card h3 {
  margin-bottom: 10px;
}

.content-card p,
.policy-block p,
.recipe-card p,
.story-card p,
.selector-card p,
.home-post-card p,
.category-card p {
  margin: 0;
  color: var(--muted);
}

.ingredients-list,
.step-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.ingredients-list li,
.step-list li {
  margin-bottom: 12px;
}

.facts-grid .content-card {
  min-height: 100%;
}

.policy-layout {
  display: grid;
  gap: 18px;
}

.table-list {
  display: grid;
  gap: 12px;
}

.table-list div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
}

.table-list strong {
  display: block;
  margin-bottom: 6px;
}

.prose p + p,
.prose ul + p,
.prose p + ul,
.prose p + ol,
.prose ol + p {
  margin-top: 14px;
}

.prose ul,
.prose ol {
  color: var(--muted);
}

@media (max-width: 960px) {
  .site-header,
  .site-footer,
  .hero,
  .notice-band,
  .recipe-layout,
  .selector-grid,
  .recipe-grid,
  .story-grid,
  .facts-grid,
  .category-grid,
  .home-post-grid {
    grid-template-columns: 1fr;
  }

  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-cluster {
    justify-items: start;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(var(--content), calc(100% - 20px));
    padding-top: 12px;
  }

  .site-header {
    position: static;
    border-radius: 24px;
  }

  .hero,
  .selector-card,
  .recipe-card,
  .story-card,
  .content-card,
  .policy-block,
  .notice-band,
  .home-post-card {
    border-radius: 24px;
  }
}
