/* =========================================================
   BAZIKALO coffee — неофіційний концепт
   Mobile-first. Кольори — з фірмового стилю (темно-синій, білий),
   акцент — колір кавової ягоди.
   ========================================================= */

:root {
  --ink: #141E4F;
  --ink-deep: #0C1236;
  --ink-soft: #2A3566;
  --paper: #F3EFE7;
  --paper-2: #EAE4D8;
  --white: #FFFFFF;
  --cherry: #C23A2B;
  --cherry-hover: #A93022;
  --muted: #4B5479;
  --on-ink-muted: rgba(255, 255, 255, .68);
  --line: rgba(20, 30, 79, .14);
  --line-light: rgba(255, 255, 255, .16);

  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;

  --gutter: 16px;
  --container: 1280px;
  --radius: 18px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cherry); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--white); color: var(--ink); padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.serif { font-family: var(--f-serif); font-style: italic; font-weight: 500; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-family: var(--f-display); font-weight: 500;
  font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cherry);
}
.eyebrow--light { color: var(--on-ink-muted); }

.section-title {
  margin: 0;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.6rem, 11vw, 5.4rem);
  line-height: .95; letter-spacing: -.01em; text-transform: uppercase;
}
.section-title .serif {
  text-transform: none; font-size: 1.12em; letter-spacing: 0; color: var(--cherry);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border: 1.5px solid transparent; border-radius: 999px;
  font-family: var(--f-display); font-weight: 500; font-size: 16px;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease-out);
}
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.btn:active { transform: scale(.97); }
.btn--cherry { background: var(--cherry); color: var(--white); }
.btn--cherry:hover { background: var(--cherry-hover); }
.btn--ghost { border-color: var(--line-light); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn--navy { background: var(--ink); color: var(--white); }
.btn--navy:hover { background: var(--ink-soft); }
.btn[aria-busy="true"] { opacity: .75; pointer-events: none; }

/* ---------- Навігація ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter);
  color: var(--white);
  transition: background-color .35s, box-shadow .35s, padding .35s;
}
.nav.is-scrolled {
  background: rgba(12, 18, 54, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line-light);
  padding-block: 10px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__flower { width: 34px; height: 34px; color: var(--white); transition: transform .8s var(--ease-out); }
.nav__logo:hover .nav__flower { transform: rotate(72deg); }
.nav__word {
  display: flex; flex-direction: column; line-height: 1;
  font-family: var(--f-display); font-weight: 600; font-size: 19px; letter-spacing: .06em;
}
.nav__word small { font-family: var(--f-body); font-weight: 500; font-size: 10px; letter-spacing: .3em; opacity: .7; margin-top: 3px; }
.nav__links { display: none; }
.nav__cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--line-light); border-radius: 999px;
  font-family: var(--f-display); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: border-color .25s, background-color .25s;
}
.nav__cta:hover { border-color: var(--white); background: rgba(255,255,255,.06); }

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; flex-direction: column;
  background:
    radial-gradient(110% 60% at 90% 0%, rgba(194, 58, 43, .18), transparent 55%),
    radial-gradient(90% 60% at 0% 100%, #1D2A66 0%, transparent 60%),
    var(--ink-deep);
  color: var(--white);
  padding: 104px var(--gutter) 0;
}
.hero__lattice {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  color: rgba(255, 255, 255, .05);
  -webkit-mask-image: radial-gradient(80% 70% at 70% 35%, #000 20%, transparent 75%);
          mask-image: radial-gradient(80% 70% at 70% 35%, #000 20%, transparent 75%);
  animation: drift 60s linear infinite;
}
@keyframes drift { to { transform: translate3d(-48px, -48px, 0); } }
.hero__bigflower {
  position: absolute; z-index: -1; width: 150vw; height: 150vw; right: -75vw; top: 4%;
  color: rgba(255, 255, 255, .03); animation: spin 140s linear infinite;
}

.hero__inner {
  position: relative; width: 100%; max-width: var(--container); margin: 0 auto;
  flex: 1; display: flex; flex-direction: column; justify-content: center; padding-bottom: 36px;
}

.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3BD483; flex: none;
  box-shadow: 0 0 0 0 rgba(59, 212, 131, .6); animation: pulse 2s infinite;
}
.live-dot.is-closed { background: #9AA0B8; animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(59,212,131,0); } 100% { box-shadow: 0 0 0 0 rgba(59,212,131,0); } }

/* Заголовок: слова + фото-капсули в одному потоці */
.hero__title {
  margin: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: .02em .2em;
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(3.3rem, 15vw, 9.6rem);
  line-height: .9; letter-spacing: -.012em; text-transform: uppercase;
}
.hero__title .w { display: inline-block; overflow: hidden; padding: .02em 0 .05em; }
.hero__title .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease-out); }
.hero__title .br { display: none; }
.is-loaded .hero__title .w > span { transform: none; }
.is-loaded .hero__title .w:nth-of-type(2) > span { transition-delay: .08s; }
.is-loaded .hero__title .w:nth-of-type(3) > span { transition-delay: .16s; }
.is-loaded .hero__title .w:nth-of-type(4) > span { transition-delay: .24s; }
.is-loaded .hero__title .w:nth-of-type(5) > span { transition-delay: .32s; }

