/* ==================================================================================================
   Tin House — Coffee Station · app.css (the only stylesheet; no build step)

   DESIGN TOKENS (legend)
   Colour   --teal #0EBDB1 brand, fills and accents only (ink text on it: 7.4:1; NEVER white text on it)
            --teal-ink #06736C teal for text/links on paper (5.2:1) · --ink #0E1D1C deep green-black
            --paper #F5F3EE off-white page · --paper-2 #ECE9E2 deeper paper for alternate bands
            --tin #E2E4E1 brushed-tin grey · --kraft #C9AD84 kraft-paper accent · --muted #55615F (5.8:1)
   Type     Manrope variable 200–800 (Latin + Greek, self-hosted). Display in light weights with tight
            tracking; labels in 600 uppercase, wide tracking (the "COFFEE STATION" line of the logo).
            Fluid scale with clamp(), tuned between 390 px and 1440 px.
   Space    --gutter page side margin · --gap grid gap · --section vertical rhythm between sections
   Shape    Arch = the pull-tab opening of the logo (semicircle top). Pills for buttons. Images: 4 px.
   Motion   --ease-out (expo-like, no overshoot) for reveals · --ease-io for state changes.
            --d1 180 ms UI · --d2 420 ms · --d3 900 ms reveals · --d4 1400 ms hero.
            Only transform / opacity / clip-path are animated. Everything is visible without JS and
            with prefers-reduced-motion: reveal styles exist only under html.js and no-preference.
   ================================================================================================== */

/* ---------- Fonts: Manrope (SIL OFL 1.1, see assets/fonts/OFL-manrope.txt) ---------- */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-greek.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* Metric-matched fallback, so the swap to Manrope moves nothing (no layout shift). */
@font-face {
  font-family: "Manrope Fallback";
  src: local("Arial");
  size-adjust: 106%;
  ascent-override: 100%;
  descent-override: 28%;
  line-gap-override: 0%;
}

:root {
  --teal: #0EBDB1;
  --teal-ink: #06736C;
  --teal-soft: #D5EFEC;
  --ink: #0E1D1C;
  --ink-2: #172C2A;
  --paper: #F5F3EE;
  --paper-2: #ECE9E2;
  --tin: #E2E4E1;
  --kraft: #C9AD84;
  --muted: #55615F;
  --muted-inv: #A3AFAD;
  --line: rgb(14 29 28 / .14);
  --line-strong: rgb(14 29 28 / .32);
  --line-inv: rgb(245 243 238 / .16);

  --font: "Manrope", "Manrope Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(3.25rem, 1.9rem + 5.6vw, 7.5rem);
  --fs-h1: clamp(2.5rem, 1.55rem + 3.9vw, 5.25rem);
  --fs-h2: clamp(2.125rem, 1.5rem + 2.55vw, 3.875rem);
  --fs-h3: clamp(1.375rem, 1.22rem + .62vw, 1.75rem);
  --fs-statement: clamp(1.625rem, 1.05rem + 2.35vw, 3.375rem);
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --fs-body: clamp(1rem, .97rem + .12vw, 1.0625rem);
  --fs-small: .875rem;
  --fs-label: .75rem;

  --gutter: clamp(1rem, .45rem + 2.4vw, 3rem);
  --gap: clamp(1rem, .6rem + 1.4vw, 1.75rem);
  --section: clamp(5rem, 3.2rem + 7.5vw, 10rem);
  --maxw: 90rem;
  --header-h: 4rem;

  --r-img: 4px;
  --r-2: 14px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --d1: 180ms;
  --d2: 420ms;
  --d3: 900ms;
  --d4: 1400ms;
}
@media (min-width: 1024px) { :root { --header-h: 4.75rem; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-weight: 400;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-weight: inherit; font-size: inherit; line-height: 1.1; text-wrap: balance; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
::selection { background: var(--teal); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; border-radius: 2px; }
.hot :focus-visible, .site-footer :focus-visible, .sheet :focus-visible { outline-color: var(--teal); }
.cta :focus-visible { outline-color: var(--ink); }
main:focus { outline: none; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; z-index: 100; top: .75rem; left: .75rem;
  padding: .75rem 1.25rem; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-weight: 600; opacity: 0; pointer-events: none; transform: translateY(-.5rem);
  transition: opacity var(--d1) linear, transform var(--d2) var(--ease-out);
}
.skip:focus-visible { opacity: 1; pointer-events: auto; transform: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }

/* ---------- Type ---------- */
.display {
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: .98;
  letter-spacing: -.048em;
}
.h1 { font-size: var(--fs-h1); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.h2 { font-size: var(--fs-h2); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; }
.h3 { font-size: var(--fs-h3); font-weight: 500; line-height: 1.2; letter-spacing: -.018em; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 34rem; }
.overline, .label {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.4;
  text-transform: uppercase;
}
.overline { display: flex; align-items: center; gap: .75rem; color: var(--teal-ink); margin-bottom: 1.25rem; }
.overline--inv { color: var(--teal); }
.overline__sep { width: 2rem; height: 1px; background: currentColor; }
.label { color: var(--muted); }
.tag {
  display: inline-block; font-style: normal; font-size: .6875rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal-ink); white-space: nowrap; vertical-align: .12em; margin-left: .35rem;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  min-height: 3rem; padding: 0 1.375rem; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; letter-spacing: .005em; line-height: 1.1; white-space: nowrap;
  transition: background-color var(--d1) linear, color var(--d1) linear, box-shadow var(--d1) linear;
}
.btn__icon { width: 1.125rem; height: 1.125rem; flex: none; transition: transform var(--d2) var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--sm { min-height: 2.75rem; padding: 0 1.125rem; font-size: .875rem; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--teal); color: var(--ink); }
.btn--line { box-shadow: inset 0 0 0 1px var(--line-strong); color: var(--ink); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--teal { background: var(--teal); color: var(--ink); }
.btn--teal:hover { background: var(--paper); }
.btn--line-ink { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.btn--line-ink:hover { background: var(--ink); color: var(--teal); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem;
  font-weight: 600; font-size: .9375rem; color: var(--teal-ink);
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + .8em) / 0 1px no-repeat;
  transition: background-size var(--d2) var(--ease-out);
}
.link-arrow:hover { background-size: calc(100% - 1.6rem) 1px; }
.link-arrow__icon { width: 1.1rem; height: 1.1rem; flex: none; transition: transform var(--d2) var(--ease-out); }
.link-arrow:hover .link-arrow__icon { transform: translateX(3px); }
.link-arrow--inv { color: var(--teal); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(245 243 238 / .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  view-transition-name: site-header;
  transition: box-shadow var(--d2) linear;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; min-height: 2.75rem; color: var(--ink); }
.brand__icon { width: 1.5rem; height: auto; color: var(--teal-ink); --sw: 24; flex: none; }
.brand__icon path, .draw-on-view path { stroke-width: var(--sw, 24); }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: .95rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; margin-right: -.3em; }
.brand__tag { font-size: .5rem; font-weight: 600; letter-spacing: .52em; text-transform: uppercase; margin-top: .4rem; color: var(--muted); }
.brand--inv { color: var(--paper); }
.brand--inv .brand__icon { color: var(--teal); }
.brand--inv .brand__tag { color: var(--muted-inv); }

.site-nav { margin-left: auto; display: none; }
.site-nav ul { display: flex; gap: .25rem; }
.site-nav a {
  position: relative; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem;
  font-size: .9375rem; font-weight: 500;
}
.site-nav a::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .55rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform var(--d2) var(--ease-out);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav a[aria-current="page"] { color: var(--teal-ink); }
.site-header__cta { display: none; }

.nav-toggle {
  margin-left: auto; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 999px;
}
.nav-toggle__lines { width: 1.375rem; display: grid; gap: 6px; }
.nav-toggle__lines span { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform var(--d2) var(--ease-out); }
.nav-toggle__lines span:last-child { width: 70%; margin-left: auto; }
.nav-toggle:hover .nav-toggle__lines span:last-child { transform: scaleX(1.43); transform-origin: right; }

@media (min-width: 900px) {
  .site-nav, .site-header__cta { display: flex; }
  .site-header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
}
/* Without JS the toggle cannot work: show the three links in the header instead. */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .site-nav { display: flex; }
@media (max-width: 899px) {
  html:not(.js) .site-nav a { padding: 0 .5rem; font-size: .875rem; }
  html:not(.js) .site-nav a::after { left: .5rem; right: .5rem; }
  html:not(.js) .brand__word { display: none; }
}

/* Mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column;
  background: var(--ink); color: var(--paper);
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path var(--d3) var(--ease-out), visibility 0s linear var(--d3);
  overflow-y: auto; overscroll-behavior: contain;
}
.sheet.is-open, .sheet:target { visibility: visible; clip-path: inset(0); transition: clip-path var(--d3) var(--ease-out), visibility 0s; }
.sheet__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; flex: none; }
.nav-close { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 999px; color: var(--paper); }
.nav-close svg { width: 1.5rem; height: 1.5rem; }
.sheet__nav { flex: 1; display: flex; align-items: center; padding-block: 2rem; }
.sheet__nav ol { width: 100%; }
.sheet__nav li { border-bottom: 1px solid var(--line-inv); overflow: clip; }
.sheet__nav a {
  display: flex; align-items: baseline; gap: 1.25rem; padding: .9rem 0;
  font-size: clamp(2.25rem, 1.5rem + 4vw, 3.5rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.1;
  transform: translateY(105%); transition: transform var(--d3) var(--ease-out);
  transition-delay: calc(var(--i) * 60ms + 120ms);
}
.sheet.is-open .sheet__nav a, .sheet:target .sheet__nav a { transform: none; }
.sheet__nav a[aria-current="page"] { color: var(--teal); }
.sheet__num { font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: var(--muted-inv); font-variant-numeric: tabular-nums; }
.sheet__foot { padding-block: 1.5rem calc(2rem + env(safe-area-inset-bottom)); display: grid; gap: 1.25rem; flex: none; }
.sheet__foot .btn { justify-self: start; }
.sheet__call { font-size: var(--fs-small); color: var(--muted-inv); }
.sheet__call a { color: var(--paper); font-weight: 600; margin-left: .35rem; display: inline-flex; align-items: center; min-height: 2.75rem; }
.sheet__stations { display: grid; gap: .5rem; font-size: var(--fs-small); }
.sheet__stations span { display: block; color: var(--muted-inv); }
@media (min-width: 900px) { .sheet { display: none; } }
html.nav-open { overflow: hidden; }

/* ---------- Reveal system (JS adds .is-in; without JS or with reduced motion nothing is hidden) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translate3d(0, 1.75rem, 0);
    transition: opacity var(--d3) var(--ease-out), transform var(--d3) var(--ease-out);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .js [data-reveal="mask"] {
    opacity: 1; transform: none;
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.25s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 120ms);
  }
  .js [data-reveal="mask"] img { transform: scale(1.14); transition: transform 1.6s var(--ease-out); transition-delay: inherit; }
  .js [data-reveal="draw"] { opacity: 1; transform: none; }
  .js [data-reveal="draw"] path { stroke-dasharray: 1.01 2; stroke-dashoffset: 1.01; transition: stroke-dashoffset 2s var(--ease-io); }
  .js [data-reveal="draw"] path:nth-child(2) { transition-delay: .25s; }
  .js [data-reveal="draw"] path:nth-child(3) { transition-delay: .5s; }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal="mask"].is-in { clip-path: inset(0); } /* only masks: inset(0) on text would cut descenders */
  .js [data-reveal].is-in img { transform: none; }
  .js [data-reveal].is-in path { stroke-dashoffset: 0; }
}

/* Load-in sequence of the hero and the logo (CSS only, ends visible; no JS needed). */
/* Title lines: each line is a mask its text rises out of (padding keeps descenders inside the mask). */
.line { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .line { overflow: clip; padding-bottom: .16em; margin-bottom: -.16em; }
  .line > span { display: block; animation: line-up var(--d4) var(--ease-out) both; }
  .hero__title .line:nth-child(1) > span { animation-delay: .15s; }
  .hero__title .line:nth-child(2) > span { animation-delay: .27s; }
  .hero__over, .hero__lead, .hero__actions, .hero__award, .hero__foot { animation: fade-up 1.1s var(--ease-out) both; }
  .hero__over { animation-delay: .05s; }
  .hero__lead { animation-delay: .5s; }
  .hero__actions { animation-delay: .62s; }
  .hero__award { animation-delay: .72s; }
  .hero__foot { animation-delay: .8s; }
  .hero__frame { animation: frame-in 1.7s var(--ease-out) both .1s; }
  .hero__img { animation: img-in 2.2s var(--ease-out) both .1s; }
  .page-home .brand__icon path { stroke-dasharray: 1.01 2; animation: draw 1.8s var(--ease-io) both .2s; }
  .page-home .brand__icon path:nth-child(2) { animation-delay: .45s; }
  .page-home .brand__icon path:nth-child(3) { animation-delay: .7s; }
}
@keyframes line-up { from { transform: translate3d(0, 108%, 0); } }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 1.25rem, 0); } }
@keyframes frame-in { from { clip-path: inset(38% 0 0 0); } to { clip-path: inset(0); } }
@keyframes img-in { from { transform: scale(1.2); } }
@keyframes draw { from { stroke-dashoffset: 1.01; } to { stroke-dashoffset: 0; } }

