@charset "UTF-8";

/* Hot or Not Chicken Co. — components. Colors come ONLY from the semantic
   tokens in brand.css, so html[data-heat] restyles everything here. */

/* ── Reset / base ─────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-regular);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--leading-tight);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

a {
  color: var(--color-accent-text);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: var(--space-2xs) var(--space-s);
  background: var(--color-ink);
  color: var(--color-bg);
  font-family: var(--font-sub);
  border-radius: var(--radius-s);
}

.skip-link:focus {
  left: var(--space-2xs);
  top: var(--space-2xs);
}

.wrap {
  width: min(100% - 2.5rem, 68rem);
  margin-inline: auto;
}

section {
  padding-block: var(--space-2xl);
}

.eyebrow {
  font-family: var(--font-sub);
  font-size: var(--text-large);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent-text);
  margin-bottom: var(--space-xs);
}

.section-title {
  font-size: var(--text-h2);
  margin-bottom: var(--space-l);
}

/* ── Buttons — comic sticker style ────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-large);
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--color-ink);
  background: var(--color-pop);
  padding: 0.85rem 1.75rem;
  border: var(--border-chunky) solid var(--color-border);
  border-radius: var(--radius-l);
  box-shadow: 0.35rem 0.35rem 0 var(--color-border);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  transform: translate(0.15rem, 0.15rem);
  box-shadow: 0.2rem 0.2rem 0 var(--color-border);
}

.btn:active {
  transform: translate(0.35rem, 0.35rem);
  box-shadow: 0 0 0 var(--color-border);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
  box-shadow: 0.35rem 0.35rem 0 currentColor;
}

.btn-ghost:hover {
  box-shadow: 0.2rem 0.2rem 0 currentColor;
}

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg-raised);
  border-bottom: var(--border-chunky) solid var(--color-border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: var(--space-m);
  padding-block: var(--space-2xs);
}

.header-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
}

.header-logo img {
  width: 4.25rem;
}

.header-wordmark {
  display: grid;
  line-height: 1.15;
  font-family: var(--font-display);
  font-size: var(--text-large);
  text-transform: uppercase;
  color: var(--color-ink);
}

.header-wordmark small {
  font-family: var(--font-sub);
  font-size: var(--text-tiny);
  letter-spacing: 0.18em;
  color: var(--color-ink-soft);
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--space-s);
}

.header-hours {
  font-size: var(--text-small);
  color: var(--color-ink-soft);
  margin-right: var(--space-2xs);
  white-space: nowrap;
}

@media (max-width: 62rem) {
  .header-hours {
    display: none;
  }
}

@media (max-width: 40rem) {
  .header-wordmark {
    display: none;
  }
}

.header-actions .btn {
  font-size: var(--text-small);
  padding: 0.5rem 1.1rem;
  box-shadow: 0.25rem 0.25rem 0 var(--color-border);
}

/* ── Heat switch (header pill) ────────────────────────────────────────── */
.heat-switch {
  display: inline-flex;
  border: var(--border-chunky) solid var(--color-border);
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--color-bg);
}

.heat-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--color-ink-soft);
  font-family: var(--font-display);
  font-size: var(--text-small);
  text-transform: uppercase;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 34px;
}

.heat-switch button[aria-pressed="true"] {
  background: var(--color-accent);
  color: var(--color-bg-raised);
}

/* ── Heat gate — the split-screen decision ────────────────────────────── */
.heat-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  /* The gate owns touch gestures (mobile swipe) — no scroll/refresh bleed. */
  touch-action: none;
}

html.heat-chosen .heat-gate {
  display: none;
}

body:has(.heat-gate[data-open="true"]) {
  overflow: hidden;
}

.heat-gate[data-open="false"] {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 500ms ease, visibility 0s 500ms;
}

.gate-half {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Options sit centered in the space left below the badge + question stack. */
  justify-content: center;
  gap: var(--space-s);
  text-decoration: none;
  padding: var(--space-l);
  padding-top: clamp(15rem, 42vh, 24rem);
  transition: flex-basis 300ms ease;
}

/* Expansion is lean-driven (mouse position via the island): the middle 20%
   of the screen is neutral so the split can rest at 50/50. Keyboard focus
   keeps the same effect via :focus-visible. */
