:root {
  color-scheme: light;
  --bg: #f7f0e1;
  --bg-strong: #efe4c7;
  --surface: rgba(255, 249, 240, 0.9);
  --surface-strong: rgba(255, 253, 249, 0.96);
  --text: #2d231a;
  --muted: #655748;
  --accent: #c36a2d;
  --accent-dark: #7a3110;
  --accent-soft: #f1cfb4;
  --sage: #5d7652;
  --sage-soft: #d8e4d1;
  --plum: #7d5058;
  --border: rgba(45, 35, 26, 0.1);
  --border-strong: rgba(45, 35, 26, 0.16);
  --shadow: 0 22px 70px rgba(92, 58, 26, 0.14);
  --shadow-soft: 0 12px 30px rgba(68, 46, 18, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --page-width: min(1140px, calc(100% - 32px));
  --display-font: "Baskerville", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body-font: "Gill Sans", "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(195, 106, 45, 0.22), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(93, 118, 82, 0.18), transparent 20%),
    radial-gradient(circle at 48% 72%, rgba(125, 80, 88, 0.08), transparent 24%),
    linear-gradient(180deg, #fffaf2 0%, var(--bg) 52%, var(--bg-strong) 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(122, 49, 16, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 118, 82, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 82%);
}

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

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a,
.button,
.card,
.recipe-card,
.article-card,
.sidebar-card,
.footer-block,
.stats-card,
.hero-panel,
.faq details {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

p,
ul,
ol {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.2rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  font-family: var(--display-font);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.8rem, 6.6vw, 5rem);
  max-width: 11ch;
}

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

h3 {
  font-size: clamp(1.3rem, 2.3vw, 1.65rem);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent-dark);
  color: #fff;
  z-index: 20;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  width: var(--page-width);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(250, 244, 235, 0.74);
  border-bottom: 1px solid rgba(43, 36, 29, 0.08);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 16px 30px rgba(122, 49, 16, 0.22);
}

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

.brand-copy strong {
  font-size: 1rem;
}

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

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(185, 92, 46, 0.08);
  border-color: rgba(122, 49, 16, 0.12);
}

.page-main {
  padding: 34px 0 90px;
}

.hero {
  display: grid;
  gap: 26px;
  padding: 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.94), transparent 42%),
    linear-gradient(140deg, rgba(255, 247, 236, 0.94), rgba(245, 230, 206, 0.8) 58%, rgba(216, 228, 209, 0.52) 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
  gap: 26px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 290px;
  height: 290px;
  right: -80px;
  top: -95px;
  background: radial-gradient(circle, rgba(195, 106, 45, 0.2), transparent 70%);
}

.hero::after {
  width: 220px;
  height: 220px;
  left: -60px;
  bottom: -90px;
  background: radial-gradient(circle, rgba(93, 118, 82, 0.18), transparent 72%);
}

.eyebrow,
.kicker {
  display: inline-block;
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.chip-list,
.meta-chips,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.chip,
.pill,
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.9);
  border: 1px solid rgba(122, 49, 16, 0.1);
  color: #31412e;
  font-size: 0.92rem;
  box-shadow: 0 6px 16px rgba(88, 54, 25, 0.05);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 14px 28px rgba(122, 49, 16, 0.18);
}

.button-secondary {
  border: 1px solid rgba(127, 54, 19, 0.2);
  background: rgba(255, 255, 255, 0.68);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #64270a;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.9);
}

.hero-panel,
.card,
.callout,
.stats-card,
.list-card,
.note-card,
.cta-banner,
.article-card,
.recipe-card,
.sidebar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(243, 215, 191, 0.62), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #fff8ef 100%);
  transform: rotate(1.2deg);
}

.hero-panel img,
.article-figure img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(43, 36, 29, 0.08);
  object-fit: cover;
  object-position: center 42%;
}

.hero-panel img {
  height: clamp(320px, 34vw, 500px);
  object-position: 58% 28%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.stats-card {
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 246, 234, 0.84));
}

.stats-card strong {
  display: block;
  font-family: var(--display-font);
  font-size: 2rem;
}

.stats-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  margin-top: 30px;
  padding: 32px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(255, 248, 238, 0.6));
  border: 1px solid rgba(43, 36, 29, 0.07);
  position: relative;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--sage));
  opacity: 0.6;
}

