/* =========================================================
   GOLDEN COUNTRY PLATTER — design tokens
   A retro American-diner system: cream canvas, diner teal /
   red / gold accents, chunky slab-serif signage type, script
   accent font, checkerboard dividers, starburst badges, chrome
   double-borders. Deliberately NOT the paper, bento, grid,
   dark-glass, or farmhouse systems used elsewhere.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Pacifico&family=Poppins:wght@400;500;600;700;800&display=swap');

:root{
  --cream: #fff8e7;
  --cream-dim: #fbeecb;
  --teal: #1f8a8c;
  --teal-deep: #146668;
  --red: #e63946;
  --red-deep: #c22836;
  --gold: #f2b705;
  --gold-deep: #c99404;
  --charcoal: #2b2b2b;
  --ink-soft: #5a4f3e;
  --chrome: #d8d3c4;
  --line: rgba(43,43,43,0.14);

  --font-display: "Alfa Slab One", "Arial Black", sans-serif;
  --font-script: "Pacifico", cursive;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1200px;
  --edge: clamp(20px, 5vw, 64px);
  --r-lg: 24px;
  --r-md: 16px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, svg{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  line-height: 1.12;
  color: var(--charcoal);
}
p{ margin: 0 0 1em; }
::selection{ background: var(--gold); color: var(--charcoal); }
:focus-visible{ outline: 3px solid var(--teal); outline-offset: 3px; }

.wrap{ max-width: var(--max-w); margin: 0 auto; padding-left: var(--edge); padding-right: var(--edge); }

.script{ font-family: var(--font-script); font-weight: 400; }

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--red); color: #fff;
  padding: 12px 18px; z-index: 1000; font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus{ left: 0; top: 0; }

/* checkerboard accent strip */
.checker-strip{
  height: 12px;
  background-image: repeating-linear-gradient(90deg, var(--charcoal) 0 12px, var(--cream) 12px 24px);
  background-size: 24px 12px;
}

