:root {
  --bg: #f6efe3;
  --bg-soft: #fbf7f0;
  --card: rgba(255, 252, 247, 0.88);
  --card-strong: #fffdf8;
  --tint: #efe3d0;
  --line: rgba(91, 29, 29, 0.14);
  --line-strong: rgba(91, 29, 29, 0.26);
  --wine: #5b1d1d;
  --wine-dark: #341414;
  --ink: #18120d;
  --muted: #6d6256;
  --muted-soft: #8a7c6d;
  --saffron: #d49338;
  --olive: #5a6b31;
  --cream: #f7efe2;
  --shadow: 0 22px 60px rgba(50, 29, 22, 0.12);
  --shadow-soft: 0 12px 28px rgba(50, 29, 22, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1240px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 0% 0%, rgba(212, 147, 56, 0.18), transparent 28%),
    radial-gradient(circle at 100% 0%, rgba(90, 107, 49, 0.14), transparent 24%),
    linear-gradient(180deg, #fffaf4 0%, var(--bg) 40%, #f2e8d8 100%);
  line-height: 1.7;
}

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

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

p,
ul,
ol {
  margin: 0;
}

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

main {
  position: relative;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--wine);
}

.eyebrow::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--saffron), #edc985);
  box-shadow: 0 0 0 6px rgba(212, 147, 56, 0.12);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

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

h3 {
  font-size: 1.28rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(255, 249, 242, 0.78);
  border-bottom: 1px solid rgba(91, 29, 29, 0.08);
  transition: background 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 249, 242, 0.92);
  border-bottom-color: rgba(91, 29, 29, 0.12);
  box-shadow: 0 10px 30px rgba(50, 29, 22, 0.08);
}

.top-ribbon {
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
  color: rgba(255, 245, 235, 0.9);
  font-size: 0.8rem;
}

.top-ribbon__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}

.top-ribbon__inner a {
  color: #fff;
  font-weight: 700;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, #e3b977, transparent 35%),
    linear-gradient(135deg, #7d2a23, #47211d);
  color: #fff6eb;
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

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

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

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--card-strong);
  color: var(--wine);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 800;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav > a,
.nav-item > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 700;
  color: var(--ink);
}

.site-nav > a.is-active,
.nav-item > a.is-active {
  color: var(--wine);
}

.site-nav > a.is-active::after,
.nav-item > a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--saffron);
  border-radius: 999px;
}

.nav-item {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 320px;
  padding: 0.9rem;
  border-radius: 20px;
  background: rgba(255, 252, 247, 0.98);
  border: 1px solid rgba(91, 29, 29, 0.12);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
}

.nav-dropdown a:hover {
  background: rgba(212, 147, 56, 0.1);
}

.nav-dropdown small {
  display: block;
  color: var(--muted-soft);
  font-size: 0.72rem;
  text-align: right;
}

.hero {
  position: relative;
  padding: clamp(2rem, 4vw, 3rem) 0 2rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(91, 29, 29, 0.08), transparent 34%),
    radial-gradient(circle at 82% 10%, rgba(212, 147, 56, 0.15), transparent 22%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 1rem 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.crumb a:hover {
  color: var(--wine);
}

.crumb-separator {
  color: rgba(91, 29, 29, 0.35);
}

.hero-lead {
  margin-top: 1.15rem;
  max-width: 62ch;
  font-size: clamp(1.04rem, 1.5vw, 1.18rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.button--primary {
  background: linear-gradient(135deg, var(--wine) 0%, #7b2a23 100%);
  color: #fff8ef;
}

.button--secondary {
  background: rgba(255, 252, 247, 0.78);
  border-color: rgba(91, 29, 29, 0.12);
  color: var(--wine);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-stat {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.72);
  border: 1px solid rgba(91, 29, 29, 0.08);
  box-shadow: var(--shadow-soft);
}

.hero-stat strong {
  display: block;
  font-size: 1rem;
  color: var(--wine);
  overflow-wrap: anywhere;
}

.hero-stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: var(--muted-soft);
}

.hero-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(91, 29, 29, 0.12);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.media-credit {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.1rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.9), rgba(248, 240, 230, 0.98));
  font-size: 0.78rem;
  color: var(--muted);
}

.media-credit a {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.page-shell {
  padding-bottom: 4rem;
}

.section {
  padding: 1.4rem 0 2rem;
}

.section--tinted {
  margin: 1rem 0;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 249, 241, 0.94), rgba(239, 227, 208, 0.78));
  border: 1px solid rgba(91, 29, 29, 0.08);
}

.section--dark {
  margin: 1rem 0;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(212, 147, 56, 0.12), transparent 26%),
    linear-gradient(135deg, #2f1616 0%, #4b211e 45%, #221210 100%);
  color: rgba(255, 244, 232, 0.92);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr);
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.section-heading p {
  color: var(--muted);
}

.section-heading--dark .eyebrow,
.section-heading--dark p,
.section-heading--dark h2 {
  color: inherit;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid rgba(91, 29, 29, 0.1);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 147, 56, 0.44);
  box-shadow: var(--shadow);
}