/* Gentle parallax inside image frames: CSS scroll-driven animation, only where supported. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .parallax { scale: 1.12; animation: parallax linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes parallax { from { translate: 0 -4.5%; } to { translate: 0 4.5%; } }

/* ---------- Arch frame: semicircle top (cqi = half the frame width), small radius below ---------- */
.arch { container-type: inline-size; }
.arch__in { overflow: hidden; border-radius: 50cqi 50cqi var(--r-2) var(--r-2); background: var(--tin); }
.arch__in img { width: 100%; height: 100%; object-fit: cover; }

/* Image cut-outs shot on pure white: multiply makes the white disappear on light surfaces. */
.cutout {
  mix-blend-mode: multiply;
  /* soften the crop edges: some shots have a faint grey shadow that would show as a hard line */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent), linear-gradient(transparent, #000 4%, #000 96%, transparent);
  mask-composite: intersect;
}

/* ==================================================================================================
   HOME
   ================================================================================================== */
.hero { display: grid; gap: 2rem; padding-top: clamp(1.5rem, 4vw, 3rem); }
.hero__title { margin-bottom: 1.5rem; }
.hero__lead { margin-bottom: 2rem; max-width: 30rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__frame { aspect-ratio: 4 / 5; }
.hero__foot {
  display: flex; flex-wrap: wrap; gap: .75rem 2rem; justify-content: space-between; align-items: center;
  padding-block: 1.25rem; border-top: 1px solid var(--line); font-size: var(--fs-small);
}
.hero__stations { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.5rem; }
@media (min-width: 600px) { .hero__stations { display: flex; flex-wrap: wrap; gap: .4rem 1.75rem; } }
.hero__stations li { display: flex; gap: .6rem; align-items: baseline; }
.hero__stations .num { font-size: .6875rem; font-weight: 600; color: var(--teal-ink); letter-spacing: .08em; }
.hero__call { color: var(--muted); display: flex; align-items: center; gap: .6rem; }
.hero__call a { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; min-height: 2.75rem; background: linear-gradient(currentColor, currentColor) 0 calc(50% + .75em) / 100% 1px no-repeat; }
.hero__call a:hover { color: var(--teal-ink); }

/* Award line under the hero buttons (links to Recognition on the Coffee page) */
.award { display: inline-flex; align-items: center; gap: .9rem; margin-top: 2.25rem; padding: .5rem 1.25rem .5rem .5rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--d1) linear; }
.award:hover { box-shadow: inset 0 0 0 1px var(--teal-ink); }
.award__icon { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal-ink); }
.award__icon svg { width: 1.375rem; height: 1.375rem; }
.award__text { display: grid; gap: .1rem; line-height: 1.3; }
.award__line { font-size: .9375rem; font-weight: 600; }
.award__by { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

@media (min-width: 600px) and (max-width: 1023px) {
  .hero__media { width: min(100%, 28rem); justify-self: end; }
}
@media (min-width: 1024px) {
  .hero {
    grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 0;
    min-height: calc(100svh - var(--header-h)); grid-template-rows: 1fr auto;
    padding-top: clamp(1rem, 2.5vw, 2.5rem);
  }
  .hero__text { grid-column: 1 / 8; align-self: center; padding-bottom: 2rem; }
  .hero__media {
    grid-column: 8 / 13; align-self: center; justify-self: end; padding-bottom: 2rem;
    width: min(100%, calc((100svh - var(--header-h) - 10rem) * .8));
  }
  .hero__foot { grid-column: 1 / -1; }
}


/* Statement: each word lights up as the line passes the middle of the screen (scroll-driven, CSS only). */
/* Why a tin: the question, then the answer lit word by word as it scrolls past */
.story { padding-top: clamp(4.5rem, 3rem + 6vw, 8rem); }
.story__intro { padding-bottom: var(--section); }
.story__q { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 34rem; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 1024px) {
  .story__intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .story__intro > * { grid-column: 2 / 12; }
  .story__a { margin-left: 0 !important; }
}
.statement__text {
  font-size: var(--fs-statement); font-weight: 300; line-height: 1.2; letter-spacing: -.025em; max-width: 24em;
}
@media (min-width: 1024px) { .statement__text { margin-left: calc((100% - 11 * var(--gap)) / 12 + var(--gap)); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .statement__text .w { animation: word-lit linear both; animation-timeline: view(); animation-range: cover 18% cover 42%; }
  }
}
@keyframes word-lit { from { opacity: .5; } to { opacity: 1; } }   /* .5 = contrast 3.26:1 on paper (large text needs 3:1) */

/* The tin: three properties side by side (desktop), a compact list on phones. Each tin stands on a paper disc. */
.tins { padding-bottom: calc(var(--section) * .6); }
.tins__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.tins__list { display: grid; }
.tin { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1.25rem; align-items: center; padding-block: 1.5rem; border-top: 1px solid var(--line); }
.tin:last-child { border-bottom: 1px solid var(--line); }
.tin__stage { position: relative; aspect-ratio: 1; border-radius: 50%; background: var(--paper-2); isolation: isolate; }
/* absolute: a % height resolves against the disc (a grid/flex item would fall back to the image's own size) */
.tin__can { position: absolute; left: 50%; top: 50%; height: 82%; width: auto; max-width: none; translate: -50% -50%; transition: transform var(--d3) var(--ease-out); }
.tin__stage--short .tin__can { height: 64%; top: 56%; }
.tin__num { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; color: var(--teal-ink); margin-bottom: .4rem; }
.tin__title { margin-bottom: .4rem; }
.tin__copy { color: var(--muted); max-width: 26rem; }
.tin__meta { margin-top: 1rem; font-size: var(--fs-small); color: var(--muted); }
.tin__meta strong { color: var(--ink); font-weight: 600; }
.tin .link-arrow { margin-top: .25rem; }
@media (min-width: 900px) {
  .tins__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
  .tin { display: block; padding: 0; border: 0; }
  .tin:last-child { border: 0; }
  .tin__stage { width: min(100%, 22rem); margin-bottom: 2rem; }
  .tin__title { font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.375rem); font-weight: 300; letter-spacing: -.03em; margin-bottom: .75rem; }
  .tin:hover .tin__can { transform: translateY(-.5rem); }
}

