/* --------------------------------------------------------------------------
   WEBFONTS — all three are self-hosted from assets/fonts/ and preloaded in
   each page's <head>. Oswald and Epilogue used to come from Google Fonts;
   serving them from our own origin removes two extra DNS+TLS handshakes and
   a second round trip, which is what let headings paint in Arial Narrow and
   then jump to Oswald.

   Both are VARIABLE fonts — one file covers the whole weight range, which is
   why there is a range in font-weight rather than a single number. Don't
   replace these with static per-weight files; you'd ship more bytes.

   Only the `latin` subset is stored. Every character the site actually
   renders lives in it. The arrows and stars sit outside latin and already
   fell back to a system face under Google Fonts, so nothing has changed.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Oswald';
  src: url('assets/fonts/Oswald-Variable.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'Epilogue';
  src: url('assets/fonts/Epilogue-Variable.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'WindSong';
  src: url('assets/fonts/WindSong-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  /* block, not swap: swap paints Brush Script MT first and then jumps to this
     face, which is the flicker. block holds that one word invisible for up to
     ~3s instead, and since menu.html preloads the file it is normally in hand
     before first paint, so nothing is held at all. Only this word is affected
     — every other element paints immediately. */
  font-display: block;
}

/* ==========================================================================
   SILK ROAD CHAI & COFFEE — styles.css

   MOBILE-FIRST. Rules outside any @media block ARE the phone layout. Larger
   screens only ever add to it, never undo it.

   ┌── BREAKPOINTS — there are only three. Please don't invent a fourth. ────┐
   │                                                                        │
   │   (none)   0–599px    Phone. Single column, everything full width.      │
   │   600px    600–899    Large phone landscape / tablet portrait.          │
   │                       Two-column grids appear. Still hamburger nav.     │
   │   900px    900–1199   Tablet landscape / laptop. Desktop nav appears,   │
   │                       header grows, side-by-side layouts.               │
   │   1200px   1200+      Wide desktop. Three-column package grid.          │
   │                                                                        │
   │   900px is the important one: it's where the hamburger becomes the      │
   │   full nav, so every mobile-only behaviour keys off it.                 │
   └────────────────────────────────────────────────────────────────────────┘

   CONTENTS
     1. Design tokens          6. Packages
     2. Reset & base           7. Community / Events
     3. Layout helpers         8. Book / About / Menu
     4. Header & navigation    9. Footer & utilities
     5. Hero
   ========================================================================== */


/* ==========================================================================
   1. DESIGN TOKENS
   >> CHANGE BRAND COLOURS HERE and the whole site re-themes.
   ========================================================================== */
:root {
  /* ---- THE BRAND PALETTE — these five are the whole system --------------
     #FFFFFF  white          page background
     #EEEDEB  warm grey      quiet bands, hairlines
     #FFF9E9  cream          warm accent, button fill
     #4D5347  sage green     dark bands, primary buttons
     #000000  black          all body text
     --------------------------------------------------------------------- */
  --white:        #FFFFFF;
  --grey:         #EEEDEB;
  --cream:        #FFF9E9;
  --green:        #4D5347;
  --black:        #000000;

  /* Same sage as --green, as raw channels, so it can be used at partial
     opacity: rgba(var(--green-rgb), .9). Keep the two in sync. */
  --green-rgb:    77, 83, 71;

  /* Header glass. A near-neutral charcoal — deliberately NOT the brand green,
     which read as a solid bar rather than as glass. The two-point green cast
     stops it going cold against the warm photography. */
  --header-glass-rgb: 18, 20, 17;

  /* ---- Working aliases (what the rest of the file actually calls) ------- */
  --bg:           var(--white);
  --ink:          var(--black);   /* body text */
  --bone:         var(--grey);    /* the About band */

  /* ---- Derived shades — NOT new brand colours -------------------------
     Every value below is one of the five above, either darkened or set at
     partial opacity. Nothing here introduces a sixth colour.
     --------------------------------------------------------------------- */
  --green-dark:   #3A3F36;              /* sage at 76% — button/link hover  */
  --green-soft:   var(--grey);          /* quiet tinted background          */
  --cream-soft:   #FFFCF4;              /* cream lightened toward white     */
  --muted:        rgba(0, 0, 0, .62);   /* black at 62% — secondary text    */
  --line:         rgba(0, 0, 0, .13);   /* black at 13% — hairline borders  */
  --alert:        #b8480f;              /* fall-menu terracotta — closures  */

  /* ---- Typography — matches the Squarespace theme ----------------------
     Headings   Oswald
     Body/misc  Epilogue
     Base size  16px
     Both are open-source (OFL), so unlike an Adobe Fonts face they may be
     self-hosted. See the README if you want to drop the Google request.
     --------------------------------------------------------------------- */

  /* Arial Narrow sits first in the fallback because it's condensed like
     Oswald. Before the webfont arrives, headlines then occupy roughly the
     right width instead of ballooning and reflowing when it loads. */
  --font-display: 'Oswald', 'Arial Narrow', 'Helvetica Neue Condensed', 'Helvetica Neue', sans-serif;
  --font-body:    'Epilogue', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Header height follows the logo — it grew when the logo doubled so the
     wordmark keeps breathing room rather than touching the edges. Everything
     that needs to clear the fixed header (anchor scrolling, hero top padding,
     the menu jump bar) reads this variable, so changing it here is enough. */
  --header-h:     70px;
  --radius:       10px;
  --ease:         cubic-bezier(.2, .8, .2, 1);
  --shell:        1240px;   /* max content width */

  /* Fluid page gutter: 20px on a phone, up to 48px on a desktop */
  --gutter:       clamp(20px, 5vw, 48px);

  /* ======================================================================
     EXTENDED PALETTE (Nov 2026). The five brand colours above are still the
     whole brand. Everything below is either a darker/lighter shade of them or a
     named status or seasonal colour that already appeared on the site. Every
     "text" colour here clears 4.5:1 on the backgrounds it is meant for (checked
     with a contrast calculator, not by eye). See DESIGN-SYSTEM.md.
     ====================================================================== */

  /* Neutrals */
  --grey-soft:    #F7F6F4;              /* grey lightened toward white: form panels      */
  --field:        rgba(0, 0, 0, .5);    /* edge of inputs and tick-boxes (3:1, WCAG 1.4.11) */

  /* Sage tints and shades */
  --green-tint:   #E6E8E3;              /* selected / hover rows. Sage text on it: 6.4:1  */
  --green-light:  #6B7264;              /* tertiary text, captions. On white: 5.0:1       */
  --cream-deep:   #F4E9CC;              /* pressed cream buttons, banners. Black on it: 17:1 */

  /* Status. Terracotta (--alert above) is also the error colour. */
  --error:        var(--alert);         /* one red, not two                               */
  --alert-tint:   #FBE9DF;              /* background of an error or closure message      */
  --alert-dark:   #8F3606;              /* text on --alert-tint: 7.8:1 on white           */
  --alert-ink:    #5C2406;              /* body text on --alert-tint                      */
  --gold:         #7A5F1C;              /* "limited", highlights, small accent text. 6.0:1 on white, white on it 6.0:1 */
  --gold-soft:    #F0D9A8;              /* gold on dark bands. On sage: 5.8:1             */
  --gold-tint:    #FBF1D8;              /* background of a heads-up message               */

  /* Seasonal menu themes (see the SEASONAL MENU block). White/cream text on each: 5.3:1 or better. */
  --season-default: var(--green);
  --season-fall:    #b8480f;            /* terracotta, from the fall menu artwork         */
  --season-spooky:  #5b3a6e;            /* plum                                           */
  --season-holiday: #77230d;            /* deep red, the owner's flyer red                */
  --season-spring:  #8A3B4A;            /* rose chai. 7.5:1 with white. Not used yet.     */
  --season-summer:  var(--gold);        /* saffron. Not used yet.                         */

  /* ---- Scales ---------------------------------------------------------- */
  /* Type (small and body sizes; the big display sizes stay as clamp() in their rules) */
  --text-2xs: .68rem;    /* badges, tiny labels */
  --text-xs:  .8rem;     /* captions, fine print */
  --text-sm:  .88rem;    /* secondary text, meta lines, small buttons */
  --text-base: .95rem;   /* compact body: cards, lists, buttons */
  --text-md:  1rem;      /* body */
  --text-lg:  1.1rem;    /* lead-ins */

  /* Space: a 4px ladder. Use these in new rules; older rules keep their own values. */
  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  /* Corners (--radius, 10px, is the default for cards and panels) */
  --radius-xs:   4px;    /* buttons, small tags */
  --radius-sm:   8px;    /* inputs, small boxes */
  --radius-lg:   16px;   /* big panels */
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm:      0 1px 2px rgba(0, 0, 0, .10);     /* a button at rest */
  --shadow-md:      0 12px 32px rgba(0, 0, 0, .13);   /* cards and menus */
  --shadow-lg:      0 18px 46px rgba(0, 0, 0, .16);   /* raised panels */
  --shadow-raise:   0 8px 22px rgba(0, 0, 0, .22);    /* a button lifting on hover */
  --shadow-overlay: 0 24px 70px rgba(0, 0, 0, .45);   /* dialogs over a dimmed page */

  /* Layers, lowest to highest */
  --z-raised: 1;     /* a thing lifted just above its neighbours */
  --z-sticky: 40;    /* the menu jump bar */
  --z-float:  90;    /* back-to-top button */
  --z-cta:    92;    /* the sticky Book / Menu bar on phones */
  --z-menu:   95;    /* the phone navigation panel */
  --z-header: 100;   /* the site header */
  --z-skip:   200;   /* the skip link */
  --z-modal:  1001;  /* dialogs */
}

@media (min-width: 900px) { :root { --header-h: 96px; } }


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Stops anchor links from tucking their target under the fixed header */
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  /* 16px to match the Squarespace theme's base size. Epilogue has a large
     x-height, so it reads slightly bigger than its point size suggests. */
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Locked while the mobile menu is open */
body.nav-open { overflow: hidden; }

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

a { color: inherit; }

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

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }

::selection { background: var(--green); color: var(--cream); }

/* Visible focus ring for keyboard users only.
   Two-tone on purpose, and set by two custom properties so one rule covers
   every surface: --focus-ring is the outline, --focus-gap is the band between
   the outline and the control.
   Light surfaces (white, grey, cream; the default): dark green ring over a
   cream band.
   Dark surfaces (header, mobile menu, footer, sage sections, hero bands,
   chips and cards): cream ring over a dark-green band, so it also holds on
   photos. The old rule used the dark ring everywhere, and on sage only the
   cream band showed (the dark ring alone was 1.36:1 there). */
