/* ============== Base / Reset ============== */
*:where(:not(svg,svg *)) { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }

:root{
  --bg:#ffffff; --text:#1f2937; --muted:#6b7280;
  --surface:#f3f4f6; --surface-2:#efede9;
  --accent:#d45527; /* warm orange like screenshots */
  --accent-2:#0f766e; /* teal notes */
  --stroke:#e5e7eb; --chip:#111827; --chip-text:#fff;
  --radius:16px; --shadow:0 8px 24px rgba(0,0,0,.08);
}

body{
  font:16px/1.6 system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif;
  color:var(--text);
  background:var(--bg);
}

.wrap{ width:min(1120px, 92%); margin-inline:auto; }
.center{ text-align:center; }
.muted{ color:var(--muted); }

/* ============== Header ============== */
.site-header{
  border-bottom:1px solid var(--stroke);
  background:#fff;
  position:sticky;
  top:0;
  z-index:10;
}
.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
}
.brand img{ height:28px; width:auto; }
.nav{ display:flex; gap:20px; }
.nav a{
  color:#374151;
  padding:8px 10px;
  border-radius:10px;
}
.nav a.active,
.nav a:hover{
  background:var(--surface);
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid transparent;
  cursor:pointer;
  font-weight:600;
}
.btn.small{ padding:9px 12px; font-size:.9rem; }
.btn.accent{ background:var(--accent); color:#fff; }
.btn.ghost{ background:transparent; border:1px solid var(--stroke); color:#111827; }
.link-arrow{ color:var(--accent); font-weight:600; }

/* ============== Hero (generic image + text layout) ============== */
.hero{ position:relative; }
.hero-image img{
  width:100%;
  height:320px;
  object-fit:cover;
}
.hero-card{ padding:36px 0; }
.hero-text h1{
  font-size:2.2rem;
  margin:0 0 6px;
}
.hero-text p{
  margin:0;
  color:var(--muted);
}

/* ============== Page Hero ============== */
.page-hero{
  background:var(--surface-2);
  padding:40px 0;
  border-bottom:1px solid var(--stroke);
}
.page-hero.small{ padding:28px 0; }

/* ============== Sections / Cards ============== */
.section{ padding:36px 0; }
.section.alt{ background:var(--surface); }
.section-title{
  font-size:1.8rem;
  margin:0 0 6px;
}
.section-sub{
  color:var(--muted);
  margin:0 0 24px;
}

.cards-3, .cards-4{
  display:grid;
  gap:22px;
}
.cards-3{ grid-template-columns: repeat(3, 1fr); }
.cards-4{ grid-template-columns: repeat(4, 1fr); }

.card{
  background:#fff;
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}
.card-media{
  position:relative;
  aspect-ratio: 16 / 11;
  background:#ddd;
}
.card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.card-body{ padding:16px; }
.card-body h3{
  margin:0 0 8px;
  font-size:1.05rem;
  line-height:1.35;
}
.card-text{
  color:var(--muted);
  margin:8px 0 12px;
}
.eyebrow{
  text-transform: none;
  letter-spacing:.3px;
  font-size:.78rem;
  color:#6b7280;
  margin:0 0 6px;
}

.recipe .chip{
  position:absolute;
  top:10px;
  left:10px;
  background:rgba(17,24,39,.9);
  color:#fff;
  font-size:.75rem;
  padding:6px 8px;
  border-radius:999px;
}
.meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  color:#4b5563;
  font-size:.9rem;
}
.meta svg{
  width:18px;
  height:18px;
  fill:#6b7280;
  margin-right:6px;
}

/* ============== CTA ============== */
.cta{
  background:#ebe8e3;
  text-align:center;
}
.cta h2{ margin:0 0 8px; }
.inline-form{
  display:flex;
  gap:10px;
  justify-content:center;
  margin:14px 0;
}
.inline-form input{
  padding:12px 14px;
  min-width:280px;
  border:1px solid var(--stroke);
  border-radius:999px;
}
.inline-form button{ white-space:nowrap; }

/* ============== Footer ============== */
.site-footer{
  border-top:1px solid var(--stroke);
  background:#fff;
}
.footer-grid{
  display:grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap:24px;
  padding:28px 0;
}
.brand-footer img{ height:24px; }
.site-footer h4{ margin:0 0 10px; }
.site-footer ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
}
.smallprint{
  border-top:1px solid var(--stroke);
  padding:12px 0 24px;
  color:#6b7280;
  display:flex;
  justify-content:space-between;
  gap:16px;
}
.site-footer.simple .smallprint{ border-top:none; }

