/* ==========================================================================
   El Pastor — WordPress Theme Styles
   Ported from the React design; font paths and WP-specific overrides added.
   ========================================================================== */

@font-face {
  font-family: "ElPastor";
  src: url("../fonts/dtltelpastor.woff2") format("woff2"),
       url("../fonts/dtltelpastor.woff")  format("woff");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

:root {
  --sky:        #bdd0dc;
  --sky-deep:   #a8becd;
  --sky-tile:   #d0dde6;
  --forest:     #152417;
  --forest-2:   #1c2f1e;
  --yellow:     #f0e754;
  --red:        #e62321;
  --red-deep:   #b91a18;
  --cream:      #f6f1de;
  --cream-2:    #ece5cb;
  --ink:        #0d100d;

  --rail-w:     80px;
  --max:        1240px;
  --gap:        clamp(20px, 3vw, 40px);

  --font-head:  "Anton", "Bebas Neue", "Arial Narrow", sans-serif;
  --font-eye:   "ElPastor", "Anton", sans-serif;
  --font-body:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body[data-heading="elpastor"] { --font-head: "ElPastor", "Anton", sans-serif; }
body[data-heading="anton"]    { --font-head: "Anton", "Bebas Neue", sans-serif; }

body                            { background: var(--sky); color: var(--forest); }
body[data-bg="sky"]             { background: var(--sky); }
body[data-bg="cream"]           { background: var(--cream); }
body[data-bg="cream"] .hero__tiles { opacity: 0.5; }

/* ==========================================================================
   Base
   ========================================================================== */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  color: var(--forest);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

body:has(.site--has-rail) { padding-right: var(--rail-w); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal--in { opacity: 1; transform: none; }

/* ==========================================================================
   WordPress Admin Bar Offsets
   ========================================================================== */

body.admin-bar .topbar           { top: calc(14px + 32px); }
body.admin-bar .rail             { top: 32px; }
body.admin-bar .res-modal        { /* modal centers in viewport — no offset needed */ }

@media (max-width: 782px) {
  body.admin-bar .topbar         { top: calc(10px + 46px); }
  body.admin-bar .rail           { top: auto; } /* rail is at bottom on mobile — admin bar doesn't affect it */
}

/* ==========================================================================
   Top bar  —  floating pill
   ========================================================================== */

.topbar {
  position: fixed;
  top: 14px;
  left: clamp(14px, 2vw, 24px);
  right: clamp(14px, 2vw, 24px);
  z-index: 30;
  display: grid;
  /* Brand, then the nav taking the slack, then however many small items
     follow — language switcher, social icons, the button. grid-auto-flow
     keeps them on one row instead of needing a :has() rule per combination. */
  grid-auto-flow: column;
  grid-template-columns: auto 1fr;
  grid-auto-columns: auto;
  align-items: center;
  gap: 18px;
  height: 65px;
  padding: 0 20px 0 44px;
  background: color-mix(in oklab, var(--cream) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 2px solid var(--forest);
  border-radius: 999px;
  box-shadow: 0 4px 0 0 var(--forest), 0 14px 32px -18px rgba(21,36,23,0.35);
  transition:
    right 380ms cubic-bezier(.2,.7,.2,1),
    height 280ms cubic-bezier(.2,.7,.2,1),
    padding 280ms cubic-bezier(.2,.7,.2,1),
    gap 280ms cubic-bezier(.2,.7,.2,1),
    box-shadow 280ms;
}
.topbar.topbar--scrolled {
  right: auto;
  width: max-content;
  max-width: calc(100vw - 28px);
  height: 50px;
  padding: 0 6px 0 16px;
  gap: 14px;
  box-shadow: 0 3px 0 0 var(--forest), 0 12px 26px -16px rgba(21,36,23,0.4);
}
body:has(.site--has-rail) .topbar.topbar--scrolled { max-width: calc(100vw - var(--rail-w) - 28px); }
.topbar--scrolled .topbar__brand img { height: 22px; }
.topbar--scrolled .topbar__nav { gap: 16px; font-size: 11.5px; letter-spacing: 0.12em; }
.topbar--scrolled .topbar__cta { padding: 8px 14px; font-size: 11.5px; letter-spacing: 0.12em; }
body[data-bg="cream"] .topbar { background: color-mix(in oklab, var(--sky) 92%, transparent); }
body:has(.site--has-rail) .topbar { right: calc(var(--rail-w) + clamp(14px, 2vw, 24px)); }

.topbar__brand { display: inline-flex; }
.topbar__brand img { height: 40px; width: auto; }

.topbar__nav {
  display: flex; gap: 26px;
  justify-content: center; align-items: center; align-self: stretch;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 18.5px;
  line-height: 1;
}
.topbar__nav a {
  text-decoration: none;
  color: var(--forest);
  position: relative;
  padding: 6px 4px;
  transition: color 200ms;
}
.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 22px; height: 2px;
  background: var(--red);
  transition: transform 240ms cubic-bezier(.2,.85,.25,1);
}
.topbar__nav a:hover { color: var(--red); }
.topbar__nav a:hover::after { transform: translateX(-50%) scaleX(1); }

.topbar__cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow);
  color: var(--forest);
  text-decoration: none;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--forest);
  transition: transform 180ms, box-shadow 180ms;
  white-space: nowrap;
}
.topbar__cta-icon { display: none; }
.topbar__cta:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 0 var(--forest); }

/* Mobile hamburger — hidden on desktop */
.topbar__menu-btn { display: none; }
.topbar__menu-bar {
  display: block;
  width: 16px; height: 2px;
  background: var(--forest);
  border-radius: 2px;
  transition: transform 220ms cubic-bezier(.2,.85,.25,1), opacity 180ms;
}

/* Mobile full-screen menu modal — hidden on desktop */
.mobile-menu { display: none; }

body:has(.site--has-rail) .footer__inner { padding-right: var(--rail-w); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 104px clamp(24px, 6vw, 72px) 64px;
  isolation: isolate;
  overflow: hidden;
}
.hero__tiles {
  position: absolute; inset: 0;
  background-image: url("../images/tiles-bg.png");
  background-repeat: repeat;
  background-size: 240px 240px;
  opacity: 0.7;
  z-index: -2;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 55%, transparent 0%, color-mix(in oklab, var(--sky) 90%, transparent) 100%);
  z-index: -1;
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max); width: 100%;
  display: grid;
  gap: clamp(16px, 2.2vh, 28px);
  justify-items: center;
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 14px;
  padding: 8px 18px;
  background: color-mix(in oklab, var(--cream) 70%, transparent);
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  animation: fade-in 800ms 80ms backwards;
}
.hero__eyebrow i { font-style: normal; color: var(--red); }

.hero__display {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(52px, 10.5vw, 156px);
  line-height: 0.84;
  letter-spacing: -0.01em;
  color: var(--forest);
  display: grid; justify-items: center;
}
.hero__display-row { display: inline-flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.hero__display-row--top { animation: slide-up 900ms 120ms backwards; }
.hero__display-row--mid {
  color: var(--red);
  font-size: clamp(58px, 12vw, 180px);
  line-height: 0.7;
  /* Pulls the two text lines up and down onto the dog, so it overlaps both. */
  margin: clamp(-48px, -3.2vw, -14px) 0;
  position: relative;
  z-index: 2;
  animation: slide-up 900ms 220ms backwards;
}
.hero__display-row--bot { animation: slide-up 900ms 320ms backwards; }
.hero__display-amp {
  font-style: italic;
  font-family: "Inter", serif;
  font-weight: 300;
  font-size: 0.6em;
  color: var(--forest);
  transform: translateY(-0.08em);
}
.hero__dog-wrap {
  display: inline-flex; align-items: center; justify-content: center;
  width: clamp(104px, 12.5vw, 186px);
  height: clamp(104px, 12.5vw, 186px);
  margin: 0 clamp(4px, 1vw, 16px);
  animation: dog-pop 1100ms 320ms cubic-bezier(.2,1.6,.5,1) backwards;
}
.hero__dog { width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 60%; }
.hero__dog-wrap:hover .hero__dog { animation: wiggle 600ms ease-in-out; }

@keyframes slide-up   { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes fade-in    { from { opacity: 0; } to { opacity: 1; } }
@keyframes dog-pop    { from { opacity: 0; transform: scale(0.4) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes wiggle     { 0% { transform: rotate(0); } 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } 100% { transform: rotate(0); } }

.hero__meta {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 36px);
  margin-top: clamp(8px, 2vh, 24px);
  animation: fade-in 900ms 600ms backwards;
}
.hero__meta-block { display: grid; gap: 4px; width: 200px; }
.hero__meta-block--left { text-align: left; }
.hero__meta-block--right { text-align: right; }

.hero__meta-label {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: color-mix(in oklab, var(--forest) 65%, transparent);
}
.hero__meta-value { font-weight: 600; font-size: 15px; }
.hero__meta-divider {
  width: 1.5px; height: 32px;
  background: color-mix(in oklab, var(--forest) 30%, transparent);
}
.hero__cta-row {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  animation: fade-in 900ms 720ms backwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 14px;
  text-decoration: none;
  transition: transform 200ms, box-shadow 200ms, background 200ms;
  border: 2px solid var(--forest);
  white-space: nowrap;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--yellow); color: var(--forest); }
.btn--primary:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 0 var(--forest); }
.btn--ghost { background: transparent; color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); }

.hero__scroll {
  position: absolute;
  bottom: 22px; left: 50%; transform: translateX(-50%);
  display: inline-grid; gap: 8px; justify-items: center;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 11px;
  color: color-mix(in oklab, var(--forest) 65%, transparent);
  text-decoration: none;
  animation: fade-in 1000ms 1000ms backwards;
}
.hero__scroll-line {
  width: 1.5px; height: 38px;
  background: color-mix(in oklab, var(--forest) 60%, transparent);
  position: relative; overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute; left: 0; right: 0; top: -100%;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--red));
  animation: scroll-trickle 1700ms ease-in-out infinite;
}
@keyframes scroll-trickle {
  0%   { top: -60%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}

/* ==========================================================================
   Sections
   ========================================================================== */

.section {
  padding: clamp(60px, 10vh, 120px) clamp(24px, 6vw, 72px);
  position: relative;
}
.section__inner { max-width: var(--max); margin: 0 auto; }
.section__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 860px) { .section__inner--split { grid-template-columns: 1fr; } }

.section__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vh, 64px); max-width: 800px; }

.eyebrow {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 13px;
  color: color-mix(in oklab, var(--forest) 70%, transparent);
}
.eyebrow--cream { color: color-mix(in oklab, var(--cream) 80%, transparent); }

.display {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
.display em { font-style: normal; color: var(--red); }
.display--xl { font-size: clamp(40px, 7vw, 96px); }
.display--cream { color: var(--cream); }
.display--cream em { color: var(--yellow); }

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 56ch;
  color: color-mix(in oklab, var(--forest) 88%, transparent);
  margin: 0;
}