:root {
  --focus-ring: var(--green-dark);
  --focus-gap:  var(--cream);
}
.site-header,
.nav-mobile,
.site-footer,
.section--dark,
.hero,
.menu-jump,
.ig-card,
.sticky-cta,
.map-dialog-head,
.week-note {
  --focus-ring: var(--cream);
  --focus-gap:  var(--green-dark);
}
:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  /* !important because .btn and .to-top set their own box-shadow further down
     at the same specificity, which silently dropped the band and left the
     dark ring alone on sage (1.4:1) on every button. */
  box-shadow: 0 0 0 3px var(--focus-gap) !important;
  border-radius: var(--radius-xs);
}
/* A cream button swallows a cream ring (and a dark one is lost on sage), so
   it always gets the dark-band-then-cream-ring pairing, on any surface. */
.btn--cream:focus-visible,
.menu-jump a.is-current:focus-visible {
  --focus-ring: var(--cream);
  --focus-gap:  var(--green-dark);
}
/* Things that only take focus from script (<main> after the skip link, a
   section after a jump link) are landing spots, not controls — no ring. */
[tabindex="-1"]:focus-visible {
  outline: none;
  box-shadow: none !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: var(--z-skip);
  background: var(--cream);
  color: var(--ink);
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }


/* ==========================================================================
   3. LAYOUT HELPERS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Vertical rhythm. The vw term makes this breathe with the screen; the 48px
   floor keeps phone sections from feeling cramped without wasting a third of
   the viewport on empty space. */
.section { padding-block: clamp(48px, 9vw, 110px); }

.section--dark {
  background: var(--green);
  color: var(--white);
}

/* For pages that open on a section instead of a photo hero (Book, Menu):
   adds enough top padding to clear the fixed header. */
.section--page-top { padding-top: calc(var(--header-h) + clamp(36px, 7vw, 76px)); }

/* Fluid type scale — no media queries needed, it just breathes with the viewport */
.h2 {
  font-size: clamp(1.9rem, 5.2vw, 3.1rem);
  color: var(--ink);
}
.h2--light { color: var(--white); }

.lead {
  font-size: clamp(1rem, 2.4vw, 1.08rem);
  color: var(--ink);
  max-width: 56ch;
}
.lead--light { color: rgba(255,255,255,.9); }

/* Emphasis inside a heading: a warm gold, not an underline (an underline reads as a link).
   --gold-soft on the sage and photo heroes is above 5:1. */
.u-mark { color: var(--gold-soft); }
.u-mark--cream { color: var(--gold-soft); }

.link-underline {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: opacity .25s var(--ease);
}
.link-underline:hover { opacity: .7; }


/* --------------------------------------------------------------------------
   BUTTONS — shared transition system.
   Every button lifts 2px, deepens its shadow, and shifts colour on hover.
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg:     var(--cream);
  --btn-fg:     var(--ink);
  --btn-bg-alt: var(--white);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;                 /* comfortable thumb target */
  padding: 13px 30px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    background-color .3s var(--ease),
    transform        .3s var(--ease),
    box-shadow       .3s var(--ease),
    color            .3s var(--ease);
}

.btn:hover {
  background: var(--btn-bg-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-raise);
}
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(0,0,0,.18); }

/* DISABLED: can't be used right now. Dimmed, no lift, no pointer. Use aria-disabled="true"
   (or the disabled attribute on a <button>) and say why in nearby text. */
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}
/* LOADING: working on it. Add aria-busy="true"; the label stays, a small spinner follows it. */
.btn[aria-busy="true"] { cursor: progress; pointer-events: none; }
.btn[aria-busy="true"]::after {
  content: "";
  width: 1em;
  height: 1em;
  margin-left: .1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: btn-spin .8s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

.btn--cream { --btn-bg: var(--cream);      --btn-fg: var(--ink); --btn-bg-alt: var(--white); }
.btn--green { --btn-bg: var(--green);      --btn-fg: var(--white);       --btn-bg-alt: var(--green-dark); }
.btn--sm    { min-height: 42px; padding: 10px 20px; font-size: var(--text-sm); }

/* SECONDARY BUTTON ON A LIGHT BACKGROUND.
   A cream button on the cream closing band was cream-on-cream — a measured
   contrast of 1.00:1, i.e. completely invisible apart from its shadow. This
   outlined version reads at 7.6:1 and still sits back from the primary. */
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--green);
  --btn-bg-alt: var(--green);
  border-color: var(--green);
  box-shadow: none;
}
.btn--outline:hover,
.btn--outline:focus-visible { color: var(--white); }
/* Keyboard focus has to get the green fill too, as hover does — otherwise
   the white label above sits on a see-through button over cream (1.05:1)
   and the button reads as an empty box. */
.btn--outline:focus-visible { background: var(--btn-bg-alt); }

/* SECONDARY BUTTON ON A DARK BACKGROUND (the sticky bar). */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--white);
  --btn-bg-alt: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .6);
  box-shadow: none;
}


/* --------------------------------------------------------------------------
   SCROLL-REVEAL
   Elements start slightly down + transparent, then settle when they enter the
   viewport. Only opacity and transform animate, so this is GPU-composited and
   causes zero layout shift.
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* Once settled, release the compositor hint */
.reveal.is-done { will-change: auto; }

/* If JS is unavailable, never hide content */
.no-js .reveal { opacity: 1; transform: none; }


/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
/* ┌── HEADER SCRIM ───────────────────────────────────────────────────────┐
   │  At the very top of a page the header is fully transparent, sitting   │
   │  over the hero photograph. The moment you scroll it fades in a green  │
   │  scrim that is dense at the top and tapers to nothing at the bottom,  │
   │  so there's no hard edge cutting across the page.                     │
   │                                                                       │
   │  Built from two stacked pseudo-elements, both extending 18px BELOW    │
   │  the header's layout box so the fade has somewhere to finish. Because │
   │  they're absolutely positioned inside a fixed parent, that overhang   │
   │  is purely visual — it changes no layout and no anchor offsets.       │
   │                                                                       │
   │    ::before  a tapered blur of whatever is behind                     │
   │    ::after   the tapered green gradient itself                        │
   │                                                                       │
   │  Density is driven by --header-tint, which app.js ramps 0 -> 1 over    │
   │  the first 180px of scroll, so the glass DARKENS as you travel down   │
   │  rather than snapping on at a threshold.                              │
   │                                                                       │
   │  CONTRAST FLOOR. Nav text is pure #fff. The gradient holds .66-.72    │
   │  through the top 50%, where the logo and links sit. Composited over   │
   │  pure white — the worst backdrop there is — that lands at 5.8:1,      │
   │  clear of the 4.5:1 minimum. Soften those first two stops and you     │
   │  drop below it: at .50 the same test gives 3.6:1 and fails.           │
   │                                                                       │
   │  The ramp only matters where it is still weak, i.e. the first ~180px  │
   │  of each page. That strip is a dark hero photo, the green --dark      │
   │  section or the terracotta panel on every one of the six pages, so    │
   │  white text is safe there even at tint 0. If a page ever opens on a   │
   │  light background, revisit this.                                      │
   └───────────────────────────────────────────────────────────────────────┘ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: transparent;
  /* 0 at the top of the page, 1 once fully darkened. app.js writes this on
     scroll; with JS off it stays 0 and the header is transparent, which is
     exactly how it behaved before. */
  --header-tint: 0;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  inset: 0 0 -18px 0;          /* the 18px is the visual overhang */
  pointer-events: none;
  opacity: var(--header-tint);
  /* No transition: the value is rewritten per animation frame, and a
     transition would lag a frame behind the scroll and feel rubbery. */
}

/* Blur layer. Masked with the same taper as the gradient — without the mask
   the blur would stop dead at the element's edge and draw a visible seam. */
.site-header::before {
  -webkit-backdrop-filter: blur(18px) saturate(180%);
          backdrop-filter: blur(18px) saturate(180%);
  -webkit-mask-image: linear-gradient(180deg, var(--black) 0%, var(--black) 52%, rgba(0,0,0,.35) 78%, transparent 100%);
          mask-image: linear-gradient(180deg, var(--black) 0%, var(--black) 52%, rgba(0,0,0,.35) 78%, transparent 100%);
}

/* The tint itself. Same taper as before so the bottom edge still dissolves
   instead of cutting a line across the page. */
.site-header::after {
  background: linear-gradient(
    180deg,
    rgba(var(--header-glass-rgb), .72) 0%,
    rgba(var(--header-glass-rgb), .66) 50%,
    rgba(var(--header-glass-rgb), .42) 74%,
    rgba(var(--header-glass-rgb), .16) 90%,
    rgba(var(--header-glass-rgb), 0)   100%
  );
}

/* Without backdrop-filter there is no glass to see through, so the tint has
   to carry the contrast on its own. Firefox before 103 and older Safari. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header::after {
    background: linear-gradient(
      180deg,
      rgba(var(--header-glass-rgb), .94) 0%,
      rgba(var(--header-glass-rgb), .90) 50%,
      rgba(var(--header-glass-rgb), .60) 74%,
      rgba(var(--header-glass-rgb), .24) 90%,
      rgba(var(--header-glass-rgb), 0)   100%
    );
  }
}

.header-inner {
  position: relative;   /* keeps logo and nav above both scrim layers */
  z-index: var(--z-raised);
  height: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: block; flex: none; }

/* LOGO SIZING — roughly double the previous on-screen size.
   Two thirds of that came for free: the source file had a big transparent
   margin baked in, so the wordmark only occupied 58% of its own canvas. At a
   40px box the visible mark was ~23px. The asset is now cropped to the artwork
   (1059×500 instead of 1257×837), so the box height IS the mark height.
   The remaining difference comes from the modest bump below.

   ⚠️ If you ever re-export the logo, keep it tightly cropped and update the
   width/height attributes on the <img> in all five HTML files — they set the
   reserved aspect ratio, and stale numbers distort it. */
.brand-logo {
  width: auto;
  height: 48px;
  /* Lifts the white wordmark off busy hero photography */
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .45));
  transition: opacity .3s var(--ease);
}
.brand:hover .brand-logo { opacity: .8; }

@media (min-width: 900px) { .brand-logo { height: 70px; } }

/* ---------- Desktop nav ---------- */
.nav-desktop { display: none; }
/* From 1200px the links sit in the exact centre of the header, so they don't move between the website and the shop
   (the shop's Cart button on the right would otherwise push them left). Below that they keep flowing beside the logo. */
@media (min-width: 1200px) {
  /* width: max-content: an absolutely placed box would otherwise shrink to half the header and wrap the labels. */
  .nav-desktop { position: absolute; left: 50%; transform: translateX(-50%); width: max-content; white-space: nowrap; }
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: clamp(16px, 2vw, 30px);
  }
  .nav-link {
    position: relative;
    color: var(--white);
    font-size: var(--text-md);
    text-decoration: none;
    /* 44px tall target (it was 38px). The text stays centred, and the
       underline below keeps its old distance under the text. */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding-block: 6px;
    transition: opacity .25s var(--ease);
  }
  /* Underline grows out from the centre on hover */
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 3px;                                   /* fallback: no lh unit */
    bottom: calc((44px - 1lh) / 2 - 6px);          /* 6px under the text, as before */
    width: 100%; height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .32s var(--ease);
  }
  .nav-link:hover::after,
  .nav-link.is-active::after { transform: scaleX(1); }
  .nav-link:hover { opacity: .85; }
}

