/* ============================================
   SLOW. COFFEE — landing page styles
   ============================================ */

:root {
  --cream: #f3ede3;
  --cream-2: #faf6ee;
  --sand: #e9dfd0;
  --ink: #171310;
  --brown: #2c211a;
  --mocha: #4a3a2e;
  --accent: #b78a5e;
  --accent-soft: #e6c9a8;
  --line: rgba(23, 19, 16, 0.14);
  --line-light: rgba(243, 237, 227, 0.14);
  --header-h: 76px;
  --gutter: clamp(18px, 4.5vw, 48px);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

h1, h2, h3, p, dl, dd, blockquote, figure {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

svg {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

main:focus {
  outline: none;
}

.container {
  width: min(1200px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 0.75rem 1.1rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.8rem;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- Typography / shared ---------- */

.section {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  color: var(--mocha);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-index::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-title em,
.hero__title em {
  font-style: italic;
  color: var(--mocha);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.4rem, 5vw, 4rem);
}

.section--dark {
  background: var(--ink);
  color: var(--cream);
}

.section-head--dark .section-index {
  color: rgba(243, 237, 227, 0.5);
}

.section-head--dark .section-title em {
  color: var(--accent-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  padding: 0.85rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn svg {
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--dark {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn--dark:hover {
  background: var(--brown);
  border-color: var(--brown);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(23, 19, 16, 0.28);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* Reveal on scroll (class added by JS) */
.reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-init.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(243, 237, 227, 0.88);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(23, 19, 16, 0.4);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  position: relative;
  z-index: 101;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}

.brand__mark {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  flex: none;
}

.brand__mark::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: var(--ink);
}

.brand__mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
  transform: translate(-50%, -50%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.brand__sub {
  margin-top: 0.28rem;
  color: var(--mocha);
  font-size: 0.55rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.2rem);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.6vw, 2.4rem);
}

.nav__link {
  position: relative;
  padding-block: 0.45rem;
  color: var(--mocha);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  transition: color 0.25s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__actions {
  display: flex;
  align-items: center;
}

.nav__cta {
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  font-size: 0.66rem;
}

.nav__meta {
  display: none;
}

.burger {
  display: none;
  position: relative;
  z-index: 101;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  flex: none;
}

.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

body.menu-open .burger span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(46px, 7vw, 88px));
  padding-bottom: clamp(56px, 7vw, 96px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
}

.hero__content {
  min-width: 0;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  color: var(--mocha);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  animation: rise 0.9s var(--ease) both;
}

.eyebrow__line {
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.hero__title {
  margin-top: 1.4rem;
  font-family: var(--serif);
  font-size: clamp(2.9rem, 6.4vw, 5.3rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  animation: rise 0.95s 0.08s var(--ease) both;
}

.hero__lead {
  max-width: 46ch;
  margin-top: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--mocha);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.7;
  animation: rise 0.95s 0.18s var(--ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.8rem, 3vw, 2.5rem);
  animation: rise 0.95s 0.28s var(--ease) both;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem clamp(1.6rem, 3.5vw, 3rem);
  margin-top: clamp(2.4rem, 4.5vw, 3.6rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  animation: rise 0.95s 0.38s var(--ease) both;
}

.hero__meta dt {
  color: var(--mocha);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__meta dd {
  margin-top: 0.35rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero__meta dd span {
  color: var(--mocha);
  font-family: var(--sans);
  font-size: 0.7rem;
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 470px);
  padding: 0 0 0 44px;
  animation: rise 1.1s 0.22s var(--ease) both;
}

.hero__frame {
  position: relative;
}

.hero__frame::before {
  content: "";
  position: absolute;
  top: 18px;
  right: -16px;
  bottom: -16px;
  left: 18px;
  z-index: 0;
  border: 1px solid rgba(23, 19, 16, 0.16);
  border-radius: 999px 999px 27px 27px;
  pointer-events: none;
}

.hero__arch {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(243, 237, 227, 0.08);
  border-radius: 999px 999px 26px 26px;
  background: radial-gradient(120% 90% at 30% 15%, #3b2a20 0%, #1b1410 55%, #100c09 100%);
  color: var(--cream);
  box-shadow: 0 40px 80px -30px rgba(23, 19, 16, 0.55);
}

.hero__arch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 9, 7, 0.45), transparent 27%, transparent 58%, rgba(12, 9, 7, 0.62)),
    radial-gradient(70% 50% at 50% 72%, rgba(183, 138, 94, 0.16), transparent 72%);
  pointer-events: none;
}

.hero__arch::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 56%;
  filter: saturate(0.88) contrast(1.03) brightness(0.96);
}

.hero__label {
  position: absolute;
  top: clamp(2.9rem, 5vw, 3.5rem);
  right: 0;
  left: 0;
  z-index: 3;
  color: rgba(243, 237, 227, 0.72);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(10, 8, 6, 0.45);
}

.hero__caption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.5rem;
  color: var(--mocha);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__caption span {
  width: 22px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

.badge {
  position: absolute;
  bottom: -34px;
  left: -28px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: clamp(100px, 31%, 122px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--ink);
  box-shadow: 0 18px 45px -18px rgba(23, 19, 16, 0.45);
}

.badge__ring {
  position: absolute;
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  animation: spin 28s linear infinite;
}

.badge__ring text {
  fill: var(--mocha);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 1.8px;
}

.badge__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  line-height: 1.05;
}

.badge__center small {
  margin-bottom: 0.2rem;
  color: var(--mocha);
  font-family: var(--sans);
  font-size: 0.48rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

/* ---------- Values strip ---------- */

.values {
  border-block: 1px solid var(--line);
  background: var(--sand);
}

.values__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem clamp(1.1rem, 3vw, 2.6rem);
  padding-block: 1.05rem;
  color: var(--mocha);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.values__inner span {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
}

.values__inner span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- About ---------- */

.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.about__text {
  min-width: 0;
}

.about__text > p {
  max-width: 58ch;
  color: var(--mocha);
  font-size: 0.95rem;
  line-height: 1.75;
}

.about__text > p + p {
  margin-top: 1rem;
}

.about__lead {
  color: var(--ink) !important;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.4rem) !important;
  line-height: 1.5 !important;
}

.about__aside {
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream-2);
}

.about__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 15px;
}

.about__note {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.about__note-mark {
  flex: none;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 2.3rem;
  line-height: 0.8;
  letter-spacing: -0.02em;
}

.about__note p {
  margin: 0;
  max-width: 44ch;
  color: var(--mocha);
  font-size: 0.82rem;
  line-height: 1.65;
}

.facts {
  margin-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}

.facts dt {
  color: var(--mocha);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: right;
}

/* ---------- Photography ---------- */

.photo {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(243, 237, 227, 0.14);
  border-radius: 18px;
  background: #1a130e;
  color: var(--cream);
  isolation: isolate;
}

.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 8, 6, 0.34),
    transparent 32%,
    transparent 55%,
    rgba(10, 8, 6, 0.74)
  );
}

.photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.9) contrast(1.03) brightness(0.97);
}

.about__photo .photo__img {
  object-position: 50% 46%;
}

.gallery__item--interior .photo__img {
  object-position: 50% 50%;
}

.gallery__item--coffee .photo__img {
  object-position: 50% 33%;
}

.gallery__item--food .photo__img {
  object-position: 50% 52%;
}

.gallery__item--barista .photo__img {
  object-position: 50% 28%;
}

.gallery__item--detail .photo__img {
  object-position: 50% 66%;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .gallery__item .photo__img {
    transition: transform 0.9s var(--ease);
  }

  .gallery__item:hover .photo__img {
    transform: scale(1.025);
  }
}

.photo__tag {
  position: absolute;
  top: 1rem;
  left: 1.15rem;
  z-index: 2;
  color: rgba(243, 237, 227, 0.86);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(10, 8, 6, 0.55);
}

.photo__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 2.2rem 1.15rem 1.1rem;
}

