﻿@font-face{font-family:"Geologica";src:url(../fonts/geologica-cyrillic-ext.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Geologica";src:url(../fonts/geologica-cyrillic.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Geologica";src:url(../fonts/geologica-latin-ext.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Geologica";src:url(../fonts/geologica-latin.woff2) format("woff2");font-weight:100 900;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:"Onest";src:url(../fonts/onest-cyrillic-ext.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:"Onest";src:url(../fonts/onest-cyrillic.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Onest";src:url(../fonts/onest-latin-ext.woff2) format("woff2");font-weight:100 900;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Onest";src:url(../fonts/onest-latin.woff2) format("woff2");font-weight:100 900;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}

:root {
  --base: #F4F1EC;
  --ink: #1E1A16;
  --blue: #0077C8;
  --cold: #D8ECFA;
  --tonic-bg: #CDE6F5;
  --hot: #F6E2CC;
  --green: #DDEBCF;
  --pad: clamp(24px, 5vw, 80px);
  --heading: "Geologica", sans-serif;
  --body: "Onest", sans-serif;
  --feather-mask:
    linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font: 16px/1.5 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 800; letter-spacing: -0.055em; line-height: 0.98; }
h2 { font-size: min(7vw, 12svh); }
h3 { font-size: clamp(32px, 4vw, 64px); }
img { display: block; max-width: 100%; }
canvas { display: block; pointer-events: none; }

.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; letter-spacing: -0.03em; }
.muted { opacity: 0.62; }
.section { position: relative; scroll-margin-top: 0; }
.section-inner { padding: 100px var(--pad); }
.section-label { margin-bottom: 25px; font-size: 14px; }
.section-foot { position: absolute; bottom: 42px; left: var(--pad); font-size: 14px; }
.skip { position: fixed; top: -100px; left: 30px; padding: 12px; background: #fff; z-index: 1000; }
.skip:focus { top: 15px; }

/* Header */
/* Slim editorial header (refs: Cumulus, Dialed): no plate, thin line of text over the product. */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  z-index: 50;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: transparent;
  transition: none;
}
.header.is-scrolled {
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}
.brand { width: 78px; flex-shrink: 0; }
.brand img { width: 78px; height: 30px; object-fit: contain; object-position: left center; }
.header nav { display: flex; gap: 32px; font-size: 13px; letter-spacing: 0.01em; }
.header nav a { padding: 8px 0; opacity: 0.84; transition: opacity 0.25s; }
.header nav a:hover { opacity: 1; }
.languages { display: flex; gap: 14px; align-items: center; justify-self: end; }
.languages button { font-size: 12px; padding: 6px 0; opacity: 0.68; transition: opacity 0.25s; }
.languages button:hover, .languages button[aria-pressed="true"] { opacity: 1; }

/* Section 1: Hero */
.hero {
  height: 100svh;
  min-height: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--tonic-bg);
}
.hero-kicker, .hero-city { position: absolute; top: clamp(64px, 10svh, 84px); left: var(--pad); font-size: 13px; z-index: 3; }
.hero-city { left: auto; right: var(--pad); }
.hero-word {
  position: absolute;
  z-index: 0;
  top: clamp(96px, 22svh, 190px);
  left: 46%;
  right: var(--pad);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font: 800 clamp(56px, min(10vw, 18svh), 156px)/0.96 var(--heading);
  letter-spacing: -0.055em;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.hero-word-text {
  display: inline-block;
  line-height: 0.96;
  white-space: nowrap;
}
.hero-info {
  position: absolute;
  z-index: 4;
  left: var(--pad);
  top: 30%;
  width: 40%;
  pointer-events: none;
}
.category-pill {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  border-radius: 30px;
  padding: 8px 18px;
  margin-bottom: clamp(12px, 2.4svh, 24px);
}
.hero-info h1 { font-size: clamp(40px, min(6.2vw, 11.5svh), 100px); max-width: 600px; }
.hero-volume { margin-top: 24px; font-size: 16px; min-height: 22px; }
.hero-price { color: var(--blue); font: 700 clamp(24px, min(3vw, 5.4svh), 46px)/1.3 var(--heading); letter-spacing: -0.04em; margin-top: 6px; }
.hero-special { font-size: 13px; min-height: 20px; margin-top: 6px; opacity: 0.65; }

.product-stage {
  position: absolute;
  /* Product first: the glass fills ~75% of the viewport height (photo is 2:3, glass spans ~15–80% of it). */
  left: 42%;
  top: 3%;
  width: 52%;
  height: 100%;
  touch-action: pan-y;
}
.product-motion, .product-turn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-motion { perspective: 1100px; }
.product-turn { transform-style: preserve-3d;  }
.product-stage.is-dom-video .product-motion { mix-blend-mode: multiply; }

.product-image {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
  -webkit-mask-image: var(--feather-mask);
  -webkit-mask-composite: source-in;
  mask-image: var(--feather-mask);
  mask-composite: intersect;
}
.mix-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0;
  pointer-events: none;
  -webkit-mask-image: var(--feather-mask);
  -webkit-mask-composite: source-in;
  mask-image: var(--feather-mask);
  mask-composite: intersect;
}
.depth-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.depth-ready .product-image { opacity: 0; }
.depth-ready .depth-canvas { opacity: 1; }

.product-glint { display: none; }
.bubbles { position: absolute; inset: -6% -8%; width: 116%; height: 112%; z-index: 2; transition: opacity 0.5s; }
.steam {
  position: absolute;
  left: 10%;
  top: -6%;
  width: 80%;
  height: 54%;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s;
}
.product-stage.has-steam .steam { opacity: 1; }

.hero-bottom {
  position: absolute;
  z-index: 4;
  bottom: 34px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.hero-menu { font-size: 14px; display: flex; gap: 18px; align-items: center; }

/* Section 1.5: Taste in Motion (4 synchronized turn-* video windows) */
.motion { background: var(--base); overflow: hidden; }
.motion-pin {
  height: 100svh;
  min-height: 0;
  padding: 122px var(--pad) 34px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.motion-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-shrink: 0;
}
.motion-heading h2 { font-size: clamp(40px, 4.8vw, 72px); }
.motion-angle { font-size: 14px; opacity: 0.55; white-space: nowrap; }
.motion-grid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.motion-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--card-color);
  overflow: hidden;
}
.motion-frame {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: var(--card-color);
}
.motion-poster,
.motion-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: auto;
  max-width: none;
  pointer-events: none;
  -webkit-mask-image: var(--feather-mask);
  -webkit-mask-composite: source-in;
  mask-image: var(--feather-mask);
  mask-composite: intersect;
}
.motion-video {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.motion-card[data-id="espresso-tonic"] .motion-poster,
.motion-card[data-id="espresso-tonic"] .motion-video {
  transform: translate(-50%, -53%) scale(1.035);
}
.motion-card.is-video-ready .motion-video { opacity: 1; }
.motion-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 16px;
  font-size: 13px;
  flex-shrink: 0;
}
/* Same card language as «Меню целиком» (owner prefers it): bold name, big blue price, volume on the right. */
.motion-name { font: 700 clamp(18px, min(1.7vw, 3.6svh), 28px)/1.1 var(--heading); letter-spacing: -.04em; }
.motion-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.motion-price { color: var(--blue); font: 700 clamp(18px, min(1.7vw, 3.6svh), 28px)/1.2 var(--heading); letter-spacing: -.04em; white-space: nowrap; }
.motion-ml { font-size: 12px; opacity: .7; white-space: nowrap; }

/* Custom Cursor (composite-only transforms) */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  border-radius: 50%;
  
}
.cursor-dot { height: 5px; width: 5px; background: var(--blue); }
.cursor-ring {
  height: 34px;
  width: 34px;
  border: 1px solid rgba(0, 119, 200, 0.42);
  display: grid;
  place-items: center;
  transition: none;
}
.cursor-ring span { opacity: 0; font-size: 12px; transition: opacity 0.2s; }
.cursor-ring.rotate { width: 74px; height: 74px; background: rgba(255, 255, 255, 0.62); border-color: var(--blue); }
.cursor-ring.rotate span { opacity: 1; }
.cursor-ring.next { width: 74px; height: 74px; background: rgba(255, 255, 255, 0.5); }
.cursor-ring.next span { opacity: 1; }
.cursor-ring.link { width: 48px; height: 48px; background: rgba(0, 119, 200, 0.08); }

/* All scenes share one viewport budget, including fixed navigation. */
:root {
  --section-top: clamp(68px, 10svh, 104px);
  --section-bottom: clamp(16px, 3svh, 32px);
  --scene-gap: clamp(12px, 2.5svh, 26px);
}
h2 { font-size: min(7vw, 12svh); }
.section-inner { padding: var(--section-top) var(--pad) var(--section-bottom); }
.section-label { margin-bottom: clamp(10px, 2svh, 22px); }
.section-foot { bottom: var(--section-bottom); }
.hero, .motion-pin { min-height: 0; max-height: none; height: 100svh; }
.hero-info h1 { font-size: min(6.2vw, 11.5svh); }
.hero-info { top: 27%; }
.hero-volume { margin-top: clamp(12px, 2.5svh, 24px); }
.product-stage { top: 0; height: 93%; z-index: 2; }
.product-glint { display: none; }
.motion-pin { padding: var(--section-top) var(--pad) var(--section-bottom); gap: var(--scene-gap); }
.motion-heading h2 { font-size: min(4.8vw, 10svh); }
.motion-poster, .motion-video { width: 100%; height: 100%; object-fit: contain; }
.motion-caption { flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 18px 18px; }

/* Photography replaces the schematic drink layers. */
.anatomy { background: var(--scene-bg, var(--tonic-bg)); }
.anatomy-pin { height: 100svh; min-height: 0; position: relative; display: flex; align-items: center; overflow: hidden; }
.section-heading { position: relative; z-index: 2; width: 42%; }
.section-heading > .mono, .anatomy-meta { display: flex; align-items: baseline; gap: 24px; margin-top: var(--scene-gap); }
.inline-price { color: var(--blue); font: 700 clamp(22px, min(2.6vw, 4.6svh), 38px)/1.1 var(--heading); letter-spacing: -0.04em; }
.anatomy-object { position: absolute; top: 14%; height: 78%; width: 34%; left: 48%; overflow: visible; }
.anatomy-stage { position: absolute; inset: 0; overflow: hidden; border-radius: 4px; }
.anatomy-photo, .anatomy-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.anatomy-canvas { opacity: 0; }
.layer-label { position: absolute; left: 96%; font-size: 13px; white-space: nowrap; opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s; color: var(--ink); }
.layer-label.is-visible { opacity: 1; transform: none; }
.layer-label::before { content: ''; position: absolute; top: 50%; right: calc(100% + 10px); width: clamp(22px, 4vw, 60px); height: 1px; background: currentColor; opacity: .4; }
.label-ice { top: 20%; }
.label-crema { top: 25.5%; }
.label-espresso { top: 43%; }
.label-tonic { top: 68%; }