.heat-gate[data-lean="hot"] .gate-hot,
.heat-gate[data-lean="not"] .gate-not,
.heat-gate:has(.gate-half:focus-visible) .gate-half:focus-visible {
  flex-basis: 58%;
}

.heat-gate[data-lean="hot"] .gate-not,
.heat-gate[data-lean="not"] .gate-hot,
.heat-gate:has(.gate-half:focus-visible) .gate-half:not(:focus-visible) {
  flex-basis: 42%;
}

/* Cross-color pattern overlays, muted in the tiles themselves — direct URLs
   (not the scheme tokens) because the gate shows both worlds at once. */
.gate-hot {
  background-color: var(--magenta);
  background-image: url("/images/pattern-panel-hot.webp");
  background-size: 360px auto;
}

.gate-not {
  background-color: var(--royal);
  background-image: url("/images/pattern-panel-not.webp");
  background-size: 360px auto;
}

.gate-word {
  font-family: var(--font-display);
  font-size: var(--text-gate);
  line-height: 1;
  text-transform: uppercase;
  color: var(--gate-word);
}

.gate-hot .gate-word {
  color: var(--cream);
}

.gate-not .gate-word {
  color: var(--ice);
}

.gate-caption {
  font-family: var(--font-sub);
  font-size: var(--text-large);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

/* Pop colors (goldenrod on magenta, cyan on royal) sit under 4.5:1 for text —
   captions stay paper-colored; pop stays graphic-only on panels. */
.gate-hot .gate-caption {
  color: var(--cream);
}

.gate-not .gate-caption {
  color: var(--ice);
}

.gate-word,
.gate-caption {
  /* Matches the halves' flex-basis timing so text grows with the panel. */
  transition: transform 300ms ease, opacity 200ms ease;
}

.heat-gate[data-lean="hot"] .gate-hot .gate-word,
.heat-gate[data-lean="not"] .gate-not .gate-word,
.gate-half:focus-visible .gate-word {
  transform: scale(1.22);
}

.heat-gate[data-lean="hot"] .gate-hot .gate-caption,
.heat-gate[data-lean="not"] .gate-not .gate-caption,
.gate-half:focus-visible .gate-caption {
  transform: scale(1.1);
}

/* Inverting circle cursor — site-wide, fine pointers only, positioned by the
   InvertCursor island. 36px on the page, 54px while the gate is open. The
   body:has() guard keeps the native cursor on island-less pages (the 404). */
@media (pointer: fine) {
  body:has(.invert-cursor),
  body:has(.invert-cursor) :is(a, button) {
    cursor: none;
  }

  .invert-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 200;
    -webkit-backdrop-filter: invert(1);
    backdrop-filter: invert(1);
    opacity: 0;
    transition: opacity 150ms ease, width 250ms ease, height 250ms ease;
    will-change: transform;
  }

  .invert-cursor[data-visible="true"] {
    opacity: 1;
  }

  body:has(.heat-gate[data-open="true"]) .invert-cursor {
    width: 54px;
    height: 54px;
  }
}

@media (pointer: coarse), (pointer: none) {
  .invert-cursor {
    display: none;
  }
}

.gate-top {
  position: absolute;
  top: clamp(1.25rem, 6vh, 3.5rem);
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(2.5rem, 8.5vh, 6rem);
  padding-inline: var(--space-m);
  pointer-events: none;
}

.gate-badge {
  width: clamp(7rem, 17vmin, 11rem);
  filter: drop-shadow(0 0.4rem 0 rgb(0 0 0 / 0.25));
}

.gate-question {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: var(--leading-tight);
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  text-shadow: 0.18rem 0.18rem 0 rgb(0 0 0 / 0.28);
  max-width: 18ch;
}

/* "or" rides the seam on mobile — the restaurant's name written straight
   into the choice (HOT or NOT). Desktop keeps the plain split. */
.gate-or {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 8vmin, 2.6rem);
  line-height: 1;
  color: var(--white);
  text-shadow: 0.15rem 0.15rem 0 rgb(0 0 0 / 0.28);
  transition: opacity 150ms ease;
}