.hero__num {
  font-family: var(--f-serif); font-style: italic; font-weight: 600;
  font-size: 1.18em; line-height: 0; color: var(--cherry); letter-spacing: -.02em;
}

.pill {
  display: inline-block; flex: none; position: relative;
  width: 1.55em; height: .74em; border-radius: 999px; overflow: hidden;
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.2s var(--ease-out) .45s, width .6s var(--ease-out);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}
.pill img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.6s var(--ease-out) .45s; }
.pill--b { transition-delay: .55s; }
.pill--a img { object-position: 50% 72%; }
.pill--c { transition-delay: .65s; width: 1.1em; }
.pill--c img { object-position: 50% 60%; }
.is-loaded .pill { transform: none; }
.is-loaded .pill img { transform: none; }
.pill:hover { width: 1.9em; }
.pill--c:hover { width: 1.4em; }

/* Низ першого екрана */
.hero__foot {
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-light);
  display: grid; gap: 20px;
}
.hero__lead { margin: 0; max-width: 36ch; color: var(--on-ink-muted); font-size: 16px; }
.hero__motto { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 24px; line-height: 1.15; }
.hero__motto svg { width: 30px; height: 30px; flex: none; color: var(--cherry); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { flex: 1 1 auto; }

/* Біжучий рядок адрес */
.ticker {
  display: block; margin: 0 calc(var(--gutter) * -1); overflow: hidden;
  border-top: 1px solid var(--line-light); text-decoration: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker__track { display: flex; align-items: center; width: max-content; animation: marquee 70s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 10px; padding: 17px 0;
  font-family: var(--f-display); font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--on-ink-muted); white-space: nowrap; transition: color .25s;
}
.ticker:hover .ticker__item { color: var(--white); }
.ticker__item .live-dot { width: 6px; height: 6px; animation: none; }
.ticker__sep { width: 16px; height: 16px; margin: 0 22px; color: rgba(255,255,255,.3); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- КАРТА ---------- */
.finder { padding: 72px var(--gutter) 80px; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; }
.finder__head { margin-bottom: 28px; }
.finder__lead { margin: 16px 0 0; max-width: 46ch; color: var(--muted); }

.finder__tools { display: flex; flex-direction: column; gap: 14px; margin-bottom: 12px; }
.finder__tools .btn { width: 100%; }

.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: transparent;
  font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip span { opacity: .55; margin-left: 4px; font-weight: 500; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.finder__msg { min-height: 24px; margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.finder__msg b { color: var(--ink); }
.finder__msg.is-error { color: var(--cherry); }

.finder__grid { display: grid; gap: 16px; }
.finder__map { position: relative; }
#leaflet {
  height: 400px; border-radius: var(--radius); overflow: hidden;
  background: var(--paper-2); z-index: 0;
  box-shadow: 0 0 0 1px var(--line);
}

.hours {
  margin-top: 12px; padding: 16px 18px;
  background: var(--ink); color: var(--white); border-radius: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px;
}
.hours p { margin: 0; display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.hours span { color: var(--on-ink-muted); }
.hours b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours span { white-space: nowrap; }
.hours__title {
  grid-column: 1 / -1; margin-bottom: 6px !important;
  font-family: var(--f-display); letter-spacing: .14em; text-transform: uppercase; font-size: 12px !important;
  color: var(--on-ink-muted);
}
.hours__note { grid-column: 1 / -1; margin-top: 6px !important; font-size: 12px !important; color: var(--on-ink-muted); }

/* Список */
.spots { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: spot; }
.spot {
  position: relative; display: flex; align-items: stretch;
  background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 14px;
  transition: background-color .25s, border-color .25s, box-shadow .25s, opacity .3s;
}
.spot[hidden] { display: none; }
.spot::before {
  content: ""; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--cherry);
  transform: scaleY(0); transition: transform .3s var(--ease-out);
}
.spot:hover { background: var(--white); }
.spot.is-active { background: var(--white); border-color: rgba(20,30,79,.3); box-shadow: 0 10px 30px -18px rgba(20,30,79,.5); }
.spot.is-active::before { transform: scaleY(1); }

.spot__main {
  flex: 1; min-width: 0; display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 8px 14px 16px; border: 0; background: none; text-align: left; cursor: pointer;
  border-radius: 14px;
}
.spot__no { flex: none; width: 26px; padding-top: 2px; font-family: var(--f-display); font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.spot__body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.spot__name { font-family: var(--f-display); font-weight: 500; font-size: 19px; line-height: 1.2; letter-spacing: .01em; }
.spot__name i { font-style: normal; font-family: var(--f-body); font-weight: 700; font-size: 11px; letter-spacing: .06em; padding: 2px 7px; margin-left: 6px; border-radius: 999px; background: var(--cherry); color: var(--white); vertical-align: 3px; }
.spot__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--muted); }
.spot__status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #16794A; }
.spot__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.spot__status.is-closed { color: var(--muted); }
.spot__dist { font-weight: 700; color: var(--ink); }
.spot__note { font-size: 13px; line-height: 1.45; color: var(--muted); }

.spot__route {
  flex: none; display: grid; place-items: center; width: 52px;
  border-left: 1px solid var(--line); color: var(--ink); text-decoration: none;
  border-radius: 0 14px 14px 0;
  transition: background-color .25s, color .25s;
}
.spot__route svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.spot__route:hover { background: var(--ink); color: var(--white); }

/* Маркери Leaflet */
.pin { background: none; border: 0; }
.pin__dot {
  position: relative; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--white);
  box-shadow: 0 0 0 3px var(--white), 0 8px 18px -6px rgba(12,18,54,.6);
  transition: transform .3s var(--ease-out), background-color .3s;
}
.pin__dot svg { width: 20px; height: 20px; }
.pin__dot b {
  position: absolute; top: -6px; right: -8px; min-width: 20px; height: 20px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--cherry); color: var(--white); font: 700 11px/1 var(--f-body);
  box-shadow: 0 0 0 2px var(--white);
}
.pin:hover .pin__dot { transform: scale(1.1); }
.pin.is-active .pin__dot { background: var(--cherry); transform: scale(1.18); }
.pin.is-active .pin__dot b { background: var(--ink); }