/* Full-frame extraction, with type set in the quiet left side of the photograph. */
.pressure { background: #E6EBEE; color: var(--ink); }
.pressure-pin { height: 100svh; min-height: 0; position: relative; display: flex; align-items: center; overflow: hidden; }
.pressure-media { position: absolute; right: var(--pad); top: calc(50% + 28px); transform: translateY(-50%); width: min(44vw, calc((100svh - 144px) * 4 / 5)); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
.pressure-copy { margin-right: auto; }
.pressure-photo, .pressure-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pressure-photo { object-fit: cover; }
.pressure-canvas { opacity: 0; }

.pressure-copy { position: relative; z-index: 1; width: min(40vw, 520px); }
.pressure-copy h2 { font-size: min(3vw, 6svh); }
.pressure-reading { font: 200 clamp(64px, 17svh, 160px)/1 var(--heading); letter-spacing: -.055em; white-space: nowrap; margin-bottom: var(--scene-gap); }
.body-large { font-size: clamp(16px, 2.6svh, 23px); line-height: 1.5; }
.pressure-copy > .muted { font-size: 14px; margin-top: var(--scene-gap); opacity: .8; max-width: 340px; }

/* Ingredient cutouts share the page background; only the lots are separated. */
.beans { height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: var(--scene-gap); overflow: hidden; }
.beans-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.beans-heading h2 { font-size: min(5.5vw, 9svh); }
.beans-heading > p { max-width: 340px; font-size: 16px; }
.lots { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 0; }
.lot { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: clamp(6px, 1.5svh, 14px); min-height: 0; padding-right: 28px; }
.lot + .lot { border-left: 1px solid #1e1a162b; padding-left: 28px; padding-right: 0; }
.lot h3 { font-size: min(3.5vw, 6.4svh); }
.lot-detail { max-width: 400px; font-size: clamp(13px, 1.8svh, 15px); }
.flavor-playground { position: relative; min-height: 0; height: 100%; display: flex; align-items: end; justify-content: space-around; gap: 8px; overflow: hidden; touch-action: pan-y; }
.flavor-item { flex: 0 0 auto; margin: 0; width: clamp(92px, 8.6vw, 140px); text-align: center; user-select: none; }
.flavor-item img { width: 100%; height: clamp(70px, 14svh, 140px); object-fit: contain; pointer-events: none; }
.flavor-item figcaption { font-size: 11px; line-height: 1.25; min-height: 28px; padding-top: 5px; }
.physics-ready > .flavor-item, .physics-bean { position: absolute; left: 0; top: 0;  }
.physics-bean { width: 40px; height: 40px; object-fit: contain; pointer-events: none; }
.beans-note { font-size: 12px; opacity: .65; }

/* The text is reserved first; the photograph consumes only remaining height. */
.menu { background: var(--base); overflow: hidden; }
.menu-pin { height: 100svh; min-height: 0; padding: var(--section-top) 0 var(--section-bottom); display: flex; flex-direction: column; }
.menu-heading { display: flex; align-items: end; justify-content: space-between; padding: 0 var(--pad); flex: none; }
.menu-heading h2 { font-size: min(4.8vw, 9svh); }
.menu-heading .section-label { margin-bottom: 6px; }
.menu-progress { white-space: nowrap; }
.menu-tabs { display: flex; gap: clamp(14px, 2vw, 30px); padding: 12px var(--pad); overflow-x: auto; scrollbar-width: none; flex: none; }
.menu-tabs button { white-space: nowrap; padding: 5px 0; border-bottom: 1px solid transparent; font-size: 13px; opacity: .6; }
.menu-tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: currentColor; opacity: 1; }
.menu-viewport { overflow: hidden; flex: 1; min-height: 0; display: flex; }
.menu-track { display: flex; align-items: stretch; gap: 36px; padding: 0 var(--pad);  }
.menu-group { display: flex; gap: 18px; flex: none; }
.menu-card { flex: 0 0 auto; width: clamp(230px, 22vw, 328px); height: var(--menu-card-height); min-height: 0; padding: 0 0 12px; background: var(--card-color); display: flex; flex-direction: column; gap: 12px; }
.menu-thumb { width: 100%; height: 0; flex: 1 1 0; min-height: 0; display: flex; align-items: center; justify-content: center; }
.menu-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.menu-body { flex: none; padding: 0 16px; }
.menu-card h3 { font-size: clamp(18px, 2.8svh, 25px); line-height: 1.1; letter-spacing: -.04em; }
.menu-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 8px; }
.menu-card .volume { font-size: 12px; opacity: .65; }
.menu-card .price { color: var(--blue); font: 700 clamp(20px, 3svh, 27px)/1.2 var(--heading); letter-spacing: -.04em; }
.menu-card .special { font-size: 12px; opacity: .7; margin-top: 4px; }
.menu-group[data-group="0"] .menu-body { min-height: clamp(80px, 11svh, 98px); }
.menu-variants { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.menu-variant + .menu-variant { padding-left: 10px; border-left: 1px solid rgba(30, 26, 22, 0.14); }
.menu-card--multi .menu-meta { margin-top: 0; gap: 4px; }
.menu-card--multi .price { font-size: clamp(14px, min(1.5vw, 2.3svh), 21px); white-space: nowrap; }
.menu-card--multi .volume { font-size: clamp(10px, 1vw, 11.5px); white-space: nowrap; }
.menu-card--multi .special { font-size: clamp(10px, 1vw, 11.5px); margin-top: 3px; white-space: nowrap; }
.menu-card--typo { padding: 20px; justify-content: space-between; }
.menu-card--typo h3 { font-size: clamp(24px, 4svh, 38px); }
.menu-typo-top { opacity: .65; }
.menu-typo-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; }
.menu-note { padding: 10px var(--pad) 0; font-size: 12px; opacity: .65; flex: none; }

/* Craft: two full-bleed pinned sequence scenes (Mahlkönig grind + interactive water). */
.craft { position: relative; background: #E6EBEE; }
.craft-scene { position: relative; background: var(--cold); }
.grind.craft-scene { background: #E6EBEE; }
.craft-pin { height: 100svh; min-height: 0; position: relative; display: flex; align-items: center; overflow: hidden; }
.craft-media, .craft-poster, .craft-canvas, .water-ripple { position: absolute; inset: 0; width: 100%; height: 100%; }
.craft-poster { object-fit: cover; object-position: center; }
.grind-poster { object-position: center top; }
.craft-canvas, .water-ripple { opacity: 0; }
.craft-canvas { z-index: 1; }
.water-ripple { z-index: 2; }
.craft-media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(216, 236, 250, 0.85) 0%,
    rgba(216, 236, 250, 0.72) 28%,
    rgba(216, 236, 250, 0.22) 48%,
    rgba(216, 236, 250, 0) 64%
  );
}
.craft-copy { position: relative; z-index: 4; }
.grind-copy { width: min(50%, 560px); }
.water-copy { width: min(42%, 480px); }
.craft-scene h2 { font-size: clamp(36px, min(5.4vw, 9.5svh), 86px); }
.craft-scene .section-label { margin-bottom: clamp(8px, 1.5svh, 16px); }
.grinder-models {
  display: grid;
  grid-template-columns: minmax(112px, 1.45fr) repeat(2, minmax(60px, 0.85fr)) minmax(82px, 1.05fr);
  gap: clamp(10px, 1.5vw, 20px);
  margin-top: var(--scene-gap);
}
.grinder-models > div { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.grinder-models b { font: 500 clamp(13px, 1.25vw, 16px)/1.2 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: nowrap; }
.grinder-models span { font-size: clamp(11px, 1vw, 13px); line-height: 1.35; opacity: 0.72; }
.water-copy > p { font-size: clamp(15px, 2.2svh, 19px); line-height: 1.5; max-width: 440px; margin-top: var(--scene-gap); }

.locations { height: 100svh; min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.locations h2 { font-size: min(6vw, 10svh); }
.location { padding: clamp(16px, 3svh, 30px) 0; }
.location + .location { border-top: 1px solid #1e1a162b; }
.location-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.location h3 { font-size: clamp(26px, 4.5svh, 42px); }
.location p { font-size: 15px; }
.location .hours { font-size: 21px; margin: 16px 0 8px; }
.hours small { font-size: 12px; opacity: .74; margin-left: 15px; }
.location .access-note, .location .machine { font-size: 13px; opacity: .76; }
.location .machine { margin-top: 16px; }
.open-state, .soon { font-size: 12px; white-space: nowrap; }
.open-state.is-open { color: #356a32; }
.soon { opacity: .76; }

.footer { height: 100svh; padding: var(--section-top) var(--pad) var(--section-bottom); background: #E3EACF; display: flex; flex-direction: column; justify-content: space-between; gap: var(--scene-gap); overflow: hidden; }
.footer-top { display: flex; justify-content: space-between; gap: 50px; }
.footer-top > p { max-width: 520px; font-size: clamp(16px, 2.5svh, 21px); }
.instagram { font-size: 12px; line-height: 1.7; }
.instagram > span { font-size: 20px; }
.instagram:hover { color: var(--blue); }
.footer-word { position: relative; font: 800 min(20vw, 31svh)/.96 var(--heading); letter-spacing: -.075em; white-space: nowrap; color: #bcc9a2; }
.coffee-fill { position: absolute; inset: 0; color: #5E3826; clip-path: inset(100% 0 0 0); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; }

@media (max-width: 1120px) and (min-width: 769px) {
  .menu-card { width: clamp(220px, 24.5vw, 270px); }
}
@media (max-width: 1000px) and (min-width: 769px) {
  .grind-copy { width: min(62%, 520px); }
}
@media (max-width: 768px) {
  :root { --pad: 24px; --section-top: clamp(68px, 9svh, 82px); }
  .header { height: 48px; gap: 10px; }
  .brand, .brand img { width: 64px; height: 26px; }
  .header nav { gap: 14px; font-size: 12px; }
  .header nav a:nth-child(2) { display: none; }
  .languages { gap: 8px; }
  .languages button { font-size: 11px; }
  .hero-kicker { top: var(--section-top); font-size: 12px; }
  .hero-city { display: none; }
  .hero-info { top: 15%; width: 88%; }
  .category-pill { font-size: 11px; padding: 5px 13px; margin-bottom: 10px; }
  .hero-info h1 { font-size: min(7vw, 12svh); line-height: 1; max-width: 300px; }
  .hero-volume { font-size: 12px; margin-top: 12px; }
  .hero-price { font-size: 27px; }
  .hero-special { font-size: 11px; }
  .hero-word { top: 48%; left: 0; right: 0; text-align: center; font-size: 15vw; }
  .product-stage, .product-stage.is-cup { left: 13%; top: 33%; width: 74%; height: 51%; }
  .steam { top: -8%; height: 52%; }
  .hero-bottom { bottom: var(--section-bottom); display: grid; grid-template-columns: 1fr auto; gap: 14px 10px; }
  .hero-menu { font-size: 12px; gap: 10px; }
  .motion-pin { padding-left: 0; padding-right: 0; }
  .motion-heading { padding: 0 var(--pad); }
  .motion-heading h2, .menu-heading h2 { font-size: min(7vw, 12svh); }
  .motion-angle { display: none; }
  .motion-grid { display: flex; min-height: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); scrollbar-width: none; gap: 14px; padding: 0 var(--pad); }
  .motion-card { flex: 0 0 78vw; scroll-snap-align: start; }
  .motion-frame { min-height: 0; }
  .motion-caption { opacity: 1 !important; transform: none !important; }
  .anatomy-pin { align-items: start; }
  .section-heading { width: 100%; }
  .section-heading > .mono { margin-top: 16px; }
  .anatomy-object { top: 29%; left: 5%; width: 68%; height: 62%; }
  .layer-label { left: 97%; font-size: 12px; }
  .layer-label::before { width: 24px; }
  .section-foot { font-size: 12px; }
  .pressure-pin { align-items: start; }
  .pressure-media { position: relative; right: auto; top: auto; transform: none; width: 100%; margin-top: 16px; }
  .pressure-pin { flex-direction: column; justify-content: center; }
  .pressure-copy { width: 100%; }
  .pressure-copy h2 { font-size: min(7vw, 12svh); }
  .body-large { font-size: 17px; max-width: 310px; }
  .pressure-copy > .muted { font-size: 13px; max-width: 300px; }
  .beans-heading { display: block; }
  .beans-heading h2 { font-size: min(7vw, 12svh); }
  .beans-heading > p { margin-top: 12px; font-size: 13px; }
  .lots { grid-template-columns: 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .lot, .lot + .lot { border-left: 0; border-top: 1px solid #1e1a162b; padding: 14px 0 0; grid-template-columns: 43% 1fr; grid-template-rows: auto auto 1fr; gap: 8px; }
  .lot > .mono, .lot h3, .lot-detail { grid-column: 1; }
  .lot h3 { font-size: 23px; }
  .lot-detail { font-size: 12px; }
  .flavor-playground { grid-column: 2; grid-row: 1 / -1; }
  .flavor-item { width: 78px; }
  .flavor-item img { height: clamp(48px, 8svh, 70px); }
  .flavor-item figcaption { font-size: 10px; min-height: 30px; }
  .beans-note { font-size: 11px; }
  .menu-progress { font-size: 11px; }
  .menu-tabs { gap: 20px; }
  .menu-tabs button { font-size: 12px; }
  .menu-viewport { display: block; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--pad); scrollbar-width: none; touch-action: pan-x pan-y; }
  .menu-track { height: 100%; width: max-content; transform: none !important; gap: 20px; }
  .menu-group { gap: 12px; }
  .menu-card { width: 74vw; scroll-snap-align: start; }
  .menu-card h3 { font-size: 22px; }
  .menu-card--typo h3 { font-size: 30px; }
  .menu-note { font-size: 11px; }
  .craft-pin { flex-direction: column; align-items: stretch; padding: 0; }
  .craft-copy { width: 100%; max-width: none; flex: none; padding: var(--section-top) var(--pad) var(--scene-gap); background: var(--cold); }
  .craft-media { position: relative; inset: auto; flex: 1 1 0; min-height: 0; width: 100%; height: auto; overflow: hidden; }
  .craft-media::after { background: linear-gradient(180deg, rgba(216, 236, 250, 0.85) 0%, rgba(216, 236, 250, 0) 24%); }
  .water-media { touch-action: pan-y; }
  .craft-scene h2 { font-size: clamp(32px, 9.5vw, 48px); }
  .grinder-models { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .grinder-models b { font-size: 13px; }
  .grinder-models span { font-size: 11px; }
  .water-copy > p { font-size: 14px; max-width: none; }
  .locations { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: var(--scene-gap); }
  .locations h2 { font-size: min(7vw, 12svh); }
  .location-top { align-items: start; }
  .location h3 { font-size: 29px; }
  .location p { font-size: 14px; }
  .open-state, .soon { font-size: 10px; }
  .footer-top { display: block; }
  .footer-top > p { font-size: 17px; }
  .instagram { display: block; margin-top: 30px; }
  .footer-bottom { font-size: 11px; }
  .cursor-dot, .cursor-ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none; scroll-behavior: auto !important; }
  .cursor-dot, .cursor-ring { display: none; }
  .motion-caption { opacity: 1 !important; transform: none !important; }
  .menu-viewport { display: block; overflow-x: auto; }
  .menu-track { height: 100%; width: max-content; transform: none !important; }
  .coffee-fill { clip-path: inset(0) !important; }
  .flavor-playground { flex-wrap: wrap; align-content: center; }
}

/* «До микрона»: show the whole frame (owner: full-bleed crop was too big and unreadable). Desktop only. */
@media (min-width: 769px) {
  .grind.craft-scene { background: #E6EBEE; }
  .grind-media { inset: auto; right: var(--pad); top: calc(50% + 28px); transform: translateY(-50%); width: min(44vw, calc((100svh - 144px) * 4 / 5)); height: auto; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
  .grind-media::after { display: none; }
  .grind-copy { width: min(34vw, 460px); }
  .grind .grinder-models { grid-template-columns: 1fr 1fr; gap: 14px 22px; }
}

/* Finale: the finished drink in a clear glass, scroll pours the milk. */
.finale { background: #CDE9FB; }
.finale-pin { height: 100svh; position: relative; display: grid; grid-template-columns: 1fr minmax(0, 1.1fr); align-items: center; padding: 56px var(--pad) 0; overflow: hidden; }
.finale-media { position: relative; order: 2; height: min(78svh, 820px); aspect-ratio: 9 / 16; justify-self: center; transform-origin: 50% 80%;  }
.finale-poster, .finale-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.finale-canvas { opacity: 0; transition: opacity .4s; }
.finale-copy { order: 1; opacity: 1; }
.finale-copy h2 { font-size: min(7vw, 13svh); line-height: .95; margin-top: 10px; }
.finale-link { display: inline-flex; align-items: center; margin-top: 28px; padding-bottom: 4px; font-size: 18px; font-weight: 600; color: var(--blue); border-bottom: 1.5px solid currentColor; transition: opacity .25s; }
.finale-link:hover { opacity: .78; }
@media (max-width: 768px) {
  .finale-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; padding-top: 72px; }
  .finale-copy { order: 1; opacity: 1; }
  .finale-media { order: 2; height: 62svh; }
}

/* «Два зерна»: two still-lifes (beans + the lot's real tasting notes) with clean typography below each frame. */
.beans { padding-bottom: clamp(20px, 3.5svh, 34px); }
.lots { gap: clamp(16px, 2vw, 32px); }
.lot { display: flex; flex-direction: column; min-height: 0; }
.lot::before, .lot::after { display: none !important; }
.lot-still { position: relative; margin: clamp(8px, 1.5svh, 16px) 0 0; flex: 1 1 0; min-height: 0; max-height: 44svh; overflow: hidden; border-radius: 4px; background: var(--lot-bg); }
.lot-still img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.lot-still:hover img { transform: scale(1.08); }
.lot-still.has-parallax img { transition: none; }
.lot-notes { flex: none; margin-top: clamp(8px, 1.3svh, 14px); font-size: clamp(11.5px, 1.5svh, 13px); line-height: 1.45; color: var(--ink); opacity: 0.8; }

/* Video frames on flat colour backgrounds: feather every edge so the clip's backdrop melts into the page
   (owner: the rectangle border of the clip was visible in «Анатомия»). */
.anatomy-photo, .anatomy-canvas, .finale-poster, .finale-canvas {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 74%, transparent 98%), linear-gradient(180deg, transparent 0, #000 10%, #000 80%, transparent 97%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 74%, transparent 98%), linear-gradient(180deg, transparent 0, #000 10%, #000 80%, transparent 97%);
  mask-composite: intersect;
}

/* Footer: the real «9 specialty coffee» logo in brand blue on a clean light background (owner request). */
.footer { background: #F5F8FB; }
.footer-word { color: inherit; font: inherit; height: min(34svh, 26vw); position: relative; }
.footer-logo { position: absolute; left: 0; bottom: 0; height: 100%; width: auto; }
.footer-logo--ghost { opacity: .12; filter: grayscale(1); }
@media (max-width: 768px) { .footer-word { height: 22vw; } }

/* Finale clip has a real wall and counter: show it framed on a light peach section, like «9 бар». */
.finale { background: #F6E2CC !important; }
.finale-media { height: min(80svh, 820px); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 4px; }
.finale-poster, .finale-canvas { -webkit-mask-image: none !important; mask-image: none !important; object-fit: cover; }
/* Theme toggle: pill switch with sun/moon inline SVG icons (composite-only transform/opacity). */
.languages .theme-toggle {
  --tg-w: 46px;
  --tg-h: 24px;
  --tg-pad: 2px;
  --tg-thumb: 18px;
  --tg-icon: 12px;
  --tg-shift: calc(var(--tg-w) - 2px - var(--tg-pad) * 2 - var(--tg-thumb));
  --tg-icon-inset: calc(var(--tg-pad) + (var(--tg-thumb) - var(--tg-icon)) / 2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 6px;
  border: 0;
  border-radius: 999px;
  opacity: 1;
  flex: none;
}
.languages .theme-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.theme-track {
  position: relative;
  display: block;
  width: var(--tg-w);
  height: var(--tg-h);
  border-radius: 999px;
  border: 1px solid rgba(30, 26, 22, 0.18);
  background: rgba(30, 26, 22, 0.1);
}
.theme-thumb {
  position: absolute;
  top: var(--tg-pad);
  left: var(--tg-pad);
  width: var(--tg-thumb);
  height: var(--tg-thumb);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(30, 26, 22, 0.22);
  transform: translateX(0);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}
.theme-icon {
  position: absolute;
  top: var(--tg-icon-inset);
  width: var(--tg-icon);
  height: var(--tg-icon);
  display: block;
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.32s ease, transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}
.theme-icon--sun {
  left: var(--tg-icon-inset);
  color: #1E1A16;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.theme-icon--moon {
  right: var(--tg-icon-inset);
  color: #1E1A16;
  opacity: 0.42;
  transform: scale(0.86) rotate(-18deg);
}
.languages .theme-toggle:hover .theme-icon--moon { opacity: 0.72; }
html[data-theme="dark"] .theme-track {
  border-color: rgba(241, 235, 227, 0.24);
  background: rgba(241, 235, 227, 0.12);
}
html[data-theme="dark"] .theme-thumb {
  background: #F1EBE3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.42);
  transform: translateX(var(--tg-shift));
}
html[data-theme="dark"] .theme-icon--sun {
  color: #F1EBE3;
  opacity: 0.48;
  transform: scale(0.86) rotate(-25deg);
}
html[data-theme="dark"] .theme-icon--moon {
  color: #110F0D;
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
html[data-theme="dark"] .languages .theme-toggle:hover .theme-icon--sun { opacity: 0.8; }

/* ===== Dark theme «Ночь»: espresso-black page, the drinks keep their studio colour as lit cards. ===== */
html[data-theme="dark"] {
  --base: #110F0D;
  --ink: #F1EBE3;
  --blue: #2EA3F2;
  --tonic-bg: #121618;
  --cold: #111518;
  --hot: #17120E;
  --green: #121510;
  --card-ink: #1E1A16;
  color-scheme: dark;
}
html[data-theme="dark"] body { background: var(--base); color: var(--ink); }
html[data-theme="dark"] .header.is-scrolled { background: rgba(17, 15, 13, .94); }
html[data-theme="dark"] .skip { background: #1d1a17; }

/* Hero: in dark theme, the drink sits inside a soft circular disc painted with its light-theme colour. */
html[data-theme="dark"] .hero-word { color: rgba(241, 235, 227, .11); }
html[data-theme="dark"] .category-pill { background: rgba(241, 235, 227, .12); color: var(--ink); border: 1px solid rgba(241, 235, 227, .18); }
html[data-theme="dark"] .product-stage.is-dom-video .product-motion,
html[data-theme="dark"] .mix-video { mix-blend-mode: normal; }

/* Cursor */
html[data-theme="dark"] .cursor-ring { border-color: rgba(46, 163, 242, .5); }
html[data-theme="dark"] .cursor-ring.rotate,
html[data-theme="dark"] .cursor-ring.next { background: rgba(17, 15, 13, .6); }
html[data-theme="dark"] .cursor-ring.link { background: rgba(46, 163, 242, .12); }

/* Product cards keep their pastel studio colour and dark type: they read as lit photographs on the night page. */
html[data-theme="dark"] .motion-card,
html[data-theme="dark"] .menu-card:not(.menu-card--typo) { color: var(--card-ink); filter: brightness(0.92) contrast(1.03); }
html[data-theme="dark"] .motion-card .motion-price,
html[data-theme="dark"] .menu-card:not(.menu-card--typo) .price { color: #0077C8; }
html[data-theme="dark"] .menu-card--typo { background: #1B1815; border: 1px solid rgba(241, 235, 227, .08); }
html[data-theme="dark"] .menu-card { border-radius: 4px; overflow: hidden; }
html[data-theme="dark"] .motion-card { border-radius: 4px; }

/* Anatomy: the clip sits in a framed stage painted with its own backdrop; layer labels sit outside on the dark page. */
html[data-theme="dark"] .anatomy { background: var(--base); }
html[data-theme="dark"] .anatomy-object { background: transparent; overflow: visible; }
html[data-theme="dark"] .anatomy-stage { background: var(--scene-bg, #CDE6F5); border-radius: 4px; overflow: hidden; filter: brightness(0.92) contrast(1.03); }
html[data-theme="dark"] .layer-label { left: calc(100% + 20px); color: var(--ink); }
html[data-theme="dark"] .layer-label::before { width: 16px; right: calc(100% + 4px); opacity: 0.55; }

/* Framed photography scenes */
html[data-theme="dark"] .pressure,
html[data-theme="dark"] .craft,
html[data-theme="dark"] .grind.craft-scene { background: #141210; }
html[data-theme="dark"] .finale { background: #17120E !important; }
html[data-theme="dark"] .craft-scene { background: #111518; }
html[data-theme="dark"] .craft-media::after { background: linear-gradient(90deg, rgba(17, 21, 24, .92) 0%, rgba(17, 21, 24, .78) 30%, rgba(17, 21, 24, .25) 52%, rgba(17, 21, 24, 0) 66%); }
@media (min-width: 769px) {
  /* Water is a bright full-bleed clip: frame it like «До микрона» so it does not glare on the night page. */
  html[data-theme="dark"] .water-media { inset: auto; right: var(--pad); top: calc(50% + 28px); transform: translateY(-50%); width: min(44vw, calc((100svh - 144px) * 4 / 5)); height: auto; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; }
  html[data-theme="dark"] .water-media::after { display: none; }
}
@media (max-width: 768px) {
  html[data-theme="dark"] .craft-copy { background: #111518; }
  html[data-theme="dark"] .craft-media::after { background: linear-gradient(180deg, rgba(17, 21, 24, .9) 0%, rgba(17, 21, 24, 0) 24%); }
}

/* Lines, beans, locations, footer */
html[data-theme="dark"] .lot + .lot,
html[data-theme="dark"] .location + .location { border-color: rgba(241, 235, 227, .14); }
@media (max-width: 768px) { html[data-theme="dark"] .lot, html[data-theme="dark"] .lot + .lot { border-top-color: rgba(241, 235, 227, .14); } }
html[data-theme="dark"] .open-state.is-open { color: #8fd18a; }
html[data-theme="dark"] .footer { background: #0D0C0B; }
html[data-theme="dark"] .footer-logo--ghost { opacity: .08; filter: grayscale(1) brightness(2); }

/* Round 8: bounded paint, static geometry and normal-flow phone scenes. */
.cursor-ring, .cursor-ring.rotate, .cursor-ring.next, .cursor-ring.link { width: 74px; height: 74px; }
.cursor-ring { transition: opacity .2s; }
.motion-card, .menu-card, .lot-still { contain: layout paint; }
.locations { contain: layout paint; content-visibility: auto; contain-intrinsic-size: auto 100svh; }
.is-hidden *, .is-hidden *::before, .is-hidden *::after { animation-play-state: paused !important; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .menu-thumb img { transition: transform .4s; }
  .menu-card:hover .menu-thumb img { transform: translateY(-4px) rotateY(3deg); }
}
@media (max-width: 768px) {
  .header { height: 48px; padding-inline: 16px; grid-template-columns: auto 1fr auto; gap: 12px; }
  .header nav { justify-content: center; gap: 12px; white-space: nowrap; }
  .languages { gap: 6px; align-items: center; white-space: nowrap; }
  .languages button { flex: none; }
  .header.is-scrolled { background: var(--base); }
  html[data-theme="dark"] .header.is-scrolled { background: var(--base); }
  .header, .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .languages .theme-toggle { --tg-w: 38px; --tg-h: 20px; --tg-thumb: 14px; --tg-icon: 10px; margin-left: 4px; }
  .hero-menu { justify-self: start; text-decoration: none; color: var(--blue); border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 500; }
  .hero-info h1 { font-size: clamp(28px, 7vw, 42px); }
  .motion-pin { height: auto; min-height: 0; padding: var(--section-top) 0 40px; }
  .motion-card { flex: 0 0 76vw; }
  .motion-frame { flex: none; aspect-ratio: 2 / 3; max-height: 58svh; }
  .anatomy-pin, .pressure-pin, .craft-pin, .finale-pin {
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    height: auto; min-height: 0; padding: 68px var(--pad) 40px;
    gap: 20px; overflow: hidden; isolation: isolate; contain: layout paint;
  }
  .section-heading, .pressure-copy, .craft-copy, .finale-copy {
    position: relative; flex: none; width: 100%; max-width: none; margin: 0; padding: 0;
    order: 0; opacity: 1; transform: none;
  }
  .anatomy-object, .pressure-media, .craft-media, .finale-media {
    position: relative; inset: auto; transform: none; order: 1; flex: none;
    width: 100%; height: clamp(240px, 44svh, 420px); margin: 0;
    aspect-ratio: auto; align-self: center;
  }
  .anatomy-meta { margin-top: 12px; gap: 16px; }
  .anatomy-object { width: 70%; height: clamp(270px, 48svh, 440px); align-self: flex-start; overflow: visible; }
  .layer-label, html[data-theme="dark"] .layer-label { left: calc(100% + 12px); font-size: 12px; color: var(--ink); }
  .layer-label::before { display: none; }
  .grind-media { height: auto; aspect-ratio: 4 / 5; max-height: 52svh; }
  .water.craft-scene { background: #CFE7F8; }
  .water-media {
    height: auto;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 10%, #000 84%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%),
      linear-gradient(180deg, transparent 0%, #000 10%, #000 84%, transparent 100%);
    mask-composite: intersect;
  }
  html[data-theme="dark"] .water.craft-scene { background: #111518; }
  html[data-theme="dark"] .water-media { -webkit-mask-image: none; mask-image: none; }
  .pressure-media { width: min(100%, 38svh); height: auto; aspect-ratio: 4 / 5; }
  .pressure-reading { font-size: clamp(64px, 11svh, 100px); }
  .pressure-copy h2 { font-size: 28px; }
  .pressure-copy .body-large, .pressure-copy > .muted { max-width: none; }
  .craft-media::after { display: none; }
  .craft-copy, html[data-theme="dark"] .craft-copy { background: transparent; }
  .finale-copy { opacity: 1 !important; transform: none !important; }
  .finale-copy h2, .section-heading h2 { font-size: clamp(32px, 8vw, 48px); }
  .finale-media { width: min(100%, clamp(168.75px, 29.25svh, 309.375px)); height: auto; aspect-ratio: 9 / 16; }
  .finale-link { margin-top: 16px; font-size: 15px; }
  .beans { height: auto; min-height: 0; overflow: visible; padding-bottom: 44px; }
  .lots { grid-template-rows: auto auto; }
  .lot, .lot + .lot { padding-inline: 0; }
  .lot-still { flex: none; width: 100%; aspect-ratio: 16 / 9; max-height: none; margin-inline: 0; }
  .menu-pin { height: auto; min-height: 0; padding: var(--section-top) 0 40px; }
  .menu-tabs { padding-right: 40px; -webkit-mask-image: linear-gradient(90deg, #000 0, #000 86%, transparent 100%); mask-image: linear-gradient(90deg, #000 0, #000 86%, transparent 100%); }
  .menu-card { height: auto; max-height: min(66svh, 520px); }
  .menu-thumb { height: auto; flex: none; aspect-ratio: 3 / 4; }
  .menu-card--multi .price { font-size: clamp(15px, 4.2vw, 19px); }
  .menu-card--multi .volume, .menu-card--multi .special { font-size: 11px; }
  .locations { height: auto; min-height: 0; justify-content: flex-start; padding-top: 72px; padding-bottom: 56px; }
  .open-state, .soon { font-size: 12px; }
}
@media (max-width: 360px) {
  .header { gap: 6px; padding-inline: 10px; }
  .header nav { gap: 6px; font-size: 10.5px; }
  .languages { gap: 4px; }
  .languages button { font-size: 10.5px; }
  .languages .theme-toggle { --tg-w: 36px; --tg-h: 20px; --tg-thumb: 14px; --tg-icon: 10px; margin-left: 2px; }
  .brand, .brand img { width: 52px; }
}
/* Round 8b: instant hero, 4-drink stories indicator, simplified single-screen composition. */
.hero { cursor: pointer; }
.hero a, .hero button { cursor: pointer; }
.hero-info { top: 50%; transform: translateY(-54%); width: min(41%, 540px); }
.hero-info h1 { font-size: clamp(34px, min(5.8vw, 10.5svh), 96px); }
.hero-sub { margin-top: clamp(6px, 1.2svh, 12px); font-size: clamp(13px, 2svh, 17px); opacity: 0.7; }
.hero-sub:empty, .hero-special:empty { display: none; min-height: 0; margin-top: 0; }
.hero-volume { margin-top: clamp(10px, 2svh, 20px); font-size: clamp(13px, 1.9svh, 16px); }
.hero-price { font-size: clamp(22px, min(2.8vw, 5svh), 44px); }
.product-stage { left: 44%; top: 2%; width: 52%; height: 89%; }
.hero-bottom {
  bottom: clamp(18px, 3svh, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.hero-stories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: clamp(180px, 26vw, 320px);
  flex-shrink: 0;
}
.hero-story {
  padding: 12px 0;
  display: flex;
  align-items: center;
}
.hero-story-track {
  position: relative;
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: rgba(30, 26, 22, 0.16);
}
.hero-story-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(0);
}
.hero-story:hover .hero-story-track { background: rgba(30, 26, 22, 0.3); }
html[data-theme="dark"] .hero-story-track { background: rgba(241, 235, 227, 0.2); }
html[data-theme="dark"] .hero-story:hover .hero-story-track { background: rgba(241, 235, 227, 0.36); }
.hero-hint {
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  white-space: nowrap;
}
.hero-hint.is-visible { opacity: 0.62; }
.hero-menu { font-size: 14px; white-space: nowrap; opacity: 0.85; transition: opacity 0.25s; }
.hero-menu:hover { opacity: 1; }
@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    padding: 60px var(--pad) max(16px, env(safe-area-inset-bottom, 16px));
    gap: 8px;
  }
  .hero-info { position: relative; left: auto; top: auto; transform: none; width: 100%; flex: none; }
  .hero-info h1 { font-size: clamp(28px, 7.6vw, 42px); max-width: 320px; }
  .hero-sub { font-size: 13px; margin-top: 5px; }
  .hero-volume { margin-top: 8px; font-size: 12px; }
  .hero-price { font-size: 25px; margin-top: 2px; }
  .hero-word { display: none; }
  .product-stage, .product-stage.is-cup { position: relative; left: auto; top: auto; width: 100%; height: auto; flex: 1 1 0; min-height: 0; z-index: 2; }
  .hero-bottom {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    flex: none;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 14px;
  }
  .hero-stories { grid-column: 1 / -1; width: 100%; }
  .hero-story { padding: 10px 0; }
  .hero-menu { grid-column: 1; font-size: 12px; }
  .hero-hint { grid-column: 2; font-size: 11px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  .finale-copy { opacity: 1; transform: none; }
  .coffee-fill { opacity: 1; clip-path: none; }
  .hero-hint { display: none; }
  .theme-thumb,
  .theme-icon,
  html[data-theme="dark"] .product-disc { transition: none !important; }
}

/* Round s6/s8: dark-theme hero pastel disc adapts per drink (lower for tall glasses, full for low glasses/cups); light theme untouched. */
.product-disc {
  display: none;
}
.product-motion {
  z-index: 1;
}
html[data-theme="dark"] .product-stage {
  container-type: size;
}
html[data-theme="dark"] .product-disc {
  --ph: min(89svh, 78vw);
  --disc-base: 0.79;
  --disc-scale: 0.6709;
  --disc-y: 0.2;
  --disc-d: calc(var(--disc-base) * var(--ph));
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--disc-d);
  height: var(--disc-d);
  margin-left: calc(var(--disc-d) * -0.5);
  margin-top: calc(var(--disc-d) * -0.5);
  transform-origin: center center;
  transform: translate3d(0, calc(var(--disc-y) * var(--ph)), 0) scale(var(--disc-scale));
  border-radius: 50%;
  background-color: var(--hero-disc, #CDE6F5);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.28);
  transition: background-color 0.45s ease;
  pointer-events: none;
  z-index: 0;
}
html[data-theme="dark"] .steam {
  mix-blend-mode: screen;
}
@media (max-width: 768px) {
  html[data-theme="dark"] .product-disc {
    --ph: min(50svh, 130vw);
  }
}
@supports (height: 1cqh) {
  html[data-theme="dark"] .product-disc {
    --ph: min(100cqh, 150cqw);
  }
}

/* ===== Round 9: Positioning, People gallery, Conference Hall booking, Film grain & Dark theme ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero slogan: quiet single line at top-left, never competing with the drink or sitting under its name. */
.hero-slogan {
  position: absolute;
  top: clamp(64px, 10svh, 84px);
  left: var(--pad);
  max-width: min(44vw, 460px);
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.72;
  z-index: 3;
  pointer-events: none;
}

/* Footer invite line */
.footer-copy { max-width: 540px; }
.footer-copy > p:first-child { font-size: clamp(16px, 2.5svh, 21px); }
.footer-invite {
  margin-top: clamp(10px, 2svh, 18px);
  font-size: clamp(14px, 2svh, 17px);
  opacity: 0.72;
}

/* Section: People («Здесь рождаются идеи») — airy asymmetric editorial mosaic fitting 100svh on desktop. */
.people {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(22px, 3.6svh, 36px)) var(--pad) clamp(16px, 2.8svh, 28px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(14px, 2.4svh, 26px);
  overflow: hidden;
}
.people-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.people-heading h2 { font-size: clamp(28px, min(4.3vw, 7.6svh), 74px); }
.people-sub {
  max-width: 430px;
  font-size: clamp(13px, 1.9svh, 16px);
  line-height: 1.45;
  opacity: 0.76;
}
.people-mosaic {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(0, 0.82fr) minmax(0, 0.82fr);
  gap: clamp(10px, 1.4vw, 20px);
  min-height: 0;
  height: 100%;
  align-items: stretch;
}
.people-stack {
  display: grid;
  grid-template-rows: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(10px, 1.4vw, 20px);
  min-height: 0;
  height: 100%;
}
.people-shot {
  position: relative;
  margin: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 3px;
  contain: layout paint;
}
.people.has-reveal .people-shot::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--base);
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.people.has-reveal .people-shot.is-revealed::before { transform: translateY(-101%); }
.people-shot--tall { margin-top: 0; }
.people-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.03);
}
.people-shot--lead img { object-position: 58% 24%; }

/* Subtle static film grain overlay on People & Two Beans photos (disabled on mobile, low-power, reduced-motion). */
.people-shot::after,
.lot-still::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url(../assets/grain.webp) repeat;
  background-size: 128px 128px;
  mix-blend-mode: overlay;
  opacity: 0.085;
}
html.is-low-power .people-shot::after,
html.is-low-power .lot-still::after { display: none; }

/* Section: Conference Hall + Booking form */
.hall {
  background: var(--base);
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.hall button:focus-visible { outline-offset: 3px; border-radius: 4px; }
.hall-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: clamp(18px, 3svh, 32px);
}
.hall-heading h2 { font-size: clamp(32px, min(5.4vw, 9.2svh), 84px); }
.hall-heading .section-label { margin-bottom: 8px; opacity: 0.65; }
.hall-sub {
  max-width: 420px;
  font-size: clamp(14px, 2svh, 17px);
  line-height: 1.48;
  opacity: 0.78;
}

.hall-visual { margin-bottom: clamp(68px, 10svh, 112px); }
.hall-media {
  position: relative;
  width: 100%;
  height: clamp(220px, calc(78svh - 86px), 760px);
  overflow: hidden;
  border-radius: 4px;
  background: rgba(30, 26, 22, 0.06);
  contain: layout paint;
}
.hall-poster,
.hall-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}
.hall-video {
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.hall-media.is-video-ready .hall-video { opacity: 1; }
.hall-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  margin-top: clamp(10px, 1.5vw, 18px);
}
.hall-gallery[hidden] { display: none; }
.hall-thumb {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 3px;
  contain: layout paint;
}
.hall-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Booking form layout */
.booking-form {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.bk-steps { display: flex; flex-direction: column; min-width: 0; }
.bk-step {
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  padding: 20px 0 24px;
  min-width: 0;
}
.bk-step:last-child { border-bottom: 1px solid rgba(30, 26, 22, 0.14); }
.bk-step-head {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 0 0 14px;
  border-radius: 4px;
  text-align: left;
  cursor: default;
}
.bk-step-head:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}
.bk-step-num { font-size: 12px; opacity: 0.48; }
.bk-step-title {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 24px);
  letter-spacing: -0.03em;
}
.bk-step-meta {
  margin-left: auto;
  font-size: 12px;
  opacity: 0.62;
  text-align: right;
}
.bk-step-body[hidden] { display: none; }

/* Calendar */
.bk-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.bk-cal-title {
  font-family: var(--heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.bk-cal-nav {
  min-width: 40px;
  min-height: 40px;
  padding-bottom: 2px;
  border: 1px solid rgba(30, 26, 22, 0.16);
  border-radius: 4px;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: opacity 0.2s;
}
.bk-cal-nav:hover:not(:disabled) { border-color: var(--ink); }
.bk-cal-nav:disabled { opacity: 0.25; cursor: not-allowed; }
.bk-cal-weekdays,
.bk-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.bk-cal-weekdays { margin-bottom: 6px; text-align: center; font-size: 12px; opacity: 0.56; }
.bk-cal-weekdays .is-sunday { opacity: 0.45; }
.bk-day {
  min-height: 42px;
  padding: 0;
  border-radius: 4px;
  border: 1px solid rgba(30, 26, 22, 0.12);
  font-size: 14px;
  display: grid;
  place-items: center;
  transition: opacity 0.2s, transform 0.2s;
}
.bk-day:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.bk-day.is-today { border-color: var(--ink); font-weight: 700; }
.bk-day.is-selected {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 700;
}
.bk-day.is-selected:hover { color: #fff; }
.bk-day:disabled {
  opacity: 0.28;
  border-color: transparent;
  cursor: not-allowed;
}
.bk-day.is-closed-rule {
  opacity: 0.4;
  text-decoration: line-through;
}
.bk-rule-note {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.62;
}

/* Time slots */
.bk-slots-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.bk-slots-info { font-size: 13px; }
.bk-slots-clear {
  font-size: 12px;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 4px 0;
}
.bk-stub-line,
.bk-demo-note {
  font-size: 12px;
  color: rgba(30, 26, 22, 0.52);
  margin: 4px 0 12px;
}
.bk-demo-note { margin: 10px 0 0; }
.bk-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
}
.bk-slot {
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid rgba(30, 26, 22, 0.16);
  border-radius: 4px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: opacity 0.2s;
}
.bk-slot:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); }
.bk-slot.is-selected {
  background: rgba(0, 119, 200, 0.14);
  border-color: var(--blue);
  color: var(--blue);
  font-weight: 700;
}
.bk-slot.is-edge {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.bk-slot.is-past {
  opacity: 0.34;
  border-color: rgba(30, 26, 22, 0.09);
  cursor: not-allowed;
}
.bk-slot.is-busy {
  color: rgba(30, 26, 22, 0.66);
  background: rgba(30, 26, 22, 0.06);
  border-color: rgba(30, 26, 22, 0.22);
  border-style: dashed;
  cursor: not-allowed;
}
.bk-slot small { font-size: 10.5px; opacity: 0.92; font-family: var(--body); }
.bk-slots-hint { margin-top: 8px; font-size: 12px; color: #A64B2A; min-height: 0; }

/* Guests stepper (no upper limit, no capacity copy) */
.bk-stepper-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.bk-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(30, 26, 22, 0.18);
  border-radius: 4px;
  overflow: hidden;
}
.bk-step-btn {
  min-width: 44px;
  min-height: 44px;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.bk-step-btn:hover { background: rgba(30, 26, 22, 0.06); }
.bk-guests-input {
  width: 72px;
  border: 0;
  border-left: 1px solid rgba(30, 26, 22, 0.14);
  border-right: 1px solid rgba(30, 26, 22, 0.14);
  background: transparent;
  color: inherit;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  -moz-appearance: textfield;
}
.bk-guests-input::-webkit-outer-spin-button,
.bk-guests-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bk-guests-input:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.bk-guests-hint { font-size: 13px; opacity: 0.65; }

/* Equipment checkboxes (pure CSS, zero SVG) */
.bk-equip-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}
.bk-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(30, 26, 22, 0.14);
  border-radius: 4px;
  cursor: pointer;
}
.bk-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.bk-check-box {
  position: relative;
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 1.5px solid rgba(30, 26, 22, 0.36);
  border-radius: 3px;
}
.bk-check input:checked + .bk-check-box {
  background: var(--blue);
  border-color: var(--blue);
}
.bk-check input:checked + .bk-check-box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.bk-check input:focus-visible + .bk-check-box {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.bk-check-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bk-check-title { font-size: 14px; font-weight: 500; }
.bk-check-spec { font-size: 12px; color: rgba(30, 26, 22, 0.52); }
.bk-stub-tag {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 400;
  color: rgba(30, 26, 22, 0.52);
  padding: 1px 6px;
  border: 1px solid rgba(30, 26, 22, 0.14);
  border-radius: 99px;
}

/* Coffee-break menu picker */
.bk-menu-picked {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.bk-menu-picked[hidden] { display: none; }
.bk-picked-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 99px;
  background: rgba(0, 119, 200, 0.12);
  color: var(--blue);
  font-size: 12px;
}
.bk-picked-chip button { font-size: 15px; line-height: 1; padding: 0 2px; }
.bk-menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-bottom: 14px;
}
.bk-menu-tab {
  padding: 6px 0;
  font-size: 13px;
  opacity: 0.58;
  border-bottom: 1.5px solid transparent;
}
.bk-menu-tab[aria-pressed="true"] {
  opacity: 1;
  border-bottom-color: var(--ink);
  font-weight: 600;
}
.bk-menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bk-drink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(30, 26, 22, 0.12);
  border-radius: 4px;
  contain: layout paint;
}
.bk-drink.is-picked { border-color: var(--blue); }
.bk-drink-thumb {
  flex: none;
  width: 44px;
  height: 58px;
  border-radius: 3px;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.bk-drink-thumb img { width: 100%; height: 100%; object-fit: contain; }
.bk-drink-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bk-drink-name { font-size: 13px; font-weight: 600; line-height: 1.25; }
.bk-drink-meta { font-size: 12px; opacity: 0.68; }
.bk-drink-note { font-size: 11px; line-height: 1.25; opacity: 0.6; }
.bk-vol-switch { display: inline-flex; align-self: flex-start; gap: 2px; padding: 2px; margin: 2px 0; border-radius: 4px; background: rgba(30, 26, 22, 0.09); }
.bk-vol-btn { padding: 2px 8px; min-height: 24px; border-radius: 3px; font-size: 11px; white-space: nowrap; color: inherit; opacity: 0.7; }
.bk-vol-btn[aria-pressed="true"] { background: var(--ink); color: var(--base); opacity: 1; }
.bk-vol-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
html[data-theme="dark"] .bk-vol-switch { background: rgba(241, 235, 227, 0.12); }
.bk-drink-qty { flex: none; display: flex; align-items: center; gap: 4px; }
.bk-qty-add {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(30, 26, 22, 0.2);
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}
.bk-qty-add:hover { border-color: var(--blue); color: var(--blue); }
.bk-qty-btn {
  min-width: 30px;
  min-height: 34px;
  border: 1px solid rgba(30, 26, 22, 0.18);
  border-radius: 4px;
  font-size: 15px;
  display: grid;
  place-items: center;
}
.bk-qty-num { min-width: 24px; text-align: center; font-size: 13px; }

/* Summary & contact aside */
.bk-aside { position: sticky; top: 76px; min-width: 0; }
.bk-summary {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid rgba(30, 26, 22, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
  min-width: 0;
}
.bk-aside-title {
  font-size: clamp(20px, 2.2vw, 26px);
  margin-bottom: 16px;
}
.bk-summary-lines { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.bk-sum-row { display: flex; justify-content: space-between; gap: 12px; }
.bk-sum-row.is-stub { color: rgba(30, 26, 22, 0.56); font-size: 13px; }
.bk-sum-row em { font-style: normal; opacity: 0.85; }
.bk-sum-menu-list {
  list-style: none;
  margin: 6px 0 0;
  padding: 10px 0 0;
  border-top: 1px dashed rgba(30, 26, 22, 0.14);
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 13px;
}
.bk-sum-menu-list li { display: flex; justify-content: space-between; gap: 10px; }
.bk-totals {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bk-total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; }
.bk-total-row[hidden] { display: none; }
.bk-total-row--grand { padding-top: 8px; border-top: 1px dashed rgba(30, 26, 22, 0.14); font-weight: 600; }
.bk-summary-rate.is-stub,
.bk-summary-hall.is-stub { font-weight: 400; color: rgba(30, 26, 22, 0.52); font-size: 13px; }
.bk-summary-menu,
.bk-summary-grand { color: var(--blue); font-size: 20px; }
.bk-summary-note { margin-top: 8px; font-size: 12px; color: rgba(30, 26, 22, 0.54); line-height: 1.4; }

.bk-fields {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bk-field { display: flex; flex-direction: column; gap: 5px; }
.bk-field label { font-size: 12px; opacity: 0.78; }
.bk-field input,
.bk-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid rgba(30, 26, 22, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.bk-field textarea { resize: vertical; min-height: 76px; }
.bk-field input:focus-visible,
.bk-field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.bk-field input[aria-invalid="true"] { border-color: #B83B2A; }
.bk-error { font-size: 12px; color: #B83B2A; min-height: 0; }
.bk-error:empty { display: none; }

.bk-submit {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  padding: 12px 18px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  transition: opacity 0.2s;
}
.bk-submit:hover { opacity: 0.9; }

.bk-result {
  margin-top: 16px;
  padding: 14px;
  border-radius: 4px;
  border: 1px solid rgba(0, 119, 200, 0.35);
  background: rgba(0, 119, 200, 0.06);
}
.bk-result[hidden] { display: none; }
.bk-result-notice { font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.bk-result-text {
  margin: 0;
  padding: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-x: hidden;
}
.bk-result-actions { display: flex; gap: 10px; margin-top: 10px; }
.bk-copy-btn,
.bk-redirect-link {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 4px;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.bk-copy-btn.is-copied { background: var(--blue); color: #fff; }
.bk-redirect-link[hidden] { display: none; }

/* Dark theme for Round 9 sections */
html[data-theme="dark"] .hall { border-top-color: rgba(241, 235, 227, 0.12); }
html[data-theme="dark"] .hall-media { background: rgba(241, 235, 227, 0.06); }
html[data-theme="dark"] .bk-step,
html[data-theme="dark"] .bk-step:last-child,
html[data-theme="dark"] .bk-totals,
html[data-theme="dark"] .bk-total-row--grand,
html[data-theme="dark"] .bk-fields,
html[data-theme="dark"] .bk-sum-menu-list { border-color: rgba(241, 235, 227, 0.14); }
html[data-theme="dark"] .bk-cal-nav,
html[data-theme="dark"] .bk-day,
html[data-theme="dark"] .bk-slot,
html[data-theme="dark"] .bk-stepper,
html[data-theme="dark"] .bk-check,
html[data-theme="dark"] .bk-drink,
html[data-theme="dark"] .bk-qty-add,
html[data-theme="dark"] .bk-qty-btn,
html[data-theme="dark"] .bk-summary { border-color: rgba(241, 235, 227, 0.16); }
html[data-theme="dark"] .bk-guests-input { border-color: rgba(241, 235, 227, 0.14); }
html[data-theme="dark"] .bk-check-box { border-color: rgba(241, 235, 227, 0.42); }
html[data-theme="dark"] .bk-check input:checked + .bk-check-box::after { border-color: #06121C; }
html[data-theme="dark"] .bk-step-btn:hover { background: rgba(241, 235, 227, 0.08); }
html[data-theme="dark"] .bk-stub-line,
html[data-theme="dark"] .bk-demo-note,
html[data-theme="dark"] .bk-check-spec,
html[data-theme="dark"] .bk-stub-tag,
html[data-theme="dark"] .bk-sum-row.is-stub,
html[data-theme="dark"] .bk-summary-rate.is-stub,
html[data-theme="dark"] .bk-summary-hall.is-stub,
html[data-theme="dark"] .bk-summary-note { color: rgba(241, 235, 227, 0.56); }
html[data-theme="dark"] .bk-stub-tag { border-color: rgba(241, 235, 227, 0.18); }
html[data-theme="dark"] .bk-summary { background: rgba(241, 235, 227, 0.03); }
html[data-theme="dark"] .bk-slot.is-past {
  opacity: 0.32;
  border-color: rgba(241, 235, 227, 0.1);
}
html[data-theme="dark"] .bk-slot.is-busy {
  color: rgba(241, 235, 227, 0.68);
  background: rgba(241, 235, 227, 0.06);
  border-color: rgba(241, 235, 227, 0.22);
}
html[data-theme="dark"] .bk-slot.is-selected { background: rgba(46, 163, 242, 0.18); }
html[data-theme="dark"] .bk-day.is-selected,
html[data-theme="dark"] .bk-slot.is-edge,
html[data-theme="dark"] .bk-submit,
html[data-theme="dark"] .bk-copy-btn.is-copied { background: var(--blue); color: #06121C; }
html[data-theme="dark"] .bk-day.is-selected:hover { color: #06121C; }
html[data-theme="dark"] .bk-picked-chip { background: rgba(46, 163, 242, 0.16); }
html[data-theme="dark"] .bk-field input,
html[data-theme="dark"] .bk-field textarea {
  background: rgba(241, 235, 227, 0.06);
  border-color: rgba(241, 235, 227, 0.18);
  color: var(--ink);
}
html[data-theme="dark"] .bk-result {
  background: rgba(46, 163, 242, 0.08);
  border-color: rgba(46, 163, 242, 0.32);
}
html[data-theme="dark"] .bk-result-text { background: rgba(17, 15, 13, 0.72); }
html[data-theme="dark"] .bk-error,
html[data-theme="dark"] .bk-slots-hint { color: #F28A7B; }
html[data-theme="dark"] .bk-field input[aria-invalid="true"] { border-color: #F28A7B; }
html[data-theme="dark"] .bk-day:disabled { opacity: 0.45; }
html[data-theme="dark"] .bk-cal-nav:disabled { opacity: 0.42; }

@media (min-width: 769px) and (max-height: 740px) {
  .bk-aside { position: static; }
  .bk-summary { padding: 18px 20px; }
  .bk-aside-title { margin-bottom: 12px; }
  .bk-fields { margin-top: 14px; padding-top: 14px; gap: 10px; }
  .bk-field textarea { min-height: 56px; }
  .bk-submit { margin-top: 14px; }
}

@media (max-width: 1120px) and (min-width: 769px) {
  .people-heading { gap: 20px; }
  .people-heading h2 {
    font-size: clamp(24px, min(3.3vw, 6.8svh), 38px);
    white-space: nowrap;
  }
  .people-sub {
    max-width: min(360px, 39%);
    font-size: clamp(12.5px, 1.7svh, 14.5px);
  }
}

@media (max-width: 1060px) and (min-width: 769px) {
  .booking-form { grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr); }
  .bk-menu-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hero-slogan {
    position: relative;
    top: auto;
    left: auto;
    max-width: none;
    font-size: 12px;
    line-height: 1.35;
    opacity: 0.74;
    margin-top: 4px;
    margin-bottom: 6px;
    flex: none;
  }
  .footer-copy > p:first-child { font-size: 17px; }
  .footer-invite { font-size: 14px; }

  /* People section on mobile: natural flow, compact editorial 1 + 2 + 1 layout, no grain overlay. */
  .people {
    height: auto;
    max-height: none;
    min-height: 0;
    padding: var(--section-top) var(--pad) 40px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .people-heading { display: block; }
  .people-heading h2 { font-size: clamp(30px, 8.5vw, 44px); }
  .people-sub { margin-top: 8px; font-size: 14px; max-width: none; }
  .people-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: auto;
  }
  .people-shot { height: auto; }
  .people-shot--lead { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .people-shot--tall { margin-top: 0; aspect-ratio: 4 / 5; }
  .people-stack { display: contents; }
  .people-shot--side { aspect-ratio: 4 / 5; }
  .people-shot--wide { grid-column: 1 / -1; order: 4; aspect-ratio: 16 / 10; }
  .people-shot::after,
  .lot-still::after { display: none; }

  /* Hall & booking form on mobile: single column, collapsible accordion steps, large touch targets, zero horizontal scroll. */
  .hall-heading { display: block; }
  .hall-heading h2 { font-size: clamp(30px, 8.5vw, 46px); }
  .hall-sub { margin-top: 10px; font-size: 14px; max-width: none; }
  .hall-visual { margin-bottom: 28px; }
  .hall-media { height: auto; aspect-ratio: 16 / 10; }
  .hall-gallery { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr; gap: 20px; }
  .bk-step { padding: 0; }
  .bk-step-head {
    min-height: 54px;
    padding: 14px 0;
    cursor: pointer;
    align-items: center;
  }
  .bk-step-head::after {
    content: '+';
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 18px;
    opacity: 0.55;
    margin-left: 8px;
  }
  .bk-step.is-open .bk-step-head::after { content: '\2212'; }
  .bk-step-body { padding: 0 0 20px; }
  .bk-equip-list,
  .bk-menu-list { grid-template-columns: 1fr; }
  .bk-slots-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bk-day { min-height: 44px; }
  .bk-slot { min-height: 46px; }
  .bk-qty-btn,
  .bk-qty-add { min-height: 40px; min-width: 38px; }
  .bk-aside { position: static; }
  .bk-summary { padding: 18px 16px; }
  .bk-menu-tabs { flex-wrap: wrap; overflow-x: visible; }
}

@media (prefers-reduced-motion: reduce) {
  .people-shot { clip-path: none !important; transition: none !important; }
  .people-shot img { transform: none !important; transition: none !important; }
  .people-shot::after,
  .lot-still::after { display: none !important; }
}


/* ===== Structure Stage 1: Variant A pages, Menu Grid, Location Actions ===== */
.header--variant nav a[aria-current="page"] {
  opacity: 1;
  font-weight: 600;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 4px;
}

.v-link {
  display: inline-flex;
  align-items: center;
  padding-bottom: 3px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1.5px solid currentColor;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.v-link:hover { opacity: 0.78; }

.v-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.v-cta:hover { opacity: 0.88; }

.location-badges {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.location-tag {
  font-size: 12px;
  white-space: nowrap;
  color: var(--blue);
}
.bk-place-note {
  font-size: 12.5px;
  opacity: 0.72;
  margin: -8px 0 14px;
  line-height: 1.4;
}
.open-state[hidden],
.hours[hidden],
.c-bar-clock[hidden] {
  display: none;
}

.open-state.is-sunday {
  color: #9A5B13;
  white-space: normal;
  text-align: right;
  max-width: 260px;
  line-height: 1.3;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.loc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid rgba(30, 26, 22, 0.2);
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.loc-btn:hover { border-color: var(--blue); color: var(--blue); }
.loc-btn.is-copied {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.locations-more { margin-top: clamp(14px, 2.5svh, 24px); }
.beans-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px 24px;
}
.beans-roasters { font-size: 12px; opacity: 0.65; }
.pressure-machines { margin-top: clamp(8px, 1.5svh, 14px); font-size: 12px; opacity: 0.68; }
.people-head-side { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 430px; }
.people-shot--place img { object-position: 64% 24%; }
.booking-form { scroll-margin-top: 72px; }

/* Invite block («Заходите на кофе.») — single quiet frame, no tiles, no forced choice */
.section:not(.hero) h2 {
  scroll-margin-top: 76px;
}
.intent {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(22px, 4svh, 40px)) var(--pad) clamp(22px, 3.8svh, 40px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(16px, 2.8svh, 28px);
  overflow: hidden;
  scroll-margin-top: 0;
}
.intent-media-stage {
  position: relative;
  margin: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(30, 26, 22, 0.05);
  contain: layout paint;
}
.intent-media-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.intent-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.4svh, 14px);
}
.intent-heading h2 {
  font-size: clamp(30px, min(4.6vw, 7.6svh), 68px);
  line-height: 1.02;
}
.intent-note {
  font-size: clamp(14px, 1.9svh, 17px);
  line-height: 1.45;
  color: rgba(30, 26, 22, 0.72);
}
.intent-quiet-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(30, 26, 22, 0.34);
  transition: color 0.2s, text-decoration-color 0.2s, opacity 0.2s;
}
.intent-quiet-link:hover {
  color: var(--blue);
  text-decoration-color: var(--blue);
}

/* Conference hall teaser on Variant A home */
.hall-teaser {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(22px, 3.6svh, 36px)) var(--pad) clamp(18px, 3svh, 32px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(14px, 2.4svh, 24px);
  overflow: hidden;
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.teaser-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.teaser-copy h2 { font-size: clamp(28px, min(4.6vw, 8svh), 72px); }
.teaser-copy .section-label { margin-bottom: 6px; opacity: 0.65; }
.teaser-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 420px;
}
.teaser-side p { font-size: clamp(13px, 1.9svh, 16px); line-height: 1.45; opacity: 0.78; }
.teaser-frame {
  position: relative;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  contain: layout paint;
}
.teaser-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

/* Fast Menu Grid (#menu-grid on v/a/menu/) */
.menu-grid-section {
  background: var(--base);
  padding-top: calc(56px + clamp(24px, 4svh, 48px));
  padding-bottom: clamp(44px, 7svh, 76px);
}
.mg-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: clamp(16px, 2.8svh, 26px);
}
.mg-head h1 { font-size: clamp(34px, min(5.4vw, 9svh), 84px); }
.mg-head .section-label { margin-bottom: 6px; opacity: 0.65; }
.mg-count { opacity: 0.65; white-space: nowrap; }
.mg-filters {
  position: sticky;
  top: 56px;
  z-index: 20;
  background: var(--base);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  margin-bottom: clamp(18px, 3svh, 28px);
  border-bottom: 1px solid rgba(30, 26, 22, 0.1);
}
.mg-chip {
  padding: 7px 14px;
  min-height: 36px;
  border-radius: 4px;
  font-size: 13px;
  white-space: nowrap;
  background: rgba(30, 26, 22, 0.055);
  color: var(--ink);
  opacity: 0.82;
  transition: opacity 0.2s;
}
.mg-chip:hover { opacity: 1; }
.mg-chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--base);
  opacity: 1;
  font-weight: 600;
}
.mg-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
}
.mg-card {
  width: 100%;
  height: auto;
  padding: 0 0 14px;
  border-radius: 3px;
  overflow: hidden;
  gap: 10px;
}
.mg-thumb {
  height: auto;
  flex: none;
  aspect-ratio: 4 / 5;
}
.mg-body { padding: 0 14px; }
.mg-card h3 { font-size: clamp(16px, 1.7vw, 21px); line-height: 1.15; }
.mg-card .price { font-size: clamp(18px, 2vw, 24px); }
.mg-footer {
  margin-top: clamp(24px, 4svh, 40px);
  padding-top: 20px;
  border-top: 1px solid rgba(30, 26, 22, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.mg-footer .menu-note { padding: 0; }

/* Menu location switch (Altyn Adam / Alem.ai) + per-card volume switch */
.mg-places { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 4px; margin-bottom: 4px; }
.mg-place-switch { display: inline-flex; gap: 2px; padding: 3px; border-radius: 6px; background: rgba(30, 26, 22, 0.055); }
.mg-place-btn { padding: 7px 16px; min-height: 36px; border-radius: 4px; font-size: 13px; white-space: nowrap; color: var(--ink); opacity: 0.75; transition: opacity 0.2s; }
.mg-place-btn:hover { opacity: 1; }
.mg-place-btn[aria-pressed="true"] { background: var(--ink); color: var(--base); opacity: 1; font-weight: 600; }
.mg-place-btn:focus-visible, .mg-vol-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.mg-place-addr { font-size: 12px; opacity: 0.65; margin: 0; }
.mg-note { font-size: 12px; line-height: 1.3; opacity: 0.65; margin-top: 4px; }
.mg-vol-switch { display: inline-flex; gap: 2px; padding: 2px; margin-top: 8px; border-radius: 4px; background: rgba(30, 26, 22, 0.09); }
.mg-vol-btn { padding: 3px 10px; min-height: 26px; border-radius: 3px; font-size: 11.5px; white-space: nowrap; color: inherit; opacity: 0.7; }
.mg-vol-btn[aria-pressed="true"] { background: var(--ink); color: var(--base); opacity: 1; }
.mg-card.menu-card--typo { min-height: clamp(190px, 22vw, 240px); gap: 12px; }
.mg-card.menu-card--typo h3 { font-size: clamp(18px, 1.9vw, 24px); line-height: 1.12; }
.mg-typo-body { padding: 0; }
html[data-theme="dark"] .mg-place-switch { background: rgba(241, 235, 227, 0.08); }
html[data-theme="dark"] .mg-vol-switch { background: rgba(241, 235, 227, 0.12); }
html[data-theme="dark"] .mg-card:not(.menu-card--typo) .mg-vol-switch { background: rgba(30, 26, 22, 0.09); }
html[data-theme="dark"] .mg-card:not(.menu-card--typo) .mg-vol-btn[aria-pressed="true"] { background: #1E1A16; color: #F4F1EC; }

/* Space page (v/a/space/) */
.space-hero {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(16px, 3svh, 36px)) var(--pad) clamp(20px, 3.5svh, 36px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 56px);
  overflow: hidden;
}
.space-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(12px, 2.2svh, 20px);
}
.space-hero-copy .section-label { margin-bottom: 0; opacity: 0.65; }
.space-hero-copy h1 { font-size: clamp(32px, min(4.8vw, 8.6svh), 78px); }
.space-hero-lead { font-size: clamp(14px, 2.1svh, 18px); line-height: 1.5; max-width: 460px; opacity: 0.82; }
.space-hero-media {
  position: relative;
  height: 100%;
  max-height: calc(100svh - 104px);
  overflow: hidden;
  border-radius: 4px;
  contain: layout paint;
}
.space-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.formats {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(14px, 2.5svh, 28px)) var(--pad) clamp(18px, 3svh, 32px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(14px, 2.4svh, 24px);
  overflow: hidden;
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.formats-heading h2 { font-size: clamp(28px, min(4.6vw, 8svh), 70px); }
.formats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  min-height: 0;
  height: 100%;
}
.format-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  gap: clamp(10px, 1.6svh, 16px);
}
.format-media {
  flex: 1 1 0;
  min-height: 0;
  border-radius: 4px;
  overflow: hidden;
  contain: layout paint;
}
.format-media img { width: 100%; height: 100%; object-fit: cover; }
.format-media--place img { object-position: 64% 24%; }
.format-body { flex: none; }
.format-body h3 { font-size: clamp(22px, min(2.6vw, 4.6svh), 36px); letter-spacing: -0.04em; }
.format-body p { margin-top: 6px; font-size: clamp(13px, 1.8svh, 15px); line-height: 1.48; opacity: 0.78; max-width: 520px; }
.format-body .v-link { margin-top: 10px; }

/* Places page (v/a/places/) */
.locations--page {
  height: auto;
  min-height: 100svh;
  padding: calc(56px + clamp(14px, 2.6svh, 36px)) var(--pad) clamp(20px, 3.5svh, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: clamp(14px, 2.8svh, 32px);
  contain: none;
  content-visibility: visible;
}
.places-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.places-head h1 { font-size: clamp(30px, min(4.8vw, 8svh), 78px); }
.places-head .section-label { margin-bottom: 6px; opacity: 0.65; }
.places-sub { margin-top: 8px; max-width: 560px; font-size: clamp(13.5px, 1.9svh, 16px); opacity: 0.78; line-height: 1.45; }
.places-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.places-clock-line { font-size: 12px; opacity: 0.68; }
.places-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 48px);
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  padding-top: clamp(14px, 2.6svh, 26px);
}
.places-cards .location { padding: 0; border-top: 0; }
.places-cards .location h2 { font-size: clamp(24px, 4svh, 40px); }
.places-cards .location + .location {
  border-top: 0;
  border-left: 1px solid rgba(30, 26, 22, 0.14);
  padding-left: clamp(20px, 3.5vw, 48px);
}
.locations--teaser {
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(14px, 2.6svh, 34px)) var(--pad) clamp(18px, 3svh, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: clamp(14px, 2.8svh, 32px);
  overflow: hidden;
  contain: none;
  content-visibility: visible;
}
.locations--teaser .locations-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  column-gap: 24px;
}
.locations--teaser .locations-heading .section-label {
  grid-column: 1 / -1;
  margin-bottom: 6px;
}
.locations--teaser h2 { font-size: clamp(28px, min(4.8vw, 8svh), 68px); }
.locations--teaser .locations-more { grid-column: 2; margin-top: 0; }
.locations--teaser .location-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3.5vw, 48px);
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  padding-top: clamp(14px, 2.6svh, 26px);
}
.locations--teaser .location { padding: 0; }
.locations--teaser .location + .location {
  border-top: 0;
  border-left: 1px solid rgba(30, 26, 22, 0.14);
  padding-left: clamp(20px, 3.5vw, 48px);
}
.locations--teaser .location-top,
.locations--page .location-top { margin-bottom: clamp(8px, 1.5svh, 12px); }
.locations--teaser .location h3 { font-size: clamp(24px, 4svh, 40px); }
.locations--teaser .location .hours,
.locations--page .location .hours { font-size: clamp(17px, 2.8svh, 21px); margin: clamp(8px, 1.6svh, 14px) 0 6px; }
.locations--teaser .location .machine,
.locations--page .location .machine { margin-top: clamp(8px, 1.6svh, 14px); }
.locations--teaser .location-actions,
.locations--page .location-actions { margin-top: clamp(10px, 1.8svh, 14px); }
.locations--teaser .loc-btn,
.locations--page .loc-btn { min-height: 34px; padding: 5px 11px; font-size: 12.5px; }

.place-photos {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(14px, 2.5svh, 28px)) var(--pad) clamp(18px, 3svh, 32px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(14px, 2.4svh, 24px);
  overflow: hidden;
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.place-photos-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.place-photos-head h2 { font-size: clamp(28px, min(4.6vw, 8svh), 68px); }
.place-photos-head p { max-width: 420px; font-size: clamp(13px, 1.9svh, 16px); opacity: 0.76; line-height: 1.45; }
.place-photos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.78fr) minmax(0, 1.05fr);
  gap: clamp(10px, 1.4vw, 18px);
  min-height: 0;
  height: 100%;
}
.place-photo {
  margin: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  contain: layout paint;
}
.place-photo img { width: 100%; height: 100%; object-fit: cover; }
.place-photo--blue img { object-position: 50% 30%; }

.access-guide {
  background: var(--base);
  padding: clamp(56px, 9svh, 96px) var(--pad);
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.access-guide h2 { font-size: clamp(28px, min(4.6vw, 8svh), 68px); margin-bottom: clamp(22px, 3.5svh, 36px); }
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 36px);
}
.access-item {
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  padding-top: 16px;
}
.access-num { font-size: 12px; opacity: 0.48; display: block; margin-bottom: 10px; }
.access-item h3 { font-size: clamp(19px, 2vw, 26px); letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 8px; }
.access-item p { font-size: 14px; line-height: 1.5; opacity: 0.78; }
.access-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: clamp(26px, 4svh, 40px);
}

/* Variant footer quick nav */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.footer-nav a { opacity: 0.76; transition: opacity 0.2s; }
.footer-nav a:hover { opacity: 1; }

/* Dark theme for Structure Stage 1 components */
html[data-theme="dark"] .intent-media-stage { background: rgba(241, 235, 227, 0.06); }
html[data-theme="dark"] .intent-note { color: rgba(241, 235, 227, 0.72); }
html[data-theme="dark"] .intent-quiet-link { text-decoration-color: rgba(241, 235, 227, 0.36); }
html[data-theme="dark"] .intent-quiet-link:hover { color: var(--blue); text-decoration-color: var(--blue); }
html[data-theme="dark"] .v-cta { color: #06121C; }
html[data-theme="dark"] .open-state.is-sunday { color: #E5B567; }
html[data-theme="dark"] .loc-btn { border-color: rgba(241, 235, 227, 0.2); }
html[data-theme="dark"] .loc-btn.is-copied { color: #06121C; }
html[data-theme="dark"] .hall-teaser,
html[data-theme="dark"] .formats,
html[data-theme="dark"] .place-photos,
html[data-theme="dark"] .access-guide,
html[data-theme="dark"] .access-item,
html[data-theme="dark"] .mg-filters,
html[data-theme="dark"] .mg-footer,
html[data-theme="dark"] .places-cards,
html[data-theme="dark"] .places-cards .location + .location,
html[data-theme="dark"] .locations--teaser .location-list,
html[data-theme="dark"] .locations--teaser .location + .location {
  border-color: rgba(241, 235, 227, 0.14);
}
html[data-theme="dark"] .mg-chip {
  background: rgba(241, 235, 227, 0.08);
  color: var(--ink);
}
html[data-theme="dark"] .mg-chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--base);
}

@media (max-width: 1120px) and (min-width: 769px) {
  .mg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .header--variant nav a:nth-child(2) { display: inline; }
  .header--variant nav { gap: 10px; font-size: 12px; }
  .booking-form { scroll-margin-top: 56px; }

  .open-state.is-sunday { max-width: none; text-align: left; }
  .location-top { flex-wrap: wrap; gap: 6px 12px; }

  .section:not(.hero) h2 { scroll-margin-top: 64px; }

  .intent,
  .hall-teaser,
  .space-hero,
  .formats,
  .place-photos {
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
    padding: calc(48px + 28px) var(--pad) 44px;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .intent-heading h2,
  .teaser-copy h2,
  .formats-heading h2,
  .place-photos-head h2,
  .access-guide h2 { font-size: clamp(28px, 8vw, 42px); }
  .intent-media-stage { flex: none; height: auto; aspect-ratio: 16 / 10; }
  .intent-note { font-size: 14px; line-height: 1.5; }

  .teaser-head,
  .place-photos-head,
  .places-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
  .teaser-frame { flex: none; height: auto; aspect-ratio: 16 / 10; }

  .mg-filters {
    top: 48px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px 0;
  }
  .mg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mg-card { padding-bottom: 10px; }
  .mg-body { padding: 0 10px; }
  .mg-card h3 { font-size: 15px; }
  .mg-card .price { font-size: 17px; }
  .mg-card .volume, .mg-card .special { font-size: 11px; }

  .space-hero { padding-top: calc(48px + 22px); }
  .space-hero-media { max-height: none; height: auto; aspect-ratio: 16 / 10; width: 100%; }
  .formats-grid { grid-template-columns: 1fr; gap: 24px; height: auto; }
  .format-card { height: auto; }
  .format-media { flex: none; aspect-ratio: 16 / 10; }

  .locations--page { min-height: 0; padding: calc(48px + 22px) var(--pad) 40px; }
  .locations--teaser {
    height: auto;
    max-height: none;
    overflow: visible;
    padding: var(--section-top) var(--pad) 48px;
  }
  .locations--teaser .locations-heading {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
  .locations--teaser .locations-more { grid-column: 1; }
  .locations--teaser .location-list { grid-template-columns: 1fr; gap: 24px; }
  .locations--teaser .location h3 { font-size: 29px; }
  .locations--teaser .location + .location {
    border-left: 0;
    border-top: 1px solid rgba(30, 26, 22, 0.14);
    padding-left: 0;
    padding-top: 24px;
  }
  html[data-theme="dark"] .locations--teaser .location + .location { border-top-color: rgba(241, 235, 227, 0.14); }
  .places-status { align-items: flex-start; }
  .places-cards { grid-template-columns: 1fr; gap: 24px; }
  .places-cards .location h2 { font-size: 29px; }
  .places-cards .location + .location {
    border-left: 0;
    border-top: 1px solid rgba(30, 26, 22, 0.14);
    padding-left: 0;
    padding-top: 24px;
  }
  html[data-theme="dark"] .places-cards .location + .location { border-top-color: rgba(241, 235, 227, 0.14); }
  .place-photos-grid { grid-template-columns: 1fr 1fr; gap: 10px; height: auto; }
  .place-photo { height: auto; aspect-ratio: 4 / 5; }
  .place-photo--blue { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

  .access-guide { padding: 44px var(--pad); }
  .access-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-wrap: wrap; gap: 10px 16px; }
}

@media (max-width: 360px) {
  .header--variant nav { gap: 7px; font-size: 10.5px; }
}

/* variant b */
.v-b .header--variant nav {
  gap: clamp(14px, 2vw, 28px);
  white-space: nowrap;
}
.v-b .b-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.v-b .b-water-cta {
  margin-top: clamp(12px, 2.2svh, 22px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.v-b .b-quote {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--blue);
  font-size: clamp(13px, 1.85svh, 15.5px);
  line-height: 1.45;
  opacity: 0.86;
  max-width: 520px;
}

/* Variant B Home: 3-photo people cover (1 large + 2 stacked) */
.v-b .b-people-cover .people-mosaic {
  grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
}
.v-b .b-people-cover .people-stack {
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}

/* Variant B Menu: pure-CSS Cards / Quick List switcher */
.v-b .mg-head-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.v-b .b-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(30, 26, 22, 0.16);
  border-radius: 4px;
}
.v-b .b-view-opt {
  padding: 5px 11px;
  border-radius: 3px;
  font-size: 12.5px;
  line-height: 1.2;
  cursor: pointer;
  opacity: 0.72;
  white-space: nowrap;
  user-select: none;
  transition: opacity 0.2s;
}
.v-b .b-view-opt:hover { opacity: 1; }
.v-b #b-view-cards:checked ~ .mg-head label[for="b-view-cards"],
.v-b #b-view-list:checked ~ .mg-head label[for="b-view-list"] {
  background: var(--ink);
  color: var(--base);
  opacity: 1;
  font-weight: 600;
}
.v-b #b-view-cards:focus-visible ~ .mg-head label[for="b-view-cards"],
.v-b #b-view-list:focus-visible ~ .mg-head label[for="b-view-list"] {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.v-b #b-view-list:checked ~ .mg-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
}
.v-b #b-view-list:checked ~ .mg-grid .mg-card {
  flex-direction: row;
  align-items: center;
  padding: 8px 12px 8px 8px;
  gap: 12px;
  background: transparent;
  border-bottom: 1px solid rgba(30, 26, 22, 0.12);
  border-radius: 0;
}
.v-b #b-view-list:checked ~ .mg-grid .mg-thumb {
  width: 48px;
  height: 60px;
  aspect-ratio: auto;
  border-radius: 3px;
  overflow: hidden;
  background: var(--card-color);
  flex: none;
}
.v-b #b-view-list:checked ~ .mg-grid .mg-body {
  flex: 1;
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 2px;
}
.v-b #b-view-list:checked ~ .mg-grid .mg-card h3 {
  font-size: 16px;
  line-height: 1.2;
}
.v-b #b-view-list:checked ~ .mg-grid .menu-meta {
  margin-top: 0;
  justify-content: flex-end;
  gap: 10px;
}
.v-b #b-view-list:checked ~ .mg-grid .mg-card .price { font-size: 17px; }
.v-b #b-view-list:checked ~ .mg-grid .mg-card .special {
  grid-column: 1 / -1;
  text-align: right;
  margin-top: 2px;
}

/* Variant B Community: 5-photo essay & 4-card Instagram strip */
.v-b .b-essay .people-mosaic {
  grid-template-columns: minmax(0, 1.32fr) minmax(0, 0.88fr) minmax(0, 1fr);
}
.v-b .b-essay-col {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(10px, 1.4vw, 20px);
  min-height: 0;
  height: 100%;
}
.v-b .b-insta {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(14px, 2.4svh, 28px)) var(--pad) clamp(16px, 2.8svh, 30px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 2.2svh, 22px);
  overflow: hidden;
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.v-b .b-insta-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
  flex-wrap: wrap;
}
.v-b .b-insta-head .section-label { margin-bottom: 6px; opacity: 0.65; }
.v-b .b-insta-head h2 { font-size: clamp(26px, min(4.2vw, 7.2svh), 64px); }
.v-b .b-ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  min-height: 0;
  height: 100%;
}
.v-b .b-ig-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
}
.v-b .b-ig-media {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  contain: layout paint;
}
.v-b .b-ig-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}
.v-b .b-ig-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px 24px;
  flex-wrap: wrap;
  padding-top: clamp(10px, 1.8svh, 16px);
  border-top: 1px solid rgba(30, 26, 22, 0.12);
}
.v-b .b-ig-foot p { font-size: clamp(13px, 1.9svh, 16px); opacity: 0.82; }

/* Variant B Hall page (cover + capabilities + booking inside #hall) */
.v-b .b-hall-page {
  border-top: 0;
  padding-top: 0;
  padding-bottom: clamp(40px, 6svh, 72px);
}
.v-b .b-hall-cover {
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(12px, 2.2svh, 24px)) 0 clamp(16px, 2.8svh, 28px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(12px, 2.2svh, 22px);
  overflow: hidden;
}
.v-b .b-hall-cover .hall-heading { margin-bottom: 0; }
.v-b .b-hall-cover h1 { font-size: clamp(30px, min(4.8vw, 8.2svh), 76px); }
.v-b .b-hall-cover-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 440px;
}
.v-b .b-hall-cover .hall-visual {
  margin-bottom: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.v-b .b-hall-cover .hall-media {
  flex: 1 1 0;
  height: 100%;
  min-height: 0;
}
.v-b .b-hall-info {
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(12px, 2.2svh, 24px)) 0 clamp(18px, 3svh, 30px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: clamp(14px, 2.4svh, 24px);
  overflow: hidden;
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.v-b .b-hall-info-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.v-b .b-hall-info-head h2 { font-size: clamp(26px, min(4.2vw, 7svh), 60px); }
.v-b .b-hall-access-note { font-size: 12px; opacity: 0.66; }
.v-b .b-hall-feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
}
.v-b .b-hall-feat {
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  padding-top: 10px;
}
.v-b .b-hall-feat h3 {
  font-size: clamp(17px, min(1.8vw, 3svh), 24px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.v-b .b-hall-feat p {
  font-size: clamp(12.5px, 1.7svh, 14px);
  line-height: 1.44;
  opacity: 0.78;
}
.v-b .b-hall-feat .v-link { margin-top: 8px; font-size: 13px; }
.v-b .b-hall-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  min-height: 0;
  height: 100%;
}
.v-b .b-hall-strip figure {
  margin: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  contain: layout paint;
}
.v-b .b-hall-strip img { width: 100%; height: 100%; object-fit: cover; }
.v-b .b-hall-booking-wrap {
  padding-top: clamp(28px, 5svh, 56px);
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}

/* Variant B Coffee page: hero, lots table, machines, expanded grind */
.v-b .b-coffee-hero {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(14px, 2.6svh, 30px)) var(--pad) clamp(18px, 3svh, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 52px);
  overflow: hidden;
}
.v-b .b-coffee-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 2svh, 18px);
}
.v-b .b-coffee-hero-copy .section-label { margin-bottom: 0; opacity: 0.65; }
.v-b .b-coffee-hero-copy h1 { font-size: clamp(28px, min(4.2vw, 7.2svh), 66px); }
.v-b .b-coffee-hero-lead {
  font-size: clamp(13.5px, 1.95svh, 16.5px);
  line-height: 1.48;
  max-width: 520px;
  opacity: 0.82;
}
.v-b .b-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 2px;
}
.v-b .b-jumps a {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.v-b .b-jumps a:hover { opacity: 0.75; }
.v-b .b-coffee-hero-media {
  position: relative;
  margin: 0;
  height: 100%;
  max-height: calc(100svh - 96px);
  overflow: hidden;
  border-radius: 4px;
  contain: layout paint;
}
.v-b .b-coffee-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.v-b .b-lots-table-sec {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(12px, 2.2svh, 28px)) var(--pad) clamp(16px, 2.8svh, 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2.2svh, 22px);
  overflow: hidden;
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.v-b .b-lots-table-sec h2 { font-size: clamp(26px, min(4.2vw, 7svh), 60px); }
.v-b .b-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: clamp(12.5px, 1.75svh, 15px);
  line-height: 1.38;
}
.v-b .b-table th,
.v-b .b-table td {
  text-align: left;
  vertical-align: top;
  padding: clamp(7px, 1.3svh, 12px) clamp(10px, 1.4vw, 18px);
  border-bottom: 1px solid rgba(30, 26, 22, 0.12);
}
.v-b .b-table th:first-child,
.v-b .b-table td:first-child {
  width: 22%;
  padding-left: 0;
  opacity: 0.65;
}
.v-b .b-table thead th {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(14px, 2.1svh, 18px);
  letter-spacing: -0.03em;
  border-bottom: 1.5px solid rgba(30, 26, 22, 0.22);
  opacity: 1;
}
.v-b .b-table thead th:first-child {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 400;
  font-size: 12px;
  opacity: 0.56;
}
.v-b .b-table-foot {
  font-size: clamp(12px, 1.65svh, 14px);
  opacity: 0.72;
  max-width: 740px;
  line-height: 1.45;
}

.v-b .b-machines {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(14px, 2.4svh, 28px)) var(--pad) clamp(18px, 3svh, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 48px);
  overflow: hidden;
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.v-b .b-machines-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.2svh, 20px);
}
.v-b .b-machines-copy .section-label { margin-bottom: 0; opacity: 0.65; }
.v-b .b-machines-copy h2 { font-size: clamp(28px, min(4.2vw, 7.2svh), 64px); }
.v-b .b-machine-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
}
.v-b .b-machine-card {
  border-top: 1px solid rgba(30, 26, 22, 0.16);
  padding-top: 12px;
}
.v-b .b-machine-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.v-b .b-machine-card h3 {
  font-size: clamp(19px, min(2vw, 3.4svh), 28px);
  letter-spacing: -0.04em;
}
.v-b .b-machine-place { font-size: 12px; opacity: 0.66; white-space: nowrap; }
.v-b .b-machine-card p {
  font-size: clamp(12.5px, 1.75svh, 14.5px);
  line-height: 1.45;
  opacity: 0.8;
}
.v-b .b-machines-media {
  position: relative;
  margin: 0;
  height: 100%;
  max-height: calc(100svh - 96px);
  overflow: hidden;
  border-radius: 4px;
  contain: layout paint;
}
.v-b .b-machines-media img { width: 100%; height: 100%; object-fit: cover; }

.v-b .b-pressure-quote { margin-top: clamp(10px, 1.8svh, 18px); }
.v-b .b-water-quote { margin-top: clamp(10px, 1.8svh, 18px); }

@media (min-width: 769px) {
  .v-b .b-grind-coffee .grind-copy { width: min(44vw, 520px); }
  .v-b .b-grind-coffee .grinder-models {
    grid-template-columns: 1fr 1fr;
    gap: clamp(10px, 1.6svh, 16px) clamp(14px, 1.8vw, 22px);
    margin-top: clamp(10px, 2svh, 20px);
  }
  .v-b .b-grind-coffee .grinder-models span {
    font-size: clamp(11px, 1.55svh, 12.5px);
    line-height: 1.35;
  }
}

/* Variant B Dark theme */
html[data-theme="dark"] .v-b .b-view-switch,
html[data-theme="dark"] .v-b #b-view-list:checked ~ .mg-grid .mg-card,
html[data-theme="dark"] .v-b .b-insta,
html[data-theme="dark"] .v-b .b-ig-foot,
html[data-theme="dark"] .v-b .b-hall-info,
html[data-theme="dark"] .v-b .b-hall-feat,
html[data-theme="dark"] .v-b .b-hall-booking-wrap,
html[data-theme="dark"] .v-b .b-lots-table-sec,
html[data-theme="dark"] .v-b .b-table th,
html[data-theme="dark"] .v-b .b-table td,
html[data-theme="dark"] .v-b .b-table thead th,
html[data-theme="dark"] .v-b .b-machines,
html[data-theme="dark"] .v-b .b-machine-card {
  border-color: rgba(241, 235, 227, 0.14);
}
html[data-theme="dark"] .v-b #b-view-list:checked ~ .mg-grid .mg-card {
  color: var(--ink);
  filter: none;
}
html[data-theme="dark"] .v-b #b-view-list:checked ~ .mg-grid .mg-card .price {
  color: var(--blue);
}

/* Variant B Mobile (390x844 & narrow screens) */
@media (max-width: 768px) {
  .v-b { --section-top: 86px; }
  .v-b .header--variant {
    height: auto;
    grid-template-columns: auto 1fr;
    row-gap: 0;
    padding: 6px 16px 0;
  }
  .v-b .header--variant .brand { grid-column: 1; grid-row: 1; }
  .v-b .header--variant .languages { grid-column: 2; grid-row: 1; justify-self: end; }
  .v-b .header--variant nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0 6px;
    border-top: 1px solid rgba(30, 26, 22, 0.08);
    font-size: 11.5px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  html[data-theme="dark"] .v-b .header--variant nav {
    border-top-color: rgba(241, 235, 227, 0.12);
  }
  .v-b .header--variant nav a { padding: 3px 0; flex: none; }
  .v-b .hero { padding-top: 80px; }
  .v-b .mg-filters { top: 68px; }
  .v-b .booking-form { scroll-margin-top: 78px; }
  .v-b .space-hero,
  .v-b .locations--page { padding-top: 86px; }

  .v-b .b-people-cover .people-mosaic,
  .v-b .b-essay .people-mosaic {
    grid-template-columns: 1fr 1fr;
    height: auto;
  }
  .v-b .b-people-cover .people-shot--wide { grid-column: auto; order: 0; aspect-ratio: 4 / 5; }
  .v-b .b-essay-col { display: contents; }
  .v-b .b-essay .people-shot { aspect-ratio: 4 / 5; }
  .v-b .b-essay .people-shot--lead { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

  .v-b #b-view-list:checked ~ .mg-grid { grid-template-columns: 1fr; gap: 4px; }
  .v-b .mg-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .v-b .mg-head-right { width: 100%; justify-content: space-between; }

  .v-b .b-insta,
  .v-b .b-hall-cover,
  .v-b .b-hall-info,
  .v-b .b-coffee-hero,
  .v-b .b-lots-table-sec,
  .v-b .b-machines {
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .v-b .b-insta,
  .v-b .b-lots-table-sec,
  .v-b .b-machines { padding: 44px var(--pad); }
  .v-b .b-coffee-hero { padding: 86px var(--pad) 40px; }
  .v-b .b-hall-cover { padding: 86px 0 32px; }
  .v-b .b-hall-info { padding: 36px 0; }
  .v-b .b-hall-cover .hall-media { flex: none; height: auto; aspect-ratio: 16 / 10; }
  .v-b .b-hall-feats { grid-template-columns: 1fr; gap: 16px; }
  .v-b .b-hall-strip { grid-template-columns: 1fr 1fr; gap: 10px; height: auto; }
  .v-b .b-hall-strip figure { height: auto; aspect-ratio: 4 / 3; }
  .v-b .b-hall-strip figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

  .v-b .b-ig-grid { grid-template-columns: 1fr 1fr; gap: 12px; height: auto; }
  .v-b .b-ig-media { flex: none; aspect-ratio: 4 / 5; }

  .v-b .b-coffee-hero-media,
  .v-b .b-machines-media { max-height: none; height: auto; aspect-ratio: 4 / 3; width: 100%; }
  .v-b .b-machine-list { grid-template-columns: 1fr; gap: 16px; }

  .v-b .b-table,
  .v-b .b-table thead,
  .v-b .b-table tbody { display: block; width: 100%; font-size: 13px; }
  .v-b .b-table thead tr,
  .v-b .b-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    border-bottom: 1px solid rgba(30, 26, 22, 0.12);
    padding: 8px 0;
  }
  html[data-theme="dark"] .v-b .b-table thead tr,
  html[data-theme="dark"] .v-b .b-table tbody tr {
    border-bottom-color: rgba(241, 235, 227, 0.14);
  }
  .v-b .b-table thead th:first-child { display: none; }
  .v-b .b-table th,
  .v-b .b-table td { border-bottom: 0; padding: 2px 0; width: auto; }
  .v-b .b-table tbody th {
    grid-column: 1 / -1;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.58;
    padding-bottom: 3px;
  }
}

@media (max-width: 360px) {
  .v-b .header--variant nav { gap: 6px; font-size: 10.5px; }
}

/* variant c */
.v-c .c-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.v-c .c-quote {
  margin: 0;
  padding-left: 14px;
  border-left: 2px solid var(--blue);
  font-size: clamp(13px, 1.85svh, 15.5px);
  line-height: 1.45;
  opacity: 0.86;
  max-width: 500px;
}
.v-c .c-water-link {
  margin-top: clamp(12px, 2.2svh, 22px);
}
.v-c .c-water-quote {
  margin-top: clamp(10px, 1.8svh, 16px);
}

/* Variant C Home: soft coffee-first invite with quiet one-line links underneath */
.v-c .c-reasons {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(22px, 4svh, 40px)) var(--pad) clamp(22px, 3.8svh, 40px);
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(16px, 2.8svh, 28px);
  overflow: hidden;
  scroll-margin-top: 0;
}
.v-c .c-invite-media img {
  object-position: center 26%;
}
.v-c .c-invite-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}
.v-c .c-invite-also {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
}
.v-c .c-invite-sep {
  opacity: 0.4;
  user-select: none;
}
.v-c .c-reason-tile {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  gap: clamp(8px, 1.4svh, 13px);
}
.v-c .c-reason-media {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--tile-bg, var(--base));
  contain: layout paint;
}
.v-c .c-reason-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.v-c .c-reason-media--drink img {
  object-fit: contain;
  object-position: center center;
}
.v-c .c-reason-tile:hover .c-reason-media img {
  transform: scale(1.03);
}
.v-c .c-reason-meta {
  flex: none;
}
.v-c .c-reason-num {
  display: block;
  font-size: 11px;
  opacity: 0.5;
  margin-bottom: 3px;
}
.v-c .c-reason-meta h3 {
  font-size: clamp(17px, min(1.75vw, 3.2svh), 26px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.v-c .c-reason-meta p {
  margin-top: 4px;
  font-size: clamp(11.5px, 1.55svh, 13px);
  line-height: 1.35;
  opacity: 0.72;
}

/* Variant C Coffee-bar: live status strip at top + Lot cheat sheet */
.v-c .c-bar-status {
  background: var(--base);
  padding: calc(56px + clamp(14px, 2.4svh, 24px)) var(--pad) clamp(14px, 2.4svh, 22px);
  border-bottom: 1px solid rgba(30, 26, 22, 0.12);
}
.v-c .c-bar-status-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px 28px;
}
.v-c .c-bar-status-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.v-c .c-bar-status-copy .section-label {
  margin-bottom: 0;
  opacity: 0.62;
}
.v-c .c-bar-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}
.v-c .c-bar-place {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.v-c .c-bar-clock {
  font-size: 12px;
  opacity: 0.62;
  white-space: nowrap;
}
.v-c .c-bar-address {
  font-size: 13px;
  opacity: 0.74;
  line-height: 1.4;
}
.v-c .c-bar-status .location-actions {
  margin-top: 0;
}
.v-c .c-bar-menu {
  padding-top: clamp(20px, 3.4svh, 36px);
}

.v-c .c-lot-cheat {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(12px, 2.2svh, 26px)) var(--pad) clamp(16px, 2.8svh, 30px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(12px, 2.2svh, 24px);
  overflow: hidden;
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.v-c .c-cheat-head .section-label {
  margin-bottom: 4px;
  opacity: 0.62;
}
.v-c .c-cheat-head h2 {
  font-size: clamp(26px, min(4.2vw, 7.4svh), 64px);
}
.v-c .c-cheat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 32px);
  min-height: 0;
  height: 100%;
}
.v-c .c-cheat-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  gap: clamp(6px, 1.1svh, 12px);
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  padding-top: clamp(10px, 1.6svh, 16px);
}
.v-c .c-cheat-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex: none;
}
.v-c .c-cheat-top h3 {
  font-size: clamp(20px, min(2.4vw, 4.2svh), 34px);
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.v-c .c-cheat-top .mono {
  font-size: 12px;
  opacity: 0.62;
  white-space: nowrap;
}
.v-c .c-cheat-desc {
  flex: none;
  font-size: clamp(12.5px, 1.75svh, 15px);
  line-height: 1.42;
  opacity: 0.8;
}
.v-c .c-cheat-media {
  margin: 0;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--lot-bg, var(--base));
  contain: layout paint;
}
.v-c .c-cheat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v-c .c-cheat-notes {
  flex: none;
  font-size: clamp(11.5px, 1.55svh, 13px);
  opacity: 0.78;
  line-height: 1.4;
}
.v-c .c-cheat-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 24px;
  padding-top: clamp(8px, 1.4svh, 14px);
  border-top: 1px solid rgba(30, 26, 22, 0.12);
}
.v-c .c-cheat-foot .mono {
  font-size: 12px;
  opacity: 0.68;
}

/* Variant C Work & Meet: team hall callout inside access guide */
.v-c .places-head h2 {
  font-size: clamp(30px, min(4.8vw, 8svh), 78px);
}
.v-c .places-cards .location h3 {
  font-size: clamp(24px, 4svh, 40px);
}
.v-c .c-need-hall {
  margin-top: clamp(26px, 4.5svh, 44px);
  padding-top: clamp(20px, 3.2svh, 30px);
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 28px;
}
.v-c .c-need-hall-copy {
  max-width: 560px;
}
.v-c .c-need-hall-copy h3 {
  font-size: clamp(22px, min(2.6vw, 4.4svh), 34px);
  letter-spacing: -0.04em;
  line-height: 1.12;
}
.v-c .c-need-hall-copy p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.78;
}

/* Variant C Meetup: full-screen cover, formats + photos, booking, how guests arrive */
.v-c .c-hall-page {
  border-top: 0;
  padding-top: 0;
  padding-bottom: clamp(40px, 6svh, 72px);
}
.v-c .c-hall-cover {
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(12px, 2svh, 24px)) 0 clamp(16px, 2.8svh, 28px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(12px, 2.2svh, 22px);
  overflow: hidden;
}
.v-c .c-hall-cover .hall-heading {
  margin-bottom: 0;
}
.v-c .c-hall-cover h1 {
  font-size: clamp(30px, min(4.8vw, 8.2svh), 76px);
}
.v-c .c-hall-cover-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  max-width: 440px;
}
.v-c .c-hall-cover .hall-visual {
  margin-bottom: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.v-c .c-hall-cover .hall-media {
  flex: 1 1 0;
  height: 100%;
  min-height: 0;
}

.v-c .c-meetup-scenarios {
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(12px, 2svh, 24px)) 0 clamp(18px, 3svh, 30px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: clamp(12px, 2.2svh, 24px);
  overflow: hidden;
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.v-c .c-meetup-scenarios h2 {
  font-size: clamp(26px, min(4.2vw, 7svh), 60px);
}
.v-c .c-scenario-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
}
.v-c .c-scenario-col {
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  padding-top: 10px;
}
.v-c .c-scenario-col h3 {
  font-size: clamp(17px, min(1.8vw, 3svh), 24px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.v-c .c-scenario-col p {
  font-size: clamp(12.5px, 1.7svh, 14px);
  line-height: 1.44;
  opacity: 0.78;
}
.v-c .c-scenario-col .v-link {
  margin-top: 8px;
  font-size: 13px;
}
.v-c .c-scenario-photos {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(10px, 1.4vw, 18px);
  min-height: 0;
  height: 100%;
}
.v-c .c-scenario-photos figure {
  margin: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
  contain: layout paint;
}
.v-c .c-scenario-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.v-c .c-booking-wrap {
  padding-top: clamp(28px, 5svh, 56px);
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}

.v-c .c-arrive {
  background: var(--base);
  padding: clamp(52px, 8svh, 88px) var(--pad);
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.v-c .c-arrive-head {
  margin-bottom: clamp(20px, 3.2svh, 34px);
}
.v-c .c-arrive-head .section-label {
  margin-bottom: 6px;
  opacity: 0.62;
}
.v-c .c-arrive-head h2 {
  font-size: clamp(28px, min(4.4vw, 7.6svh), 64px);
}
.v-c .c-arrive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3.4vw, 48px);
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  padding-top: clamp(18px, 3svh, 28px);
}
.v-c .c-arrive-card .location-top {
  margin-bottom: 10px;
}
.v-c .c-arrive-card h3 {
  font-size: clamp(24px, 3.8svh, 36px);
}
.v-c .c-arrive-card .hours {
  font-size: clamp(17px, 2.6svh, 21px);
  margin: 10px 0 6px;
}
.v-c .c-arrive-card .access-note {
  font-size: 13px;
  opacity: 0.74;
}
.v-c .c-arrive-rules {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 1px solid rgba(30, 26, 22, 0.14);
  padding-left: clamp(20px, 3.4vw, 44px);
}
.v-c .c-arrive-rule h3 {
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 6px;
}
.v-c .c-arrive-rule p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.78;
}

/* Variant C Craft: cover, lot comparison table, expanded grind, machines */
.v-c .c-craft-hero {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(14px, 2.4svh, 28px)) var(--pad) clamp(18px, 3svh, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 52px);
  overflow: hidden;
}
.v-c .c-craft-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(10px, 2svh, 18px);
}
.v-c .c-craft-hero-copy .section-label {
  margin-bottom: 0;
  opacity: 0.62;
}
.v-c .c-craft-hero-copy h1 {
  font-size: clamp(28px, min(4.2vw, 7.2svh), 66px);
}
.v-c .c-craft-hero-lead {
  font-size: clamp(13.5px, 1.95svh, 16.5px);
  line-height: 1.48;
  max-width: 520px;
  opacity: 0.82;
}
.v-c .c-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 2px;
}
.v-c .c-jumps a {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.v-c .c-jumps a:hover {
  opacity: 0.75;
}
.v-c .c-craft-hero-media {
  position: relative;
  margin: 0;
  height: 100%;
  max-height: calc(100svh - 96px);
  overflow: hidden;
  border-radius: 4px;
  contain: layout paint;
}
.v-c .c-craft-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.v-c .c-lots-table-sec {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(12px, 2.2svh, 28px)) var(--pad) clamp(16px, 2.8svh, 30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(12px, 2.2svh, 22px);
  overflow: hidden;
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.v-c .c-lots-table-sec h2 {
  font-size: clamp(26px, min(4.2vw, 7svh), 60px);
}
.v-c .c-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: clamp(12.5px, 1.75svh, 15px);
  line-height: 1.38;
}
.v-c .c-table th,
.v-c .c-table td {
  text-align: left;
  vertical-align: top;
  padding: clamp(7px, 1.3svh, 12px) clamp(10px, 1.4vw, 18px);
  border-bottom: 1px solid rgba(30, 26, 22, 0.12);
}
.v-c .c-table th:first-child,
.v-c .c-table td:first-child {
  width: 22%;
  padding-left: 0;
  opacity: 0.65;
}
.v-c .c-table thead th {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(14px, 2.1svh, 18px);
  letter-spacing: -0.03em;
  border-bottom: 1.5px solid rgba(30, 26, 22, 0.22);
  opacity: 1;
}
.v-c .c-table thead th:first-child {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-weight: 400;
  font-size: 12px;
  opacity: 0.56;
}
.v-c .c-table-foot {
  font-size: clamp(12px, 1.65svh, 14px);
  opacity: 0.72;
  max-width: 740px;
  line-height: 1.45;
}

.v-c .c-machines {
  background: var(--base);
  height: 100svh;
  max-height: 100svh;
  min-height: 0;
  padding: calc(56px + clamp(14px, 2.4svh, 28px)) var(--pad) clamp(18px, 3svh, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(20px, 3.5vw, 48px);
  overflow: hidden;
  border-top: 1px solid rgba(30, 26, 22, 0.1);
}
.v-c .c-machines-copy {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2.2svh, 20px);
}
.v-c .c-machines-copy .section-label {
  margin-bottom: 0;
  opacity: 0.62;
}
.v-c .c-machines-copy h2 {
  font-size: clamp(28px, min(4.2vw, 7.2svh), 64px);
}
.v-c .c-machine-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 24px);
}
.v-c .c-machine-card {
  border-top: 1px solid rgba(30, 26, 22, 0.16);
  padding-top: 12px;
}
.v-c .c-machine-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}
.v-c .c-machine-card h3 {
  font-size: clamp(19px, min(2vw, 3.4svh), 28px);
  letter-spacing: -0.04em;
}
.v-c .c-machine-place {
  font-size: 12px;
  opacity: 0.66;
  white-space: nowrap;
}
.v-c .c-machine-card p {
  font-size: clamp(12.5px, 1.75svh, 14.5px);
  line-height: 1.45;
  opacity: 0.8;
}
.v-c .c-machines-media {
  position: relative;
  margin: 0;
  height: 100%;
  max-height: calc(100svh - 96px);
  overflow: hidden;
  border-radius: 4px;
  contain: layout paint;
}
.v-c .c-machines-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 769px) {
  .v-c .c-grind-expanded .grind-copy { width: min(44vw, 520px); }
  .v-c .c-grind-expanded .grinder-models {
    grid-template-columns: 1fr 1fr;
    gap: clamp(10px, 1.6svh, 16px) clamp(14px, 1.8vw, 22px);
    margin-top: clamp(10px, 2svh, 20px);
  }
  .v-c .c-grind-expanded .grinder-models span {
    font-size: clamp(11px, 1.55svh, 12.5px);
    line-height: 1.35;
  }
}