/* Once a side starts winning, the lockup gives way to the choice — the
   flooding panel's own word glides through center, where "or" would collide. */
.heat-gate[data-lean="hot"] .gate-or,
.heat-gate[data-lean="not"] .gate-or {
  opacity: 0;
}

.gate-swipe-hint {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--space-m) + env(safe-area-inset-bottom, 0px));
  z-index: 2;
  margin: 0;
  text-align: center;
  pointer-events: none;
  font-family: var(--font-sub);
  font-size: var(--text-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0.12rem 0.12rem 0 rgb(0 0 0 / 0.28);
  animation: hint-sway 2.4s ease-in-out infinite;
}

@keyframes hint-sway {
  0%,
  100% {
    transform: translateX(-0.35rem);
  }

  50% {
    transform: translateX(0.35rem);
  }
}

@media (max-width: 40rem) {
  /* Tinder-style composition: badge + question at the top, the brand name
     reading straight across the center — HOT or NOT — and the swipe cue at
     the bottom. The halves stay side-by-side so swiping left literally moves
     toward HOT and swiping right toward NOT. */
  .gate-top {
    gap: var(--space-s);
  }

  .gate-badge {
    width: clamp(5.5rem, 24vw, 7.5rem);
  }

  .gate-question {
    font-size: clamp(1.5rem, 6.5vw, 2.1rem);
    max-width: 16ch;
    text-wrap: balance;
  }

  .gate-half {
    justify-content: center;
    padding: 0;
    overflow: clip;
    /* Kill the flex automatic minimum — the word must not floor the panel's
       width, or the flood stalls at min-content instead of reaching 0/100%. */
    min-width: 0;
  }

  /* The flood follows the finger 1:1 — the chosen side keeps filling until
     a swipe reaching the screen edge takes the whole screen (clamped). This
     replaces the desktop's discrete lean sizes; word scale-up still rides
     data-lean. Instant while dragging, eased on release. */
  .heat-gate[data-open] .gate-hot {
    flex-basis: clamp(0%, calc(50% + var(--gate-drag, 0px)), 100%);
  }

  .heat-gate[data-open] .gate-not {
    flex-basis: clamp(0%, calc(50% - var(--gate-drag, 0px)), 100%);
  }

  .heat-gate[data-dragging="true"] .gate-half {
    transition: none;
  }

  /* The captions come out: the centered word row IS the brand lockup. */
  .gate-caption {
    display: none;
  }

  .gate-or,
  .gate-swipe-hint {
    display: block;
  }

  /* The words follow the finger (--gate-drag, set by the island): instant
     while dragging, eased on release — back to center or off the edge. */
  .gate-word,
  .gate-or {
    translate: calc(var(--gate-drag, 0px) * 0.35) 0;
    transition: transform 300ms ease, translate 300ms ease;
  }

  /* The winner's word glides only as far as screen center: the second arm
     cancels panel-centering drift (basis grows at drag/2) once the word
     arrives, so it anchors there — then inflates via --gate-grow below.
     For the losing side that arm is inert and the finger-follow arm wins. */
  .gate-hot .gate-word {
    translate: min(calc(var(--gate-drag, 0px) * 0.35), max(0px, calc(25vw - var(--gate-drag, 0px) / 2))) 0;
  }

  .gate-not .gate-word {
    translate: max(calc(var(--gate-drag, 0px) * 0.35), min(0px, calc(-25vw - var(--gate-drag, 0px) / 2))) 0;
  }

  /* Anchored growth: --gate-grow runs 0 → 1 from the anchor point to the
     screen edge. Replaces the desktop lean pop (same properties, later in
     source) so the word holds size while gliding and only grows once pinned. */
  .heat-gate[data-lean="hot"] .gate-hot .gate-word,
  .heat-gate[data-lean="not"] .gate-not .gate-word {
    transform: scale(calc(1 + var(--gate-grow, 0) * 0.6));
  }

  .heat-gate[data-dragging="true"] :is(.gate-word, .gate-or) {
    transition: none;
  }
}

@media (max-width: 24rem) {
  .hero-kicker {
    font-size: 0.85rem;
  }
}

