/* ==========================================================================
   Boricua Delight — site styles
   Visual language taken from the Boricua Delight menu board: charcoal
   chalkboard, painted red/blue brush strokes, palm leaves, hibiscus,
   bold condensed headings and a little rustic wood.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colour — sampled from the logo + menu artwork */
  --c-bg: #121111;
  --c-bg-alt: #1a1918;
  --c-surface: #232120;
  --c-line: rgb(255 255 255 / 0.12);
  --c-text: #f7f3ec;
  --c-muted: #cfc8bd;
  --c-red: #d1232a;
  --c-red-deep: #9e141b;
  --c-blue: #1d4fc4;
  --c-blue-deep: #12347f;
  --c-sky: #44afe7;
  --c-green: #3f8a1f;
  --c-yellow: #f6c81e;
  --c-cream: #fcf3e2;
  --c-ink: #141414;
  --c-wood: #6e3c12;

  /* Type */
  --ff-head: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --ff-brush: "Permanent Marker", "Segoe Print", "Comic Sans MS", cursive;
  --ff-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-sm: clamp(0.9rem, 0.86rem + 0.15vw, 0.98rem);
  --fs-base: clamp(1.05rem, 1rem + 0.25vw, 1.175rem);
  --fs-lg: clamp(1.15rem, 1.05rem + 0.45vw, 1.4rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --fs-h2: clamp(2.2rem, 1.6rem + 3vw, 4rem);
  --fs-h1: clamp(2.4rem, 1.5rem + 3.4vw, 4.6rem);
  --fs-mega: clamp(3.2rem, 1.6rem + 8vw, 8.5rem);

  /* Space */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 2rem;
  --space-xl: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --space-section: clamp(4rem, 3rem + 5vw, 7.5rem);
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);

  /* Shape + depth */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-rustic: 22px 8px 26px 10px / 10px 24px 8px 22px;
  --shadow-sm: 0 4px 14px rgb(0 0 0 / 0.35);
  --shadow-lg: 0 24px 60px -18px rgb(0 0 0 / 0.75);

  --max-w: 1200px;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  /* Shared textures */
  --brush: url("../images/decorative/brush-stroke.svg");
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --flag-stripe: linear-gradient(90deg, var(--c-red) 0 33.3%, #fff 33.3% 66.6%, var(--c-blue) 66.6%);

  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overflow-x: clip;
}

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

body {
  margin: 0;
  overflow-x: clip;
  background-color: var(--c-bg);
  background-image: var(--noise);
  color: var(--c-text);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--ff-head);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

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

address {
  font-style: normal;
}

.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;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--c-yellow);
  color: var(--c-ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 0.75rem;
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - var(--gutter) * 2, var(--max-w));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--space-section);
  overflow: clip;
}

.section--alt {
  background-color: var(--c-bg-alt);
  background-image: var(--noise);
}

.section-head {
  display: grid;
  justify-items: start;
  gap: var(--space-sm);
  max-width: 44rem;
  margin-bottom: var(--space-xl);
}

.section-head--center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-size: var(--fs-h2);
}

.lead {
  font-size: var(--fs-lg);
  color: var(--c-muted);
}

.prose {
  display: grid;
  gap: var(--space-md);
  color: var(--c-muted);
}

.prose strong {
  color: var(--c-text);
}

.script {
  font-family: var(--ff-brush);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.flag {
  display: inline-block;
  width: 1.35em;
  height: 0.9em;
  vertical-align: -0.05em;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgb(0 0 0 / 0.4);
}

/* --------------------------------------------------------------------------
   4. Brush-stroke components
   The painted shapes from the menu are a single SVG used as a CSS mask, so
   each instance can take any brand colour.
   -------------------------------------------------------------------------- */
.brush-tag {
  --tag-bg: var(--c-red);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.45em 1.4em 0.5em;
  font-family: var(--ff-brush);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.3rem);
  line-height: 1.2;
  color: #fff;
}

.brush-tag::before {
  content: "";
  position: absolute;
  inset: 0 -0.4em;
  z-index: -1;
  background: var(--tag-bg);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
  transform: rotate(-1.5deg);
  transform-origin: left center;
  transition: transform 0.7s var(--ease-out);
}

.brush-tag--blue {
  --tag-bg: var(--c-blue);
}

.brush-tag--blue::before {
  transform: rotate(1deg);
}

.brush-tag .flag,
.brush-tag svg {
  flex: none;
}

/* Highlighted phrase inside a heading, painted behind like the menu headers */
.paint {
  --paint-bg: var(--c-red);
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0.04em 0.28em 0.02em;
}