/* On-the-go strip: swipe row on phones, staggered three-up on desktop */
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  padding-block: 1rem var(--section); scroll-padding-inline: var(--gutter); /* snap keeps the side margin */
}
.strip::-webkit-scrollbar { display: none; }
.strip__item { scroll-snap-align: start; }
.strip__frame { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 4 / 5; background: var(--tin); }
.strip__frame img { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption { margin-top: .9rem; font-size: var(--fs-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 600px) { .strip { grid-auto-columns: 46%; } }
@media (min-width: 900px) {
  .strip { grid-auto-flow: row; grid-template-columns: repeat(12, minmax(0, 1fr)); overflow: visible; align-items: start; }
  .strip__item--a { grid-column: 1 / 5; }
  .strip__item--b { grid-column: 5 / 9; margin-top: 18%; }
  .strip__item--c { grid-column: 9 / 13; margin-top: 6%; }
  .strip__item--b .strip__frame { aspect-ratio: 1; }
}

/* Hot coffee (dark band) */
.hot { background: var(--ink); color: var(--paper); padding-block: var(--section); }
.hot__grid { display: grid; gap: 2.5rem; }
.hot__media { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 3 / 2; background: var(--ink-2); }
.hot__media img { width: 100%; height: 100%; object-fit: cover; }
.hot__lead { color: var(--muted-inv); font-size: var(--fs-lead); margin: 1.25rem 0 2rem; max-width: 30rem; }
.hot .h2 { color: var(--paper); }
@media (min-width: 1024px) {
  .hot__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
  .hot__media { grid-column: 1 / 7; aspect-ratio: 4 / 5; }
  .hot__text { grid-column: 8 / 13; }
}

/* Price list (name ... price), tabular figures, hairline rows */
.prices li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding-block: .8rem; border-bottom: 1px solid var(--line); break-inside: avoid;
}
.prices li > span:last-child { flex: none; font-weight: 500; }
.prices--inv li { border-color: var(--line-inv); }
.prices--inv li > span:first-child { color: var(--paper); }
.prices--cols { margin-bottom: 1.5rem; }
@media (min-width: 600px) { .prices--cols { columns: 2; column-gap: 2rem; } }

/* Food */
.food { padding-block: var(--section) 0; }
.food__head { display: grid; gap: 2.5rem; }
.food__intro .lead { margin: 1.25rem 0 1rem; }
.food__media { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 1; background: var(--ink); }
@media (min-width: 600px) and (max-width: 1023px) { .food__media { aspect-ratio: 4 / 3; } }
.food__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .food__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
  .food__intro { grid-column: 1 / 6; }
  .food__media { grid-column: 7 / 13; }
}

/* Pots row: each cut-out with its own name and price. A swipe row on phones, four columns on wide screens. */
.pots {
  margin-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 8vw, 7rem); padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; overscroll-behavior-x: contain;
}
.pots::-webkit-scrollbar { display: none; }
.pots__track { display: flex; gap: clamp(1rem, 3vw, 3rem); width: max-content; align-items: flex-end; }
.pots__item { margin: 0; flex: 0 0 auto; width: clamp(10.5rem, 44vw, 14rem); scroll-snap-align: center; background: var(--paper); } /* backdrop for the multiply blend */
.pots__item img { height: clamp(12rem, 24vw, 22rem); width: auto; margin-inline: auto; }
.pots__item figcaption { display: flex; flex-direction: column; gap: .35rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--ink); font-size: var(--fs-small); }
.pots__item .num { font-weight: 500; }
@media (min-width: 900px) {
  .pots { overflow: visible; max-width: var(--maxw); margin-inline: auto; }
  .pots__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); width: auto; }
  .pots__item { width: auto; }
}

.duo { display: grid; gap: clamp(3rem, 5vw, 4rem) var(--gap); padding-bottom: var(--section); }
.duo__img { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 3 / 2; margin-bottom: 1.5rem; background: var(--tin); }
.duo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.duo__card:hover .duo__img img { transform: scale(1.03); }
.duo .h3 { margin-bottom: .5rem; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } }

/* Coffee beans teaser */
.beans { background: var(--paper-2); padding-block: var(--section); }
.beans__grid { display: grid; gap: 2.5rem; }
.beans__media { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 3 / 2; background: var(--tin); }
.beans__media img { width: 100%; height: 100%; object-fit: cover; }
.beans__text .lead { margin: 1.25rem 0 2rem; }
.beans__list { margin-bottom: 2rem; border-top: 1px solid var(--line); }
.beans__list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .15rem 1rem;
  padding-block: .9rem; border-bottom: 1px solid var(--line);
}
.beans__name { font-weight: 600; }
.beans__notes { grid-column: 1; font-size: var(--fs-small); color: var(--muted); }
.beans__price { grid-column: 2; grid-row: 1 / 3; align-self: center; font-weight: 500; }
@media (min-width: 1024px) {
  .beans__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
  .beans__media { grid-column: 1 / 7; aspect-ratio: 3 / 2; } /* the photo is 3:2: no crop of the bag labels */
  .beans__text { grid-column: 8 / 13; }
}