/* The page you are currently on, in both navs */
.nav-mobile-link.is-active {
  color: var(--cream);
  /* Underlined as well: cream against white is too close to be the only
     thing marking the current page. Same cue the desktop nav uses. */
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
}

/* ---------- Animated hamburger ---------- */
.hamburger {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-right: -10px;
  background: none;
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
@media (min-width: 900px) { .hamburger { display: none; } }

.hamburger-box {
  position: relative;
  display: block;
  width: 26px; height: 18px;
}
.hamburger-bar {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .38s var(--ease), opacity .2s var(--ease);
}
.hamburger-bar:nth-child(1) { top: 0; }
.hamburger-bar:nth-child(2) { top: 8px; }
.hamburger-bar:nth-child(3) { top: 16px; }

/* Bars converge and cross into an X */
.hamburger.is-open .hamburger-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open .hamburger-bar:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.hamburger.is-open .hamburger-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Full-screen mobile menu ---------- */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  /* flex-start + scrolling: on a phone held sideways, or a laptop zoomed to
     200%, the six links are taller than the screen. Centred and unscrollable,
     Home and Menu sat off-screen with no way to reach them. Looks the same at
     normal sizes — .nav-mobile-list's auto margin does the positioning. */
  justify-content: flex-start;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-top: var(--header-h);   /* focused links stop below the logo */
  padding: var(--header-h) var(--gutter) 40px;
  background: var(--green);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility .38s;
}
.nav-mobile[hidden] { display: flex; }     /* we animate it, so keep it in flow */
.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (min-width: 900px) { .nav-mobile { display: none !important; } }

.nav-mobile-list {
  list-style: none;
  margin: 0 0 auto;
  padding: 0;
}
.nav-mobile-list li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  /* Each link starts 60ms after the one above it */
  transition-delay: calc(var(--i) * 60ms + 90ms);
}
.nav-mobile.is-open .nav-mobile-list li { opacity: 1; transform: translateY(0); }

.nav-mobile-link {
  display: block;
  padding: 14px 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 2.9rem);
  font-weight: 500;
  text-decoration: none;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.nav-mobile-link:hover,
.nav-mobile-link:focus { color: var(--cream); transform: translateX(6px); }

.nav-mobile-foot {
  color: rgba(255,255,255,.72);
  font-size: var(--text-base);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  transition-delay: calc(var(--i) * 60ms + 90ms);
}
.nav-mobile.is-open .nav-mobile-foot { opacity: 1; transform: translateY(0); }
.nav-mobile-foot a {
  color: var(--cream);
  /* 44px tap target (the bare inline link was 16px). The negative margin
     gives back the extra height so the foot sits where it always did. */
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: calc((1.6em - 44px) / 2);
}
.nav-mobile-foot p { margin: 6px 0 0; font-family: var(--font-display); letter-spacing: .04em; }
/* Seven links (Shop added Nov 2026): on short phones (iPhone SE, 667px) tighten them so the email still shows. */
@media (max-height: 760px) {
  .nav-mobile-link { padding: 10px 0; font-size: clamp(1.75rem, 8vw, 2.5rem); }
}


/* ==========================================================================
   5. HERO
   .hero-media is absolutely positioned and 120% tall so there is headroom for
   the parallax translate — the image never runs out of pixels at either end.
   ========================================================================== */
/* PHONE SIZING NOTE
   Heroes used to be 74–86svh, which on a phone meant the entire first screen
   was a photo and a headline — you had to scroll before seeing a single word
   about what the business does. They're now sized to end just below the
   button, so the next section peeks above the fold and invites a scroll.
   Full-height drama is reserved for 900px and up, where there's room for it. */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 62svh;                 /* svh dodges the iOS URL-bar resize jump */
  padding-block: calc(var(--header-h) + 28px) 44px;
  color: var(--white);
}
@supports not (min-height: 62svh) { .hero { min-height: 62vh; } }

.hero--home { min-height: 72svh; }
@supports not (min-height: 72svh) { .hero--home { min-height: 72vh; } }

.hero--band { min-height: 42svh; }
@supports not (min-height: 42svh) { .hero--band { min-height: 42vh; } }

/* Desktop: a confident photo band, not a wall. Capped in pixels as well as screen height so a
   big monitor doesn't push the first section out of view (owner's ask, Nov 2026: the old
   74–86% heights felt oversized on desktop). */
@media (min-width: 900px) {
  .hero        { min-height: min(60svh, 560px); padding-block: calc(var(--header-h) + 28px) 48px; }
  .hero--home  { min-height: min(70svh, 660px); }
  .hero--band  { min-height: min(40svh, 400px); }

  @supports not (min-height: 60svh) {
    .hero       { min-height: min(60vh, 560px); }
    .hero--home { min-height: min(70vh, 660px); }
    .hero--band { min-height: min(40vh, 400px); }
  }
}

.hero-media {
  position: absolute;
  inset: -10% 0;                     /* the parallax headroom */
  z-index: -2;
  will-change: transform;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark wash so white text always clears WCAG contrast, whatever the photo */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.56) 45%, rgba(0,0,0,.66) 100%);
  /* The middle stop was .38, right where the body-size subhead sits; over the
     bright parts of the photo that fell to about 2.8:1. At .56 white text
     clears 4.5:1 over any pixel. */
}
.hero-scrim--left {
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.50) 55%, rgba(0,0,0,.28) 100%);
}
/* On phones the text runs the full width, so the light right-hand side of
   that fade ends up behind it. Flat wash instead. */
@media (max-width: 899px) {
  .hero-scrim--left { background: rgba(0,0,0,.58); }
}
/* On desktop that same light right-hand side sits directly behind the white
   nav links while the header is still transparent (About, Our Work), which
   left them near 3:1. A short band across the top only, fading out just
   below the header, brings them past 4.5:1 without darkening the photo. */
@media (min-width: 900px) {
  .hero-scrim--left {
    background:
      linear-gradient(180deg, rgba(0,0,0,.5) 0, rgba(0,0,0,0) calc(var(--header-h) + 40px)),
      linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.50) 55%, rgba(0,0,0,.28) 100%);
  }
}

.hero-content { position: relative; text-align: center; }
.hero-content--left { text-align: left; }

/* The vw term is what does the work on phones; the rem floor/ceiling only
   catch the extremes. Tuned so the homepage headline lands on two lines at
   390px rather than three, which is what pushed the button off-screen. */
.hero-title {
  font-size: clamp(1.85rem, 7.6vw, 4.2rem);
  color: var(--white);
  margin-bottom: .38em;
  text-shadow: 0 2px 20px rgba(0,0,0,.30);
  /* Prevents a lone orphan word on the last line */
  text-wrap: balance;
}
.hero-title--band { font-size: clamp(1.6rem, 6.4vw, 3.6rem); }

