/* =========================================================
   The Coffee Shop — shared shell styles + design tokens
   Prompt 1 of 3: tokens, reset, nav, footer, shell only.
   Page-body styles added in Prompts 2–3.
   ========================================================= */

:root {
  /* color */
  --bg: #0E0F0D;
  --bg-2: #121311;
  --bg-3: #1A1B18;
  --text: #F2F2EE;
  --text-dim: #B7B8B1;
  --green: #3FA35A;        /* tamed ~70% sat UI accent */
  --green-neon: #4CFF7A;   /* glow only */
  --btn-bg: #3FA35A;       /* solid button field — stays mid-green even on light sections (fg passes ~6:1) */
  --btn-fg: #06130A;       /* near-black button label */
  --wood: #B8895A;
  --tile: #2E4A3A;
  --line: rgba(242, 242, 238, .12);
  --cream-2: #ECE5D7;      /* deeper warm cream — steps testimonials below Visit (AA-verified) */
  /* ---- shared slat-band divider (every divider on every page) ----
     Flat brown + black verticals. Deliberately NO gradient, grain or shading:
     at 16px tall a multi-tone wood gradient has nowhere to resolve and just
     reads blurry. 21px brown + 3px black = a 24px slat period.

     --slat-ink is its OWN token, not --bg, on purpose: .section--light
     re-scopes --bg to cream, which would blank the verticals wherever a
     divider sits inside a light section (the story page). */
  --slat-ink: #0E0F0D;             /* near-black (same value as the base --bg) */
  --slat-h: 16px;                  /* one height for every divider, site-wide */
  --slat-band: repeating-linear-gradient(90deg,
      var(--wood)     0,     var(--wood)     21px,   /* flat tan slat face */
      var(--slat-ink) 21px,  var(--slat-ink) 24px);  /* black gap between slats */

  /* type */
  --font-display: "Cabinet Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* layout */
  --container: 1200px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --section-y: clamp(4rem, 10vw, 8rem);
  --r: 14px;

  --nav-h: 68px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
:focus-visible { outline: 2px solid var(--green-neon); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.01em;
  padding: .85rem 1.5rem; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn--primary:hover { background: #48b566; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn i { font-size: 1.15em; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background-color .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom: 1px solid transparent;
}
.nav[data-scrolled="true"] {
  background: rgba(26, 27, 24, .85);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav__inner {
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav__brand { display: flex; align-items: center; gap: .6rem; }
.nav__brand img { height: 34px; width: auto; border-radius: 6px; } /* logo: black bg baked in — dark nav only */
.nav__brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav__links a:not(.btn) { font-size: .95rem; color: var(--text-dim); transition: color .18s ease; }
.nav__links a:not(.btn):hover, .nav__links a:not(.btn)[aria-current="page"] { color: var(--text); }
.nav__links .btn { padding: .55rem 1.1rem; }
.nav__toggle {
  display: none; background: none; border: 0; color: var(--text);
  font-size: 1.6rem; line-height: 1; cursor: pointer; padding: .25rem;
}

/* mobile menu overlay */
.nav__mobile {
  position: fixed; inset: 0; z-index: 99;
  background: var(--bg);
  display: grid; place-content: center; gap: 1.5rem; text-align: center;
  transform: translateY(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.nav__mobile[data-open="true"] { transform: translateY(0); }
.nav__mobile a { font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; color: var(--text); }
.nav__mobile a:hover { color: var(--green); }

@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
}

/* ---------- footer ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem);
  margin-top: var(--section-y);
}
.footer__grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: 1.2fr 1fr 1fr;
}
.footer__brand img { height: 40px; width: auto; border-radius: 6px; margin-bottom: 1rem; }
.footer h4 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .6rem; }
.footer a { color: var(--text-dim); transition: color .18s ease; }
.footer a:hover { color: var(--green); }
.footer__addr { color: var(--text-dim); font-style: normal; line-height: 1.7; }
.footer__addr strong { color: var(--text); font-weight: 600; }
.footer__note { color: var(--text-dim); font-size: .85rem; margin-top: .75rem; }
.footer__legal {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  color: var(--text-dim); font-size: .82rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; justify-content: space-between;
}
@media (max-width: 760px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- shell placeholder (removed when bodies are built) ---------- */
.shell-placeholder {
  min-height: 60dvh; display: grid; place-content: center; text-align: center;
  padding: var(--section-y) var(--pad); color: var(--text-dim);
}
.shell-placeholder p { max-width: 40ch; margin-inline: auto; }

/* ---------- reveal on scroll (IntersectionObserver toggles .is-visible) ----------
   transform/opacity only; stagger via --i; reliable across browsers + easy stagger. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .65s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--i, 0) * 100ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* no-JS / no-IO fallback: show everything */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   HOME PAGE (Prompt 2)
   ========================================================= */

.section { padding-block: var(--section-y); }
.section__eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--green);
  display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1rem;
}
.section__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--green); display: inline-block; }
.lead { color: var(--text-dim); font-size: 1.1rem; max-width: 60ch; }

/* nav is dark over the hero image already; give it a readable start */
.nav { background: linear-gradient(to bottom, rgba(14,15,13,.55), rgba(14,15,13,0)); }
.nav[data-scrolled="true"] { background: rgba(26,27,24,.85); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: clip;
  isolation: isolate;
  margin-top: calc(var(--nav-h) * -1); /* pull under transparent nav */
  padding-top: var(--nav-h);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 120%; object-fit: cover; object-position: center 40%; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(14,15,13,.55) 34%, rgba(14,15,13,.25) 60%, rgba(14,15,13,.6) 100%),
    linear-gradient(to right, rgba(14,15,13,.82) 0%, rgba(14,15,13,.35) 55%, rgba(14,15,13,.1) 100%);
}
.hero__inner { padding-block: clamp(2.5rem, 7vh, 6rem); max-width: 60ch; }
.hero__title { margin-bottom: 1.25rem; display: grid; gap: .75rem; }
.hero__title-lead { font-size: clamp(2.6rem, 7vw, 5rem); line-height: .98; }
.hero__title-loc {
  font-family: var(--font-body); font-weight: 500;
  font-size: clamp(1rem, 2.2vw, 1.35rem); line-height: 1.35;
  color: var(--text-dim); letter-spacing: 0;
}
.hero__title-loc strong { color: var(--text); font-weight: 600; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text); max-width: 52ch; margin-bottom: 1.75rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 1.75rem; }
.hero__support { color: var(--text-dim); font-size: .92rem; display: flex; align-items: center; gap: .5rem; margin-bottom: 2rem; }
.hero__support i { color: var(--green); }