/* Menu teaser */
.teaser { padding-block: var(--section); }
.teaser__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.picks { display: grid; gap: 2rem var(--gap); margin-bottom: clamp(4rem, 8vw, 6rem); }
.pick a { display: block; }
.pick__img { display: block; overflow: hidden; border-radius: var(--r-img); aspect-ratio: 4 / 3; background: var(--paper-2); margin-bottom: 1rem; }
.pick__img img { width: 100%; height: 100%; object-fit: contain; transition: transform 1.2s var(--ease-out); }
.pick a:hover .pick__img img { transform: scale(1.04); }
.pick__cat { display: block; font-size: var(--fs-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: .35rem; }
.pick__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pick__name { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.018em; }
.pick__price { font-weight: 500; }
@media (min-width: 700px) { .picks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.index .label { margin-bottom: .5rem; }
.index__list { display: grid; margin-bottom: 2.5rem; border-top: 1px solid var(--line); }
.index__list a {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem;
  min-height: 3.75rem; padding-block: .6rem; border-bottom: 1px solid var(--line);
  transition: color var(--d1) linear;
}
.index__name { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); font-weight: 400; letter-spacing: -.02em; transition: transform var(--d2) var(--ease-out); }
.index__count { font-size: var(--fs-small); color: var(--muted); }
.index__icon { width: 1.25rem; height: 1.25rem; color: var(--teal-ink); transform: translateX(-6px); opacity: 0; transition: transform var(--d2) var(--ease-out), opacity var(--d2) linear; }
.index__list a:hover .index__name { transform: translateX(.5rem); }
.index__list a:hover .index__icon, .index__list a:focus-visible .index__icon { transform: none; opacity: 1; }
@media (hover: none) { .index__icon { opacity: 1; transform: none; } }
@media (min-width: 900px) { .index__list { grid-template-columns: 1fr 1fr; column-gap: var(--gap); border-top: 0; } .index__list li:nth-child(-n+2) a { border-top: 1px solid var(--line); } }

/* Stations */
/* Stations: the flagship photo in the arch, the list of all stations, then the van */
.stations { padding-bottom: var(--section); }
.stations__grid { display: grid; gap: 2.5rem var(--gap); }
.stations__photo .arch__in { aspect-ratio: 4 / 5; }
.stations__body .lead { margin-top: 1rem; margin-bottom: 2rem; }
.st-list { border-top: 1px solid var(--ink); }
.st { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: .25rem 1rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); align-items: baseline; }
.st__num { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; color: var(--teal-ink); }
.st__name { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.018em; line-height: 1.2; }
.st__addr { color: var(--muted); margin-top: .2rem; }
.st__go { grid-column: 2; justify-self: start; }
.st--lead .st__name { font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.375rem); font-weight: 400; letter-spacing: -.03em; }
.soon { display: flex; align-items: baseline; gap: 1rem; margin-top: 1.5rem; color: var(--muted); }
@media (min-width: 700px) {
  .st { grid-template-columns: 2.5rem minmax(0, 1fr) auto; }
  .st__go { grid-column: 3; grid-row: 1 / 3; align-self: center; }
}
@media (min-width: 1024px) {
  .stations__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .stations__lead { grid-column: 1 / 6; }
  .stations__body { grid-column: 7 / 13; }
}

.van { display: grid; gap: 2rem var(--gap); margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--line); align-items: center; }
.van__media { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 3 / 2; background: var(--tin); }
.van__media img { width: 100%; height: 100%; object-fit: cover; }
.van__text .lead { margin: 1.25rem 0 .75rem; }
.van__offer { font-size: var(--fs-small); font-weight: 600; color: var(--ink); margin-bottom: 1rem; }
.van__offer--inv { color: var(--paper); margin-top: -1rem; }
@media (min-width: 1024px) {
  .van { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .van__media { grid-column: 1 / 8; }
  .van__text { grid-column: 9 / 13; }
}

/* Instagram strip: six of the brand's own photos, a swipe row on phones, one row of six on wide screens */
.gram { padding-bottom: var(--section); }
.gram__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.gram__head .h2 { margin: 0; }
.gram__grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: .75rem; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.gram__grid::-webkit-scrollbar { display: none; }
.gram__item { scroll-snap-align: start; overflow: hidden; border-radius: var(--r-img); aspect-ratio: 1; background: var(--tin); }
.gram__item a { display: block; height: 100%; }
.gram__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.gram__item a:hover img { transform: scale(1.05); }
@media (min-width: 600px) { .gram__grid { grid-auto-columns: 30%; } }
@media (min-width: 900px) {
  .gram__grid { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); overflow: visible; max-width: var(--maxw); margin-inline: auto; }
}

/* Who we are: three pillars in the brand's words (dark band, reuses .hot) */
.who .hot__media { aspect-ratio: 4 / 5; }
.who .h2 { max-width: 13em; }
.pillars { display: grid; border-top: 1px solid var(--line-inv); }
.pillars li { padding-block: 1.25rem .5rem; border-bottom: 1px solid var(--line-inv); }
.pillars__title { font-size: 1.0625rem; font-weight: 600; color: var(--paper); margin-bottom: .3rem; }
.pillars p { color: var(--muted-inv); max-width: 30rem; }
@media (max-width: 1023px) { .who .hot__media { aspect-ratio: 4 / 3; } .who .hot__media img { object-position: 50% 35%; } }

