:root {
  --black: #0b0908;
  --coffee: #21150f;
  --cream: #f3e9dc;
  --paper: #fbf6ee;
  --orange: #d67908;
  --orange-bright: #f39a24;
  --muted: #a89e93;
  --header-h: 94px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

a:focus-visible {
  outline: 3px solid var(--orange-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--paper);
  color: var(--coffee);
  border-radius: 4px;
  font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 76px);
  background: linear-gradient(#0b0908f0, #0b090826);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.brand-logo {
  display: block;
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.topbar nav a { opacity: .82; transition: opacity .2s; }
.topbar nav a:hover { opacity: 1; }
.vk-link {
  padding: 9px 12px;
  border: 1px solid #ffffff4d;
  border-radius: 99px;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 760px;
  height: 92svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 42%, #4d2c18 0, #4d2c186b 24%, transparent 50%),
    linear-gradient(118deg, #060504 0%, #130d09 56%, #070504 100%);
}

.hero-owl {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 2.5%;
  width: auto;
  height: 74%;
  object-fit: contain;
  opacity: .96;
  filter: saturate(.88) contrast(1.03);
}

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, #050403fa 0%, #050403e0 42%, #05040324 72%, #0504033d 100%),
    linear-gradient(transparent 54%, #050403a6);
}

.hero-grid {
  position: absolute;
  inset: var(--header-h) 3.4vw 5vh;
  pointer-events: none;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
}
.hero-grid::after {
  content: "";
  position: absolute;
  top: 38%;
  right: 52%;
  left: 0;
  height: 2px;
  background: var(--orange);
  opacity: .8;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, 80vw);
  margin-left: clamp(24px, 8vw, 124px);
  padding-top: 52px;
}

.eyebrow, .kicker {
  margin: 0 0 18px;
  color: var(--orange-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(66px, 8.2vw, 132px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.06em;
}
.hero h1 span {
  display: block;
  margin-left: clamp(24px, 5vw, 74px);
  color: var(--orange-bright);
  font-style: italic;
}

.hero-text {
  max-width: 515px;
  margin: 38px 0 0;
  color: #d5ccc3;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  transition: transform .2s, background .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #130d08; }
.button-ghost { border: 1px solid #ffffff73; background: #00000038; }

.scroll-note {
  position: absolute;
  z-index: 3;
  right: 5vw;
  bottom: 7vh;
  color: #c9bfb4;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-note span { margin-top: 10px; color: var(--orange-bright); }

.section { padding: 112px clamp(24px, 6vw, 92px); }
.section-heading { max-width: 680px; }

.section-heading h2,
.values-copy h2 {
  margin: 0;
  color: var(--coffee);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

.section-heading > p:last-child {
  max-width: 570px;
  margin: 22px 0 0;
  color: #71665d;
  font-size: 17px;
  line-height: 1.65;
}

.locations { background: var(--paper); color: var(--coffee); }
.location-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 58px;
}

.location-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #d8cab9;
  background: #f7efe5;
}

.location-index {
  color: var(--orange);
  font-family: Georgia, serif;
  font-style: italic;
}
.location-card h3 {
  min-height: 84px;
  max-width: 300px;
  margin: 44px 0 16px;
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  line-height: 1;
}
.address { margin: 0; font-size: 18px; }
.hours { margin: 11px 0 0; color: #756a61; font-size: 14px; line-height: 1.5; }
.card-footer { margin-top: auto; }

.yandex-badge {
  display: flex;
  min-height: 62px;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 20px #2a180c14;
  transition: box-shadow .2s;
}
.yandex-badge:hover { box-shadow: 0 8px 24px #2a180c26; }
.ya-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #ffdf00;
  color: #111;
  font-weight: 800;
}
.ya-copy { display: flex; flex-direction: column; gap: 2px; }
.ya-copy small { color: #777; font-size: 10px; }
.ya-copy strong { color: #171717; font-size: 15px; }
.ya-votes { margin-left: auto; color: #858585; font-size: 11px; }

.route-link {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d2c5b6;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.route-link span { color: var(--orange); }

.menu-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e69c6d;
  color: #130d08;
}
.menu-section.section { padding-top: 72px; padding-bottom: 64px; }
.menu-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(#e69c6d14, #e69c6d14),
    url("coffee-menu-background.webp") 50% / cover no-repeat;
}
.menu-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}
.section-heading.inverted h2 { color: #130d08; }
.menu-section .section-heading.inverted h2 { font-size: clamp(42px, 4.3vw, 62px); }
.section-heading.inverted .kicker { color: #25160d; opacity: .65; }
.menu-lead { max-width: 420px; margin: 0 0 6px; font-size: 18px; line-height: 1.6; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid #23150c6b;
  border-radius: 34px;
  background: #f9efe4e0;
  box-shadow: 0 30px 80px #50250a2e;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.menu-card { padding: 26px 36px; border-right: 1px solid #23150c66; border-bottom: 1px solid #23150c66; }
.menu-card:nth-child(2n) { border-right: 0; }
.menu-card:nth-last-child(-n + 2) { border-bottom: 0; }
.menu-card-head { display: flex; align-items: flex-start; gap: 20px; }
.menu-card-head > span { color: #23150c80; font-family: Georgia, serif; font-style: italic; }
.menu-card h3 { margin: 0; font-family: Georgia, serif; font-size: 36px; font-weight: 400; line-height: 1; }
.menu-card-head p { margin: 5px 0 0; opacity: .64; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.menu-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.menu-card li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 6px 0;
  border-bottom: 1px dotted #23150c59;
  font-size: 16px;
}
.menu-card li > span { font-size: 22px; font-weight: 500; line-height: 1.18; }
.menu-card li strong { white-space: nowrap; font-size: 16px; font-variant-numeric: tabular-nums; }
.menu-disclaimer { margin: 20px 0 0; opacity: .62; font-size: 11px; }

.values {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  background: var(--black);
}
.love-photo-wrap { height: 660px; overflow: visible; }
.love-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(transparent 0%, #000 10% 82%, #000000b8 91%, transparent 100%);
  mask-image: linear-gradient(transparent 0%, #000 10% 82%, #000000b8 91%, transparent 100%);
}
.values-copy h2 { color: var(--cream); }
.value-list { margin-top: 50px; border-top: 1px solid #ffffff2b; }
.value-list > div {
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #ffffff2b;
}
.value-list span { grid-row: span 2; color: var(--orange-bright); font-family: Georgia, serif; font-style: italic; }
.value-list h3 { margin: 0; font-size: 25px; line-height: 1.15; }
.value-list p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

footer {
  display: flex;
  justify-content: space-between;
  padding: 32px clamp(24px, 6vw, 92px) 42px;
  border-top: 1px solid #ffffff26;
  color: #91877e;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mobile-dock { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .topbar { padding: 0 20px; }
  .brand-logo { width: 58px; height: 58px; flex-basis: 58px; }
  .topbar nav { gap: 16px; }
  .topbar nav > a:not(.vk-link) { display: none; }

  .hero { min-height: 700px; height: 86svh; }
  .hero-owl { top: 0; right: -22%; width: auto; height: 66%; opacity: .64; }
  .hero-shade {
    background:
      linear-gradient(90deg, #050403f7, #050403b8 68%, #0504036b),
      linear-gradient(transparent, #050403d9);
  }
  .hero-grid { inset: var(--header-h) 16px 28px; }
  .hero-copy { width: calc(100% - 48px); margin-left: 24px; padding-top: 20px; }
  .hero h1 { font-size: clamp(60px, 18vw, 92px); }
  .hero h1 span { margin-left: 0; }
  .hero-text { max-width: 390px; font-size: 16px; }
  .scroll-note { display: none; }

  .section { padding: 78px 20px; }
  .menu-section.section { padding-top: 64px; padding-bottom: 58px; }

  .location-grid { grid-template-columns: 1fr; }
  .location-card { min-height: 355px; }
  .location-card h3 { min-height: 0; }

  .menu-title-row { display: block; }
  .menu-lead { margin-top: 24px; }
  .menu-grid { grid-template-columns: 1fr; margin-top: 32px; border-radius: 24px; }
  .menu-card,
  .menu-card:nth-child(2n),
  .menu-card:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid #23150c66;
  }
  .menu-card:last-child { border-bottom: 0; }

  .values { grid-template-columns: 1fr; }
  .love-photo-wrap { max-width: 480px; height: 520px; }

  footer { padding-bottom: 92px; }

  .mobile-dock {
    position: fixed;
    z-index: 60;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 6px;
    border: 1px solid #ffffff29;
    border-radius: 14px;
    background: #140e0aeb;
    box-shadow: 0 8px 30px #0006;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .mobile-dock a {
    padding: 12px 5px;
    border-right: 1px solid #ffffff1f;
    text-align: center;
    font-size: 11px;
    letter-spacing: .07em;
    text-transform: uppercase;
  }
  .mobile-dock a:last-child { border-right: 0; color: var(--orange-bright); }
}

@media (max-width: 560px) {
  .hero-actions { max-width: 310px; flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .section-heading h2, .values-copy h2 { font-size: 43px; }
  .menu-card { padding: 30px 24px; }
  .menu-card h3 { font-size: 34px; }
  .menu-card li { font-size: 15px; line-height: 1.25; }
  .menu-card li > span { max-width: 65%; font-size: 19px; }
  .menu-card li strong { font-size: 15px; }
  .love-photo-wrap { height: 460px; }
  footer { flex-direction: column; gap: 16px; }
}

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