/* ==========================================================================
   Hours
   ========================================================================== */

.section--hours { background: transparent; }
.hours__list {
  list-style: none;
  padding: 12px; margin: 0;
  display: grid; gap: 4px;
  background: var(--cream);
  border: 2px solid var(--forest);
  border-radius: 14px;
  box-shadow: 8px 8px 0 0 var(--forest);
}
.hours__row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 16px;
  transition: background 200ms;
}
.hours__row:hover { background: color-mix(in oklab, var(--forest) 6%, transparent); }
.hours__day {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  font-size: 15px;
}
.hours__bar {
  height: 10px;
  background: color-mix(in oklab, var(--forest) 8%, transparent);
  border-radius: 6px; overflow: hidden; position: relative;
}
.hours__bar-fill {
  display: block; height: 100%;
  background: var(--forest);
  width: 0;
  transition: width 900ms cubic-bezier(.2,.7,.2,1) 200ms;
}
/* Bar widths are now set via inline style (proportional to actual hours open).
   Only the colors are declared here; transition animates from width:0 to the inline target. */
.reveal--in .hours__row--open    .hours__bar-fill { background: var(--forest); }
.reveal--in .hours__row--special .hours__bar-fill { background: var(--yellow); }
.reveal--in .hours__row--closed  .hours__bar-fill { background: var(--red); }

.hours__state {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: color-mix(in oklab, var(--forest) 80%, transparent);
  white-space: nowrap;
}
.hours__row--closed  .hours__state { color: var(--red); }
.hours__row--special .hours__state {
  color: var(--forest);
  background: var(--yellow);
  padding: 3px 10px;
  border-radius: 999px;
}
/* Hours intro — heading + tiger side by side */
.hours__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin-bottom: clamp(36px, 6vh, 64px);
}
.hours__intro .section__head {
  margin-bottom: 0; /* margin handled by .hours__intro */
}
.hours__tiger {
  width: clamp(120px, 14vw, 200px);
  flex-shrink: 0;
  align-self: center;
}
.hours__tiger img { width: 100%; height: auto; display: block; }

/* Week navigation — label + prev/next arrows */
.hours__week-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hours__week-label {
  flex: 1;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 14px;
  color: color-mix(in oklab, var(--forest) 55%, transparent);
}

.hours__week-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1.5px solid var(--forest);
  background: transparent;
  color: var(--forest);
  font-size: 16px;
  line-height: 1;
  font-family: var(--font-body);
  padding: 0;
  transition: background 180ms, color 180ms, transform 180ms, box-shadow 180ms;
  cursor: pointer;
  flex-shrink: 0;
}
.hours__week-btn:hover:not(:disabled) {
  background: var(--yellow);
  transform: translate(-1px, -1px);
  box-shadow: 2px 2px 0 0 var(--forest);
}
.hours__week-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
  border-color: color-mix(in oklab, var(--forest) 40%, transparent);
}

/* Loading state — dim the list while fetching */
.section--hours.hours--loading .hours__list {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 200ms;
}
.section--hours.hours--loading .hours__week-btn {
  opacity: 0.4;
  pointer-events: none;
}

/* Date badge on override rows */
.hours__date-badge {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--forest);
  background: var(--yellow);
  padding: 1px 6px;
  border-radius: 999px;
  vertical-align: middle;
  text-transform: none;
}

/* Clickable row linked to an event */
.hours__row--linked { cursor: pointer; }
.hours__row--linked:hover { background: color-mix(in oklab, var(--forest) 8%, transparent); }
.hours__row-arrow {
  margin-left: 6px;
  font-size: 16px;
  opacity: 0.5;
  font-family: var(--font-body);
  transition: transform 160ms;
}
.hours__row--linked:hover .hours__row-arrow { transform: translateX(3px); opacity: 0.9; }

/* Footer: lights left, legend right */
.hours__footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: 36px;
}

.hours__lights {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 24px;
  max-width: 560px;
}
.hours__lights img { width: 120px; height: auto; }
.hours__lights p { margin: 0; font-size: 15px; color: color-mix(in oklab, var(--forest) 80%, transparent); }
.hours__lights strong { color: var(--forest); font-weight: 700; }
.hours__lights em { font-style: normal; color: var(--red); font-weight: 700; }

/* Legend */
.hours__legend { min-width: 200px; }
.hours__legend-title {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: color-mix(in oklab, var(--forest) 60%, transparent);
  margin: 0 0 10px;
}
.hours__legend-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hours__legend-item { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.hours__legend-dot { width: 28px; height: 8px; border-radius: 4px; flex-shrink: 0; }
.hours__legend-item--open    .hours__legend-dot { background: var(--forest); }
.hours__legend-item--special .hours__legend-dot { background: var(--yellow); border: 1.5px solid color-mix(in oklab, var(--forest) 20%, transparent); }
.hours__legend-item--closed  .hours__legend-dot { background: var(--red); }
.hours__legend-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: color-mix(in oklab, var(--forest) 60%, transparent); max-width: 26ch; }

/* ==========================================================================
   Location
   ========================================================================== */

.loc__copy { display: grid; gap: 20px; }
.loc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; margin: 24px 0 0; }
.loc__cell dt {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: color-mix(in oklab, var(--forest) 60%, transparent);
  margin-bottom: 6px;
}
.loc__cell dd { margin: 0; font-size: 15px; line-height: 1.5; }
.loc__cell a { text-decoration: none; border-bottom: 1.5px solid color-mix(in oklab, var(--forest) 30%, transparent); }
.loc__cell a:hover { color: var(--red); border-bottom-color: var(--red); }
.loc__socials { display: flex; gap: 10px; align-items: center; }
.loc__socials a { display: inline-flex; border: none; transition: transform 200ms; }
.loc__socials img { width: 36px; height: 36px; }
.loc__socials a:hover { transform: translateY(-3px) rotate(-4deg); }
.loc__map {
  position: relative;
  border: 2px solid var(--forest);
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 6 / 5;
  box-shadow: 8px 8px 0 0 var(--forest);
}
.map { position: relative; width: 100%; height: 100%; }
.map__svg { width: 100%; height: 100%; display: block; }
.map__cta {
  position: absolute;
  right: 14px; bottom: 14px;
  background: var(--yellow);
  color: var(--forest);
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid var(--forest);
  text-decoration: none;
  transition: transform 180ms, box-shadow 180ms;
}
.map__cta:hover { transform: translate(-2px,-2px); box-shadow: 3px 3px 0 0 var(--forest); }

/* ==========================================================================
   Story
   ========================================================================== */

.section--story {
  background: var(--forest);
  color: var(--cream);
  margin: 80px 0;
  border-block: 2px solid var(--forest);
}
.story__head { display: grid; gap: 18px; max-width: 900px; margin-bottom: 48px; }
.story__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
@media (max-width: 860px) { .story__grid { grid-template-columns: 1fr; gap: 28px; } }
.story__col {
  border-top: 2px solid color-mix(in oklab, var(--cream) 30%, transparent);
  padding-top: 20px;
}
.story__col h3 {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  margin: 0 0 14px;
  color: var(--yellow);
}
.story__col p {
  margin: 0;
  color: color-mix(in oklab, var(--cream) 88%, transparent);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  grid-auto-rows: 180px;
}
.tile {
  margin: 0;
  border: 2px solid var(--forest);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  background: var(--cream);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}