/* Closing call (teal band, ink text) */
.cta { background: var(--teal); color: var(--ink); padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.cta__grid { display: grid; gap: 2.5rem; align-items: center; }
.cta__icon { width: clamp(6rem, 4rem + 10vw, 15rem); }
.cta__icon svg { width: 100%; height: auto; --sw: 6; color: var(--ink); }
.cta .lead { color: var(--ink); margin: 1.25rem 0 2rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta .btn--ink:hover { background: var(--paper); color: var(--ink); }
@media (min-width: 1024px) {
  .cta__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .cta__icon { grid-column: 1 / 4; justify-self: start; }
  .cta__text { grid-column: 5 / 13; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(4rem, 3rem + 4vw, 6.5rem); overflow: hidden; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-inv); }
.brand--lg .brand__icon { width: 2rem; --sw: 20; }
.brand--lg .brand__name { font-size: 1.15rem; }
.brand--lg .brand__tag { font-size: .5625rem; }
.site-footer__line { font-size: var(--fs-h3); font-weight: 300; letter-spacing: -.02em; color: var(--muted-inv); }
.site-footer__grid { display: grid; gap: 2.5rem var(--gap); padding-block: 3rem; }
.f-title { font-size: var(--fs-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem; line-height: 1.4; }
.f-col p, .f-links { color: var(--muted-inv); font-size: .9375rem; }
.f-stations { display: grid; gap: 1.75rem; }
.f-soon { margin-top: 1.75rem; color: var(--muted-inv); font-size: .9375rem; }
.f-note { margin-left: .6rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.f-stations__name { color: var(--paper) !important; font-weight: 600; margin-bottom: .2rem; }
.f-stations .link-arrow { color: var(--teal); min-height: 2.75rem; }
.f-links { display: grid; gap: .1rem; }
.f-links a { display: inline-flex; align-items: center; min-height: 2.75rem; transition: color var(--d1) linear; }
.f-links a:hover { color: var(--paper); }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem 2rem;
  padding-block: 1.5rem; border-top: 1px solid var(--line-inv); font-size: var(--fs-small); color: var(--muted-inv);
}
.site-footer__base nav { margin-left: auto; }
@media (max-width: 699px) { .site-footer__base { flex-direction: column; align-items: flex-start; gap: .5rem; } .site-footer__base nav { margin-left: 0; } }
.site-footer__base ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.site-footer__base a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer__base a:hover { color: var(--paper); }
.site-footer__word {
  font-size: clamp(4rem, 15.5vw, 16rem); font-weight: 200; letter-spacing: .04em; text-transform: uppercase; line-height: .72;
  white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgb(245 243 238 / .16);
  margin-top: 1.5rem; transform: translateY(6%); user-select: none;
}
@media (min-width: 700px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .f-col--stations { grid-column: 1 / -1; }
  .f-stations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .site-footer__grid { grid-template-columns: 2.2fr 1fr 1fr .8fr; }
  .f-col--stations { grid-column: auto; }
}

/* Opening hours + «Open now» label (app.js fills it from the hours, in Cyprus time) */
.st__hours, .feature__hours { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; font-size: var(--fs-small); color: var(--muted); }
.feature__hours { margin-top: -.75rem; }
.open { display: inline-flex; align-items: center; gap: .45rem; font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.open::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--line-strong); }
.open.is-open { color: var(--teal-ink); }
.open.is-open::before { background: var(--teal); box-shadow: 0 0 0 3px var(--teal-soft); }
.open[hidden] { display: none; }

/* Phones: call + Wolt bar, always at the bottom of the screen (from 900 px the header carries Wolt) */
.quick {
  position: fixed; z-index: 45; left: max(.75rem, env(safe-area-inset-left)); right: max(.75rem, env(safe-area-inset-right)); bottom: calc(.75rem + env(safe-area-inset-bottom));
  view-transition-name: quick-bar; transition: transform var(--d2) var(--ease-out), opacity var(--d2) linear;
  display: grid; grid-template-columns: 1fr 1fr; gap: .375rem; padding: .375rem; border-radius: 999px;
  background: rgb(14 29 28 / .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 10px 30px rgb(14 29 28 / .22);
}
.quick a {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; border-radius: 999px;
  font-size: .9375rem; font-weight: 600; white-space: nowrap; transition: background-color var(--d1) linear, color var(--d1) linear;
}
.quick__call { color: var(--paper); }
.quick__call:active { background: rgb(245 243 238 / .12); }
.quick__wolt { background: var(--teal); color: var(--ink); }
.quick__wolt:active { background: var(--paper); }
.quick__icon { width: 1.125rem; height: 1.125rem; flex: none; }
.quick :focus-visible { outline-color: var(--teal); }
/* room under the footer so the bar never covers its last line */
.site-footer { padding-bottom: calc(4.75rem + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .quick { display: none; }
  .site-footer { padding-bottom: 0; }
}
@media print { .quick { display: none !important; } }

/* ==================================================================================================
   INNER PAGES — shared page head
   ================================================================================================== */
.page-head { padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) clamp(2rem, 4vw, 3.5rem); }
.page-head .h1 { max-width: 14em; }
.page-head .lead { margin-top: 1.5rem; }
@media (min-width: 1024px) {
  .page-head--split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .page-head--split .page-head__title { grid-column: 1 / 8; }
  .page-head--split .page-head__side { grid-column: 9 / 13; margin: 0 0 .6rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .page-head .overline, .page-head .lead, .page-head .page-head__meta { animation: fade-up 1.1s var(--ease-out) both .1s; }
  .page-head .lead { animation-delay: .35s; }
  .page-head .h1 .line:nth-child(1) > span { animation-delay: .1s; }
  .page-head .h1 .line:nth-child(2) > span { animation-delay: .2s; }
}

/* ==================================================================================================
   MENU PAGE
   ================================================================================================== */
.menu-head { display: grid; gap: 1.5rem; }
.menu-head__meta { font-size: var(--fs-small); color: var(--muted); margin-top: .75rem; }
@media (min-width: 1024px) {
  .menu-head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .menu-head__title { grid-column: 1 / 8; }
  .menu-head__side { grid-column: 9 / 13; padding-bottom: .5rem; }
}

/* Tools: search + filters + category rail. Sticky under the header. Only shown with JS (search needs it). */
.menu-tools {
  position: sticky; top: var(--header-h); z-index: 20; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
  background: rgb(245 243 238 / .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-block: 1px solid var(--line);
}
.menu-tools__inner { display: grid; gap: .75rem; padding-block: .75rem; }
.search { display: none; position: relative; }
.js .search { display: block; }
.search__icon { position: absolute; left: 1rem; top: 50%; width: 1.125rem; height: 1.125rem; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input {
  width: 100%; height: 3rem; padding: 0 3rem 0 2.75rem; border-radius: 999px; border: 0;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 1rem; /* 16px: no zoom on iOS; edge ≥ 3:1 */
  transition: box-shadow var(--d1) linear;
}
.search input::placeholder { color: #6B7573; }
.search input:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.search input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--teal-ink); }
.search input::-webkit-search-cancel-button { display: none; }
.search__clear { position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 999px; color: var(--muted); }
.search__clear[hidden] { display: none; }
.search__clear svg { width: 1.125rem; height: 1.125rem; }
.filters {
  display: none; gap: .5rem; margin: 0 calc(var(--gutter) * -1) 1.75rem; padding: 4px var(--gutter);
  overflow-x: auto; scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .filters { flex-wrap: wrap; margin-inline: 0; padding-inline: 0; overflow: visible; } }
.js .filters { display: flex; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: .4rem; min-height: 2.25rem; padding: 0 .9rem; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; box-shadow: inset 0 0 0 1px rgb(14 29 28 / .48); /* edge ≥ 3:1 on paper */
  transition: background-color var(--d1) linear, color var(--d1) linear, box-shadow var(--d1) linear;
  position: relative;
}
.chip::after { content: ""; position: absolute; inset: -4px 0; } /* 44px tap target, same look */
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }

.rail { display: flex; gap: .25rem; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.rail::-webkit-scrollbar { display: none; }
.rail a {
  flex: none; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 .85rem; border-radius: 999px;
  font-size: .875rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: background-color var(--d1) linear, color var(--d1) linear;
}
.rail a:hover { color: var(--ink); }
.rail a.is-active { background: var(--teal-soft); color: var(--ink); }
.rail a.is-empty { opacity: .35; pointer-events: none; }

.menu-body { padding-block: clamp(1.5rem, 3vw, 3rem) var(--section); }
.menu-cat { scroll-margin-top: 7.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); } /* adds to html scroll-padding (header) */
html:not(.js) .menu-cat { scroll-margin-top: 4.25rem; }
.menu-cat[hidden] { display: none; }
.menu-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--ink); }
.menu-cat__title { font-size: var(--fs-h3); font-weight: 500; letter-spacing: -.02em; }
.menu-cat__count { font-size: var(--fs-small); color: var(--muted); }

.menu-cat { container-type: inline-size; }
.items { display: grid; }
.item {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 1rem; align-items: start;
  padding-block: 1rem; border-bottom: 1px solid var(--line);
}
.item[hidden] { display: none; }
/* Menu photos are cut-outs on transparency (src/cut-menu.py): every product on the same paper colour */
.item__img { width: 5.5rem; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r-img); background: var(--paper-2); display: grid; place-items: center; }
.item__img img { width: 100%; height: 100%; object-fit: contain; }
/* rows without a photo keep the photo column empty, so every name starts on the same line */
.item--text .item__body { grid-column: 2; }
.item--text .item__price { grid-column: 3; }
.item__name { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.item__desc { margin-top: .25rem; font-size: var(--fs-small); line-height: 1.5; color: var(--muted); }
.item__tags { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .45rem; }
.item__tags li { font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
.item__tags .is-popular { color: var(--ink); display: inline-flex; align-items: center; gap: .35rem; }
.item__tags .is-popular::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--teal); }
.item__price { font-weight: 600; font-size: 1.0625rem; line-height: 1.3; text-align: right; min-width: 3.75rem; }
mark { background: var(--teal-soft); color: inherit; border-radius: 2px; padding: 0 .05em; }
@container (min-width: 46rem) {
  .items { grid-template-columns: 1fr 1fr; column-gap: calc(var(--gap) * 1.5); }
  .item { grid-template-columns: 6.5rem minmax(0, 1fr) auto; }
  .item__img { width: 6.5rem; }
}

.menu-empty { padding-block: 3rem; display: grid; gap: 1rem; justify-items: start; }
.menu-empty[hidden] { display: none; }
.menu-empty p { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.02em; }

@media (min-width: 1024px) {
  .menu-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .menu-tools { grid-column: 1 / 4; position: sticky; top: calc(var(--header-h) + 1.5rem); margin: clamp(1.5rem, 3vw, 3rem) 0 0; padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; }
  .menu-tools__inner { padding: 0 0 1rem; gap: 1.25rem; max-height: calc(100svh - var(--header-h) - 3rem); overflow-y: auto; scrollbar-width: thin; }
  .rail { flex-direction: column; margin: 0; padding: 0; overflow: visible; gap: 0; border-top: 1px solid var(--line); }
  .rail a { border-radius: 0; padding: 0; min-height: 2.5rem; border-bottom: 1px solid var(--line); justify-content: space-between; color: var(--muted); }
  .rail a::after { content: attr(data-count); font-size: .75rem; font-variant-numeric: tabular-nums; color: var(--muted); }
  .rail a.is-active { background: none; color: var(--ink); font-weight: 600; box-shadow: inset 2px 0 0 var(--teal-ink); padding-left: .75rem; }
  .rail a { transition: padding var(--d2) var(--ease-out), color var(--d1) linear; }
  .menu-body { grid-column: 5 / 13; }
  .menu-cat, html:not(.js) .menu-cat { scroll-margin-top: .5rem; }
}

/* ==================================================================================================
   COFFEE PAGE
   ================================================================================================== */
.coffee-hero { margin-bottom: var(--section); }
.coffee-hero__frame { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 4 / 3; background: var(--tin); }
.coffee-hero__frame img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .coffee-hero__frame { aspect-ratio: 21 / 9; } .coffee-hero__frame img { object-position: 50% 60%; } }

