/* Northwest Catering & Concessions — site styles
   Tokens come straight from copy/brand-kit.md */

:root {
  /* fixed palette */
  --forest: #2F4B36;
  --forest-deep: #22382A;
  --pine: #1E2920;
  --oat: #EEE5D5;
  --linen: #F8F3EA;
  --walnut: #2A241D;
  --driftwood: #675A4A;
  --kraft: #CDB189;
  --saddle: #85512D;
  --wheat: #D8BE90;
  --burlap: #D9CBB4;

  /* page context: forest green with light beige text */
  --bg: var(--forest);
  --surface: #375640;
  --text: #F3ECDF;
  --text-muted: #CDC3AE;
  --primary: var(--oat);
  --primary-strong: var(--linen);
  --on-primary: var(--forest);
  --banner: var(--kraft);
  --secondary: var(--wheat);
  --border: #4F6D57;
  --dark: var(--pine);

  --font-display: "Ultra", "Rockwell Extra Bold", "Rockwell", Georgia, serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --header-h: 72px;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
}

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

/* Beige context: sections that sit on oat/linen with dark text */
.band-dark, .menu-board, .site-footer, .mobile-menu, .action-bar,
.form-panel, .contact-card, .banner {
  --text: var(--walnut);
  --text-muted: var(--driftwood);
  --secondary: var(--saddle);
  --border: var(--burlap);
  --primary: var(--forest);
  --primary-strong: var(--forest-deep);
  --on-primary: var(--linen);
  color: var(--text);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
}

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

a { color: var(--secondary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .005em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 6vw + .5rem, 4.5rem); }
h2 { font-size: clamp(1.875rem, 3vw + .75rem, 3rem); }
h3 { font-size: clamp(1.375rem, 1vw + 1rem, 1.75rem); }

p { margin: 0 0 1em; max-width: 65ch; }

.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;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  background: var(--oat);
  color: var(--walnut);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }

.lede {
  font-size: clamp(1.125rem, .6vw + 1rem, 1.375rem);
  line-height: 1.5;
}

.muted { color: var(--text-muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out), color .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-strong); color: var(--on-primary); }

.btn--dark { background: var(--forest); color: var(--linen); }
.btn--dark:hover { background: var(--forest-deep); }

.btn--outline { border-color: currentColor; color: var(--text); background: transparent; }
.btn--outline:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Call buttons: always a filled sand-beige button */
.btn--call { background: #E6DAC4; color: var(--walnut); border-color: rgba(42, 36, 29, .25); }
.btn--call:hover { background: var(--linen); color: var(--walnut); border-color: rgba(42, 36, 29, .4); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(47, 75, 54, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.wordmark {
  font-family: var(--font-display);
  color: var(--text);
  text-decoration: none;
  line-height: 1.02;
  font-size: 1.0625rem;
  display: block;
}
.wordmark span { display: block; }
.wordmark span + span { font-size: .78em; color: var(--secondary); }
@media (min-width: 1100px) {
  .wordmark { font-size: 1.25rem; }
  .wordmark span { display: inline; }
  .wordmark span + span { font-size: 1em; }
}

.nav-desktop { display: none; }
@media (min-width: 960px) {
  .nav-desktop { display: flex; align-items: center; gap: 4px; }
  .nav-desktop a:not(.btn) {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    position: relative;
  }
  .nav-desktop a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 12px; right: 12px; bottom: 4px;
    height: 3px;
    border-radius: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease-out);
  }
  .nav-desktop a:not(.btn):hover::after,
  .nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-desktop .btn { margin-left: 8px; }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 14px;
  border: 2px solid var(--text);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font: 700 1rem var(--font-body);
  cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }
@media (min-width: 960px) { .menu-toggle { display: none; } }

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--oat);
  display: flex;
  flex-direction: column;
  padding: 16px var(--gutter) 32px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility 0s linear .3s;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .25s var(--ease-out), transform .3s var(--ease-out), visibility 0s;
}
.mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: calc(var(--header-h) - 16px);
}
.mobile-menu .wordmark { color: var(--walnut); }
.mobile-menu .wordmark span + span { color: var(--forest); }
.mobile-menu .menu-toggle { color: var(--walnut); border-color: var(--walnut); }
.mobile-menu nav ul { list-style: none; margin: 32px 0 0; padding: 0; }
.mobile-menu nav li + li { border-top: 1px solid rgba(42, 36, 29, .14); }
.mobile-menu nav a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 8vw, 2.5rem);
  color: var(--walnut);
  text-decoration: none;
  line-height: 1.1;
}
.mobile-menu nav a[aria-current="page"] { color: var(--forest); }
.mobile-menu__contact { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.mobile-menu__contact .btn { width: 100%; }
.mobile-menu__contact .btn--outline { color: var(--walnut); }
.mobile-menu__contact .btn--outline:hover { background: var(--walnut); color: var(--oat); border-color: var(--walnut); }
@media (prefers-reduced-motion: no-preference) {
  .mobile-menu.is-open nav li { animation: menu-in .35s var(--ease-out) both; }
  .mobile-menu.is-open nav li:nth-child(2) { animation-delay: .03s; }
  .mobile-menu.is-open nav li:nth-child(3) { animation-delay: .06s; }
  .mobile-menu.is-open nav li:nth-child(4) { animation-delay: .09s; }
  .mobile-menu.is-open nav li:nth-child(5) { animation-delay: .12s; }
  .mobile-menu.is-open nav li:nth-child(6) { animation-delay: .15s; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } }

body.menu-open { overflow: hidden; }

/* ---------- Sticky mobile action bar ---------- */

.action-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--oat);
  box-shadow: 0 -1px 0 rgba(42, 36, 29, .12);
}
.action-bar .btn { min-height: 48px; padding-inline: 12px; }
.action-bar .btn--outline { color: var(--walnut); }
@media (min-width: 960px) { .action-bar { display: none; } }
@media (max-width: 959px) { body { padding-bottom: 72px; } }