/* Variant C Dark theme */
html[data-theme="dark"] .v-c .c-bar-status,
html[data-theme="dark"] .v-c .c-lot-cheat,
html[data-theme="dark"] .v-c .c-cheat-card,
html[data-theme="dark"] .v-c .c-cheat-foot,
html[data-theme="dark"] .v-c .c-need-hall,
html[data-theme="dark"] .v-c .c-meetup-scenarios,
html[data-theme="dark"] .v-c .c-scenario-col,
html[data-theme="dark"] .v-c .c-booking-wrap,
html[data-theme="dark"] .v-c .c-arrive,
html[data-theme="dark"] .v-c .c-arrive-grid,
html[data-theme="dark"] .v-c .c-arrive-rules,
html[data-theme="dark"] .v-c .c-lots-table-sec,
html[data-theme="dark"] .v-c .c-table th,
html[data-theme="dark"] .v-c .c-table td,
html[data-theme="dark"] .v-c .c-table thead th,
html[data-theme="dark"] .v-c .c-machines,
html[data-theme="dark"] .v-c .c-machine-card {
  border-color: rgba(241, 235, 227, 0.14);
}

/* Variant C Mobile (390x844 & narrow screens) */
@media (max-width: 768px) {
  .v-c .c-reasons,
  .v-c .c-lot-cheat,
  .v-c .c-hall-cover,
  .v-c .c-meetup-scenarios,
  .v-c .c-craft-hero,
  .v-c .c-lots-table-sec,
  .v-c .c-machines {
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .v-c .c-reasons,
  .v-c .c-lot-cheat,
  .v-c .c-lots-table-sec,
  .v-c .c-machines {
    padding: calc(48px + 28px) var(--pad) 44px;
  }
  .v-c .c-invite-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .v-c .c-bar-status { padding: calc(48px + 18px) var(--pad) 16px; }
  .v-c .c-bar-status-inner { align-items: flex-start; gap: 12px; }
  .v-c .c-bar-menu { padding-top: 20px; }

  .v-c .c-cheat-head h2,
  .v-c .c-meetup-scenarios h2,
  .v-c .c-arrive-head h2,
  .v-c .c-lots-table-sec h2,
  .v-c .c-machines-copy h2 { font-size: clamp(26px, 7.6vw, 40px); }
  .v-c .c-cheat-grid { grid-template-columns: 1fr; gap: 22px; height: auto; }
  .v-c .c-cheat-card { height: auto; }
  .v-c .c-cheat-media { flex: none; aspect-ratio: 16 / 9; }

  .v-c .c-hall-cover { padding: calc(48px + 20px) 0 28px; }
  .v-c .c-hall-cover .hall-media { flex: none; height: auto; aspect-ratio: 16 / 10; }
  .v-c .c-meetup-scenarios { padding: 36px 0; }
  .v-c .c-scenario-cols { grid-template-columns: 1fr; gap: 16px; }
  .v-c .c-scenario-photos { grid-template-columns: 1fr; gap: 10px; height: auto; }
  .v-c .c-scenario-photos figure { height: auto; aspect-ratio: 16 / 10; }

  .v-c .c-arrive { padding: 44px var(--pad); }
  .v-c .c-arrive-grid { grid-template-columns: 1fr; gap: 24px; }
  .v-c .c-arrive-rules {
    border-left: 0;
    border-top: 1px solid rgba(30, 26, 22, 0.14);
    padding-left: 0;
    padding-top: 20px;
  }
  html[data-theme="dark"] .v-c .c-arrive-rules {
    border-top-color: rgba(241, 235, 227, 0.14);
  }

  .v-c .c-craft-hero { padding: calc(48px + 22px) var(--pad) 40px; }
  .v-c .c-craft-hero-media,
  .v-c .c-machines-media { max-height: none; height: auto; aspect-ratio: 4 / 3; width: 100%; }
  .v-c .c-machine-list { grid-template-columns: 1fr; gap: 16px; }

  .v-c .c-table,
  .v-c .c-table thead,
  .v-c .c-table tbody { display: block; width: 100%; font-size: 13px; }
  .v-c .c-table thead tr,
  .v-c .c-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    border-bottom: 1px solid rgba(30, 26, 22, 0.12);
    padding: 8px 0;
  }
  html[data-theme="dark"] .v-c .c-table thead tr,
  html[data-theme="dark"] .v-c .c-table tbody tr {
    border-bottom-color: rgba(241, 235, 227, 0.14);
  }
  .v-c .c-table thead th:first-child { display: none; }
  .v-c .c-table th,
  .v-c .c-table td { border-bottom: 0; padding: 2px 0; width: auto; }
  .v-c .c-table tbody th {
    grid-column: 1 / -1;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 11px;
    font-weight: 400;
    opacity: 0.58;
    padding-bottom: 3px;
  }
}