/* hero social proof (2 forms, above the fold) */
.hero__proof { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; }
.proof-rating { display: flex; align-items: center; gap: .6rem; }
.stars { display: inline-flex; color: var(--green); font-size: 1.05rem; letter-spacing: .05em; }
.stars i { line-height: 1; }
.proof-rating b { font-family: var(--font-display); font-size: 1.05rem; }
.proof-rating span { color: var(--text-dim); font-size: .9rem; }
.proof-press { color: var(--text-dim); font-size: .88rem; max-width: 34ch; line-height: 1.5; border-left: 1px solid var(--line); padding-left: 1.25rem; }
.proof-press strong { color: var(--text); font-weight: 600; }

@supports (animation-timeline: scroll()) {
  .hero__media img {
    animation: hero-parallax linear both;
    animation-timeline: scroll(root);
    animation-range: 0 100vh;
  }
  @keyframes hero-parallax { to { transform: translateY(-9%); } }
}

@media (max-width: 640px) {
  .proof-press { border-left: 0; padding-left: 0; }
}

/* ---------- PRESS STRIP ---------- */
.press { background: var(--bg-2); border-block: 1px solid var(--line); }
.press .container { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; padding-block: 1.75rem; }
.press__label { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.press__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.25rem; }
.press__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: var(--text); opacity: .85; letter-spacing: -.01em; }