.paint::before {
  content: "";
  position: absolute;
  inset: 0.08em -0.08em -0.02em;
  z-index: -1;
  background: var(--paint-bg);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
  transform: rotate(-1.2deg);
  transform-origin: left center;
  transition: transform 0.8s var(--ease-out) 0.15s;
}

.paint--blue {
  --paint-bg: var(--c-blue);
}

/* Thin red / white / blue rule */
.flag-rule {
  display: block;
  width: 7rem;
  height: 5px;
  border-radius: 3px;
  background: var(--flag-stripe);
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-red);
  --btn-fg: #fff;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 3.5rem;
  padding: 0.85rem 2rem;
  border: 0;
  background: none;
  color: var(--btn-fg);
  font-family: var(--ff-head);
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  inset: -2px -10px;
  z-index: -1;
  background: var(--btn-bg);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
  filter: drop-shadow(0 6px 10px rgb(0 0 0 / 0.35));
  transition: transform 0.3s var(--ease-out), background-color 0.2s;
}

.btn svg {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover::before {
  transform: scale(1.05, 1.1) rotate(-1deg);
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline-offset: 8px;
}

.btn--red:hover {
  --btn-bg: #e2343a;
}

.btn--blue {
  --btn-bg: var(--c-blue);
}

.btn--blue:hover {
  --btn-bg: #2a5fd8;
}

.btn--cream {
  --btn-bg: var(--c-cream);
  --btn-fg: var(--c-ink);
}

.btn--yellow {
  --btn-bg: var(--c-yellow);
  --btn-fg: var(--c-ink);
}

.btn--yellow:hover {
  --btn-bg: #ffd84a;
}

.btn--lg {
  min-height: 4.25rem;
  padding: 1rem 2.6rem;
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.7rem);
}

.btn--sm {
  min-height: 2.9rem;
  padding: 0.6rem 1.4rem;
  font-size: 1.05rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-lg);
}

/* --------------------------------------------------------------------------
   6. Header + navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(18 17 17 / 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: var(--flag-stripe);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 60px;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.5));
}

.brand-name {
  display: grid;
  font-family: var(--ff-head);
  font-size: 1.45rem;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-name small {
  font-family: var(--ff-brush);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-yellow);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 0.5rem + 1.5vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 0.5rem 0.1rem;
  font-family: var(--ff-head);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-link::after {
  content: "";
  position: absolute;
  inset: auto -0.3rem 0.1rem;
  height: 0.55rem;
  background: var(--c-blue);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
  z-index: -1;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

@media (max-width: 899.98px) {
  .nav-toggle {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 2px solid var(--c-line);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--c-text);
    cursor: pointer;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
  }

  .nav-toggle-bars {
    position: relative;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bars::before {
    top: -8px;
  }

  .nav-toggle-bars::after {
    top: 8px;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    transform: translateY(8px) rotate(45deg);
    background: var(--c-text);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--c-text);
  }

  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    padding: var(--space-lg) var(--gutter) var(--space-xl);
    background: var(--c-bg-alt) var(--noise);
    border-bottom: 4px solid var(--c-red);
    box-shadow: 0 30px 40px rgb(0 0 0 / 0.55);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.25s, transform 0.3s var(--ease-out), visibility 0s 0.3s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s, transform 0.3s var(--ease-out), visibility 0s;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-xs);
    max-width: 30rem;
    margin-inline: auto;
  }

  .nav-link {
    display: block;
    padding: 0.85rem 0.25rem;
    font-size: 1.6rem;
    border-bottom: 1px solid var(--c-line);
  }

  .nav-link::after {
    inset: auto auto 0.6rem 0;
    width: 5rem;
  }

  .nav-list .btn {
    width: 100%;
    margin-top: var(--space-md);
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 1.2rem;
  }

  .brand img {
    height: 52px;
  }
}

/* --------------------------------------------------------------------------
   7. Decorative elements (palm leaves, hibiscus)
   -------------------------------------------------------------------------- */
.deco {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.deco--leaf {
  width: clamp(180px, 22vw, 360px);
  opacity: 0.9;
  filter: drop-shadow(0 10px 20px rgb(0 0 0 / 0.5));
}

.deco--hibiscus {
  width: clamp(80px, 9vw, 150px);
  filter: drop-shadow(0 8px 14px rgb(0 0 0 / 0.5));
}

@media (prefers-reduced-motion: no-preference) {
  .deco--leaf {
    animation: sway 9s ease-in-out infinite alternate;
  }

  .deco--hibiscus {
    animation: bob 7s ease-in-out infinite alternate;
  }
}

@keyframes sway {
  from {
    rotate: -2deg;
  }
  to {
    rotate: 3deg;
  }
}

@keyframes bob {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -8px;
  }
}