@media (min-width: 769px) {
  .motion-pin,
  .beans {
    padding-top: calc(56px + clamp(20px, 3.6svh, 44px));
  }
}

/* 30.11: композиция героя не прыгает при перелистывании — верх блока закреплён (раньше центр по высоте блока, а у напитков разное число строк). */
@media (min-width: 769px) {
  .hero-info { top: clamp(140px, 33svh, 330px); transform: none; }
}

/* ===== Round s11: Location photos & Astana vector map ===== */
.city-map {
  --map-bg: #ECE7DF;
  --map-border: rgba(30, 26, 22, 0.11);
  --map-park: #DFE4D7;
  --map-water: #CBE2F0;
  --map-river: #BDDCF0;
  --map-road-b: #DDD6CA;
  --map-road-a: #CFC6B7;
  --map-label: rgba(30, 26, 22, 0.44);
  --map-river-label: rgba(0, 95, 160, 0.58);
  --map-pin-rim: #FAF8F5;
  --map-pin-pulse: rgba(0, 153, 255, 0.26);
  --map-pill-bg: rgba(250, 248, 245, 0.94);
  --map-pill-border: rgba(30, 26, 22, 0.13);
  --map-pill-ink: #1E1A16;
  --map-pill-sub: #0077C8;
  --map-btn-bg: rgba(250, 248, 245, 0.9);
  --map-btn-border: rgba(30, 26, 22, 0.15);
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--map-bg);
  border: 1px solid var(--map-border);
  contain: layout paint;
}
html[data-theme="dark"] .city-map {
  --map-bg: #181613;
  --map-border: rgba(241, 235, 227, 0.11);
  --map-park: #1D221B;
  --map-water: #162634;
  --map-river: #1C364C;
  --map-road-b: #27231E;
  --map-road-a: #37312B;
  --map-label: rgba(241, 235, 227, 0.36);
  --map-river-label: rgba(116, 184, 235, 0.54);
  --map-pin-rim: #181613;
  --map-pin-pulse: rgba(0, 153, 255, 0.32);
  --map-pill-bg: rgba(24, 22, 19, 0.92);
  --map-pill-border: rgba(241, 235, 227, 0.16);
  --map-pill-ink: #F1EBE3;
  --map-pill-sub: #4CB5FF;
  --map-btn-bg: rgba(24, 22, 19, 0.88);
  --map-btn-border: rgba(241, 235, 227, 0.16);
}
.city-map-svg {
  display: block;
  width: 100%;
  height: 100%;
  user-select: none;
  cursor: grab;
  touch-action: pan-y;
}
.city-map-svg.is-dragging { cursor: grabbing; }
.city-map-svg .map-park { fill: var(--map-park); stroke: none; }
.city-map-svg .map-water { fill: var(--map-water); stroke: none; }
.city-map-svg .map-river {
  fill: none;
  stroke: var(--map-river);
  stroke-width: 10px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.city-map-svg .map-road-b {
  fill: none;
  stroke: var(--map-road-b);
  stroke-width: 1.1px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.city-map-svg .map-road-a {
  fill: none;
  stroke: var(--map-road-a);
  stroke-width: 2.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.city-map-svg .map-label {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  fill: var(--map-label);
  pointer-events: none;
  user-select: none;
}
.city-map-svg .map-label--river {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.08em;
  font-size: 11px;
  fill: var(--map-river-label);
}
.city-map-svg .map-pin,
.city-map-svg .map-pin:focus-visible {
  cursor: pointer;
  outline: none;
}
.city-map-svg .map-pin-badge {
  transform-origin: 0 0;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}
.city-map-svg .map-pin:hover .map-pin-badge,
.city-map-svg .map-pin:focus-visible .map-pin-badge,
.city-map-svg .map-pin.is-active .map-pin-badge {
  transform: scale(1.1);
}
.city-map-svg .map-pin:focus-visible .map-pin-core {
  stroke: var(--ink);
  stroke-width: 3px;
}
.city-map-svg .map-pin-pulse {
  fill: var(--map-pin-pulse);
  transform-origin: 0 0;
  opacity: 0;
}
.city-map-svg .map-pin--primary .map-pin-pulse {
  animation: map-pin-pulse 3s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.city-map-svg .map-pin:hover .map-pin-pulse,
.city-map-svg .map-pin.is-active .map-pin-pulse {
  opacity: 0.55;
  transform: scale(1.18);
  animation: none;
}
@keyframes map-pin-pulse {
  0% { transform: scale(0.74); opacity: 0.55; }
  72% { transform: scale(1.36); opacity: 0; }
  100% { transform: scale(1.36); opacity: 0; }
}
.city-map-svg .map-pin-core {
  fill: #0099FF;
  stroke: var(--map-pin-rim);
  stroke-width: 2.5px;
}
.city-map-svg .map-pin-mark path { fill: #FFFFFF; }
.city-map-svg .map-pin-pill {
  fill: var(--map-pill-bg);
  stroke: var(--map-pill-border);
  stroke-width: 1px;
  transition: stroke 0.2s ease;
}
.city-map-svg .map-pin:hover .map-pin-pill,
.city-map-svg .map-pin:focus-visible .map-pin-pill,
.city-map-svg .map-pin.is-active .map-pin-pill {
  stroke: #0099FF;
}
.city-map-svg .map-pin-text {
  font-family: var(--body);
  font-size: 11.5px;
  fill: var(--map-pill-ink);
  user-select: none;
}
.city-map-svg .map-pin-name { font-weight: 600; }
.city-map-svg .map-pin-sep { opacity: 0.45; }
.city-map-svg .map-pin-sub { fill: var(--map-pill-sub); font-weight: 500; }

.city-map-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.city-map-btn {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid var(--map-btn-border);
  background: var(--map-btn-bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: opacity 0.2s, border-color 0.2s;
}
.city-map-btn:hover { border-color: var(--blue); color: var(--blue); }
.city-map-btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Location card photo */
.location-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(30, 26, 22, 0.06);
  contain: layout paint;
}
.location-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 0.2s;
}
html[data-theme="dark"] .location-photo {
  background: rgba(241, 235, 227, 0.06);
}
.location-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.location-photo--alem img {
  object-position: 54% 40%;
}

/* Home pages (#locations on index.html and v/a|b|c/): map + 2 photo cards in one 1000x560 viewport. */
.locations:not(.locations--page) {
  height: 100svh;
  min-height: 540px;
  max-height: none;
  padding: calc(56px + clamp(12px, 2.2svh, 28px)) var(--pad) clamp(14px, 2.6svh, 28px);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(12px, 2.2svh, 24px);
  align-items: stretch;
  overflow: hidden;
  contain: none;
  content-visibility: visible;
}
.locations:not(.locations--page) .locations-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 24px;
}
.locations:not(.locations--page) .locations-head-copy { min-width: 0; }
.locations:not(.locations--page) .section-label {
  margin-bottom: clamp(4px, 0.8svh, 8px);
  opacity: 0.65;
}
.locations:not(.locations--page) h2 {
  font-size: clamp(24px, min(3.8vw, 6svh), 56px);
  line-height: 0.98;
}
.locations:not(.locations--page) .locations-more {
  margin-top: 0;
  flex-shrink: 0;
}
.locations-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.14fr);
  gap: clamp(14px, 2vw, 28px);
  min-height: 0;
  height: 100%;
  align-items: stretch;
}
.locations:not(.locations--page) .location-list {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(10px, 1.8svh, 18px);
  border-top: 0;
  padding-top: 0;
  min-height: 0;
  height: 100%;
}
.locations:not(.locations--page) .location {
  display: grid;
  grid-template-columns: clamp(112px, 13.5vw, 184px) minmax(0, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
  align-items: stretch;
  padding: clamp(10px, 1.6svh, 16px) 0 0;
  border-top: 1px solid rgba(30, 26, 22, 0.14);
  border-left: 0;
  padding-left: 0;
  min-height: 0;
  transition: border-color 0.2s;
}
.locations:not(.locations--page) .location:first-child {
  padding-top: 0;
  border-top: 0;
}
.locations:not(.locations--page) .location + .location {
  border-left: 0;
  padding-left: 0;
  border-top: 1px solid rgba(30, 26, 22, 0.14);
}
html[data-theme="dark"] .locations:not(.locations--page) .location,
html[data-theme="dark"] .locations:not(.locations--page) .location + .location {
  border-top-color: rgba(241, 235, 227, 0.14);
}
.locations .location.is-active .location-photo::after {
  border-color: var(--blue);
}
.locations .location.is-active h2,
.locations .location.is-active h3 {
  color: var(--blue);
}
.locations:not(.locations--page) .location-photo {
  height: 100%;
  min-height: 0;
}
.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.locations:not(.locations--page) .location-top {
  margin-bottom: clamp(4px, 0.8svh, 8px);
  gap: 8px;
}
.locations:not(.locations--page) .location h3 {
  font-size: clamp(19px, min(2.2vw, 3.6svh), 30px);
  line-height: 1.05;
}
.locations:not(.locations--page) .location p {
  font-size: clamp(12.5px, 1.7svh, 14.5px);
  line-height: 1.35;
}
.location-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 14px;
  margin-top: clamp(4px, 0.9svh, 10px);
}
.locations:not(.locations--page) .location .hours {
  font-size: clamp(13.5px, 2svh, 17px);
  margin: 0;
}
.locations:not(.locations--page) .hours small {
  font-size: 11px;
  margin-left: 6px;
}
.locations:not(.locations--page) .location .machine {
  margin-top: 0;
  font-size: clamp(11.5px, 1.5svh, 13px);
}
.locations:not(.locations--page) .location .access-note {
  margin-top: clamp(3px, 0.6svh, 6px);
  font-size: clamp(11.5px, 1.5svh, 13px);
  line-height: 1.32;
}
.locations:not(.locations--page) .location-actions {
  margin-top: clamp(6px, 1.2svh, 12px);
  gap: 6px;
}
.locations:not(.locations--page) .loc-btn {
  min-height: 30px;
  padding: 4px 10px;
  font-size: 12px;
}

/* Dedicated places pages (v/a/places/, v/b/places/, v/c/work-meet/#locations): larger full-width map + 2 photo cards below. */
.locations--page .city-map--large {
  height: clamp(270px, 44svh, 440px);
}
.places-cards .location {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.8svh, 16px);
}
.places-cards .location-photo {
  width: 100%;
  aspect-ratio: 1 / 1; /* 30.11: выше, квадрат — исходники вертикальные */
  max-height: none;
}
/* обе карточки одной ширины, разделитель по центру */
@media (min-width: 769px) {
  .places-cards { column-gap: 0; }
  .places-cards .location:first-child { padding-right: clamp(20px, 3.5vw, 48px); }
}
/* кадр: олива целиком + стол; стойка Alem.ai с экраном и логотипом */
.location[data-place="altyn-adam"] .location-photo img { object-position: 50% 38%; }
.location[data-place="alemai"] .location-photo img,
.location-photo--alem img { object-position: 50% 88%; }
.places-cards .location-info {
  justify-content: flex-start;
}