/* ---------- WHAT WE SERVE ---------- */
.serve__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); margin-top: 2.5rem; }
.serve__card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.75rem 1.5rem; display: grid; gap: .6rem; align-content: start;
  color: inherit; transition: transform .2s ease, border-color .2s ease, background-color .2s ease;
}
a.serve__card:hover { transform: translateY(-4px); border-color: var(--green); background: var(--bg-3); }
.serve__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(63,163,90,.12); color: var(--green); font-size: 1.5rem; margin-bottom: .35rem; }
.serve__card h3 { font-size: 1.2rem; }
.serve__card p { color: var(--text-dim); font-size: .95rem; }
.serve__more { font-size: .85rem; color: var(--green); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
@media (max-width: 900px) { .serve__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .serve__grid { grid-template-columns: 1fr; } }

/* ---------- MISSION TEASER ---------- */
.mission { background: var(--bg-2); }
.mission__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.mission__media { position: relative; border-radius: var(--r); overflow: clip; border: 1px solid var(--line); }
.mission__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mission__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem 1.25rem .9rem;
  font-size: .82rem; color: var(--text); background: linear-gradient(to top, rgba(14,15,13,.9), transparent);
}
.mission__body h2 { margin-bottom: 1.25rem; }
.mission__body p { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 1rem; }
.mission__body p strong { color: var(--text); font-weight: 600; }
.mission__body .btn { margin-top: 1rem; }
@media (max-width: 820px) { .mission__grid { grid-template-columns: 1fr; } .mission__media { order: -1; } }

/* ---------- VISIT (conversion engine) ---------- */
.visit { position: relative; }

/* two columns: content left (~55%), sticky media+map rail right (~45%).
   align-items:start is required so the sticky right rail can travel. */
.visit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.visit__col { display: flex; flex-direction: column; gap: clamp(1.75rem, 3vw, 2.5rem); }

/* right rail sticks beside the (usually taller) FAQ so it fills the space — no void */
.visit__aside {
  position: sticky;
  top: calc(var(--nav-h) + 1rem);   /* clears the fixed/sticky nav */
  align-self: start;
  display: flex; flex-direction: column; gap: 1.25rem;
}

.visit__intro h2 { margin-bottom: 1rem; }
.visit__intro > p { color: var(--text-dim); font-size: 1.1rem; max-width: 46ch; }

.visit__facts { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.visit__fact { display: flex; gap: .85rem; align-items: flex-start; }
.visit__fact i { color: var(--green); font-size: 1.35rem; margin-top: .1rem; }
.visit__fact strong { display: block; font-family: var(--font-display); font-size: .95rem; }
.visit__fact span { color: var(--text-dim); font-size: .95rem; }

/* sign image, fit uncropped: the frame ratio matches the photo (896x1051) so it
   fills with no letterbox bars; object-fit:contain + cream matte (--bg) is a
   safety backdrop only. Keep this ratio in sync with the sign image dimensions. */
.visit__media { position: relative; border-radius: var(--r); overflow: clip; border: 1px solid var(--line); aspect-ratio: 896 / 1051; background: var(--bg); }
.visit__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.visit__drivethru {
  position: absolute; left: 1rem; top: 1rem; z-index: 2;
  background: var(--btn-bg); color: var(--btn-fg); font-family: var(--font-display); font-weight: 800;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .5rem .85rem; border-radius: 999px; display: inline-flex; gap: .4rem; align-items: center;
}

.visit__map { border-radius: var(--r); overflow: clip; border: 1px solid var(--line); }
.visit__map iframe { display: block; width: 100%; height: 260px; border: 0; filter: grayscale(.2) contrast(1.05); }

/* MOBILE (<900px): one column, sticky off, reorder sign / facts+CTA / map / FAQ.
   display:contents flattens both columns so the single map can sit between the
   facts and the FAQ while the sign leads. */
@media (max-width: 900px) {
  .visit__grid { display: flex; flex-direction: column; gap: 1.75rem; align-items: stretch; }
  .visit__col, .visit__aside { display: contents; }
  .visit__aside { position: static; }
  .visit__media       { order: 1; }
  .visit__intro       { order: 2; }
  .visit__facts-wrap  { order: 3; }
  .visit__map         { order: 4; }
  .faq                { order: 5; }
}

/* FAQ (feeds FAQPage schema) */
.faq { display: grid; gap: .5rem; }
.faq h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 1rem 1.15rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "\002B"; color: var(--green); font-size: 1.3rem; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.15rem 1.1rem; color: var(--text-dim); font-size: .96rem; }

