/* ===========================================================
   NOVELLA - Fire. Ferments. Veg.
   Brand palette: cream + ink black + acid green + tomato red
   =========================================================== */

:root {
  --cream:    #F2EDE3;
  --cream-2:  #F7F4EC;
  --ink:      #14110E;
  --acid:     #C4F000;
  --tomato:   #E62910;
  --muted:    #4A4238;
  --muted-2:  #A79E8E;
  --line:     #14110E;
  --line-2:   #3A342C;
  --hair:     #C9C0AE;
  --hair-2:   #6B6153;
  --ink-soft: #E8E2D6;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Archivo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }

/* Default link hover = acid-green highlighter sweep */
a:hover {
  color: var(--ink);
  background: var(--acid);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

img { max-width: 100%; }
input, button { font-family: inherit; }
::selection { background: var(--acid); color: var(--ink); }

/* overflow-x: clip (not hidden) prevents sideways scroll without breaking the sticky header */
.page { max-width: 100%; overflow-x: hidden; overflow-x: clip; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px 28px;
  background: rgba(242, 237, 227, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand img { height: 22px; width: auto; display: block; }
.brand:hover { background: transparent; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 11px; letter-spacing: .2em; font-weight: 600; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 20px 22px;
  font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  border: 0; cursor: pointer;
  transition: background .15s, color .15s;
}
.btn--sm { padding: 9px 14px; border-radius: 2px; }
.btn--dark    { background: var(--ink); color: var(--cream); }
.btn--dark:hover    { background: var(--acid); color: var(--ink); }
.btn--hot:hover     { background: var(--tomato); color: var(--cream); }   /* fire = red */
.btn--outline { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--acid); color: var(--ink); }
.btn--acid    { background: var(--acid); color: var(--ink); }
.btn--acid:hover    { background: var(--ink); color: var(--acid); }
.btn--light   { background: var(--cream); color: var(--ink); }
.btn--light:hover   { background: var(--acid); color: var(--ink); }

/* ---------- Chips / tags / stickers ---------- */
.tag {
  display: inline-block; background: var(--acid); color: var(--ink);
  padding: 3px 8px;
}
.tag--red   { background: var(--tomato); color: var(--cream); }
.tag--tight { padding: 2px 7px; }
.tilt-l { transform: rotate(-1.5deg); }
.tilt-r { transform: rotate(1.5deg); }

.sticker {
  display: inline-block; background: var(--acid); color: var(--ink);
  padding: 3px 9px; transform: rotate(2.5deg);
  animation: wobble 4s ease-in-out infinite;
}

/* Highlighter behind a word */
.mark {
  background: var(--acid);
  padding: 0 .12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ---------- Hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 56px) 0; }
.hero__meta {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  font-size: 11px; letter-spacing: .24em; font-weight: 700; text-transform: uppercase;
  border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.hero__logo { margin: clamp(16px, 2vw, 28px) 0 0; line-height: 0; }
.hero__logo img { display: block; width: min(94vw, 1000px); height: auto; }
.hero__tagline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: clamp(12px, 3vw, 40px);
  margin-top: clamp(14px, 2vw, 26px); padding-bottom: clamp(20px, 3vw, 34px);
  border-bottom: 6px solid var(--line);
}
.hero__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 56px); padding: clamp(24px, 3vw, 44px) 0 clamp(28px, 4vw, 56px);
}
.hero__ctas { display: flex; flex-direction: column; gap: 12px; align-self: end; max-width: 420px; width: 100%; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink); color: var(--cream); padding: 13px 0;
  overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line);
}
.marquee__track {
  display: inline-flex; gap: 34px; animation: slide 32s linear infinite;
  font-size: 13px; font-weight: 800; letter-spacing: .28em; text-transform: uppercase;
}
.marquee__track .g { color: var(--acid); }
.marquee__track .r { color: var(--tomato); }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 110px) clamp(20px, 4vw, 56px); }
.section--dark { background: var(--ink); color: var(--cream); }
.section-label { margin: 0 0 22px; font-size: 11px; letter-spacing: .26em; font-weight: 800; text-transform: uppercase; }
.eyebrow { margin: 0; font-size: 11px; letter-spacing: .26em; font-weight: 800; text-transform: uppercase; }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 5vw, 80px); }
.two-col--wide { max-width: 1500px; }
.col-stack { display: flex; flex-direction: column; gap: 20px; max-width: 52ch; }

.lead-serif {
  margin: 0; font-family: 'Instrument Serif', serif; font-weight: 400;
  font-size: clamp(30px, 4.4vw, 66px); line-height: 1.02; letter-spacing: -.015em;
}
.body { margin: 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; }
.body--sm { font-size: 14px; line-height: 1.55; color: var(--muted); }
.shout { margin: 0; font-weight: 900; font-stretch: 112%; text-transform: uppercase; letter-spacing: .02em; }
.shout--red { color: var(--tomato); font-size: clamp(20px, 1.8vw, 26px); }
.serif-i { font-family: 'Instrument Serif', serif; font-style: italic; }