.profile { padding-bottom: var(--section); }
.profile__grid { display: grid; gap: 2.5rem var(--gap); }
.profile__intro .lead { margin-top: 1.25rem; }
.terms { display: grid; gap: 0 var(--gap); }
.term { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.term dt { font-weight: 600; margin-bottom: .35rem; display: flex; justify-content: space-between; align-items: baseline; }
.term dt span { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; color: var(--teal-ink); }
.term dd { color: var(--muted); font-size: .9375rem; }
@media (min-width: 700px) { .terms { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .profile__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .profile__intro { grid-column: 1 / 5; }
  .terms { grid-column: 6 / 13; }
}

.coffees { display: grid; gap: var(--section); padding-bottom: var(--section); }
.coffee { display: grid; gap: 2rem var(--gap); align-items: center; scroll-margin-top: calc(var(--header-h) + 1rem); }
.coffee__media { position: relative; }
.coffee__frame { aspect-ratio: 4 / 5; }
.coffee__frame.arch__in { background: #E6E6E4; }
.coffee__frame img { object-position: 50% 52%; transform-origin: 50% 55%; }
.coffee__index { position: absolute; top: 1rem; left: 1rem; font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; color: var(--muted); }
.coffee__kind { margin-bottom: .75rem; }
.coffee__name { margin-bottom: 1.5rem; }
.coffee__specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .25rem 2.5rem; margin-bottom: 1.75rem; }
.coffee__specs div { display: grid; gap: .15rem; }
.coffee__specs dt { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.coffee__specs dd { font-weight: 500; }
.notes { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.notes li { padding: .45rem .9rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: .875rem; font-weight: 500; }
.scores { display: grid; gap: .9rem; margin-bottom: 2rem; max-width: 32rem; }
.score { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) 2.5rem; align-items: center; gap: 1rem; }
.score__label { font-size: .875rem; font-weight: 500; }
.score__track {
  position: relative; height: .5rem; border-radius: 999px; overflow: hidden;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), var(--paper) calc(10% - 2px) 10%), var(--tin);
}
.score__fill { position: absolute; inset: 0; background: var(--teal); transform-origin: left; transform: scaleX(var(--v)); }
.score__val { font-size: .875rem; font-weight: 600; text-align: right; }
@media (prefers-reduced-motion: no-preference) {
  .js .scores .score__fill { transform: scaleX(0); transition: transform 1.4s var(--ease-out); transition-delay: calc(var(--k) * 110ms + 200ms); }
  .js .scores.is-in .score__fill { transform: scaleX(var(--v)); }
}
.coffee__buy { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.coffee__price { font-size: var(--fs-h3); font-weight: 500; }
.coffee__where { font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 900px) {
  .coffee { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .coffee__media { grid-column: 1 / 6; }
  .coffee__body { grid-column: 7 / 13; }
  .coffee:nth-child(even) .coffee__media { grid-column: 8 / 13; order: 2; }
  .coffee:nth-child(even) .coffee__body { grid-column: 1 / 7; }
}

.band { background: var(--paper-2); padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.band__grid { display: grid; gap: 2rem; align-items: center; }
.band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (min-width: 900px) { .band__grid { grid-template-columns: 1fr auto; } }

/* Craft: four photos, staggered on desktop, two-up on phones */
.craft { padding-bottom: var(--section); }
.craft__head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.craft__head .lead { margin-top: 1rem; }
.craft__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem var(--gap); align-items: start; }
.craft__frame { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 4 / 5; background: var(--tin); }
.craft__frame img { width: 100%; height: 100%; object-fit: cover; }
.craft figcaption { margin-top: .9rem; font-size: var(--fs-label); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.craft__item--2, .craft__item--4 { margin-top: 2.5rem; }
@media (min-width: 900px) {
  .craft__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .craft__item--2 { margin-top: 5rem; }
  .craft__item--3 { margin-top: 1.5rem; }
  .craft__item--4 { margin-top: 7rem; }
}

/* Recognition: sober two-line list */
.recog { padding-bottom: var(--section); }
.recog__list { display: grid; gap: 0 var(--gap); }
.recog__list li { padding-block: 1.5rem; border-top: 1px solid var(--ink); }
.recog__title { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.02em; margin-bottom: .4rem; }
.recog__list p { color: var(--muted); }
@media (min-width: 800px) { .recog__list { grid-template-columns: 1fr 1fr; } }

.band__grid--media .band__text .lead { margin: 1rem 0 2rem; }
.band__media { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 3 / 2; background: var(--tin); }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .band__grid.band__grid--media { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); } .band__media { grid-column: 1 / 7; } .band__text { grid-column: 8 / 13; } }

/* ==================================================================================================
   VISIT PAGE
   ================================================================================================== */
/* Stations with their own photo: arch photo + text, alternating sides; a second photo when the data has one */
.places { padding-bottom: var(--section); display: grid; gap: clamp(4rem, 9vw, 8rem); }
.feature { display: grid; gap: 1.75rem var(--gap); align-items: end; scroll-margin-top: calc(var(--header-h) + 1rem); }
.feature__media .arch__in { aspect-ratio: 4 / 5; }
.feature__second { display: none; overflow: hidden; border-radius: var(--r-img); aspect-ratio: 4 / 5; background: var(--tin); }
.feature__second img { width: 100%; height: 100%; object-fit: cover; }
.feature__num { font-size: var(--fs-label); font-weight: 600; letter-spacing: .14em; color: var(--teal-ink); margin-bottom: .75rem; }
.feature__name { font-size: var(--fs-h2); font-weight: 300; letter-spacing: -.035em; line-height: 1.04; margin-bottom: 1rem; }
.feature__addr { color: var(--muted); font-size: var(--fs-lead); margin-bottom: 1.5rem; }
@media (min-width: 1024px) {
  .feature { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .feature__media { grid-column: 1 / 6; grid-row: 1; }
  .feature__text { grid-column: 7 / 12; grid-row: 1; padding-bottom: 2rem; }
  .feature--pair .feature__second { display: block; grid-column: 6 / 9; grid-row: 1; align-self: start; margin-top: 18%; margin-left: calc(var(--gap) * 1); }
  .feature--pair .feature__text { grid-column: 9 / 13; }
  .feature--flip .feature__media { grid-column: 8 / 13; }
  .feature--flip .feature__text { grid-column: 2 / 7; }
}

/* The other stations: two cards side by side, the second set lower (same rhythm as the home strip) */
.pair { display: grid; gap: clamp(3.5rem, 8vw, 5rem) var(--gap); }
.pair__item { scroll-margin-top: calc(var(--header-h) + 1rem); }
.pair__media { margin-bottom: 1.75rem; }
.pair__media .arch__in { aspect-ratio: 4 / 5; }
.pair__name { font-size: clamp(1.875rem, 1.4rem + 1.8vw, 3rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; margin-bottom: .9rem; }
@media (min-width: 700px) { .pair { grid-template-columns: 1fr 1fr; } .pair__item:nth-child(2) { margin-top: clamp(4rem, 10vw, 9rem); } }
@media (min-width: 1024px) {
  .pair { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .pair__item:nth-child(1) { grid-column: 2 / 6; }
  .pair__item:nth-child(2) { grid-column: 8 / 12; }
}

/* Map of the stations: our own base map (SVG from OpenStreetMap), pins and names on top as links */
.map { padding-bottom: clamp(4rem, 9vw, 8rem); }
.map__frame { position: relative; overflow: hidden; border-radius: var(--r-2); box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); }
.map__img { width: 100%; height: auto; }
.map__area {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); pointer-events: none;
  font-size: clamp(.5625rem, .45rem + .4vw, .75rem); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.map__area--sea { color: var(--teal-ink); font-weight: 500; letter-spacing: .3em; opacity: .8; }
.pin { position: absolute; left: var(--x); top: var(--y); z-index: 1; }
.pin a { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: .5rem; transform: translate(calc(-1 * var(--dot) / 2), -50%); --dot: 1.5rem; }
.pin--lead a { --dot: 1.875rem; }
.pin__dot {
  flex: none; width: var(--dot); height: var(--dot); border-radius: 50%; display: grid; place-items: center;
  background: var(--teal); color: var(--ink); font-size: .625rem; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 0 0 3px var(--paper), 0 4px 14px rgb(14 29 28 / .25); transition: background-color var(--d1) linear, color var(--d1) linear, transform var(--d2) var(--ease-out);
}
.pin--lead .pin__dot { font-size: .75rem; }
.pin__name {
  display: none; padding: .3rem .7rem; border-radius: 999px; background: var(--paper); box-shadow: 0 2px 10px rgb(14 29 28 / .14);
  font-size: .8125rem; font-weight: 600; white-space: nowrap;
}
.pin--left a { flex-direction: row-reverse; transform: translate(calc(-100% + var(--dot) / 2), -50%); }
.pin a:hover .pin__dot, .pin a:focus-visible .pin__dot { background: var(--ink); color: var(--teal); transform: scale(1.12); }
.pin a:hover .pin__name { color: var(--teal-ink); }
@media (prefers-reduced-motion: no-preference) {
  .pin--lead .pin__dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; box-shadow: 0 0 0 2px var(--teal); animation: pin-pulse 2.4s var(--ease-out) infinite; }
  .pin__dot { position: relative; }
}
@keyframes pin-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.map__credit { position: absolute; right: .5rem; bottom: .4rem; font-size: .6875rem; color: var(--muted); background: rgb(245 243 238 / .85); padding: .1rem .4rem; border-radius: 4px; }
.map__credit a { text-decoration: underline; text-underline-offset: 2px; }
.map__legend { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 1.5rem; margin-top: 1rem; font-size: var(--fs-small); }
.map__legend a { display: flex; gap: .6rem; align-items: center; min-height: 2.75rem; }
.map__legend .num { font-size: .6875rem; font-weight: 600; color: var(--teal-ink); letter-spacing: .08em; }
@media (min-width: 700px) {
  .pin a { --dot: 1.75rem; }
  .pin--lead a { --dot: 2.25rem; }
  .pin__name { display: block; }
  .map__legend { display: none; }
}

/* Order: free call + Wolt */
.order { padding-bottom: var(--section); }
.order__grid { display: grid; gap: 0 var(--gap); }
.order__card { padding-block: 1.75rem; border-top: 1px solid var(--ink); display: grid; gap: .5rem; align-content: start; }
.order__card p:last-child { color: var(--muted); }
.order__big { font-size: clamp(2.25rem, 1.6rem + 2.6vw, 4rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.order__big a { display: inline-flex; align-items: center; gap: .5rem; transition: color var(--d1) linear; }
.order__big a:hover { color: var(--teal-ink); }
.order__icon { width: .6em; height: .6em; }
@media (min-width: 700px) { .order__grid { grid-template-columns: 1fr 1fr; } }

/* Van band (dark) */
.van-band { background: var(--ink); color: var(--paper); padding-block: var(--section); scroll-margin-top: var(--header-h); margin-bottom: var(--section); }
.van-band .h2 { color: var(--paper); }
.van-band__grid { display: grid; gap: 2.5rem var(--gap); align-items: center; }
.van-band__media { overflow: hidden; border-radius: var(--r-img); aspect-ratio: 3 / 2; background: var(--ink-2); }
.van-band__media img { width: 100%; height: 100%; object-fit: cover; }
.van-band__book { color: var(--muted-inv); margin-bottom: 1rem; }
.van-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn--line-inv { box-shadow: inset 0 0 0 1px var(--line-inv); color: var(--paper); }
.btn--line-inv:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
.van-band :focus-visible { outline-color: var(--teal); }
@media (min-width: 1024px) {
  .van-band__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .van-band__media { grid-column: 1 / 8; }
  .van-band__text { grid-column: 9 / 13; }
}

.info { padding-bottom: var(--section); }
.info__grid { display: grid; gap: 0 var(--gap); }
.info__card { padding-block: 1.75rem; border-top: 1px solid var(--line); display: grid; gap: .5rem; align-content: start; }
.info__card .h3 { margin-bottom: .25rem; }
.info__card p { color: var(--muted); }
.info__big { font-size: var(--fs-h3); font-weight: 400; letter-spacing: -.02em; color: var(--ink) !important; }
.info__big a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size var(--d2) var(--ease-out); padding-bottom: 2px; }
.info__big a:hover { background-size: 100% 1px; }
@media (min-width: 700px) { .info__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .info__grid { grid-template-columns: repeat(4, 1fr); } .info__grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ==================================================================================================
   404
   ================================================================================================== */
.lost { min-height: calc(100svh - var(--header-h) - 4rem); display: grid; align-content: center; gap: 2rem; padding-block: var(--section); }
.lost__icon { width: clamp(4.5rem, 3rem + 6vw, 8rem); color: var(--teal-ink); }
.lost__icon svg { width: 100%; height: auto; --sw: 7; }
.lost__icon path { stroke-width: 7; }
.lost__links { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- View transitions between pages (same-origin navigations) ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out 240ms var(--ease-io) both; }
  ::view-transition-new(root) { animation: vt-in 520ms var(--ease-out) both 80ms; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Reduced motion: everything still, nothing hidden ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print: plain and complete ---------- */
@media print {
  .site-header, .sheet, .menu-tools, .site-footer__word, .skip { display: none !important; }
  body { background: #fff; }
  .hot, .site-footer, .cta { background: #fff; color: #000; }
}

/* Small additions */
.u { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.u:hover { color: var(--teal-ink); }
@media (prefers-reduced-motion: no-preference) {
  .draw-404 path { stroke-dasharray: 1.01 2; animation: draw 1.8s var(--ease-io) both .2s; }
  .draw-404 path:nth-child(2) { animation-delay: .45s; }
  .draw-404 path:nth-child(3) { animation-delay: .7s; }
  .lost .overline, .lost .lead, .lost__links { animation: fade-up 1.1s var(--ease-out) both .3s; }
  .lost .h1 .line:nth-child(2) > span { animation-delay: .1s; }
}
@media (min-width: 1024px) {
  .lost { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .lost > :not(.lost__icon) { grid-column: 1 / 9; }
  .lost__icon { grid-column: 9 / 13; grid-row: 1 / span 3; width: clamp(10rem, 16vw, 15rem); justify-self: center; align-self: center; }
  .lost__icon svg { --sw: 5; }
  .lost__icon path { stroke-width: 5; }
}
/* Menu page: people open it at the counter, so the list starts sooner on phones. */
.menu-head .lead { margin-top: 0; }
@media (max-width: 1023px) {
  .page-menu .page-head { padding-top: 1.75rem; padding-bottom: 1.5rem; }
  .menu-head { gap: 1rem; }
}

/* ---------- Shop: bag link in the header (only printed while the shop sells; styles of the shop pages in shop.css) ---------- */
.bag-link {
  position: relative; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-left: auto;
  border-radius: 999px; color: var(--ink); transition: background-color var(--d1) linear;
}
.bag-link:hover, .bag-link[aria-current="page"] { background: var(--paper-2); }
.bag-link__icon { width: 1.375rem; height: 1.375rem; }
.bag-link__n {
  position: absolute; top: .2rem; right: .1rem; min-width: 1.2rem; height: 1.2rem; padding: 0 .3rem; border-radius: 999px;
  display: grid; place-items: center; background: var(--teal); color: var(--ink); font-size: .6875rem; font-weight: 700; line-height: 1;
}
.bag-link__n[hidden] { display: none; }
.bag-link + .nav-toggle { margin-left: -1.25rem; }
@media (min-width: 900px) { .bag-link { margin-left: -1rem; order: 3; } .site-header__cta { order: 2; } }
html:not(.js) .bag-link { margin-left: 0; }

/* ---------- Review fixes 2026-11-19 (4 reviewers: UI, UX, content, SEO) ---------- */
/* Hours: one no-wrap group per day range; in the footer one group per line */
.hrs { white-space: nowrap; }
.f-hours .hrs { display: block; }
.f-hours .hrs-sep, .st__hours .hrs-sep, .feature__hours .hrs-sep { display: none; } /* flex gap separates the groups; a «·» could start a line */
/* Station names under the hero and in the phone sheet are links to their block on Visit */
.hero__stations a { display: inline-flex; gap: .6rem; align-items: center; min-height: 2.75rem; transition: color var(--d1) linear; }
.hero__stations a:hover { color: var(--teal-ink); }
.sheet__stations a { display: block; padding-block: .35rem; }
.sheet__stations a:hover { color: var(--teal); }
/* Phone call/Wolt bar steps aside while reading down (app.js), comes back on scrolling up */
.quick.is-away { transform: translateY(calc(100% + 1.5rem)); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .quick { transition: none; } }
/* Phone footer: stations as name + Directions only (addresses and hours are on Visit and home) */
@media (max-width: 699px) { .f-stations__more { display: none; } .f-stations { gap: .75rem; } }
/* Map: bigger tap areas for the pins; area names only where there is room */
.pin a::after { content: ""; position: absolute; inset: -10px; }
@media (max-width: 699px) { .map__area { display: none; } }
/* Phone in landscape: the menu tools stop sticking so the list has room */
@media (max-height: 500px) and (max-width: 1023px) { .menu-tools { position: static; } }
/* Cookie banner (consent.js): a quiet card bottom-left; above the phone bar on phones */
.consent {
  position: fixed; z-index: 70; left: max(.75rem, env(safe-area-inset-left)); right: max(.75rem, env(safe-area-inset-right));
  bottom: calc(.75rem + env(safe-area-inset-bottom)); max-width: 26rem; padding: 1.25rem 1.25rem 1rem; border-radius: var(--r-2);
  background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgb(14 29 28 / .18);
}
.consent[hidden] { display: none; }
.consent__title { font-weight: 600; margin-bottom: .35rem; }
.consent__text { font-size: var(--fs-small); color: var(--muted); margin-bottom: 1rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
/* From 900 px the card sits bottom-right inside the content column: bottom-left it covered the award line, the
   station links and, on laptop-sized windows, both hero buttons, and the category rail on the menu (audit 2026-11-20). */
@media (min-width: 900px) { .consent { left: auto; right: max(var(--gutter), env(safe-area-inset-right), calc((100vw - var(--maxw)) / 2 + var(--gutter))); bottom: 1.5rem; } }
/* Under 900 px the card stands ABOVE the call / Wolt bar (it used to lie on it, «Accept» exactly over «Call») and is
   lower: the title stays for screen readers only. On the bag and checkout pages there is no bar. */
@media (max-width: 899px) {
  .consent { bottom: calc(.75rem + 3.75rem + .5rem + env(safe-area-inset-bottom)); padding: .875rem 1rem; }
  .consent__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .consent__text { margin-bottom: .625rem; }
  .page-bag .consent, .page-checkout .consent { bottom: calc(.75rem + env(safe-area-inset-bottom)); }
}
.hrs--day { color: var(--teal-ink); font-weight: 600; }

/* ---------- Audit fixes 2026-11-20 ---------- */
/* Links to a station, a coffee or the van: html already keeps the header's height free (scroll-padding-top), the
   blocks added the same again, so they landed 80 px too low, on the photo. */
.feature, .pair__item, .coffee, .van-band { scroll-margin-top: 0; }
/* Phones: name, address, hours and Directions come before the photo, so a station link lands on what was asked for. */
@media (max-width: 699px) {
  .feature, .pair__item { display: flex; flex-direction: column; align-items: stretch; }
  .feature__text, .pair__text { order: -1; }
  .pair__media { margin: 1.75rem 0 0; }
}
/* Opening hours: the Open / Closed label on its own line; on Visit one day range per line at body size
   (the small size of .st__hours used to lose against .feature__addr, and every station broke differently). */
.st__hours .open { flex-basis: 100%; }
.feature__addr.feature__hours { display: block; font-size: var(--fs-body); margin-top: -.75rem; }
.feature__hours .open:not([hidden]) { display: flex; margin-bottom: .25rem; }
.feature__hours .hrs { display: block; }
/* Menu: the allergy line under the lead */
.menu-head__note { font-size: var(--fs-small); color: var(--muted); margin-top: .5rem; }

/* Home van as a dark band (same as Visit) */
.van-band--home { margin-bottom: var(--section); }
.van-band--home .link-arrow { margin-top: .5rem; }

/* ---------- Coffee page order (shop session, 2026-11-19): coffees first, recognition cards ---------- */
/* phones: each coffee shorter, the whole bag still in view (arch keeps its 4:5, just narrower) */
@media (max-width: 899px) {
  .page-coffee .coffees { gap: clamp(3.5rem, 2.5rem + 4vw, 5rem); }
  .page-coffee .coffee { gap: 1.5rem; }
  .page-coffee .coffee__media { width: 58%; justify-self: center; }
  .page-coffee .coffee__name { margin-bottom: 1rem; }
  .page-coffee .coffee__specs { margin-bottom: 1.25rem; }
  .page-coffee .notes { margin-bottom: 1.5rem; }
}
.scores__help { margin: -1rem 0 1.25rem; }

/* recognition: two ruled cards with the award mark */
.recog--cards .recog__list { gap: var(--gap); }
.recog--cards .recog__list li.recog__card {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-top: 0; border-radius: var(--r-2);
  background: var(--paper-2); box-shadow: inset 0 2px 0 var(--ink);
}
.recog__icon { display: block; width: 2.5rem; height: 2.5rem; color: var(--teal-ink); margin-bottom: 1.5rem; }
.recog--cards .recog__title { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.25rem); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; margin-bottom: .75rem; }
.recog--cards .recog__card p { font-size: var(--fs-lead); }

/* ---------- NXDPRO footer credit (kit v1.1, copied as is; keep it at the END of this file) ---------- */
/* NXDPRO footer credit v1.1 (2026-10-09). Canonical copy: /home/nxdpro/brand/nxdpro-credit/
   Markup: credit.en.html / credit.el.html. No site colours: the credit inherits the
   footer's text colour. Append this file at the END of the site's stylesheet, so the
   a.nxd-credit rules win over theme rules of the same weight (".footer a{display:block}").
   Optional knobs (set on .nxd-credit or any parent):
   --nxd-credit-dim (text+logo opacity, default 1), --nxd-credit-logo-dim (default .8),
   --nxd-credit-logo (logo height, default 1.2em), --nxd-credit-accent (default #00adee),
   or add class nxd-credit--mono for no blue on hover. */
a.nxd-credit {
  display: inline-flex;
  align-items: baseline;
  gap: .45em;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  vertical-align: baseline;
  opacity: var(--nxd-credit-dim, 1);
  transition: opacity .2s ease;
  -webkit-tap-highlight-color: transparent;
}
a.nxd-credit:hover,
a.nxd-credit:focus {
  color: inherit;
  text-decoration: none;
  background: none;
  border: 0;
  box-shadow: none;
}
/* No theme "external link" icons or animated underlines on the credit. */
a.nxd-credit::before,
a.nxd-credit::after {
  content: none;
}
/* The wordmark's baseline is 27.37% up from the logo's bottom edge: the logo is moved down by
   that much so NXDPRO sits on the text baseline. The negative top margin keeps the logo's
   layout box inside the text's line box, so the credit is exactly 1em tall like a text line.
   inline-block (not block): if a theme rule ever overrides the flex display, the logo still
   stays on the text line with the same baseline. */
.nxd-credit .nxd-credit__logo {
  display: inline-block;
  flex: none;
  vertical-align: baseline;
  width: calc(var(--nxd-credit-logo, 1.2em) * 3.8787);
  height: var(--nxd-credit-logo, 1.2em);
  max-width: none;
  margin: calc(.5em - var(--nxd-credit-logo, 1.2em)) 0 0;
  padding: 0;
  position: relative;
  top: calc(var(--nxd-credit-logo, 1.2em) * .2737);
  opacity: var(--nxd-credit-logo-dim, .8);
  transition: opacity .2s ease;
}
.nxd-credit .nxd-credit__logo path {
  fill: currentColor;
  transition: fill .2s ease;
}
/* Hover only where a real hover exists: on phones a tap would leave the accent stuck on. */
@media (hover: hover) {
  .nxd-credit:hover,
  .nxd-credit:hover .nxd-credit__logo {
    opacity: 1;
  }
  .nxd-credit:hover .nx-a {
    fill: var(--nxd-credit-accent, #00adee);
  }
}
.nxd-credit:focus-visible,
.nxd-credit:focus-visible .nxd-credit__logo {
  opacity: 1;
}
.nxd-credit:focus-visible .nx-a {
  fill: var(--nxd-credit-accent, #00adee);
}
.nxd-credit:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: .35em;
  border-radius: 2px;
}
.nxd-credit--mono {
  --nxd-credit-accent: currentColor;
}
/* Touch screens: 44px tall tap target; the negative margin cancels the padding, so the row does not grow. */
@media (pointer: coarse) {
  a.nxd-credit {
    padding: max(0px, calc(22px - .5em)) 0;
    margin: min(0px, calc(.5em - 22px)) 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  a.nxd-credit,
  .nxd-credit .nxd-credit__logo,
  .nxd-credit .nxd-credit__logo path {
    transition: none;
  }
}
@media (forced-colors: active) {
  .nxd-credit.nxd-credit {
    --nxd-credit-accent: currentColor;
    opacity: 1;
  }
  .nxd-credit .nxd-credit__logo {
    opacity: 1;
  }
}

