:root {
  --ink: #24211d;
  --muted: #6b6258;
  --paper: #fffaf2;
  --panel: #ffffff;
  --line: #e9ded1;
  --tomato: #c9422d;
  --tomato-dark: #9e2f22;
  --herb: #35795b;
  --lemon: #f2bd35;
  --charcoal: #171513;
  --shadow: 0 24px 70px rgba(50, 37, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255, 250, 242, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 62px;
  height: auto;
  color: var(--tomato);
  flex: 0 0 auto;
}

.brand-mark text {
  fill: #fffaf2;
  font-family: Copperplate, "Copperplate Gothic Light", "Copperplate Gothic Bold", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.brand-name {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name span:first-child {
  font-size: 1.05rem;
  font-weight: 900;
}

.brand-name span:last-child {
  color: var(--tomato);
  font-size: 1.12rem;
  font-weight: 900;
}

.top-menu {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  color: var(--muted);
  font-family: Copperplate, "Copperplate Gothic Light", "Copperplate Gothic Bold", Georgia, serif;
  font-size: clamp(0.82rem, 1.05vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.menu-item {
  position: relative;
  padding-block: 12px;
}

.menu-item > a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.menu-item > a::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 20;
  display: grid;
  min-width: 190px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.submenu a {
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
}

.menu-item:hover .submenu,
.menu-item:focus-within .submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.top-menu a:hover,
.top-menu a:focus-visible {
  color: var(--tomato-dark);
}

.submenu a:hover,
.submenu a:focus-visible {
  background: #fff1e6;
}

.hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  padding: clamp(44px, 7vw, 92px) clamp(20px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(23, 21, 19, 0.74), rgba(23, 21, 19, 0.43) 42%, rgba(23, 21, 19, 0.08)),
    url("assets/hero-skillet-dinner.png") center / cover;
}

.hero-copy {
  width: min(650px, 100%);
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--tomato);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lemon);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.6vw, 5rem);
  line-height: 0.96;
  letter-spacing: 0;
  max-width: 11ch;
}

.hero h1 .hero-highlight {
  display: inline-block;
  color: #f2bd35;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.hero p:not(.eyebrow) {
  max-width: 570px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #fff;
  background: var(--tomato);
  border-color: var(--tomato);
}

.button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.intro,
.section,
.week,
.notes,
.footer {
  padding-inline: clamp(20px, 5vw, 64px);
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.intro article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 30px;
  background: var(--paper);
}

.intro strong {
  font-size: 1.08rem;
}

.intro span,
.section-heading p,
.recipe-card p,
.week p,
.notes p,
.footer {
  color: var(--muted);
}

.section {
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: clamp(58px, 8vw, 96px);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.recipe-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(50, 37, 25, 0.08);
}

.tag {
  width: fit-content;
  margin-bottom: 22px;
  padding: 6px 10px;
  color: var(--tomato-dark);
  background: #fff1e6;
  border: 1px solid #f2c9b5;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  line-height: 1.14;
}

.recipe-card dl {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
}

.recipe-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  text-align: right;
  font-weight: 900;
}

.week {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 88px);
  padding-bottom: clamp(56px, 8vw, 88px);
  color: #fff;
  background: var(--charcoal);
}

.plan-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plan-list li {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-weight: 800;
}

.plan-list span {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--charcoal);
  background: var(--lemon);
  border-radius: 50%;
  font-weight: 950;
}

.notes {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  padding-top: clamp(54px, 8vw, 88px);
  padding-bottom: clamp(54px, 8vw, 88px);
}

.notes p {
  max-width: 820px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--tomato-dark);
  font-weight: 800;
}

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

  .top-menu {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 18px;
  }

  .submenu {
    left: 0;
    transform: translate(0, 8px);
  }

  .menu-item:hover .submenu,
  .menu-item:focus-within .submenu {
    transform: translate(0, 0);
  }

  .hero {
    min-height: 620px;
    background:
      linear-gradient(180deg, rgba(23, 21, 19, 0.75), rgba(23, 21, 19, 0.34)),
      url("assets/hero-skillet-dinner.png") center / cover;
  }

  .intro,
  .recipe-grid,
  .week,
  .notes {
    grid-template-columns: 1fr;
  }

  .intro {
    padding-inline: 0;
  }

  .recipe-card {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .site-header {
    position: static;
  }

  .top-menu {
    font-size: 0.86rem;
  }

  .hero {
    min-height: 560px;
  }

  .button {
    width: 100%;
  }

  .recipe-card dl div {
    display: grid;
    gap: 4px;
  }

  dd {
    text-align: left;
  }
}