/* Content inside decorated sections always sits above the decoration */
.section > .container,
.hero > .container {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   8. Photo frames
   -------------------------------------------------------------------------- */
.photo {
  position: relative;
  margin: 0;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-rustic);
  box-shadow: var(--shadow-lg);
}

/* Painted stroke peeking out from behind a photo */
.photo--brush::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -6% -7% 8%;
  height: 34%;
  background: var(--frame-bg, var(--c-blue));
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
  transform: rotate(-4deg);
}

.photo--red {
  --frame-bg: var(--c-red);
}

/* --------------------------------------------------------------------------
   9. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(1.75rem, 1rem + 2.5vw, 3.5rem) clamp(3.5rem, 2rem + 5vw, 6rem);
  overflow: clip;
  background:
    radial-gradient(60% 70% at 85% 40%, rgb(209 35 42 / 0.16), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgb(29 79 196 / 0.18), transparent 70%);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: var(--space-xl);
}

.hero-copy {
  display: grid;
  justify-items: start;
  gap: var(--space-md);
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.hero-logo {
  width: clamp(110px, 8vw + 60px, 170px);
  height: auto;
  filter: drop-shadow(0 12px 22px rgb(0 0 0 / 0.6));
}

.hero-tagline {
  font-family: var(--ff-brush);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.8rem);
  line-height: 1.25;
  color: var(--c-yellow);
  transform: rotate(-3deg);
}

.hero-title {
  font-size: var(--fs-h1);
  line-height: 1;
}

.hero-title .paint {
  margin-top: 0.12em;
}

@media (min-width: 600px) {
  .hero-title .paint {
    white-space: nowrap;
  }
}

.hero-text {
  max-width: 34rem;
  font-size: var(--fs-lg);
  color: var(--c-muted);
}

.hero-media {
  position: relative;
  z-index: 1;
}

.hero-media .photo img {
  aspect-ratio: 4 / 3;
}

.hero .deco--leaf {
  top: -40px;
  left: -90px;
  rotate: 160deg;
  opacity: 0.55;
}

.hero .deco--hibiscus {
  top: -32px;
  right: -18px;
  z-index: 2;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1.08fr;
  }

  .hero-media .photo img {
    aspect-ratio: 5 / 4;
  }
}

/* Mobile: lead with the food, the logo overlaps the photo */
@media (max-width: 899.98px) {
  .hero-grid {
    gap: 0;
  }

  .hero-media {
    order: -1;
  }

  .hero-media .photo img {
    max-height: 62vh;
  }

  .hero-brand {
    position: relative;
    z-index: 3;
    margin-top: -3.5rem;
    margin-left: 0.5rem;
  }

  .hero-tagline {
    margin-top: 2.5rem;
  }
}

@media (max-width: 599.98px) {
  .hero .btn-row,
  .page-hero .btn-row {
    gap: var(--space-md);
  }

  .hero .btn-row .btn {
    flex: 1 1 100%;
  }

  .brand-name small {
    display: none;
  }
}

@media (max-width: 899.98px) {
  .hero .deco--leaf {
    left: auto;
    right: -110px;
    top: auto;
    bottom: 32%;
    rotate: 20deg;
    opacity: 0.4;
  }
}

/* Live open / closed indicator */
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem 0.45rem 0.8rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: rgb(0 0 0 / 0.35);
  font-size: var(--fs-sm);
  line-height: 1.3;
}

.status[hidden] {
  display: none;
}

.status-dot {
  flex: none;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--c-muted);
}