.card h3 a:hover {
  color: var(--wine);
}

.card h3,
.prose-card h2,
.fact-panel h3,
.timeline-card h3,
.recipe-card h3 {
  text-wrap: balance;
}

.card p,
.card li {
  color: var(--muted);
}

.card-kicker {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.36rem 0.72rem;
  border-radius: 999px;
  background: rgba(212, 147, 56, 0.12);
  color: var(--wine);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(91, 29, 29, 0.06);
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 700;
}

.layout {
  display: grid;
  gap: 1rem;
}

.layout--sidebar {
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
  align-items: start;
}

.prose-card,
.fact-panel,
.search-shell {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.84);
  border: 1px solid rgba(91, 29, 29, 0.1);
  box-shadow: var(--shadow-soft);
}

.prose-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.prose-card p + p {
  margin-top: 0.1rem;
}

.fact-panel h3 {
  margin-bottom: 0.85rem;
}

.fact-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  color: var(--muted);
}

.fact-list strong {
  color: var(--ink);
}

.recipe-layout,
.menu-grid,
.timeline-grid {
  display: grid;
  gap: 1rem;
}

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

.recipe-card,
.timeline-card {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.86);
  border: 1px solid rgba(91, 29, 29, 0.1);
}

.recipe-card h3,
.timeline-card h3 {
  margin-bottom: 0.9rem;
}

.recipe-card ul,
.recipe-card ol,
.link-list {
  display: grid;
  gap: 0.65rem;
  color: var(--muted);
}

.timeline-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.timeline-card {
  position: relative;
  padding-top: 3.9rem;
}

.timeline-index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--saffron), #edc47d);
  color: var(--wine-dark);
  font-weight: 800;
}

.menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.7rem 1.8rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at left center, rgba(212, 147, 56, 0.16), transparent 24%),
    linear-gradient(135deg, rgba(255, 250, 243, 0.98), rgba(246, 236, 221, 0.98));
  border: 1px solid rgba(91, 29, 29, 0.1);
  box-shadow: var(--shadow-soft);
}

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

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.search-shell {
  display: grid;
  gap: 1.2rem;
}

.search-controls {
  display: grid;
  gap: 0.9rem;
}

.search-label {
  font-weight: 800;
  color: var(--wine);
}

.search-input {
  width: 100%;
  min-height: 60px;
  padding: 0 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(91, 29, 29, 0.14);
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.search-input:focus {
  outline: 3px solid rgba(212, 147, 56, 0.2);
  border-color: rgba(212, 147, 56, 0.65);
}

.search-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.filter-chip {
  border: 1px solid rgba(91, 29, 29, 0.12);
  background: rgba(255, 252, 247, 0.92);
  color: var(--wine);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

.filter-chip.is-active {
  background: linear-gradient(135deg, var(--wine), #7b2a23);
  color: #fff8ee;
  border-color: transparent;
}

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

.search-result {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.search-result__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.search-result__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(90, 107, 49, 0.12);
  color: var(--olive);
  font-size: 0.72rem;
  font-weight: 800;
}

.link-list li a:hover,
.fact-list li a:hover {
  color: var(--wine);
}

.site-footer {
  margin-top: 2rem;
  padding: 3rem 0 1.5rem;
  background:
    radial-gradient(circle at 15% 0%, rgba(212, 147, 56, 0.1), transparent 20%),
    linear-gradient(135deg, #271212 0%, #44211f 45%, #1d100f 100%);
  color: rgba(255, 244, 233, 0.88);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.footer-brand h2 {
  margin-top: 0.8rem;
  font-size: clamp(1.6rem, 2.3vw, 2.4rem);
}

.footer-brand p {
  margin-top: 0.9rem;
  color: rgba(255, 244, 233, 0.7);
}

.site-footer h3 {
  font-size: 1.02rem;
  margin-bottom: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 244, 233, 0.8);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 244, 233, 0.12);
  color: rgba(255, 244, 233, 0.6);
  font-size: 0.84rem;
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-heading,
  .layout--sidebar,
  .footer-grid,
  .cta-block,
  .recipe-layout {
    grid-template-columns: 1fr;
  }

  .cta-block {
    align-items: flex-start;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 252, 247, 0.98);
    border: 1px solid rgba(91, 29, 29, 0.12);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item > a,
  .site-nav > a {
    min-height: 44px;
  }

  .nav-dropdown {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.35rem 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-dropdown a {
    padding-left: 0;
    padding-right: 0;
  }

  .nav-dropdown small {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .top-ribbon__inner {
    min-height: 48px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    padding: 0.5rem 0;
  }

  .nav-shell {
    padding: 0.8rem 0;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .hero {
    padding-top: 1.2rem;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .section--tinted,
  .section--dark {
    padding: 1.3rem;
  }

  .hero-stat {
    padding: 0.9rem 1rem;
  }

  .search-input {
    min-height: 54px;
  }
}