/* ---------- TESTIMONIALS ---------- */
.tstm__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 2.5rem; }
.tstm__stats { display: flex; gap: 2rem; }
.tstm__stat { text-align: right; }
.tstm__stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; color: var(--green); }
.tstm__stat .num sup { font-size: .5em; }
.tstm__stat .lbl { color: var(--text-dim); font-size: .85rem; margin-top: .35rem; }
.tstm__grid { columns: 3; column-gap: 1.25rem; }
.tstm__card {
  break-inside: avoid; margin-bottom: 1.25rem; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.5rem; box-shadow: 0 18px 40px -28px rgba(0,0,0,.8);
}
.tstm__card .stars { font-size: .95rem; margin-bottom: .75rem; }
.tstm__quote { font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; }
.tstm__by { display: flex; align-items: center; gap: .65rem; }
.tstm__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--tile); color: var(--text); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: .95rem; flex: none; }
.tstm__name { font-family: var(--font-display); font-weight: 700; font-size: .92rem; }
.tstm__meta { color: var(--text-dim); font-size: .8rem; }
@media (max-width: 900px) { .tstm__grid { columns: 2; } }
@media (max-width: 600px) { .tstm__grid { columns: 1; } .tstm__stats { width: 100%; justify-content: space-between; } .tstm__stat { text-align: left; } }

/* leave-a-review CTA — bottom of the social-proof section */
.tstm__cta {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.75rem, 4vw, 2.5rem);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem;
}
.tstm__cta p { color: var(--text-dim); font-size: 1.05rem; max-width: 44ch; }
.tstm__cta p strong { color: var(--text); font-weight: 600; }
.tstm__cta-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 600px) { .tstm__cta { flex-direction: column; align-items: flex-start; } }