.me { background: none; border: 0; }
.me span {
  display: block; width: 18px; height: 18px; border-radius: 50%;
  background: #2F7BF6; box-shadow: 0 0 0 4px var(--white), 0 0 0 0 rgba(47,123,246,.5);
  animation: me 2s infinite;
}
@keyframes me { 70% { box-shadow: 0 0 0 4px var(--white), 0 0 0 16px rgba(47,123,246,0); } 100% { box-shadow: 0 0 0 4px var(--white), 0 0 0 0 rgba(47,123,246,0); } }

.leaflet-container { font-family: var(--f-body); }
.leaflet-popup-content-wrapper { border-radius: 14px; box-shadow: 0 16px 40px -14px rgba(12,18,54,.45); }
.leaflet-popup-content { margin: 14px 16px; line-height: 1.45; }
.pop__name { display: block; font-family: var(--f-display); font-weight: 500; font-size: 18px; color: var(--ink); }
.pop__meta { display: block; margin: 2px 0 8px; font-size: 13px; color: var(--muted); }
.pop__link { font-weight: 700; font-size: 13px; color: var(--cherry) !important; text-decoration: none; }
.pop__link:hover { text-decoration: underline; }
.leaflet-control-attribution { font-size: 10px; }

/* ---------- Допоміжне ---------- */
.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; }
.section-title--light { color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper); }

