:root {
  --bg: #f2f8f2;
  --bg-soft: #f3eee6;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-solid: #f8fbff;
  --text: #2c2119;
  --muted: #69584b;
  --coffee: #4d3428;
  --coffee-deep: #2c1d16;
  --beige: #d9c7ad;
  --sage: #93a08b;
  --wood: #be946d;
  --shadow: 0 18px 50px rgba(55, 38, 25, 0.08);
  --shadow-soft: 0 10px 30px rgba(55, 38, 25, 0.06);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-heading: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--page-bg, #f8f6f2);
}

body.page-home {
  --page-bg: #f8f6f2;
}

body.page-cafes {
  --page-bg: linear-gradient(180deg, #5b3f31 0%, #3f2a20 100%);
  --page-text: #f7efe7;
  --page-muted: rgba(247, 239, 231, 0.78);
  --cafe-surface: rgba(255, 248, 240, 0.18);
  --cafe-surface-strong: rgba(255, 248, 240, 0.3);
  --cafe-border: rgba(255, 248, 240, 0.16);
  --cafe-shadow: 0 22px 50px rgba(27, 17, 12, 0.26);
}

body.page-thes {
  --page-bg:
    radial-gradient(circle at top left, rgba(147, 160, 139, 0.16), transparent 28%),
    radial-gradient(circle at right top, rgba(205, 226, 207, 0.3), transparent 30%),
    linear-gradient(180deg, #f3fbf3 0%, #edf7ee 100%);
}

body.page-the {
  --page-bg:
    radial-gradient(circle at top left, rgba(147, 160, 139, 0.16), transparent 28%),
    radial-gradient(circle at right top, rgba(205, 226, 207, 0.3), transparent 30%),
    linear-gradient(180deg, #f3fbf3 0%, #edf7ee 100%);
}

body.page-cafes {
  color: var(--page-text, var(--text));
}

body.page-cafes .section,
body.page-cafes .page-hero,
body.page-cafes .footer {
  background: transparent;
}

body.page-cafes .container,
body.page-cafes .page-hero__copy,
body.page-cafes .page-hero__panel {
  color: var(--page-text, var(--text));
}

body.page-cafes .eyebrow,
body.page-cafes .section-kicker,
body.page-cafes .lead,
body.page-cafes .section-heading p,
body.page-cafes .feature-card p,
body.page-cafes .specialty-card p,
body.page-cafes .product-card p,
body.page-cafes .story__content p,
body.page-cafes .info-list strong,
body.page-cafes .footer p,
body.page-cafes .footer__bottom a,
body.page-cafes .socials a {
  color: var(--page-muted, var(--muted));
}

body.page-cafes .btn--primary {
  background: linear-gradient(135deg, #f0d1b2, #d8aa7b);
  color: #2c1d16;
}

body.page-cafes .btn--secondary {
  color: #f7efe7;
  border-color: rgba(247, 239, 231, 0.24);
}

body.page-cafes .site-shell {
  min-height: 100svh;
  background:
    radial-gradient(circle at top left, rgba(240, 209, 178, 0.16), transparent 25%),
    radial-gradient(circle at top right, rgba(147, 160, 139, 0.08), transparent 24%),
    linear-gradient(180deg, #6a4b39 0%, #503427 40%, #3f2a20 100%);
}

body.page-cafes .cafe-page {
  position: relative;
  padding: 0 0 calc(9.5rem + env(safe-area-inset-bottom));
}

body.page-cafes .cafe-hero {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1.25rem 0 1rem;
  background:
    linear-gradient(180deg, rgba(63, 42, 32, 0.94) 0%, rgba(63, 42, 32, 0.82) 100%);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 248, 240, 0.08);
  box-shadow: 0 12px 40px rgba(27, 17, 12, 0.18);
  transition: padding 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

body.page-cafes.is-scrolled .cafe-hero {
  padding: 0.65rem 0 0.55rem;
  background:
    linear-gradient(180deg, rgba(63, 42, 32, 0.98) 0%, rgba(63, 42, 32, 0.9) 100%);
  box-shadow: 0 10px 28px rgba(27, 17, 12, 0.24);
}

body.page-cafes .cafe-hero__inner {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
}

body.page-cafes .cafe-hero__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 239, 231, 0.68);
}

body.page-cafes .cafe-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
  font-weight: 600;
  color: #fff7ef;
  transform-origin: center top;
  transition: font-size 240ms ease, letter-spacing 240ms ease, transform 240ms ease;
}

body.page-cafes.is-scrolled .cafe-hero__title {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  letter-spacing: -0.04em;
  transform: translateY(-1px);
}

body.page-cafes .cafe-hero__lead {
  max-width: 50rem;
  margin: 0;
  color: rgba(247, 239, 231, 0.78);
  line-height: 1.8;
}

body.page-cafes .cafe-toolbar {
  padding: 1.2rem 0 0.8rem;
}

body.page-cafes .cafe-toolbar__inner {
  display: grid;
  gap: 1rem;
}

body.page-cafes .cafe-search {
  min-height: 76px;
  padding: 0.6rem 0.8rem 0.6rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 250, 244, 0.98), rgba(246, 236, 225, 0.94));
  border: 1px solid rgba(77, 52, 40, 0.08);
  box-shadow: 0 18px 40px rgba(27, 17, 12, 0.12);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #453126;
  font-weight: 600;
}