.status strong {
  font-family: var(--ff-head);
  font-weight: 400;
  font-size: 1.05em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status.is-open .status-dot {
  background: #3ddc6a;
  box-shadow: 0 0 0 0 rgb(61 220 106 / 0.6);
}

.status.is-open strong {
  color: #6ff08f;
}

.status.is-closed .status-dot {
  background: var(--c-red);
}

@media (prefers-reduced-motion: no-preference) {
  .status.is-open .status-dot {
    animation: pulse 2s infinite;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 9px rgb(61 220 106 / 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgb(61 220 106 / 0);
  }
}

/* --------------------------------------------------------------------------
   10. Welcome
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  align-items: center;
  gap: var(--space-xl);
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: clamp(3rem, 2rem + 4vw, 6rem);
  }

  .split--reverse > :first-child {
    order: 2;
  }
}

.welcome-media {
  position: relative;
  padding: 0 12% 14% 0;
}

.welcome-media .photo--brush img {
  aspect-ratio: 4 / 3;
}

.welcome-inset {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 38%;
  rotate: 4deg;
}

.welcome-inset img {
  aspect-ratio: 3 / 4;
  border: 5px solid var(--c-cream);
  border-radius: var(--radius-md);
}

.welcome-copy .section-head {
  margin-bottom: var(--space-lg);
}

.welcome-sign {
  margin-top: var(--space-md);
  font-family: var(--ff-brush);
  font-size: var(--fs-lg);
  color: var(--c-yellow);
}

/* --------------------------------------------------------------------------
   11. Featured food cards
   -------------------------------------------------------------------------- */
.food-grid {
  display: grid;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .food-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .food-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.food-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-rustic);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.food-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.food-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.food-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.food-card:hover .food-card-media img {
  transform: scale(1.06);
}

.food-card-body {
  display: grid;
  align-content: start;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md) var(--space-lg);
}

.food-card-title {
  justify-self: start;
  margin-top: -2.1rem;
  font-size: var(--fs-h3);
}

.food-card-title .paint {
  padding-inline: 0.45em;
}

@media (min-width: 1100px) {
  .food-card-title {
    font-size: clamp(1.45rem, 0.6rem + 1.2vw, 1.9rem);
  }
}

.food-card p {
  color: var(--c-muted);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip-list li {
  padding: 0.15rem 0.65rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  font-size: var(--fs-sm);
  color: var(--c-text);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

.featured .deco--leaf {
  right: -120px;
  top: 40px;
  rotate: 200deg;
  opacity: 0.45;
}

/* --------------------------------------------------------------------------
   11b. Reviews (third-party carousel from reviews.orderchop.com)
   -------------------------------------------------------------------------- */
.reviews {
  background:
    radial-gradient(70% 80% at 50% 0%, rgb(29 79 196 / 0.22), transparent 70%),
    var(--noise),
    var(--c-bg);
}

.reviews::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--flag-stripe);
}

/* Reserve space so the late-loading widget doesn't shove the page around */
.reviews-widget {
  min-height: 260px;
}

[data-embed][hidden],
.embed-fallback[hidden] {
  display: none !important;
}

.reviews-fallback {
  display: flex;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   12. Bandeja (sharing)
   -------------------------------------------------------------------------- */
.bandeja-media .photo img {
  aspect-ratio: 16 / 11;
  rotate: -1.5deg;
}

.bandeja-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin: var(--space-xs) 0 var(--space-md);
  padding: 0;
  list-style: none;
}

.bandeja-sizes li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px dashed rgb(255 255 255 / 0.3);
  border-radius: var(--radius-sm);
  font-family: var(--ff-head);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bandeja-cta {
  margin-top: var(--space-lg);
}

.bandeja-sizes svg {
  width: 1rem;
  height: 1rem;
  color: var(--c-yellow);
}

/* --------------------------------------------------------------------------
   13. Desserts — chalkboard on a wooden table
   -------------------------------------------------------------------------- */
.dessert {
  background-color: var(--c-wood);
  background-image:
    linear-gradient(180deg, var(--c-bg) 0, rgb(18 17 17 / 0.55) 22%, rgb(18 17 17 / 0.35) 100%),
    var(--noise),
    repeating-linear-gradient(
      90deg,
      #5d3210 0 3px,
      #7a4416 3px 120px,
      #4d290c 120px 123px,
      #84501f 123px 260px,
      #6a3913 260px 263px,
      #774216 263px 400px
    );
}

.chalkboard {
  position: relative;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  border: 10px solid #5a3212;
  border-radius: var(--radius-md);
  background: #191a19 var(--noise);
  box-shadow: inset 0 0 50px rgb(0 0 0 / 0.65), var(--shadow-lg);
}

.chalkboard-list {
  display: grid;
  gap: var(--space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}

.chalkboard-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  align-items: center;
  gap: var(--space-md);
}

.chalkboard-item svg {
  width: 100%;
  height: auto;
}

.chalkboard-item h3 {
  font-size: var(--fs-h3);
}

.chalkboard-item p {
  font-family: var(--ff-brush);
  color: var(--c-yellow);
  font-size: var(--fs-sm);
}

.chalkboard .flag-rule {
  margin-bottom: var(--space-lg);
}

/* --------------------------------------------------------------------------
   14. Location + hours
   -------------------------------------------------------------------------- */
.info-card {
  position: relative;
  display: grid;
  gap: var(--space-lg);
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface) var(--noise);
  box-shadow: var(--shadow-lg);
}

.info-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-md);
}

.info-icon {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--c-red);
  color: #fff;
}

.info-icon--blue {
  background: var(--c-blue);
}

.info-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.info-label {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--ff-head);
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.info-row a {
  text-decoration-color: rgb(255 255 255 / 0.4);
  text-underline-offset: 3px;
}

.info-row a:hover {
  text-decoration-color: var(--c-yellow);
}