/* Commit play-out — every commit path (desktop click, mobile tap, swipe)
   floods the chosen side to the full screen while its word glides to center
   and inflates; the island delays the dismissal fade ~320ms so the takeover
   completes fully visible. Placed after the lean + drag rules so it wins on
   every viewport. */
.heat-gate[data-committing] .gate-half {
  pointer-events: none;
}

.heat-gate[data-committing="hot"] .gate-hot,
.heat-gate[data-committing="not"] .gate-not {
  flex-basis: 100%;
}

.heat-gate[data-committing="hot"] .gate-not,
.heat-gate[data-committing="not"] .gate-hot {
  flex-basis: 0%;
  min-width: 0;
  padding-inline: 0;
  overflow: clip;
}

.heat-gate[data-committing="hot"] .gate-hot .gate-word,
.heat-gate[data-committing="not"] .gate-not .gate-word {
  transform: scale(1.6);
}

/* The captions bow out so the flood reads as pure word-on-color. */
.heat-gate[data-committing] .gate-caption {
  opacity: 0;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background-color: var(--color-panel);
  background-image: var(--pattern-panel);
  background-size: 360px auto;
  color: var(--color-on-panel);
  overflow: clip;
  padding-block: var(--space-3xl);
}

/* Flat grid: text elements auto-place in column 1; the mascot spans all rows
   in column 2 (desktop) or perches top-right beside the tagline/body (mobile). */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  column-gap: var(--space-l);
}

.hero-kicker,
.hero h1,
.hero-tagline,
.hero-sub,
.hero-ctas {
  grid-column: 1;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-sub);
  font-size: var(--text-regular);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--color-panel-pop);
  color: var(--color-ink);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: 0.35rem 1rem;
  margin-bottom: var(--space-s);
}

.hero h1 {
  font-size: var(--text-hero);
  margin-bottom: var(--space-2xs);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: var(--leading-snug);
  text-transform: uppercase;
  color: var(--color-on-panel);
  opacity: 0.92;
  margin-bottom: var(--space-m);
}

.hero-sub {
  font-size: var(--text-large);
  max-width: 45ch;
  margin-bottom: var(--space-l);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-s);
}

.hero-ctas .btn {
  background: var(--color-panel-pop);
}

.hero-ctas .btn-ghost {
  background: transparent;
  color: var(--color-on-panel);
}

.hero-mascot {
  grid-column: 2;
  grid-row: 1 / 6;
  align-self: center;
  justify-self: center;
  width: min(100%, 22rem);
  background: var(--color-bg);
  border: var(--border-chunky) solid var(--color-border);
  border-radius: var(--radius-blob);
  box-shadow: 0.45rem 0.45rem 0 var(--color-panel-deep);
  padding: var(--space-l) var(--space-m);
  rotate: 2deg;
}

/* ── Lil Boom (inline SVG) — scheme-colored, ambient animation ──────── */
.lilboom svg {
  display: block;
  width: 100%;
  height: auto;
}

.lilboom path {
  fill: var(--mascot-ink);
}

.lb-figure {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: lb-strut 1.15s ease-in-out infinite;
}

@keyframes lb-strut {
  0%,
  100% {
    transform: rotate(-1.5deg);
  }

  50% {
    transform: rotate(1.5deg) translateY(-1.25%);
  }
}

.lb-bolt {
  transform-box: fill-box;
  transform-origin: center;
  animation: lb-bolt 0.95s ease-in-out infinite;
}

@keyframes lb-bolt {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.8);
  }

  55% {
    opacity: 1;
    transform: scale(1.14);
  }
}

.lb-bolt-2 { animation-delay: 0.3s; }
.lb-bolt-3 { animation-delay: 0.55s; }
.lb-bolt-4 { animation-delay: 0.15s; }
.lb-bolt-5 { animation-delay: 0.45s; }
.lb-bolt-6 { animation-delay: 0.7s; }

.lb-spark {
  transform-box: fill-box;
  transform-origin: center;
  animation: lb-spark 1.9s ease-in-out infinite;
}

@keyframes lb-spark {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.55) rotate(0deg);
  }

  50% {
    opacity: 1;
    transform: scale(1.12) rotate(16deg);
  }
}