.photo__title {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 16px rgba(10, 8, 6, 0.5);
}

.photo--interior {
  background:
    radial-gradient(80% 70% at 20% 10%, #8b7058, transparent 60%),
    linear-gradient(150deg, #4b382b, #1c1510 75%);
}

.photo--coffee {
  background:
    radial-gradient(90% 70% at 75% 20%, #7a5238, transparent 62%),
    linear-gradient(150deg, #3a2a20, #120d0a 75%);
}

.photo--food {
  background:
    radial-gradient(80% 80% at 30% 20%, #9a6245, transparent 60%),
    linear-gradient(150deg, #4a2e21, #1a110c 75%);
}

.photo--barista {
  background:
    radial-gradient(70% 90% at 70% 10%, #6e4e38, transparent 60%),
    linear-gradient(150deg, #33251b, #15100c 75%);
}

.photo--detail {
  background:
    radial-gradient(80% 80% at 50% 0%, #705640, transparent 55%),
    linear-gradient(150deg, #2f241c, #13100d 75%);
}

/* ---------- Menu ---------- */

.menu-section {
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 85% 0%, rgba(183, 138, 94, 0.12), transparent 65%),
    var(--ink);
}

.menu__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filter {
  min-height: 44px;
  padding: 0.6rem 1.15rem;
  border: 1px solid rgba(243, 237, 227, 0.24);
  border-radius: 999px;
  background: transparent;
  color: rgba(243, 237, 227, 0.76);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.filter:hover {
  border-color: rgba(243, 237, 227, 0.5);
  color: var(--cream);
}

.filter.is-active {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
}

.menu__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(2rem, 5vw, 4.5rem);
}

.menu-item {
  min-width: 0;
  padding: 1.35rem 0 1.45rem;
  border-top: 1px solid var(--line-light);
  animation: itemIn 0.45s var(--ease) both;
}

.menu-item[hidden] {
  display: none;
}

.menu-item__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.menu-item__name {
  min-width: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.32rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.3;
  transition: color 0.25s var(--ease);
}

.menu-item:hover .menu-item__name {
  color: var(--accent-soft);
}

.menu-item__tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(183, 138, 94, 0.16);
  color: var(--accent-soft);
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  vertical-align: middle;
  text-transform: uppercase;
  white-space: nowrap;
}

.menu-item__price {
  flex: none;
  color: var(--accent-soft);
  font-family: var(--serif);
  font-size: 1.06rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.menu-item__price span {
  color: rgba(243, 237, 227, 0.65);
  font-family: var(--sans);
  font-size: 0.57rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-item__desc {
  max-width: 44ch;
  margin-top: 0.4rem;
  color: rgba(243, 237, 227, 0.68);
  font-size: 0.84rem;
  line-height: 1.6;
}

.menu__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
  color: rgba(243, 237, 227, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

@keyframes itemIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Benefits ---------- */

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 2.6vw, 2.2rem);
}

.benefit {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.benefit__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
}

.benefit__num {
  color: var(--mocha);
  font-family: var(--serif);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.benefit__icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit h3 {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.7vw, 1.35rem);
  font-weight: 500;
  line-height: 1.3;
}

.benefit p {
  color: var(--mocha);
  font-size: 0.87rem;
  line-height: 1.7;
}

/* ---------- Gallery ---------- */

.gallery {
  overflow: hidden;
  background:
    radial-gradient(70% 55% at 12% 8%, rgba(183, 138, 94, 0.11), transparent 62%),
    var(--ink);
}

.gallery__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
}

.gallery__head .section-head {
  max-width: 620px;
  margin-bottom: 0;
}

.gallery__note {
  max-width: 310px;
  margin-bottom: 0.35rem;
  color: rgba(243, 237, 227, 0.72);
  font-size: 0.8rem;
  line-height: 1.7;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(96px, 11vw, 165px);
  gap: clamp(10px, 1.4vw, 18px);
}

.gallery__item {
  min-width: 0;
  min-height: 0;
}

.gallery__item--interior {
  grid-column: 1 / 5;
  grid-row: 1 / 4;
}

.gallery__item--coffee {
  grid-column: 5 / 7;
  grid-row: 1 / 3;
}

.gallery__item--food {
  grid-column: 5 / 7;
  grid-row: 3 / 5;
}

.gallery__item--barista {
  grid-column: 1 / 3;
  grid-row: 4 / 5;
}

.gallery__item--detail {
  grid-column: 3 / 5;
  grid-row: 4 / 5;
}

.gallery__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 2rem;
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-light);
  color: rgba(243, 237, 227, 0.62);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

/* ---------- Contacts ---------- */

.contacts {
  border-top: 1px solid var(--line);
  background: var(--cream-2);
}

.contacts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5.5vw, 5.5rem);
  align-items: start;
}

.contacts__intro {
  max-width: 44ch;
  margin-top: 1.5rem;
  color: var(--mocha);
  font-size: 0.94rem;
  line-height: 1.75;
}

.contact-list {
  max-width: 540px;
  margin-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.contact-list__label {
  color: var(--mocha);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-list__value {
  color: var(--ink);
}

.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.contacts__card {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 24px;
  background: var(--ink);
  color: var(--cream);
  box-shadow: 0 30px 60px -40px rgba(23, 19, 16, 0.6);
}

.hours__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1rem;
}

.hours h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(243, 237, 227, 0.75);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c0704f;
  box-shadow: 0 0 0 3px rgba(192, 112, 79, 0.16);
  flex: none;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.status__dot.is-open {
  background: #8fb083;
  box-shadow: 0 0 0 3px rgba(143, 176, 131, 0.16);
}

.hours__list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line-light);
}

.hours__list > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.3rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.85rem;
}

.hours__list dt {
  color: rgba(243, 237, 227, 0.72);
  transition: color 0.25s;
}

.hours__list dd {
  color: rgba(243, 237, 227, 0.95);
  font-variant-numeric: tabular-nums;
  transition: color 0.25s;
}

.hours__list .is-today dt {
  color: var(--cream);
}

.hours__list .is-today dd {
  color: var(--accent-soft);
}

.hours__note {
  margin-top: 1.1rem;
  color: rgba(243, 237, 227, 0.68);
  font-size: 0.74rem;
  line-height: 1.65;
}

.map {
  position: relative;
  height: 186px;
  margin-top: 1.6rem;
  overflow: hidden;
  border-radius: 14px;
  background: var(--sand);
}

.map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(23, 19, 16, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 19, 16, 0.07) 1px, transparent 1px);
  background-size: 30px 30px;
}

.map__road {
  position: absolute;
  left: -15%;
  width: 130%;
  height: 10px;
  background: rgba(250, 246, 238, 0.95);
  box-shadow: 0 0 0 1px rgba(23, 19, 16, 0.06);
}

.map__road--a {
  top: 44%;
  transform: rotate(-11deg);
}

.map__road--b {
  top: 72%;
  height: 7px;
  transform: rotate(7deg);
}

.map__block {
  position: absolute;
  top: 12%;
  left: 8%;
  width: 32%;
  height: 24%;
  border-radius: 4px;
  background: rgba(183, 138, 94, 0.18);
}

.map__pin {
  position: absolute;
  top: 46%;
  left: 54%;
  width: 12px;
  height: 12px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--brown);
  box-shadow: 0 0 0 5px rgba(23, 19, 16, 0.14);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.map__pin::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(23, 19, 16, 0.12);
  transform: translate(-50%, -50%);
  animation: pulse 3.2s ease-out infinite;
}