.hours-list {
  display: grid;
  gap: 0.15rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 1rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  border-bottom: 1px dashed var(--c-line);
}

.hours-list li:last-child {
  border-bottom: 0;
}

.hours-list .day {
  font-weight: 700;
}

.hours-list .closed {
  color: var(--c-muted);
}

.hours-list li.is-today {
  background: rgb(246 200 30 / 0.12);
  box-shadow: inset 4px 0 0 var(--c-yellow);
}

.location-media .photo img {
  aspect-ratio: 16 / 10;
}

.location-media .deco--hibiscus {
  right: -20px;
  bottom: -30px;
  z-index: 2;
}

.location .btn-row {
  gap: var(--space-md) var(--space-lg);
}

/* --------------------------------------------------------------------------
   15. Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  padding-block: clamp(5rem, 3rem + 8vw, 9rem);
  overflow: clip;
  text-align: center;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.15), rgb(0 0 0 / 0.35)),
    var(--noise),
    var(--c-red);
}

.final-cta::before,
.final-cta::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 10px;
  background: var(--flag-stripe);
}

.final-cta::before {
  top: 0;
}

.final-cta::after {
  bottom: 0;
}

.final-cta-inner {
  display: grid;
  justify-items: center;
  gap: var(--space-lg);
}

.final-cta-title {
  font-size: var(--fs-mega);
  line-height: 0.95;
  text-shadow: 0 6px 0 var(--c-red-deep), 0 14px 30px rgb(0 0 0 / 0.4);
}

.final-cta-title .flag {
  width: 0.9em;
  height: 0.6em;
  vertical-align: 0.12em;
}

.final-cta p {
  max-width: 34rem;
  font-size: var(--fs-lg);
  font-weight: 600;
}

.final-cta .deco--leaf {
  opacity: 0.85;
}

.final-cta .deco--leaf:first-of-type {
  left: -110px;
  bottom: -60px;
  rotate: 10deg;
}

.final-cta .deco--leaf:nth-of-type(2) {
  right: -120px;
  top: -50px;
  rotate: 190deg;
}

.final-cta .deco--hibiscus {
  right: 8%;
  bottom: 12%;
}

@media (max-width: 699.98px) {
  .final-cta .deco--leaf {
    opacity: 0.4;
  }

  .final-cta .deco--hibiscus {
    right: -24px;
    bottom: -20px;
    width: 96px;
  }
}

/* --------------------------------------------------------------------------
   16. Contact page
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem);
  overflow: clip;
  background:
    radial-gradient(60% 80% at 90% 30%, rgb(29 79 196 / 0.22), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgb(209 35 42 / 0.16), transparent 70%);
}

.page-hero .hero-copy {
  max-width: 38rem;
}

.page-hero .hero-grid {
  gap: var(--space-xl);
}

.page-hero .deco--leaf {
  top: -60px;
  right: -110px;
  rotate: 200deg;
  opacity: 0.55;
}

.page-hero .deco--hibiscus {
  top: auto;
  bottom: -30px;
  right: -10px;
  z-index: 2;
}

.contact-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 760px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .contact-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .contact-grid > :nth-child(-n + 2) {
    grid-column: span 3;
  }

  .contact-grid > :nth-child(n + 3) {
    grid-column: span 2;
  }
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-rustic);
  background: var(--c-surface) var(--noise);
  box-shadow: var(--shadow-sm);
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  border-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--card-accent, var(--c-red));
}

.contact-card--blue {
  --card-accent: var(--c-blue);
}

.contact-card--yellow {
  --card-accent: var(--c-yellow);
}

.contact-card h2 {
  font-size: var(--fs-h3);
}

.contact-card p {
  color: var(--c-muted);
}

.contact-card .btn {
  margin-top: auto;
}

.contact-card .hours-list {
  align-self: stretch;
}

.contact-big {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--c-text);
  text-decoration: none;
}

a.contact-big:hover {
  color: var(--c-yellow);
}

.contact-address {
  font-size: var(--fs-lg);
  line-height: 1.45;
}

.contact-address strong {
  display: block;
  font-family: var(--ff-head);
  font-weight: 400;
  font-size: 1.3em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Large social links */
.social-big {
  display: grid;
  gap: var(--space-sm);
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-big a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-height: 3.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: rgb(0 0 0 / 0.25);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), background-color 0.25s, border-color 0.25s;
}

.social-big a:hover {
  transform: translateX(4px);
  border-color: var(--c-yellow);
  background: rgb(0 0 0 / 0.45);
}

.social-big .social-icon {
  width: 2.5rem;
  height: 2.5rem;
}