/* ============== Search / Pills ============== */
.searchbar{ margin-top:14px; }
.searchbar input{
  width:100%;
  max-width:720px;
  padding:12px 14px;
  border:1px solid var(--stroke);
  border-radius:12px;
}
.pills{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:14px;
}
.pill{
  border:1px solid var(--stroke);
  background:#fff;
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
}
.pill.active{
  background:#111827;
  color:#fff;
}

/* ============== Live ============== */
.live-next{
  display:flex;
  gap:18px;
  align-items:center;
  background:#fff;
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  margin-bottom:20px;
}
.live-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  background:#fde7df;
  color:#e64f1a;
  border-radius:999px;
  font-weight:700;
}
.player{
  position:relative;
  aspect-ratio:16/9;
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  overflow:hidden;
}
.player img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.player-overlay{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:rgba(0,0,0,.05);
  text-align:center;
  color:#374151;
  gap:10px;
}
.player-overlay svg{
  width:46px;
  height:46px;
  fill:#374151;
}
.expect{ margin-top:22px; }
.expect ul{
  margin:8px 0 0 18px;
}

/* ============== Disclosure ============== */
.disclosure{
  background:#f9fafb;
  border:1px solid var(--stroke);
  padding:12px 14px;
  border-radius:12px;
  margin-bottom:14px;
}

/* ============== Responsive grids / hero tweaks ============== */
@media (max-width: 1000px){
  .cards-4{ grid-template-columns: repeat(2,1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 740px){
  .cards-3{ grid-template-columns: 1fr; }
  .cards-4{ grid-template-columns: 1fr; }
  .nav{ display:none; } /* keep header simple on very small screens */
  .inline-form{ flex-direction:column; align-items:center; }
  .hero-image img{ height:220px; }
}

/* Slightly relax hero-full height on phones */
@media (max-width: 768px){
  .hero-full {
    height: auto;
    min-height: 520px;
  }
}

/* ===== Mobile navigation ===== */

/* HIDE MENU TOGGLE BY DEFAULT (DESKTOP) */
.menu-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;

  /* stack the bars vertically */
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

/* SHOW ONLY ON MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: inline-flex;
  }
}


/* Sidebar container */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.mobile-nav__backdrop {
  flex: 1;
  background: rgba(15, 23, 42, 0.45);
}

.mobile-nav__panel {
  width: 80%;
  max-width: 320px;
  background: #ffffff;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav__close {
  border: 0;
  background: none;
  align-self: flex-end;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #111827;
}

.mobile-nav__brand img {
  width: 36px;
  height: 36px;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.mobile-nav__links a {
  padding: 8px 0;
  text-decoration: none;
  color: #111827;
  font-weight: 500;
}

.mobile-nav__links a:hover {
  color: #e64f1a;
}

.mobile-nav__cta {
  margin-top: 4px;
  width: 100%;
  text-align: center;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav.open .mobile-nav__panel {
  transform: translateX(0);
}

/* Simple scroll lock when menu open */
body.nav-open {
  overflow: hidden;
}

/* Mobile vs desktop visibility */
@media (max-width: 768px) {
  .nav {
    display: none;
  }
  .site-header .btn.small.accent {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
}

@media (min-width: 769px) {
  .mobile-nav {
    display: none;
  }
}

/* ============== Print Recipe Button ============== */
.bt-print-btn {
  background: var(--bt-accent, #f97316);
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease, transform 0.1s ease;
}

.bt-print-btn:hover {
  background: #ea580c;
}

.bt-print-btn:active {
  transform: scale(0.97);
}

/* Hide the button when printing */
@media print {
  .bt-print-btn {
    display: none !important;
  }
}