.lb-spark-2 { animation-delay: 0.5s; }
.lb-spark-3 { animation-delay: 0.9s; }
.lb-spark-4 { animation-delay: 1.3s; }
.lb-spark-5 { animation-delay: 0.25s; }
.lb-spark-6 { animation-delay: 0.7s; }
.lb-spark-7 { animation-delay: 1.1s; }
.lb-spark-8 { animation-delay: 1.5s; }

@media (max-width: 48rem) {
  /* Desktop's 6rem section rhythm reads as dead air on a phone. */
  section {
    padding-block: var(--space-xl);
  }

  .hero {
    /* Content rises into Lil Boom's band — the narrowed kicker slots in
       beside him rather than under him. */
    padding-top: 3rem;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero-kicker {
    /* Sized for a two-line split ("The Original Chicken" / "Company ·
       Athens, GA") — rem, not ch, because ch ignores the letter-spacing. */
    max-width: 17rem;
  }

  .hero-ctas {
    gap: var(--space-xs);
  }

  .hero-ctas .btn {
    font-size: 0.95rem;
    padding: 0.7rem 1.15rem;
    box-shadow: 0.3rem 0.3rem 0 var(--color-border);
  }

  /* Lil Boom leaves the flow entirely: absolutely perched in the hero's
     top-right corner, overlooking the whole section. */
  .hero-mascot {
    position: absolute;
    top: 1.25rem;
    right: var(--space-s);
    width: 6.5rem;
    padding: var(--space-2xs);
    rotate: 4deg;
    box-shadow: 0.3rem 0.3rem 0 var(--color-panel-deep);
  }
}

/* ── Marquee strip ────────────────────────────────────────────────────── */
.marquee {
  background: var(--color-pop);
  border-block: var(--border-chunky) solid var(--color-border);
  overflow: clip;
  padding-block: var(--space-2xs);
}

.marquee-track {
  display: flex;
  gap: var(--space-l);
  width: max-content;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-size: var(--text-h3);
  text-transform: uppercase;
  color: var(--color-ink);
  white-space: nowrap;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ── Heat scale ───────────────────────────────────────────────────────── */
.heat-scale {
  text-align: center;
}

.scale-bar {
  height: 1.5rem;
  border: var(--border-chunky) solid var(--color-border);
  border-radius: var(--radius-l);
  /* Two brand colors, solid at the ends — the blend lives in the middle 40%. */
  background: linear-gradient(90deg, var(--magenta) 30%, var(--cyan) 70%);
  margin-block: var(--space-l) var(--space-xs);
}

.scale-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: var(--text-large);
}

.heat-scale p {
  max-width: 55ch;
  margin-inline: auto;
}

/* ── Reviews — Google testimonials (section hides when no store) ──────── */
.reviews {
  text-align: center;
}

.reviews-agg {
  font-family: var(--font-sub);
  font-size: var(--text-large);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reviews-agg strong {
  color: var(--color-accent-text);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--space-m);
  margin-top: var(--space-l);
  text-align: left;
}

.review-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  background: var(--color-bg-raised);
  border: var(--border-chunky) solid var(--color-border);
  border-radius: var(--radius-m);
  box-shadow: 0.45rem 0.45rem 0 var(--color-pop);
  padding: var(--space-m);
}

.review-stars {
  color: var(--color-accent-text);
  letter-spacing: 0.2em;
}

.review-card blockquote {
  margin: 0;
  flex: 1;
}

.review-card figcaption {
  font-family: var(--font-sub);
  font-size: var(--text-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  /* On top of the card's flex gap — long quotes need the byline to breathe. */
  margin-top: var(--space-xs);
}

/* ── Catering form — accordion card + formio mount ────────────────────── */
.catering-form {
  max-width: 38rem;
  margin: var(--space-xl) auto 0;
  text-align: left;
}

.catering-details {
  background: var(--color-bg-raised);
  border: var(--border-chunky) solid var(--color-border);
  border-radius: var(--radius-m);
  /* Accent shadow, not pop: the card sits on the pop-soft band, where a pop
     shadow camouflages — the accent (magenta on hot, royal on not) is the
     contrasting color that makes the CTA jump. */
  box-shadow: 0.45rem 0.45rem 0 var(--color-accent);
}

/* Collapsed, the accordion is a CTA — a slow breath (slight lift, shadow
   deepens) draws the eye without shouting. Stops the moment it opens. */
.catering-details:not([open]) {
  animation: cta-breathe 2.8s ease-in-out infinite;
}

@keyframes cta-breathe {
  0%,
  100% {
    transform: translate(0, 0);
    box-shadow: 0.45rem 0.45rem 0 var(--color-accent);
  }

  50% {
    transform: translate(-0.15rem, -0.15rem);
    box-shadow: 0.75rem 0.75rem 0 var(--color-accent);
  }
}

.catering-details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-s);
  padding: var(--space-m);
}