/* starburst badge, used for "est." / "today's special" callouts */
.starburst{
  position: relative; width: 96px; height: 96px; border-radius: 50%;
  background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-size: 0.72rem; line-height: 1.25; flex: none;
  transform: rotate(-8deg);
}
.starburst::before{
  content: ""; position: absolute; inset: -10px; z-index: -1;
  background: var(--red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* =========================================================
   NAV
   ========================================================= */
.site-header{ position: sticky; top: 0; z-index: 100; background: var(--cream); border-bottom: 3px solid var(--charcoal); }
.nav{ max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 14px var(--edge); }
.brand{ display: flex; align-items: center; gap: 12px; font-family: var(--font-script); font-size: 1.6rem; color: var(--teal-deep); }
.brand .mark{ width: 44px; height: 44px; flex: none; }
.brand em{ font-style: normal; color: var(--red); }

.nav-links{ display: flex; align-items: center; gap: 0.3rem; list-style: none; margin: 0; padding: 0; font-size: 0.9rem; font-weight: 600; }
.nav-links a{ position: relative; padding: 9px 16px; border-radius: 999px; color: var(--charcoal); transition: background 0.2s ease, color 0.2s ease; }
.nav-links a:hover{ background: rgba(31,138,140,0.1); color: var(--teal-deep); }
.nav-links a[aria-current="page"]{ background: var(--teal); color: #fff; }

.has-drop{ position: relative; }
.dropdown{
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-6px);
  background: var(--charcoal); color: var(--cream); border-radius: var(--r-md);
  min-width: 190px; padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown{ opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.dropdown a{ display: block; padding: 10px 14px; font-size: 0.86rem; border-radius: 8px; color: rgba(255,248,231,0.8); font-weight: 600; }
.dropdown a:hover{ background: rgba(255,248,231,0.1); color: var(--gold); }

.nav-cta{ background: var(--red); color: #fff; padding: 11px 22px; border-radius: 999px; font-size: 0.84rem; font-weight: 700; white-space: nowrap; box-shadow: 0 3px 0 var(--red-deep); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.nav-cta:hover{ transform: translateY(3px); box-shadow: 0 0 0 var(--red-deep); }

.nav-toggle{ display: none; background: var(--teal); color: #fff; border: none; width: 42px; height: 42px; border-radius: 50%; align-items: center; justify-content: center; cursor: pointer; }

@media (max-width: 920px){
  .nav-links{
    position: fixed; inset: 0 0 0 auto; height: 100vh; width: min(80vw, 340px);
    background: var(--charcoal); flex-direction: column; align-items: stretch; padding: 100px 26px 40px; gap: 0.5rem;
    transform: translateX(100%); transition: transform 0.3s ease;
  }
  .nav-links.is-open{ transform: translateX(0); }
  .nav-links a{ color: rgba(255,248,231,0.85); font-size: 1.02rem; }
  .nav-links a:hover{ background: rgba(255,248,231,0.1); color: var(--gold); }
  .nav-links a[aria-current="page"]{ background: var(--red); color: #fff; }
  .dropdown{ position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none;
    box-shadow: none; background: transparent; padding: 4px 0 0 10px; display: none; }
  .has-drop.is-open .dropdown{ display: block; }
  .nav-toggle{ display: flex; }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn{ display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.94rem; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease; }
.btn-primary{ background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-deep); }
.btn-primary:hover{ transform: translateY(3px); box-shadow: 0 1px 0 var(--red-deep); }
.btn-outline{ border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover{ background: var(--charcoal); color: var(--cream); }
.btn-teal{ background: var(--teal); color: #fff; box-shadow: 0 4px 0 var(--teal-deep); }
.btn-teal:hover{ transform: translateY(3px); box-shadow: 0 1px 0 var(--teal-deep); }

/* =========================================================
   HERO
   ========================================================= */
.hero{ max-width: var(--max-w); margin: 0 auto; padding: 62px var(--edge) 60px; }
.hero__top{ display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; align-items: center; }
.hero__eyebrow{ display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero__eyebrow span{ font-size: 0.86rem; font-weight: 700; color: var(--teal-deep); background: rgba(31,138,140,0.1); padding: 8px 18px; border-radius: 999px; }
.hero h1{ font-size: clamp(2.5rem, 5.6vw, 4.2rem); }
.hero h1 .accent{ color: var(--red); }
.hero p.lede{ font-size: 1.12rem; max-width: 46ch; margin: 22px 0 30px; color: var(--ink-soft); }
.hero__actions{ display: flex; gap: 14px; flex-wrap: wrap; }

.menu-board{
  position: relative; background: var(--charcoal); color: var(--cream); border-radius: var(--r-lg);
  padding: 30px 26px; box-shadow: 0 24px 50px rgba(0,0,0,0.25); border: 4px solid var(--gold);
}
.menu-board .label{ font-family: var(--font-script); font-size: 1.4rem; color: var(--gold); margin-bottom: 4px; display: block; }
.menu-board h3{ font-size: 1.15rem; color: var(--cream); margin-bottom: 18px; }
.plate-list{ list-style: none; margin: 0; padding: 0; }
.plate-list li{ display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed rgba(255,248,231,0.25); font-size: 0.92rem; font-weight: 600; }
.plate-list li:last-child{ border-bottom: none; }
.plate-list .tag{ font-size: 0.66rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; background: rgba(255,248,231,0.14); color: var(--gold); }

@media (max-width: 880px){ .hero__top{ grid-template-columns: 1fr; } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section{ max-width: var(--max-w); margin: 0 auto; padding: 66px var(--edge) 76px; }
.section-tinted{ background: var(--cream-dim); }
.section-head{ display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2{ font-size: clamp(1.9rem, 3.6vw, 2.6rem); max-width: 16ch; }
.section-head p{ max-width: 40ch; margin: 0; }

/* =========================================================
   STAT ROW
   ========================================================= */
.stat-row{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: var(--max-w); margin: 0 auto; padding: 50px var(--edge); }
.stat-row .stat{ text-align: left; border-left: 3px solid var(--gold); padding-left: 16px; }
.stat-row .stat b{ display: block; font-family: var(--font-display); font-size: 2.1rem; color: #fff; }
.stat-row .stat span{ font-size: 0.82rem; color: rgba(255,248,231,0.75); }
.stat-row-dark{ background: var(--teal-deep); }
@media (max-width: 700px){ .stat-row{ grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   RECIPE / FEATURE CARDS
   ========================================================= */
.card-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 26px; }

.recipe-card{ background: #fff; border-radius: var(--r-lg); padding: 22px; box-shadow: 0 3px 0 var(--chrome), 0 14px 30px rgba(43,43,43,0.1); transition: transform 0.2s ease; }
.recipe-card:hover{ transform: translateY(-6px); }
.recipe-card .tile{ aspect-ratio: 16/11; border-radius: var(--r-md); margin-bottom: 18px; display: flex; align-items: flex-start; padding: 14px; }
.recipe-card .tile svg{ width: 44%; }
.recipe-card .kind{ font-size: 0.68rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; background: rgba(255,255,255,0.9); padding: 5px 12px; border-radius: 999px; }
.recipe-card h3{ font-size: 1.24rem; margin-bottom: 8px; color: var(--charcoal); }
.recipe-card p{ font-size: 0.92rem; margin-bottom: 16px; }
.recipe-card .meta{ display: flex; gap: 14px; font-size: 0.76rem; font-weight: 700; color: var(--red); padding-top: 14px; border-top: 1px dashed var(--line); }

.tile-teal{ background: linear-gradient(135deg, #7fc4c4, var(--teal)); }
.tile-red{ background: linear-gradient(135deg, #f28b93, var(--red)); }
.tile-gold{ background: linear-gradient(135deg, #f7d878, var(--gold)); }
.tile-charcoal{ background: linear-gradient(135deg, #5a5a5a, var(--charcoal)); }

/* =========================================================
   FEATURE SPLIT ROWS
   ========================================================= */
.feature-row{ display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 54px; align-items: center; padding: 34px 0; }
.feature-row.reverse{ grid-template-columns: 1.1fr 0.9fr; }
.feature-row.reverse .feature-media{ order: 2; }
@media (max-width: 820px){ .feature-row, .feature-row.reverse{ grid-template-columns: 1fr; } .feature-row.reverse .feature-media{ order: 0; } }
.feature-media{ aspect-ratio: 4/3; border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; border: 3px solid var(--charcoal); }
.feature-media svg{ width: 55%; }
.feature-num{ display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--red); background: rgba(230,57,70,0.1); padding: 6px 16px; border-radius: 999px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.03em; }
.feature-body h3{ font-size: 1.7rem; margin-bottom: 14px; }

/* =========================================================
   QUOTE
   ========================================================= */
.quote-block{ max-width: 780px; margin: 0 auto; text-align: center; }
.quote-block blockquote{ font-family: var(--font-script); font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--teal-deep); margin: 0 0 18px; }
.quote-block cite{ font-style: normal; font-size: 0.85rem; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }

/* =========================================================
   CTA STRIP
   ========================================================= */
.cta-strip{ background: var(--teal-deep); color: var(--cream); padding: 60px var(--edge); }
.cta-strip .wrap{ display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-strip h2{ font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 18ch; color: var(--cream); }
.cta-strip form{ display: flex; gap: 10px; flex-wrap: wrap; }
.cta-strip input[type=email]{ padding: 13px 20px; border-radius: 999px; border: 1px solid rgba(255,248,231,0.4); background: rgba(255,248,231,0.1); color: var(--cream); min-width: 240px; font-size: 0.94rem; font-family: var(--font-body); }
.cta-strip input[type=email]::placeholder{ color: rgba(255,248,231,0.6); }

/* =========================================================
   PAGE HEADER
   ========================================================= */
.page-head{ max-width: var(--max-w); margin: 0 auto; padding: 56px var(--edge) 44px; }
.page-head .crumb{ font-size: 0.84rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 18px; display: flex; gap: 8px; }
.page-head .crumb a:hover{ color: var(--red); }
.page-head h1{ font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 18ch; }
.page-head p.lede{ max-width: 60ch; font-size: 1.06rem; margin-top: 16px; }

/* =========================================================
   PROSE
   ========================================================= */
.prose{ max-width: 760px; }
.prose h2{ font-size: 1.3rem; color: var(--teal-deep); margin: 1.9em 0 0.6em; }
.prose h2:first-child{ margin-top: 0; }
.prose ul, .prose ol{ padding-left: 1.2em; }
.prose li{ margin-bottom: 0.5em; }
.prose a{ color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.prose strong{ color: var(--charcoal); }
.updated-tag{ display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--teal-deep); background: rgba(31,138,140,0.1); padding: 7px 18px; border-radius: 999px; margin-bottom: 28px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
@media (max-width: 820px){ .contact-grid{ grid-template-columns: 1fr; } }
.info-list{ list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.info-list li{ display: flex; gap: 14px; align-items: flex-start; }
.info-list .ic{ width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.info-list b{ display: block; color: var(--charcoal); font-size: 0.95rem; }
.info-list span{ font-size: 0.9rem; }

.form-card{ background: #fff; border-radius: var(--r-lg); padding: 30px; box-shadow: 0 3px 0 var(--chrome), 0 18px 40px rgba(43,43,43,0.1); }
.form-field{ margin-bottom: 18px; }
.form-field label{ display: block; font-size: 0.84rem; font-weight: 700; margin-bottom: 8px; color: var(--charcoal); }
.form-field input, .form-field textarea, .form-field select{ width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); font-family: var(--font-body); font-size: 0.95rem; color: var(--charcoal); }
.form-field textarea{ min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ border-color: var(--teal); }

/* =========================================================
   RECIPE DETAIL
   ========================================================= */
.recipe-hero{ max-width: var(--max-w); margin: 0 auto; padding: 56px var(--edge) 0; }
.recipe-tags{ display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.recipe-tags span{ font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; background: rgba(31,138,140,0.1); color: var(--teal-deep); }
.recipe-hero h1{ font-size: clamp(2rem, 4.6vw, 3rem); max-width: 20ch; }
.recipe-hero .lede{ max-width: 60ch; margin: 16px 0 30px; font-size: 1.05rem; }

.recipe-stats{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
.recipe-stats .stat-item{ flex: 1 1 140px; padding: 20px 22px; border-radius: var(--r-md); background: var(--charcoal); }
.recipe-stats .stat-item b{ display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--gold); }
.recipe-stats .stat-item span{ font-size: 0.76rem; color: rgba(255,248,231,0.75); font-weight: 600; }

.recipe-body{ max-width: var(--max-w); margin: 0 auto; padding: 50px var(--edge) 90px; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
@media (max-width: 880px){ .recipe-body{ grid-template-columns: 1fr; } }

.ingredients h2, .method h2{ font-size: 1.4rem; color: var(--teal-deep); margin-bottom: 20px; }
.ingredients ul{ list-style: none; margin: 0; padding: 0; }
.ingredients li{ display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.ingredients li::before{ content: ""; width: 14px; height: 14px; border-radius: 4px; border: 2px solid var(--red); flex: none; margin-top: 3px; }

.method ol{ list-style: none; counter-reset: step; margin: 0; padding: 0; }
.method li{ counter-increment: step; position: relative; padding: 4px 0 30px 48px; font-size: 0.98rem; }
.method li::before{ content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 400; font-size: 0.95rem; }
.method li::after{ content: ""; position: absolute; left: 16px; top: 36px; bottom: 0; width: 2px; background: var(--line); }
.method li:last-child::after{ display: none; }
.method li strong{ display: block; color: var(--charcoal); margin-bottom: 4px; font-weight: 700; }

.chef-note{ margin-top: 30px; padding: 20px 22px; background: var(--cream-dim); border-radius: var(--r-md); border-left: 4px solid var(--teal); font-size: 0.92rem; }

/* =========================================================
   404
   ========================================================= */
.empty-state{ text-align: center; padding: 100px var(--edge); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ background: var(--charcoal); color: var(--cream); padding: 64px var(--edge) 30px; }
.footer-grid{ max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,248,231,0.14); }
@media (max-width: 820px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
.footer-grid h4{ font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 16px; }
.footer-grid ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-grid a{ font-size: 0.9rem; color: rgba(255,248,231,0.75); }
.footer-grid a:hover{ color: var(--cream); }
.footer-brand p{ color: rgba(255,248,231,0.75); font-size: 0.92rem; max-width: 32ch; }
.footer-bottom{ max-width: var(--max-w); margin: 0 auto; padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: rgba(255,248,231,0.45); }

/* =========================================================
   HIDDEN INVITATION PAGE — used only by /midnight-counter/
   (a full page, not part of main navigation)
   ========================================================= */
.invite-hero{ max-width: var(--max-w); margin: 0 auto; padding: 84px var(--edge) 74px; text-align: center; background: var(--charcoal); border-radius: var(--r-lg); color: var(--cream); }
.invite-hero__inner{ max-width: 660px; margin: 0 auto; }
.invite-eyebrow{ display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; font-weight: 700; color: var(--gold); border: 2px solid var(--gold); padding: 8px 18px; margin-bottom: 26px; border-radius: 999px; }
.invite-hero h1{ font-size: clamp(2.4rem, 6vw, 4rem); color: var(--cream); }
.invite-hero h1 .accent{ color: var(--red); }
.invite-hero .lede{ color: rgba(255,248,231,0.8); max-width: 48ch; margin: 22px auto 32px; font-size: 1.08rem; }

.detail-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 820px){ .detail-grid{ grid-template-columns: repeat(2, 1fr); } }
.detail-card{ background: #fff; border-radius: var(--r-md); padding: 22px 20px; text-align: left; box-shadow: 0 3px 0 var(--chrome); }
.detail-card .lbl{ font-size: 0.7rem; color: var(--red); text-transform: uppercase; letter-spacing: 0.04em; display: block; margin-bottom: 10px; font-weight: 800; }
.detail-card b{ display: block; font-family: var(--font-display); color: var(--charcoal); font-size: 1.15rem; }
.detail-card span.sub{ font-size: 0.85rem; color: var(--ink-soft); }

.invite-note{ text-align: center; font-size: 0.86rem; color: var(--ink-soft); max-width: 56ch; margin: 34px auto 0; padding: 0 var(--edge) 20px; line-height: 1.7; }
.invite-note a{ color: var(--red-deep); text-decoration: underline; text-underline-offset: 3px; }