.tile:hover { transform: translateY(-4px); }
.tile__media { flex: 1; position: relative; overflow: hidden; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile__placeholder {
  position: absolute; inset: 0;
  display: grid; align-content: center; justify-items: center; gap: 4px;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  background: repeating-linear-gradient(
    135deg,
    color-mix(in oklab, var(--forest) 6%, transparent) 0 8px,
    transparent 8px 18px
  );
  color: color-mix(in oklab, var(--forest) 60%, transparent);
}
.tile__placeholder span:nth-child(2) { font-size: 14px; color: var(--forest); font-weight: 700; letter-spacing: 0.1em; }
.tile figcaption {
  padding: 12px 14px;
  display: grid;
  border-top: 2px solid var(--forest);
  background: var(--cream-2);
  gap: 2px;
}
.tile figcaption strong {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 13px;
  font-weight: 600;
}
.tile figcaption span { font-size: 13px; color: color-mix(in oklab, var(--forest) 70%, transparent); }

.tile--red    { background: var(--red);    color: var(--cream); }
.tile--red    .tile__placeholder { background-color: var(--red); color: color-mix(in oklab, var(--cream) 60%, transparent); }
.tile--red    figcaption { background: var(--red-deep); color: var(--cream); }
.tile--yellow .tile__placeholder { background-color: var(--yellow); color: color-mix(in oklab, var(--forest) 70%, transparent); }
.tile--forest { background: var(--forest); color: var(--cream); }
.tile--forest .tile__placeholder { background-color: var(--forest); color: color-mix(in oklab, var(--cream) 60%, transparent); }
.tile--forest figcaption { background: #0d160e; color: var(--cream); }
.tile--sky    { background: var(--sky-deep); }
.tile--sky    .tile__placeholder { background-color: var(--sky-deep); }
.tile--cream  { background: var(--cream); }

.gallery__grid > .tile:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery__grid > .tile:nth-child(2) { grid-column: span 4; grid-row: span 1; }
.gallery__grid > .tile:nth-child(3) { grid-column: span 3; grid-row: span 1; }
.gallery__grid > .tile:nth-child(4) { grid-column: span 3; grid-row: span 1; }
.gallery__grid > .tile:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.gallery__grid > .tile:nth-child(6) { grid-column: span 7; grid-row: span 1; }

@media (max-width: 860px) {
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery__grid > .tile { grid-column: span 1 !important; grid-row: span 1 !important; }
  .gallery__grid > .tile:nth-child(1) { grid-column: span 2 !important; grid-row: span 2 !important; }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { padding: 36px clamp(24px, 6vw, 72px) 48px; border-top: 1px solid color-mix(in oklab, var(--forest) 20%, transparent); }
.footer__inner { max-width: var(--max); margin: 0 auto; display: grid; gap: 12px; justify-items: center; text-align: center; }
.footer__mark { height: 28px; opacity: 0.85; }
.footer__line { margin: 0; font-size: 14px; }
.footer__fine {
  margin: 0;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: color-mix(in oklab, var(--forest) 55%, transparent);
}

/* ==========================================================================
   Menu PDF section
   ========================================================================== */

.section--menupdf { padding-top: clamp(40px, 8vh, 80px); padding-bottom: clamp(40px, 8vh, 80px); }
.menupdf {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 320px);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.menupdf--flip { grid-template-columns: minmax(220px, 320px) 1fr; }
.menupdf--flip > .menupdf__copy { order: 2; }
.menupdf--flip > .menupdf__card { order: 1; }
@media (max-width: 760px) {
  .menupdf, .menupdf--flip { grid-template-columns: 1fr; gap: 28px; }
  /* On a phone the words come first, whichever way the desktop order runs. */
  .menupdf--flip > .menupdf__copy { order: 1; }
  .menupdf--flip > .menupdf__card { order: 2; }
}
.menupdf__copy { display: grid; gap: 16px; align-content: start; }
.menupdf__cta-row { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 6px; }
.menupdf__sub {
  text-decoration: none;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: color-mix(in oklab, var(--forest) 65%, transparent);
  border-bottom: 1.5px solid color-mix(in oklab, var(--forest) 30%, transparent);
  padding: 4px 0;
  transition: color 200ms, border-color 200ms;
}
.menupdf__sub:hover { color: var(--red); border-bottom-color: var(--red); }

.menupdf__card {
  position: relative;
  aspect-ratio: 3/4;
  max-width: 320px;
  justify-self: end;
  background: var(--cream);
  border: 2px solid var(--forest);
  border-radius: 4px 14px 14px 4px;
  padding: 22px 22px 22px 30px;
  box-shadow: 8px 8px 0 0 var(--forest);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 260ms cubic-bezier(.2,.7,.2,1);
}
.menupdf__card:hover { transform: rotate(0); }
.menupdf__card-spine {
  position: absolute; left: 0; top: 0; bottom: 0; width: 12px;
  background: repeating-linear-gradient(to bottom, var(--forest) 0 8px, var(--cream) 8px 12px);
  border-right: 2px solid var(--forest);
}
.menupdf__card-page { display: grid; gap: 16px; height: 100%; }
.menupdf__card-stamp {
  display: flex; flex-wrap: wrap; gap: 4px 6px;
  font-family: var(--font-head);
  font-size: 22px; line-height: 0.95;
  color: var(--forest); letter-spacing: 0.01em;
  padding-bottom: 10px;
  border-bottom: 1.5px solid color-mix(in oklab, var(--forest) 30%, transparent);
}
.menupdf__card-stamp span:nth-child(2),
.menupdf__card-stamp span:nth-child(5) { color: var(--red); }
.menupdf__card-stamp span:nth-child(3) { color: color-mix(in oklab, var(--forest) 40%, transparent); }
/* Abstract sketch lines — replace the old item-name list */
.menupdf__sketch {
  display: grid;
  gap: 6px;
  flex: 1;
  padding: 2px 0;
}
.menupdf__sketch-cat {
  height: 7px;
  background: color-mix(in oklab, var(--forest) 38%, transparent);
  border-radius: 3px;
  margin-top: 10px;
}
.menupdf__sketch-cat:first-child { margin-top: 0; }
.menupdf__sketch-line {
  height: 5px;
  background: color-mix(in oklab, var(--forest) 13%, transparent);
  border-radius: 3px;
}
.menupdf__card-foot { margin-top: auto; font-family: var(--font-eye); text-transform: uppercase; letter-spacing: 0.22em; font-size: 10px; color: color-mix(in oklab, var(--forest) 55%, transparent); }

/* ==========================================================================
   Full Menu
   ========================================================================== */

.section--menu { background: transparent; padding-top: clamp(40px, 8vh, 80px); }
.menu__head { margin-bottom: clamp(36px, 5vh, 56px); }
.menu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
@media (max-width: 980px) { .menu__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .menu__grid { grid-template-columns: 1fr; } }

.menu__card {
  background: var(--cream);
  border: 2px solid var(--forest);
  border-radius: 14px;
  padding: 24px 22px 22px;
  box-shadow: 6px 6px 0 0 var(--forest);
  display: flex; flex-direction: column;
}
.menu__cat {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 2px solid var(--forest);
}
.menu__cat h3 { margin: 0; font-family: var(--font-head); font-weight: 400; font-size: clamp(28px, 3.2vw, 40px); line-height: 0.95; letter-spacing: 0.01em; }
.menu__unit { font-family: var(--font-eye); text-transform: uppercase; letter-spacing: 0.22em; font-size: 11px; color: color-mix(in oklab, var(--forest) 55%, transparent); }
.menu__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.menu__item { display: grid; gap: 4px; }
.menu__line { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 8px; }
.menu__name { font-family: var(--font-eye); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; font-size: 15px; color: var(--forest); }
.menu__dots { height: 0; border-bottom: 2px dotted color-mix(in oklab, var(--forest) 35%, transparent); transform: translateY(-4px); }
.menu__price { font-family: var(--font-head); font-size: 22px; line-height: 1; color: var(--red); letter-spacing: 0.01em; }
.menu__desc { margin: 0; font-size: 13.5px; line-height: 1.45; color: color-mix(in oklab, var(--forest) 75%, transparent); }

.menu__foot { margin-top: clamp(28px, 4vh, 40px); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.menu__note { margin: 0; font-size: 14px; color: color-mix(in oklab, var(--forest) 75%, transparent); max-width: 60ch; }
.menu__note em { font-style: normal; color: var(--forest); font-weight: 700; }

.menu__allergens-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 16px;
  background: transparent; border: none;
  font-family: var(--font-eye); text-transform: uppercase; letter-spacing: 0.22em; font-size: 12px;
  color: color-mix(in oklab, var(--forest) 75%, transparent);
  border-bottom: 1.5px solid color-mix(in oklab, var(--forest) 40%, transparent);
  border-radius: 0;
  transition: color 200ms, border-color 200ms;
}
.menu__allergens-btn:hover { color: var(--red); border-bottom-color: var(--red); }
.menu__chev { display: inline-block; transition: transform 240ms; font-family: var(--font-body); }
.menu__chev.is-open { transform: rotate(180deg); }

.allergens { max-height: 0; overflow: hidden; transition: max-height 420ms cubic-bezier(.2,.7,.2,1); }
.allergens--open { max-height: 800px; }
.allergens__inner { margin-top: 18px; padding: 24px; background: var(--cream-2); border: 1.5px solid color-mix(in oklab, var(--forest) 22%, transparent); border-radius: 12px; }
.allergens__lede { margin: 0 0 18px; font-size: 14.5px; line-height: 1.55; color: color-mix(in oklab, var(--forest) 80%, transparent); max-width: 64ch; }
.allergens__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 24px; }
.allergens__cell { display: flex; align-items: flex-start; gap: 12px; }
.allergens__badge { width: 32px; height: 32px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--forest); color: var(--yellow); border-radius: 50%; font-family: var(--font-eye); font-size: 13px; letter-spacing: 0.04em; }
.allergens__cell strong { display: block; font-family: var(--font-eye); text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; color: var(--forest); }
.allergens__cell span { font-size: 13px; color: color-mix(in oklab, var(--forest) 70%, transparent); line-height: 1.4; }
.allergens__fine { margin: 16px 0 0; font-size: 12px; font-family: var(--font-eye); text-transform: uppercase; letter-spacing: 0.2em; color: color-mix(in oklab, var(--forest) 55%, transparent); }

/* ==========================================================================
   Right rail
   ========================================================================== */

.rail {
  position: fixed;
  right: 0; top: 0; bottom: 0;
  width: var(--rail-w);
  z-index: 28;
  display: flex; flex-direction: column; flex-wrap: wrap; gap: 0;
  padding: 88px 0 14px;
  border-left: 2px solid var(--forest);
  background: var(--cream);
  transition: width 320ms cubic-bezier(.2,.7,.2,1);
}
.rail[data-cols="2"] { width: calc(var(--rail-w) * 2); }
.rail[data-cols="2"] .rail__tab { flex-basis: 50%; max-height: 50%; }

.rail__tab {
  flex: 1; min-height: 180px;
  border: none; border-bottom: 2px solid var(--forest);
  background: var(--cream); color: var(--forest);
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 18px 0;
  text-align: center;
  font-family: var(--font-eye); text-transform: uppercase;
  outline: none; overflow: hidden;
  transition: background 280ms, color 280ms, width 320ms;
  animation: rail-in 700ms cubic-bezier(.2,.8,.3,1) backwards;
}
.rail__tab:last-child { border-bottom: none; }
.rail__tab:hover { background: color-mix(in oklab, var(--cream) 75%, var(--forest) 10%); }
.rail__tab:focus-visible { outline: 3px solid var(--red); outline-offset: -5px; }

.rail__tab::after {
  content: "";
  position: absolute; inset: -10%;
  background: linear-gradient(115deg, transparent 35%, color-mix(in oklab, #fff 70%, transparent) 50%, transparent 65%);
  transform: translateX(-120%);
  pointer-events: none;
  mix-blend-mode: overlay;
  animation: tab-sweep 7.5s ease-in-out infinite;
  animation-delay: var(--sweep-delay, 0s);
  opacity: 0.55;
}
.rail__tab.is-open::after { animation-play-state: paused; opacity: 0; }
.rail__tab:nth-child(1) { --sweep-delay: 0.4s; animation-delay: 300ms; }
.rail__tab:nth-child(2) { --sweep-delay: 3.0s; animation-delay: 420ms; }
.rail__tab:nth-child(3) { --sweep-delay: 5.6s; animation-delay: 540ms; }
.rail__tab:nth-child(4) { --sweep-delay: 1.7s; animation-delay: 660ms; }
.rail__tab:nth-child(5) { --sweep-delay: 4.3s; animation-delay: 780ms; }

@keyframes tab-sweep {
  0%   { transform: translateX(-120%); }
  35%  { transform: translateX(120%);  }
  100% { transform: translateX(120%);  }
}

.rail__title { animation: title-breathe 4.8s ease-in-out infinite; animation-delay: var(--breathe-delay, 0s); }
.rail__tab:nth-child(1) .rail__title { --breathe-delay: 0s; }
.rail__tab:nth-child(2) .rail__title { --breathe-delay: 1.6s; }
.rail__tab:nth-child(3) .rail__title { --breathe-delay: 3.2s; }
@keyframes title-breathe {
  0%, 100% { transform: rotate(180deg) translateY(0); opacity: 1; }
  50%       { transform: rotate(180deg) translateY(2px); opacity: 0.92; }
}

.rail__tab--red    { background: var(--red);    color: var(--cream); }
.rail__tab--red:hover    { background: var(--red-deep); }
.rail__tab--yellow { background: var(--yellow); color: var(--forest); }
.rail__tab--yellow:hover { background: #e0d340; }
.rail__tab--forest { background: var(--forest); color: var(--cream); }
.rail__tab--forest:hover { background: #1f3522; }

.rail__pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--yellow); flex: none;
  animation: pulse 1800ms ease-out infinite;
}
.rail__tab--yellow .rail__pulse { background: var(--red); }
.rail__tab--forest .rail__pulse { background: var(--yellow); }
.rail__tab--red    .rail__pulse { background: var(--yellow); }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, currentColor 60%, transparent); }
  70%  { box-shadow: 0 0 0 10px color-mix(in oklab, currentColor 0%, transparent); }
  100% { box-shadow: 0 0 0 0  color-mix(in oklab, currentColor 0%, transparent); }
}