.section:nth-of-type(odd) {
  background:
    linear-gradient(180deg, rgba(255, 251, 245, 0.8), rgba(245, 239, 229, 0.58));
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: 60ch;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card,
.recipe-card,
.article-card,
.callout,
.note-card,
.list-card,
.sidebar-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.card p,
.recipe-card p,
.article-card p,
.callout p,
.note-card p,
.list-card p,
.sidebar-card p {
  color: var(--muted);
}

.recipe-card,
.article-card {
  display: grid;
  gap: 12px;
}

.card::before,
.recipe-card::before,
.article-card::before,
.sidebar-card::before,
.footer-block::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(195, 106, 45, 0.2) 58%, transparent);
  opacity: 0.85;
}

.recipe-card h3,
.article-card h3,
.card h3 {
  margin-bottom: 0;
}

.card:hover,
.recipe-card:hover,
.article-card:hover,
.sidebar-card:hover,
.footer-block:hover,
.stats-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px rgba(88, 54, 25, 0.1);
}

.recipe-card:nth-child(3n + 1),
.article-card:nth-child(3n + 1) {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(249, 239, 225, 0.9));
}

.recipe-card:nth-child(3n + 2),
.article-card:nth-child(3n + 2) {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(236, 244, 233, 0.86));
}

.recipe-card:nth-child(3n),
.article-card:nth-child(3n) {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(247, 235, 231, 0.88));
}

.eyebrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sage);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  width: fit-content;
}

.eyebrow-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--sage));
  box-shadow: 0 0 0 4px rgba(195, 106, 45, 0.08);
}

.breadcrumbs {
  margin-bottom: 18px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.94rem;
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 8px;
}

.breadcrumbs li:last-child::after {
  content: "";
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.72fr);
  gap: 22px;
}

.article-main,
.article-sidebar {
  display: grid;
  gap: 20px;
}

.article-box {
  padding: 30px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 248, 239, 0.72));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.article-box::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 120px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
}

.article-intro {
  font-size: 1.08rem;
  color: var(--muted);
}

.article-figure {
  margin: 0 0 24px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 250, 244, 0.78);
}

.article-figure img {
  height: clamp(240px, 30vw, 410px);
}

.article-figure figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.meta-box {
  padding: 16px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(243, 215, 191, 0.22), rgba(255, 248, 238, 0.74));
  border: 1px solid rgba(122, 49, 16, 0.08);
}

.meta-box strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

.ingredient-list li,
.steps-list li,
.check-list li {
  margin-bottom: 0.8rem;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(43, 36, 29, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 20px;
  align-items: center;
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(111, 139, 104, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 245, 232, 0.96), rgba(237, 245, 233, 0.88)),
    var(--surface-strong);
}

.note-card {
  background: rgba(111, 139, 104, 0.08);
}

.site-footer {
  margin-top: 36px;
  padding: 34px 0 56px;
  border-top: 1px solid rgba(43, 36, 29, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1fr;
  gap: 18px;
}

.footer-block {
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.82), rgba(249, 241, 227, 0.66));
  border: 1px solid rgba(43, 36, 29, 0.07);
  position: relative;
  overflow: hidden;
}

.footer-block h2 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

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

.footer-links li {
  margin-bottom: 0.65rem;
}

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

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

.centered-empty {
  display: grid;
  place-items: center;
  min-height: 58vh;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero,
  .section,
  .article-box,
  .card,
  .recipe-card,
  .article-card,
  .footer-block {
    animation: rise-in 520ms ease both;
  }

  .section:nth-of-type(2) {
    animation-delay: 60ms;
  }

  .section:nth-of-type(3) {
    animation-delay: 110ms;
  }

  .section:nth-of-type(4) {
    animation-delay: 160ms;
  }

  .section:nth-of-type(5) {
    animation-delay: 210ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1040px) {
  .hero-grid,
  .article-layout,
  .footer-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .header-shell,
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .page-main {
    padding-top: 22px;
  }

  h1 {
    max-width: 100%;
  }

  .hero {
    padding: 28px 24px;
  }

  .hero-panel {
    transform: none;
  }

  .hero-panel img {
    height: 300px;
    object-position: 56% 24%;
  }

  .article-figure img {
    height: 250px;
  }

  .hero,
  .section,
  .article-box,
  .card,
  .recipe-card,
  .article-card,
  .callout,
  .note-card,
  .list-card,
  .sidebar-card,
  .footer-block {
    padding: 22px;
  }

  .stats-grid,
  .meta-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .section::before {
    top: 18px;
    bottom: auto;
    width: 96px;
    height: 4px;
  }
}