.social-big a > span:last-child {
  margin-left: auto;
  font-weight: 400;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

/* --------------------------------------------------------------------------
   16b. Menu page
   -------------------------------------------------------------------------- */
/* Anchor jumps land below both sticky bars */
html:has(.menu-nav) {
  scroll-padding-top: calc(var(--header-h) + var(--menu-nav-h) + 1rem);
}

:root {
  --menu-nav-h: 64px;
}

.menu-hero {
  position: relative;
  padding-block: clamp(2rem, 1.25rem + 3vw, 4rem);
  overflow: clip;
  background:
    radial-gradient(60% 90% at 90% 20%, rgb(209 35 42 / 0.2), transparent 70%),
    radial-gradient(50% 80% at 0% 100%, rgb(29 79 196 / 0.2), transparent 70%);
}

.menu-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: var(--space-md);
}

.menu-hero .deco--hibiscus {
  top: 1.5rem;
  right: 4%;
}

@media (max-width: 599.98px) {
  .menu-hero .deco--hibiscus {
    top: auto;
    bottom: -24px;
    right: -18px;
    width: 90px;
  }
}

/* Sticky category bar */
.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: rgb(18 17 17 / 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 10px 24px rgb(0 0 0 / 0.35);
}

.menu-nav .container {
  width: 100%;
  max-width: var(--max-w);
}

.menu-nav-list {
  display: flex;
  justify-content: safe center;
  gap: 0.35rem;
  min-height: var(--menu-nav-h);
  margin: 0;
  padding: 0.6rem var(--gutter);
  align-items: center;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.menu-nav-list::-webkit-scrollbar {
  display: none;
}

/* Fade the edges on narrow screens to hint that the bar scrolls */
@media (max-width: 1099.98px) {
  .menu-nav-list {
    justify-content: flex-start;
    -webkit-mask: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 2.5rem), transparent);
    mask: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - 2.5rem), transparent);
  }

  .menu-nav-list li:last-child {
    padding-right: 1.5rem;
  }
}

.menu-nav-list li {
  flex: none;
  scroll-snap-align: start;
}

.menu-nav-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-family: var(--ff-head);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-muted);
  transition: color 0.2s;
}

.menu-nav-link::before {
  content: "";
  position: absolute;
  inset: 0.1rem -0.15rem;
  z-index: -1;
  background: var(--c-red);
  -webkit-mask: var(--brush) center / 100% 100% no-repeat;
  mask: var(--brush) center / 100% 100% no-repeat;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.menu-nav-link:hover {
  color: var(--c-text);
}

.menu-nav-link[aria-current="true"] {
  color: #fff;
}

.menu-nav-link[aria-current="true"]::before {
  transform: scaleX(1);
}

/* Category cards */
.menu-body {
  padding-top: var(--space-xl);
}

/* One category per row so every bar link maps to its own scroll position */
.menu-grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 820px;
  margin-inline: auto;
}

.menu-cat {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-rustic);
  background: var(--c-surface) var(--noise);
  box-shadow: var(--shadow-sm);
}

.menu-cat-title {
  margin-bottom: var(--space-md);
  font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem);
}

.menu-cat-title .paint {
  padding-inline: 0.4em;
}

.menu-items {
  display: grid;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-block: 0.45rem;
  font-size: var(--fs-lg);
}

.menu-item-name {
  font-weight: 700;
}

.menu-item-leader {
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 3px dotted rgb(255 255 255 / 0.3);
  transform: translateY(-0.3em);
}

.menu-item-price {
  font-family: var(--ff-head);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: var(--c-yellow);
}

.menu-note {
  margin-top: var(--space-xl);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}

.menu-note a:hover {
  color: var(--c-yellow);
}

/* --------------------------------------------------------------------------
   16c. Order-direct landing pages (/doordash/, /grubhub/, …)
   -------------------------------------------------------------------------- */
.fee-compare {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 860px) {
  .fee-compare {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.fee-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--space-md);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-rustic);
  background: var(--c-surface) var(--noise);
  box-shadow: var(--shadow-sm);
}

.fee-card--direct {
  border-color: rgb(246 200 30 / 0.45);
  box-shadow: 0 0 0 1px rgb(246 200 30 / 0.15), var(--shadow-lg);
}

.fee-card h3 {
  font-size: var(--fs-h3);
}