/* ---------- МЕНЮ ---------- */
.menu {
  background: var(--paper-2);
  padding: 72px var(--gutter) 80px;
}
.menu__head, .menu__grid { max-width: var(--container); margin: 0 auto; }
.menu__head { margin-bottom: 32px; }
.menu__grid { display: grid; gap: 28px; }

.tabs {
  position: relative; display: flex; gap: 4px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 52px; padding: 0 14px; border: 0; background: none; cursor: pointer;
  font-family: var(--f-display); font-weight: 500; font-size: 18px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); transition: color .25s;
}
.tab:first-child { padding-left: 0; }
.tab:hover, .tab[aria-selected="true"] { color: var(--ink); }
.tabs__ink {
  position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; border-radius: 3px;
  background: var(--cherry); transition: transform .45s var(--ease-out), width .45s var(--ease-out);
}

.panel { animation: panelIn .5s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }

.items { list-style: none; margin: 0; padding: 0; }
.items li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.items__name { font-family: var(--f-display); font-weight: 500; font-size: 20px; line-height: 1.25; letter-spacing: .01em; min-width: 0; }
.items__name small { display: block; margin-top: 3px; font-family: var(--f-body); font-weight: 500; font-size: 13px; letter-spacing: 0; color: var(--muted); }
.items i { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(20,30,79,.25); transform: translateY(-6px); }
.items b { flex: none; font-family: var(--f-display); font-weight: 500; font-size: 22px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.items b::after { content: " ₴"; font-size: .7em; color: var(--muted); }
.menu__note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }

.season {
  position: relative; border-radius: 22px; overflow: hidden;
  background: var(--ink); color: var(--white);
  box-shadow: 0 30px 60px -30px rgba(12,18,54,.55);
}
.season__img { aspect-ratio: 4 / 4.2; overflow: hidden; }
.season__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.season:hover .season__img img { transform: scale(1.04); }
.season__body { padding: 22px 22px 26px; }
.season__tag {
  display: inline-block; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px;
  background: var(--cherry); font-family: var(--f-display); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.season__name { margin: 0 0 6px; font-family: var(--f-display); font-weight: 600; font-size: 34px; line-height: 1; text-transform: uppercase; }
.season__desc { margin: 0; color: var(--on-ink-muted); font-size: 15px; }

/* ---------- ОБСМАЖЧИКИ ---------- */
.roasters { background: var(--cherry); color: var(--white); padding: 34px 0 30px; overflow: hidden; }
.roasters__title {
  margin: 0 var(--gutter) 16px; text-align: center; text-wrap: balance;
  font-family: var(--f-display); font-size: 14px; letter-spacing: .16em; text-transform: uppercase;
}
.roasters__title .serif { text-transform: none; letter-spacing: 0; font-size: 1.5em; margin-right: 4px; }
.roasters__row { overflow: hidden; }
.roasters__track { display: flex; align-items: center; width: max-content; animation: marquee 40s linear infinite; }
.roasters__track span {
  font-family: var(--f-display); font-weight: 600; font-size: clamp(40px, 9vw, 88px); line-height: 1.05;
  text-transform: uppercase; white-space: nowrap;
}
.roasters__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); }
.roasters__track b { margin: 0 .6em; font-size: clamp(22px, 4vw, 40px); font-weight: 400; opacity: .7; }