/* ---------- The banner: the one signature device ----------
   A vinyl fair banner — gold panel with grommets in the corners */

.banner {
  position: relative;
  background: var(--banner);
  padding: clamp(28px, 4vw, 48px);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(42, 31, 23, .12), 0 18px 40px -24px rgba(42, 31, 23, .55);
}
.banner::before,
.banner::after,
.banner > .grommets::before,
.banner > .grommets::after {
  content: "";
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--forest);
  box-shadow: inset 0 0 0 3px #b9b2a6, inset 0 1px 2px rgba(0,0,0,.35);
}
.banner::before { top: 10px; left: 10px; }
.banner::after { top: 10px; right: 10px; }
.banner > .grommets { position: absolute; inset: 0; pointer-events: none; }
.banner > .grommets::before { bottom: 10px; left: 10px; }
.banner > .grommets::after { bottom: 10px; right: 10px; }
.banner h1, .banner h2 { margin-bottom: .3em; }
.banner p { max-width: 46ch; }
.banner .btn--outline:hover { background: var(--text); color: var(--banner); }

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  background: var(--bg);
}
.hero__media { background: var(--dark); position: relative; }
.hero__media img,
.hero__media video {
  display: block;
  width: 100%;
  height: 46vh;
  min-height: 280px;
  max-height: 820px;
  object-fit: cover;
  object-position: 60% 50%;
}
.hero__panel {
  position: relative;
  margin-top: -56px;
  padding-bottom: 8px;
}
.hero__panel .banner { max-width: 640px; }
.hero__panel h1 { font-size: clamp(2.375rem, 5.2vw + .5rem, 4.75rem); }
.hero-wrap { background: var(--bg); }

.video-toggle {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 41, 32, .72);
  color: var(--linen);
  cursor: pointer;
}
.video-toggle:hover { background: var(--dark); }
.video-toggle svg { width: 20px; height: 20px; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }

@media (min-width: 900px) {
  .hero__media img,
  .hero__media video { height: min(88vh, 860px); }
  .video-toggle { top: auto; bottom: 24px; right: 24px; }
  /* desktop: a compact banner pinned to the bottom-left so the video shows */
  .hero__panel {
    position: absolute;
    left: 0; right: 0; bottom: clamp(24px, 5vh, 56px);
    margin: 0;
    pointer-events: none;
  }
  .hero__panel .wrap { max-width: none; padding-inline: clamp(24px, 3vw, 56px); }
  .hero__panel .banner {
    max-width: 460px;
    padding: 28px 32px 30px;
    pointer-events: auto;
  }
  .hero__panel h1 { font-size: clamp(2.125rem, 1.6vw + 1.4rem, 3rem); }
  .hero__panel .lede { font-size: 1.0625rem; margin-bottom: 1.1em; }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero .banner {
    animation: unfurl .9s var(--ease-out) .15s both;
  }
  .js .hero .banner > * {
    animation: rise .6s var(--ease-out) both;
  }
  .js .hero .banner > *:nth-child(2) { animation-delay: .55s; }
  .js .hero .banner > *:nth-child(3) { animation-delay: .65s; }
  .js .hero .banner > *:nth-child(4) { animation-delay: .75s; }
}
@keyframes unfurl {
  from { clip-path: inset(0 100% 0 0 round 6px); }
  to { clip-path: inset(0 0 0 0 round 6px); }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ---------- Stand lineup ---------- */

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--text-muted); }