body.page-cafes .cafe-search:focus-within {
  box-shadow:
    0 18px 40px rgba(27, 17, 12, 0.12),
    0 0 0 4px rgba(240, 209, 178, 0.28);
}

body.page-cafes .cafe-search__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(77, 52, 40, 0.08);
  font-size: 1.1rem;
  flex: 0 0 auto;
}

body.page-cafes .cafe-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #453126;
  font: inherit;
}

body.page-cafes .cafe-search__input::placeholder {
  color: rgba(69, 49, 38, 0.62);
}

body.page-cafes .cafe-search__clear {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.55rem 0.95rem;
  border: 1px solid rgba(77, 52, 40, 0.08);
  border-radius: 999px;
  background: rgba(77, 52, 40, 0.06);
  color: #5f4434;
  font-weight: 700;
  cursor: pointer;
  transition: transform 200ms ease, background-color 200ms ease;
}

body.page-cafes .cafe-search__clear:hover {
  transform: translateY(-1px);
  background: rgba(77, 52, 40, 0.1);
}

body.page-cafes .cafe-filter-block {
  display: grid;
  gap: 0.6rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 28px;
  background: rgba(255, 248, 240, 0.08);
  border: 1px solid rgba(255, 248, 240, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.page-cafes .cafe-filter-block__head p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 239, 231, 0.72);
}

body.page-cafes .cafe-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

body.page-cafes .cafe-chip {
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 248, 240, 0.16);
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.1);
  color: #f8efe5;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(77, 52, 40, 0.06);
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease;
  white-space: nowrap;
}

body.page-cafes .cafe-chip.is-active {
  background: linear-gradient(180deg, #f6eadf, #e9d5bf);
  color: #4d3428;
  border-color: transparent;
}

body.page-cafes .cafe-grid-wrap {
  padding: 1rem 0 0;
}

body.page-cafes .cafe-results {
  margin: 0 0 0.9rem;
  color: rgba(247, 239, 231, 0.78);
  font-size: 0.95rem;
  font-weight: 600;
}

body.page-cafes .cafe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

body.page-cafes .cafe-card {
  min-width: 0;
}

body.page-cafes .cafe-card--wide {
  grid-column: span 1;
}

body.page-cafes .cafe-card__frame {
  min-height: 290px;
  padding: 1rem;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(121, 92, 74, 0.92), rgba(90, 61, 47, 0.92)),
    #6a4b39;
  box-shadow: var(--cafe-shadow);
  border: 1px solid rgba(255, 248, 240, 0.12);
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.9rem;
}

body.page-cafes .cafe-card__frame--wide {
  min-height: 300px;
}

body.page-cafes .cafe-card__photo {
  border-radius: 30px;
  border: 8px solid rgba(61, 41, 33, 0.55);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 248, 240, 0.9), rgba(255, 248, 240, 0.7) 35%, rgba(255, 248, 240, 0.32) 70%),
    linear-gradient(180deg, #f5ede4, #e4d2bf);
  color: #4d3428;
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.02em;
  min-height: 180px;
  padding: 1rem;
}

body.page-cafes .cafe-card__meta {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  color: #fff7ef;
}

body.page-cafes .cafe-card__name {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.96);
  color: #4d3428;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(27, 17, 12, 0.12);
}

body.page-cafes .cafe-card__price {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(240, 209, 178, 0.2);
  border: 1px solid rgba(255, 248, 240, 0.14);
  color: #fff7ef;
  font-size: 0.92rem;
  font-weight: 800;
}

body.page-cafes .cafe-card__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

body.page-cafes .cafe-card__tags span {
  min-height: 30px;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 248, 240, 0.12);
  border: 1px solid rgba(255, 248, 240, 0.18);
  color: rgba(255, 248, 240, 0.96);
  font-size: 0.84rem;
  font-weight: 600;
}

body.page-cafes .cafe-card.is-hidden {
  display: none;
}

