:root {
  --bg: #fbf6ef;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #fffdf9;
  --surface-accent: #f5e7d0;
  --text: #1f271b;
  --muted: #5d6558;
  --line: rgba(31, 39, 27, 0.12);
  --brand: #b9572d;
  --brand-deep: #8f3d1a;
  --accent: #d7b257;
  --shadow: 0 24px 60px rgba(84, 54, 26, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(215, 178, 87, 0.24), transparent 32%),
    radial-gradient(circle at top right, rgba(185, 87, 45, 0.18), transparent 28%),
    linear-gradient(180deg, #fff7eb 0%, var(--bg) 38%, #fffdfa 100%);
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(251, 246, 239, 0.86);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  width: min(calc(100% - 32px), var(--content));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 6px rgba(185, 87, 45, 0.14);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-nav a,
.text-link {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover {
  color: var(--brand-deep);
}

.hero,
.section,
.content-card,
.article-body,
.recipe-body {
  animation: rise 520ms ease-out both;
}

.hero {
  padding: 72px 0 36px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.content-card,
.article-body,
.recipe-body {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.hero-copy {
  padding: 42px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--brand-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.hero-copy p {
  font-size: 1.06rem;
  max-width: 60ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: white;
}

.button-secondary {
  background: var(--surface-accent);
  color: var(--text);
}

.hero-panel {
  padding: 30px;
  display: grid;
  gap: 18px;
  align-content: center;
}

.mini-stat {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
}

.mini-stat strong {
  display: block;
  font-size: 1.9rem;
  font-family: "Fraunces", "Iowan Old Style", Georgia, serif;
  margin-bottom: 4px;
}

.section {
  padding: 24px 0 52px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.content-card {
  padding: 22px;
}

.card-media {
  margin: 16px 0 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff8ef;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.content-card h3 a {
  text-decoration: none;
}

.content-card p {
  margin-bottom: 18px;
}

.meta-row,
.crumbs,
.recipe-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill,
.tag,
.crumbs a,
.crumbs span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  text-decoration: none;
  font-size: 0.92rem;
}

.page-intro {
  padding: 60px 0 20px;
}

.article-layout,
.recipe-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
  padding-bottom: 48px;
}

.article-body,
.recipe-body {
  padding: 34px;
}

.recipe-hero-figure {
  margin: 24px 0 18px;
}

.recipe-hero-image {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 4px);
  border: 1px solid var(--line);
  background: #fff8ef;
  box-shadow: var(--shadow);
}

.recipe-hero-caption {
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--muted);
}

.sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.sidebar-card {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.sidebar-card h3 {
  margin-bottom: 12px;
}

.sidebar-card ul,
.recipe-list,
.article-list,
.plain-list {
  padding-left: 18px;
  margin: 0;
  color: var(--muted);
}

.recipe-meta {
  margin: 18px 0 26px;
}

.recipe-section {
  margin-top: 32px;
}

.recipe-section li,
.sidebar-card li,
.article-body li {
  margin-bottom: 10px;
}

.feature-band {
  padding: 26px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(185, 87, 45, 0.95), rgba(143, 61, 26, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent);
  color: white;
  box-shadow: var(--shadow);
}

.feature-band p,
.feature-band h2 {
  color: white;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .article-layout,
  .recipe-layout,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .hero-panel,
  .article-body,
  .recipe-body {
    padding: 26px;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    padding-top: 48px;
  }

  h1 {
    font-size: 2.4rem;
  }
}