.lineup {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(28px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 600px) { .lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .lineup { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.stand-tile { position: relative; display: flex; flex-direction: column; }
.stand-tile__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--border);
  margin-bottom: 14px;
}
.stand-tile__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}
.stand-tile:hover .stand-tile__img img { transform: scale(1.04); }
.stand-tile :is(h2, h3) { font-size: clamp(1.375rem, .8vw + 1.1rem, 1.625rem); margin-bottom: .35em; }
.stand-tile :is(h2, h3) a { color: var(--text); text-decoration: none; }
.stand-tile :is(h2, h3) a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.stand-tile :is(h2, h3) a:focus-visible { outline: none; }
.stand-tile:has(a:focus-visible) { outline: 3px solid var(--secondary); outline-offset: 6px; border-radius: var(--radius); }
.stand-tile p { color: var(--text-muted); font-size: 1rem; margin: 0; }

@media (max-width: 599px) {
  .stand-tile { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 14px; align-items: start; }
  .stand-tile__img { margin: 0; aspect-ratio: 1; }
  .stand-tile :is(h2, h3) { font-size: 1.3rem; }
  .stand-tile p { font-size: .95rem; }
}

/* ---------- Event band (dark) ---------- */

.band-dark { background: var(--oat); }
.band-dark h2 { color: var(--forest); }
.band-dark .btn--outline:hover { background: var(--walnut); color: var(--oat); border-color: var(--walnut); }

.event-names {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .2em .9em;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw + .6rem, 2.75rem);
  line-height: 1.25;
}
.event-names li { display: inline-flex; align-items: center; gap: .9em; }
.event-names li:not(:last-child)::after {
  content: "";
  width: .32em; height: .32em;
  background: var(--saddle);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- Steps (a real sequence) ---------- */

.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split--media-left > :first-child { order: -1; }
}

.steps { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: step; display: grid; gap: 22px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; }
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-size: 1.5rem;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--on-primary);
}
.steps h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.1875rem; margin: 8px 0 4px; }
.steps p { margin: 0; color: var(--text-muted); }

.photo { border-radius: var(--radius); overflow: hidden; background: var(--border); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
figcaption { font-size: .9rem; color: var(--text-muted); margin-top: 10px; }

/* ---------- Quote ---------- */

.pull-quote {
  margin: 0;
  max-width: 900px;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.4vw + .8rem, 2.625rem);
  line-height: 1.2;
  max-width: none;
  margin-bottom: .6em;
}
.pull-quote footer { color: var(--text-muted); font-weight: 600; }

/* ---------- Real trailers ---------- */

.duo { display: grid; gap: 20px; }
@media (min-width: 760px) { .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; } }
.duo .photo { aspect-ratio: 4 / 3; }

/* ---------- Page heads (interior pages) ---------- */

.crumbs { font-size: .95rem; margin: 24px 0 0; color: var(--text-muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border); }
.crumbs a { color: var(--text-muted); }

.page-head { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.page-head__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
  .page-head__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0; }
  .page-head__grid .banner { margin-right: -48px; z-index: 2; }
}
.page-head__grid .photo { aspect-ratio: 4 / 3; }
.page-head--simple { max-width: 820px; }
.page-head--simple h1 { margin-top: 0; }

/* ---------- Stand page ---------- */

.story p { font-size: clamp(1.125rem, .5vw + 1rem, 1.3125rem); line-height: 1.6; }