body.page-cafes .cafe-section {
  margin-top: 2rem;
}

body.page-cafes .cafe-section__head {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

body.page-cafes .cafe-section__kicker,
body.page-cafes .cafe-info-card__kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 239, 231, 0.7);
}

body.page-cafes .cafe-section__title {
  margin: 0;
  color: #fff7ef;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

body.page-cafes .cafe-card__description {
  color: rgba(247, 239, 231, 0.8);
  text-align: center;
  line-height: 1.7;
  font-size: 0.96rem;
}

body.page-cafes .cafe-info {
  padding: 1.4rem 0 2rem;
}

body.page-cafes .cafe-info__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

body.page-cafes .cafe-info-card {
  padding: 1.35rem 1.35rem 1.5rem;
  border-radius: 30px;
  background: rgba(255, 248, 240, 0.1);
  border: 1px solid rgba(255, 248, 240, 0.12);
  box-shadow: var(--cafe-shadow);
  color: #fff7ef;
}

body.page-cafes .cafe-info-card--wide {
  grid-column: span 2;
}

body.page-cafes .cafe-info-card--accent {
  background:
    linear-gradient(180deg, rgba(240, 209, 178, 0.18), rgba(255, 248, 240, 0.08)),
    rgba(255, 248, 240, 0.08);
}

body.page-cafes .cafe-info-card h2,
body.page-cafes .cafe-info-card h3 {
  margin: 0.3rem 0 0.8rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

body.page-cafes .cafe-info-card p {
  margin: 0 0 0.8rem;
  line-height: 1.8;
  color: rgba(247, 239, 231, 0.82);
}

body.page-the.page-cafes {
  --page-bg:
    radial-gradient(circle at top left, rgba(150, 184, 156, 0.22), transparent 26%),
    radial-gradient(circle at top right, rgba(39, 142, 56, 0.12), transparent 24%),
    linear-gradient(180deg, #5f7c65 0%, #3f5a44 44%, #2d4a31 100%);
  --page-text: #f4fbf4;
  --page-muted: rgba(244, 251, 244, 0.78);
  --cafe-surface: rgba(255, 255, 255, 0.14);
  --cafe-surface-strong: rgba(255, 255, 255, 0.22);
  --cafe-border: rgba(255, 255, 255, 0.15);
  --cafe-shadow: 0 22px 50px rgba(17, 33, 19, 0.24);
  color: var(--page-text, var(--text));
}

body.page-the.page-cafes .site-shell {
  background:
    radial-gradient(circle at top left, rgba(150, 184, 156, 0.28), transparent 24%),
    radial-gradient(circle at top right, rgba(39, 142, 56, 0.16), transparent 24%),
    linear-gradient(180deg, #5f7c65 0%, #47624d 40%, #2d4a31 100%);
}

body.page-the.page-cafes .cafe-hero {
  background:
    linear-gradient(180deg, rgba(45, 74, 49, 0.96) 0%, rgba(45, 74, 49, 0.84) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.page-the.page-cafes.is-scrolled .cafe-hero {
  background:
    linear-gradient(180deg, rgba(45, 74, 49, 0.98) 0%, rgba(45, 74, 49, 0.9) 100%);
}

body.page-the.page-cafes .cafe-hero__eyebrow,
body.page-the.page-cafes .cafe-hero__lead,
body.page-the.page-cafes .cafe-results,
body.page-the.page-cafes .cafe-section__kicker,
body.page-the.page-cafes .cafe-info-card__kicker {
  color: rgba(244, 251, 244, 0.76);
}

body.page-the.page-cafes .cafe-hero__title {
  color: #f7fff7;
}

body.page-the.page-cafes .cafe-search {
  background: linear-gradient(180deg, rgba(247, 255, 247, 0.96), rgba(231, 242, 233, 0.94));
  border-color: rgba(39, 142, 56, 0.12);
  color: #24462a;
}

body.page-the.page-cafes .cafe-search__icon {
  background: rgba(39, 142, 56, 0.12);
  color: #278e38;
}

body.page-the.page-cafes .cafe-search__input,
body.page-the.page-cafes .cafe-search__input::placeholder {
  color: #2f4e34;
}

body.page-the.page-cafes .cafe-search__clear {
  background: rgba(39, 142, 56, 0.1);
  border-color: rgba(39, 142, 56, 0.12);
  color: #2f4e34;
}

body.page-the.page-cafes .cafe-filter-block {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

body.page-the.page-cafes .cafe-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f2f8f2;
}

body.page-the.page-cafes .cafe-chip.is-active {
  background: linear-gradient(180deg, #c5dac7, #a6c5ab);
  color: #234227;
}

body.page-the.page-cafes .cafe-card__frame {
  background:
    linear-gradient(180deg, rgba(92, 123, 99, 0.92), rgba(63, 90, 68, 0.92)),
    #5f7c65;
  border-color: rgba(255, 255, 255, 0.12);
}

body.page-the.page-cafes .cafe-card__photo {
  border-color: rgba(37, 65, 41, 0.5);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.94), rgba(214, 232, 216, 0.78) 35%, rgba(166, 197, 171, 0.34) 70%),
    linear-gradient(180deg, #f3faf4, #dce8dd);
  color: #24462a;
  overflow: hidden;
  position: relative;
}

body.page-the.page-cafes .cafe-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.page-the.page-cafes .cafe-card__name {
  background: rgba(247, 255, 247, 0.96);
  color: #234227;
}

body.page-the.page-cafes .cafe-card__price {
  background: rgba(39, 142, 56, 0.16);
  color: #f7fff7;
}

body.page-the.page-cafes .cafe-card__tags span {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
  color: #f4fbf4;
}

body.page-the.page-cafes .cafe-card__description,
body.page-the.page-cafes .cafe-info-card p {
  color: rgba(244, 251, 244, 0.84);
}

body.page-the.page-cafes .cafe-info-card {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.12);
}

body.page-the.page-cafes .cafe-info-card--accent {
  background:
    linear-gradient(180deg, rgba(150, 184, 156, 0.2), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
}

body.page-the.page-cafes .bottom-nav {
  background: rgba(247, 255, 247, 0.82);
  border-color: rgba(39, 142, 56, 0.1);
}

body.page-the.page-cafes .bottom-nav__item {
  color: rgba(35, 66, 39, 0.78);
}

body.page-the.page-cafes .bottom-nav__item:hover,
body.page-the.page-cafes .bottom-nav__item.is-active {
  background: linear-gradient(180deg, rgba(39, 142, 56, 0.14), rgba(39, 142, 56, 0.08));
  color: #278e38;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-shell {
  overflow: clip;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--coffee);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 1.25rem 0 6rem;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media img {
  filter: saturate(0.95) contrast(0.92);
  transform: scale(1.03);
}

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(20, 14, 11, 0.28) 0%, rgba(20, 14, 11, 0.36) 50%, rgba(248, 246, 242, 0.02) 100%),
    linear-gradient(90deg, rgba(14, 10, 8, 0.48) 0%, rgba(14, 10, 8, 0.14) 60%, rgba(14, 10, 8, 0.28) 100%);
}

.hero__brand {
  position: absolute;
  top: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(26, 18, 13, 0.3);
  color: #fff;
  backdrop-filter: blur(18px);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  place-items: center;
  position: relative;
}

.brand-mark span {
  position: absolute;
  border-radius: 999px;
  background: #f2d5b5;
}

.brand-mark span:nth-child(1) {
  width: 6px;
  height: 18px;
  top: 6px;
}

.brand-mark span:nth-child(2) {
  width: 22px;
  height: 12px;
  bottom: 6px;
}

.brand-mark span:nth-child(3) {
  width: 14px;
  height: 3px;
  bottom: 2px;
}

.brand-kicker {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.brand-name {
  margin: 0.1rem 0 0;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 360px);
  gap: 2rem;
  align-items: end;
}

.hero__copy {
  max-width: 760px;
  color: #fff;
  padding: 1rem 0 2rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  color: #f2d5b5;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 10vw, 7.2rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.subtitle {
  margin: 1rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.82);
}

.lead {
  max-width: 40rem;
  margin: 1.1rem 0 0;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease, color 220ms ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--coffee), #6a4b39);
  color: #fff;
  box-shadow: 0 16px 40px rgba(77, 52, 40, 0.22);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero__note {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76));
  color: var(--text);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero__note-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
}

.hero__note p:last-child {
  margin-bottom: 0;
  line-height: 1.8;
  color: var(--muted);
}

.section {
  padding: 4.5rem 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(248, 246, 242, 0.72));
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.overlap-cards {
  margin-top: -4.5rem;
  position: relative;
  z-index: 3;
}

.feature-card {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(55, 38, 25, 0.12);
}

.feature-card:focus-visible {
  outline: 3px solid rgba(143, 110, 79, 0.45);
  outline-offset: 4px;
}

.feature-card__media {
  height: 230px;
  overflow: hidden;
}

.feature-card__media img,
.specialty-card img,
.product-card img,
.story__media img,
.gallery-item img {
  transition: transform 420ms ease;
}

.feature-card:hover img,
.specialty-card:hover img,
.product-card:hover img,
.story__media:hover img,
.gallery-item:hover img {
  transform: scale(1.05);
}

.feature-card__body {
  padding: 1.35rem 1.4rem 1.55rem;
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(147, 160, 139, 0.16);
  font-size: 1.3rem;
  margin-bottom: 0.85rem;
}

.feature-card h2,
.section-heading h2,
.story__content h2,
.practical__content h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.feature-card p,
.section-heading p,
.story__content p,
.specialty-card p,
.product-card p,
.info-list strong {
  line-height: 1.8;
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p {
  margin-bottom: 0;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.specialty-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-solid);
  box-shadow: var(--shadow-soft);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.specialty-card img {
  height: 220px;
}

.specialty-card div {
  padding: 1.15rem 1.15rem 1.35rem;
}

.specialty-card h3,
.product-group h3,
.product-card h4,
.footer h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
}

.products-layout {
  display: grid;
  gap: 2rem;
}

.product-group {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(77, 52, 40, 0.06);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.product-card img {
  height: 240px;
}

.product-card__body {
  padding: 1.1rem 1.1rem 1.2rem;
}

.text-link {
  display: inline-flex;
  margin-top: 0.55rem;
  color: var(--coffee);
  font-weight: 800;
}

.section--story {
  background:
    linear-gradient(135deg, rgba(147, 160, 139, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(248, 246, 242, 0.9));
}

.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.story__media,
.practical__map {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  min-height: 460px;
}

.story__content {
  padding: 1rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  position: relative;
  min-height: 250px;
}

.gallery-item--wide {
  grid-column: span 2;
}

.gallery-item figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.testimonial-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.testimonial-carousel__viewport {
  overflow: hidden;
}

.testimonial-carousel__track {
  display: flex;
  transition: transform 500ms ease;
}

.testimonial {
  min-width: 100%;
  display: grid;
  place-items: center;
}

.testimonial__card {
  width: min(760px, 100%);
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.testimonial__stars {
  color: #c89d48;
  letter-spacing: 0.2rem;
  font-size: 1.2rem;
}

.testimonial__card p {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  line-height: 1.9;
}

.testimonial__meta {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--coffee);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: transform 200ms ease, opacity 200ms ease;
}

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

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1rem;
}

.testimonial-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 50%;
  background: rgba(77, 52, 40, 0.22);
  cursor: pointer;
}

.testimonial-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--coffee);
}

