:root {
  --iron: #21140d;
  --char: #321b0f;
  --toast: #b86d24;
  --gold: #e3a533;
  --butter: #ffe2a2;
  --cream: #fff4de;
  --paper: #fffaf0;
  --chive: #5f7d2c;
  --green: #88a847;
  --ink: #2a170d;
  --muted: #715f4f;
  --line: rgba(75, 38, 17, 0.16);
  --shadow: 0 24px 70px rgba(58, 30, 12, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(227, 165, 51, 0.22), transparent 27rem),
    radial-gradient(circle at 92% 10%, rgba(95, 125, 44, 0.16), transparent 29rem),
    linear-gradient(180deg, var(--cream), #fff8e8 48%, #f7e3bc);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--iron);
  border-radius: 8px;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 244, 222, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
}

.brand span {
  color: var(--char);
  font-family: Rye, Georgia, serif;
  font-size: 1.45rem;
}

.brand small {
  color: var(--toast);
  font-weight: 900;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.nav a {
  color: var(--char);
  text-decoration: none;
}

.nav a:hover {
  color: var(--toast);
}

.hero {
  width: 100%;
  background: var(--iron);
}

.hero img {
  width: 100%;
  height: auto;
}

.hero-intro {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 50px) 0;
  text-align: center;
}

.hero-intro p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 1.16rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 950;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: linear-gradient(135deg, var(--toast), var(--gold));
  box-shadow: 0 18px 36px rgba(184, 109, 36, 0.24);
}

.button.secondary {
  color: var(--char);
  background: var(--butter);
  border: 1px solid rgba(75, 38, 17, 0.2);
}

main > section:not(.hero):not(.hero-intro) {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--toast);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--char);
  line-height: 1.05;
}

h1,
h2 {
  font-family: Rye, Georgia, serif;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.7rem, 6vw, 5.9rem);
}

h2 {
  font-size: clamp(2.25rem, 5vw, 4.9rem);
}

h3 {
  font-size: 1.35rem;
}

.welcome-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.welcome-section > p,
.section-top p {
  color: var(--muted);
  font-size: 1.12rem;
}

.section-top {
  max-width: 860px;
  margin-bottom: 30px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 250px;
  overflow: hidden;
  padding: 22px;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.category-card::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 226, 162, 0.1), rgba(33, 20, 13, 0.78)),
    url("../images/hashbrown-potatoes-hero.png");
  background-size: cover;
  background-position: center;
}

.category-card::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, transparent 18%, rgba(26, 12, 6, 0.92)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 12px);
}

.category-card span {
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1.15;
}

.category-card em {
  margin-top: 8px;
  color: rgba(255, 244, 222, 0.8);
  font-style: normal;
}

.skillet::before { background-position: center 60%; }
.diner::before { background-position: 15% 54%; }
.loaded::before { background-position: 42% 68%; }
.fryer::before { background-position: 72% 58%; }
.casserole::before { background-position: 55% 72%; }
.bowls::before { background-position: 82% 44%; }
.cheesy::before { background-position: 34% 64%; }
.global::before { background-position: 8% 36%; }

.lab-section,
.recipe-card,
.week-card,
.club-section,
.revenue-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 226, 162, 0.32), transparent 23rem),
    rgba(255, 250, 240, 0.82);
  box-shadow: var(--shadow);
}

.lab-section,
.revenue-section,
.club-section {
  padding: clamp(34px, 5vw, 62px) !important;
}

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

.lab-grid article {
  min-height: 215px;
  padding: 20px;
  border: 1px solid rgba(75, 38, 17, 0.13);
  border-radius: 8px;
  background: white;
}

.lab-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: white;
  background: var(--chive);
  border-radius: 50%;
  font-weight: 950;
}

.lab-grid p,
.recipe-card li,
.week-card p,
.revenue-grid p,
.club-section p {
  color: var(--muted);
}

.crisp-meter {
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(75, 38, 17, 0.13);
  border-radius: 8px;
  background: white;
}

.meter-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 850;
}

.meter-labels strong {
  color: var(--toast);
  font-family: Rye, Georgia, serif;
  font-weight: 400;
}

.meter-track {
  height: 18px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8e9c2, #e4a334 58%, #89501b);
}

.meter-track i {
  display: block;
  width: 82%;
  height: 100%;
  border-right: 5px solid var(--iron);
  background: rgba(255, 255, 255, 0.22);
}

.featured-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 18px;
  align-items: stretch;
}

.recipe-card,
.week-card {
  padding: clamp(26px, 4vw, 44px);
}

.recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 26px;
}

.recipe-meta span {
  padding: 8px 12px;
  color: var(--char);
  border: 1px solid rgba(75, 38, 17, 0.16);
  border-radius: 999px;
  background: white;
  font-size: 0.86rem;
  font-weight: 850;
}

.recipe-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.recipe-columns h3 {
  margin-bottom: 10px;
}

.week-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  background:
    linear-gradient(180deg, rgba(33, 20, 13, 0.18), rgba(33, 20, 13, 0.88)),
    radial-gradient(circle at 50% 18%, rgba(227, 165, 51, 0.48), transparent 11rem),
    linear-gradient(145deg, var(--char), var(--iron));
}

.week-card h2,
.week-card .eyebrow {
  color: var(--butter);
}

.week-card p {
  color: rgba(255, 244, 222, 0.78);
}

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

.revenue-grid article {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(75, 38, 17, 0.13);
  border-radius: 8px;
  background: white;
}

.club-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
  margin-bottom: 70px !important;
}

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

.newsletter-form label {
  display: grid;
  gap: 7px;
  color: var(--char);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.newsletter-form input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgba(75, 38, 17, 0.18);
  border-radius: 8px;
  background: white;
  font: inherit;
}

.newsletter-form button {
  grid-column: 1 / -1;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(320px, 1.2fr);
  gap: 24px;
  padding: 36px clamp(20px, 4vw, 56px);
  color: rgba(255, 244, 222, 0.78);
  background: var(--iron);
}

.site-footer strong {
  color: var(--butter);
  font-family: Rye, Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.site-footer p {
  margin: 6px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.site-footer a {
  color: rgba(255, 244, 222, 0.74);
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

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

  .nav {
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

@media (max-width: 820px) {
  .welcome-section,
  .featured-section,
  .recipe-columns,
  .club-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer nav {
    justify-content: flex-start;
  }
}

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

  .brand span {
    font-size: 1.12rem;
  }

  .category-grid,
  .lab-grid,
  .revenue-grid,
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .hero-intro,
  main > section:not(.hero):not(.hero-intro) {
    width: min(100% - 28px, 1240px);
  }

  .button {
    width: 100%;
  }

  .meter-labels {
    align-items: flex-start;
    flex-direction: column;
  }
}
