/* The Coffee Grinder: site styles
   Tokens come from copy/brand-kit.md */

/* Fonts: self-hosted (Latin subset), no third-party request */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: italic; font-weight: 400 900; font-display: swap; src: url("../fonts/schibsted-grotesk-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/young-serif-latin.woff2") format("woff2"); }

:root {
  --bg: #F6EFE4;          /* Oat */
  --surface: #FFFAF3;     /* Steamed Milk */
  --text: #2A1810;        /* Espresso */
  --muted: #6B5547;       /* Crema */
  --accent: #B5441E;      /* Rust: actions, prices, links */
  --accent-strong: #933515;
  --accent-2: #F7B32B;    /* Amber: highlights, accents on dark */
  --border: #E3D6C4;      /* Kraft */
  --night: #24150E;       /* Night Roast */
  --night-muted: #C9B8A6; /* Foam */
  --night-line: rgba(201, 184, 166, 0.22);

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 1.95rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 2.75rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5.25rem);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 18px;
  --header-h: 84px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
@media (max-width: 699px) { html { scroll-padding-top: 76px; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; max-width: 64ch; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--bg); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.35em;
  border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--surface); }
.btn-primary:hover { background: var(--accent-strong); color: var(--surface); }
.btn-outline { border-color: currentColor; color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-amber { background: var(--accent-2); color: var(--text); }
.btn-amber:hover { background: #ffc54f; color: var(--text); }
.btn-light { border-color: #F6EFE4; color: #F6EFE4; }
.btn-light:hover { background: #F6EFE4; color: #2A1810; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Status pill ---------- */
.status {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-weight: 600; font-size: var(--step--1);
  padding: 0.45em 0.95em; border-radius: 999px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border);
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9C8B7F; }
.status.is-open::before { background: #2F8A49; box-shadow: 0 0 0 4px rgba(47, 138, 73, 0.18); }
.status.is-closed::before { background: var(--accent); }

/* ---------- Header: floating pill with a centered logo badge ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 0 12px; pointer-events: none;
}
.nav-shell {
  pointer-events: auto; position: relative;
  max-width: 1100px; height: 56px; margin: 48px auto 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 6px;
  background: rgba(36, 21, 14, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.55);
  transition: margin-top 0.35s var(--ease-out);
}
.nav-links { display: none; list-style: none; margin: 0; padding: 0; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  color: #F6EFE4; text-decoration: none; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px; height: 2px; background: var(--accent-2);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-2); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-left { grid-column: 1; justify-self: end; margin-right: 18px; }
.nav-left { grid-row: 1; }
.nav-right { grid-column: 3; grid-row: 1; justify-self: start; margin-left: 18px; }

/* Logo badge: an oval sized to the logo (2x the old 64px header logo on desktop) */
.brand {
  grid-column: 2; grid-row: 1; justify-self: center; z-index: 1;
  width: min(250px, calc(100vw - 136px)); aspect-ratio: 28 / 17;
  margin: -60px 0;
  display: grid; place-items: center;
  background: #24150E; border-radius: 50%;
  box-shadow: inset 0 0 0 6px #24150E, inset 0 0 0 7px rgba(253, 181, 45, 0.45), 0 14px 30px -12px rgba(0, 0, 0, 0.6);
  transition: width 0.35s var(--ease-out), margin 0.35s var(--ease-out);
}
.brand img { width: 82%; height: auto; transform: translateY(-5.5%); }

.menu-toggle {
  grid-column: 1; grid-row: 1; justify-self: start;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: none; border: 0; color: #F6EFE4; cursor: pointer;
}
.menu-toggle:hover { color: var(--accent-2); }
.menu-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-toggle .bars { position: relative; width: 20px; height: 14px; }
.menu-toggle .bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s, top 0.3s var(--ease-out);
}
.menu-toggle .bars span:nth-child(1) { top: 0; }
.menu-toggle .bars span:nth-child(2) { top: 6px; }
.menu-toggle .bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.nav-call {
  grid-column: 3; grid-row: 1; justify-self: end;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 44px; height: 44px; border-radius: 999px;
  background: var(--accent); color: #FFFAF3; text-decoration: none; font-weight: 700; font-size: 0.92rem;
  transition: background-color 0.2s;
}
.nav-call:hover { background: var(--accent-strong); color: #FFFAF3; }
.nav-call .label { display: none; }

/* Phones: the header sits at the top of the page and scrolls away with it, so the
   content gets the whole screen. It only pins while the full-screen menu is open. */
@media (max-width: 699px) {
  .site-header { position: absolute; }
  body.menu-open .site-header { position: fixed; }
  /* Always the compact size (what used to be the scrolled state) so the badge doesn't eat the screen */
  .nav-shell { margin-top: 14px; }   /* the 80px-tall badge overhangs the 56px bar by 12px */
  .brand { width: 132px; margin: -16px 0; }
  .mobile-menu { padding-top: 114px; }
}

/* Tablets and up, scrolled: tuck the bar up and shrink the badge to the bar's height (28:17 oval) */
@media (min-width: 700px) {
  .site-header.is-scrolled .nav-shell { margin-top: 10px; }
  .site-header.is-scrolled .brand { width: 92px; margin: 0; box-shadow: inset 0 0 0 3px #24150E, inset 0 0 0 4px rgba(253, 181, 45, 0.45); }
}

@media (min-width: 860px) {
  .site-header { padding: 0 var(--gutter); }
  .nav-shell { height: 64px; margin-top: 64px; padding: 0 10px 0 16px; }
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .brand { width: 280px; margin: -60px 0; }   /* logo 230 x 128 */
  .nav-call { width: auto; padding: 0 18px; min-height: 44px; }
  .nav-call .label { display: inline; }
  .site-header.is-scrolled .nav-shell { margin-top: 12px; }
  .site-header.is-scrolled .brand { width: 105px; }
}
@media (min-width: 860px) and (max-width: 1180px) {
  .nav-links a { padding: 0 10px; }
  .nav-left { margin-right: 10px; } .nav-right { margin-left: 10px; }
  .nav-call .label { display: none; } .nav-call { width: 44px; padding: 0; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 49;
  background: var(--bg);
  padding: 190px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 28px;
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity 0.25s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-menu nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu nav a {
  display: flex; align-items: center; min-height: 64px;
  font-family: var(--serif); font-size: 2.2rem; color: var(--text); text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.mobile-menu nav a[aria-current="page"] { color: var(--accent); }
.mobile-menu .mm-meta { display: grid; gap: 14px; color: var(--muted); }
.mobile-menu .mm-meta .btn { width: 100%; }
body.menu-open { overflow: hidden; }
@media (min-width: 860px) { .mobile-menu { display: none; } }

/* ---------- Mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--night); padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px -12px rgba(42, 24, 16, 0.5);
}
.action-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px;
  color: var(--bg); text-decoration: none; font-weight: 700; font-size: 0.95rem;
}
.action-bar a:first-child { background: var(--accent); }
.action-bar a + a { border-left: 1px solid var(--night-line); }
body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
@media (min-width: 860px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* ---------- Shared photo layers (inner-page heroes, night band) ---------- */
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .night-media picture { height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Torn-paper edges on full-width photo sections ----------
   One overlay paints both edges: the top half takes --tear-top, the bottom half --tear-bottom
   (set these to the neighbouring section's colour). Each edge is switched on by its mask. */
.hero, .page-hero, .cta-hero, .night-band {
  --tear-h: clamp(26px, 3vw, 48px);
  --tear-top: var(--bg); --tear-bottom: var(--bg);
  --tear-top-mask: none; --tear-bottom-mask: url("../img/tear-bottom.svg");
}
.hero::after, .page-hero::after, .cta-hero::after, .night-band::after {
  content: ""; position: absolute; inset: -1px 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, var(--tear-top) 50%, var(--tear-bottom) 50%);
  -webkit-mask: var(--tear-top-mask) left top / auto var(--tear-h) repeat-x, var(--tear-bottom-mask) left bottom / auto var(--tear-h) repeat-x;
  mask: var(--tear-top-mask) left top / auto var(--tear-h) repeat-x, var(--tear-bottom-mask) left bottom / auto var(--tear-h) repeat-x;
}
.cta-hero { --tear-top-mask: url("../img/tear-top.svg"); }
/* Footer band: torn into the page above, and into the dark footer below */
.night-band { --tear-top-mask: url("../img/tear-top.svg"); --tear-bottom: var(--night); }
main:has(> .vibe-home:last-child) + .site-footer .night-band { --tear-top: #dfd0bc; }
main:has(> .visit-strip:last-child) + .site-footer .night-band { --tear-top: var(--surface); }

/* ---------- Hero (home): full screen, grinder kept in the center ----------
   The grinder sits ~32% from the left of the photo, so a plain "cover" crop can't center it on
   wide screens without upscaling. Instead the sharp photo is sized to the hero height and shifted
   so that 32% point lands at the middle of the screen; any space left at the edges on very wide
   screens is filled by a blurred, darkened copy of the same photo. */
.hero {
  --grinder-x: 32%;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: #F6EFE4; background: var(--night);
}
.hero-backdrop { position: absolute; inset: -40px; z-index: -3; }
.hero-backdrop picture { height: 100%; }
.hero-backdrop img { width: 100%; height: 100%; object-fit: cover; filter: blur(26px) brightness(0.5) saturate(1.1); }
.hero .hero-media {
  position: absolute; inset: 0 auto auto 50%; z-index: -2;
  width: auto; height: 80%; aspect-ratio: 1500 / 1126;
  transform: translateX(calc(-1 * var(--grinder-x)));
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%), linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, #000 72%, transparent 100%), linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
}
.hero .hero-media picture, .hero .hero-media img { width: 100%; height: 100%; }
.hero .hero-media img { object-fit: cover; }
/* Phone overlay: text sits low, over a strong bottom gradient; top fade keeps the nav readable */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(36, 21, 14, 0.55) 0%, rgba(36, 21, 14, 0) 22%),
    linear-gradient(0deg, rgba(36, 21, 14, 0.97) 0%, rgba(36, 21, 14, 0.92) 36%, rgba(36, 21, 14, 0.55) 52%, rgba(36, 21, 14, 0.15) 68%, rgba(36, 21, 14, 0.1) 100%);
}
.hero .wrap { padding-top: 168px; padding-bottom: 40px; }
.hero .hero-content { max-width: 560px; margin: 0 auto; text-align: center; text-shadow: 0 1px 14px rgba(20, 11, 6, 0.55); }
.hero .hero-kicker, .hero .hero-sub { margin-left: auto; margin-right: auto; }
.hero .btn-row, .hero .hero-meta { justify-content: center; }

/* Tablet portrait: same centered-grinder photo, full height; centered text over a bottom gradient */
@media (min-width: 700px) {
  .hero .hero-media { height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(36, 21, 14, 0.6) 0%, rgba(36, 21, 14, 0) 25%),
      linear-gradient(0deg, rgba(36, 21, 14, 0.96) 0%, rgba(36, 21, 14, 0.86) 36%, rgba(36, 21, 14, 0.3) 62%, rgba(36, 21, 14, 0.1) 100%);
  }
  .hero .wrap { padding-bottom: clamp(48px, 8vh, 96px); }
}

/* Desktop: composed image with the grinder at ~70% from the left, content in the left column */
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero-backdrop { display: none; }
  .hero .hero-media {
    inset: 0; width: 100%; height: 100%; aspect-ratio: auto; transform: none;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero .hero-media img { object-position: 70% 50%; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(36, 21, 14, 0.55) 0%, rgba(36, 21, 14, 0) 24%),
      linear-gradient(90deg, rgba(36, 21, 14, 0.86) 0%, rgba(36, 21, 14, 0.74) 34%, rgba(36, 21, 14, 0.3) 52%, rgba(36, 21, 14, 0) 62%),
      linear-gradient(0deg, rgba(36, 21, 14, 0.5) 0%, rgba(36, 21, 14, 0) 30%);
  }
  .hero .wrap { padding-top: 200px; padding-bottom: 72px; }
  .hero .hero-content { margin-left: 0; margin-right: auto; max-width: min(600px, 46vw); }
}

/* Landscape phones / short screens: keep the text clear of the header */
@media (max-height: 560px) and (orientation: landscape) {
  .hero .wrap { padding-top: 150px; }
}

.hero-kicker { color: var(--night-muted); font-size: var(--step-0); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.5rem, min(1.6rem + 4.6vw, 8.6vh), 5.25rem); line-height: 0.98; margin-bottom: 18px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; }
.hero-sub { font-size: var(--step-1); color: #EADFD2; max-width: 30ch; margin-bottom: 24px; }
.hero .btn-row { margin-bottom: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.hero-meta .status { background: rgba(255, 250, 243, 0.08); color: #F6EFE4; border-color: rgba(255, 250, 243, 0.2); }
.rating-link { display: inline-flex; align-items: center; gap: 8px; color: #F6EFE4; font-weight: 600; font-size: var(--step--1); text-decoration: none; min-height: 44px; }
.rating-link:hover { color: var(--accent-2); }
.stars { display: inline-flex; gap: 2px; color: var(--accent-2); }
.stars svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.rail-sub { color: var(--muted); margin-top: 8px; }
@media (max-width: 859px) {
  .hero .wrap { padding-bottom: calc(56px + 18px + env(safe-area-inset-bottom)); }
  .hero .btn-row { gap: 10px; }
  .hero .btn-row .btn { padding: 0.7em 1.05em; }
  .hero-sub { margin-bottom: 20px; }
}
@media (max-width: 699px) { .hero-kicker { display: none; } }
@media (max-width: 859px) and (max-height: 700px) {
  .hero-kicker { display: none; }
  .hero h1 { font-size: 2.35rem; margin-bottom: 12px; }
}

/* Page load choreography (home hero only) */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-media img { transform: scale(1.08); transition: transform 1.8s var(--ease-out); }
  .js .hero h1 .line > span { transform: translateY(105%); transition: transform 0.9s var(--ease-out); }
  .js .hero h1 .line:nth-child(2) > span { transition-delay: 0.08s; }
  .js .hero h1 .line:nth-child(3) > span { transition-delay: 0.16s; }
  .js .hero .reveal-after { opacity: 0; transform: translateY(10px); transition: opacity 0.6s ease 0.45s, transform 0.6s var(--ease-out) 0.45s; }
  .js .hero.is-in .hero-media img { transform: none; }
  .js .hero.is-in h1 .line > span { transform: none; }
  .js .hero.is-in .reveal-after { opacity: 1; transform: none; }
}
/* Phones: no zoom-in on the hero photo, it paints at its final size */
@media (max-width: 699px) {
  .js .hero-media img { transform: none; transition: none; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: var(--bg); background: var(--night);
  min-height: clamp(420px, 56vh, 560px); display: flex; align-items: flex-end;
}
.page-hero .hero-media img { object-position: center; }
.page-hero--focus-low .hero-media img { object-position: 50% 80%; } /* menu: the in-focus beans sit in the lower part of the photo */
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(36, 21, 14, 0.92) 0%, rgba(36, 21, 14, 0.55) 55%, rgba(36, 21, 14, 0.25) 100%);
}
.page-hero .wrap { padding-top: 200px; padding-bottom: clamp(28px, 5vw, 52px); }
.page-hero h1 { font-size: var(--step-4); line-height: 1; margin-bottom: 12px; }
.page-hero p { color: #EADFD2; font-size: var(--step-1); max-width: 46ch; }

/* ---------- Sections ---------- */
.section { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.section-tight { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: var(--step-1); }
.lede { font-size: var(--step-1); }

/* Prices (favorites rail) */
.price { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }

/* ---------- Why people come back ---------- */
.why-alt {
  /* matched to the cup photo's own beige (lighter top, darker bottom) so the photo blends in */
  background: linear-gradient(180deg, #E4D5C3 0%, #DFCFBC 50%, #D8C8B5 100%);
  padding: clamp(64px, 9vw, 120px) clamp(20px, 4vw, 64px);
}
.why-alt-title { text-align: center; font-size: var(--step-3); margin: 0 auto clamp(36px, 5vw, 64px); max-width: 20ch; }
.why-alt-grid { display: grid; gap: 40px; align-items: center; }
.why-alt-col { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 4vw, 52px); align-content: center; }
.why-alt-item { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; }
.why-alt-item h3 { font-size: 1.35rem; margin: 4px 0 8px; }
.why-alt-item p { color: #5A4336; font-size: 1rem; line-height: 1.6; margin: 0; max-width: 34ch; }
.sketch-icon {
  display: block; width: 72px; aspect-ratio: 106 / 94;
  background-color: var(--accent);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.icon-cup-steam { --icon: url(../img/icons/cup-steam.svg); }
.icon-beans { --icon: url(../img/icons/beans.svg); }
.icon-laptop-wifi { --icon: url(../img/icons/laptop-wifi.svg); }
.icon-croissant { --icon: url(../img/icons/croissant.svg); }
.icon-to-go-cup { --icon: url(../img/icons/to-go-cup.svg); }
.icon-beans-outline { --icon: url(../img/icons/beans-outline.svg); }
.icon-dog-bowl { --icon: url(../img/icons/dog-bowl.svg); }
.why-alt-cup { margin: 0 auto; width: min(92vw, 560px); order: -1; }
.why-alt-cup img {
  width: 100%; height: auto;
  /* feather the photo's edges into the section so there's never a visible border */
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 72% 72% at 50% 50%, #000 62%, transparent 100%);
}

@media (min-width: 700px) and (max-width: 1099px) {
  .why-alt-grid { grid-template-columns: 1fr 1fr; gap: 40px 48px; }
  .why-alt-cup { grid-column: 1 / -1; width: min(60vw, 520px); }
}
@media (min-width: 1100px) {
  .why-alt-grid { grid-template-columns: minmax(0, 1fr) minmax(0, min(34vw, 600px)) minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); }
  .why-alt-cup { order: 0; width: 100%; }
  .why-alt-left .why-alt-item { justify-items: start; }
  /* right column mirrors the left: text right-aligned, icon on the outside */
  .why-alt-right .why-alt-item { grid-template-columns: 1fr 72px; text-align: right; }
  .why-alt-right .why-alt-item > .sketch-icon { order: 2; }
  .why-alt-right .why-alt-item p { margin-left: auto; }
  .why-alt-left { justify-items: end; }
  .why-alt-right { justify-items: start; }
}

/* ---------- Favorites rail ---------- */
.rail-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.rail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.rail-toggle {
  font: inherit; font-size: var(--step--1); color: var(--text); background: none; cursor: pointer;
  border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; min-height: 44px;
}
.rail-toggle:hover { border-color: var(--text); }
/* Cards are 30% larger than the original 230px rail */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 39%);
  gap: 21px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 4px 0 18px; margin: 0; /* edge to edge: sits outside .wrap */
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
@media (max-width: 420px) { .rail { grid-auto-columns: 78vw; } }
@media (min-width: 1100px) { .rail { grid-auto-columns: 300px; } }
/* Mobile: heading on top, buttons move below the photos */
@media (max-width: 859px) {
  .fav-section { display: flex; flex-direction: column; }
  .fav-section > .wrap, .fav-section .rail-head { display: contents; }
  .fav-section .rail-head > div:first-child { order: 1; padding: 0 var(--gutter); margin-bottom: 24px; }
  .fav-section .rail { order: 2; min-width: 0; }
  .fav-section .rail-actions { order: 3; padding: 8px var(--gutter) 0; }
}
.fav { scroll-snap-align: start; margin: 0; }
.fav img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.fav figcaption { margin-top: 16px; }
.fav-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fav .name { font-family: var(--serif); font-weight: 400; font-size: 1.56rem; line-height: 1.15; margin: 0; }
.fav .price { font-size: 1.3em; }
.fav-tag { flex: none; align-self: center; background: var(--tan-tag); color: var(--text); font-size: 0.8rem; font-style: italic; font-weight: 600; padding: 2px 8px; white-space: nowrap; }
.fav .desc { font-size: 1.04rem; line-height: 1.5; color: var(--muted); margin: 8px 0 0; }

/* ---------- Reviews ---------- */
.reviews-top { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: end; justify-content: space-between; margin-bottom: 36px; }
.scores { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.score { display: grid; gap: 2px; text-decoration: none; color: var(--text); }
.score strong { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.score span { color: var(--muted); font-size: var(--step--1); }
a.score:hover strong { color: var(--accent); }
.review-grid { columns: 1; column-gap: 18px; }
@media (min-width: 700px) { .review-grid { columns: 2; } }
@media (min-width: 1040px) { .review-grid { columns: 3; } }
.review {
  break-inside: avoid; margin: 0 0 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px 24px 20px;
}
.review blockquote { margin: 10px 0 14px; font-family: var(--serif); font-size: 1.22rem; line-height: 1.35; }
.review figcaption { color: var(--muted); font-size: var(--step--1); }
.review.photo { padding: 0; overflow: hidden; background: none; border: 0; }
.review.photo img { width: 100%; border-radius: var(--radius-lg); }
.review.photo figcaption { padding: 10px 4px 0; }

/* ---------- Night band ---------- */
.night { position: relative; isolation: isolate; background: var(--night); color: #F6EFE4; overflow: hidden; }
.night .night-media { position: absolute; inset: 0; z-index: -2; opacity: 0.38; }
.night .night-media img { width: 100%; height: 100%; object-fit: cover; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(36, 21, 14, 0.96) 0%, rgba(36, 21, 14, 0.82) 55%, rgba(36, 21, 14, 0.7) 100%); }
.night h2 { margin-bottom: 18px; color: #F6EFE4; }
.night p { color: var(--night-muted); }
.night a:not(.btn) { color: var(--accent-2); }
.night-grid { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .night-grid { grid-template-columns: 1.1fr 1fr; } }

.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-family: var(--serif); font-size: var(--step-2); margin-bottom: 10px; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--border); text-align: left; font-weight: 500; }
.hours td { text-align: right; white-space: nowrap; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent); font-weight: 800; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 500; font-size: 0.85em; }
.night .hours th, .night .hours td { border-bottom-color: var(--night-line); }
.night .hours caption { color: #F6EFE4; }
.night .hours tr.is-today th, .night .hours tr.is-today td { color: var(--accent-2); }

/* ---------- Hours band ("Start your day here"): turntable photo clearly visible ---------- */
.night-band .night-media { opacity: 1; }
.night-band .night-media img { object-position: 50% 100%; filter: brightness(1.4) saturate(1.1); }
.night-band::before {
  background: linear-gradient(90deg, rgba(36, 21, 14, 0.86) 0%, rgba(36, 21, 14, 0.62) 42%, rgba(36, 21, 14, 0.55) 58%, rgba(36, 21, 14, 0.78) 100%);
}
.night-band h2, .night-band .lede, .night-band .hours { text-shadow: 0 1px 12px rgba(20, 11, 6, 0.6); }
.night-band p { color: #E3D6C4; }
@media (max-width: 899px) {
  .night-band::before { background: linear-gradient(180deg, rgba(36, 21, 14, 0.72) 0%, rgba(36, 21, 14, 0.62) 50%, rgba(36, 21, 14, 0.85) 100%); }
}

/* ---------- Reviews (regular background); swipeable carousel on phones only ---------- */
@media (max-width: 699px) {
  .reviews-section .review-grid {
    columns: auto; display: flex; gap: 14px; align-items: stretch;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px;
    scrollbar-width: none;
  }
  .reviews-section .review-grid::-webkit-scrollbar { display: none; }
  .reviews-section .review { flex: 0 0 84%; margin: 0; scroll-snap-align: center; }
  .reviews-section .review.photo { display: flex; flex-direction: column; }
  .reviews-section .review.photo picture { flex: 1; }
  .reviews-section .review.photo img { height: 100%; object-fit: cover; }
  .reviews-section .reviews-top { margin-bottom: 22px; }
  .reviews-section .scores { flex-wrap: nowrap; gap: 28px; }
  .reviews-section .score strong { font-size: 2.2rem; }
}
.swipe-hint { display: none; }
@media (max-width: 699px) { .swipe-hint { display: block; color: var(--muted); font-size: var(--step--1); margin-top: 6px; } }

/* ---------- Vibe mosaic ---------- */
/* Home vibe section: title on top, two even text columns */
.vibe-home, .art-section, .know-section { background: #dfd0bc; }
.vibe-cols { display: grid; gap: 0 clamp(28px, 5vw, 72px); align-items: start; }
.vibe-cols p { font-size: var(--step-1); line-height: 1.55; }
.vibe-cols > div > p:last-of-type { margin-bottom: 1em; }
@media (min-width: 900px) { .vibe-cols { grid-template-columns: 1fr 1fr; } }
/* Home vibe section: coffee splash over an oversized faint title */
.vibe-b { overflow: hidden; }
.vibe-splash { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; container-type: inline-size; margin-bottom: clamp(32px, 5vw, 64px); }
.vibe-splash-img { position: relative; z-index: 1; width: clamp(200px, 32cqi, 400px); height: auto; animation: splash-float 6s ease-in-out infinite; }
.vibe-splash-word {
  /* Sized to the container so the word spans exactly the width of the two text columns */
  margin-top: -9cqi; font-size: 18.7cqi; line-height: 0.85;
  text-transform: uppercase; letter-spacing: 0; white-space: nowrap; text-align: center;
  color: rgba(42, 24, 16, 0.1);
}
/* Oversized faint title behind section headings, same treatment as "The Vibe" */
.has-bg-title { overflow: hidden; container-type: inline-size; padding-top: clamp(28px, 4vw, 56px); }
.bg-title {
  /* Sized to the section width; the content below is pulled up so the heading overlaps the word's lower half */
  position: relative; z-index: 0; margin: 0 0 calc(var(--bg-fit) * -0.42); pointer-events: none; user-select: none;
  font-family: var(--serif); font-size: var(--bg-fit); line-height: 0.85;
  text-transform: uppercase; letter-spacing: 0; white-space: nowrap; text-align: center;
  color: rgba(42, 24, 16, 0.1);
}
.bg-title ~ * { position: relative; z-index: 1; }
.has-bg-title > :has(> .bg-title) { container-type: inline-size; }
/* Story, menu and stars: more room above, and the heading only clips the bottom of the word */
.has-bg-title:has(> * > .bg-title--story, > * > .bg-title--menu, > * > .bg-title--stars, > * > .bg-title--vibe, > * > .bg-title--gallery, > * > .bg-title--art) { padding-top: clamp(48px, 7vw, 96px); }
.bg-title--story, .bg-title--menu, .bg-title--stars, .bg-title--vibe, .bg-title--gallery, .bg-title--art { margin-bottom: calc(var(--bg-fit) * -0.18); }
/* Roomy variant: the word sits fully above the heading with clear space between */
.bg-roomy .bg-title { margin-bottom: clamp(20px, 3vw, 40px); }
.bg-title--story { --bg-fit: 15.4cqi; }
.bg-title--why { --bg-fit: 21.2cqi; }
.bg-title--menu { --bg-fit: 16cqi; }
@media (max-width: 859px) { .bg-title--menu { --bg-fit: 14.6cqi; } } /* wrap is display:contents here, so it sizes to the full-bleed section */
.bg-title--stars { --bg-fit: 17.3cqi; } /* "The Love" */
.bg-title--vibe { --bg-fit: 18.4cqi; } /* "The Vibe" */
.bg-title--gallery { --bg-fit: 19.4cqi; } /* "Gallery" */
.bg-title--art { --bg-fit: 19.4cqi; } /* "Art": same letter height as "Gallery" rather than full width */
@keyframes splash-float { 0%, 100% { transform: translateX(-2%) translateY(0) rotate(0deg); } 50% { transform: translateX(-2%) translateY(-10px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .vibe-splash-img { animation: none; transform: translateX(-2%); } }
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: clamp(28px, 4vw, 44px); }
.mosaic figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.mosaic picture { height: 100%; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
/* phone: wide art wall, then the mug tall on the left beside two squares, then the selfie full width */
.mosaic .m1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.mosaic .m3 { grid-column: 1 / span 3; grid-row: 2 / span 2; }
.mosaic .m6 { grid-column: 4 / span 3; grid-row: 2; aspect-ratio: 1 / 1; }
.mosaic .m7 { grid-column: 4 / span 3; grid-row: 3; aspect-ratio: 1 / 1; }
.mosaic .m5 { grid-column: 1 / -1; grid-row: 4; aspect-ratio: 4 / 3; }
@media (min-width: 820px) {
  /* desktop: art wall and the mug across two rows, then three people photos side by side */
  .mosaic { grid-template-rows: 260px 260px 260px; }
  .mosaic figure { aspect-ratio: auto !important; }
  .mosaic .m1 { grid-column: 1 / span 4; grid-row: 1 / span 2; }
  .mosaic .m3 { grid-column: 5 / span 2; grid-row: 1 / span 2; }
  .mosaic .m5 { grid-column: 1 / span 2; grid-row: 3; }
  .mosaic .m6 { grid-column: 3 / span 2; grid-row: 3; }
  .mosaic .m7 { grid-column: 5 / span 2; grid-row: 3; }
}

/* ---------- Visit strip ---------- */
/* ---------- CTA hero: tall, parallax photo ---------- */
.cta-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: clamp(560px, 88vh, 860px); padding: clamp(96px, 12vw, 160px) 0; }
.cta-hero-media { position: absolute; left: 0; right: 0; top: -15%; height: 130%; z-index: -2; will-change: transform; }
.cta-hero-media picture, .cta-hero-media img { width: 100%; height: 100%; }
.cta-hero-media img { object-fit: cover; }
.cta-hero-grid { display: grid; gap: 36px; align-items: end; }
@media (min-width: 900px) { .cta-hero-grid { grid-template-columns: 1.4fr 1fr; } }
.cta-hero h2 { font-size: var(--step-4); margin-bottom: 20px; }
.cta-hero .lede { font-size: var(--step-1); max-width: 34ch; margin-bottom: 32px; }

/* Vibe page: Slava's quotes over the antique grinder photo */
.slava-quotes {
  --tear-top: var(--bg); --tear-bottom: #dfd0bc; --tear-top-mask: url("../img/tear-top.svg");
  background: var(--night); color: #F6EFE4; min-height: clamp(560px, 80vh, 820px);
}
/* The cup sits on the left of the photo, so the copy takes the right half over a darker wash */
.slava-quotes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 14, 10, 0.15) 0%, rgba(20, 14, 10, 0.35) 40%, rgba(20, 14, 10, 0.82) 62%, rgba(20, 14, 10, 0.9) 100%); }
.slava-quotes .cta-hero-media img { object-position: 0% 50%; }
.slava-quotes-grid { display: grid; gap: 32px; }
/* Desktop: the photo is sized by the section height, which makes the cup huge, so slide it left until
   the cup's right edge (57% across the photo) lands just left of the copy. The bare right side
   blends into the section's own dark background under the wash. */
@media (min-width: 900px) {
  .slava-quotes { background: #1f1c1a; }
  .slava-quotes .cta-hero-media img { width: auto; max-width: none; aspect-ratio: 2000 / 1333; transform: translateX(min(0px, 46vw - 57%)); }
}
@media (min-width: 900px) { .slava-quotes-grid { width: min(560px, 48%); margin-left: auto; margin-right: max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter)); padding: 0; } }
/* Phones: the cup shows at the top, the copy sits on a dark fade below it */
@media (max-width: 899px) {
  .slava-quotes { background: #1f1c1a; align-items: flex-start; min-height: 0; padding-top: 66vw; }
  .slava-quotes .cta-hero-media { top: 0; height: 80vw; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .slava-quotes .cta-hero-media img { object-position: 0% 50%; }
  .slava-quotes::before { background: linear-gradient(180deg, rgba(20, 14, 10, 0) 0%, rgba(20, 14, 10, 0.1) 40%, rgba(31, 28, 26, 0.85) 75%, #1f1c1a 100%); }
}
.slava-quotes h2 { font-size: var(--step-3); color: #F6EFE4; }
.slava-quotes .lede { color: #E3D6C4; margin-bottom: 0; }
.slava-quotes .big-quote figcaption { color: var(--night-muted); }
.slava-quotes .big-quote { padding-left: 20px; border-left: 3px solid var(--accent-2); }
.slava-quotes, .slava-quotes h2, .slava-quotes blockquote { text-shadow: 0 1px 14px rgba(20, 11, 6, 0.6); }

/* Home CTA: coffee beans on paper, light; beans sit on the right */
.cta-beans {
  background: #EAE5DF; color: var(--text);
  /* Soft shadows beside both tears so they read against the light paper fade */
  --tear-shadow: url("../img/tear-top-shadow.svg") left top / auto var(--tear-h) repeat-x, url("../img/tear-bottom-shadow.svg") left bottom / auto var(--tear-h) repeat-x;
}
/* Paper-colored fade keeps the copy clear of the beans at any crop */
.cta-beans::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tear-shadow), linear-gradient(90deg, rgba(235, 230, 224, 0.97) 0%, rgba(235, 230, 224, 0.92) 42%, rgba(235, 230, 224, 0) 68%); }
.cta-beans .cta-hero-media img { object-position: 100% 50%; }
.cta-beans .cta-hero-grid { grid-template-columns: 1fr; }
@media (max-width: 899px) {
  .cta-beans { align-items: flex-start; }
  .cta-beans::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tear-shadow), linear-gradient(180deg, rgba(238, 232, 223, 0.97) 0%, rgba(238, 232, 223, 0.9) 55%, rgba(238, 232, 223, 0.3) 100%); }
}

.visit-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.visit-strip-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .visit-strip-grid { grid-template-columns: 1.3fr 1fr auto; } }
.visit-strip address { font-style: normal; font-size: var(--step-1); line-height: 1.45; }
.visit-strip address strong { font-family: var(--serif); font-weight: 400; font-size: var(--step-2); display: block; margin-bottom: 6px; }

/* ---------- Menu items: uppercase names, thin rule leaders, bold prices, tan descriptions ---------- */
:root { --tan: #875D3A; --tan-line: #D8C6AE; --tan-rule: #C49A6C; --tan-tag: #D9BE9C; }
.mv2-eyebrow { font-style: italic; color: var(--tan); font-size: 1.02rem; margin: 0 0 6px; }

.mv2-rule { display: block; width: 96px; height: 2px; background: var(--tan-rule); margin: 16px 0 28px; }
.mv2-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.mv2-item { display: grid; grid-template-columns: auto minmax(24px, 1fr) auto; align-items: baseline; align-content: start; column-gap: 10px; row-gap: 3px; }
.mv2-name {
  font-family: var(--sans); font-weight: 800; font-size: 1.12rem; line-height: 1.2;
  text-transform: uppercase; letter-spacing: 0.035em; margin: 0; max-width: 24ch;
}
.mv2-line { height: 1px; background: var(--tan-line); transform: translateY(-0.3em); }
.mv2-price { justify-self: end; font-family: var(--sans); font-weight: 800; font-size: 1.22rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mv2-desc { grid-column: 1 / 3; grid-row: 2; color: var(--tan); font-size: 0.95rem; line-height: 1.45; margin: 0; max-width: 46ch; }
.mv2-sub {
  grid-column: 3; grid-row: 2; justify-self: end; align-self: start;
  background: var(--tan-tag); color: var(--text); font-size: 0.8rem; font-style: italic; font-weight: 600;
  padding: 2px 8px; white-space: nowrap; margin-top: 2px;
}

/* sketch icon in front of the item name (same icons as the home page "Why us") */
.mv2-item:has(> .sketch-icon) { grid-template-columns: 44px auto minmax(24px, 1fr) auto; }
.mv2-item > .sketch-icon { width: 44px; grid-row: 1 / span 2; align-self: start; margin-top: -2px; }
.mv2-item:has(> .sketch-icon) .mv2-desc { grid-column: 2 / 4; }
.mv2-item:has(> .sketch-icon) .mv2-sub { grid-column: 4; }

/* one column of items + an equally wide photo column; the photos always fill exactly the height of the list */
.mv2-body { display: grid; gap: clamp(28px, 4vw, 44px); }
.mv2-media { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mv2-media figure { margin: 0; }
.mv2-media picture { display: contents; }
.mv2-media img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.mv2-media--1 { grid-template-columns: minmax(0, 1fr); }
.mv2-media--1 img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .mv2-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; gap: clamp(36px, 5vw, 64px); }
  .mv2-body--flip .mv2-media { order: -1; }
  .mv2-body .mv2-list { grid-template-columns: minmax(0, 1fr); }
  /* size containment: the photos never add height, they only fill what the list sets */
  .mv2-media { contain: size; grid-template-columns: minmax(0, 1fr); grid-auto-rows: minmax(0, 1fr); }
  .mv2-media img, .mv2-media--1 img { aspect-ratio: auto; }
  .mv2-desc { max-width: none; }
}
/* "The Menu" oversized faint word above the first section */
.menu-bg-head + .mv2-section { padding-top: 0; }

/* ---------- Home intro: photo collage left, story text right ---------- */
.story-grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.story-copy h2 { font-size: var(--step-3); margin-bottom: 18px; max-width: 18ch; }
.story-copy .lede { margin-bottom: 14px; }
.story-copy .btn-row { margin-top: 24px; }

.story-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.story-collage .col { display: grid; gap: 14px; }
.story-collage .col.offset { margin-top: 36px; }
.story-collage figure { margin: 0; }
.story-collage img { width: 100%; object-fit: cover; border-radius: 14px; }
.story-collage .tall img { aspect-ratio: 4 / 5; }
.story-collage .square img { aspect-ratio: 1 / 1; }

/* Menu page sections */
.mv2-section { padding-top: clamp(48px, 6vw, 80px); }
.mv2-section h2 { font-size: var(--step-3); }

/* ---------- Menu page ---------- */
.menu-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 239, 228, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.menu-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 8px var(--gutter); overflow-x: auto; scrollbar-width: none; max-width: var(--max); margin-inline: auto; }
.menu-nav ul::-webkit-scrollbar { display: none; }
/* Sticks just under the header bar (phones have no fixed header, so top: 0 above): 10 + 56px on tablets, 12 + 64px on desktop */
@media (min-width: 700px) and (max-width: 859px) { .menu-nav { top: 72px; } }
@media (min-width: 860px) { .menu-nav { top: 82px; } }
.menu-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  white-space: nowrap; color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: background-color 0.2s, color 0.2s;
}
.menu-nav a:hover { background: var(--surface); }
.menu-nav a.is-active { background: var(--text); color: var(--bg); }

/* ---------- Visit page ---------- */
.visit-grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 1fr 1.15fr; } }
.contact-block address { font-style: normal; font-size: var(--step-1); line-height: 1.5; margin-bottom: 8px; }
.contact-block .phone { font-family: var(--serif); font-size: var(--step-3); text-decoration: none; color: var(--text); display: inline-block; margin: 8px 0 4px; }
.contact-block .phone:hover { color: var(--accent); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); min-height: 360px; height: 100%; }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }
.facts { display: grid; gap: 0 40px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
.facts li { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--border); }
.know-section .facts li { border-top-color: rgba(42, 24, 16, 0.14); }
.facts .icon { color: var(--accent); width: 26px; height: 26px; margin-top: 2px; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.facts span { color: var(--muted); font-size: 0.97rem; }
.online { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Vibe page: story and quotes ---------- */
.story-body p { font-size: 1.12rem; line-height: 1.7; }
.story-body p.lead { font-family: var(--serif); font-size: var(--step-2); line-height: 1.3; max-width: 30ch; }
.quote-stack { display: grid; gap: 22px; }
.big-quote { margin: 0; }
.big-quote blockquote { margin: 0 0 8px; font-family: var(--serif); font-size: var(--step-2); line-height: 1.25; }
.big-quote figcaption { color: var(--muted); font-size: var(--step--1); }
.night .big-quote figcaption, .night figcaption { color: var(--night-muted); }
/* Vibe page gallery: CSS-column masonry, photos keep their natural shape */
.masonry { columns: 2; column-gap: 12px; margin-top: clamp(24px, 3vw, 36px); }
@media (min-width: 900px) { .masonry { columns: 3; column-gap: 16px; } }
.masonry figure { margin: 0 0 12px; break-inside: avoid; overflow: hidden; border-radius: var(--radius); }
@media (min-width: 900px) { .masonry figure { margin-bottom: 16px; } }
.masonry img { display: block; width: 100%; height: auto; }
/* main.js deals the photos into columns left to right, so the gallery reads in row order (CSS columns read top to bottom) */
.masonry.is-split { columns: auto; display: flex; align-items: flex-start; gap: 12px; }
.masonry-col { flex: 1 1 0; min-width: 0; }
@media (min-width: 900px) { .masonry.is-split { gap: 16px; } }
/* ---------- Vibe page: art wall ----------
   To add a photo, add a <figure>. Optional size classes: .lg (big), .wide, .tall.
   grid-auto-flow: dense backfills the gaps. Keep the slots a multiple of 12
   (lg = 4, wide/tall = 2, plain = 1), and order them so the shapes tile at 4 and 6 columns:
   currently lg, lg, wide, wide | lg, wide, wide, wide, wide. */
.art-head { display: grid; gap: 8px 48px; margin-bottom: clamp(28px, 4vw, 48px); }
.art-head h2 { margin: 0; }
.art-head p { margin: 0; max-width: 52ch; font-size: var(--step-1); color: var(--muted); }
@media (min-width: 900px) { .art-head { grid-template-columns: auto 1fr; align-items: end; } }
.art-wall {
  display: grid; gap: clamp(10px, 1.4vw, 16px);
  grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 210px);
  grid-auto-flow: dense;
}
@media (min-width: 1100px) { .art-wall { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.art-wall figure { margin: 0; min-width: 0; }
.art-wall .wide { grid-column: span 2; }
.art-wall .tall { grid-row: span 2; }
.art-wall .lg { grid-column: span 2; grid-row: span 2; }
.art-wall figure { overflow: hidden; border-radius: var(--radius); }
.art-wall picture, .art-wall img { display: block; width: 100%; height: 100%; }
.art-wall img { object-fit: cover; }

/* ---------- Phone: photo grids become swipeable carousels ----------
   Used by the art wall and the gallery; one photo at a time with the next one peeking in. */
@media (max-width: 699px) {
  .art-wall, .masonry {
    display: grid; grid-auto-flow: column; grid-auto-columns: 80%; grid-auto-rows: auto; grid-template-columns: none;
    columns: auto; gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
  }
  .art-wall::-webkit-scrollbar, .masonry::-webkit-scrollbar { display: none; }
  .art-wall figure, .art-wall .lg, .art-wall .wide, .art-wall .tall, .masonry figure { grid-column: auto; grid-row: auto; margin: 0; scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; }
  .art-wall picture, .art-wall img, .masonry img { aspect-ratio: 4 / 5; height: auto; width: 100%; object-fit: cover; }
}

/* ---------- Vibe page: Socials & press (video reels + press ticker) ---------- */
.seen-section { padding-bottom: 0; }
.seen-section::before { background: var(--night); }
.seen-section .section-head { margin-bottom: 0; }
.seen-section .section-head p { color: var(--night-muted); }
.rail-arrow {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: none; color: #F6EFE4; border: 1px solid var(--night-line); cursor: pointer;
}
.rail-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rail-arrow:hover { border-color: var(--accent-2); color: var(--accent-2); }
.rail-arrow:disabled { opacity: 0.3; cursor: default; border-color: var(--night-line); color: #F6EFE4; }
.reels {
  list-style: none; margin: 0; display: grid; grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 62vw, 280px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scroll-padding-inline: max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter));
  padding: 4px max(var(--gutter), (100% - var(--max)) / 2 + var(--gutter)) 8px;
  scrollbar-width: none;
}
.reels::-webkit-scrollbar { display: none; }
.reel { scroll-snap-align: start; }
.night .reel a {
  position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius-lg);
  color: #F6EFE4; text-decoration: none; background: #3a271c;
}
.reel picture, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel img { object-fit: cover; transition: transform 0.6s var(--ease-out); }
.reel a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 11, 6, 0.55) 0%, rgba(20, 11, 6, 0) 28%, rgba(20, 11, 6, 0) 45%, rgba(20, 11, 6, 0.92) 100%); }
.reel a:hover img { transform: scale(1.05); }
.reel-plat, .reel-play, .reel-text { position: absolute; z-index: 1; }
/* TikTok hover preview: muted player laid over the poster, scaled up a touch to hide its edges */
.reel-preview { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s; }
.reel-preview.is-ready { opacity: 1; }
.reel a:has(.reel-preview.is-ready) .reel-play { opacity: 0; }
/* Self-hosted clips (Google review videos) already show the review in the frame, so no caption or bottom fade */
.reel--video a::after { background: linear-gradient(180deg, rgba(20, 11, 6, 0.45) 0%, rgba(20, 11, 6, 0) 22%); }
.reel--video img, .reel--video .reel-preview { object-fit: cover; }
.reel-plat {
  top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; padding: 5px 10px 5px 8px; border-radius: 999px;
  background: rgba(20, 11, 6, 0.55); backdrop-filter: blur(6px);
}
.reel-plat svg { width: 15px; height: 15px; fill: currentColor; }
.reel-play {
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
  top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent-2); color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.reel-play svg { width: 26px; height: 26px; fill: currentColor; margin-left: 3px; }
.reel a:hover .reel-play, .reel a:focus-visible .reel-play { transform: scale(1.1); }
.reel-text { left: 18px; right: 18px; bottom: 18px; display: grid; gap: 8px; }
.reel-quote { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.reel-handle { font-size: var(--step--1); color: var(--accent-2); font-weight: 600; }
/* Press names scroll past like a marquee; static and wrapped for reduced motion */
.ticker { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--night-line); overflow: hidden; }
.ticker-track { list-style: none; margin: 0; padding: 0; display: flex; width: max-content; }
.ticker li { flex: none; display: flex; align-items: center; }
.ticker li::after { content: "✦"; color: var(--accent-2); font-size: 0.9rem; margin: 0 clamp(20px, 3vw, 40px); }
.ticker-label { margin: clamp(18px, 2.5vw, 26px) 0 0; padding: 0 var(--gutter); text-align: center; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--night-muted); }
.ticker a {
  display: flex; align-items: center; gap: 0.3em; padding: clamp(14px, 2.4vw, 26px) 0 clamp(20px, 3vw, 32px); font-family: var(--serif);
  font-size: var(--step-3); line-height: 1; color: #F6EFE4 !important; text-decoration: none; white-space: nowrap;
}
.ticker-arrow { flex: none; width: 0.6em; height: 0.6em; fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ticker a:hover { color: var(--accent-2) !important; }
@media (prefers-reduced-motion: no-preference) {
  .ticker.is-live .ticker-track { animation: ticker 38s linear infinite; }
  /* pause for a mouse hover or keyboard focus only: a tap on a phone leaves the link focused, which used to freeze the ticker after coming back from the article */
  @media (hover: hover) { .ticker.is-live:hover .ticker-track { animation-play-state: paused; } }
  .ticker.is-live:has(a:focus-visible) .ticker-track { animation-play-state: paused; }
}
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { flex-wrap: wrap; width: auto; justify-content: center; padding: 0 var(--gutter); } }

/* ---------- Lightbox (video embeds) ---------- */
.lightbox {
  width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0; background: transparent; color: #F6EFE4;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(20, 11, 6, 0.9); backdrop-filter: blur(4px); }
.lightbox-body { display: grid; place-items: center; }
.lightbox-body img { max-width: 100%; max-height: 82vh; width: auto; height: auto; border: 8px solid #FBF6EC; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.lightbox-body video { max-width: 100%; max-height: 84vh; width: auto; border-radius: var(--radius-lg); background: #000; }
.lightbox-body iframe { width: min(92vw, 400px); height: min(84vh, 740px); border: 0; border-radius: var(--radius-lg); background: #fff; }
.lightbox-caption { margin: 14px auto 0; max-width: 60ch; text-align: center; color: var(--night-muted); font-size: var(--step--1); }
.lightbox-caption a { color: var(--accent-2); }
.lightbox-close {
  position: fixed; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(246, 239, 228, 0.3); background: rgba(20, 11, 6, 0.6); color: #F6EFE4;
  font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { color: var(--accent-2); border-color: var(--accent-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-muted); }
.site-footer a { color: var(--bg); text-decoration: none; }
.site-footer a:hover { color: var(--accent-2); }
.site-footer .btn-amber, .site-footer .btn-amber:hover { color: var(--text); }
.site-footer .btn-light:hover { color: #2A1810; }
/* Row 1: the "Start your day here" band */
.footer-hero { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(80px, 10vw, 140px); }
.footer-hero .hours td, .footer-hero .hours th { color: inherit; }
/* Row 2 */
.footer-grid { display: grid; gap: 40px 32px; padding-top: clamp(56px, 7vw, 88px); padding-bottom: 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; } }
.footer-brand p { max-width: 34ch; }
.footer-h { font-family: var(--serif); color: var(--bg); font-size: 1.15rem; margin: 0 0 12px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.footer-list a, .footer-list span { display: inline-flex; align-items: center; min-height: 36px; }
.footer-social { list-style: none; margin: 20px 0 0; padding: 0; display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--night-line); }
.footer-social a:hover { border-color: var(--accent-2); }
.footer-social svg { width: 20px; height: 20px; fill: currentColor; }
.footer-address { font-style: normal; display: grid; gap: 10px; line-height: 1.45; }
.footer-address strong { color: var(--bg); font-weight: 500; }
.footer-amenities { font-size: var(--step--1); margin-top: 16px; max-width: 32ch; }

/* Row 3 */
.footer-base nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-base { background: linear-gradient(var(--night-line), var(--night-line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat; padding-top: 20px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: var(--step--1); }

/* ---------- 404 ---------- */
.notfound { min-height: 80vh; display: flex; align-items: center; padding-top: 200px; }
.notfound h1 { font-size: var(--step-4); margin-bottom: 16px; }

/* ---------- Privacy policy ---------- */
.legal { padding-top: 200px; }
.legal .wrap { max-width: calc(68ch + 2 * var(--gutter)); }
.legal h1 { font-size: var(--step-4); margin-bottom: 12px; }
.legal .updated { color: var(--muted); margin-bottom: 40px; }
.legal h2 { font-size: var(--step-2); margin: 48px 0 14px; }
.legal ul { margin: 0 0 1em; padding-left: 1.25em; max-width: 64ch; }
.legal li { margin-bottom: 0.5em; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
