/* =========================================================
   Plantastic Kitchen — styles
   Brand: bright red on bone/white, navy + green + yellow
   accents, white subway-tile bistro vibe, gingham touches.
   Condensed display type (Anton) + playful grotesk + script.
   ========================================================= */

:root {
  --red: #e2231a;
  --red-deep: #c01910;
  --navy: #1f2f86;
  --green: #2f9e54;
  --yellow: #f4c531;

  --ink: #1b1a17;          /* near-black */
  --paper: #ffffff;
  --bone: #f6f1e6;         /* warm bistro off-white */
  --bone-2: #efe7d6;
  --tile: #f3f1ec;         /* subway-tile face */
  --grout: #d9d3c4;        /* tile grout line */
  --line: rgba(27, 26, 23, 0.12);
  --muted: #6f6a5e;

  --maxw: 1140px;
  --gutter: clamp(20px, 5vw, 60px);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 26px 54px -32px rgba(27, 26, 23, 0.5);
  --shadow-card: 0 14px 30px -20px rgba(27, 26, 23, 0.45);

  --font-display: "Anton", Impact, system-ui, sans-serif;
  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;
}

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

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0 0 0.4em; line-height: 1.04; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(58px, 9vw, 116px); position: relative; }

/* white subway-tile background -------------------------------------------- */
.tilebg {
  background-color: var(--tile);
  background-image:
    linear-gradient(var(--grout) 2px, transparent 2px),
    linear-gradient(90deg, var(--grout) 2px, transparent 2px);
  background-size: 58px 30px;
  background-position: -1px -1px;
}

/* ---- shared bits ---------------------------------------- */
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1em;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.dot--red { background: var(--red); }
.dot--navy { background: var(--navy); }
.dot--green { background: var(--green); }
.dot--yellow { background: var(--yellow); }

.hand { font-family: var(--font-hand); font-weight: 700; letter-spacing: 0.5px; line-height: 0.9; }
.hand--red { color: var(--red); }
.hand--navy { color: var(--navy); }
.hand--green { color: var(--green); }