/* ---------- INSTAGRAM NUDGE ---------- */
.ig-nudge { text-align: center; padding-block: clamp(2.5rem,6vw,4rem); }
.ig-nudge a { color: var(--green); font-family: var(--font-display); font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.ig-nudge a:hover { color: var(--green-neon); }

/* =========================================================
   HOME — WARM RHYTHM + WOOD MOTIF + AA (revision pass)
   Scoped to home-only hooks; menu.html has no .section--light,
   .mission, .visit, .tstm, .serve or .ig-nudge, so it is untouched.
   ========================================================= */

/* ---------- LIGHT SECTION MODIFIER ----------
   Re-scopes the color tokens locally so every existing rule inside
   (cards, eyebrows, icons, stars, borders) adapts automatically.
   All resulting pairings verified >= AA (see report). */
.section--light {
  /* warm surfaces (not glare-white) */
  --bg:   #F5F1EA;   /* section background — warm off-white */
  --bg-2: #FFFFFF;   /* cards / raised surfaces */
  --bg-3: #FBF8F2;   /* card hover / inset */
  /* ink */
  --text:     #1E1F1C;   /* ~14.7:1 on cream */
  --text-dim: #55574F;   /* ~6.5:1 on cream, ~7.3:1 on white */
  /* accent-as-TEXT/ICON darkens for AA (mid-green ~2.8:1 fails on cream) */
  --green:      #256B3A; /* ~5.8:1 on cream, ~6.5:1 on white */
  --green-neon: #256B3A; /* focus ring + former-neon hovers -> visible on light (~5.8:1) */
  /* hairlines become dark-on-light */
  --line: rgba(30, 31, 28, .14);

  background: var(--bg);
  color: var(--text);
}

/* Deeper warm cream — steps Testimonials below Visit so the two light sections read
   as distinct. Only --bg changes; cards stay white (--bg-2) and ink/green tokens hold.
   AA on #ECE5D7: ink #1E1F1C ~13.2:1, dim #55574F ~5.85:1, green #256B3A ~5.17:1. */
.section--cream-2 { --bg: var(--cream-2); background: var(--bg); }

/* Standalone slat-band divider between Visit and Testimonials (decorative, aria-hidden).
   Same 16px height as every other divider on the site — was 18px. */
.wood-divider {
  height: var(--slat-h);
  background: var(--slat-band);
}

/* Keep the drive-thru pill on its own mid-green field (fg passes ~6:1) */
.section--light .visit__drivethru { background: var(--btn-bg); color: var(--btn-fg); }

/* Review avatar chip is dark green — force initials to #fff so they read (was var(--text)) */
.section--light .tstm__avatar { color: #fff; }

/* Elevation tinted to the warm bg instead of harsh black */
.section--light .tstm__card { box-shadow: 0 18px 40px -26px rgba(70, 48, 26, .38); }

/* Icon tile tint reads on white cards */
.section--light .serve__icon { background: rgba(37, 107, 58, .12); }

/* WCAG 1.4.1 — text links must not rely on colour alone: underline them.
   The serve cards are clearly buttons (whole-tile links) -> excluded. */
.section--light a:not(.btn):not(.serve__card) {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.section--light .ig-nudge a:hover { color: #1C5A30; }

/* ---------- MISSION (stays DARK) ----------
   Slat bands across the top AND bottom of the section (light->dark seams). */
.mission { position: relative; }

.mission::before,
.mission::after {
  content: "";
  position: absolute; left: 0; right: 0; height: var(--slat-h); z-index: 1;
  background: var(--slat-band);
}
.mission::before { top: 0; }
.mission::after  { bottom: 0; }

/* mission photo keeps the clean rounded frame (base .mission__media);
   the wood mat that used to wrap it was removed per request. */

/* =========================================================
   MENU PAGE (revision — alternating dark/light, matches home)
   ========================================================= */

/* 1 · DARK intro strip */
.menu-intro {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding-top: calc(var(--nav-h) + clamp(1.75rem, 5vw, 3rem));
  padding-bottom: clamp(1.75rem, 5vw, 3rem);
}
.menu-intro__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 2.5rem; }
.menu-intro__head { max-width: 46ch; }
.menu-intro h1 { font-size: clamp(2.5rem, 7vw, 4rem); margin-top: .25rem; }
.menu-intro__lead { color: var(--text-dim); font-size: 1.1rem; margin-top: .75rem; }
.menu-intro__aside { display: flex; flex-direction: column; align-items: flex-start; gap: .9rem; }
.menu-intro__hours { color: var(--text-dim); font-size: .95rem; display: inline-flex; align-items: center; gap: .5rem; }
.menu-intro__hours i { color: var(--green); font-size: 1.15rem; }

/* small note line under a section heading (shared, light sections) */
.menu-note { color: var(--text-dim); font-size: 1rem; margin-top: .35rem; margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.menu-note b { color: var(--text); font-weight: 600; }

/* 2 · DRINKS — two readable columns split by a wood rule */
.menu-duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(1.5rem, 4vw, 3.25rem); align-items: start; }
.menu-group__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.menu-group__head h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); display: flex; align-items: center; gap: .55rem; }
.menu-group__head h3 i { color: var(--green); font-size: 1.05em; }
.menu-cols { font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); white-space: nowrap; }

/* drink-group dividers: solid green accent line (uses --green: dark-green on cream) */
.wood-rule { background: var(--green); border-radius: 999px; }
/* vertical rule between the two drink columns */
.wood-rule--v { width: 2px; align-self: stretch; }
/* sub-rule between Tea and Little Treats inside the right column */
.wood-rule--sub { height: 2px; margin: 1.75rem 0; }

@media (max-width: 760px) {
  .menu-duo { grid-template-columns: 1fr; gap: 0; }
  .wood-rule--v {           /* becomes a horizontal line when the columns stack */
    width: auto; height: 2px; align-self: auto; margin: 2rem 0;
  }
}