.catering-details summary::-webkit-details-marker {
  display: none;
}

.catering-details summary h3 {
  font-size: var(--text-h3);
  color: var(--color-accent-text);
  margin: 0;
}

.details-toggle {
  flex: none;
  font-family: var(--font-display);
  font-size: var(--text-h3);
  line-height: 1;
  color: var(--color-accent-text);
}

.details-toggle::before {
  content: "+";
}

.catering-details[open] .details-toggle::before {
  content: "−";
}

.catering-details > p {
  padding-inline: var(--space-m);
  margin-bottom: var(--space-m);
}

/* Token bridge: drm-overrides.css styles formio's components from these
   host-site variables. That sheet assumes a DARK panel (--paper-hi is its
   text-on-dark color), so on this light band --paper-hi maps to ink. */
#formio-mount {
  --brand: var(--color-accent);
  --accent: var(--color-accent-text);
  --paper-hi: var(--color-ink);
  --ink: var(--color-ink);
  --rule: var(--color-border);
  --font-label: var(--font-sub);
  --fs-sm: var(--text-small);
  --fs-xs: var(--text-tiny);
  display: block;
  min-height: 24rem;
  padding: 0 var(--space-m) var(--space-m);
}

/* Row packing: everything full-width on small screens; phone/email and
   date/headcount pair up from 30rem; name/phone/email ride one row from
   34rem. Six tracks so spans of 6/3/2 all resolve. Hidden plumbing
   components leave the grid. */
#formio-mount .formio-form {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  column-gap: var(--space-s);
}

#formio-mount .formio-form > [class*="formio-component"] {
  grid-column: span 6;
  min-width: 0;
}

#formio-mount .formio-form .formio-hidden,
#formio-mount .formio-form [class*="formio-component-hidden"] {
  display: none;
}

@media (min-width: 30rem) {
  #formio-mount .formio-form > .formio-component-phone,
  #formio-mount .formio-form > .formio-component-email,
  #formio-mount .formio-form > .formio-component-event_date,
  #formio-mount .formio-form > .formio-component-headcount {
    grid-column: span 3;
  }
}

@media (min-width: 34rem) {
  /* Event date's output is deterministically short — it rides the compact
     top row; email gets the roomier half-row beside headcount. */
  #formio-mount .formio-form > .formio-component-name,
  #formio-mount .formio-form > .formio-component-phone,
  #formio-mount .formio-form > .formio-component-event_date {
    grid-column: span 2;
  }
}

/* The datetime's calendar suffix renders as an unstyled block below the
   field — pin it inside the field's right edge instead. pointer-events off
   so the whole field stays the flatpickr click target. */
#formio-mount .formio-component-event_date .input-group {
  position: relative;
}

#formio-mount .formio-component-event_date .input-group-text {
  position: absolute;
  top: 50%;
  right: 0.8rem;
  translate: 0 -50%;
  pointer-events: none;
  color: var(--color-ink-soft);
}

#formio-mount .formio-component-event_date .form-control {
  padding-right: 2.4rem;
}

/* "Anything else?" should invite 2–3 lines, not one. */
#formio-mount .formio-component-notes textarea {
  min-height: 5.75rem;
  resize: vertical;
}

/* drm-overrides paints the button from the bridge vars, which lands magenta
   text on magenta here — pin the site's own pairing: cream on accent. */
#formio-mount .formio-form .btn,
#formio-mount .formio-form button.btn-primary {
  background: var(--color-accent);
  color: var(--cream);
}

#formio-mount .formio-form .btn:hover,
#formio-mount .formio-form button.btn-primary:hover {
  background: var(--color-accent-text);
  color: var(--cream);
}