.hero-sub {
  max-width: 62ch;
  margin-inline: auto;
  font-size: clamp(1rem, 2.9vw, 1.28rem);
  color: rgba(255,255,255,.94);
  text-shadow: 0 1px 12px rgba(0,0,0,.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.hero-actions--left { justify-content: flex-start; margin-top: 24px; }

.about-intro {
  max-width: 30ch;
  font-size: clamp(1.05rem, 3.4vw, 1.42rem);
  line-height: 1.5;
  color: var(--white);
  text-shadow: 0 1px 14px rgba(0,0,0,.4);
}

/* Desktop type for the hero (after the base rules above, so it wins): a calmer headline and a
   wider intro line, so the band stays compact instead of growing with a narrow paragraph. */
@media (min-width: 900px) {
  .hero-title        { font-size: clamp(2.4rem, 4.4vw, 3.5rem); }
  .hero-title--band  { font-size: clamp(2rem, 3.6vw, 2.9rem); }
  .about-intro       { max-width: 46ch; font-size: 1.2rem; }
  .hero-actions--left { margin-top: 20px; }
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,.6);
  border-radius: var(--radius-lg);
  display: none;
  transition: border-color .3s var(--ease);
}
.scroll-cue span {
  position: absolute;
  left: 50%; top: 8px;
  translate: -50% 0;
  width: 3px; height: 7px;
  background: var(--white);
  border-radius: 2px;
  /* Three passes, then still. Motion that runs longer than five seconds
     needs a pause control under WCAG 2.2.2; this is done in 4.8s. */
  animation: cue 1.6s var(--ease) 3;
}
.scroll-cue:hover { border-color: var(--white); }
@keyframes cue {
  0%, 100% { transform: translateY(0);    opacity: 1; }
  60%      { transform: translateY(14px); opacity: 0; }
}
@media (min-width: 900px) { .scroll-cue { display: block; } }


/* ==========================================================================
   6. MOBILE COFFEE CATERING
   ========================================================================== */
/* ┌── WHY THESE PHOTOS ARE CROPPED RATHER THAN SCALED ────────────────────┐
   │                                                                      │
   │  Both source images are portrait (2:3 and 3:4). Previously they were │
   │  set to width:100% with height:auto, so their height was whatever    │
   │  the aspect ratio produced. On a 600px screen that made the first    │
   │  photo 460×690 — the two images accounted for 72–79% of the entire   │
   │  section's height, for three sentences of copy.                      │
   │                                                                      │
   │  Now the FIGURE owns the height and the image fills it with          │
   │  object-fit: cover. Height is a clamp() tied to viewport width, so   │
   │  it can never run away, and any replacement photo — portrait,        │
   │  landscape, square — drops in without moving the layout.             │
   └──────────────────────────────────────────────────────────────────────┘ */
.catering-grid {
  display: grid;
  gap: clamp(14px, 2.6vw, 24px) clamp(12px, 2.4vw, 24px);

  /* Phones and tablets: copy first, then the two photos as a pair.
     Leading with a 500px portrait meant scrolling past a photograph before
     reading a single word about what the business does. */
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "copy copy"
    "a    b";
}
.catering-copy      { grid-area: copy; margin-bottom: clamp(4px, 1.5vw, 14px); }
.catering-photo--a  { grid-area: a; }
.catering-photo--b  { grid-area: b; }

.catering-photo {
  position: relative;             /* see the note on the <img> below */
  margin: 0;
  /* The figure owns the height — see the note above. */
  height: clamp(190px, 30vw, 280px);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* The image is positioned absolutely rather than sized with height: 100%.
   That percentage only resolves against a parent with a DEFINITE height, and
   the tall photo at 900px+ gets its height from stretching across two grid
   rows — which is not definite at the time the image is laid out. The
   percentage silently fell back to the image's intrinsic ratio and rendered
   544×816 instead of the intended crop. Absolute fill has no such dependency,
   and it also keeps the image out of grid row sizing, so there's no
   circularity between the row height and the photo height. */
.catering-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Crop anchors. Both sources are portrait, so a wide box has to discard the
   top and bottom — these keep the subject in frame.
   >> If you swap a photo and the crop looks wrong, adjust here. */
.catering-photo--a img { object-position: center 30%; }  /* keeps the barista and cup */
.catering-photo--b img { object-position: center 52%; }  /* keeps the pink menu card in frame */

/* ---------- 900px and up: the original editorial layout ----------
   Tall photo down the left, copy top-right, second photo beneath it. Source
   order is unchanged; only the grid areas move. */
@media (min-width: 900px) {
  .catering-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "a copy"
      "a b";
    gap: clamp(20px, 2.4vw, 32px) clamp(28px, 4vw, 56px);
    align-items: stretch;
  }
  .catering-copy { padding-top: 6px; margin-bottom: 0; }

  /* Spans both rows, so it stretches to the height of copy + photo B.
     min-height stops it collapsing when the copy is short. */
  .catering-photo--a { height: auto; min-height: clamp(340px, 32vw, 480px); }
  .catering-photo--b { height: clamp(200px, 18vw, 280px); }
}


/* ==========================================================================
   7. CATERING PACKAGES
   ========================================================================== */
.packages .h2 { margin-bottom: clamp(30px, 5vw, 54px); }

/* ┌── PACKAGES LAYOUT — one switch point, at 720px ───────────────────────┐
   │                                                                      │
   │   ≤ 719px   Stacked. Photo beside the title, hairline between cards. │
   │   ≥ 720px   All three side by side, always. Never two.               │
   │                                                                      │
   │  720px rather than the site's usual 600px is deliberate. These are   │
   │  text-heavy cards: at a 600px viewport, three columns work out to    │
   │  about 170px each, which is roughly 15 characters a line — copy      │
   │  breaks into confetti. 720px is the narrowest width where three      │
   │  columns still hold a readable line. This is a component-level       │
   │  breakpoint, not a fourth site-wide tier.                            │
   │                                                                      │
   │  Everything between 720px and 1440px scales fluidly (see the clamp() │
   │  values below) so there's no jump — the circles and type simply grow │
   │  with the column.                                                    │
   └──────────────────────────────────────────────────────────────────────┘ */
.pkg-grid {
  display: grid;
  gap: clamp(38px, 5vw, 44px);
}

.pkg { display: flex; flex-direction: column; }

/* ---------- ≤719px: stacked, photo beside title ---------- */
/* Stacked in one column, three packages read as one continuous wall of text —
   there's no cue for where "The Espresso Bar" ends and "On Tap" begins. Each
   gets a hairline rule, and the photo sits beside the title rather than above
   it, saving roughly 150px of scrolling per card. */
@media (max-width: 719px) {
  .pkg-grid { gap: 0; }

  .pkg {
    display: grid;
    grid-template-columns: 104px 1fr;
    grid-template-areas:
      "media title"
      "body  body";
    column-gap: 16px;
    align-items: center;
    padding-block: 24px;
    border-top: 1px solid rgba(255,255,255,.18);
  }
  .pkg:first-child { border-top: 0; padding-top: 4px; }

  .pkg > .pkg-media { grid-area: media; width: 104px; margin-bottom: 0; }
  .pkg-title { grid-area: title; margin-bottom: 0; text-align: left; }
  .pkg-body  {
    grid-area: body;
    margin-top: 12px;
    /* Full width, this runs to ~87 characters a line on a 700px screen —
       long enough that the eye loses its place returning to the next line. */
    max-width: 62ch;
  }
}

/* ---------- ≥720px: three across, fluid ---------- */
@media (min-width: 720px) {
  .pkg-grid {
    grid-template-columns: repeat(3, 1fr);
    column-gap: clamp(20px, 2.6vw, 44px);
    row-gap: 0;
  }
}

/* Four packages (the seasonal cocoa card is on): two by two on tablets, four across
   on wide screens, so the fourth never sits alone on a second row. */
@media (min-width: 720px) and (max-width: 1099px) {
  .pkg-grid:has(> .pkg:nth-child(4)) { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; row-gap: clamp(28px, 4vw, 44px); }
  .pkg-grid:has(> .pkg:nth-child(4)) > .pkg { display: flex; grid-row: auto; grid-template-rows: none; }
  .pkg-grid:has(> .pkg:nth-child(4)) .pkg-media { margin-bottom: 16px; }
  .pkg-grid:has(> .pkg:nth-child(4)) .pkg-title { margin-bottom: 12px; }
}
@media (min-width: 1100px) {
  .pkg-grid:has(> .pkg:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
}

/* Align the three rows ACROSS the columns.
   Without this, "The Espresso Bar" (one line) and "The Silk Road Mobile
   Trailer" (two lines) push their body copy to different heights, and the
   row of circles no longer reads as a row. Subgrid makes all three cards
   share the grid's rows, so photos line up with photos and body copy starts
   on the same baseline in every column.
   Wrapped in @supports because browsers without subgrid fall back to the
   flex column above, which still stacks correctly — just less tidily. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 720px) {
    .pkg-grid {
      grid-template-rows: auto auto auto;   /* photo | title | body */
      row-gap: clamp(12px, 1.5vw, 20px);
    }
    .pkg {
      display: grid;
      grid-row: span 3;
      grid-template-rows: subgrid;
    }
    .pkg-media, .pkg-title { margin-bottom: 0; }
  }
}

/* Perfect circle crop, matching the original design.
   The vw term is what scales it between 720px and 1440px: ~125px on a tablet,
   ~215px on a wide desktop, with no step change in between. */
.pkg-media {
  width: min(clamp(118px, 15vw, 220px), 62%);
  aspect-ratio: 1;
  margin-bottom: 22px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}
.pkg-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.pkg:hover .pkg-media img { transform: scale(1.07); }

.pkg-title {
  font-size: clamp(1.3rem, 3.4vw, 1.62rem);
  color: var(--white);
  margin-bottom: .6em;
}
.pkg-body {
  font-size: var(--text-base);
  line-height: 1.66;
  color: rgba(255,255,255,.88);
}
.pkg-body p { margin-bottom: .95em; }

/* Once the cards are three across, both title and body have to live inside a
   third of the page rather than the whole of it, so they scale down with the
   column. Measured line lengths land at roughly 27–34 characters from tablet
   to desktop — tight, which is the nature of three columns, but comfortably
   above the ~25 mark where prose starts to feel choppy. */
@media (min-width: 720px) {
  .pkg-title { font-size: clamp(1.08rem, 1.9vw, 1.62rem); }
  /* .88rem floor, not .85rem — 14px is about as small as this body copy
     should get on a tablet, and it still leaves ~30 characters a line. */
  .pkg-body  { font-size: clamp(.88rem, 1.15vw, .96rem); line-height: 1.62; }
}
.pkg-body strong { color: var(--white); }

/* "Limited time" pill on a seasonal package (the holiday Hot Cocoa Bar).
   Cream on the sage band, so it reads as a tag rather than more title text.
   Lives inside the <h3> so the card keeps its three subgrid rows — photo,
   title, body — and the row of circles stays aligned. */
.pkg-badge {
  display: inline-block;
  vertical-align: .2em;
  margin-left: .4em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pkg-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(38px, 5vw, 56px);
}


/* ==========================================================================
   8. COMMUNITY STRIP
   ========================================================================== */