/* menu list rows (shared across light + dark sections) */
.menu-list { display: grid; gap: .85rem; }
.menu-item { display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.menu-item__name { flex: 0 1 auto; font-weight: 500; display: inline-flex; align-items: center; gap: .5rem; }
.menu-item__lead { flex: 1 1 auto; border-bottom: 1px dotted var(--line); transform: translateY(-.2em); min-width: 1rem; }
.menu-item__price { flex: none; font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); white-space: nowrap; }
.menu-item__desc { flex-basis: 100%; color: var(--text-dim); font-size: .85rem; margin-top: -.15rem; }
.gf-badge { font-family: var(--font-display); font-weight: 800; font-size: .62rem; letter-spacing: .05em; color: var(--green); border: 1px solid var(--green); border-radius: 999px; padding: .05rem .4rem; line-height: 1.4; }
.menu-card__note { margin-top: 1.5rem; color: var(--text-dim); font-size: .85rem; }
.menu-card__note b { color: var(--text); }

/* 3 · BAKERY (dark band, framed by slat bands like the home mission) */
.menu-bakery { position: relative; background: var(--bg); }
.menu-bakery::before,
.menu-bakery::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--slat-h); z-index: 1;
  background: var(--slat-band);
}
.menu-bakery::before { top: 0; }
.menu-bakery::after  { bottom: 0; }
.menu-bakery__lead { color: var(--text-dim); font-size: 1.1rem; max-width: 60ch; margin-top: .35rem; }
.menu-bakery__lead b { color: var(--text); font-weight: 600; }

/* decorative photo strip — 4 across desktop, horizontal scroll when narrow */
.bakery-gallery {
  list-style: none; margin: 2rem 0 2.5rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr);
  gap: clamp(.75rem, 2vw, 1.15rem);
  overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .5rem;
}
.bakery-gallery__item { scroll-snap-align: start; }
.bakery-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.bakery-gallery:focus-visible { outline: 2px solid var(--green-neon); outline-offset: 4px; border-radius: 4px; }

/* bakery item list — two columns on the dark band */
.bakery-list { grid-template-columns: repeat(2, 1fr); gap: .85rem clamp(1.5rem, 4vw, 3.25rem); }
@media (max-width: 600px) { .bakery-list { grid-template-columns: 1fr; } }

/* 4 · CUSTOMIZE (native <details> disclosure) */
.customize { max-width: 940px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-2); overflow: hidden; }
.customize > summary {
  cursor: pointer; list-style: none; padding: 1.15rem clamp(1.15rem, 3vw, 1.5rem);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.customize > summary::-webkit-details-marker { display: none; }
.customize > summary::after { content: "\002B"; color: var(--green); font-size: 1.6rem; line-height: 1; transition: transform .2s ease; }
.customize[open] > summary::after { transform: rotate(45deg); }
.customize__body { padding: 0 clamp(1.15rem, 3vw, 1.5rem) clamp(1.5rem, 3vw, 2rem); border-top: 1px solid var(--line); }
.customize__extras-h { font-size: 1.05rem; margin: 1.75rem 0 .35rem; }

.custom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 2rem; margin-top: 1.25rem; }
@media (max-width: 620px) { .custom-grid { grid-template-columns: 1fr; } }
.custom-group dt { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: .35rem; }
.custom-group dd { margin: 0; color: var(--text-dim); line-height: 1.7; }
.extras-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .6rem 1.5rem; margin-top: .75rem; }
.extras-list .menu-item { background: var(--bg-3); border-radius: 10px; padding: .6rem .85rem; }

/* ---------- SECRET MENU (tease — real unblurred text; blur is decorative only) ---------- */
.secret {
  position: relative; overflow: hidden; border-radius: var(--r);
  border: 1px solid rgba(37,107,58,.35);
  background: radial-gradient(120% 120% at 50% 0%, rgba(37,107,58,.10), var(--bg-2) 60%);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.secret__ghost { position: absolute; inset: 0; z-index: 0; display: grid; gap: .9rem; padding: 2rem 3rem; filter: blur(9px); opacity: .3; pointer-events: none; }
.secret__ghost span { height: 1.1rem; border-radius: 999px; background: linear-gradient(90deg, var(--text-dim), transparent); }
.secret__ghost span:nth-child(odd) { width: 70%; }
.secret__ghost span:nth-child(even) { width: 52%; justify-self: end; background: linear-gradient(270deg, var(--text-dim), transparent); }
.secret__inner { position: relative; z-index: 1; display: grid; justify-items: center; gap: .75rem; }
.secret__lock { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: rgba(37,107,58,.15); color: var(--green); font-size: 1.8rem; }
.secret__eyebrow { color: var(--green); }
.secret h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.25rem); }
.secret p { color: var(--text-dim); max-width: 46ch; margin-inline: auto; font-size: 1.05rem; }
.secret__price { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--green); letter-spacing: .02em; }