.section__head { max-width: 640px; margin-bottom: clamp(28px, 5vw, 52px); }
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h2 .hand { font-size: 1.25em; text-transform: none; display: inline-block; margin-left: 0.05em; }
.section__sub { color: var(--muted); max-width: 56ch; font-size: 1rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8em 1.5em;
  border-radius: 999px;
  border: 2.5px solid var(--red);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn--solid { background: var(--red); color: #fff; }
.btn--solid:hover { background: var(--red-deep); border-color: var(--red-deep); transform: translateY(-2px); }
.btn--line { color: var(--red); background: transparent; }
.btn--line:hover { background: var(--red); color: #fff; transform: translateY(-2px); }

.link { color: var(--red); border-bottom: 2px solid transparent; transition: border-color 0.15s ease; }
.link:hover { border-color: var(--red); }
.muted { color: var(--muted); font-size: 0.88em; }

/* ---- NAV ------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.nav__inner { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { width: 42px; height: 42px; }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--red);
}
.nav__links { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav__links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  transition: color 0.15s ease;
}
.nav__links a:not(.btn):hover { color: var(--red); }
.nav__cta { color: #fff; }
.nav__cta:hover { color: #fff; }
.nav__toggle { display: none; }

/* ---- HERO ----------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(40px, 7vw, 92px);
  background:
    radial-gradient(closest-side at 82% 30%, rgba(244, 197, 49, 0.18), transparent 70%),
    var(--bone);
  border-bottom: 2px solid var(--ink);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.2rem, 9vw, 6.6rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 0.2em;
  -webkit-text-stroke: 1px var(--red);
}
.hero__title-2 { color: var(--navy); -webkit-text-stroke-color: var(--navy); }
.hero__tag {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.1vw, 1.45rem);
  line-height: 1.15;
  margin: 0 0 0.7em;
}
.hero__lead { font-size: 1.08rem; color: var(--muted); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 1.5em; }
.hero__hand {
  margin-top: 1.5em;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--green);
}

.hero__media { position: relative; display: flex; justify-content: center; }
.starburst {
  position: absolute;
  top: -22px; left: -8px;
  z-index: 3;
  width: 96px; height: 96px;
  display: grid; place-content: center;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  clip-path: polygon(50% 0%, 61% 12%, 77% 7%, 79% 24%, 95% 27%, 88% 42%, 100% 53%, 86% 62%, 92% 79%, 75% 78%, 68% 94%, 54% 84%, 40% 96%, 33% 80%, 16% 83%, 18% 66%, 3% 58%, 14% 45%, 5% 30%, 22% 28%, 23% 11%, 39% 17%);
  transform: rotate(-12deg);
}
.polaroid {
  margin: 0;
  background: #fff;
  padding: 13px 13px 48px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  max-width: 440px;
}
.polaroid img { border-radius: 5px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.polaroid figcaption {
  font-family: var(--font-hand);
  color: var(--navy);
  text-align: center;
  margin-top: 10px;
  font-size: 1.35rem;
}
.polaroid--tilt { transform: rotate(2.2deg); transition: transform 0.3s ease; }
.polaroid--tilt:hover { transform: rotate(0deg); }

/* ---- STICKER STRIP -------------------------------------- */
.stickers {
  list-style: none;
  margin: 0;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 44px) var(--gutter) clamp(2px, 1vw, 8px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
  align-items: center;
}
/* outline "menu tag" chips — deliberately not Dopamine's solid pills */
.sticker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.42em 0.95em;
  border-radius: 7px;
  background: transparent;
  border: 2px solid currentColor;
}
.sticker--red { color: var(--red); }
.sticker--navy { color: var(--navy); }
.sticker--green { color: var(--green); }
.sticker--yellow { color: #b07d00; }

/* ---- STORY ---------------------------------------------- */
.story {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.story.section { padding-top: clamp(34px, 5vw, 62px); }
.story__text p { color: var(--muted); max-width: 54ch; }
.trio { display: grid; gap: 14px; margin-top: 1.8em; }
.trio__card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: start;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: var(--bone);
  box-shadow: var(--shadow-card);
}
.trio__icon {
  grid-row: span 2;
  width: 44px; height: 44px;
  display: grid; place-content: center;
  border-radius: 50%;
  color: #fff;
}
.trio__icon svg { width: 22px; height: 22px; }
.trio__card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0 0 0.1em;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.trio__card p { margin: 0; font-size: 0.94rem; color: var(--muted); }
.trio__card--red .trio__icon { background: var(--red); }
.trio__card--navy .trio__icon { background: var(--navy); }
.trio__card--green .trio__icon { background: var(--green); }
.story__media .polaroid { transform: rotate(-2deg); }
.story__media .polaroid figcaption { color: var(--red); }

/* ---- MENU ----------------------------------------------- */
.menu { border-block: 2px solid var(--ink); }
.menu.tilebg { } /* applied below via class on element */
.menu__head {
  margin-bottom: clamp(26px, 4vw, 46px);
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 40px);
}
.menu__title {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--red);
  font-size: clamp(3.4rem, 12vw, 7.5rem);
  line-height: 0.82;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  -webkit-text-stroke: 1.5px var(--red);
}
.menu__intro {
  margin: 0 0 0.5em;
  max-width: 42ch;
  color: var(--ink);
  font-weight: 500;
  font-size: 1rem;
}
.menu__grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(22px, 3vw, 38px);
  align-items: start;
}
.menu__col { display: grid; gap: clamp(22px, 3vw, 30px); }
.menu__block {
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow-card);
}
.menu__cat {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.12rem;
  padding-bottom: 0.4em;
  margin: 0 0 0.7em;
  border-bottom: 3px solid currentColor;
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.menu__cat--red { color: var(--red); }
.menu__cat--navy { color: var(--navy); }
.menu__cat--green { color: var(--green); }
.menu__price-inline, .price-inline { font-family: var(--font-display); }

.menu__list { list-style: none; padding: 0; margin: 0; }
.menu__list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 6px;
  padding: 0.55em 0;
  border-bottom: 1px dashed var(--line);
}
.menu__list li:last-child { border-bottom: 0; }
.menu__list--compact li { padding: 0.42em 0; }
.m-name { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink); }
.m-name .kcal { font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: 0.78em; margin-left: 4px; }
.m-price { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; color: var(--red); letter-spacing: 0.02em; }
.leader { border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 16px; align-self: center; }
.menu__list small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.83rem;
  margin-top: 1px;
}
.menu__sauces { margin: 0.9em 0 0; font-size: 0.86rem; color: var(--muted); }
.menu__sauces b { color: var(--red); font-family: var(--font-display); font-weight: 400; }
.menu__note { margin: 0.9em 0 0; font-size: 0.82rem; color: var(--muted); font-style: italic; }

.menu__block--box { background: var(--yellow); border-color: var(--ink); }
.menu__block--box .menu__list small,
.menu__block--box .menu__sauces { color: rgba(27,26,23,0.72); }
.menu__block--box .m-price { color: var(--red); }

.menu__block--hapea {
  background: var(--navy);
  color: #fff;
  position: relative;
}
.menu__block--hapea .menu__cat { color: #fff; border-color: rgba(255,255,255,0.55); }
.menu__block--hapea p { margin: 0; color: rgba(255,255,255,0.88); font-size: 0.95rem; }
.menu__block--hapea .menu__price-inline { color: var(--yellow); }
.hapea__tag {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--yellow);
  margin-bottom: 2px;
}

