/* Mamadino's — warm kitchen-table look: cream paper, chili red, cocoa ink, sage */

@font-face {
  font-family: "Fredoka";
  src: url("/assets/fonts/fredoka.woff2?v=99d6c78e04") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito.woff2?v=ba344451ea") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --cream: #FFF7EC;
  --paper: #FBEBD5;
  --ink: #3B2418;
  --ink-soft: #5C4033;
  --chili: #B3261E;
  --chili-dark: #8E1C16;
  --tomato: #E4572E;
  --sage: #55663F;
  --sage-light: #DCE5CC;
  --mustard: #F1C35E;
  --shroom: #E9D3B8;
  --radius: 22px;
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; font-weight: 600; }

a { color: var(--chili); text-underline-offset: 3px; }
a:hover { color: var(--chili-dark); }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 10px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--cream); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 2px dashed rgba(59, 36, 24, .18);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-dino { width: 58px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: .02em; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: inline-block; padding: 10px 14px; border-radius: 999px;
  font-family: var(--display); font-weight: 500; font-size: 1.05rem;
  color: var(--ink); text-decoration: none;
}
.nav-list a:hover { background: var(--paper); color: var(--chili-dark); }
.nav-list .nav-cta { background: var(--chili); color: #fff; padding-inline: 20px; margin-left: 6px; }
.nav-list .nav-cta:hover { background: var(--chili-dark); color: #fff; }

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .brand-dino { width: 40px; }
  .brand-name { font-size: 1.2rem; }
  .nav-list li:not(:last-child) { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem;
  text-decoration: none; border: 3px solid var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-icon { width: 22px; height: 22px; flex: none; }
.btn-primary { background: var(--chili); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:hover { color: #fff; background: var(--chili-dark); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-ghost { background: var(--cream); color: var(--ink); }
.btn-ghost:hover { color: var(--ink); background: var(--mustard); }
.btn-lg { font-size: 1.3rem; padding: 14px 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 15% 20%, rgba(241, 195, 94, .35) 0 120px, transparent 121px),
    radial-gradient(circle at 92% 75%, rgba(228, 87, 46, .14) 0 160px, transparent 161px),
    var(--paper);
  padding: 40px 0 110px;
  overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; }
.hero-copy { order: -1; }
.eyebrow {
  display: inline-block; margin: 0 0 14px;
  font-family: var(--display); font-weight: 600; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase;
  background: var(--sage-light); color: var(--sage); padding: 6px 14px; border-radius: 999px;
  transform: rotate(-2deg);
}
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); font-weight: 700; letter-spacing: -.01em; }
.hl { color: var(--chili); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .22em; z-index: -1;
  background: var(--mustard); border-radius: 999px; transform: rotate(-1.5deg);
}
.hero h1 { position: relative; z-index: 0; }
.hero-lede { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 34ch; color: var(--ink-soft); margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-badge { position: relative; width: min(400px, 100%); justify-self: center; padding: 2% 4%; }
/* The clip has a white background; multiply drops the white so only the drawing shows on the hero. */
.badge-video { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.replay {
  position: absolute; left: 50%; bottom: 2px; translate: -50% 0; display: inline-flex; white-space: nowrap; align-items: center; gap: 6px;
  min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--cream); color: var(--ink); font: 600 .95rem/1 var(--display); cursor: pointer;
}
.replay svg { width: 18px; height: 18px; }
.replay:hover { background: var(--mustard); }
.doodle { position: absolute; width: 16%; color: var(--ink); }
.doodle-pepper { right: -2%; top: 8%; transform: rotate(18deg); }
.doodle-shroom { left: -8%; bottom: 4%; transform: rotate(-14deg); }
.doodle-garlic { right: -6%; bottom: -6%; width: 13%; transform: rotate(10deg); }

@media (prefers-reduced-motion: no-preference) {
  .doodle { animation: bob 4s ease-in-out infinite; }
  .doodle-shroom { animation-delay: -1.3s; }
  .doodle-garlic { animation-delay: -2.6s; }
  @keyframes bob { 50% { translate: 0 -10px; } }
}

.wave { position: absolute; left: 0; width: 100%; height: 60px; }
.wave-bottom { bottom: -1px; fill: var(--cream); }
.wave-top { top: -1px; fill: var(--cream); }

@media (max-width: 820px) {
  .hero { padding: 20px 0 90px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .hero-copy { order: 0; }
  .hero-badge { width: min(260px, 66vw); }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section-title { font-size: clamp(2rem, 4.5vw, 3rem); text-align: center; max-width: 22ch; margin-inline: auto; }
.section-lede { text-align: center; color: var(--ink-soft); margin: -6px auto 36px; max-width: 50ch; }
.hl-sage { color: var(--sage); }

.story { padding: 60px 0 40px; }
.note-card {
  position: relative; max-width: 680px; margin: 28px auto 0; padding: 36px 36px 28px;
  background: #fff; border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--mustard);
  transform: rotate(-1deg);
  font-size: 1.2rem;
}
.note-card::before {
  content: ""; position: absolute; top: -16px; left: 50%; width: 110px; height: 30px; translate: -50% 0; rotate: 3deg;
  background: rgba(220, 229, 204, .9); border: 2px solid rgba(85, 102, 63, .35);
}
.note-card p { margin: 0 0 1em; }
.signoff { font-family: var(--display); font-weight: 600; color: var(--chili); text-align: right; font-size: 1.3rem; }

.process { padding: 50px 0 120px; }
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  position: relative; padding: 46px 26px 26px; border-radius: var(--radius);
  background: var(--paper); border: 3px solid var(--ink);
}
.step:nth-child(2) { background: var(--sage-light); transform: translateY(18px); }
.step:nth-child(3) { background: var(--shroom); }
.step-num {
  position: absolute; top: -26px; left: 22px; width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 50%; background: var(--chili); color: #fff; border: 3px solid var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 1.6rem;
}
.step h3 { font-size: 1.5rem; }
.step p { margin: 0; }
@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; gap: 40px; max-width: 520px; margin-inline: auto; }
  .step:nth-child(2) { transform: none; }
}

/* Ingredients */
.inside { background: var(--chili); color: #fff; padding: 110px 0 100px; }
.inside .section-title { color: #fff; }
.inside .section-lede { color: #FFE9DF; }
.pot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; }
.pot-card {
  background: var(--cream); color: var(--ink); border: 3px solid var(--ink); border-radius: var(--radius);
  padding: 24px; box-shadow: 6px 6px 0 var(--ink);
  transition: transform .2s ease;
}
.pot-card:nth-child(odd) { transform: rotate(-1.5deg); }
.pot-card:nth-child(even) { transform: rotate(1.5deg) translateY(14px); }
@media (prefers-reduced-motion: no-preference) {
  .pot-card:hover { transform: rotate(0) scale(1.03); }
}
.card-icon { width: 64px; height: 64px; margin-bottom: 10px; color: var(--ink); }
.card-shroom { --icon-fill: #C98B5A; }
.card-aroma .card-icon { --icon-fill: #fff; }
.pot-card h3 { font-size: 1.45rem; color: var(--chili-dark); }
.pot-card ul { list-style: none; margin: 0; padding: 0; }
.pot-card li { padding: 7px 0 7px 26px; position: relative; border-top: 2px dotted rgba(59, 36, 24, .2); }
.pot-card li:first-child { border-top: 0; }
.pot-card li::before {
  content: ""; position: absolute; left: 4px; top: 50%; width: 11px; height: 11px; translate: 0 -50%;
  border-radius: 50%; background: var(--tomato); border: 2px solid var(--ink);
}
.card-meat  li::before { background: #C98B5A; }
.card-shroom li::before { background: var(--shroom); }
.card-aroma li::before { background: var(--sage-light); }
@media (max-width: 980px) { .pot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .pot-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .pot-card:nth-child(even) { transform: rotate(1deg); }
  .pot-card:nth-child(odd) { transform: rotate(-1deg); }
}

/* Quote band */
.simmer { background: var(--ink); color: var(--cream); padding: 70px 0; text-align: center; }
.simmer-quote {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.8rem); line-height: 1.25;
  max-width: 24ch; margin: 0 auto;
}
.simmer-quote em { font-style: normal; color: var(--mustard); }
.simmer-quote::before, .simmer-quote::after { font-size: 1.3em; color: var(--tomato); line-height: 0; }
.simmer-quote::before { content: "“"; margin-right: .05em; }
.simmer-quote::after { content: "”"; margin-left: .05em; }

/* Say hi */
.say-hi { padding: 90px 0 100px; }
.hi-card {
  position: relative; display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 36px;
  max-width: 900px; margin: 0 auto; padding: 44px;
  background: var(--paper); border: 3px solid var(--ink); border-radius: 32px; box-shadow: 10px 10px 0 var(--sage);
}
.hi-copy .section-title { text-align: left; margin-inline: 0; }
.hi-copy p { margin: 0 0 24px; max-width: 42ch; }
.bubble {
  position: absolute; top: -22px; left: 40px; padding: 10px 18px;
  background: #fff; border: 3px solid var(--ink); border-radius: 20px;
  font-family: var(--display); font-weight: 600; font-size: 1.15rem; transform: rotate(-4deg);
}
.bubble::after {
  content: ""; position: absolute; bottom: -12px; left: 46px; width: 18px; height: 18px;
  background: #fff; border-right: 3px solid var(--ink); border-bottom: 3px solid var(--ink); rotate: 45deg;
}
@media (max-width: 720px) {
  .hi-card { grid-template-columns: 1fr; text-align: center; padding: 48px 24px 32px; }
  .hi-dino { width: 200px; margin: 0 auto; }
  .hi-copy .section-title { text-align: center; margin-inline: auto; }
  .hi-copy p { margin-inline: auto; }
  .bubble { left: 50%; translate: -50% 0; }
}

/* Footer */
.site-footer { background: var(--paper); border-top: 2px dashed rgba(59, 36, 24, .25); padding: 36px 0; text-align: center; }
.footer-inner p { margin: 0 0 10px; }
.footer-inner a { display: inline-block; padding: 6px 4px; font-weight: 700; color: var(--chili-dark); }
.footer-brand { font-family: var(--display); font-weight: 700; font-size: 1.4rem; }
.footer-brand span { font-weight: 500; color: var(--ink-soft); font-size: 1.05rem; }
.footer-small { font-size: 1rem; color: var(--ink-soft); }

/* 404 */
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.lost img { width: 220px; margin: 0 auto 20px; }
.lost h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.lost p { margin: 0 auto 26px; max-width: 40ch; }

@media (max-width: 560px) {
  .note-card { padding: 30px 22px 22px; font-size: 1.125rem; }
}
.bubble { white-space: nowrap; }

/* ---------- Added from Instagram content ---------- */
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}


.mission {
  max-width: 34ch; margin: 0 auto 8px; text-align: center;
  font-family: var(--display); font-weight: 500; font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.35; color: var(--ink-soft);
}

.granny {
  position: relative; max-width: 620px; margin: 56px auto 0; padding: 28px 30px 24px 30px;
  background: var(--sage-light); border: 3px solid var(--ink); border-radius: var(--radius);
  transform: rotate(1.2deg);
}
.granny-heart { position: absolute; top: -26px; right: 26px; width: 52px; color: var(--ink); }
.granny h3 { font-size: 1.5rem; color: var(--sage); }
.granny blockquote { margin: 0; }
.granny blockquote p { margin: 0; font-size: 1.15rem; }
@media (prefers-reduced-motion: no-preference) {
  .granny-heart { animation: beat 2.4s ease-in-out infinite; }
  @keyframes beat { 0%, 60%, 100% { scale: 1; } 70% { scale: 1.15; } 80% { scale: 1; } 90% { scale: 1.1; } }
}

/* Order */
.hi-note { font-size: 1rem; color: var(--ink-soft); margin: 0; }

.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.hi-copy .hi-note { margin: 28px 0 0; }
.hi-note a { font-weight: 700; color: var(--chili-dark); }

/* Announcement bar (shown by an inline script in <head> until the end time) */
.announce { display: none; background: var(--ink); color: var(--cream); text-align: center; }
.show-announce .announce { display: block; }
.announce p { margin: 0; padding: 10px 16px; font-family: var(--display); font-weight: 500; font-size: 1rem; line-height: 1.35; }

.local-intro { max-width: 52ch; margin: 18px auto 0; text-align: center; font-size: 1.15rem; }
.footer-local { font-weight: 700; color: var(--sage); }
@media (max-width: 820px) { .replay { min-height: 34px; padding: 6px 12px; font-size: .85rem; bottom: 0; } }