.menu-board {
  background: var(--oat);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
}
.menu-board h2 { color: var(--forest); }
.menu-board h3 { color: var(--forest); font-size: 1.5rem; margin-top: 1.4em; }
.menu-board h3:first-of-type { margin-top: .4em; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { padding: 14px 0; border-bottom: 1px dashed rgba(42, 36, 29, .22); }
.menu-list li:last-child { border-bottom: 0; }
.menu-list strong { display: block; font-size: 1.125rem; }
.menu-list span { color: var(--text-muted); font-size: 1rem; }
.menu-note { margin: 20px 0 0; color: var(--text-muted); font-size: .95rem; }
.tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--linen);
  font-size: .8rem;
  font-weight: 700;
  vertical-align: middle;
}

.stand-layout { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .stand-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; } }

.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery .photo { aspect-ratio: 4 / 3; }

.find-us {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.more-stands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.more-stands a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}
.more-stands a:hover { border-color: var(--text); }

/* ---------- Events page ---------- */

.event-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--text); }
.event-list li {
  display: grid;
  gap: 4px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 700px) { .event-list li { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; } }
.event-list h3 { margin: 0; font-size: clamp(1.375rem, 1.2vw + 1rem, 1.875rem); }
.event-list span { color: var(--text-muted); font-weight: 600; }

/* ---------- About ---------- */

.proud-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.proud-list li { padding: 28px 0; border-top: 1px solid var(--border); display: grid; gap: 8px; }
@media (min-width: 800px) { .proud-list li { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; } }
.proud-list h3 { font-size: 1.5rem; margin: 0; }
.proud-list blockquote { margin: 0; }
.proud-list blockquote p { margin: 0 0 6px; font-size: 1.125rem; }
.proud-list a { font-weight: 600; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card {
  background: var(--linen);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-card h2 { font-size: 1.5rem; }
.contact-card .big-link {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2vw + 1rem, 2.25rem);
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 6px;
}
.contact-card .big-link:hover { color: var(--secondary); }
.contact-card p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */

.form-panel {
  background: var(--linen);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
}
.form-grid { display: grid; gap: 20px; }
@media (min-width: 700px) {
  .form-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label, .field legend {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  padding: 0;
}
.field .req { color: var(--secondary); }
.field .hint { display: block; font-weight: 400; color: var(--text-muted); font-size: .95rem; }
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--walnut);
  background: var(--oat);
  border: 1.5px solid #A8977D;
  border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(47, 75, 54, .3);
}
.field [aria-invalid="true"] { border-color: #b3261e; }
.field .error { color: #b3261e; font-weight: 600; font-size: .95rem; margin: 6px 0 0; }
.field .error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--oat);
  font-weight: 600;
  cursor: pointer;
}
.checks input { width: 20px; height: 20px; accent-color: var(--secondary); flex: none; }
.checks label:has(input:checked) { border-color: var(--primary); background: #DFE6D6; }
.form-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-actions .btn[disabled] { opacity: .6; cursor: progress; }

.form-summary {
  border: 2px solid #b3261e;
  background: #fbeceb;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}
.form-summary h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.125rem; margin: 0 0 6px; }
.form-summary ul { margin: 0; padding-left: 20px; }
.form-summary a { color: #b3261e; font-weight: 600; }

.form-status { border-radius: var(--radius-sm); padding: 20px; margin-top: 20px; }
.form-status h2 { font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; margin: 0 0 6px; }
.form-status p { margin: 0; }
.form-status--ok { background: #e8f1e1; border: 2px solid #3f6b2a; }
.form-status--err { background: #fbeceb; border: 2px solid #b3261e; }

/* ---------- CTA strip ---------- */

.cta-strip .banner {
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 860px) { .cta-strip .banner { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-strip .banner h2 { margin: 0 0 .2em; }
.cta-strip .banner p { margin: 0; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--oat);
  position: relative;
  padding-top: clamp(56px, 7vw, 88px);
  padding-bottom: 32px;
}
/* the one gingham strip */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(47, 75, 54, .85) 0 14px, transparent 14px 28px),
    repeating-linear-gradient(0deg, rgba(47, 75, 54, .5) 0 7px, transparent 7px 14px),
    var(--oat);
}
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.site-footer .wordmark { color: var(--walnut); font-size: 1.5rem; margin-bottom: 14px; }
.site-footer .wordmark span + span { color: var(--forest); font-size: 1em; }
.site-footer h2 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--forest); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--walnut); text-decoration: none; display: inline-block; padding: 10px 0; }
.site-footer a:hover { color: var(--forest); text-decoration: underline; }
.site-footer a.btn { padding: 12px 22px; text-decoration: none; display: inline-flex; }
.site-footer a.btn--primary { color: var(--linen); background: var(--forest); }
.site-footer a.btn--primary:hover { color: var(--linen); background: var(--forest-deep); }
.site-footer .footer-phone { font-family: var(--font-display); font-size: 1.5rem; color: var(--forest); }
.footer-base {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(42, 36, 29, .15);
  font-size: .9rem;
  color: var(--driftwood);
}