/* 5 · CTA band (dark) */
.menu-cta { background: var(--bg-2); border-top: 1px solid var(--line); text-align: center; }
.menu-cta h2 { margin-bottom: .75rem; }
.menu-cta p { color: var(--text-dim); margin-bottom: 1.5rem; max-width: 48ch; margin-inline: auto; }
.menu-cta__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center; color: var(--text-dim); font-size: .92rem; margin-top: 1.5rem; }
.menu-cta__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.menu-cta__meta i { color: var(--green); }
.menu-cta__meta a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.menu-cta__meta a:hover { color: var(--green-neon); }

/* =========================================================
   Web Interface Guidelines — a11y & polish pass
   ========================================================= */

/* Skip link — keyboard users jump past the nav to main content */
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-display); font-weight: 700;
  padding: .65rem 1.1rem; border-radius: 10px;
  transition: top .18s ease;
}
.skip-link:focus { top: 1rem; }
/* main is a skip-link focus target, not a control — no ring on the whole region */
#main:focus, #main:focus-visible { outline: none; }

/* Anchor targets clear the sticky nav when jumped to (#visit, #visit-cta, #main …) */
[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* Balanced heading rag */
h1, h2, h3 { text-wrap: balance; }

/* Snappier taps + intentional tap highlight */
body { -webkit-tap-highlight-color: rgba(63,163,90,.25); }
.btn, .nav__toggle, summary, .bakery-gallery, a { touch-action: manipulation; }

/* Contain scroll chaining on the gallery scroller and mobile menu overlay */
.bakery-gallery { overscroll-behavior-x: contain; }
.nav__mobile { overscroll-behavior: contain; }

/* =========================================================
   STORY PAGE (Our Story)
   Scoped entirely to .story-* / .slideshow / .crumbs hooks.
   index.html and menu.html use none of these classes, so the
   home and menu pages are untouched by this block.
   ========================================================= */

/* ---------- breadcrumb (mirrors the BreadcrumbList JSON-LD) ---------- */
.crumbs {
  display: flex; align-items: center; gap: .45rem;
  color: var(--text-dim); font-size: .85rem; margin-bottom: 1.25rem;
}
.crumbs a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.crumbs a:hover { color: var(--green); }
.crumbs i { font-size: .85rem; opacity: .55; }
.crumbs [aria-current="page"] { color: var(--text); }

/* ---------- 1 · DARK hero hook ---------- */
.story-hero {
  background: var(--bg);
  padding-top: calc(var(--nav-h) + clamp(2rem, 6vw, 4.5rem));
  padding-bottom: clamp(1.75rem, 4vw, 2.5rem);
}
.story-hero h1 { font-size: clamp(2.35rem, 6vw, 4.25rem); max-width: 18ch; }
.story-hero__lead {
  color: var(--text-dim); font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 58ch; margin-top: 1.15rem; line-height: 1.7;
}
.story-hero__lead b { color: var(--text); font-weight: 600; }

/* ---------- 2 · VIDEO (16:9, responsive, never autoplays) ---------- */
.story-video { background: var(--bg); padding-bottom: var(--section-y); }
.story-video__wrap { max-width: 980px; margin-inline: auto; }
.story-video__frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--r); overflow: clip;
  border: 1px solid var(--line); background: #000;
  box-shadow: 0 30px 70px -45px rgba(0, 0, 0, .95);
}
.story-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.story-video figcaption {
  display: flex; align-items: center; gap: .5rem;
  color: var(--text-dim); font-size: .9rem; margin-top: .9rem;
}
.story-video figcaption i { color: var(--green); font-size: 1.1rem; flex: none; }