.rail__kicker, .rail__title {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  white-space: nowrap;
  letter-spacing: 0.22em;
}
/*
 * The tab is a column flexbox and both of these are rotated, so their *height*
 * is the length of the text. A flex item will not shrink below its content
 * unless min-height is zeroed, so a label longer than the tab is tall simply
 * ran off the bottom: invisible, with nothing left to say it was there.
 *
 * The kicker keeps its natural length — it carries the dates, which are the
 * reason anyone looks at the tab at all — and the title takes what is left.
 * flex-basis 0 is what gives the title a definite length to wrap against;
 * vertical text wraps into extra columns, so max-width keeps those columns
 * inside the tab instead of under the page.
 */
.rail__kicker {
  flex: 0 0 auto;
  min-height: 0;
  max-height: 46%;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.rail__title {
  flex: 1 1 0;
  min-height: 0;
  max-width: calc(100% - 10px);
  overflow: hidden;
  white-space: normal;
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.2em;
}
/* Past about eight characters a 19px label needs a second column, which is
   wider than the tab. Set in PHP: CSS cannot count the characters. */
.rail__tab--long .rail__title { font-size: 14px; letter-spacing: 0.1em; }
.rail__chev   { font-size: 22px; line-height: 1; transform: translateX(0); transition: transform 200ms; font-family: var(--font-body); }
.rail__tab:hover .rail__chev  { transform: translateX(-4px); }
.rail__tab.is-open .rail__chev { transform: rotate(180deg); }

@keyframes rail-in { from { transform: translateX(110%); } to { transform: translateX(0); } }

/* ==========================================================================
   Panel + scrim
   ========================================================================== */

.scrim {
  position: fixed; inset: 0;
  background: color-mix(in oklab, var(--forest) 55%, transparent);
  opacity: 0; pointer-events: none;
  transition: opacity 320ms;
  z-index: 40;
}
.scrim--on { opacity: 1; pointer-events: auto; }

.panel {
  position: fixed; top: 0; bottom: 0;
  right: var(--rail-w);
  width: min(520px, calc(100vw - var(--rail-w) - 16px));
  transform: translateX(calc(100% + var(--rail-w) + 12px));
  transition: transform 380ms cubic-bezier(.2,.85,.25,1);
  background: var(--cream); color: var(--forest);
  z-index: 50;
  overflow-y: auto;
  border-left: 2px solid var(--forest);
  box-shadow: -12px 0 36px -12px rgba(0,0,0,0.18);
}
.panel--open { transform: translateX(0); }
.panel--red    { background: var(--red);    color: var(--cream); }
.panel--yellow { background: var(--yellow); color: var(--forest); }
.panel--forest { background: var(--forest); color: var(--cream); }

.panel__inner { padding: 64px 36px 48px; display: grid; gap: 18px; }
.panel__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 2px solid currentColor; color: inherit; border-radius: 50%;
  transition: background 200ms, color 200ms;
}
.panel__close:hover { background: currentColor; color: var(--cream); }
.panel--yellow .panel__close:hover { color: var(--forest); background: var(--forest); }
.panel--yellow .panel__close:hover svg { stroke: var(--yellow); }

.panel__kicker { font-family: var(--font-eye); text-transform: uppercase; letter-spacing: 0.28em; font-size: 12px; opacity: 0.78; }
.panel__title  { font-family: var(--font-head); font-weight: 400; font-size: clamp(40px, 6vw, 64px); line-height: 0.92; margin: 0; letter-spacing: -0.01em; }
.panel__subtitle { margin: 0 0 6px; font-size: 17px; line-height: 1.45; opacity: 0.9; }
.panel__poster { border: 2px solid currentColor; border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; max-height: 380px; margin: 4px 0 8px; }
.panel__poster img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.panel__poster--blank { display: grid; place-items: center; background: color-mix(in oklab, currentColor 14%, transparent); }
.panel__poster-mark { font-family: var(--font-head); font-size: 96px; line-height: 1; opacity: 0.4; }
.panel__body p { margin: 0 0 12px; line-height: 1.55; font-size: 15.5px; }
.panel__cta { align-self: start; margin-top: 8px; border-color: currentColor; }
.panel--red    .panel__cta { background: var(--cream);   color: var(--red);    border-color: var(--cream);   }
.panel--red    .panel__cta:hover { box-shadow: 4px 4px 0 0 var(--cream); }
.panel--yellow .panel__cta { background: var(--forest); color: var(--yellow); border-color: var(--forest); }
.panel--forest .panel__cta { background: var(--yellow); color: var(--forest); border-color: var(--yellow); }
.panel--forest .panel__cta:hover { box-shadow: 4px 4px 0 0 var(--yellow); }

/* ==========================================================================
   Reservation modal
   ========================================================================== */

.res-scrim {
  position: fixed; inset: 0;
  background: color-mix(in oklab, var(--forest) 60%, transparent);
  z-index: 100; opacity: 0; pointer-events: none;
  transition: opacity 320ms cubic-bezier(.2,.7,.2,1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.res-scrim--on { opacity: 1; pointer-events: auto; }

.res-modal {
  position: fixed;
  top: 50%; left: 50%;
  width: min(520px, calc(100vw - 32px));
  height: min(780px, calc(100vh - 64px));
  height: min(780px, calc(100svh - 64px));
  background: var(--cream);
  border: 2px solid var(--forest);
  border-radius: 18px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.5);
  z-index: 110;
  display: flex; flex-direction: column;
  overflow: hidden;
  opacity: 0; pointer-events: none;
  transform: translate(-50%, calc(-50% + 24px)) scale(0.97);
  transition: opacity 280ms cubic-bezier(.2,.7,.2,1), transform 320ms cubic-bezier(.2,.8,.3,1);
}
.res-modal--open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

.res-modal__head {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 12px;
  padding: 16px 14px 16px 22px;
  background: var(--forest); color: var(--cream);
  border-bottom: 2px solid var(--forest);
}
.res-modal__kicker { font-family: var(--font-eye); text-transform: uppercase; letter-spacing: 0.24em; font-size: 12px; color: var(--yellow); }
.res-modal__brand  { font-family: var(--font-eye); text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; color: color-mix(in oklab, var(--cream) 70%, transparent); }
.res-modal__close {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 2px solid color-mix(in oklab, var(--cream) 50%, transparent);
  color: var(--cream); border-radius: 50%; padding: 0;
  transition: background 200ms, color 200ms, border-color 200ms;
}
.res-modal__close:hover { background: var(--yellow); color: var(--forest); border-color: var(--yellow); }
.res-modal__frame { flex: 1; position: relative; background: var(--cream); overflow: hidden; }
.res-modal__iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: block; }

body.reservation-open { overflow: hidden; }