/* Easter egg */
.egg-toggle { background: var(--acid); color: var(--ink); font-weight: 800; padding: 0 4px; margin: 0 2px; }
.egg-toggle:hover { background: var(--ink); color: var(--acid); }
.egg {
  margin: 0; padding: 16px 18px; background: var(--ink); color: var(--acid);
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: clamp(19px, 2vw, 28px); line-height: 1.2; transform: rotate(-1deg);
}
.egg[hidden] { display: none; }

/* ---------- Pillars (Fire / Ferments / Veg) ---------- */
.pillars {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: clamp(40px, 6vw, 88px); background: var(--ink); border: 1px solid var(--ink);
}
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }
.card { background: var(--cream); padding: clamp(22px, 2.4vw, 34px); transition: background .15s, color .15s; }
.card:hover { background: var(--acid); }
.card--fire:hover { background: var(--tomato); color: var(--cream); }
.card--fire:hover .card__note { color: var(--cream); }
.card__title { margin: 0 0 12px; font-size: clamp(26px, 3vw, 42px); font-weight: 900; font-stretch: 118%; letter-spacing: .04em; }
.card__note { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); transition: color .15s; }

/* ---------- Menu / dishes ---------- */
.food { padding: 0 clamp(20px, 4vw, 56px) clamp(48px, 7vw, 110px); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: clamp(20px, 3vw, 36px);
}
.section-head__title { margin: 0; font-size: clamp(28px, 5.6vw, 84px); font-weight: 900; font-stretch: 125%; line-height: .9; text-transform: uppercase; letter-spacing: -.01em; }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 9px; font-size: 12px; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; }
.span-4 { grid-column: span 4; }
.span-2 { grid-column: span 2; }
.ratio { position: relative; }
/* Any <img> dropped into a .ratio box fills it perfectly - no inline styles needed. */
.ratio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ratio--16-10 { aspect-ratio: 16 / 10; }
.ratio--4-5   { aspect-ratio: 4 / 5; }
.ratio--1-1   { aspect-ratio: 1 / 1; }

/* Image placeholders - swap the .img-slot div for <img> when photos are ready */
.img-slot {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 14px;
  background:
    repeating-linear-gradient(-45deg, transparent 0 11px, rgba(20,17,14,.035) 11px 12px),
    var(--cream-2);
  border: 1px solid var(--ink);
  color: var(--muted);
  font-size: 11px; letter-spacing: .12em; font-weight: 700; text-transform: uppercase;
}
.img-slot::before { content: "◲"; position: absolute; top: 12px; left: 14px; font-size: 14px; opacity: .5; }

.menu-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(20px, 4vw, 64px); align-items: end; margin-top: clamp(28px, 4vw, 52px); padding-top: clamp(20px, 3vw, 34px); border-top: 6px solid var(--line); }
.menu-cta__title { margin: 0; font-size: clamp(22px, 2.6vw, 38px); line-height: 1.1; font-weight: 900; font-stretch: 112%; text-transform: uppercase; }
.menu-toggle { justify-self: start; }