/* Field boxes, restyled for the light patterned band: drm-overrides' dark-
   panel minimalism (transparent bg, faint cream underline) is invisible
   here — give inputs the brand's chunky boxed treatment instead. The id
   selector deliberately out-specifies the override sheet. */
#formio-mount .formio-form .form-control {
  background: var(--color-bg-raised);
  border: var(--border-chunky) solid var(--color-border);
  border-radius: var(--radius-s);
  padding: 0.55rem 0.8rem;
  color: var(--color-ink);
  font-family: var(--font-body);
}

#formio-mount .formio-form .form-control:focus {
  border-color: var(--color-accent);
  background: var(--color-bg-raised);
  color: var(--color-ink);
  box-shadow: 0.25rem 0.25rem 0 var(--color-pop);
}

#formio-mount .formio-form .form-control::placeholder {
  color: var(--color-ink-soft);
  opacity: 0.55;
}

/* ── Menu ─────────────────────────────────────────────────────────────── */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--space-m);
}

/* Desktop: five cards land 3 + 2 — the top row edge to edge, and the last
   two (Desserts, Drinks) splitting the bottom row at 50% each. 57rem is
   where three 17rem columns + gaps fit the wrap. */
@media (min-width: 57rem) {
  .menu-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .menu-card {
    grid-column: span 2;
  }

  .menu-card:nth-last-child(-n + 2) {
    grid-column: span 3;
  }
}

.menu-card {
  background: var(--color-bg-raised);
  border: var(--border-chunky) solid var(--color-border);
  border-radius: var(--radius-m);
  box-shadow: 0.45rem 0.45rem 0 var(--color-pop);
  padding: var(--space-m);
}

.menu-card h3 {
  font-size: var(--text-h3);
  color: var(--color-accent-text);
  margin-bottom: var(--space-2xs);
}

.menu-card .blurb {
  font-size: var(--text-small);
  color: var(--color-ink-soft);
  margin-bottom: var(--space-s);
}

.menu-card ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--space-xs);
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-2xs);
}

.menu-item .dots {
  flex: 1;
  border-bottom: 2px dotted var(--color-ink-soft);
  translate: 0 -0.3em;
  min-width: 1.5rem;
}

.menu-item .price {
  font-family: var(--font-display);
  white-space: nowrap;
}

.menu-item .price::before {
  content: "$";
}

/* Size variants collapsed into one row — each size floating centered above
   its price. The label is absolutely positioned so the PRICE is the only
   in-flow content: the row's baseline (and the dotted leader) aim straight
   at the prices, exactly like single-price rows. */
.price-set {
  display: inline-flex;
  align-items: baseline;
  gap: 0.9rem;
  white-space: nowrap;
}

.size-price {
  position: relative;
}

/* A floating size label needs headroom when its row isn't the card's first —
   without it the label crowds the row above and reads as that row's column. */
.menu-item:not(:first-child):has(.price-set) {
  margin-top: var(--space-s);
}

.size-price small {
  position: absolute;
  bottom: calc(100% + 0.1rem);
  left: 50%;
  translate: -50%;
  font-family: var(--font-sub);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  white-space: nowrap;
}

/* Wide labels (longer than the S/M/L class) right-align to the price's
   right edge so their overflow pushes inward, not off the card. */
.size-price-wide small {
  left: auto;
  right: 0;
  translate: none;
}

/* Size table (Desserts) — a real three-column grid: item, then one centered
   price column per size, headed in the same small-caps label language. The
   first column's header is screen-reader-only (visually self-evident).
   Dotted row rules keep the menu-board feel without per-row leader dots. */
.size-table {
  width: 100%;
  border-collapse: collapse;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.size-table th {
  font-family: var(--font-sub);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  text-align: center;
  padding-bottom: var(--space-3xs);
}

.size-table th:first-child {
  text-align: left;
}

.size-table td {
  padding-block: var(--space-3xs);
  text-align: center;
}

.size-table td:first-child {
  text-align: left;
}

.size-table tbody tr:not(:last-child) td {
  border-bottom: 2px dotted var(--color-ink-soft);
}

.size-table td.price {
  font-family: var(--font-display);
  white-space: nowrap;
}

.size-table td.price::before {
  content: "$";
}

.gf-badge {
  display: inline-block;
  font-size: 0.66rem;
  font-family: var(--font-sub);
  letter-spacing: 0.1em;
  line-height: 1;
  background: var(--color-pop-soft);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-l);
  /* Right pad narrower: the trailing letter-space after "F" sits inside the
     pill, so this evens out the optical inset. */
  padding: 0.3em 0.48em 0.28em 0.58em;
  vertical-align: 0.14em;
  white-space: nowrap;
}