.fee-card-sub {
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

.fee-rows {
  display: grid;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

.fee-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 1rem;
  align-items: baseline;
}

.fee-row-label {
  font-weight: 600;
}

.fee-row-value {
  font-family: var(--ff-head);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.fee-bar {
  grid-column: 1 / -1;
  height: 0.7rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  overflow: hidden;
}

.fee-bar span {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--bar, var(--c-red));
}

.fee-total {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.25rem 1rem;
  padding-top: var(--space-md);
  border-top: 2px dashed var(--c-line);
  font-family: var(--ff-head);
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.fee-total strong {
  font-weight: 400;
  color: #ff6b6b;
}

.fee-card--direct .fee-row-value,
.fee-card--direct .fee-total strong {
  color: var(--c-yellow);
}

.fee-summary {
  max-width: 46rem;
  margin: var(--space-xl) auto 0;
  font-size: var(--fs-lg);
  text-align: center;
  color: var(--c-muted);
}

.fee-summary strong {
  color: var(--c-text);
}

.fee-disclaimer {
  max-width: 52rem;
  margin: var(--space-lg) auto 0;
  font-size: 0.85rem;
  text-align: center;
  color: var(--c-muted);
  opacity: 0.85;
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .fee-bar span {
    width: 0;
    transition: width 1s var(--ease-out) 0.3s;
  }

  .js [data-reveal].is-visible .fee-bar span {
    width: var(--w, 0%);
  }
}

/* Thank-you copy */
.thanks-copy {
  max-width: 46rem;
}

/* Local impact points */
.local-points {
  display: grid;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 0;
  padding: 0;
  list-style: none;
}

.local-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: rgb(0 0 0 / 0.25);
  color: var(--c-text);
  font-weight: 600;
}

.local-points svg {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  color: var(--c-yellow);
}

/* "Start here" picks */
.pick-list {
  display: grid;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .pick-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pick {
  display: grid;
  gap: 0.5rem;
  height: 100%;
  padding: var(--space-lg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-rustic);
  background: var(--c-surface) var(--noise);
}

.pick-cat {
  font-family: var(--ff-brush);
  font-size: var(--fs-sm);
  color: var(--c-yellow);
}

.pick h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
}

.pick p {
  color: var(--c-muted);
}

.pick-price {
  font-family: var(--ff-head);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--c-yellow);
}

/* --------------------------------------------------------------------------
   16d. Areas we deliver (hub + town pages)
   -------------------------------------------------------------------------- */
.breadcrumb {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-lg);
  font-size: var(--fs-sm);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--c-muted);
}

.breadcrumb a {
  color: var(--c-muted);
  text-underline-offset: 3px;
}

.breadcrumb a:hover {
  color: var(--c-yellow);
}

.breadcrumb a[aria-current="page"] {
  color: var(--c-text);
  text-decoration: none;
}

.distance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: rgb(0 0 0 / 0.35);
  font-size: var(--fs-sm);
  font-weight: 600;
}

.distance-badge svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--c-yellow);
}

/* Delivery radius map */
.map-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-sm);
  padding: clamp(1rem, 0.5rem + 2vw, 1.75rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-surface) var(--noise);
  box-shadow: var(--shadow-lg);
}

.radius-map {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-inline: auto;
  overflow: visible;
  font-family: var(--ff-body);
}

.map-ring {
  fill: rgb(29 79 196 / 0.18);
  stroke: var(--c-yellow);
  stroke-width: 2.5;
  stroke-dasharray: 8 7;
}

.map-ring--inner {
  fill: rgb(29 79 196 / 0.12);
  stroke: rgb(255 255 255 / 0.25);
  stroke-width: 1.5;
}

.map-scale {
  fill: var(--c-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-town circle {
  fill: var(--c-cream);
  stroke: var(--c-ink);
  stroke-width: 3;
}

.map-town text {
  fill: var(--c-text);
  font-size: 17px;
  font-weight: 700;
  paint-order: stroke;
  stroke: var(--c-ink);
  stroke-width: 4px;
  stroke-linejoin: round;
}

.map-town.is-current circle {
  fill: var(--c-red);
  stroke: #fff;
}

.map-town.is-current text {
  fill: var(--c-yellow);
  font-size: 19px;
}

.map-truck circle {
  fill: var(--c-red);
  stroke: #fff;
  stroke-width: 3;
}

.map-truck use {
  color: #fff;
}

.map-truck text {
  fill: var(--c-yellow);
  font-family: var(--ff-brush);
  font-size: 16px;
  paint-order: stroke;
  stroke: var(--c-ink);
  stroke-width: 4px;
}

.map-note {
  font-size: 0.85rem;
  text-align: center;
  color: var(--c-muted);
}

/* Town cards */
.area-grid {
  display: grid;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .area-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .area-grid--four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.area-card {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  height: 100%;
  padding: var(--space-lg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-rustic);
  background: var(--c-surface) var(--noise);
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.area-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-yellow);
  box-shadow: var(--shadow-lg);
}

.area-card-dist {
  font-family: var(--ff-brush);
  font-size: var(--fs-sm);
  color: var(--c-yellow);
}

.area-card-name {
  font-family: var(--ff-head);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  line-height: 1.05;
  text-transform: uppercase;
}

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

.area-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--c-text);
}