/* ---------- 404 ---------- */

.not-found { min-height: 60vh; display: grid; align-content: center; }

/* ---------- Reveal on scroll (only the stand lineup, once) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .lineup.reveal .stand-tile { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease-out), transform .6s var(--ease-out); }
  .js .lineup.reveal.is-visible .stand-tile { opacity: 1; transform: none; }
  .js .lineup.reveal.is-visible .stand-tile:nth-child(2) { transition-delay: .05s; }
  .js .lineup.reveal.is-visible .stand-tile:nth-child(3) { transition-delay: .1s; }
  .js .lineup.reveal.is-visible .stand-tile:nth-child(4) { transition-delay: .15s; }
  .js .lineup.reveal.is-visible .stand-tile:nth-child(5) { transition-delay: .2s; }
  .js .lineup.reveal.is-visible .stand-tile:nth-child(6) { transition-delay: .25s; }
  .js .lineup.reveal.is-visible .stand-tile:nth-child(7) { transition-delay: .3s; }
  .js .lineup.reveal.is-visible .stand-tile:nth-child(8) { transition-delay: .35s; }
  .js .lineup.reveal.is-visible .stand-tile:nth-child(9) { transition-delay: .4s; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Stand page gallery extras ---------- */
.gallery > .photo:only-child { max-width: 640px; }

/* A stand's single picture sits under its description, beside the menu */
.side-pic { margin-top: 28px; max-width: 520px; }
.side-pic.photo { aspect-ratio: 4 / 3; }
.side-pic--art { background: none; }
.side-pic--art img { width: 100%; height: auto; }
/* light sticker edge so dark logo lettering reads on the green */
.sticker {
  filter: drop-shadow(0 0 1px #F3ECDF) drop-shadow(0 0 1px #F3ECDF) drop-shadow(0 0 3px rgba(243, 236, 223, .7));
}
.menu-list .tag { color: var(--linen); }

/* Safari: let grid items shrink below their images' natural width */
.lineup > *, .duo > *, .split > *, .stand-layout > *, .page-head__grid > *, .gallery > *, .footer-grid > *, .contact-grid > * { min-width: 0; }

/* ---------- Logo next to the wordmark ---------- */
.wordmark { display: flex; align-items: center; gap: 10px; }
.wordmark .brand-logo { height: 52px; width: auto; flex: none; }
.wordmark .wordmark-text { display: block; }
.mobile-menu .wordmark .brand-logo { height: 46px; }
.site-footer .wordmark { gap: 16px; }
.site-footer .wordmark .brand-logo { height: 96px; }
@media (max-width: 380px) {
  .wordmark .brand-logo { height: 44px; }
  .wordmark { font-size: .95rem; }
}

/* ---------- Logo inside banners ---------- */
.banner-logo { display: block; height: 76px; width: auto; margin-bottom: 14px; }
.hero__panel .banner-logo { height: 64px; margin-bottom: 10px; }
.banner-logo--404 { height: 110px; margin-bottom: 20px; }
@media (min-width: 900px) {
  .page-head__grid .banner-logo { height: 96px; }
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero .banner > *:nth-child(5) { animation-delay: .85s; }
}
.side-pic + .side-pic { margin-top: 20px; }

/* ---------- Tighter simple page heads (Book, Contact, Events, Our food) ---------- */
.crumbs { margin-top: 16px; }
.page-head.page-head--simple { padding-block: 14px 0; }
.page-head--simple .lede:last-child,
.page-head--simple p:last-child { margin-bottom: 0; }
.wrap:has(> .page-head--simple) + section { padding-top: clamp(28px, 3vw, 40px); }
.side-pic.side-pic--full { aspect-ratio: auto; }
.side-pic--full img { height: auto; object-fit: contain; }