.menu-note {
  margin-top: var(--space-l);
  text-align: center;
  font-size: var(--text-small);
  color: var(--color-ink-soft);
}

.menu-cta {
  margin-top: var(--space-l);
  text-align: center;
}

/* ── Catering ─────────────────────────────────────────────────────────── */
.catering {
  background-color: var(--color-pop-soft);
  background-image: var(--pattern-band);
  background-size: 360px auto;
  border-block: var(--border-chunky) solid var(--color-border);
}

.catering-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-m);
}

.catering-card {
  background: var(--color-bg-raised);
  border: var(--border-chunky) solid var(--color-border);
  border-radius: var(--radius-m);
  padding: var(--space-m);
  text-align: center;
}

.catering-card h3 {
  font-size: var(--text-h3);
}

.catering-card .price {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--color-accent-text);
  display: block;
  margin-block: var(--space-2xs);
}

.catering-card .price::before {
  content: "$";
}

.catering-card .note {
  font-size: var(--text-small);
  color: var(--color-ink-soft);
}

.catering .menu-note {
  background: var(--color-bg-raised);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: var(--space-2xs) var(--space-m);
  width: fit-content;
  margin-inline: auto;
  color: var(--color-ink);
}

/* ── Story ────────────────────────────────────────────────────────────── */
.story .wrap {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--space-xl);
  align-items: center;
}

.story-art {
  background: var(--color-bg-raised);
  border: var(--border-chunky) solid var(--color-border);
  border-radius: var(--radius-m);
  box-shadow: 0.45rem 0.45rem 0 var(--color-accent);
  padding: var(--space-m);
  rotate: -1.5deg;
}

.story-copy p + p {
  margin-top: var(--space-s);
}

.story-copy .big {
  font-size: var(--text-large);
}

@media (max-width: 48rem) {
  .story .wrap {
    grid-template-columns: 1fr;
  }
}

/* ── Visit ────────────────────────────────────────────────────────────── */
.visit {
  background-color: var(--color-panel);
  background-image: var(--pattern-panel);
  background-size: 360px auto;
  color: var(--color-on-panel);
}

.visit .eyebrow {
  display: inline-block;
  background: var(--color-panel-pop);
  color: var(--color-ink);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-l);
  padding: 0.35rem 1rem;
  font-size: var(--text-regular);
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-m);
  margin-bottom: var(--space-l);
}

.visit-card {
  border: var(--border-chunky) solid currentColor;
  border-radius: var(--radius-m);
  padding: var(--space-m);
}

.visit-card h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-2xs);
}

.visit-card a {
  color: inherit;
}

.visit .btn {
  background: var(--color-panel-pop);
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-panel-deep);
  color: var(--color-on-panel);
  padding-block: var(--space-xl);
  text-align: center;
}

.site-footer img {
  width: 7rem;
  margin-inline: auto;
  margin-bottom: var(--space-s);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-m);
  margin-bottom: var(--space-m);
  font-family: var(--font-sub);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-nav a,
.footer-fine a {
  color: inherit;
}

.footer-fine {
  font-size: var(--text-small);
  opacity: 0.85;
  display: grid;
  gap: var(--space-3xs);
}

/* ── Motion preferences ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee-track,
  .lb-figure,
  .lb-bolt,
  .lb-spark,
  .gate-swipe-hint,
  .catering-details:not([open]) {
    animation: none;
  }

  .lb-bolt,
  .lb-spark {
    opacity: 1;
    transform: none;
  }

  .gate-half,
  .gate-word,
  .gate-caption,
  .gate-or,
  .btn {
    transition: none;
  }

  .heat-gate[data-open="false"] {
    transition: none;
  }
}