.community-grid {
  display: grid;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
@media (min-width: 900px) {
  .community-grid { grid-template-columns: minmax(0, 380px) 1fr; }
}

/* The arched crop from the original site */
.community-photo {
  margin: 0;
  max-width: 340px;
}
.community-photo img {
  width: 100%;
  border-radius: 999px 999px 8px 8px;
  box-shadow: var(--shadow-lg);
}

.community-copy .btn { margin-top: 22px; }
.community-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.community-actions .btn { margin-top: 22px; }

/* Home hero: a quiet link to the online shop under the two buttons (booking stays the main action). */
.hero-shop { margin-top: 36px; }
@media (min-width: 900px) { .hero-shop { margin-top: 28px; } }
.hero-shop a {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 44px;
  padding-inline: 4px;
  color: var(--white);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-shadow: 0 1px 12px rgba(0,0,0,.45);
}
.hero-shop a:hover { text-decoration-thickness: 2px; }


/* ---- CLIENT STRIP --------------------------------------------------------
   Used by index.html (under the hero) and work.html (under its hero).
   Lived in work.html's own <style> until the homepage needed it too.

   Plain type, not logos. Using a brand's actual logo usually needs their
   written permission; their name in a factual client list normally does not.
   -------------------------------------------------------------------------- */
.clients            { background: var(--grey); padding-block: clamp(30px, 5vw, 46px); }
.clients-label      { font-family: var(--font-display); text-transform: uppercase;
                      letter-spacing: .14em; font-size: var(--text-xs); color: var(--muted);
                      text-align: center; margin: 0 0 22px; }
.clients-list       { list-style: none; margin: 0; padding: 0; display: flex;
                      flex-wrap: wrap; justify-content: center;
                      gap: clamp(14px, 3vw, 38px); }
.clients-list li    { font-family: var(--font-display); font-weight: 500;
                      font-size: clamp(.95rem, 2.2vw, 1.3rem);
                      text-transform: uppercase; letter-spacing: .05em;
                      color: var(--ink); opacity: .78; }
/* Not a client name, so it deliberately doesn't look like one — body font,
   lower case, lighter. Reads as a closing aside rather than a brand. */
.clients-list .clients-etc {
                      font-family: var(--font-body); font-weight: 400;
                      font-size: clamp(.9rem, 2vw, 1.05rem);
                      text-transform: none; letter-spacing: 0;
                      font-style: italic; opacity: .62; align-self: center; }
/* Path from the proof to the evidence. Homepage only — on work.html the case
   studies are already directly below. */
.clients-more       { text-align: center; margin: 22px 0 0; font-size: var(--text-base); }


/* ---- STAT BAND -----------------------------------------------------------
   Used by index.html and work.html, two numbers on each.
   Lived in work.html's own <style> until the homepage needed it too.

   auto-fit rather than a fixed column count: empty tracks collapse, so adding
   or removing a stat re-flows the row without touching this rule.
   -------------------------------------------------------------------------- */
.stat-grid          { display: grid; gap: clamp(26px, 4vw, 44px);
                      grid-template-columns: repeat(2, 1fr); text-align: center;
                      /* Two numbers spread across a 1100px band read as
                         stranded; kept together they read as a pair. */
                      max-width: 820px; margin-inline: auto; }
@media (min-width: 760px) {
  .stat-grid        { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
}
.stat-num           { font-family: var(--font-display); font-weight: 600; line-height: 1;
                      font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--cream);
                      margin: 0 0 8px;
                      /* Equal-width figures: without this the number visibly
                         jitters as digits roll past each other. */
                      font-variant-numeric: tabular-nums; }

/* Odometer roll (app.js section 8). Each digit is a 1em window holding a
   0-9 column; only transform animates, so it cannot shift the page. The
   final number is plain text in the HTML — JS builds these columns only when
   the band scrolls in, so with JS off, or reduced motion, the number is just
   there. */
.odo                { display: inline-flex; align-items: flex-start; }
.odo-d              { display: inline-block; height: 1em; overflow: hidden; }
.odo-col            { display: block;
                      transform: translateY(var(--odo-y, 0));
                      transition: transform var(--odo-dur, 1.1s) cubic-bezier(.16, .84, .32, 1);
                      transition-delay: var(--odo-delay, 0s); }
.odo-col span       { display: block; height: 1em; }
.stat-lab           { margin: 0; font-size: var(--text-base); line-height: 1.45;
                      color: rgba(255,255,255,.82); }


/* ==========================================================================
   9. UPCOMING EVENTS
   ========================================================================== */
.events-body {
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: clamp(48px, 7vw, 84px);
}

/* --------------------------------------------------------------------------
   ICONS
   One hidden <svg> sprite per page holds the symbols; each icon is a <use>.
   Stroke is currentColor, so icons inherit the surrounding text colour and
   re-theme with the palette for free.
   -------------------------------------------------------------------------- */
.ico-sprite { display: none; }

.ev-ico {
  width: 1.6em;
  height: 1.6em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Hangs in the padding-left reserved by .event-name */
.ev-ico--inline {
  position: absolute;
  left: 0;
  top: .2em;
  width: 1.1em;
  height: 1.1em;
  color: var(--green);
}

.events-head { margin-bottom: clamp(20px, 3vw, 30px); }
/* The weekly-regulars block sits below the dated schedule, so it needs a clear
   break from the list above it. Scoped to that one header — the dated
   section's header is the first thing in the container and needs no top gap. */
.events-head--weekly { margin-top: clamp(48px, 7vw, 80px); }
.events-head .lead { color: var(--muted); }

/* A short callout sat just under a section's heading — used on events.html
   (hours may change) and menu.html (offerings vary by setup). Was named
   .events-note when only one page needed it; renamed once a second did, same
   as .clients and .stat-grid below. */
.notice,
.callout-note {
  margin: 14px 0 0;
  padding: var(--space-3) var(--space-4);
  border-left: 3px solid var(--green);
  background: var(--cream);
  border-radius: var(--radius);
  font-size: var(--text-base);
  color: var(--ink);
  max-width: 62ch;
}
.notice strong,
.callout-note strong { font-weight: 600; }
/* Menu page: the where-we-serve note opens the page, clearing the fixed header. It takes the
   colour of the seasonal panel below it (set inline in menu.html) and reads as that panel's
   first line: cream text and a cream rule rather than a bright card. Green with no season on. */
.menu-where {
  padding: calc(var(--header-h) + clamp(18px, 3.4vw, 32px)) 0 0;
  background: var(--where-bg, var(--green));
  color: var(--cream);
}
.menu-where .callout-note {
  margin: 0;
  padding: 2px 0 2px var(--space-4);
  background: transparent;
  border-left: 2px solid var(--cream);
  border-radius: 0;
  color: var(--cream);
}
.menu-where:not(.menu-where--season) { padding-bottom: clamp(18px, 3.4vw, 28px); }
.menu-where ~ .season-menu { padding-top: clamp(32px, 6vw, 64px); }
/* NOTICE: one message box, four jobs. Default = information (sage line, cream fill).
     .notice--good   confirmation ............... sage line, sage tint
     .notice--warn   a heads-up (limited, filling up) ... gold line, gold tint
     .notice--alert  a problem or closure ....... terracotta line, terracotta tint
   Use a <p> or <div>; for something urgent add role="alert". Pair every colour with
   words (never colour alone). */
.notice--good  { border-left-color: var(--green);  background: var(--green-tint); }
.notice--warn  { border-left-color: var(--gold);   background: var(--gold-tint); }
.notice--alert { border-left-color: var(--alert);  background: var(--alert-tint); color: var(--alert-ink); }
.events-preview { margin: 0 0 1.2rem; }   /* the team portal's "Preview changes" banner (app.js) */
/* No dark-section override needed: the border sits against the card's own
   cream fill, not the section behind it, so green reads the same way on
   both events.html (light section) and menu.html (dark section). */

/* --------------------------------------------------------------------------
   WEEKLY REGULARS
   Standing spots don't need dates, so the day of the week is the headline and
   the card leads with it. Three across on tablet and up.
   -------------------------------------------------------------------------- */
.week-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(12px, 2vw, 20px);
}
/* auto-fit, not repeat(3, …): the number of standing spots changes as the
   market season starts and ends. A fixed three-column track left a dead
   column when there were only two cards. auto-fit collapses the empty tracks
   so whatever is there fills the row. */
@media (min-width: 600px) {
  .week-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

.week-card {
  position: relative;
  /* Exposed as a variable so the paused banner can bleed to the card edges
     with a negative margin of exactly this value. */
  --week-pad: clamp(18px, 2.6vw, 26px);
  padding: var(--week-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;                  /* keeps the banner inside the corners */
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.week-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.week-day {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}
.week-card .ev-ico {
  width: 2.1em;
  height: 2.1em;
  color: var(--green);
  margin-bottom: 12px;
}

.week-venue {
  font-size: clamp(1.12rem, 2.6vw, 1.3rem);
  margin: 0 0 .3em;
}
.week-meta {
  margin: 0;
  font-size: var(--text-base);
  line-height: 1.45;
  color: var(--muted);
}
/* Opening hours — the thing people actually scan a schedule for, so it sits
   above the address and keeps full-strength ink. */
.week-time {
  font-weight: 600;
  color: var(--ink);
}

/* Street address — a notch quieter than the venue name above it */
.week-addr {
  font-size: var(--text-sm);
  color: rgba(0, 0, 0, .55);
}
/* PAUSED-SPOT BANNER
   Added by app.js when a standing spot is off for a date that's currently
   visible in the schedule. It sits at the very TOP of the card and bleeds to
   the edges, because the whole point is that it must be read before the venue
   name and address — anything below those gets skipped.

   Solid sage with cream text for a spot that's merely elsewhere that week.
   An outright closure (.is-closed, below) steps up to the fall-menu terracotta. */
.week-note {
  display: flex;
  align-items: center;
  gap: 9px;
  /* Negative margin equal to the card's padding, so it spans edge to edge */
  margin: calc(var(--week-pad) * -1) calc(var(--week-pad) * -1) var(--week-pad);
  padding: 11px var(--week-pad);
  background: var(--green);
  color: var(--cream);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .01em;
}
.week-note svg {
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.week-note .week-note-sub {
  display: block;
  font-weight: 400;
}

/* The card as a whole flags itself too, so the difference is visible before
   you've read a word. */
.week-card.is-paused {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}

/* CLOSED — the spot is cancelled that day (weather, market shut), which is
   more urgent than "we're somewhere else". Terracotta from the fall menu is
   the one warm colour already on the site; cream on it clears 5:1. */
.week-card.is-closed {
  border-color: var(--alert);
  box-shadow: 0 0 0 1px var(--alert);
}
.week-card.is-closed .week-note { background: var(--alert); }
/* A card with two banners: only the top one bleeds into the top padding */
.week-note + .week-note { margin-top: calc(var(--week-pad) * -1); }

.week-card .event-link { margin-top: 6px; }

/* Hidden by app.js once the spot's data-until date has passed */
.week-card[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   DATED EVENTS
   A date chip on the left, details on the right. Reads as a schedule rather
   than a stack of cards, which is what people are actually scanning for.
   -------------------------------------------------------------------------- */
.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

/* Keep the immediate week easy to scan; the additional dates are still in
   the same long-form list and can be revealed without leaving the page. */
.event-list[aria-busy="true"], .event-list[aria-busy="true"] ~ * { visibility: hidden; }
.event-list .event-row--extra { display: none; }
.event-list.is-expanded .event-row--extra { display: grid; }

.events-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  padding: 10px 18px;
  border: 1px solid var(--green);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--green);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.events-more:hover,
.events-more:focus-visible {
  background: var(--green);
  color: var(--white);
}
.events-more[hidden] { display: none; }

.event-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 22px);
  align-items: center;
  padding: clamp(14px, 2.2vw, 20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.event-row:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.date-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(56px, 9vw, 68px);
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  line-height: 1;
}
.date-chip-mon {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .82;
}
.date-chip-day {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 1.8rem);
  font-weight: 600;
  margin-top: 3px;
}
/* Day of the week under the date (added by app.js from data-date). The tile
   grows a little taller for it rather than squeezing the date. */
.date-chip:has(.date-chip-dow) { aspect-ratio: auto; min-height: clamp(56px, 9vw, 68px); padding: 8px 0 7px; }
.date-chip-dow {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .82;
}

/* The icon hangs in the left margin rather than sitting in the text flow.
   As a flex item it became an orphan: a long name like "Carrollton Elementary
   School | Teacher Coffee Day" wrapped to three lines on a 320px screen and
   left the cup stranded alone on line one. Hanging it also gives multi-line
   names a clean indent, with every line aligned under the first. */
.event-name {
  position: relative;
  display: block;
  padding-left: 1.75em;
  font-size: clamp(1.1rem, 2.8vw, 1.32rem);
  margin: 0 0 .28em;
}
/* Divider inside a two-part event name ("Venue | What it is").
   Because .event-name is a flex row, the two halves are separate flex items —
   so on a narrow phone the name breaks cleanly at the divider instead of
   mid-phrase. Muted and thinner than the name so it reads as punctuation. */
.name-sep {
  font-weight: 300;
  color: rgba(0, 0, 0, .3);
}

.event-meta {
  margin: 0;
  font-size: var(--text-base);
  color: var(--muted);
}
.event-meta .dot { margin: 0 .5em; }
@media (max-width: 520px) {
  .event-meta time { display: block; }
  .event-meta time + .dot { display: none; }
}
/* The address always starts its own line under the date and hours, rather
   than trailing them and breaking mid-address wherever the line runs out. */
.event-meta .event-addr { display: block; margin-top: 2px; }

.event-link {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  min-height: 40px;
  margin-top: 2px;
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .25s var(--ease);
}
.event-link:hover { color: var(--black); }

/* Private bookings: the venue is named, but three cues mark it as closed —
   a grey row, the padlock icon, and the badge below. No address, no map link. */
.event-row--private { background: var(--grey); }
.event-row--private .date-chip { background: var(--muted); }

/* Flows inline after the venue name, so it wraps naturally on a narrow phone
   rather than crushing the name into a column. */
.event-badge {
  display: inline-block;
  vertical-align: .14em;
  margin-left: .5em;
  padding: 3px 10px;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}

/* WHEN-IS-IT BADGES
   Real <span class="event-when"> text, not CSS content, so the word is in the
   page for screen readers and for anyone browsing with styles off.
   All three are added by app.js and move on their own as dates pass. Ranked
   by how much they matter to someone checking the page: today shouts,
   tomorrow speaks up, "next up" only appears when neither of those exists. */
.event-when {
  display: inline-block;
  vertical-align: .14em;
  margin-left: 0;                    /* the word space before it is the gap */
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* TODAY — the whole row lifts, not just the badge. This is the one thing
   someone opening the page on their phone is usually looking for. */
.event-row--today {
  background: var(--cream);
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
.event-when--today {
  background: var(--green);
  color: var(--cream);
}
/* Keep the private-booking grey from overriding the today treatment */
.event-row--private.event-row--today { background: var(--cream); }

/* TOMORROW — present but quieter: outlined rather than filled. */
.event-row--tomorrow { border-color: var(--green); }
.event-when--tomorrow {
  background: transparent;
  color: var(--green);
  box-shadow: inset 0 0 0 1px var(--green);
}

/* NEXT UP — only when nothing is on today or tomorrow. */
.event-row--next { border-color: var(--green); }
.event-when--next {
  background: var(--cream);
  color: var(--green-dark);
}

/* HERE NOW — today's row while it's on. Same lift as Today, with a small
   pulsing dot so it reads as live. The pulse stops under reduced motion. */
.event-when--live {
  background: var(--green);
  color: var(--cream);
}
.event-when-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: .08em;
  animation: event-live-pulse 1.8s ease-in-out infinite;
}
@keyframes event-live-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .3; }
}
@media (prefers-reduced-motion: reduce) {
  .event-when-dot { animation: none; }
}
.event-row--private.event-row--live { background: var(--cream); }

/* WRAPPED UP — over for the day but listed for an hour more. Muted like the
   private-booking grey, no lift, and the map link is hidden by app.js. */
.event-row--over,
.event-row--over:hover {
  background: var(--grey);
  transform: none;
  box-shadow: none;
}
.event-row--over .date-chip { background: var(--muted); }
.event-row--over .event-name,
.event-row--over .event-meta { color: var(--muted); }
.event-link[hidden] { display: none; }
.event-when--over {
  background: transparent;
  color: var(--muted);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* Marks a row generated from a standing weekly spot, so a mixed list makes it
   obvious which entries repeat and which are one-offs. */
.event-badge--weekly {
  border-color: rgba(77, 83, 71, .35);
  color: var(--green);
}

/* CLOSED — a standing spot called off for that date (see data-closed in
   events.html). The row stays in the list so regulars see the cancellation
   rather than a gap. Declared after today / tomorrow so the terracotta
   outline wins over their sage one; their badges still show alongside. */
.event-row--closed,
.event-row--closed:hover {
  border-color: var(--alert);
  box-shadow: 0 0 0 1px var(--alert);
}
.event-row--closed .date-chip { background: var(--alert); }
/* Three pills wrap onto their own line on a phone; "Weekly" is the one to drop. */
.event-row--closed .event-badge--weekly { display: none; }
.event-badge--closed,
.event-badge--alert {
  border-color: var(--alert);
  background: var(--alert);
  color: var(--cream);
}
/* Gold: "limited", "new", anything worth a second look that isn't a problem. White on it: 6.0:1. */
.event-badge--gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--white);
}
.event-alert {
  display: flex;
  align-items: flex-start;
  gap: .45em;
  margin: .5em 0 0;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.35;
  color: var(--alert);
}
.event-alert svg {
  flex: none;
  width: 1.15em;
  height: 1.15em;
  margin-top: .08em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hidden by app.js once the date has passed */
.event-row[hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   EVENT MAP DIALOG
   Native <dialog>, so the browser handles focus trapping, Escape and making
   the background inert. Only the appearance is ours.
   -------------------------------------------------------------------------- */

/* A button styled to match the text links beside it */
.event-link--btn {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  margin-left: 18px;
}

.map-dialog {
  width: min(94vw, 900px);
  height: min(92svh, 900px);
  max-height: 92svh;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
  z-index: var(--z-modal);
  /* Centred by the browser for a modal dialog; this just adds the lift */
  box-shadow: var(--shadow-overlay);
}
@supports not (height: 92svh) {
  .map-dialog {
    height: min(92vh, 900px);
    max-height: 92vh;
  }
}

.map-dialog::backdrop {
  background: rgba(0, 0, 0, .62);
  backdrop-filter: blur(3px);
}

/* Grid so the image area is the only thing that scrolls — the title bar and
   footer stay put, which matters on a phone where the map is tall. */
.map-dialog-inner,
.map-dialog[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

/* The native dialog stylesheet hides closed dialogs. Keep that behavior even
   though the open state needs a custom grid display value above. */
.map-dialog:not([open]) { display: none; }

.map-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px clamp(14px, 2.4vw, 22px);
  background: var(--green);
  color: var(--white);
}
.map-dialog-title {
  margin: 0;
  font-size: clamp(1rem, 2.6vw, 1.22rem);
  color: var(--white);
}
.map-dialog-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;                       /* full tap target */
  height: 44px;
  margin-right: -8px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .25s var(--ease);
}
.map-dialog-close:hover { background: rgba(255, 255, 255, .18); }

.map-dialog-body {
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--grey);
}
.map-dialog-body img {
  display: block;
  width: 100%;
  height: auto;
}

.map-dialog-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 12px clamp(14px, 2.4vw, 22px);
  border-top: 1px solid var(--line);
  background: var(--white);
}
.map-dialog-foot p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