.practical {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.practical__content {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.info-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.info-list span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.practical__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  padding: 2.6rem 0 7rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(248, 246, 242, 1));
  border-top: 1px solid rgba(77, 52, 40, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 1.3rem;
}

.footer__logo {
  margin: 0 0 0.8rem;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.socials {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.socials a,
.footer__bottom a {
  color: var(--coffee);
  font-weight: 700;
}

.footer__bottom {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(77, 52, 40, 0.08);
}

.page-hero {
  min-height: 64svh;
  padding: 2rem 0 3rem;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(147, 160, 139, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(217, 199, 173, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdf9 0%, #f8f6f2 100%);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 1.5rem;
  align-items: center;
}

.page-hero__copy {
  padding: 1rem 0;
}

.page-hero__copy h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.page-hero__panel {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  min-height: 420px;
}

.page-hero__panel img {
  min-height: 420px;
}

.page-hero .lead {
  color: var(--muted);
  max-width: 34rem;
}

.page-hero .btn {
  margin-top: 1rem;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(720px, calc(100% - 1rem));
  padding: 0.55rem;
  gap: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(55, 38, 25, 0.14);
}

body.page-cafes .bottom-nav {
  background: rgba(255, 248, 240, 0.82);
  border: 1px solid rgba(77, 52, 40, 0.08);
  box-shadow: 0 16px 40px rgba(27, 17, 12, 0.18);
}

.bottom-nav__item {
  display: grid;
  justify-items: center;
  gap: 0.18rem;
  padding: 0.72rem 0.45rem;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}

.bottom-nav__item span {
  font-size: 1.05rem;
}

.bottom-nav__item strong {
  font-size: 0.82rem;
}

.bottom-nav__item:hover,
.bottom-nav__item.is-active {
  background: rgba(77, 52, 40, 0.12);
  color: var(--coffee);
  transform: translateY(-1px);
}

body.page-cafes .bottom-nav__item {
  color: rgba(77, 52, 40, 0.78);
}

body.page-cafes .bottom-nav__item:hover,
body.page-cafes .bottom-nav__item.is-active {
  background: linear-gradient(180deg, rgba(77, 52, 40, 0.12), rgba(77, 52, 40, 0.08));
  color: #4d3428;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-heading,
.specialty-card,
.product-card,
.feature-card,
.story__media,
.story__content,
.gallery-item,
.testimonial__card,
.practical__content,
.practical__map {
  will-change: transform;
}

@media (max-width: 1100px) {
  .hero__content,
  .story,
  .practical,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    gap: 1rem;
  }

  .story__media,
  .practical__map {
    min-height: 360px;
  }

  .grid-3,
  .specialties-grid,
  .product-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 4.2rem;
    padding-bottom: 7rem;
  }

  .hero__brand {
    left: 1rem;
    transform: none;
    right: 1rem;
    justify-content: center;
  }

  .hero__content {
    width: calc(100% - 1rem);
  }

  .hero h1 {
    font-size: clamp(3.1rem, 14vw, 4.8rem);
  }

  .page-hero {
    min-height: auto;
    padding-top: 5rem;
  }

  .page-hero__panel,
  .page-hero__panel img {
    min-height: 300px;
  }

  .grid-3,
  .specialties-grid,
  .product-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item--wide {
    grid-column: auto;
  }

  .overlap-cards {
    margin-top: -2rem;
  }

  .testimonial-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-btn {
    display: none;
  }

  .bottom-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: calc(100% - 0.75rem);
    border-radius: 24px;
  }

  .bottom-nav__item {
    padding: 0.65rem 0.2rem;
  }

  .bottom-nav__item strong {
    font-size: 0.72rem;
  }

  .footer {
    padding-bottom: 8rem;
  }

  body.page-cafes .cafe-page {
    padding-bottom: calc(11rem + env(safe-area-inset-bottom));
  }

  body.page-cafes .cafe-hero {
    padding-top: 0.9rem;
  }

  body.page-cafes .cafe-hero__title {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }

  body.page-cafes.is-scrolled .cafe-hero__title {
    font-size: clamp(1.7rem, 7.2vw, 2.2rem);
  }

  body.page-cafes .cafe-search {
    min-height: 68px;
    padding-inline: 0.9rem;
    gap: 0.65rem;
  }

  body.page-cafes .cafe-search__input {
    height: 48px;
  }

  body.page-cafes .cafe-search__clear {
    min-height: 38px;
    padding-inline: 0.8rem;
  }

  body.page-cafes .cafe-filter-block {
    padding: 0.85rem 0.8rem 0.9rem;
    border-radius: 24px;
  }

  body.page-cafes .cafe-filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0.55rem;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.page-cafes .cafe-filters::-webkit-scrollbar {
    display: none;
  }

  body.page-cafes .cafe-chip {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 0.65rem 0.9rem;
  }

  body.page-cafes .cafe-grid {
    grid-template-columns: 1fr;
  }

  body.page-cafes .cafe-info__grid {
    grid-template-columns: 1fr;
  }

  body.page-cafes .cafe-info-card--wide {
    grid-column: auto;
  }

  body.page-cafes .cafe-card__frame,
  body.page-cafes .cafe-card__frame--wide {
    min-height: 260px;
    border-radius: 30px;
  }

  body.page-cafes .cafe-card__photo {
    min-height: 165px;
  }
}

@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;
  }
}

body.page-menu {
  --menu-sky: #84ace7;
  --menu-ice: #ddebff;
  --menu-blue: #1a46a4;
  --page-bg:
    radial-gradient(circle at top left, rgba(132, 172, 231, 0.34), transparent 24%),
    radial-gradient(circle at right top, rgba(26, 70, 164, 0.18), transparent 28%),
    linear-gradient(180deg, #eef5ff 0%, #ddebff 100%);
  --page-text: #12306f;
  --page-muted: rgba(26, 70, 164, 0.78);
  --menu-surface: rgba(221, 235, 255, 0.75);
  --menu-surface-strong: rgba(132, 172, 231, 0.2);
  --menu-border: rgba(26, 70, 164, 0.14);
  --menu-shadow: 0 24px 60px rgba(26, 70, 164, 0.18);
  color: var(--page-text);
}

body.page-menu.page-cafes .site-shell {
  background:
    radial-gradient(circle at top left, rgba(132, 172, 231, 0.24), transparent 22%),
    radial-gradient(circle at top right, rgba(26, 70, 164, 0.14), transparent 26%),
    linear-gradient(180deg, #eef5ff 0%, #ddebff 100%);
}

body.page-menu.page-cafes .cafe-hero {
  background: linear-gradient(180deg, rgba(26, 70, 164, 0.96) 0%, rgba(26, 70, 164, 0.86) 100%);
  border-bottom: 1px solid rgba(221, 235, 255, 0.14);
  box-shadow: 0 12px 40px rgba(26, 70, 164, 0.16);
}

body.page-menu.page-cafes .cafe-hero__eyebrow,
body.page-menu.page-cafes .cafe-hero__lead {
  color: rgba(221, 235, 255, 0.82);
}

body.page-menu.page-cafes .cafe-hero__title {
  color: #eef5ff;
}

body.page-menu.page-cafes .footer {
  background: linear-gradient(180deg, rgba(221, 235, 255, 0.78), rgba(255, 255, 255, 0.92));
  border-top: 1px solid rgba(26, 70, 164, 0.14);
}

body.page-menu.page-cafes .footer__logo,
body.page-menu.page-cafes .footer h3,
body.page-menu.page-cafes .footer p,
body.page-menu.page-cafes .footer__bottom a {
  color: var(--page-text);
}

body.page-menu.page-cafes .socials a {
  color: var(--menu-blue);
}

body.page-menu.page-cafes .bottom-nav {
  background: rgba(221, 235, 255, 0.94);
  border: 1px solid rgba(26, 70, 164, 0.14);
  box-shadow: 0 16px 40px rgba(26, 70, 164, 0.18);
}

body.page-menu.page-cafes .bottom-nav__item {
  color: rgba(26, 70, 164, 0.78);
}

body.page-menu.page-cafes .bottom-nav__item:hover,
body.page-menu.page-cafes .bottom-nav__item.is-active {
  background: linear-gradient(180deg, rgba(132, 172, 231, 0.2), rgba(26, 70, 164, 0.12));
  color: var(--menu-blue);
}

body.page-menu .site-shell {
  min-height: 100svh;
}

body.page-menu .reveal {
  opacity: 1;
  transform: none;
}

.menu-page {
  width: min(1320px, calc(100% - 1.5rem));
  margin: 0 auto;
  padding: 1.1rem 0 4rem;
}

body.page-menu .menu-book-section {
  padding: 0 0 2rem;
}

body.page-menu .menu-book {
  margin-top: 0.35rem;
  background:
    linear-gradient(135deg, rgba(132, 172, 231, 0.28), rgba(26, 70, 164, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(221, 235, 255, 0.72));
  box-shadow:
    0 30px 80px rgba(26, 70, 164, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(26, 70, 164, 0.12);
}

body.page-menu .cafe-hero__eyebrow,
body.page-menu .cafe-hero__lead {
  color: rgba(221, 235, 255, 0.82);
}

body.page-menu .cafe-hero__title {
  color: #eef5ff;
}

body.page-menu .footer {
  background: linear-gradient(180deg, rgba(221, 235, 255, 0.78), rgba(255, 255, 255, 0.92));
  border-top: 1px solid rgba(26, 70, 164, 0.14);
}

body.page-menu .footer__logo,
body.page-menu .footer h3,
body.page-menu .footer p,
body.page-menu .footer__bottom a {
  color: var(--page-text);
}

body.page-menu .socials a {
  color: var(--menu-blue);
}

body.page-menu .bottom-nav {
  background: rgba(221, 235, 255, 0.94);
  border: 1px solid rgba(26, 70, 164, 0.14);
  box-shadow: 0 16px 40px rgba(26, 70, 164, 0.18);
}

body.page-menu .bottom-nav__item {
  color: rgba(26, 70, 164, 0.78);
}

body.page-menu .bottom-nav__item:hover,
body.page-menu .bottom-nav__item.is-active {
  background: linear-gradient(180deg, rgba(132, 172, 231, 0.2), rgba(26, 70, 164, 0.12));
  color: var(--menu-blue);
}

.menu-hero {
  min-height: calc(100svh - 2.1rem);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
}

.menu-hero__copy {
  padding: 1rem 0 1.5rem;
}

.menu-hero__copy h1 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.2rem, 7.2vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-weight: 600;
}

.menu-hero__copy .lead {
  color: var(--muted);
  max-width: 34rem;
}

.menu-pill {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  background: rgba(221, 235, 255, 0.82);
  border: 1px solid rgba(26, 70, 164, 0.14);
  box-shadow: var(--shadow-soft);
  color: var(--menu-blue);
  font-weight: 800;
}

.menu-book {
  position: relative;
  width: 100%;
  padding: 1rem;
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(132, 172, 231, 0.32), rgba(26, 70, 164, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(221, 235, 255, 0.74));
  box-shadow:
    0 30px 80px rgba(26, 70, 164, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.menu-book__chrome {
  position: absolute;
  inset: 0.8rem;
  border-radius: 28px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(26, 70, 164, 0.18), transparent 10%, transparent 90%, rgba(26, 70, 164, 0.14)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 34%, rgba(26, 70, 164, 0.05));
  opacity: 0.9;
}

.menu-book__viewport {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: stretch;
  perspective: 2600px;
  transform-style: preserve-3d;
  min-height: clamp(520px, 56vw, 760px);
}

.menu-book__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 24px;
  background: #f8f3ea;
  z-index: 0;
}

.menu-book:not(.is-ready) .menu-book__page,
.menu-book:not(.is-ready) .menu-book__flip {
  opacity: 0;
}

.menu-book.is-ready .menu-book__fallback {
  opacity: 0;
  pointer-events: none;
}

.menu-book__page {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: var(--menu-page-ratio, 0.74);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(221, 235, 255, 0.88)),
    #ddebff;
  box-shadow:
    0 18px 40px rgba(26, 70, 164, 0.12),
    inset 0 0 0 1px rgba(26, 70, 164, 0.08);
  transform-style: preserve-3d;
}

.menu-book__page--left {
  transform-origin: right center;
}

.menu-book__page--right {
  transform-origin: left center;
}

.menu-book__paper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.5rem, 1.6vw, 0.95rem);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.94), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(221, 235, 255, 0.9));
}