@media (max-width: 768px) {
  .locations:not(.locations--page) {
    height: auto;
    min-height: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: var(--section-top) var(--pad) 56px;
  }
  .locations:not(.locations--page) .locations-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .locations:not(.locations--page) h2 {
    font-size: clamp(28px, 8vw, 42px);
  }
  .locations-stage {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto;
  }
  .city-map,
  .locations--page .city-map--large {
    height: 224px;
    min-height: 224px;
  }
  .city-map-svg { cursor: default; }
  .city-map-controls { display: none; }
  .locations:not(.locations--page) .location-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: auto;
  }
  .locations:not(.locations--page) .location,
  .locations:not(.locations--page) .location + .location {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0 0;
    border-top: 1px solid rgba(30, 26, 22, 0.14);
  }
  .locations:not(.locations--page) .location:first-child {
    padding-top: 0;
    border-top: 0;
  }
  html[data-theme="dark"] .locations:not(.locations--page) .location,
  html[data-theme="dark"] .locations:not(.locations--page) .location + .location {
    border-top-color: rgba(241, 235, 227, 0.14);
  }
  .locations:not(.locations--page) .location-photo,
  .places-cards .location-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: none;
  }
  .locations:not(.locations--page) .location h3 { font-size: 26px; }
  .locations:not(.locations--page) .location p { font-size: 14px; }
  .locations:not(.locations--page) .location .hours { font-size: 17px; }
  .locations:not(.locations--page) .location .access-note,
  .locations:not(.locations--page) .location .machine { font-size: 13px; }
  .locations:not(.locations--page) .loc-btn { min-height: 36px; padding: 6px 12px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .city-map-svg .map-pin-pulse { animation: none !important; opacity: 0.22; transform: none; }
  .city-map-svg .map-pin-badge { transition: none !important; }
}