/* Stop the page behind scrolling while the dialog is open */
body.map-open { overflow: hidden; }


/* --------------------------------------------------------------------------
   INSTAGRAM CARD
   -------------------------------------------------------------------------- */
.ig-card {
  display: grid;
  gap: clamp(14px, 2.4vw, 22px);
  align-items: center;
  margin-top: clamp(36px, 5vw, 56px);
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  text-align: center;
  justify-items: center;
}
@media (min-width: 720px) {
  .ig-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
    text-align: left;
    justify-items: start;
  }
}
.ig-card-ico {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 1.5;
  color: var(--cream);
}
.ig-card-body h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--white);
  margin: 0 0 .3em;
}
.ig-card-body p {
  margin: 0;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, .86);
  max-width: 52ch;
}
.ig-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
@media (min-width: 720px) { .ig-card-actions { justify-content: flex-end; } }
.ig-card .btn { flex: none; }

.events-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* --------------------------------------------------------------------------
   MISSING-IMAGE PLACEHOLDER
   Deliberately loud so it can never ship to production unnoticed.
   -------------------------------------------------------------------------- */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 4 / 3;
  padding: 16px;
  text-align: center;
  border: 3px dashed var(--green);
  border-radius: var(--radius-sm);
  background:
    repeating-linear-gradient(45deg,
      var(--cream) 0 12px,
      var(--cream-soft) 12px 24px);
}
.img-placeholder-tag {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}
.img-placeholder-name {
  font-size: var(--text-xs);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--muted);
  word-break: break-all;
}


/* ==========================================================================
   10. BOOK AN EVENT
   ========================================================================== */
/* Three layouts (reviewed Nov 15 2026; the form is the point of this page, so it never gets narrower than on a phone):
   - phones (< 700px): a small arch photo, then the heading, the intro and the form, one column;
   - tablets and small laptops (700–1099px): heading and intro beside a smaller arch photo, the form full width under
     them. (.book-copy becomes display: contents so its children can sit in the grid next to the photo.)
   - wide screens (1100px+): the form column and the photo column side by side; the photo column is capped so the
     form always has room (about 550px or more). Two columns used to start at 900px, which squeezed the form to
     345px, narrower than on a phone. */
.book-grid {
  display: grid;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
}
@media (min-width: 700px) and (max-width: 1099px) {
  .book-grid {
    grid-template-columns: minmax(0, 1fr) clamp(170px, 24vw, 240px);
    grid-template-areas: "head photo" "lead photo" "form form" "assure assure";
    gap: 0 clamp(28px, 4vw, 48px);
    max-width: 860px;   /* a comfortable width for the form; centred in the band */
  }
  .book-copy { display: contents; }
  .book-copy > h1 { grid-area: head; align-self: end; }
  .book-copy > .book-lead { grid-area: lead; align-self: start; }
  .book-applet { grid-area: form; }
  .book-assure { grid-area: assure; }
  .book-photo { grid-area: photo; align-self: center; }
}
@media (min-width: 1100px) {
  /* Heading and intro across the top; the form and the photo below them, tops aligned (owner's request). */
  .book-grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
    grid-template-areas: "head head" "lead lead" "form photo" "assure photo";
    gap: 0 clamp(30px, 5vw, 56px);
  }
  .book-copy { display: contents; }
  .book-copy > h1 { grid-area: head; }
  .book-copy > .book-lead { grid-area: lead; }
  .book-applet { grid-area: form; }
  .book-assure { grid-area: assure; }
  .book-grid .book-photo { grid-area: photo; align-self: start; margin-top: 30px; }   /* same as .book-applet's top margin */
}

.book-applet { margin-top: 30px; }

/* "How it works" under the intro: three short steps, numbered in cream circles.
   One column on phones, three across from 700px up. Cream on the sage band measures above 7:1. */
.book-steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: var(--text-base);
  line-height: 1.45;
  color: rgba(255, 255, 255, .84);
}
.book-steps li { display: flex; gap: 12px; align-items: flex-start; }
.book-steps strong { color: var(--cream); font-weight: 600; }
.book-steps-n {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--cream);
  color: var(--cream);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  line-height: 1;
  display: grid;
  place-items: center;
}
@media (min-width: 700px) {
  .book-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}