@media (max-width: 760px) {
  .res-modal { width: 100%; height: 100%; height: 100svh; top: 0; left: 0; transform: translateY(100%); border-radius: 0; border: none; }
  .res-modal--open { transform: translateY(0); }
  .res-modal__head { padding: 14px 12px 14px 18px; }
  .res-modal__kicker { font-size: 11px; }
  .res-modal__brand { display: none; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Mobile — full restructure below 760px
   ========================================================================== */

@media (max-width: 760px) {
  :root { --rail-w: 0px; --top-h: 76px; --strip-h: auto; }

  body:has(.site--has-rail) { padding-right: 0; }
  body:has(.site--has-rail) .topbar { right: clamp(12px, 3vw, 18px); }
  body:has(.site--has-rail) .footer__inner { padding-right: 0; }

  .topbar { top: 10px; left: 12px; right: 12px; height: 56px; justify-items: flex-end; padding: 0 8px 0 18px; gap: 8px; box-shadow: 0 3px 0 0 var(--forest), 0 10px 24px -14px rgba(21,36,23,0.3); }
  .topbar__brand img { height: 22px; }
  .topbar__nav { display: none; }
  /* Hide desktop CTA on mobile; hamburger takes its place */
  .topbar__cta { display: none; }

  /* Hamburger button */
  .topbar__menu-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--yellow);
    border: 2px solid var(--forest);
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 180ms, box-shadow 180ms;
  }
  .topbar__menu-btn:hover,
  .topbar__menu-btn:focus-visible { transform: translate(-2px,-2px); box-shadow: 3px 3px 0 0 var(--forest); }

  /* Bars → X when open */
  .topbar__menu-btn[aria-expanded="true"] .topbar__menu-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .topbar__menu-btn[aria-expanded="true"] .topbar__menu-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .topbar__menu-btn[aria-expanded="true"] .topbar__menu-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Scrolled: pill disappears, only the hamburger button floats at top-right */
  .topbar--scrolled {
    left: auto;
    right: 12px;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    width: auto;
    height: auto;
    padding: 6px;
    gap: 0;
  }
  .topbar--scrolled .topbar__brand { display: none; }
  body:has(.site--has-rail) .topbar--scrolled { max-width: none; }

  /* Mobile full-screen menu modal */
  .mobile-menu {
    display: block; /* override the desktop display:none */
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--forest);
    color: var(--cream);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 260ms cubic-bezier(.2,.7,.2,1), transform 280ms cubic-bezier(.2,.85,.25,1);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .mobile-menu--open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  body.mobile-menu-open { overflow: hidden; }

  /* Tile texture overlay */
  .mobile-menu::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("../images/tiles-bg.png");
    background-repeat: repeat;
    background-size: 240px 240px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
  }

  .mobile-menu__close {
    position: absolute; top: 14px; right: 14px; z-index: 2;
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent;
    border: 1.5px solid color-mix(in oklab, var(--cream) 40%, transparent);
    color: var(--cream);
    border-radius: 50%;
    transition: background 200ms, border-color 200ms;
    cursor: pointer;
  }
  .mobile-menu__close:hover { background: color-mix(in oklab, var(--cream) 14%, transparent); border-color: var(--cream); }

  .mobile-menu__inner {
    position: relative; z-index: 1;
    min-height: 100svh;
    display: flex; flex-direction: column;
    padding: 72px 28px 48px;
  }

  .mobile-menu__brand {
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    padding-bottom: 28px;
    border-bottom: 1px solid color-mix(in oklab, var(--cream) 20%, transparent);
    margin-bottom: 4px;
  }
  .mobile-menu__logo { filter: invert(1) brightness(10); opacity: 0.9; height: 28px; width: auto; }
  .mobile-menu__eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-eye);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 11px;
    color: color-mix(in oklab, var(--cream) 60%, transparent);
  }
  .mobile-menu__eyebrow i { font-style: normal; color: var(--red); }

  .mobile-menu__nav { display: flex; flex-direction: column; flex: 1; }
  .mobile-menu__link {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid color-mix(in oklab, var(--cream) 12%, transparent);
    font-family: var(--font-head);
    font-size: clamp(30px, 10vw, 44px);
    font-weight: 400; line-height: 1;
    color: var(--cream);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: color 160ms, padding-left 160ms;
  }
  .mobile-menu__link::before {
    content: "·";
    color: var(--red);
    font-family: var(--font-body);
    font-size: 22px;
    line-height: 1;
    opacity: 0;
    transition: opacity 160ms;
    flex-shrink: 0;
    width: 0; overflow: visible;
  }
  .mobile-menu__link:hover,
  .mobile-menu__link:focus-visible { color: var(--yellow); padding-left: 8px; outline: none; }
  .mobile-menu__link:hover::before,
  .mobile-menu__link:focus-visible::before { opacity: 1; }

  .mobile-menu__cta-wrap { margin-top: 28px; padding-top: 4px; }
  .mobile-menu__cta { width: 100%; justify-content: center; font-size: 15px; padding: 16px 24px; }

  /* Events section in menu modal */
  .mobile-menu__events {
    padding: 20px 0 0;
    border-top: 1px solid color-mix(in oklab, var(--cream) 12%, transparent);
    margin-top: 4px;
    margin-bottom: 0;
  }
  .mobile-menu__events-label {
    font-family: var(--font-eye); text-transform: uppercase;
    letter-spacing: 0.28em; font-size: 10px;
    color: color-mix(in oklab, var(--cream) 45%, transparent);
    margin: 0 0 10px;
  }
  .mobile-menu__event {
    display: flex; align-items: center; gap: 14px;
    width: 100%; padding: 13px 0;
    border: none;
    border-bottom: 1px solid color-mix(in oklab, var(--cream) 10%, transparent);
    background: transparent; color: var(--cream);
    text-align: left; cursor: pointer;
    transition: opacity 160ms;
  }
  .mobile-menu__event:last-child { border-bottom: none; }
  .mobile-menu__event:hover,
  .mobile-menu__event:focus-visible { opacity: 0.7; outline: none; }
  .mobile-menu__event-dot {
    width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  }
  .mobile-menu__event--red    .mobile-menu__event-dot { background: var(--red); }
  .mobile-menu__event--yellow .mobile-menu__event-dot { background: var(--yellow); }
  .mobile-menu__event--forest .mobile-menu__event-dot { background: color-mix(in oklab, var(--cream) 50%, transparent); }
  .mobile-menu__event-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
  .mobile-menu__event-kicker {
    font-family: var(--font-eye); text-transform: uppercase;
    letter-spacing: 0.18em; font-size: 10px;
    color: color-mix(in oklab, var(--cream) 55%, transparent); line-height: 1;
  }
  .mobile-menu__event-title {
    font-family: var(--font-head); font-size: 20px;
    font-weight: 400; line-height: 1.05;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .mobile-menu__event-arrow { font-size: 18px; opacity: 0.4; font-family: var(--font-body); flex-shrink: 0; }

  /* Bottom padding to prevent content hiding behind fixed bottom rail */
  body:has(.site--has-rail) { padding-bottom: 72px; }
  body:has(.rail[data-count="3"]),
  body:has(.rail[data-count="4"]) { padding-bottom: 128px; }
  body:has(.rail[data-count="5"]) { padding-bottom: 184px; }

  .hero { padding-top: calc(var(--top-h) + 16px); padding-bottom: 48px; min-height: 100svh; }
  .hero__inner { gap: 16px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.24em; gap: 10px; padding: 6px 14px; }
  .hero__display-row { gap: 10px; }
  .hero__display-row--mid { margin: clamp(-30px, -5vw, -12px) 0; }
  .hero__dog-wrap { width: clamp(92px, 26vw, 132px); height: clamp(92px, 26vw, 132px); }
  .hero__meta { flex-direction: column; gap: 14px; align-items: center; text-align: center; }
  .hero__meta-block { text-align: center; }
  .hero__meta-divider { display: none; }
  .hero__cta-row { width: 100%; flex-direction: column; gap: 10px; padding: 0 8px; }
  .hero__cta-row .btn { width: 100%; justify-content: center; }
  .hero__scroll { display: none; }

  .section { padding: 56px 18px; }
  .display--xl { font-size: clamp(36px, 11vw, 56px); }
  .lede { font-size: 15.5px; }

  .hours__intro { grid-template-columns: 1fr; gap: 16px; }
  .hours__tiger { display: none; }
  .hours__footer { grid-template-columns: 1fr; gap: 20px; }
  .hours__legend { min-width: 0; }
  .hours__legend-note { max-width: 100%; }
  .hours__row { grid-template-columns: 56px 1fr auto; gap: 12px; padding: 12px 14px; font-size: 15px; }
  .hours__day { font-size: 13px; letter-spacing: 0.14em; }
  .hours__state { font-size: 11px; letter-spacing: 0.1em; }
  .hours__lights { grid-template-columns: 80px 1fr; gap: 16px; }
  .hours__lights img { width: 80px; }
  .hours__date-badge { font-size: 10px; }

  .loc__grid { grid-template-columns: 1fr; gap: 18px; }
  .loc__map { aspect-ratio: 4/3; box-shadow: 4px 4px 0 0 var(--forest); }

  .section--story { margin: 56px 0; padding: 64px 18px; }
  .story__col h3 { font-size: 26px; }

  .menu__card { padding: 20px 18px; box-shadow: 4px 4px 0 0 var(--forest); }
  .menu__cat h3 { font-size: 28px; }
  .menu__name { font-size: 14px; }
  .menu__price { font-size: 20px; }
  .menu__foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .allergens__grid { grid-template-columns: 1fr; }

  .menupdf__card { max-width: 240px; justify-self: center; }
  .footer { padding: 28px 18px 40px; }

  .rail {
    /* Fixed to bottom of screen, full width */
    position: fixed;
    bottom: 0; left: 0; right: 0; top: auto;
    width: 100%; height: auto; margin: 0; padding: 0;
    border-top: 2px solid var(--forest);
    border-left: none; border-right: none; border-bottom: none;
    border-radius: 14px 14px 0 0;
    flex-direction: row; flex-wrap: wrap; gap: 0;
    background: var(--cream);
    overflow: hidden;
    z-index: 29;
    box-shadow: 0 -4px 0 0 var(--forest), 0 -10px 24px -14px rgba(21,36,23,0.28);
  }
  .rail[data-cols] { width: 100%; }

  .rail__tab {
    flex: 1 1 calc(50% - 1px);
    min-width: 0; min-height: 0; height: 56px;
    padding: 0 14px;
    border-bottom: 2px solid var(--forest);
    border-right: 2px solid var(--forest);
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    column-gap: 10px; row-gap: 0;
    align-items: center; text-align: left;
    animation: strip-in 600ms cubic-bezier(.2,.8,.3,1) backwards;
  }
  .rail__tab:nth-child(2n) { border-right: none; }
  .rail[data-count="1"] .rail__tab { flex-basis: 100%; border-right: none; border-bottom: none; }
  .rail[data-count="2"] .rail__tab { border-bottom: none; }
  .rail[data-count="2"] .rail__tab:nth-child(1) { border-right: 2px solid var(--forest); }
  .rail[data-count="3"] .rail__tab:nth-child(3) { flex-basis: 100%; border-right: none; border-bottom: none; }

  .rail__pulse { grid-row: 1 / span 2; align-self: center; width: 8px; height: 8px; }
  .rail__chev  { grid-row: 1 / span 2; align-self: center; transform: rotate(-90deg); font-size: 18px; opacity: 0.6; }
  .rail__tab.is-open .rail__chev { transform: rotate(90deg); }
  .rail__tab:hover .rail__chev { transform: rotate(-90deg) translateY(2px); }

  .rail__kicker, .rail__title { writing-mode: horizontal-tb; transform: none; text-orientation: mixed; line-height: 1.05; }
  .rail__kicker { font-size: 9.5px; letter-spacing: 0.18em; opacity: 0.78; margin-bottom: 1px; grid-column: 2; grid-row: 1; align-self: end; }
  .rail__title  { font-size: 13px; letter-spacing: 0.1em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; grid-column: 2; grid-row: 2; align-self: start; animation: none; }
  /* The tab is a grid down here, so the vertical-writing caps do not apply. */
  .rail__kicker { max-height: none; }
  .rail__tab--long .rail__title { font-size: 13px; letter-spacing: 0.1em; }
  .rail__tab::after { display: none; }

  @keyframes strip-in { from { transform: translateY(110%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

  .panel { top: auto; bottom: 0; right: 0; left: 0; width: 100%; height: 88vh; height: 88svh; max-height: 88svh; transform: translateY(110%); border-left: none; border-top: 2px solid var(--forest); border-radius: 18px 18px 0 0; box-shadow: 0 -12px 36px -12px rgba(0,0,0,0.25); }
  .panel--open { transform: translateY(0); }
  .panel__inner { padding: 36px 20px 28px; gap: 14px; }
  .panel__inner::before { content: ""; width: 44px; height: 4px; border-radius: 4px; background: color-mix(in oklab, currentColor 30%, transparent); justify-self: center; margin-bottom: 6px; }
  .panel__close { top: 10px; right: 12px; width: 36px; height: 36px; }
  .panel__title { font-size: clamp(32px, 9vw, 44px); }
  .panel__poster { aspect-ratio: 5/4; max-height: 260px; }
  .panel__poster-mark { font-size: 64px; }

  #hours, #menu, #location, #story, #gallery {
    scroll-margin-top: calc(var(--top-h) + 8px);
  }
}

/* Tablet */
@media (min-width: 761px) and (max-width: 980px) {
  :root { --rail-w: 48px; }
  .rail__title { font-size: 14px; }
  .panel { width: min(440px, calc(100vw - var(--rail-w) - 16px)); }
}


/* ==========================================================================
   Block sections
   Ported from the "El Pastor — nieuwe secties" design. The idea there: paper
   on a table instead of cards on a page. A placemat, a pinned note, a
   perforated ticket, a till receipt. Everything above this line is untouched.
   ========================================================================== */

.display--lg { font-size: clamp(32px, 4.4vw, 62px); }
.display--md { font-size: clamp(26px, 3vw, 40px); }
.display--sm { font-size: clamp(22px, 2.2vw, 30px); }

/* --------------------------------------------------------------------------
   Colour schemes
   -------------------------------------------------------------------------- */

.section--scheme-sky    { background: transparent; }
.section--scheme-cream  { background: var(--cream);  border-block: 2px solid var(--forest); }
.section--scheme-yellow { background: var(--yellow); border-block: 2px solid var(--forest); }
.section--scheme-forest { background: var(--forest); color: var(--cream); border-block: 2px solid var(--forest); }
.section--scheme-red    { background: var(--red);    color: var(--cream); border-block: 2px solid var(--forest); }

.section--scheme-cream  + .section--scheme-cream,
.section--scheme-yellow + .section--scheme-yellow,
.section--scheme-forest + .section--scheme-forest,
.section--scheme-red    + .section--scheme-red { border-top: none; }

/* --------------------------------------------------------------------------
   Shared vocabulary
   -------------------------------------------------------------------------- */

.eyebrow--pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: max-content;
  max-width: 100%;
  background: var(--cream);
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  padding: 7px 16px 7px 13px;
  font-size: 11px;
  letter-spacing: 0.28em;
  line-height: 1;
  color: color-mix(in oklab, var(--forest) 78%, transparent);
}
.eyebrow--pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--red);
  flex: none;
}
.section--scheme-red .eyebrow--pill,
.section--scheme-forest .eyebrow--pill {
  background: transparent;
  border-color: color-mix(in oklab, var(--cream) 60%, transparent);
  color: var(--cream);
}
.section--scheme-red .eyebrow--pill::before,
.section--scheme-forest .eyebrow--pill::before { background: var(--yellow); }