/* 30.11: контурная иконка локации у адресов (толщина штриха ≈ толщине букв рядом). */
.mg-place-addr { position: relative; }
.mg-place-addr { display: inline-flex; align-items: center; gap: 0.45em; }
.mg-place-addr::before {
  content: ""; flex: none; width: 1.05em; height: 1.05em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-5.6-6.5-11a6.5 6.5 0 0 1 13 0c0 5.4-6.5 11-6.5 11z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 30.11: иконка Instagram в подвале (контур, толщина как у букв). */
.footer .instagram span { display: inline-flex; align-items: center; gap: 0.32em; }
.footer .instagram span::before {
  content: ""; flex: none; width: 0.92em; height: 0.92em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.2' y='3.2' width='17.6' height='17.6' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4.1'/%3E%3Ccircle cx='17.3' cy='6.7' r='0.6' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.2' y='3.2' width='17.6' height='17.6' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4.1'/%3E%3Ccircle cx='17.3' cy='6.7' r='0.6' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* 30.11: сочное фото справа от логотипа в подвале */
.footer { position: relative; }
.footer-photo { position: absolute; right: var(--pad); bottom: clamp(56px, 9svh, 96px); width: min(24vw, 300px); aspect-ratio: 3 / 4; margin: 0; border-radius: 8px; overflow: hidden; }
.footer-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 768px) { .footer-photo { position: static; width: 46vw; margin: 18px 0 0 auto; } }

/* 30.11: «История 9» — текст основателя из Instagram */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.story-main h2 { margin-bottom: clamp(16px, 3svh, 32px); }
.story-lead { font-size: clamp(18px, 2.6svh, 24px); line-height: 1.4; max-width: 34ch; margin-bottom: clamp(14px, 2.4svh, 24px); }
.story-text { font-size: 15px; line-height: 1.55; max-width: 46ch; opacity: .78; margin-top: 10px; }
.story-side { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.4vw, 32px); }
.story-photo { grid-column: 1 / -1; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-why-label { font-size: 13px; opacity: .6; margin-bottom: 10px; }
.story-why ol { list-style: none; margin: 0; padding: 0; counter-reset: why; }
.story-why li { counter-increment: why; position: relative; padding: 9px 0 9px 32px; border-top: 1px solid rgba(30, 26, 22, .14); font-size: 15px; line-height: 1.4; }
.story-why li::before { content: '0' counter(why); position: absolute; left: 0; top: 11px; font-family: var(--mono, monospace); font-size: 12px; color: var(--blue); }
.story-nopathos { margin-top: 14px; font-size: 14px; line-height: 1.45; opacity: .7; }
.story-ps { background: var(--ink); color: #F4EFE8; border-radius: 6px; padding: clamp(18px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 12px; }
.story-ps h3 { font-size: clamp(19px, 2.6svh, 24px); line-height: 1.15; }
.story-ps p { font-size: 14px; line-height: 1.5; opacity: .82; }
.story-ps .v-link { color: #4DB3FF; margin-top: auto; }
.story-tagline { grid-column: 1 / -1; font-size: 13px; opacity: .55; letter-spacing: .02em; }
html[data-theme="dark"] .story-why li { border-top-color: rgba(241, 235, 227, .14); }
html[data-theme="dark"] .story-ps { background: #F1EBE3; color: #1E1A16; }
html[data-theme="dark"] .story-ps .v-link { color: var(--blue); }
@media (max-width: 768px) {
  .story { grid-template-columns: 1fr; gap: 24px; }
  .story-side { grid-template-columns: 1fr; }
}
.story-main h2 { font-size: min(5.2vw, 9.5svh); }
@media (max-width: 768px) { .story-main h2 { font-size: clamp(28px, 8vw, 42px); } }
.story-tagline { margin-top: clamp(18px, 4svh, 48px); }
/* 30.11: логотип в подвале меньше */
.footer-word { height: min(20svh, 15vw); }
@media (max-width: 768px) { .footer-word { height: 16vw; } }
.bk-step[hidden] { display: none !important; }

/* 30.11 — мобильная шапка (меню-кнопка), плавные смены кадров, без скачков при прокрутке. */
.mnav-btn, .mnav { display: none; }
.header { transition: background-color .3s ease; }
/* Заставка и покадровая анимация сменяют друг друга мягко, а не щелчком. */
.craft-poster, .craft-canvas, .pressure-photo, .pressure-canvas, .anatomy-photo, .finale-poster, .finale-canvas { transition: opacity .35s ease; }
@media (max-width: 768px) {
  body .header.has-burger {
    height: 52px;
    padding: 0 8px 0 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: 52px;
    gap: 4px;
    align-items: center;
    row-gap: 0;
  }
  html body .header.has-burger nav { display: none; }
  body .header.has-burger .brand, body .header.has-burger .brand img { width: 72px; height: 28px; grid-column: 1; grid-row: 1; }
  body .header.has-burger .languages { display: none; }
  .header.has-burger .mnav-btn {
    display: grid; place-content: center; gap: 6px;
    grid-column: 2; grid-row: 1;
    width: 44px; height: 44px; padding: 0;
  }
  .mnav-btn span {
    display: block; width: 22px; height: 1.6px; border-radius: 2px;
    background: currentColor;
    transition: transform .25s ease;
  }
  .mnav-btn[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .mnav-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  html.mnav-open, html.mnav-open body { overflow: hidden; }
  html.mnav-open .header { background: var(--base); }
  .mnav {
    display: flex; flex-direction: column; justify-content: space-between;
    position: fixed; inset: 52px 0 0; z-index: 49;
    padding: 28px 24px calc(28px + env(safe-area-inset-bottom));
    background: var(--base); color: var(--ink);
    opacity: 0; transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease;
  }
  .mnav[hidden] { display: none; }
  .mnav.is-open { opacity: 1; transform: none; }
  .mnav-links { display: flex; flex-direction: column; }
  .mnav-links a {
    font-family: var(--heading); font-size: 32px; font-weight: 500; line-height: 1.1;
    padding: 14px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  }
  .mnav-links a[aria-current="page"] { color: var(--blue); }
  .mnav-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .mnav-bottom .theme-toggle { --tg-w: 96px; --tg-h: 50px; --tg-thumb: 42px; --tg-icon: 22px; --tg-pad: 3px; --tg-shift: calc(var(--tg-w) - 2px - var(--tg-pad) * 2 - var(--tg-thumb)); --tg-icon-inset: calc(var(--tg-pad) + (var(--tg-thumb) - var(--tg-icon)) / 2); display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 0; border: 0; flex: none; }
  .mnav-langs { display: flex; gap: 8px; }
  .mnav-langs button {
    min-width: 56px; height: 44px; padding: 0 14px; border-radius: 999px;
    font-size: 14px; letter-spacing: .04em;
    border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
    opacity: .7;
  }
  .mnav-langs button[aria-pressed="true"] { opacity: 1; background: var(--ink); color: var(--base); border-color: var(--ink); }
  /* Высота блока «Кофейни» на телефоне не 100svh: без отложенной отрисовки полоса прокрутки не прыгает. */
  .locations { content-visibility: visible; contain-intrinsic-size: none; }
}
@media (prefers-reduced-motion: reduce) {
  .mnav, .mnav-btn span, .header { transition: none; }
}

/* 30.11 — на телефоне фото и ролики от края до края экрана (без боковых полей и скруглений). */
@media (max-width: 768px) {
  html, body { overflow-x: clip; }
  .intent-media-stage, .people-mosaic, .story-photo, .lot-still,
  .craft-media, .pressure-media, .teaser-frame, .city-map, .location-photo,
  .place-photos-grid, .space-hero-media, .format-media {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    border-radius: 0 !important;
  }
  .people-mosaic .people-shot, .place-photos-grid .place-photo,
  .people-mosaic img, .place-photos-grid img { border-radius: 0 !important; }
}

/* 30.11 — карточки меню: фото по своему размеру и с мягко растворёнными краями, чтобы тень не обрезалась резкой линией. */
.menu-thumb img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 78%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 6%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 12%, #000 78%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 6%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

/* Стоп-лист из админки (9coffee-admin): позиция есть в меню, но сегодня нет */
.mg-card.is-soldout .mg-thumb img,.mg-card.is-soldout .menu-typo-top{opacity:.45;filter:grayscale(.6)}
.mg-card.is-soldout .price{opacity:.5;text-decoration:line-through}
.mg-soldout{font-size:12px;margin:2px 0 0;color:#1E1A16;opacity:.7}
html[data-theme="dark"] .mg-soldout{color:inherit}

/* 30.11 — «Больше, чем кофейня» сокращён: фото и P.S. в правой колонке, без списка «Зачем приходить». */
.story-side { grid-template-columns: 1fr; align-content: start; }
.story-ps { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.story-ps h3 { flex: 1 1 100%; }
.story-ps p { flex: 1 1 260px; }
.story-ps .v-link { margin-top: 0; white-space: nowrap; }