.menu-book__paper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(26, 70, 164, 0.018) 0,
      rgba(26, 70, 164, 0.018) 2px,
      transparent 2px,
      transparent 8px
    );
  mix-blend-mode: multiply;
  pointer-events: none;
}

.menu-book__paper::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow:
    inset 18px 0 30px -22px rgba(26, 70, 164, 0.25),
    inset -18px 0 30px -22px rgba(26, 70, 164, 0.25);
  pointer-events: none;
}

.menu-book__page--left .menu-book__paper {
  border-radius: 24px 18px 18px 24px;
}

.menu-book__page--right .menu-book__paper {
  border-radius: 18px 24px 24px 18px;
}

.menu-book__paper canvas {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 28px rgba(26, 70, 164, 0.1);
}

.menu-book__flip {
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc((100% - 0.75rem) / 2);
  z-index: 4;
  pointer-events: none;
  transform-style: preserve-3d;
  transition: transform 780ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.menu-book__flip .menu-book__paper {
  box-shadow: 0 24px 50px rgba(26, 70, 164, 0.18);
}

.menu-book__flip.is-next {
  right: 0;
  transform-origin: left center;
}

.menu-book__flip.is-prev {
  left: 0;
  transform-origin: right center;
}

.menu-book__flip.is-turning-next {
  transform: rotateY(-180deg);
}

.menu-book__flip.is-turning-prev {
  transform: rotateY(180deg);
}

.menu-book__bar {
  position: relative;
  z-index: 2;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.menu-arrow {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background:
    linear-gradient(180deg, #84ace7, #1a46a4);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(26, 70, 164, 0.28);
  transition: transform 200ms ease, opacity 200ms ease, box-shadow 200ms ease;
}

.menu-arrow:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(26, 70, 164, 0.34);
}

.menu-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.menu-gallery {
  padding: 0 0 2.5rem;
}

.menu-gallery__inner {
  display: grid;
  gap: 0;
  width: min(940px, 100%);
}

.menu-sheet {
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: #ddebff;
  box-shadow: none;
  border: 0;
}

.menu-sheet img {
  display: block;
  width: 100%;
  height: auto;
}

.menu-book__status {
  display: grid;
  gap: 0.2rem;
  text-align: center;
  color: var(--menu-blue);
}

.menu-book__status strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

.menu-book__status span,
.menu-book__hint,
.menu-book__error {
  font-size: 0.95rem;
  color: rgba(26, 70, 164, 0.72);
}

.menu-book__hint {
  margin: 0.85rem 0 0;
  text-align: center;
}

.menu-book__error {
  margin: 0.85rem 0 0;
  text-align: center;
  color: #1a46a4;
}

@media (max-width: 1100px) {
  .menu-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
  }

  .menu-book__viewport {
    min-height: clamp(460px, 72vw, 680px);
  }
}

@media (max-width: 760px) {
  .menu-page {
    width: calc(100% - 0.9rem);
  }

  .menu-book {
    padding: 0.75rem;
    border-radius: 28px;
  }

  .menu-book__viewport {
    gap: 0.45rem;
  }

  .menu-arrow {
    width: 52px;
    height: 52px;
  }

  .menu-book__bar {
    grid-template-columns: auto 1fr auto;
  }

  .menu-book__viewport {
    min-height: 320px;
  }

  .menu-hero__copy h1 {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .menu-gallery__inner {
    width: 100%;
  }

  .menu-sheet {
    border-radius: 0;
  }
}