/* ---------- 3 · LIGHT (cream) written story ----------
   Slat bands frame the light band, the same motif .mission uses to frame its
   dark band on the home page (inverted here: light between darks). */
.story-read { position: relative; }
.story-read::before,
.story-read::after {
  content: ""; position: absolute; left: 0; right: 0; height: var(--slat-h); z-index: 1;
  background: var(--slat-band);
}
.story-read::before { top: 0; }
.story-read::after  { bottom: 0; }

.story-read__body { max-width: 68ch; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.story-read__body h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  margin-top: clamp(2rem, 4vw, 2.75rem); margin-bottom: .65rem;
}
.story-read__body h3:first-child { margin-top: 0; }
/* full-ink body copy: long-form reading, #1E1F1C on cream ~14.7:1 */
.story-read__body p { color: var(--text); font-size: 1.1rem; line-height: 1.75; }
.story-read__more { margin-top: clamp(2rem, 4vw, 2.75rem); color: var(--text-dim) !important; }

/* ---------- 4 · DARK renovation slideshow ---------- */
.story-reno { background: var(--bg-2); border-top: 1px solid var(--line); }
.slideshow { max-width: 980px; margin-top: clamp(1.75rem, 4vw, 2.5rem); }

/* Base (also the no-JS / pre-enhancement state): every photo simply stacks as a
   captioned list. Nothing is hidden, nothing needs a control to be reachable. */
.slideshow__stage { display: grid; gap: 1.25rem; }
.slide {
  margin: 0; border-radius: var(--r); overflow: clip;
  border: 1px solid var(--line); background: var(--bg-3);
}
.slide img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.slide figcaption {
  padding: .95rem 1.15rem 1.1rem;
  color: var(--text); font-size: .95rem; line-height: 1.5;
  border-top: 1px solid var(--line);
}

/* Enhanced (JS on): one slide at a time, stacked in a single grid cell so the
   stage height is stable and advancing never shifts the layout. */
.slideshow.is-enhanced .slideshow__stage { gap: 0; }
.slideshow.is-enhanced .slide {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden;
  /* hold visibility until the fade finishes, else the outgoing slide pops instead of
     crossfading; visibility (not display) keeps it out of the a11y tree + tab order */
  transition: opacity .45s ease, visibility 0s linear .45s;
}
.slideshow.is-enhanced .slide[data-active="true"] {
  opacity: 1; visibility: visible; z-index: 1;
  transition: opacity .45s ease, visibility 0s linear 0s;
}

/* controls only exist once JS can drive them */
.slideshow__bar { display: none; }
.slideshow.is-enhanced .slideshow__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 1.1rem;
}
.slideshow__btns { display: flex; gap: .6rem; }
.slideshow__btn {
  width: 48px; height: 48px; flex: none;   /* >=44px tap target */
  display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg-3); color: var(--text);
  font-size: 1.25rem; cursor: pointer;
  touch-action: manipulation;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.slideshow__btn:hover { border-color: var(--green); color: var(--green); background: var(--bg); }
.slideshow__count {
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--text-dim); font-variant-numeric: tabular-nums;
}

/* ---------- 5 · closing CTA (dark) ---------- */
.story-cta { background: var(--bg); border-top: 1px solid var(--line); text-align: center; }
.story-cta h2 { margin-bottom: .75rem; }
.story-cta > .container > p { color: var(--text-dim); max-width: 48ch; margin-inline: auto; }
.story-cta__btns { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }
.story-cta__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: center;
  color: var(--text-dim); font-size: .92rem; margin-top: 1.75rem;
}
.story-cta__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.story-cta__meta i { color: var(--green); }
.story-cta__meta a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.story-cta__meta a:hover { color: var(--green-neon); }

@media (max-width: 560px) {
  .slideshow.is-enhanced .slideshow__bar { flex-direction: row; }
  .story-hero h1 { max-width: none; }
}