/* Reassurance strip under the booking form */
.book-assure {
  list-style: none;
  margin: clamp(20px, 3vw, 30px) 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: var(--text-base);
  color: rgba(255, 255, 255, .84);
}
.book-assure li {
  position: relative;
  padding-left: 26px;
}
/* Decorative tick drawn in CSS — no icon font, no extra request */
.book-assure li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .42em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--cream);
  border-bottom: 2px solid var(--cream);
  transform: rotate(-45deg);
}
.book-assure a { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 600px) and (max-width: 1099px) {
  .book-assure { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

.book-photo { margin: 0; }
.book-photo img {
  width: 100%;
  border-radius: 999px 999px 10px 10px;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

/* PHONE SIZING NOTE
   The arch photo goes first on phones so the page opens warm rather than
   with a form. But at full width it ran ~450px tall and swallowed the entire
   first screen — on the one page where the whole point is to reach the form.
   Capped to a small centred accent: enough to set the tone, and the headline
   plus the first form step now land above the fold. */
@media (max-width: 699px) {
  .book-photo {
    order: -1;
    /* Definite width, not max-width — see the note on .owner-photo. With
       `margin-inline: auto` a max-width-only figure shrink-to-fits to zero
       until its image loads and then shifts the page. */
    width: 190px;
    max-width: 100%;
    margin-inline: auto;
  }
  .book-photo img { box-shadow: var(--shadow-raise); }
  .book-applet { margin-top: 22px; }
}
@media (min-width: 700px) and (max-width: 1099px) {
  .book-photo img { box-shadow: var(--shadow-raise); }
  .book-applet { margin-top: 28px; }
}
/* From tablets up, the form fills its column and lines up with the heading above it
   (the form's own 620px cap centred it, a little in from the heading). */
@media (min-width: 700px) {
  .book-applet .sr-shell { max-width: none; margin: 0; }
}


/* ==========================================================================
   11. ABOUT
   ========================================================================== */
.about-body {
  padding-block: clamp(44px, 6vw, 76px);
  background: var(--bone);
}
.about-body .h2 { font-size: clamp(1.5rem, 4vw, 2rem); color: var(--green-dark); }

.about-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
  line-height: 1.7;
  color: var(--ink);
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   ABOUT THE OWNER
   Portrait beside the story from 720px up. Below that the photo leads, then
   the copy — a face before a wall of text is the right order on a phone.
   -------------------------------------------------------------------------- */
.owner-grid {
  display: grid;
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 720px) {
  .owner-grid { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }
}
@media (min-width: 1200px) {
  .owner-grid { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
}

/* ⚠️ WIDTH MUST BE DEFINITE — do not swap these for `max-width` alone.
   `margin-inline: auto` makes a figure shrink-to-fit. A lazy image that
   hasn't downloaded yet contributes zero intrinsic width, so the figure
   collapses to 0×0, reserves no space, and then jumps to full height the
   moment the image lands — a visible layout shift. Giving the figure a
   definite width lets the image's width/height attributes reserve the
   correct height up front. */
.owner-photo { margin: 0; width: 100%; max-width: 320px; }
@media (max-width: 719px) {
  .owner-photo { width: 240px; max-width: 100%; margin-inline: auto; }
}
.owner-photo img {
  width: 100%;
  border-radius: 999px 999px 10px 10px;   /* the arch crop used site-wide */
  box-shadow: var(--shadow-lg);
}

.owner-copy p { max-width: 62ch; }

/* The closing line of Airyonna's story, lifted out as a pull quote — it's the
   emotional payoff of the section and gets lost as a third paragraph. */
.owner-quote {
  margin: 1.4em 0 0;
  padding-left: clamp(16px, 2.5vw, 24px);
  border-left: 3px solid var(--green);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.12rem, 2.8vw, 1.5rem);
  line-height: 1.35;
  color: var(--green);
  max-width: 46ch;
}
.owner-sign {
  margin-top: 1.1em;
  font-size: var(--text-base);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   "HOW CAN COFFEE ELEVATE YOUR EVENT?"  — green band closing the About page
   -------------------------------------------------------------------------- */
.elevate-inner { max-width: 760px; }
.elevate p {
  font-size: clamp(1rem, 2.3vw, 1.12rem);
  color: rgba(255, 255, 255, .9);
}


/* ==========================================================================
   12. MENU
   ========================================================================== */
/* --------------------------------------------------------------------------
   SEASONAL MENU — feature panel above the standing menu
   One panel, swapped per season by a theme class on the <section>:

     season-menu--fall     #b8480f terracotta (from the fall menu artwork)
     season-menu--spooky   #5b3a6e plum (Halloween week; ube-ish, muted so it
                           sits with the sage and cream rather than shouting)
     season-menu--holiday  #77230d deep red (Seasonal Flavors, from Nov 1 2026;
                           the owner's own flyer red, same as the Hot Cocoa
                           Bar's, 9.8:1 against cream)

   Whatever the theme, the panel eases into the site's green at the bottom so
   the two menus read as one scroll. To add a season, add a theme line below
   with its colour and swap the class in menu.html.

   On colour — check any new theme against cream body copy before shipping:
   the fall artwork's own #e86625 measured 2.6:1 against the small print, well
   under the 4.5:1 minimum, which is why fall uses the deeper #b8480f (same
   hue, 5.0:1). The plum measures 8.8:1, and sits at almost the same
   darkness as the sage (1.16:1), so its fade into the green is a change of
   hue with no light-to-dark jump. Every bit of text in the panel is solid
   var(--cream) for the same reason: the old .84-.9 alphas washed back toward
   the background and cost roughly 0.7 of contrast each.
   -------------------------------------------------------------------------- */
.season-menu--fall    { --season-bg: var(--season-fall); }
.season-menu--spooky  { --season-bg: var(--season-spooky); }
.season-menu--holiday { --season-bg: var(--season-holiday); }
/* Ready for the next seasons: swap the class in menu.html, nothing else to write. */
.season-menu--spring  { --season-bg: var(--season-spring); }
.season-menu--summer  { --season-bg: var(--season-summer); }

/* Scheduled hand-off between two seasonal panels. The script at the top of
   menu.html adds .season-next to <html> once the incoming panel's first day
   arrives; until then the incoming (--next) one stays hidden. Visibility is
   switched here rather than with the hidden attribute because that script
   runs before the panels exist — it can only mark <html>. */
.season-menu--next                 { display: none; }
.season-next .season-menu--ending  { display: none; }
.season-next .season-menu--next    { display: block; }

.season-menu {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(42px, 8vw, 88px));
  padding-bottom: clamp(78px, 11vw, 132px);
  background: linear-gradient(180deg, var(--season-bg, var(--season-fall)) 0%,
              var(--season-bg, var(--season-fall)) 76%, var(--green) 100%);
  color: var(--cream);
}

.season-menu-inner { position: relative; z-index: var(--z-raised); }

.season-menu-kicker {
  margin: 0 0 12px;
  color: var(--cream);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.season-menu-title {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .18em .34em;
  margin: 0;
  color: var(--cream);
  font-size: clamp(4.8rem, 18vw, 10.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .82;
  text-transform: uppercase;
}

.season-menu-script {
  font-family: 'WindSong', 'Brush Script MT', cursive;
  /* WindSong is a wide script: "Seasonal" is ~4.4em across, so .85em is the
     largest size that still fits a 390px phone. Re-measure if you swap it. */
  font-size: .85em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: none;
}

/* Script words with descenders. "Fall" has none, so the title was set tight;
   "Spooky" has a p and a long looping y that hang far below the line — into
   the intro on desktop, and through MENU on phones where the title wraps.
   Padding under the script word itself reserves that room in its own em, so
   the gap tracks the word at every width. Add this class to the <h2> for any
   seasonal word with descenders (g, j, p, q, y). */
.season-menu-title--descenders .season-menu-script { padding-bottom: .3em; }

.season-menu-intro {
  max-width: 42ch;
  margin: clamp(28px, 4vw, 42px) 0 0;
  color: var(--cream);
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  line-height: 1.55;
}

.season-menu-grid {
  display: grid;
  gap: 0 clamp(28px, 5vw, 72px);
  margin-top: clamp(46px, 7vw, 76px);
}

@media (min-width: 700px) {
  .season-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Three drinks rather than four: three across on wide screens, so the last
   one doesn't sit alone on a second row. */
@media (min-width: 900px) {
  .season-menu-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.season-drink {
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255, 249, 237, .55);
}

.season-drink h3 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.2rem, 3vw, 1.72rem);
  font-weight: 500;
  letter-spacing: .13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.season-drink p {
  max-width: 39ch;
  margin: 12px 0 0;
  color: var(--cream);
  font-size: clamp(.94rem, 2vw, 1.06rem);
  line-height: 1.55;
}

.season-menu-link {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  margin-top: clamp(28px, 5vw, 52px);
  color: var(--cream);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.season-menu-link:hover,
.season-menu-link:focus-visible {
  color: var(--white);
  text-decoration-thickness: 2px;
  transform: translateY(2px);
}

/* --------------------------------------------------------------------------
   MENU CATEGORY JUMP BAR  (phones and tablets only)
   The menu is the page people open while standing at the trailer, and on a
   phone it's ~2,700px long. Finding "Signatures" meant thumbing past every
   drink. This pins a scrollable row of category chips under the header so any
   section is one tap away.

   Hidden from 900px up, where the two-column layout already shows everything
   at once and a jump bar would just be clutter.
   -------------------------------------------------------------------------- */
.menu-jump {
  position: sticky;
  top: var(--header-h);
  z-index: var(--z-sticky);
  margin: 0 calc(var(--gutter) * -1) clamp(22px, 4vw, 34px);
  padding: 10px var(--gutter);
  background: var(--green);
  border-bottom: 1px solid rgba(255, 255, 255, .16);

  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* Chips shouldn't sit flush against the screen edge when scrolled */
  scroll-padding-inline: var(--gutter);
}
.menu-jump::-webkit-scrollbar { display: none; }
/* A fade on whichever edge has more chips beyond it (app.js sets the classes). */
.menu-jump.has-more-r { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
.menu-jump.has-more-l { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent); }
.menu-jump.has-more-l.has-more-r { -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent); }

.menu-jump a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: var(--radius-pill);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.menu-jump a:hover,
.menu-jump a.is-current {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

@media (min-width: 900px) { .menu-jump { display: none; } }

/* Landing offset for the jump links: clear the fixed header AND the chip bar,
   otherwise a tapped heading hides behind them. */
.menu-anchor { scroll-margin-top: calc(var(--header-h) + 76px); }
@media (min-width: 900px) { .menu-anchor { scroll-margin-top: calc(var(--header-h) + 20px); } }

.menu-title {
  font-size: clamp(3.6rem, 15vw, 8.4rem);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: .92;
  color: var(--white);
  margin-bottom: clamp(26px, 4vw, 44px);
}

.menu-grid {
  display: grid;
  gap: clamp(38px, 6vw, 70px);
}
@media (min-width: 900px) { .menu-grid { grid-template-columns: 1fr 1.25fr; } }

.menu-cat {
  font-size: clamp(1.7rem, 5.6vw, 2.7rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 .45em;
}
.menu-col > .menu-cat:not(:first-child) { margin-top: 1.5em; }

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu-list li {
  padding: 5px 0;
  font-size: var(--text-md);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
}

.menu-addons {
  margin: 0;
  font-size: var(--text-base);
  color: rgba(255,255,255,.92);
}
.menu-addons dt {
  margin-top: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cream);
}
.menu-addons dt:first-child { margin-top: 0; }
.menu-addons dd {
  margin: 2px 0 0;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
}

.sig {
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,.16);
}
.sig:first-of-type { border-top: 0; padding-top: 0; }

.sig h4 {
  font-family: var(--font-body);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 .45em;
}
.sig p {
  margin: 0;
  padding-left: 22px;
  font-size: var(--text-base);
  line-height: 1.6;
  letter-spacing: .01em;
  color: rgba(255,255,255,.88);
}

/* Add class "is-new" to a .sig block to badge it as seasonal */
.sig.is-new h4::after {
  content: "Seasonal";
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--green-dark);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .1em;
  vertical-align: 3px;
}


/* ==========================================================================
   12b. TESTIMONIALS

   Real Google reviews, quoted verbatim with the reviewer's name. That
   verbatim-ness is the whole point: a trimmed or tidied-up quote reads as
   marketing copy, and stops doing the job a review does.

   >> If you trim a quote, use an ellipsis and never reword it.
   >> Attribution is first name + last initial, matching how Google shows it.
   ========================================================================== */
.quotes { background: var(--grey); }

.quotes-head {
  text-align: center;
  margin-bottom: clamp(26px, 4vw, 44px);
}
.quotes-head .lead {
  margin-inline: auto;
  color: var(--muted);
}
.quotes-head .lead a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(14px, 2.2vw, 22px);
}
@media (min-width: 720px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }

.quote {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: clamp(20px, 2.8vw, 28px);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .07);
}

.quote-stars {
  color: var(--green);
  font-size: var(--text-base);
  letter-spacing: .12em;
  margin-bottom: 12px;
}

.quote blockquote {
  margin: 0 0 auto;
  padding: 0;
  font-size: clamp(.98rem, 1.5vw, 1.05rem);
  line-height: 1.6;
  color: var(--ink);
}
/* Hanging opening quote mark — decorative, so it sits outside the text flow
   and doesn't shift the first line's alignment. */
.quote blockquote p { margin: 0; }
.quote blockquote p::before {
  content: "\201C";
  margin-left: -.42em;
}
.quote blockquote p::after { content: "\201D"; }

.quote figcaption {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
}

/* Screen-reader-only text (used to give the star row a readable rating) */
.u-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   12c. 404 PAGE
   ========================================================================== */
.error-page { min-height: 68svh; display: flex; align-items: center; }
@supports not (min-height: 68svh) { .error-page { min-height: 68vh; } }

.error-inner { max-width: 620px; text-align: center; margin-inline: auto; }

.error-code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 16vw, 8rem);
  font-weight: 700;
  line-height: .9;
  color: rgba(255, 255, 255, .5);     /* .22 was 1.8:1; this clears 3:1 for large text */
  margin: 0 0 .1em;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 419px) {
  .error-actions { flex-direction: column; align-items: stretch; }
}