.map__tag {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map__note {
  margin-top: 0.9rem;
  color: rgba(243, 237, 227, 0.72);
  font-size: 0.72rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

@keyframes pulse {
  0% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(0.6);
  }
  80%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

/* ---------- Footer ---------- */

.footer {
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0 1.8rem;
  background: #120e0b;
  color: rgba(243, 237, 227, 0.7);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(243, 237, 227, 0.12);
}

.brand--footer .brand__mark {
  border-color: rgba(243, 237, 227, 0.7);
}

.brand--footer .brand__mark::before {
  background: rgba(243, 237, 227, 0.7);
}

.brand--footer .brand__mark::after {
  background: #120e0b;
}

.brand--footer .brand__name {
  color: var(--cream);
}

.brand--footer .brand__sub {
  color: rgba(243, 237, 227, 0.6);
}

.footer__tagline {
  max-width: 260px;
  font-size: 0.84rem;
  line-height: 1.7;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.8rem;
  font-size: 0.78rem;
}

.footer__nav a,
.footer__up {
  transition: color 0.25s var(--ease);
}

.footer__nav a:hover,
.footer__up:hover {
  color: var(--cream);
}

.footer__up {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__mark {
  margin-block: clamp(1.8rem, 4vw, 3rem);
  color: rgba(243, 237, 227, 0.07);
  font-family: var(--serif);
  font-size: clamp(4rem, 14vw, 11rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 0.82;
  text-align: center;
  user-select: none;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(243, 237, 227, 0.1);
  color: rgba(243, 237, 227, 0.62);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.footer__credit {
  color: rgba(243, 237, 227, 0.84);
  letter-spacing: 0.05em;
}

.footer__credit strong {
  color: var(--accent-soft);
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav {
    gap: 1.5rem;
  }

  .nav__list {
    gap: 1.2rem;
  }

  .nav__link {
    font-size: 0.78rem;
  }

  .hero__visual {
    width: min(100%, 410px);
  }
}

@media (max-width: 980px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2.6rem, 6vw, 3.6rem);
  }

  .hero__visual {
    justify-self: center;
    width: min(100%, 430px);
  }

  .about__grid,
  .contacts__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about__aside {
    max-width: 560px;
  }

  .about__photo {
    aspect-ratio: 4 / 3;
  }

  .contacts__card {
    max-width: 560px;
  }

  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
  }

  .gallery__item--interior {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .gallery__item--coffee {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .gallery__item--food {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .gallery__item--barista,
  .gallery__item--detail {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 3;
  }
}

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

  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 95;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    height: 100vh;
    height: 100dvh;
    padding: calc(var(--header-h) + 1.8rem) var(--gutter) calc(1.8rem + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: var(--cream);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease),
      visibility 0s linear 0.35s;
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease),
      visibility 0s;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin-top: 0.5rem;
  }

  .nav__link {
    display: block;
    padding: 0.55rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  .nav__link::after {
    display: none;
  }

  .nav__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    width: 100%;
  }

  .nav__cta {
    width: 100%;
    min-height: 50px;
    font-size: 0.72rem;
  }

  .nav__meta {
    display: block;
    color: var(--mocha);
    font-size: 0.82rem;
    line-height: 1.7;
  }

  .nav__meta a {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .site-header.is-scrolled {
    background: var(--cream);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.menu-open .site-header {
    background: var(--cream);
    border-bottom-color: transparent;
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  .menu__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .menu-item__desc {
    max-width: 52ch;
  }
}

@media (max-width: 620px) {
  .benefits__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .benefit {
    padding-bottom: 0.4rem;
  }

  .gallery__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery__item--interior,
  .gallery__item--coffee,
  .gallery__item--food,
  .gallery__item--barista,
  .gallery__item--detail {
    aspect-ratio: 4 / 3;
  }

  .gallery__head {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: calc(var(--header-h) + 2.4rem);
    padding-bottom: 3.2rem;
  }

  .hero__title {
    font-size: clamp(2.55rem, 11.5vw, 3.6rem);
  }

  .hero__lead {
    font-size: 0.94rem;
  }

  .hero__actions .btn {
    flex: 1 1 auto;
  }

  .hero__meta {
    gap: 1.2rem 1.6rem;
  }

  .hero__meta dd {
    font-size: 0.98rem;
  }

  .hero__visual {
    width: min(100%, 380px);
    padding-left: 30px;
    padding-bottom: 0;
  }

  .hero__frame::before {
    right: -10px;
    bottom: -10px;
  }

  .badge {
    bottom: -26px;
    left: -18px;
    width: 98px;
  }

  .hero__caption {
    margin-top: 2.2rem;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }

  .hero__label {
    font-size: 0.54rem;
    letter-spacing: 0.22em;
  }

  .values__inner {
    justify-content: flex-start;
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }

  .values__inner span {
    gap: 0.8rem;
  }

  .values__inner span + span::before {
    display: none;
  }

  .contact-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
    font-size: 0.9rem;
  }

  .gallery__foot {
    font-size: 0.68rem;
  }

  .footer__top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer__mark {
    font-size: clamp(3.6rem, 20vw, 6rem);
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .hero__title {
    font-size: clamp(2.3rem, 11.8vw, 3rem);
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .contact-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
  }

  .hours__list > div {
    font-size: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-init {
    opacity: 1;
    transform: none;
  }

  .badge__ring,
  .map__pin::before {
    animation: none;
  }
}