/* ---------- ВИПІЧКА: сцена ---------- */
.bakery { background: var(--ink-deep); color: var(--white); overflow: hidden; }
.bakery .eyebrow { color: #E5735F; }

.stage { position: relative; isolation: isolate; min-height: 680px; display: flex; align-items: flex-end; }
.stage__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% 0%; height: 70%;
  -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,18,54,.1) 0%, rgba(12,18,54,0) 25%, rgba(12,18,54,.8) 62%, var(--ink-deep) 100%);
}
.stage__text { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 40px; }
.stage__title {
  margin: 0 0 18px;
  font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(3.6rem, 18vw, 10.5rem); line-height: .86; letter-spacing: -.01em;
}
.stage__title .serif { display: block; text-transform: none; letter-spacing: 0; color: #E5735F; font-size: .82em; line-height: 1; }
.stage__lead { margin: 0 0 26px; max-width: 38ch; color: var(--on-ink-muted); }

/* ---------- Стопка макаронс ---------- */
.macs { max-width: var(--container); margin: 0 auto; padding: 72px var(--gutter); display: grid; gap: 44px; }
.macs__kicker { margin: 0 0 14px; font-family: var(--f-display); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: #E5735F; }
.macs__title {
  margin: 0 0 16px; font-family: var(--f-display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(2.4rem, 9vw, 4.4rem); line-height: .95;
}
.macs__title .serif { text-transform: none; color: #E5735F; font-size: 1.05em; }
.macs__lead { margin: 0; max-width: 44ch; color: var(--on-ink-muted); }

.stack { list-style: none; margin: 0; padding: 0; font-size: 16px; display: flex; flex-direction: column; align-items: flex-start; }
.mac {
  position: relative; width: 7.4em; height: 3.1em; margin-top: -.35em;
  background: linear-gradient(var(--f), var(--f)) 50% 1.25em / 88% .62em no-repeat;
  transition: transform .45s var(--ease-out);
  cursor: default;
}
.mac::before, .mac::after {
  content: ""; position: absolute; left: 0; right: 0;
  background:
    radial-gradient(110% 80% at 30% 15%, rgba(255,255,255,.38), transparent 45%),
    radial-gradient(2px 2px at 20% 60%, rgba(0,0,0,.12) 60%, transparent 70%) 0 0 / 9px 7px,
    var(--c);
  box-shadow: inset 0 -.18em 0 rgba(0,0,0,.14), 0 .3em .6em -.3em rgba(0,0,0,.6);
}
.mac::before { top: 0; height: 1.3em; border-radius: 50% / 72% 72% 28% 28%; }
.mac::after { top: 1.78em; height: 1.2em; border-radius: 50% / 28% 28% 72% 72%; }
.mac:hover { transform: translateX(16px) rotate(-4deg); z-index: 2; }

.mac__label {
  position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--f-display); font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--on-ink-muted); transition: color .3s, transform .45s var(--ease-out);
}
.mac__label::before {
  content: ""; flex: none; width: 34px; height: 10px;
  background:
    radial-gradient(circle at 5px 50%, var(--c) 4px, transparent 4.5px),
    linear-gradient(currentColor, currentColor) 10px 50% / calc(100% - 10px) 1px no-repeat;
}
.mac:hover .mac__label { color: var(--white); transform: translate(6px, -50%); }

/* ---------- Вітрина ---------- */
.shelf { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 88px; }
.shelf__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.shelf__title { margin: 0; font-family: var(--f-display); font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted); }
.shelf__nav { display: none; gap: 10px; }
.round {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--line-light); background: none; color: var(--white); cursor: pointer;
  transition: background-color .25s, border-color .25s;
}
.round svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.round:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.shelf__track {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 28px;
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
  scrollbar-width: none; position: relative;
  background: linear-gradient(var(--line-light), var(--line-light)) 0 100% / 100% 1px no-repeat;
}
.shelf__track::-webkit-scrollbar { display: none; }
.card { flex: 0 0 72%; scroll-snap-align: start; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; transition: transform .8s var(--ease-out); }
.card:hover img { transform: translateY(-6px); }
.card p { margin: 14px 0 0; font-family: var(--f-display); font-weight: 500; font-size: 19px; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; }
.card small { display: block; margin-top: 4px; font-family: var(--f-body); font-size: 13px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--on-ink-muted); }
.card--more a {
  aspect-ratio: 4 / 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 20px; text-align: center; text-decoration: none; border-radius: 16px;
  border: 1.5px dashed var(--line-light); transition: background-color .3s, border-color .3s;
}
.card--more a:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.4); }
.card--more svg { width: 56px; height: 56px; color: #E5735F; }
.card--more span { font-family: var(--f-display); font-size: 22px; line-height: 1.2; text-transform: uppercase; }
.card--more b { font-size: 14px; color: #E5735F; }

/* ---------- ІСТОРІЯ ---------- */
.story { padding: 80px var(--gutter); }
.story__inner { max-width: var(--container); margin: 0 auto; display: grid; gap: 40px; }
.story__img { position: relative; margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; }
.story__img img { width: 100%; height: 100%; object-fit: cover; }
.story__img figcaption {
  position: absolute; left: 16px; top: 16px; padding: 7px 14px; border-radius: 999px;
  background: var(--ink); color: var(--white); font-family: var(--f-display); font-size: 14px; letter-spacing: .12em;
}
.story__lead { margin: 22px 0 0; max-width: 54ch; color: var(--muted); }
.story__lead b { color: var(--ink); }
.quote { margin: 28px 0; padding-left: 20px; border-left: 3px solid var(--cherry); }
.quote p { margin: 0; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 25px; line-height: 1.3; }
.facts { margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 12px; border-right: 1px solid var(--line); }
.facts div:nth-child(even) { padding-left: 16px; }
.facts dt { font-family: var(--f-display); font-weight: 500; font-size: 42px; line-height: 1; }
.facts dd { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.cupping { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); }
.cupping svg { width: 30px; height: 30px; flex: none; color: var(--cherry); }
.cupping p { margin: 0; font-size: 15px; line-height: 1.5; }
.cupping a { color: var(--cherry); font-weight: 700; }

/* ---------- ВІДГУКИ ---------- */
.reviews { background: var(--paper-2); padding: 80px var(--gutter); }
.reviews__head, .reviews__list { max-width: var(--container); margin: 0 auto; }
.reviews__head { margin-bottom: 32px; }
.reviews__list { list-style: none; padding: 0; display: grid; gap: 14px; }
.review {
  display: flex; flex-direction: column; gap: 14px; padding: 26px;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
}
.review--accent { background: var(--ink); color: var(--white); border-color: var(--ink); }
.stars { color: #E8A93A; letter-spacing: 3px; font-size: 16px; }
.review__text { margin: 0; font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: 24px; line-height: 1.3; }
.review__tag { margin: 0; align-self: flex-start; padding: 8px 12px; border-radius: 12px; background: var(--cherry); color: var(--white); font-size: 13px; font-weight: 600; line-height: 1.4; }
.review__reply { margin: 0; padding-left: 12px; border-left: 2px solid var(--line); font-size: 14px; color: var(--muted); }
.review__reply b { color: var(--ink); }
.review__who {
  margin: auto 0 0; padding-top: 6px; display: grid; grid-template-columns: 42px 1fr; column-gap: 12px; align-items: center;
  font-weight: 700; font-size: 15px; line-height: 1.3;
}
.review__who small { grid-column: 2; font-weight: 500; font-size: 12px; color: var(--muted); }
.review--accent .review__who small { color: var(--on-ink-muted); }
.ava {
  grid-row: span 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--white); font-family: var(--f-display); font-size: 15px; letter-spacing: .04em;
}
.review--accent .ava { background: var(--cherry); }

/* ---------- ВАКАНСІЇ ---------- */
.jobs { background: var(--ink-deep); color: var(--white); padding: 80px var(--gutter); }
.jobs .eyebrow { color: #E5735F; }
.jobs .section-title .serif { color: #E5735F; }
.jobs__inner { max-width: var(--container); margin: 0 auto; display: grid; gap: 36px; }
.jobs__lead { margin: 20px 0 0; max-width: 44ch; color: var(--on-ink-muted); }
.jobs__img { display: none; margin: 32px 0 0; border-radius: 20px; overflow: hidden; aspect-ratio: 5 / 4; }
.jobs__img img { width: 100%; height: 100%; object-fit: cover; }

.form { background: var(--white); color: var(--ink); border-radius: 24px; padding: 26px 20px; }
.form__title { margin: 0 0 22px; font-family: var(--f-display); font-weight: 600; font-size: 26px; line-height: 1.1; text-transform: uppercase; }
.field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 700; }
.field i { font-style: normal; color: var(--cherry); }
.field input[type="text"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  font: 500 16px/1.4 var(--f-body); color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.field__err { display: none; margin: 6px 0 0; font-size: 13px; font-weight: 600; color: var(--cherry); }
.field.is-invalid .field__err { display: block; }
.field.is-invalid input { border-color: var(--cherry); }
.opts { display: grid; gap: 8px; }
.opts label { margin: 0; cursor: pointer; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span {
  display: block; min-height: 48px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s;
}
.opts label:hover span { border-color: var(--ink); }
.opts input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.opts input:focus-visible + span { outline: 2px solid var(--cherry); outline-offset: 2px; }
.field.is-invalid .opts span { border-color: rgba(194,58,43,.6); }
.form__submit { width: 100%; margin-top: 4px; }
.form__note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.form__ok { display: flex; gap: 12px; align-items: center; margin-top: 16px; padding: 16px; border-radius: 14px; background: #E8F4EC; }
.form__ok[hidden] { display: none; }
.form__ok svg { width: 30px; height: 30px; flex: none; color: var(--cherry); }
.form__ok p { margin: 0; font-size: 15px; }

/* ---------- ПІДВАЛ ---------- */
.footer { background: var(--ink-deep); color: var(--white); padding: 64px var(--gutter) 28px; border-top: 1px solid var(--line-light); overflow: hidden; }
.footer__inner { max-width: var(--container); margin: 0 auto; }
.footer__top { display: flex; flex-direction: column; gap: 14px; }
.footer__logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.footer__logo svg { width: 44px; height: 44px; }
.footer__logo span { display: flex; flex-direction: column; font-family: var(--f-display); font-weight: 600; font-size: 26px; letter-spacing: .06em; line-height: 1; }
.footer__logo small { margin-top: 4px; font-family: var(--f-body); font-weight: 500; font-size: 11px; letter-spacing: .3em; opacity: .7; }
.footer__motto { margin: 0; font-size: 24px; color: var(--on-ink-muted); }
.footer__cols { display: grid; gap: 28px; margin: 44px 0 0; }
.footer__h { margin: 0 0 10px; font-family: var(--f-display); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-ink-muted); }
.footer__cols a { display: block; padding: 4px 0; text-decoration: none; transition: color .2s; }
.footer__cols a:hover { color: #E5735F; }
.footer__cols p:not(.footer__h) { margin: 6px 0 0; font-size: 14px; color: var(--on-ink-muted); }
.footer__word {
  margin: 48px 0 0; text-align: center; white-space: nowrap;
  font-family: var(--f-display); font-weight: 700; font-size: min(22.5vw, 300px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.2);
}
.footer__bottom {
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-light);
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  font-size: 13px; color: var(--on-ink-muted);
}
.footer__bottom p { margin: 0; }
.credit {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-light); color: var(--white); text-decoration: none; font-size: 14px;
  transition: background-color .25s, border-color .25s;
}
.credit b { margin-left: 5px; }
.credit:hover { background: var(--cherry); border-color: var(--cherry); }

/* ---------- Поява блоків ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.hero__foot .reveal:nth-child(1) { transition-delay: .5s; }
.hero__foot .reveal:nth-child(2) { transition-delay: .6s; }
.hero__foot .reveal:nth-child(3) { transition-delay: .7s; }
.reviews__list .reveal:nth-child(2) { transition-delay: .1s; }
.reviews__list .reveal:nth-child(3) { transition-delay: .2s; }

/* =========================================================
   ≥ 600px
   ========================================================= */
@media (min-width: 600px) {
  :root { --gutter: 28px; }
  .finder__tools { flex-direction: row; align-items: center; }
  .finder__tools .btn { width: auto; flex: none; }
  .chips { margin: 0; padding: 2px 0 4px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   ≥ 900px
   ========================================================= */
@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .nav { padding: 22px var(--gutter); }
  .nav__links { display: flex; gap: 34px; }
  .nav__links a {
    position: relative; text-decoration: none;
    font-family: var(--f-display); font-size: 15px; letter-spacing: .12em; text-transform: uppercase;
  }
  .nav__links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px;
    background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
  }
  .nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

  .hero { padding-top: 140px; }
  .hero__bigflower { width: 72vw; height: 72vw; right: -20vw; top: -12vw; }
  .hero__title .br { display: block; flex-basis: 100%; height: 0; }
  .hero__foot { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: 40px; margin-top: 48px; }
  .hero__lead { font-size: 17px; }
  .hero__motto { font-size: 28px; }
  .hero__actions .btn { flex: 0 0 auto; }

  .menu { padding-block: 120px; }
  .menu__head { margin-bottom: 48px; }
  .menu__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .items__name { font-size: 22px; }
  .items li { padding: 18px 0; }
  .season { position: sticky; top: 110px; transform: rotate(1.5deg); transition: transform .6s var(--ease-out); }
  .season:hover { transform: rotate(0); }

  .roasters { padding: 44px 0 40px; }

  .stage { min-height: min(100vh, 860px); align-items: center; }
  .stage__img { left: 38%; width: 62%; height: 100%; object-position: 50% 60%; -webkit-mask-image: none; mask-image: none; }
  .stage::after {
    background:
      linear-gradient(90deg, var(--ink-deep) 38%, rgba(12,18,54,.55) 52%, rgba(12,18,54,0) 72%),
      linear-gradient(0deg, var(--ink-deep), rgba(12,18,54,0) 22%);
  }
  .stage__text { padding-bottom: 0; }
  .stage__lead { font-size: 18px; }

  .macs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding-block: 120px; }
  .stack { font-size: 24px; padding-left: 24px; }
  .mac__label { font-size: 16px; }
  .mac__label::before { width: 84px; }

  .shelf__nav { display: flex; }
  .card { flex: 0 0 300px; }

  .story { padding-block: 120px; }
  .story__inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 80px; align-items: center; }
  .quote p { font-size: 30px; }
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts div, .facts div:nth-child(odd), .facts div:nth-child(even) { padding: 18px 16px; border-right: 1px solid var(--line); }
  .facts div:first-child { padding-left: 0; }
  .facts div:last-child { border-right: 0; }

  .reviews { padding-block: 120px; }
  .reviews__head { margin-bottom: 48px; }
  .reviews__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
  .review { padding: 32px; }
  .review--accent { transform: translateY(-16px); }
  .review--accent.reveal { transform: translateY(10px); }
  .review--accent.reveal.is-in { transform: translateY(-16px); }

  .jobs { padding-block: 120px; }
  .jobs__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
  .jobs__img { display: block; }
  .form { padding: 40px; }

  .footer { padding-top: 96px; }
  .footer__top { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }

  .finder { padding-block: 120px; }
  .finder__head { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 40px; margin-bottom: 36px; }
  .finder__head .eyebrow { grid-column: 1 / -1; margin-bottom: -18px; }
  .finder__lead { margin: 0 0 6px; }

  .finder__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  #leaflet { height: 640px; }
  .hours {
    position: absolute; left: 16px; bottom: 16px; z-index: 500; margin: 0;
    width: 230px; grid-template-columns: 1fr; box-shadow: 0 18px 40px -16px rgba(12,18,54,.6);
  }
  .spots { max-height: 640px; overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
}

@media (min-width: 1200px) {
  .hero__title { font-size: 9.4rem; }
}

/* Менше руху — для тих, хто так налаштував систему */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__title .w > span, .pill, .pill img { transform: none; }
}

/* Плитки OSM у фірмовій гамі: приглушено, тепло */
.leaflet-tile-pane { filter: grayscale(1) sepia(.18) brightness(1.03) contrast(.9); }