.error-links {
  list-style: none;
  margin: 34px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
}
.error-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(255, 255, 255, .86);
  font-size: var(--text-base);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .25s var(--ease);
}
.error-links a:hover { color: var(--cream); }


/* ==========================================================================
   13. NEXT-STEP BAND
   Every page used to stop dead at the footer. This closes each one with a
   single clear question and the one or two actions that answer it. Cream, so
   it separates the page body from the green footer instead of blurring into
   it.
   ========================================================================== */
.next-step {
  padding-block: clamp(44px, 7vw, 84px);
  background: var(--cream);
  color: var(--ink);
  text-align: center;
}
.next-step-inner {
  max-width: 640px;
  margin-inline: auto;
}
.next-step h2 {
  font-size: clamp(1.5rem, 4.6vw, 2.4rem);
  color: var(--ink);
  margin-bottom: .35em;
}
.next-step p {
  margin-bottom: 1.6em;
  color: rgba(0, 0, 0, .72);
}
.next-step-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
/* On the narrowest phones the two buttons stack; make them equal width so
   they read as a pair rather than two odd-sized blocks. */
@media (max-width: 419px) {
  .next-step-actions { flex-direction: column; align-items: stretch; }
}


/* ==========================================================================
   14. STICKY MOBILE CTA
   Booking is the point of the site, and on a phone the nav is behind a
   hamburger — so the primary action was always at least two taps away. This
   keeps it to one.

   Only below 900px (where the nav is collapsed), never on book.html (where
   it would point at the page you're already on), and it gets out of the way
   when the closing CTA band scrolls into view so the two don't stack up.
   ========================================================================== */
.sticky-cta {
  position: fixed;
  z-index: var(--z-cta);
  left: 0;
  right: 0;
  bottom: 0;
  display: none;                     /* enabled in the media query below */
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(var(--green-rgb), .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, .22);
  transition: transform .32s var(--ease), opacity .32s var(--ease);
}

/* Two actions side by side, sharing the width evenly. */
.sticky-cta-inner {
  display: flex;
  gap: 10px;
  max-width: 520px;
  margin-inline: auto;
}
.sticky-cta .btn {
  flex: 1 1 0;
  min-width: 0;                      /* lets long labels shrink instead of overflowing */
  padding-inline: 10px;
  font-size: var(--text-sm);
  line-height: 1.2;
  white-space: normal;               /* wraps rather than overflowing if a reader widens text spacing */
}

/* Slides down out of the way rather than disappearing abruptly.
   The markup ships WITH this class: the bar is hidden at the top of the page
   and JS reveals it once you've scrolled. That also means no bar at all if JS
   fails, which is the right failure — better than one stuck on screen. */
.sticky-cta.is-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  /* Takes the two buttons out of the Tab order while the bar is off screen;
     the delay lets the slide-out finish first. */
  visibility: hidden;
  transition: transform .32s var(--ease), opacity .32s var(--ease), visibility 0s .32s;
}

@media (max-width: 899px) {
  .sticky-cta { display: block; }

  /* Stop the bar covering the last line of the footer */
  body.has-sticky-cta { padding-bottom: 76px; }

  /* Back-to-top has to clear the bar */
  .to-top { bottom: 84px; }

  /* ...and so does anything the browser scrolls to when it takes focus. */
  html { scroll-padding-bottom: 88px; }
}


/* ==========================================================================
   15. FOOTER & UTILITIES
   ========================================================================== */
.site-footer {
  padding-block: clamp(44px, 6vw, 72px);
  background: var(--green);
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 26px;
}
/* Two columns on tablet portrait before going to four on desktop */
@media (min-width: 600px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 40px; }
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.25fr .8fr .9fr 1.05fr; align-items: start; }
}

/* Footer page links.
   On a phone these five links stacked vertically added ~200px of dead
   scrolling to the bottom of every page, so below 600px they run in two
   columns. Each link keeps a 44px tap height. */
.footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;            /* two short columns instead of one tall one */
  column-gap: 20px;
}
.footer-nav li { margin-bottom: 2px; break-inside: avoid; }

/* Comfortable tap rows by default. */
.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (min-width: 600px) {
  .footer-nav { columns: 1; }
}

/* Tighten to plain inline links ONLY for a mouse.
   Deliberately keyed off pointer type, not width. A 768px tablet is still a
   finger, and an earlier version of this rule used `min-width: 600px` — which
   silently shrank these to 18px tap targets on every tablet. */
@media (hover: hover) and (pointer: fine) {
  /* 26px, not 0. These are standalone navigation links rather than links
     inside a sentence, so WCAG 2.2's 24px minimum target size applies —
     a bare inline <a> only gives an 18px hit box. */
  .footer-nav a { min-height: 26px; }
  .footer-nav li { margin-bottom: 2px; }
}

.footer-tag {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4.6vw, 2.3rem);
  font-weight: 600;
  line-height: 1.15;
  border-bottom: 2px solid var(--white);
  padding-bottom: 6px;
  display: inline-block;
  margin: 0;
}

.footer-col { font-size: var(--text-base); }
/* These are <h2> in the markup (an <h4> here skipped heading levels on every
   page) but keep the small label look. */
.footer-col .footer-heading {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: normal;
  text-transform: none;
  color: inherit;
  margin: 0 0 .3em;
}
.footer-col .footer-heading + p { margin-bottom: 1.2em; }
/* 24px minimum tap height (WCAG 2.5.8) for the stacked email/social links */
.footer-col p > a { display: inline-block; padding-block: 3px; }
.footer-col a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.footer-col a:hover { border-color: currentColor; }

/* Touch and other coarse pointers: every footer link is a 44px target, not
   just the page links. The negative block margin cancels the extra height, so
   the footer is exactly as tall as before. Mouse users keep the 24px+ sizes
   above (the standalone footer links are 26px and 32px tall there). */
@media (pointer: coarse) {
  .footer-nav a { min-width: 44px; }
  .footer-col p > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
    padding-block: 0;
    margin-block: calc((1.6em + 7px - 44px) / 2);   /* 7px = the old 3px padding x2 + 1px line */
    vertical-align: top;
  }
  /* The 1px hover line sits at the bottom of the box, so on a taller target
     draw it as a text underline instead (the border stays, transparent, so
     the heights above do not change). */
  .footer-col a:hover { border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
}

@media (min-width: 900px) {
  .footer-col--end { text-align: right; }
}
.footer-col--end p { margin-bottom: .2em; opacity: .92; }

/* Back-to-top */
.to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: var(--z-float);
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: var(--text-lg);
  cursor: pointer;
  box-shadow: var(--shadow-raise);
  opacity: 0;
  transform: translateY(10px) scale(.9);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
.to-top[hidden] { display: grid; }        /* animated, not display-toggled */
/* While faded out it must also leave the Tab order, or keyboard focus lands
   on a button nobody can see. */
.to-top:not(.is-visible) {
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease), visibility 0s .3s;
}
.to-top.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.to-top:hover { background: var(--green-dark); }


/* ==========================================================================
   14. REDUCED MOTION
   Honour the OS-level "reduce motion" setting: kill parallax, reveals and
   the scroll cue, but never hide content.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .btn[aria-busy="true"]::after { animation: none; border-right-color: currentColor; opacity: .5; }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-media { transform: none !important; }
  .scroll-cue { display: none; }
}


/* ==========================================================================
   15. PRINT (handy — people print the menu)
   ========================================================================== */
@media print {
  .site-header, .nav-mobile, .to-top, .scroll-cue, .hero-media, .book-applet { display: none !important; }
  .section--dark, .site-footer { background: #fff !important; color: #000 !important; }
  .h2--light, .menu-title, .menu-cat, .sig h4, .sig p, .menu-list li { color: #000 !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}


/* Small text on the terracotta "closed" chip: the usual 82% fade dropped it
   to about 4.1:1. */
.event-row--closed .date-chip-mon { opacity: 1; }


/* ---- Privacy Policy and Terms (privacy.html, terms.html) ---------------- */
.legal { max-width: 72ch; }
.legal h1 { margin-bottom: .2em; }
.legal-hero { padding-bottom: clamp(28px, 5vw, 48px); }
.legal-hero .legal-updated { margin: 0; color: rgba(255, 255, 255, .78); font-size: var(--text-base); }
.legal-page { padding-top: clamp(28px, 5vw, 48px); }
.legal-page .legal > :first-child { margin-top: 0; }
.legal h2 { margin: 2rem 0 .5rem; font-size: clamp(1.25rem, 2.6vw, 1.55rem); }
.legal p, .legal li { line-height: 1.65; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: .45em; }
.legal a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.legal-see { margin-top: 2.2rem; }
.footer-legal a { text-decoration: underline; text-underline-offset: 2px; }


/* ==========================================================================
   PAGE CHANGES: a short cross-fade between the site's pages (owners, Nov 28 2026), the same as the shop and the
   portal. Browsers with cross-page view transitions (Chrome, Edge, Safari 18.2+) fade the page while the header
   and the phone booking bar hold still; others change pages as before. Off for people who ask for less motion.
   (Only same-site links fade: going from sipsilkroad.com to the shop is a different site, so it changes as before.)
   ========================================================================== */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.sticky-cta { view-transition-name: site-sticky-cta; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; animation-timing-function: var(--ease); }
::view-transition-group(site-header), ::view-transition-group(site-sticky-cta) { animation: none; }
::view-transition-old(site-header), ::view-transition-old(site-sticky-cta) { display: none; }
::view-transition-new(site-header), ::view-transition-new(site-sticky-cta) { animation: none; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