.menu { margin-top: clamp(18px, 2.5vw, 30px); border: 1.5px solid var(--line); background: var(--cream-2); }
.menu[hidden] { display: none; }
.menu__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; padding: 18px clamp(18px, 2.4vw, 34px); border-bottom: 1px solid var(--line); }
.menu__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.dish { padding: clamp(18px, 2.2vw, 30px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dish__tag { margin: 0 0 6px; font-size: 11px; letter-spacing: .22em; font-weight: 800; text-transform: uppercase; }
.dish__name { margin: 0; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.25; font-weight: 700; }
.dish__note { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---------- Eventually / signup ---------- */
.big-title { margin: 0; font-size: clamp(30px, 3.4vw, 92px); line-height: .9; font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.02em; }
.on-dark-body { margin: 0; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.6; color: var(--ink-soft); }
.on-dark-fine { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.link-underline { color: var(--cream); border-bottom: 1px solid var(--hair-2); background: transparent; }
.link-underline:hover { color: var(--acid); border-color: var(--acid); background: transparent; }

.next-up { margin-top: clamp(36px, 5vw, 72px); padding-top: clamp(22px, 3vw, 34px); border-top: 1px solid var(--line-2); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 44px); align-items: end; }
.next-up__label { margin: 0 0 8px; font-size: 11px; letter-spacing: .24em; font-weight: 800; text-transform: uppercase; color: var(--muted-2); }
.next-up__value { margin: 0; font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(20px, 2.2vw, 30px); line-height: 1.15; }

/* Upcoming pop-ups list (see the template in index.html) */
.events { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.event { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.event__date { font-weight: 800; letter-spacing: .02em; color: var(--acid); }
.event__where { font-family: 'Instrument Serif', serif; font-style: italic; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.15; }
.event__link { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1.5px solid currentColor; }

/* Mailing-list signup (Buttondown) */
.signup { display: flex; flex-wrap: wrap; gap: 10px; max-width: 460px; }
.signup input { flex: 1 1 200px; min-width: 0; padding: 16px; background: transparent; border: 1.5px solid var(--hair-2); color: var(--cream); font-size: 15px; }
.signup input::placeholder { color: var(--muted-2); }
.signup .btn { flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.signup-msg { margin: 0; padding: 16px 18px; max-width: 460px; border: 1.5px solid var(--tomato); color: var(--tomato); font-size: 15px; font-weight: 700; line-height: 1.35; }
.signup-msg.is-ok { border-color: var(--acid); color: var(--acid); }
.signup[hidden], .signup-msg[hidden] { display: none; }

/* ---------- Cook ---------- */
.cook-title { margin: 0; font-size: min(10.6vw, 168px); line-height: .86; font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -.025em; }
.cook-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(24px, 3vw, 44px); padding-top: clamp(20px, 3vw, 32px); border-top: 6px solid var(--line); }
.contact-list { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.contact-list a { border-bottom: 1px solid var(--hair); padding-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: var(--cream);
  padding: clamp(20px, 2.6vw, 32px) clamp(20px, 4vw, 56px);
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
}
.footer-link { color: var(--muted-2); }
.footer-link:hover { color: var(--acid); background: transparent; }

/* ---------- Utilities ---------- */
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.measure-46 { max-width: 46ch; }
.measure-50 { max-width: 50ch; }
.pad-top { padding-top: clamp(0px, 2vw, 34px); }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .nav { gap: 14px; }
  .nav a:not(.btn) { display: none; }           /* keep the "Get in touch" button on mobile */
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .span-4, .span-2 { grid-column: span 2; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Keyframes ---------- */
@keyframes slide  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes flick  { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes wobble { 0%, 100% { transform: rotate(2.5deg); } 50% { transform: rotate(-2.5deg); } }

/* ===========================================================
   Hand-drawn accents
   =========================================================== */

/* Subtle film grain over the whole page for a printed / zine feel */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Rough marker underline - drop <svg class="scribble">…</svg> under a heading */
.scribble { display: block; width: min(340px, 72%); height: 13px; margin-top: 8px; color: var(--tomato); overflow: visible; }

/* Hand-drawn circle around a word: wrap it in <span class="circled"> and add the svg */
.circled { position: relative; display: inline-block; }
.circle-mark { position: absolute; top: -10px; left: -16px; width: calc(100% + 32px); height: calc(100% + 20px); color: var(--tomato); pointer-events: none; overflow: visible; }

/* ===========================================================
   Menu section (Late Summer 2026)
   =========================================================== */
.menu-section { padding-top: clamp(40px, 6vw, 90px); }
.menu-head { max-width: 1100px; }
.menu-season { margin: 12px 0 0; font-size: 12px; letter-spacing: .2em; font-weight: 800; text-transform: uppercase; }
.menu-season .dim { color: var(--muted); font-weight: 700; }
.menu-tagline { margin: clamp(16px, 2vw, 24px) 0 0; font-size: clamp(20px, 3vw, 40px); font-weight: 900; font-stretch: 118%; letter-spacing: .01em; text-transform: uppercase; line-height: 1.05; }
.menu-support { margin: 14px 0 0; font-size: clamp(16px, 1.5vw, 21px); color: var(--muted); max-width: 48ch; line-height: 1.35; }

.menu-list { list-style: none; margin: clamp(26px, 4vw, 52px) 0 0; padding: 0; }
.menu-item { display: flex; gap: clamp(14px, 2vw, 28px); align-items: flex-start; padding: clamp(16px, 2vw, 24px) 0; border-top: 1px solid var(--line); }
.menu-item:last-child { border-bottom: 1px solid var(--line); }
.menu-num { flex: none; margin-top: .35em; display: inline-block; min-width: 1.6em; text-align: center; padding: 2px 7px; background: var(--acid); color: var(--ink); font-weight: 800; font-size: clamp(13px, 1.3vw, 16px); }
.menu-item__name { margin: 0; font-size: clamp(24px, 3.4vw, 50px); font-weight: 900; font-stretch: 118%; letter-spacing: .005em; text-transform: uppercase; line-height: 1; }
.menu-item__desc { margin: 8px 0 0; font-size: clamp(14px, 1.35vw, 18px); line-height: 1.4; color: var(--muted); }

.menu-foot { margin-top: clamp(30px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 10px 40px; align-items: baseline; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: 13px; }
.menu-foot .menu-coords { color: var(--muted); font-weight: 700; letter-spacing: .12em; }

/* Interim: menu shown as the poster image (until food photos are shot) */
.menu-poster { margin: clamp(20px, 3vw, 40px) 0 0; }
.menu-poster a { display: block; max-width: 680px; margin: 0 auto; border: 1px solid var(--ink); box-shadow: 7px 7px 0 var(--ink); line-height: 0; }
.menu-poster a:hover { background: transparent; box-shadow: 10px 10px 0 var(--tomato); }
.menu-poster img { display: block; width: 100%; height: auto; }
.menu-poster__hint { text-align: center; margin: 18px 0 0; font-size: 12px; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; color: var(--muted); }

/* Screen-reader / search-engine only */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