.area-card-link svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--c-red);
  transition: transform 0.25s var(--ease-out);
}

.area-card:hover .area-card-link svg {
  transform: translateX(4px);
}

.area-help {
  max-width: 40rem;
  margin: var(--space-xl) auto 0;
  text-align: center;
  color: var(--c-muted);
}

.area-help a {
  color: var(--c-text);
}

.area-help a:hover {
  color: var(--c-yellow);
}

/* --------------------------------------------------------------------------
   16e. Feedback page (third-party review form)
   -------------------------------------------------------------------------- */
.feedback-intro {
  max-width: 44rem;
}

.feedback-grid {
  display: grid;
  gap: var(--space-xl);
  align-items: start;
}

@media (min-width: 960px) {
  .feedback-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

/* Light card: keeps the embedded form readable whatever its default theme */
.feedback-card {
  position: relative;
  padding: clamp(1.25rem, 0.75rem + 2.5vw, 2.5rem);
  border-radius: var(--radius-rustic);
  background: var(--c-cream);
  color: var(--c-ink);
  box-shadow: var(--shadow-lg);
  color-scheme: light;
}

.feedback-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  border-radius: var(--radius-rustic);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: var(--flag-stripe);
}

.feedback-form {
  min-height: 330px;
}

.feedback-card .embed-fallback {
  display: grid;
  gap: var(--space-lg);
  font-size: var(--fs-lg);
}

.feedback-aside {
  display: grid;
  gap: var(--space-md);
}

.feedback-note {
  padding: var(--space-lg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  background: var(--c-surface) var(--noise);
}

.feedback-note h2 {
  margin-bottom: var(--space-xs);
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem);
}

.feedback-note p {
  color: var(--c-muted);
}

.feedback-note a {
  color: var(--c-text);
  text-underline-offset: 3px;
}

.feedback-note a:hover {
  color: var(--c-yellow);
}

/* --------------------------------------------------------------------------
   17. Social icons (shared)
   -------------------------------------------------------------------------- */
.social-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--icon-bg, var(--c-blue));
  color: #fff;
}

.social-icon svg {
  width: 50%;
  height: 50%;
}

.social-icon--facebook {
  --icon-bg: #1877f2;
}

.social-icon--tiktok {
  --icon-bg: #000;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.25), -2px 0 0 #25f4ee, 2px 0 0 #fe2c55;
}

.social-icon--google {
  --icon-bg: #fff;
  color: #4285f4;
}

.social-list {
  display: flex;
  gap: var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-list a {
  display: block;
  border-radius: 50%;
  transition: transform 0.25s var(--ease-out);
}

.social-list a:hover {
  transform: translateY(-3px) rotate(-6deg);
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  padding-block: var(--space-xl) var(--space-lg);
  background: #0c0c0c var(--noise);
  color: var(--c-muted);
  font-size: var(--fs-sm);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--flag-stripe);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg) var(--space-xl);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: var(--space-sm);
}

.footer-brand img {
  width: 120px;
  height: auto;
}

.footer-brand p {
  font-family: var(--ff-brush);
  color: var(--c-yellow);
}

.footer-title {
  margin-bottom: var(--space-sm);
  font-family: var(--ff-head);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--c-text);
  text-transform: uppercase;
}

.footer-list {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list a {
  display: inline-block;
  padding-block: 0.2rem;
  text-decoration: none;
}

.footer-list a:hover,
.site-footer address a:hover {
  color: var(--c-yellow);
  text-decoration: underline;
}

.site-footer address {
  display: grid;
  gap: var(--space-xs);
}

.site-footer address a {
  text-decoration: none;
}

.footer-hours dt {
  color: var(--c-text);
  font-weight: 700;
}

.footer-hours dd {
  margin: 0 0 var(--space-xs);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 1px solid var(--c-line);
}

.footer-bottom .flag {
  width: 1.8rem;
  height: 1.2rem;
}

/* --------------------------------------------------------------------------
   19. Reveal-on-scroll
   Only hides content when JS has loaded and the visitor allows motion.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s);
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  /* Brush strokes "paint" in from the left */
  .js [data-reveal] .brush-tag::before,
  .js [data-reveal] .paint::before {
    transform: scaleX(0) rotate(-1.5deg);
  }

  .js [data-reveal].is-visible .brush-tag::before,
  .js [data-reveal].is-visible .paint::before {
    transform: scaleX(1) rotate(-1.5deg);
  }

  .js [data-reveal].is-visible .brush-tag--blue::before {
    transform: scaleX(1) rotate(1deg);
  }
}