/* ---- NEWS ----------------------------------------------- */
.news { background: var(--bone); border-bottom: 2px solid var(--ink); }
.news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.newscard {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
.newscard:hover { transform: translateY(-4px); }
.newscard--feature .newscard__body h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.newscard--feature .newscard__body p { font-size: 0.96rem; }
.newscard__media { display: block; aspect-ratio: 4/5; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--bone-2); }
.newscard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.newscard:hover .newscard__media img { transform: scale(1.04); }
.newscard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.newscard__date {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 7px;
}
.newscard__body h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.12;
  margin: 0;
}
.newscard__body p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.newscard__link {
  margin-top: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--red);
}
.newscard__link:hover { text-decoration: underline; }
.news__follow { margin-top: clamp(26px, 4vw, 40px); }

/* ---- GALLERY -------------------------------------------- */
.bistro { background: var(--bone); }
.gallery {
  max-width: 1280px;
  margin: clamp(8px, 2vw, 20px) auto 0;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-card);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery figure:nth-child(1) img { aspect-ratio: 1/1; }
.gallery figure:nth-child(4) { grid-column: span 2; }
.gallery figure:nth-child(odd) { transform: rotate(-0.8deg); }
.gallery figure:nth-child(even) { transform: rotate(0.8deg); }

/* ---- VISIT ---------------------------------------------- */
.visit { border-top: 2px solid var(--ink); }
.visit__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.visit__lead { color: var(--muted); max-width: 42ch; }
.visit__details { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 1.8em 0; }
.visit__details dt {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--red);
  margin-bottom: 0.3em;
}
.visit__details dd { margin: 0; font-size: 0.96rem; }

.social { display: flex; gap: 12px; }
.social__btn {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 2px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.social__btn svg { width: 21px; height: 21px; }
.social__btn:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.social--light .social__btn { border-color: rgba(255,255,255,0.7); color: #fff; }
.social--light .social__btn:hover { background: #fff; color: var(--red); border-color: #fff; }

.visit__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--ink);
}
.visit__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* ---- FOOTER --------------------------------------------- */
.footer {
  background: var(--red);
  color: #fff;
  padding-block: clamp(44px, 6vw, 76px);
  border-top: 3px solid var(--ink);
}
.footer__top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.28);
}
.brand--foot .brand__word { color: #fff; }
.brand--foot .brand__mark { border: 2px solid rgba(255,255,255,0.5); border-radius: 11px; }
.footer__tag { font-family: var(--font-hand); font-size: 1.45rem; margin: 0; line-height: 1; }
.footer__nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
.footer__nav a { color: rgba(255,255,255,0.9); font-family: var(--font-head); font-weight: 600; transition: color 0.15s ease; }
.footer__nav a:hover { color: var(--yellow); }
.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
}
.footer__bottom p { margin: 0; }
.footer__credit { font-family: var(--font-hand); color: var(--yellow); font-size: 1.2rem; }

/* ---- REVEAL --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- RESPONSIVE ----------------------------------------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__text, .hero__media, .story__text, .story__media { min-width: 0; }
  .hero__media { justify-content: flex-start; margin-top: 8px; }
  .hero__media .polaroid, .story__media .polaroid { max-width: 100%; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .story__media { max-width: 440px; }
  .menu__grid { grid-template-columns: 1fr; }
  .news__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery figure:nth-child(4) { grid-column: span 2; }
  .visit__grid { grid-template-columns: 1fr; }
  .visit__map { max-width: 640px; }
}

@media (max-width: 720px) {
  /* nav collapses */
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 2px solid var(--ink);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px var(--gutter) 18px;
    max-height: 0; overflow: hidden;
    transition: max-height 0.28s ease;
  }
  .nav.is-open .nav__links { max-height: 420px; }
  .nav__links a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav__cta { margin-top: 12px; justify-content: center; border-bottom: 2.5px solid var(--red-deep); }
  .nav__toggle {
    display: flex; flex-direction: column; gap: 5px;
    margin-left: auto;
    background: none; border: 0; cursor: pointer; padding: 8px;
  }
  .nav__toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform 0.2s ease, opacity 0.2s ease; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .visit__details { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: auto; }
  .gallery figure:nth-child(4) { grid-column: span 2; }
}

@media (max-width: 460px) {
  .news__grid { grid-template-columns: 1fr; }
  .starburst { width: 76px; height: 76px; font-size: 0.78rem; top: -16px; }
  .footer__nav { margin-left: 0; width: 100%; }
}