.prose__body { max-width: 62ch; }
.prose__body p {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.62;
  margin: 0 0 1.05em;
  color: color-mix(in oklab, currentColor 88%, transparent);
  text-wrap: pretty;
}
.prose__body p:first-child {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: color-mix(in oklab, currentColor 96%, transparent);
}
.prose__body p:last-child { margin-bottom: 0; }
.prose__body a { color: var(--red); text-underline-offset: 3px; }
.section--scheme-forest .prose__body a,
.section--scheme-red    .prose__body a { color: var(--yellow); }

/* --------------------------------------------------------------------------
   Photo slots and polaroids
   A slot with no photo shows its own aspect ratio, so the person filling the
   page can see what to go and shoot.
   -------------------------------------------------------------------------- */

.ph {
  position: relative;
  background: var(--sky-tile);
  background-image: repeating-linear-gradient(135deg,
    color-mix(in oklab, var(--forest) 7%, transparent) 0 7px, transparent 7px 16px);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph span {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: color-mix(in oklab, var(--forest) 60%, transparent);
}
.ph--45 { aspect-ratio: 4/5; }
.ph--11 { aspect-ratio: 1/1; }
.ph--32 { aspect-ratio: 3/2; }

.pola {
  position: relative;
  margin: 0;
  background: var(--cream);
  border: 2px solid var(--forest);
  padding: 9px 9px 34px;
  box-shadow: 8px 8px 0 0 var(--forest);
  transition: transform 260ms cubic-bezier(.2,.7,.2,1);
}
.pola figcaption {
  position: absolute;
  left: 12px; right: 12px; bottom: 10px;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 9.5px;
  color: color-mix(in oklab, var(--forest) 55%, transparent);
}
/* the strip of tape across the top */
.pola::before {
  content: "";
  position: absolute;
  top: -13px; left: 50%;
  width: 78px; height: 24px;
  transform: translateX(-50%) rotate(-4deg);
  background: color-mix(in oklab, var(--cream) 78%, transparent);
  border: 1.5px solid color-mix(in oklab, var(--forest) 45%, transparent);
  border-radius: 2px;
}
.pola:hover { transform: rotate(0deg) !important; }

/* --------------------------------------------------------------------------
   Text section — A, the placemat
   -------------------------------------------------------------------------- */

.section--prose { padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 72px); }
.prose--compact { padding-top: clamp(34px, 5vh, 60px); padding-bottom: clamp(34px, 5vh, 60px); }

.placemat-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.placemat-wrap--solo { grid-template-columns: minmax(0, 1fr); max-width: 900px; }

/* Swapped: photos on the left, copy on the right. */
.placemat-wrap--flip { grid-template-columns: minmax(0, .85fr) minmax(0, 1.05fr); }
.placemat-wrap--flip > .placemat { order: 2; }
.placemat-wrap--flip > .cluster  { order: 1; }

.placemat {
  position: relative;
  background: var(--cream);
  color: var(--forest);
  border: 2px solid var(--forest);
  border-radius: 14px;
  box-shadow: 8px 8px 0 0 var(--forest);
  padding: clamp(26px, 3.4vw, 44px);
  transform: rotate(-0.8deg);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}
.placemat:hover { transform: rotate(0deg); }
/* the stitched inner border */
.placemat::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1.5px dashed color-mix(in oklab, var(--forest) 28%, transparent);
  border-radius: 8px;
  pointer-events: none;
}
.placemat > * { position: relative; }
.placemat .stack { gap: 20px; }

.stack { display: grid; gap: 18px; justify-items: start; }

/* With no photos the corner would sit empty, so the address stamps it. */
.stamp {
  position: absolute;
  right: -14px; bottom: -18px;
  width: 112px; height: 112px;
  border-radius: 999px;
  border: 2.5px solid var(--red);
  color: var(--red);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10px;
  line-height: 1.35;
  transform: rotate(-13deg);
  background: color-mix(in oklab, var(--cream) 88%, transparent);
  opacity: .9;
}
.stamp b { display: block; font-size: 15px; letter-spacing: 0.1em; }

/* Photo clusters: the count picks the arrangement. */
.cluster { position: relative; min-height: 1px; }
.cluster .pola { position: absolute; }
.cluster--1 { padding-block: 8px; }
.cluster--1 .p1 { position: relative; width: min(300px, 78%); margin-inline: auto; transform: rotate(3deg); }
.cluster--2 { height: clamp(340px, 34vw, 440px); }
.cluster--2 .p1 { width: 56%; left: 0;  top: 0;     transform: rotate(-4deg); z-index: 2; }
.cluster--2 .p2 { width: 48%; right: 0; bottom: 0;  transform: rotate(5deg); }
.cluster--3 { height: clamp(400px, 40vw, 520px); }
.cluster--3 .p1 { width: 52%; left: -14%; top: 0;    transform: rotate(-5deg);   z-index: 3; }
.cluster--3 .p2 { width: 44%; right: 2%;  top: 9%;   transform: rotate(4deg);    z-index: 2; }
.cluster--3 .p3 { width: 56%; left: 16%;  bottom: 0; transform: rotate(-1.5deg); z-index: 4; }

/* --------------------------------------------------------------------------
   Text section — B, the pinboard
   No card. For the second and third text section on one page, so the placemat
   does not repeat itself into wallpaper.
   -------------------------------------------------------------------------- */

.pin-wrap { max-width: 1180px; margin: 0 auto; position: relative; }
.pin-rule {
  display: block;          /* it is a <span>, and an inline box ignores width */
  width: 84px; height: 8px;
  background: var(--red);
  border: 2px solid var(--forest);
  margin-bottom: 22px;
}
.pin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: start;
}
.pin-grid--solo { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.pin-grid--flip { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.pin-grid--flip > .stack      { order: 2; }
.pin-grid--flip > .pin-photos { order: 1; }
.pin-photos { position: relative; display: grid; gap: 14px; justify-items: center; }
.pin-photos .pola { width: min(300px, 86%); }
.pin-photos .pola:nth-child(1) { transform: rotate(-3deg) translateX(-6%); }
.pin-photos .pola:nth-child(2) { width: min(230px, 68%); transform: rotate(3deg) translate(10%, -30px); }

/* --------------------------------------------------------------------------
   Offer band — A, the perforated ticket
   -------------------------------------------------------------------------- */

.section--ctaband {
  position: relative;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 6vw, 72px);
  overflow: hidden;
}
.band--ticket::before,
.band--ticket::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  background: radial-gradient(circle at 8px 0, var(--sky) 8px, transparent 8.5px) 0 0/22px 12px repeat-x;
}
.band--ticket::before { top: 0; }
.band--ticket::after  { bottom: 0; transform: scaleY(-1); }

.ctaband {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
}
.ctaband--solo { grid-template-columns: minmax(0, 1fr); }
.ctaband--flip { grid-template-columns: auto minmax(0, 1fr); }
.ctaband--flip > .ctaband__copy    { order: 2; }
.ctaband--flip > .ctaband__coaster { order: 1; }
.ctaband__copy { display: grid; gap: 18px; justify-items: start; }
.ctaband .display { font-size: clamp(36px, 6vw, 74px); }

/* the beer mat */
.ctaband__coaster {
  width: clamp(120px, 15vw, 168px);
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--forest);
  border: 2px solid var(--forest);
  box-shadow: 8px 8px 0 0 var(--forest);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: .9;
  font-size: clamp(20px, 2.6vw, 30px);
  transform: rotate(-8deg);
  transition: transform 260ms;
}
.ctaband__coaster:hover { transform: rotate(0); }
.ctaband__coaster i {
  font-style: normal;
  display: block;
  font-family: var(--font-eye);
  font-size: 10px;
  letter-spacing: 0.24em;
  margin-top: 6px;
  color: color-mix(in oklab, var(--forest) 65%, transparent);
}

/* Offer band — B, the chalk strip */
.band--chalk .band__rule {
  position: absolute;
  left: 0; right: 0;
  height: 14px;
  background: repeating-linear-gradient(135deg, var(--forest) 0 7px, transparent 7px 16px);
}
.band--chalk .band__rule--t { top: 0; }
.band--chalk .band__rule--b { bottom: 0; }
.band--chalk .btn { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.band--chalk .btn:hover { color: var(--cream); box-shadow: 4px 4px 0 0 var(--forest); }

/* --------------------------------------------------------------------------
   Questions — A, the till receipt
   -------------------------------------------------------------------------- */

.section--faq { padding: clamp(48px, 7vw, 96px) clamp(24px, 6vw, 72px); }

.faq--receipt .faq__list {
  max-width: 640px;
  margin: 0 auto;
  background: var(--cream);
  color: var(--forest);
  border: 2px solid var(--forest);
  padding: clamp(22px, 3vw, 34px) clamp(18px, 3vw, 30px) 40px;
  transform: rotate(-0.6deg);
  /* the torn bottom edge — a hard shadow cannot follow a mask, so it is drawn
     as a filter instead of a box-shadow */
  filter: drop-shadow(8px 8px 0 var(--forest));
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/18px 100% repeat-x;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50%/18px 100% repeat-x;
}
.faq__head {
  text-align: center;
  display: grid;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 2px dashed color-mix(in oklab, var(--forest) 35%, transparent);
  margin-bottom: 6px;
}
.faq__head b,
.faq__head .faq__title {
  margin: 0;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: clamp(24px, 3vw, 34px);
  line-height: .95;
  font-weight: 400;
}
.faq__head b em,
.faq__head .faq__title em { font-style: normal; color: var(--red); }
.faq__head span {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 10px;
  color: color-mix(in oklab, var(--forest) 55%, transparent);
}
.faq--receipt .faq__item { border-bottom: 1.5px dotted color-mix(in oklab, var(--forest) 40%, transparent); }
.faq--receipt .faq__q {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: baseline;
  padding: 15px 2px;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13.5px;
  line-height: 1.3;
}
.faq--receipt .faq__q::-webkit-details-marker { display: none; }
.faq--receipt .faq__q::after { content: "+"; font-size: 19px; line-height: 1; color: var(--red); }
.faq--receipt .faq__item[open] .faq__q::after { content: "–"; }
.faq--receipt .faq__item[open] .faq__q { color: var(--red); }
.faq--receipt .faq__a { padding: 0 2px 16px; max-width: 62ch; }
.faq--receipt .faq__a p { font-size: 15px; margin: 0 0 .8em; color: color-mix(in oklab, var(--forest) 85%, transparent); }
.faq--receipt .faq__a p:last-child { margin-bottom: 0; }
.faq__total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 2px dashed color-mix(in oklab, var(--forest) 35%, transparent);
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: color-mix(in oklab, var(--forest) 60%, transparent);
}

/* Questions — B, the pinned notes */
.faq--notes .faq__list { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.faq--notes .faq__item {
  border: 2px solid var(--forest);
  border-radius: 14px;
  background: var(--cream);
  color: var(--forest);
  box-shadow: 8px 8px 0 0 var(--forest);
  padding: 4px 20px;
  transition: transform 240ms;
}
.faq--notes .faq__item:nth-child(even) { background: var(--cream-2); transform: rotate(0.7deg); }
.faq--notes .faq__item:nth-child(odd)  { transform: rotate(-0.7deg); }
.faq--notes .faq__item:hover,
.faq--notes .faq__item[open] { transform: rotate(0); }
.faq--notes .faq__q {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}
.faq--notes .faq__q::-webkit-details-marker { display: none; }
.faq--notes .faq__q::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--red); }
.faq--notes .faq__q::after  { content: "+"; font-size: 20px; color: var(--red); }
.faq--notes .faq__item[open] .faq__q::after { content: "–"; }
.faq--notes .faq__a { padding: 0 0 18px 23px; max-width: 64ch; }
.faq--notes .faq__a p { font-size: 15px; margin: 0 0 .8em; }
.faq--notes .faq__a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Reservation block
   -------------------------------------------------------------------------- */

.section--reserve { padding: 0 clamp(24px, 6vw, 72px); }

.reserve-cta {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  padding-block: clamp(40px, 6vw, 80px);
}
.reserve-cta--left { justify-items: start; text-align: left; }
.reserve-cta .btn { font-size: 15px; padding: 16px 28px; transform: rotate(-2deg); box-shadow: 6px 6px 0 0 var(--forest); }
.reserve-cta .btn:hover { transform: rotate(0) translate(-2px,-2px); box-shadow: 10px 10px 0 0 var(--forest); }
.reserve-cta__note {
  margin: 0;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  color: color-mix(in oklab, currentColor 60%, transparent);
}

/* Variant B — the same button on a taped-down strip */
.reserve-cta--taped {
  position: relative;
  max-width: 620px;
  margin: clamp(40px, 6vw, 80px) auto;
  background: var(--cream);
  color: var(--forest);
  border: 2px solid var(--forest);
  border-radius: 14px;
  box-shadow: 8px 8px 0 0 var(--forest);
  padding: clamp(26px, 4vw, 40px);
  transform: rotate(0.7deg);
  padding-block: clamp(26px, 4vw, 40px);
}
.reserve-cta--taped::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  width: 104px; height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: color-mix(in oklab, var(--yellow) 85%, transparent);
  border: 1.5px solid var(--forest);
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Narrow screens
   -------------------------------------------------------------------------- */

@media (max-width: 880px) {
  .placemat-wrap, .pin-grid, .ctaband,
  .placemat-wrap--flip, .pin-grid--flip, .ctaband--flip { grid-template-columns: 1fr; }

  /* Stacked, the copy always leads — a column of photos with the text
     underneath reads as a gallery that happens to have a caption. */
  .placemat-wrap--flip > .placemat,
  .pin-grid--flip > .stack,
  .ctaband--flip > .ctaband__copy { order: 1; }
  .placemat-wrap--flip > .cluster,
  .pin-grid--flip > .pin-photos,
  .ctaband--flip > .ctaband__coaster { order: 2; }
  .ctaband { gap: 26px; }
  .ctaband__coaster { justify-self: start; }
  .cluster--2, .cluster--3 { height: auto; display: grid; gap: 18px; justify-items: center; padding-block: 10px; }
  .cluster--2 .pola, .cluster--3 .pola { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: min(300px, 82%); }
  .cluster--2 .p2, .cluster--3 .p2 { transform: rotate(3deg) translateX(6%); }
  .cluster--3 .p3 { transform: rotate(-2deg) translateX(-4%); }
  .pin-photos .pola:nth-child(2) { transform: rotate(3deg); width: min(230px, 68%); }
  .stamp { width: 88px; height: 88px; right: -6px; bottom: -14px; }
  .placemat { box-shadow: 5px 5px 0 0 var(--forest); }
  .pola { box-shadow: 5px 5px 0 0 var(--forest); }
}

/* --------------------------------------------------------------------------
   Plain article pages (contact copy, 404, blog fallback)
   -------------------------------------------------------------------------- */

.section--article { padding-top: clamp(90px, 14vh, 160px); }

.article { max-width: 780px; display: grid; gap: 22px; }
.article__media { margin: 0; }
.article__media img { width: 100%; height: auto; border: 2px solid var(--forest); border-radius: 14px; }

.article__body { font-size: 17px; line-height: 1.65; }
.article__body h2 { font-family: var(--font-head); font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.05; margin: 1.4em 0 0.5em; }
.article__body h3 { font-family: var(--font-head); font-weight: 400; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.1;  margin: 1.3em 0 0.4em; }
.article__body p  { margin: 0 0 1.05em; }
.article__body a  { color: var(--red); text-underline-offset: 3px; }
.article__body ul,
.article__body ol { margin: 0 0 1.05em; padding-left: 1.3em; }
.article__body li { margin-bottom: 0.4em; }
.article__item { border-top: 2px solid color-mix(in oklab, var(--forest) 18%, transparent); padding-top: 18px; margin-bottom: 26px; }
.article__item h2 { margin-top: 0; }
.article__item a { text-decoration: none; color: inherit; }
.article__item a:hover { color: var(--red); }
.article__cta { margin: 8px 0 0; }

/* --------------------------------------------------------------------------
   Language switcher (Polylang / WPML)
   -------------------------------------------------------------------------- */

/* The pill is a three-column grid (brand · nav · button). With a language
   switcher there is a fourth child, and without a fourth column it would drop
   onto a second row and break the pill in half. */


.topbar__lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11.5px;
}
.topbar__lang a {
  padding: 4px 7px;
  border-radius: 999px;
  text-decoration: none;
  color: color-mix(in oklab, var(--forest) 60%, transparent);
  transition: background 180ms, color 180ms;
}
.topbar__lang a:hover { color: var(--forest); }
.topbar__lang a[aria-current="true"] { background: var(--forest); color: var(--cream); }

.mobile-menu__lang { margin-top: 18px; display: flex; gap: 8px; }
.mobile-menu__lang a {
  padding: 8px 14px;
  border: 2px solid var(--forest);
  border-radius: 999px;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  text-decoration: none;
  color: var(--forest);
}
.mobile-menu__lang a[aria-current="true"] { background: var(--forest); color: var(--cream); }

@media (max-width: 980px) { .topbar__lang { display: none; } }

/* --------------------------------------------------------------------------
   Social links
   -------------------------------------------------------------------------- */

.section--socials { padding: clamp(40px, 6vw, 78px) clamp(24px, 6vw, 72px); }
.socials--compact { padding-top: clamp(26px, 4vh, 44px); padding-bottom: clamp(26px, 4vh, 44px); }

.socials {
  --ep-social-size: 40px;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  gap: clamp(16px, 2.4vw, 26px);
}
.socials--center { justify-items: center; text-align: center; }
.socials--left   { justify-items: start;  text-align: left; }

.socials__head { display: grid; gap: 12px; justify-items: inherit; }
.socials .display--md { font-size: clamp(28px, 4vw, 48px); }

.socials__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 24px);
}
.socials--center .socials__list { justify-content: center; }

.socials__link {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  color: inherit;
}

.socials__badge {
  display: grid;
  place-items: center;
  width: calc(var(--ep-social-size) + 22px);
  height: calc(var(--ep-social-size) + 22px);
  background: var(--cream);
  border: 2px solid var(--forest);
  border-radius: 999px;
  box-shadow: 5px 5px 0 0 var(--forest);
  transform: rotate(var(--ep-social-tilt, -2deg));
  transition: transform 220ms cubic-bezier(.2,.9,.3,1), box-shadow 220ms;
}
.socials__link:hover .socials__badge,
.socials__link:focus-visible .socials__badge {
  transform: rotate(0deg) translate(-2px, -2px);
  box-shadow: 8px 8px 0 0 var(--forest);
}
.socials__badge img {
  width: var(--ep-social-size);
  height: var(--ep-social-size);
  object-fit: contain;
}
.socials__initial {
  font-family: var(--font-head);
  font-size: calc(var(--ep-social-size) * .62);
  line-height: 1;
  color: var(--forest);
}

.socials__label {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11.5px;
  color: currentColor;
}

/* The flat row: no disc, no shadow — just the mark. */
.socials--strip .socials__badge {
  width: var(--ep-social-size);
  height: var(--ep-social-size);
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.socials--strip .socials__link:hover .socials__badge,
.socials--strip .socials__link:focus-visible .socials__badge {
  transform: translateY(-3px) rotate(-4deg);
  box-shadow: none;
}

.socials__note {
  margin: 0;
  font-size: 14px;
  opacity: .8;
  max-width: 56ch;
}

.section--scheme-forest .socials__note,
.section--scheme-red .socials__note,
.section--scheme-forest .socials__label,
.section--scheme-red .socials__label { color: var(--cream); }

@media (max-width: 620px) {
  .socials__list { gap: 14px; }
  .socials { --ep-social-size: 34px; }
}

/* --------------------------------------------------------------------------
   Social icons in the top bar
   -------------------------------------------------------------------------- */

.topbar__socials {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.topbar__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: none;
  color: var(--forest);
  transition: transform 200ms;
}
.topbar__socials a:hover,
.topbar__socials a:focus-visible { transform: translateY(-2px) rotate(-6deg); }
.topbar__socials img { width: 20px; height: 20px; object-fit: contain; }
.topbar--scrolled .topbar__socials { gap: 9px; }
.topbar--scrolled .topbar__socials img { width: 18px; height: 18px; }

/* Below the point where the nav folds into the hamburger there is no room —
   the mobile menu carries them instead. */
@media (max-width: 980px) { .topbar__socials { display: none; } }

.mobile-menu__socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 4px 0 2px;
}
.mobile-menu__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--cream);
  border: 2px solid var(--forest);
  border-radius: 999px;
  box-shadow: 3px 3px 0 0 var(--forest);
  color: var(--forest);
  transition: transform 200ms, box-shadow 200ms;
}
.mobile-menu__socials a:active { transform: translate(2px, 2px); box-shadow: 0 0 0 0 var(--forest); }
.mobile-menu__socials img { width: 24px; height: 24px; object-fit: contain; }

/* --------------------------------------------------------------------------
   In the neighbourhood
   -------------------------------------------------------------------------- */

.section--nearby { padding: clamp(48px, 7vw, 92px) clamp(24px, 6vw, 72px); }
/* --top-h only exists inside the mobile media query, so the desktop clearance
   under the floating top bar is written out rather than calculated. */
.section--nearby-top,
.section--spot-top,
.section--jobs-top,
.section--job-top { padding: clamp(112px, 13vh, 168px) clamp(24px, 6vw, 72px) clamp(40px, 6vw, 72px); }

@media (max-width: 760px) {
  .section--nearby-top,
  .section--spot-top,
  .section--jobs-top,
  .section--job-top { padding-top: calc(var(--top-h) + 24px); }
}

.spot__facts { --ep-sticky-top: 110px; }

.nearby__head { display: grid; gap: 14px; justify-items: start; max-width: 62ch; margin-bottom: clamp(26px, 4vw, 44px); }
.nearby__head--sub { margin-bottom: clamp(18px, 2.6vw, 28px); }
.nearby__head .lede { margin: 0; }

.nearby__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: clamp(20px, 2.6vw, 34px);
}

.nearby-card { display: flex; }
.nearby-card__link {
  display: grid;
  align-content: start;
  gap: 0;
  width: 100%;
  background: var(--cream);
  color: var(--forest);
  border: 2px solid var(--forest);
  border-radius: 12px;
  box-shadow: 6px 6px 0 0 var(--forest);
  overflow: hidden;
  text-decoration: none;
  transform: rotate(-0.6deg);
  transition: transform 240ms cubic-bezier(.2,.9,.3,1), box-shadow 240ms;
}
.nearby-card:nth-child(even) .nearby-card__link { transform: rotate(0.7deg); }
.nearby-card__link:hover,
.nearby-card__link:focus-visible {
  transform: rotate(0deg) translate(-3px, -3px);
  box-shadow: 10px 10px 0 0 var(--forest);
}

.nearby-card__shot { display: block; border-bottom: 2px solid var(--forest); }
.nearby-card__shot img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.nearby-card__body { display: grid; gap: 8px; padding: 18px 18px 20px; }
.nearby-card__kind {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10.5px;
  color: var(--red);
}
.nearby-card__name {
  font-family: var(--font-head);
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.02;
  text-transform: uppercase;
}
.nearby-card__intro { font-size: 14.5px; line-height: 1.5; }
.nearby-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.nearby-card__chip {
  display: inline-flex;
  padding: 3px 10px;
  background: var(--yellow);
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10.5px;
}
.nearby-card__when { font-size: 12.5px; opacity: .75; }

.nearby__all { margin: clamp(26px, 3vw, 38px) 0 0; }

/* the single page */
.spot__head, .jobs__head { display: grid; gap: 14px; justify-items: start; max-width: 62ch; }
.section--spot-body, .section--job-body { padding: clamp(40px, 6vw, 80px) clamp(24px, 6vw, 72px); }
.spot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.spot__copy { max-width: 68ch; }
.spot__media { margin: 0 0 24px; }
.spot__media img { display: block; width: 100%; border: 2px solid var(--forest); border-radius: 12px; }

.spot__facts { display: grid; gap: 20px; position: sticky; top: 104px; }
.placemat--facts { transform: rotate(-1deg); padding: 22px 24px; }
.spot__dl { margin: 0; display: grid; gap: 12px; }
.spot__dl div { display: grid; gap: 2px; }
.spot__dl dt {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10.5px;
  opacity: .7;
}
.spot__dl dd { margin: 0; font-weight: 600; font-size: 15px; }
.spot__site { margin: 4px 0 0; font-size: 14px; }
.spot__cta { display: grid; gap: 10px; justify-items: start; }
.spot__cta-line { margin: 0; font-size: 14px; opacity: .8; }

@media (max-width: 900px) {
  .spot__grid { grid-template-columns: 1fr; }
  .spot__facts { position: static; }
}

/* --------------------------------------------------------------------------
   Vacancies
   -------------------------------------------------------------------------- */

.section--jobs { padding: clamp(48px, 7vw, 92px) clamp(24px, 6vw, 72px); }
.jobs__head { margin-bottom: clamp(26px, 4vw, 44px); }
.section--scheme-forest .jobs__head .lede,
.section--scheme-red .jobs__head .lede { color: color-mix(in oklab, var(--cream) 88%, transparent); }

.jobs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }

.job-stub__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: 20px clamp(18px, 2.4vw, 28px);
  background: var(--cream);
  color: var(--forest);
  border: 2px solid var(--forest);
  border-radius: 12px;
  box-shadow: 5px 5px 0 0 var(--forest);
  text-decoration: none;
  transition: transform 220ms cubic-bezier(.2,.9,.3,1), box-shadow 220ms;
}
.job-stub__link:hover,
.job-stub__link:focus-visible { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 0 var(--forest); }

.job-stub__main { display: grid; gap: 6px; }
.job-stub__name {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: clamp(21px, 2.2vw, 30px);
  line-height: 1.02;
}
.job-stub__desc { font-size: 14.5px; line-height: 1.5; opacity: .85; }
.job-stub__facts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; justify-content: flex-end; }
.job-stub__chip {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--yellow);
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10.5px;
}
.job-stub__fact { font-size: 13px; opacity: .8; }
.job-stub__arrow { font-size: 22px; line-height: 1; }

.jobs__empty {
  background: var(--cream);
  color: var(--forest);
  border: 2px dashed var(--forest);
  border-radius: 12px;
  padding: 26px 28px;
  display: grid;
  gap: 14px;
  justify-items: start;
  max-width: 70ch;
}
.jobs__empty p { margin: 0; }
.job__apply-foot { margin-top: 28px; }

@media (max-width: 760px) {
  .job-stub__link { grid-template-columns: 1fr; gap: 14px; }
  .job-stub__facts { justify-content: flex-start; }
  .job-stub__arrow { display: none; }
}

/* --------------------------------------------------------------------------
   Legibility pass

   The small uppercase labels were set at 10–12px with wide tracking. That
   reads well in a design file at 200% and badly on an actual screen: letter-
   spacing pulls the letters apart faster than the eye can group them, so an
   11px tracked label is harder to read than an 11px untracked one. Everything
   in this chapter goes up two points and loses a little tracking. Nothing
   moves — these are all inline labels inside boxes that size themselves.
   -------------------------------------------------------------------------- */

.eyebrow { font-size: 14.5px; letter-spacing: 0.26em; }

.eyebrow--pill {
  font-size: 13px;
  letter-spacing: 0.2em;
  padding: 8px 18px 8px 15px;
}

.hero__eyebrow { font-size: 15px; letter-spacing: 0.26em; }

/* the allergen link under the menu button */
.menupdf__sub { font-size: 14px; letter-spacing: 0.12em; }
.menupdf__card-foot { font-size: 11.5px; letter-spacing: 0.18em; }

/* menu card furniture */
.menu__unit { font-size: 12.5px; letter-spacing: 0.18em; }
.allergens__toggle { font-size: 13.5px; }
.allergens__cell strong { font-size: 13px; letter-spacing: 0.13em; }
.allergens__fine { font-size: 13px; letter-spacing: 0.14em; }

/* hours */
.hours__legend-note { font-size: 13px; }

/* rail, panels and the reservation pop-up */
.rail__kicker { font-size: 12.5px; }
.panel__kicker { font-size: 13px; letter-spacing: 0.22em; }
.res-modal__kicker { font-size: 13px; letter-spacing: 0.2em; }
.res-modal__brand { font-size: 12.5px; letter-spacing: 0.15em; }

/* the newer sections */
.nearby-card__kind { font-size: 12px; letter-spacing: 0.13em; }
.nearby-card__chip,
.job-stub__chip { font-size: 12px; letter-spacing: 0.1em; padding: 4px 12px; }
.nearby-card__when { font-size: 13.5px; }
.job-stub__fact { font-size: 14px; }
.socials__label { font-size: 13px; letter-spacing: 0.13em; }
.spot__dl dt { font-size: 12px; letter-spacing: 0.12em; }

/* --------------------------------------------------------------------------
   Bigger social marks in the top bar
   -------------------------------------------------------------------------- */

.topbar__socials { gap: 14px; }
.topbar__socials a { width: 30px; height: 30px; }
.topbar__socials img { width: 26px; height: 26px; }
.topbar--scrolled .topbar__socials { gap: 11px; }
.topbar--scrolled .topbar__socials a { width: 26px; height: 26px; }
.topbar--scrolled .topbar__socials img { width: 22px; height: 22px; }

.mobile-menu__socials a { width: 52px; height: 52px; }
.mobile-menu__socials img { width: 28px; height: 28px; }

@media (max-width: 760px) {
  .eyebrow { font-size: 13px; }
  .eyebrow--pill { font-size: 12px; letter-spacing: 0.18em; }
  .hero__eyebrow { font-size: 12.5px; letter-spacing: 0.2em; }
  .menupdf__sub { font-size: 13px; }
}

/* The phone number in the mobile menu — on a phone, calling is the shortcut. */
.mobile-menu__call {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  margin-bottom: 10px;
  background: transparent;
  color: var(--forest);
  border: 2px solid var(--forest);
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
}
.mobile-menu__call strong { font-family: var(--font-body, inherit); letter-spacing: 0; font-size: 15px; }
.mobile-menu__call:active { background: var(--yellow); }


/* --------------------------------------------------------------------------
   Footer navigation, and this year's dates on the nearby pages
   -------------------------------------------------------------------------- */

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 4px 0 6px;
}
.footer__nav a {
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: border-color 200ms, opacity 200ms;
  opacity: .85;
}
.footer__nav a:hover,
.footer__nav a:focus-visible { opacity: 1; border-bottom-color: currentColor; }

/* The dates sit right under the H1, where a visitor checking "is it on this
   week" looks first. */
.spot__dates {
  display: inline-flex;
  margin: 0;
  padding: 7px 16px;
  background: var(--yellow);
  color: var(--forest);
  border: 2px solid var(--forest);
  border-radius: 999px;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
}
.nearby-card__when--dates { font-weight: 600; opacity: 1; }


/* The secondary link under an event panel's button. */
.panel__link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-eye);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 3px;
  opacity: .85;
  transition: opacity 180ms;
}
.panel__link:hover, .panel__link:focus-visible { opacity: 1; }
