/* =========================================================
   Eiscafé Cortina — Design System
   ========================================================= */

/* Self-hosted fonts (DSGVO-konform, kein Request an Google) */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('Bilder/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('Bilder/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('Bilder/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('Bilder/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Allura';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('Bilder/fonts/allura-latin.woff2') format('woff2');
}

:root {
  /* —— colours · light cream mode ——
     Italienisches Eiscafé, warm cream & amber-gold palette.                 */

  /* surfaces — warm cream, light to slightly deeper (low → high) */
  --cream-50:   #FBF8F2;   /* page background — warm off-white */
  --cream-100:  #F4ECDC;   /* lifted surface / nav blur */
  --cream-200:  #ECE0C7;   /* cards */
  --cream-300:  #DDCDAF;   /* elevated cards / hovers */

  /* accents — warm amber/gold */
  --rosso:      #C47F0E;
  --rosso-deep: #9A6200;
  --rosso-soft: #E0A338;

  /* text — warm dark browns */
  --espresso:   #2B1810;   /* primary text */
  --coffee:     #5C4438;   /* body / secondary */
  --ink:        #14100C;   /* headings */
  --mute:       #8A7965;   /* muted */

  /* borders / separators — dark on light */
  --line:       rgba(20, 16, 12, 0.10);
  --line-soft:  rgba(20, 16, 12, 0.05);

  --gold:       #C9A348;
  --gold-glow:  rgba(201, 163, 72, 0.45);
  --charcoal:   #14100C;   /* deepest panels: CTA-banner, featured review */
  --charcoal-deep: #0A0503; /* even deeper black-brown */
  --gold-muted: #A08840;
  --pistachio:  #8FB16E;
  --olive:      #6E8A50;

  /* —— spacing —— */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* —— layout —— */
  --max:    1280px;
  --max-rd: 1080px;     /* reading width */
  --max-nr: 760px;      /* narrow width */

  /* —— type —— */
  --serif: 'Fraunces', 'Georgia', 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;

  /* —— shadow & radius —— */
  --r-sm: 4px;
  --r:    8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.30), 0 2px 6px rgba(0,0,0,0.25);
  --shadow:    0 2px 6px rgba(0,0,0,0.35), 0 12px 28px rgba(0,0,0,0.45);
  --shadow-lg: 0 8px 20px rgba(0,0,0,0.45), 0 32px 64px rgba(0,0,0,0.60);

  /* —— motion —— */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  0.5s;
}

/* =========================================================
   Page Loader — Eiswaffel mit Kugeln
   ========================================================= */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream-50);
  transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.page-loader__cone {
  animation: loader-float 1.6s ease-in-out infinite;
  filter: drop-shadow(0 10px 18px rgba(20, 16, 12, 0.12));
}
@keyframes loader-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.page-loader__scoop {
  transform-box: fill-box;
  transform-origin: center;
  animation: loader-scoop-pop 520ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.page-loader__scoop--1 { animation-delay: 40ms; }
.page-loader__scoop--2 { animation-delay: 160ms; }
.page-loader__scoop--3 { animation-delay: 280ms; }
@keyframes loader-scoop-pop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.page-loader__cone-body {
  animation: loader-cone-rise 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page-loader__waffle {
  opacity: 0.82;
  animation: loader-waffle-fade 500ms ease-out 140ms both;
}
@keyframes loader-cone-rise {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes loader-waffle-fade {
  from { opacity: 0; }
  to   { opacity: 0.82; }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader__cone,
  .page-loader__scoop,
  .page-loader__cone-body,
  .page-loader__waffle {
    animation: none;
  }
}

/* =========================================================
   Base
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--espresso);
  background: var(--cream-50);
  font-feature-settings: "ss01", "cv11";
  font-weight: 400;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
img { background: var(--cream-100); }

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

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

/* =========================================================
   Typography
   ========================================================= */

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: var(--s-4);
  display: inline-block;
}

.eyebrow--mute { color: var(--mute); }

h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-feature-settings: "ss01";
  text-wrap: balance;
}

p { text-wrap: pretty; }

h1 {
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.96;
  font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 400, "WONK" 0;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.04;
  font-variation-settings: "opsz" 144, "SOFT" 30, "wght" 400, "WONK" 0;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.15;
  font-variation-settings: "opsz" 72, "SOFT" 20, "wght" 500, "WONK" 0;
}

h4 {
  font-size: 22px;
  line-height: 1.25;
  font-variation-settings: "opsz" 24, "wght" 500, "WONK" 0;
}

h5 {
  font-size: 18px;
  line-height: 1.3;
  font-variation-settings: "opsz" 16, "wght" 500, "WONK" 0;
}

p { font-size: 17px; line-height: 1.65; color: var(--coffee); }

.lede {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--coffee);
  font-weight: 400;
  max-width: 60ch;
}

.italic { font-style: italic; }

/* —— anchors & buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 16px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 520px) {
  .btn {
    white-space: normal;
    justify-content: center;
    text-align: center;
  }
}

.btn--primary {
  background: var(--rosso);
  color: var(--ink);
}
.btn--primary:hover {
  background: var(--rosso-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(196, 127, 14, 0.35), 0 0 0 1px rgba(232, 201, 106, 0.15);
}

.hero .btn--primary {
  padding: 14px 34px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid rgba(232, 201, 106, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 228, 0.45),
    inset 0 -1px 0 rgba(20, 16, 12, 0.12),
    0 8px 22px rgba(201, 163, 72, 0.28);
}
.hero .btn--primary:hover {
  transform: translateY(-2px);
  background: var(--gold-muted);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 228, 0.55),
    inset 0 -1px 0 rgba(20, 16, 12, 0.12),
    0 14px 34px rgba(201, 163, 72, 0.42),
    0 0 0 1px rgba(232, 201, 106, 0.45);
}

.hero .hours__pill { background: var(--gold); color: var(--ink); }

.btn--ghost {
  background: transparent;
  color: var(--espresso);
  border-color: rgba(20, 16, 12, 0.18);
}
.btn--ghost:hover {
  border-color: var(--espresso);
  background: rgba(20, 16, 12, 0.06);
  transform: translateY(-2px);
}

.btn--white {
  background: var(--ink);
  color: var(--cream-50);
}
.btn--white:hover {
  background: var(--espresso);
  transform: translateY(-2px);
}

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rosso);
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all 0.3s var(--ease);
}
.link-arrow:hover {
  border-color: var(--rosso);
}
.link-arrow .arrow { transition: transform 0.3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(3px); }

/* =========================================================
   Layout
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

.container--reading { max-width: var(--max-rd); }
.container--narrow  { max-width: var(--max-nr); }

section { padding: var(--s-9) 0; position: relative; }
section.tight { padding: var(--s-7) 0; }
section.loose { padding: var(--s-10) 0; }

.section--alt {
  background: var(--cream-100);
}

.section--alt + .section--alt {
  padding-top: 0;
}

.section-head {
  margin-bottom: var(--s-8);
  max-width: 720px;
  position: relative;
}

.section-head h2 { text-wrap: balance; }
.section-head .lede { text-wrap: pretty; }

.section-head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-head__label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.section-head__label .num {
  font-family: var(--serif);
  font-size: 14px;
  font-variation-settings: "opsz" 24, "wght" 500, "WONK" 0;
  color: var(--rosso);
  letter-spacing: 0.02em;
}
.section-head__label .num::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--rosso);
  vertical-align: middle;
  margin-right: var(--s-3);
}
.section-head__label .eyebrow {
  margin-bottom: 0;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(20, 16, 12, 0.08);
  transition: all 0.3s var(--ease);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--s-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: 'Allura', var(--serif);
  font-size: 38px;
  font-weight: 400;
  color: var(--espresso);
  letter-spacing: 0;
  line-height: 0.9;
  margin-bottom: 2px;
}
.brand__tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-top: 4px;
  font-weight: 500;
}

.nav__links {
  display: flex;
  gap: var(--s-5);
  align-items: center;
  list-style: none;
}
.nav__links a {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--coffee);
  padding: 8px 4px;
  position: relative;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--rosso); }
.nav__links a.active { color: var(--rosso); }
.nav__links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--rosso);
  transform: translateX(-50%);
}

.nav__cta { margin-left: var(--s-3); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    top: 73px;
    left: 0; right: 0;
    background: var(--cream-50);
    padding: var(--s-7) var(--s-6);
    border-top: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
    box-shadow: 0 12px 48px rgba(0,0,0,0.08);
    height: calc(100vh - 73px);
    overflow-y: auto;
  }
  .nav__menu.open { transform: translateY(0); }
  .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-5);
    width: 100%;
  }
  .nav__links a {
    font-family: var(--serif);
    font-size: 32px;
    font-variation-settings: "opsz" 72, "SOFT" 30, "wght" 400, "WONK" 0;
    color: var(--ink);
  }
  .nav__cta { margin-top: var(--s-5); margin-left: 0; }
}

/* spacer below fixed nav */
.nav-spacer { height: 73px; }
.home .nav-spacer { display: none; }

/* Transparent nav on homepage hero */
.home .nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.home .nav .brand__name { color: var(--ink); }
.home .nav .brand__tag { color: var(--gold); }
.home .nav .nav__links a { color: rgba(255, 251, 242, 0.7); }
.home .nav .nav__links a:hover,
.home .nav .nav__links a.active { color: var(--gold); }
.home .nav .nav__links a.active::after { background: var(--gold); }
.home .nav .nav__toggle span { background: var(--cream-50); }
.home .nav:not(.nav--solid) .brand {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Solid nav after scrolling past hero */
.home .nav.nav--solid {
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: rgba(20, 16, 12, 0.08);
}
.home .nav.nav--solid .brand__name { color: var(--espresso); }
.home .nav.nav--solid .brand__tag { color: var(--rosso); }
.home .nav.nav--solid .nav__links a { color: var(--coffee); }
.home .nav.nav--solid .nav__links a:hover,
.home .nav.nav--solid .nav__links a.active { color: var(--rosso); }
.home .nav.nav--solid .nav__links a.active::after { background: var(--rosso); }
.home .nav.nav--solid .nav__toggle span { background: var(--ink); }

/* Mobile menu on homepage: always dark text on cream bg */
@media (max-width: 980px) {
  .home .nav .nav__menu .nav__links a { color: var(--ink); }
  .home .nav .nav__menu .nav__links a:hover,
  .home .nav .nav__menu .nav__links a.active { color: var(--rosso); }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: brightness(1.20) saturate(1.06);
  z-index: 0;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(20, 16, 12, 0.22) 0%, rgba(20, 16, 12, 0.34) 50%, rgba(20, 16, 12, 0.52) 100%),
    linear-gradient(180deg,
      rgba(20, 16, 12, 0.16) 0%,
      rgba(20, 16, 12, 0.28) 55%,
      rgba(20, 16, 12, 0.52) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; width: 100%; }

.hero__center {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 0 var(--s-5);
}

.hero__badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 26, 26, 0.65);
  backdrop-filter: blur(10px);
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(232, 201, 106, 0.25);
  margin-top: var(--s-6);
}

.hero .eyebrow { color: rgba(232, 201, 106, 0.9); }

.hero__title {
  font-size: clamp(52px, 7.2vw, 104px);
  line-height: 1.02;
  margin: var(--s-4) 0 var(--s-5);
  text-wrap: balance;
  color: var(--ink);
}
.hero__title em {
  font-family: 'Allura', var(--serif);
  font-style: normal;
  font-weight: 400;
  color: var(--gold);
  font-size: 1.45em;
  line-height: 0.9;
  letter-spacing: 0.005em;
}

.hero__status {
  margin: calc(-1 * var(--s-5)) 0 var(--s-5);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255, 251, 242, 0.6);
  text-align: center;
}
.hero__status [data-store-status] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__status [data-store-status]::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7BB661;
  box-shadow: 0 0 0 0 rgba(123, 182, 97, 0.5);
  animation: hero-status-pulse 2.6s ease-out infinite;
}
.hero__status [data-store-status].now-closed::before {
  background: #D94B4B;
  box-shadow: none;
  animation: none;
}
@keyframes hero-status-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(123, 182, 97, 0.45); }
  70%  { box-shadow: 0 0 0 7px rgba(123, 182, 97, 0); }
  100% { box-shadow: 0 0 0 0   rgba(123, 182, 97, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__status [data-store-status]::before { animation: none; }
}

.hero__lede {
  font-size: clamp(18px, 1.4vw, 22px);
  color: rgba(255, 251, 242, 0.85);
  margin-bottom: var(--s-6);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  justify-content: center;
}
.hero .btn--ghost {
  border-color: rgba(255, 251, 242, 0.35);
  color: var(--ink);
}
.hero .btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 251, 242, 0.1);
}

.hero__meta {
  display: flex;
  gap: var(--s-7);
  justify-content: center;
  padding-top: var(--s-5);
  border-top: 1px solid rgba(232, 201, 106, 0.2);
  flex-wrap: wrap;
}
.hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.hero__meta-item .key {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 251, 242, 0.5);
}
.hero__meta-item .val {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-variation-settings: "opsz" 24, "wght" 500, "WONK" 0;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 880px) {
  .hero {
    min-height: 100vh;
  }
  .hero__center {
    padding: var(--s-7) 0 var(--s-5);
  }
}

/* =========================================================
   Page Header (non-home)
   ========================================================= */

.page-header {
  padding-top: var(--s-9);
  padding-bottom: var(--s-7);
  position: relative;
}

.page-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-7);
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--s-7);
}

.page-header__title {
  margin: var(--s-4) 0 var(--s-5);
}
.page-header__title em {
  font-style: italic;
  color: var(--rosso);
  font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 300, "WONK" 0;
}

.page-header__lede {
  font-size: 19px;
  color: var(--coffee);
  max-width: 56ch;
  line-height: 1.55;
}

.page-header__rating {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.page-header__rating .score {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 400, "WONK" 0;
}
.page-header__rating .score--gold {
  color: var(--gold);
  text-shadow: 0 10px 30px rgba(201, 163, 72, 0.24);
}

@media (max-width: 760px) {
  .page-header { padding-top: var(--s-8); }
  .page-header__inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .page-header__rating { text-align: left; align-items: flex-start; }
}

/* =========================================================
   Cards & Grids
   ========================================================= */

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--cream-100);
  border-radius: var(--r-md);
  padding: var(--s-7);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h4 { margin-bottom: var(--s-3); }
.card p { font-size: 16px; line-height: 1.6; color: var(--coffee); }

.card--bordered {
  background: transparent;
  border: 1px solid var(--line);
}
.card--white { background: var(--cream-50); }

/* —— Reason cards —— */

.reason {
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.reason::before {
  content: '';
  position: absolute;
  top: 0;
  left: var(--s-7);
  right: var(--s-7);
  height: 2px;
  background: var(--rosso);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.reason:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 201, 106, 0.25);
  box-shadow: 0 12px 32px rgba(196, 127, 14, 0.08), 0 0 0 1px rgba(232, 201, 106, 0.1);
}
.reason:hover::before { transform: scaleX(1); }

.section--alt .reason {
  background: var(--cream-50);
  border-color: var(--line-soft);
}

.reason__num {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--rosso);
  font-variation-settings: "opsz" 24, "wght" 500, "WONK" 0;
  letter-spacing: 0.04em;
}

.reason h3 {
  font-size: 26px;
  line-height: 1.2;
  font-variation-settings: "opsz" 72, "SOFT" 30, "wght" 400, "WONK" 0;
}

.reason__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--coffee);
  margin-bottom: var(--s-3);
}

.reason blockquote {
  border-left: 2px solid var(--rosso);
  padding-left: var(--s-4);
  font-style: italic;
  color: var(--espresso);
  font-size: 16px;
  line-height: 1.55;
  font-family: var(--serif);
  font-variation-settings: "opsz" 24, "wght" 400, "WONK" 0;
  margin-top: auto;
}

.reason cite {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-4);
  font-style: normal;
  font-size: 13px;
  color: var(--mute);
  font-family: var(--sans);
}
.reason cite img,
.reason cite .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-200);
}

/* Initials avatar (privacy-friendly, no external request) */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  user-select: none;
}
.reason cite .avatar { font-size: 11px; }
.review__author .avatar { font-size: 13px; }

/* —— Product cards —— */

.product {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding: var(--s-6) 0 var(--s-6);
  border-top: 1px solid var(--line);
  position: relative;
}
.product::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--rosso);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.product:hover::before { transform: scaleX(1); }

.product__name {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink);
  font-variation-settings: "opsz" 72, "SOFT" 30, "wght" 500, "WONK" 0;
  line-height: 1.2;
  text-wrap: balance;
}

.product__quote {
  font-size: 15px;
  color: var(--coffee);
  font-style: italic;
  line-height: 1.55;
  font-family: var(--serif);
  font-variation-settings: "opsz" 24, "wght" 400, "WONK" 0;
}

.product__author {
  font-size: 12px;
  color: var(--mute);
  font-family: var(--sans);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.product__author::before {
  content: "—";
  color: var(--mute);
}

.product--card {
  background: var(--cream-100);
  padding: var(--s-6);
  border-radius: var(--r-md);
  transition: transform 0.4s var(--ease);
}
.product--card:hover { transform: translateY(-4px); }

/* =========================================================
   Reviews / Testimonials
   ========================================================= */

.review {
  background: var(--cream-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: var(--s-7);
  break-inside: avoid;
  margin-bottom: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.review:hover {
  transform: translateY(-3px);
  border-color: rgba(232, 201, 106, 0.2);
  box-shadow: 0 8px 24px rgba(196, 127, 14, 0.06);
}

.section--alt .review {
  background: var(--cream-50);
}

.review__stars {
  color: var(--rosso);
  font-size: 14px;
  letter-spacing: 2px;
}

.review__quote {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  font-variation-settings: "opsz" 24, "SOFT" 20, "wght" 400, "WONK" 0;
  font-style: normal;
}
.review__quote::before { content: "\201C"; opacity: 0.5; margin-right: 2px; }
.review__quote::after  { content: "\201D"; opacity: 0.5; margin-left: 2px; }

.review__author {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.review__author img {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-200);
}
.review__author .name {
  font-size: 14px;
  font-weight: 500;
  color: var(--espresso);
}
.review__author .meta {
  font-size: 12px;
  color: var(--mute);
}

.reviews-grid {
  columns: 3;
  column-gap: var(--s-5);
}
@media (max-width: 980px) { .reviews-grid { columns: 2; } }
@media (max-width: 640px) { .reviews-grid { columns: 1; } }

/* —— Featured big review —— */
.review--featured {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  color: var(--ink);
  padding: var(--s-9) var(--s-8);
  border-radius: var(--r-lg);
  border: 1px solid rgba(232, 201, 106, 0.1);
}
.review--featured .review__quote {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.2;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 300, "WONK" 0;
}
.review--featured .review__author {
  border-top-color: rgba(251, 248, 242, 0.18);
}
.review--featured .review__author .name { color: var(--ink); }
.review--featured .review__author .meta { color: rgba(251, 248, 242, 0.6); }
.review--featured .review__stars { color: var(--gold); }

/* =========================================================
   Gallery
   ========================================================= */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}
@media (max-width: 980px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.gallery-item {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  position: relative;
  background: var(--cream-100);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item--tall { aspect-ratio: 3/4; }
.gallery-item--wide { aspect-ratio: 4/3; }

.gallery-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s-7) var(--s-4) var(--s-3);
  background: linear-gradient(to top, rgba(20,16,12,0.82), rgba(20,16,12,0.36) 64%, transparent);
  color: #F8F3E8;
  font-size: 13px;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(20, 16, 12, 0.7);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

/* —— Gallery hero image —— */
.gallery-hero {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  box-shadow: var(--shadow-lg);
}
.gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.gallery-hero:hover img { transform: scale(1.03); }
.gallery-hero__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s-9) var(--s-7) var(--s-6);
  background: linear-gradient(to top, rgba(20,16,12,0.86), rgba(20,16,12,0.48) 62%, transparent);
  color: #F8F3E8;
  text-shadow: 0 2px 14px rgba(20, 16, 12, 0.75);
}
.gallery-hero__caption .eyebrow {
  color: #F1D67A;
  margin-bottom: var(--s-3);
}
.gallery-hero__caption h3 {
  color: #F8F3E8;
  font-size: clamp(28px, 3.5vw, 44px);
  font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 300, "WONK" 0;
  line-height: 1.1;
}

@media (max-width: 760px) {
  .gallery-hero { aspect-ratio: 4/3; }
  .gallery-hero__caption { padding: var(--s-7) var(--s-5) var(--s-5); }
}

/* —— Editorial gallery (for home, kept for compatibility) —— */
.gallery-editorial {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s-5);
}
.gallery-editorial .item-1 { grid-column: span 5; aspect-ratio: 4/5; }
.gallery-editorial .item-2 { grid-column: span 4; aspect-ratio: 1; margin-top: var(--s-8); }
.gallery-editorial .item-3 { grid-column: span 3; aspect-ratio: 3/4; }
.gallery-editorial .item-4 { grid-column: span 4; aspect-ratio: 1; }
.gallery-editorial .item-5 { grid-column: span 4; aspect-ratio: 4/5; }
.gallery-editorial .item-6 { grid-column: span 4; aspect-ratio: 4/5; margin-top: var(--s-7); }

@media (max-width: 880px) {
  .gallery-editorial { grid-template-columns: repeat(6, 1fr); }
  .gallery-editorial .item-1 { grid-column: span 6; }
  .gallery-editorial .item-2,
  .gallery-editorial .item-3,
  .gallery-editorial .item-4,
  .gallery-editorial .item-5,
  .gallery-editorial .item-6 { grid-column: span 3; margin-top: 0; aspect-ratio: 1; }
}

/* =========================================================
   Carousel
   ========================================================= */

.carousel {
  position: relative;
  margin: 0 auto;
}

.carousel__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--s-3);
}
.carousel__viewport::-webkit-scrollbar { display: none; }

.carousel__track {
  display: flex;
  gap: var(--s-5);
  padding: 0 var(--s-1);
}

.carousel__slide {
  flex: 0 0 calc((100% - var(--s-5) * 2) / 3);
  scroll-snap-align: start;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  background: var(--cream-100);
  cursor: pointer;
}
.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.carousel__slide:hover img { transform: scale(1.04); }

.carousel__slide-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--s-7) var(--s-4) var(--s-3);
  background: linear-gradient(to top, rgba(20,16,12,0.84), rgba(20,16,12,0.36) 64%, transparent);
  color: #F8F3E8;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--sans);
  text-shadow: 0 1px 8px rgba(20, 16, 12, 0.72);
}

@media (max-width: 880px) {
  .carousel__slide { flex: 0 0 calc((100% - var(--s-5)) / 2); }
}
@media (max-width: 600px) {
  .carousel__slide { flex: 0 0 82%; }
  .carousel__track { gap: var(--s-4); }
}

.carousel__controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--s-5);
  gap: var(--s-4);
}

.carousel__nav {
  display: flex;
  gap: var(--s-2);
}

.carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream-100);
  border: 1px solid var(--line);
  color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.3s var(--ease);
}
.carousel__btn:hover {
  background: var(--rosso);
  color: var(--ink);
  border-color: var(--rosso);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196, 127, 14, 0.3);
}
.carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}
.carousel__btn:disabled:hover {
  background: var(--cream-100);
  color: var(--espresso);
  border-color: var(--line);
}

.carousel__dots {
  display: flex;
  gap: var(--s-2);
  align-items: center;
}
.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: all 0.3s var(--ease);
}
.carousel__dot.active {
  background: var(--rosso);
  width: 24px;
  border-radius: 4px;
}

.carousel__progress {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.carousel__progress span { color: var(--rosso); }

/* —— Compact carousel (used inside menu sections) —— */
.carousel--compact .carousel__slide {
  flex: 0 0 calc((100% - var(--s-5) * 2) / 3);
  aspect-ratio: 1;
}
@media (max-width: 880px) {
  .carousel--compact .carousel__slide { flex: 0 0 calc((100% - var(--s-5)) / 2); }
}
@media (max-width: 600px) {
  .carousel--compact .carousel__slide { flex: 0 0 70%; }
}

/* =========================================================
   Lightbox
   ========================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-7);
}
.lightbox.open { display: flex; }
.lightbox__inner {
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
}
.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
}
.lightbox__caption {
  color: var(--ink);
  font-size: 14px;
  font-family: var(--serif);
  font-style: italic;
}
.lightbox__counter {
  color: rgba(251, 248, 242, 0.5);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(251, 248, 242, 0.1);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 1px solid rgba(251, 248, 242, 0.16);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(251, 248, 242, 0.2); }

.lightbox__close { top: var(--s-5); right: var(--s-5); }
.lightbox__nav--prev { left: var(--s-5); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: var(--s-5); top: 50%; transform: translateY(-50%); }

@media (max-width: 640px) {
  .lightbox__nav--prev { left: var(--s-3); }
  .lightbox__nav--next { right: var(--s-3); }
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: var(--cream-100);
  color: var(--coffee);
  padding: var(--s-9) 0 var(--s-6);
  margin-top: var(--s-9);
  border-top: 1px solid var(--line);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--line);
}
.footer__brand .brand__name { color: var(--espresso); font-size: 48px; }
.footer__brand .brand__tag { color: var(--rosso); }
.footer__brand p {
  margin-top: var(--s-4);
  color: var(--coffee);
  font-size: 15px;
  max-width: 36ch;
  line-height: 1.55;
}

.social {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-5);
  flex-wrap: wrap;
}
.social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(44, 44, 44, 0.06);
  border: 1px solid rgba(44, 44, 44, 0.15);
  color: var(--coffee);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social__btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.social__btn:hover {
  background: var(--rosso);
  border-color: var(--rosso);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(196, 127, 14, 0.25);
}

.footer__col h5 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--s-5);
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); }
.footer__col a {
  color: var(--coffee);
  font-size: 14.5px;
  transition: color 0.2s ease;
}
.footer__col a:hover { color: var(--rosso); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-5);
  font-size: 13px;
  color: var(--mute);
  flex-wrap: wrap;
  gap: var(--s-3);
}

.footer__bottom .credit { font-style: italic; font-family: var(--serif); }

@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: var(--s-6); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* =========================================================
   Hours
   ========================================================= */

.hours {
  background: var(--cream-100);
  border-radius: var(--r-md);
  overflow: hidden;
}
.hours__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  padding: var(--s-5) var(--s-6);
  gap: var(--s-4);
  border-bottom: 1px solid var(--line);
}
.hours__row:last-child { border-bottom: none; }

.hours__day {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-variation-settings: "opsz" 24, "wght" 400, "WONK" 0;
}
.hours__time {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--coffee);
}
.hours__row.closed .hours__time { color: var(--mute); font-style: italic; }

.hours__row.today { background: rgba(232, 201, 106, 0.15); }
.hours__row.today .hours__day { font-weight: 500; }

.hours__pill {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: var(--rosso);
  color: var(--ink);
}
.hours__pill.now-closed { background: var(--gold); color: var(--ink); }

@media (max-width: 600px) {
  .hours__row { grid-template-columns: 1fr 1fr; gap: var(--s-3); padding: var(--s-4) var(--s-5); }
  .hours__day { font-size: 19px; }
  .hours__pill { grid-column: 1 / -1; justify-self: start; margin-top: 4px; }
}

/* =========================================================
   Info / Contact
   ========================================================= */

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-7);
}
@media (max-width: 760px) { .info-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--cream-100);
  padding: var(--s-7);
  border-radius: var(--r-md);
}
.info-card .label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: var(--s-3);
  display: block;
}
.info-card .value {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  font-variation-settings: "opsz" 72, "SOFT" 30, "wght" 400, "WONK" 0;
  line-height: 1.2;
  margin-bottom: var(--s-2);
}
.info-card .value--small {
  font-family: var(--sans);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 600;
  letter-spacing: 0;
  word-break: break-word;
}
.info-card .sub { font-size: 15px; color: var(--coffee); }

/* =========================================================
   Map
   ========================================================= */

.map-wrap {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--cream-100);
}
/* Static (privacy-friendly) map */
.map-wrap--static .static-map__stage {
  position: relative;
  height: 380px;
  background: var(--cream-100);
}
.map-wrap--static .static-map__svg {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.45s ease 0.1s;
}
.map-wrap--static .static-map__svg.is-visible {
  opacity: 1;
}
.map-wrap--static .static-map__preview {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-6);
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-200) 100%);
  text-align: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.map-wrap--static .static-map__preview.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.map-wrap--static .static-map__preview-body {
  max-width: 440px;
}
.map-wrap--static .static-map__preview h3 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--espresso);
  margin: var(--s-3) 0 var(--s-2);
  font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 400, "WONK" 0;
}
.map-wrap--static .static-map__preview p {
  color: var(--coffee);
  margin: 0 0 var(--s-5);
  font-size: 14px;
  line-height: 1.55;
}
.map-wrap--static .static-map__preview-icon {
  filter: drop-shadow(0 8px 16px rgba(20, 16, 12, 0.1));
}
.map-wrap--static .static-map__overlay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-5) var(--s-6);
  background: var(--cream-50);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.map-wrap--static .static-map__addr {
  font-size: 16px;
  color: var(--coffee);
  margin-top: var(--s-1);
}
@media (max-width: 560px) {
  .map-wrap--static .static-map__stage { height: 340px; }
  .map-wrap--static .static-map__preview h3 { font-size: 22px; }
  .map-wrap--static .static-map__preview-icon { width: 100px; height: 130px; }
  .map-wrap--static .static-map__overlay {
    flex-direction: column;
    align-items: stretch;
  }
  .map-wrap--static .static-map__overlay .btn {
    justify-content: center;
  }
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
  filter: contrast(0.95) saturate(0.85) hue-rotate(-5deg);
}

/* =========================================================
   Menu page — trattoria card
   ========================================================= */

.menu-page {
  background: var(--cream-100);
  background-image:
    radial-gradient(circle at 25% 15%, rgba(139, 30, 45, 0.03), transparent 40%),
    radial-gradient(circle at 75% 85%, rgba(184, 148, 106, 0.04), transparent 40%);
}

/* ---- Menu cover (hero) ---- */
.menu-cover {
  padding: var(--s-9) 0 var(--s-7);
  text-align: center;
  position: relative;
}
.menu-cover__eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  font-variation-settings: "opsz" 24, "wght" 400, "WONK" 0;
  color: var(--rosso);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: var(--s-4);
}
.menu-cover__title {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.92;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 300, "WONK" 0;
  letter-spacing: -0.03em;
  margin-bottom: var(--s-5);
}
.menu-cover__title em {
  font-style: italic;
  color: var(--rosso);
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 300, "WONK" 0;
}
.menu-cover__sub {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: var(--s-5);
}
.menu-cover__sub .dot {
  display: inline-block;
  margin: 0 var(--s-3);
  color: var(--rosso);
}

/* Ornamental divider */
.ornament-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  margin: var(--s-6) auto;
  color: var(--rosso);
  max-width: 320px;
}
.ornament-rule::before,
.ornament-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.ornament-rule__mark {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  font-variation-settings: "opsz" 24, "wght" 400, "WONK" 0;
  line-height: 1;
}

/* ---- Sticky category nav ---- */
.menu-nav {
  position: sticky;
  top: 73px;
  z-index: 50;
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.menu-nav__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--s-4) var(--s-5);
  display: flex;
  gap: var(--s-6);
  justify-content: center;
  flex-wrap: wrap;
}
.menu-nav a {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  font-variation-settings: "opsz" 24, "wght" 400, "WONK" 0;
  color: var(--coffee);
  padding: 4px 2px;
  position: relative;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.menu-nav a::before {
  content: attr(data-num);
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.14em;
  color: var(--rosso);
  opacity: 0.7;
}
.menu-nav a:hover { color: var(--rosso); }

/* ---- Menu card wrapper ---- */
.menu-card {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-9) var(--s-8) var(--s-9);
}

@media (max-width: 640px) {
  .menu-card { padding: var(--s-7) var(--s-5); }
}

/* ---- Menu section ---- */
.menu-section {
  padding-top: var(--s-9);
  padding-bottom: var(--s-7);
  border: none;
}
.menu-section:first-of-type { padding-top: var(--s-6); }

.menu-section__head {
  display: block;
  margin-bottom: var(--s-7);
  text-align: center;
}
.menu-section__num {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--rosso);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: var(--s-3);
  font-variation-settings: "opsz" 16, "wght" 400, "WONK" 0;
}
.menu-section__title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 400, "WONK" 0;
  letter-spacing: -0.015em;
  margin-bottom: var(--s-4);
}
.menu-section__title em {
  font-style: italic;
  color: var(--rosso);
}
.menu-section__lede {
  font-family: var(--serif);
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  color: var(--coffee);
  max-width: 48ch;
  margin: 0 auto;
  font-variation-settings: "opsz" 24, "wght" 400, "WONK" 0;
}

/* ---- Menu list ---- */
.menu-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding-bottom: var(--s-6);
  border-bottom: 1px dashed var(--line);
}
.menu-item:last-child { border-bottom: none; padding-bottom: 0; }

.menu-item__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
}
.menu-item__name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-variation-settings: "opsz" 72, "SOFT" 20, "wght" 500, "WONK" 0;
  line-height: 1.2;
  flex-shrink: 0;
}
.menu-item__line {
  flex: 1;
  min-width: var(--s-5);
  border-bottom: 1px dotted var(--line);
  margin: 0 var(--s-2) 5px;
  transform: translateY(-2px);
}
.menu-item__price {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--rosso);
  font-variation-settings: "opsz" 16, "wght" 400, "WONK" 0;
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.menu-item__desc {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--coffee);
  line-height: 1.55;
  font-variation-settings: "opsz" 24, "wght" 400, "WONK" 0;
  max-width: 62ch;
}
.menu-item__quote {
  font-style: italic;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--mute);
  font-variation-settings: "opsz" 16, "wght" 400, "WONK" 0;
  margin-top: 2px;
  padding-left: var(--s-4);
  border-left: 1px solid var(--line);
}

/* Featured item (signature dishes) */
.menu-item--featured .menu-item__name::after {
  content: '★';
  color: var(--rosso);
  font-size: 12px;
  margin-left: var(--s-2);
  vertical-align: super;
}

/* ---- Menu footer (closing notes) ---- */
.menu-footer {
  text-align: center;
  padding: var(--s-9) var(--s-5) var(--s-10);
  max-width: 640px;
  margin: 0 auto;
}
.menu-footer__mark {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--rosso);
  font-style: italic;
  font-variation-settings: "opsz" 48, "wght" 300, "WONK" 0;
  line-height: 1;
  margin-bottom: var(--s-5);
}
.menu-footer__text {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--coffee);
  line-height: 1.6;
  font-variation-settings: "opsz" 24, "wght" 400, "WONK" 0;
}
.menu-footer__signature {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: var(--s-5);
  font-style: normal;
}

/* —— Flavour tag list —— */
.flavours {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.flavour {
  background: var(--cream-50);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--espresso);
  font-family: var(--sans);
  transition: all 0.3s var(--ease);
}
.flavour:hover {
  background: var(--rosso);
  color: var(--ink);
  border-color: var(--rosso);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 127, 14, 0.2);
}
.flavour--featured {
  background: var(--charcoal);
  color: var(--gold);
  border-color: var(--charcoal);
}

/* =========================================================
   Quote block
   ========================================================= */

.big-quote {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: var(--s-9) var(--s-5);
  position: relative;
}
.big-quote::before {
  content: '"';
  position: absolute;
  top: var(--s-3);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 180px;
  line-height: 0.8;
  color: var(--gold);
  opacity: 0.18;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 300, "WONK" 0;
  pointer-events: none;
  user-select: none;
}
.big-quote__text {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 300, "WONK" 0;
  font-style: italic;
  text-wrap: balance;
  position: relative;
}
.big-quote__cite {
  margin-top: var(--s-6);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  font-family: var(--sans);
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
}
.big-quote__cite::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--mute);
  display: inline-block;
}

/* =========================================================
   CTA banner
   ========================================================= */

.cta-banner {
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-deep) 100%);
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: var(--s-9) var(--s-8);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 201, 106, 0.12);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(196, 127, 14, 0.12), transparent 60%),
    radial-gradient(circle at 90% 0%, rgba(232, 201, 106, 0.08), transparent 50%);
  pointer-events: none;
}
.cta-banner h2 {
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 300, "WONK" 0;
}
.cta-banner h2 em {
  font-style: italic;
  color: rgba(251, 248, 242, 0.85);
}
.cta-banner p {
  color: rgba(251, 248, 242, 0.85);
  margin-top: var(--s-4);
  font-size: 17px;
  max-width: 48ch;
}
.cta-banner .btn--white {
  color: var(--charcoal);
}
.cta-banner .btn--white:hover {
  background: var(--cream-100);
  color: var(--charcoal);
}

.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  align-items: flex-start;
}

@media (max-width: 760px) {
  .cta-banner { grid-template-columns: 1fr; padding: var(--s-7) var(--s-6); }
}

/* =========================================================
   Heritage / Story (about page)
   ========================================================= */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-9);
  align-items: center;
}
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; gap: var(--s-7); } }

.story-image {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }

.story-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: var(--s-5);
  color: var(--coffee);
}
.story-text p:first-of-type::first-letter {
  font-family: var(--serif);
  font-size: 76px;
  font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 400, "WONK" 0;
  float: left;
  line-height: 0.85;
  padding: 8px 12px 0 0;
  color: var(--rosso);
}

.story-grid--reverse {
  grid-template-columns: 1.2fr 1fr;
}
@media (max-width: 880px) {
  .story-grid--reverse { grid-template-columns: 1fr; }
  .story-grid--reverse .story-image { order: -1; }
}

.coop-list {
  list-style: none;
  padding: 0;
  margin: var(--s-6) 0 0;
  border-top: 1px solid rgba(82, 56, 41, 0.12);
}
.coop-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: var(--s-4) 0;
  border-bottom: 1px solid rgba(82, 56, 41, 0.12);
}
.coop-list li strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--espresso);
  font-variation-settings: "opsz" 144, "SOFT" 50, "wght" 500, "WONK" 0;
}
.coop-list li span {
  font-size: 15px;
  line-height: 1.55;
  color: var(--coffee);
}

/* Showcase image */
.showcase-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
}
@media (max-width: 600px) {
  .showcase-duo { grid-template-columns: 1fr; }
}
.showcase {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.showcase img {
  width: 100%;
  display: block;
}
.showcase--compact {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  background: var(--espresso);
  border: 1px solid rgba(201, 163, 72, 0.5);
  border-radius: var(--r-lg);
  overflow: visible;
  box-shadow: 0 14px 36px rgba(20, 16, 12, 0.24);
}
.showcase--compact img {
  aspect-ratio: 5 / 4;
  max-height: 76vh;
  width: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-radius: calc(var(--r-lg) - 6px);
  display: block;
}
.showcase__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--s-5) var(--s-6);
  background: linear-gradient(transparent, rgba(20, 16, 12, 0.82));
  color: #F8F3E8;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(20, 16, 12, 0.72);
}

.brand-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: var(--s-8);
  align-items: center;
  padding: var(--s-7) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.brand-teaser__copy {
  max-width: 680px;
}
.brand-teaser__logo {
  background: transparent !important;
}
.brand-teaser__copy .lede {
  margin: var(--s-5) 0;
}
.brand-teaser__media {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(20, 16, 12, 0.08);
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-50) 100%);
  padding: var(--s-5);
  box-shadow: 0 1px 0 rgba(20, 16, 12, 0.04), 0 12px 32px -16px rgba(20, 16, 12, 0.18);
}
.brand-teaser__media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "wide wide"
    "brand packaged";
  gap: var(--s-4);
}
.brand-teaser__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: calc(var(--r) - 6px);
  background: var(--cream-50);
  box-shadow: 0 1px 0 rgba(20, 16, 12, 0.04), 0 6px 18px -10px rgba(20, 16, 12, 0.16);
}
.brand-teaser__image--wide {
  grid-area: wide;
  aspect-ratio: 16 / 9;
  object-position: center 60%;
}
.brand-teaser__image--brand {
  grid-area: brand;
  aspect-ratio: 4 / 5;
  object-position: center 40%;
}
.brand-teaser__image--packaged {
  grid-area: packaged;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--cream-50);
  padding: var(--s-2);
}
@media (max-width: 820px) {
  .brand-teaser {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}
@media (max-width: 480px) {
  .brand-teaser__media {
    padding: var(--s-4);
  }
  .brand-teaser__media-grid {
    gap: var(--s-3);
  }
}

.timeline {
  margin-top: var(--s-8);
  border-left: 1px solid var(--line);
  padding-left: var(--s-7);
}
.timeline__item { margin-bottom: var(--s-7); position: relative; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--s-7) - 5px);
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--rosso);
}
.timeline__year {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--rosso);
  font-variation-settings: "opsz" 24, "wght" 500, "WONK" 0;
  display: block;
  margin-bottom: 4px;
}
.timeline__title { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.timeline__desc { font-size: 15px; color: var(--coffee); }
.timeline__media {
  width: min(460px, 100%);
  height: auto;
  display: block;
  background: var(--cream-100);
  border-radius: var(--r);
  margin-top: var(--s-4);
  border: 1px solid rgba(20, 16, 12, 0.08);
  padding: var(--s-3);
}

/* =========================================================
   Marquee
   ========================================================= */

.marquee {
  overflow: hidden;
  padding: var(--s-7) 0;
  background: var(--cream-100);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.marquee__track {
  display: flex;
  gap: var(--s-7);
  animation: marquee 50s linear infinite;
  width: max-content;
}
.marquee__item {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 64px);
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 400, "WONK" 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--s-7);
}
.marquee__item::after {
  content: "✦";
  color: var(--rosso);
  font-size: 0.5em;
  margin-left: var(--s-7);
}
.marquee__item em {
  font-style: italic;
  color: var(--rosso);
  font-variation-settings: "opsz" 144, "SOFT" 80, "wght" 300, "WONK" 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* =========================================================
   Tips list
   ========================================================= */

.tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
@media (max-width: 880px) { .tips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tips-grid { grid-template-columns: 1fr; } }

.tip {
  background: var(--cream-50);
  border: 1px solid var(--ink);
  border-radius: var(--r-md);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: all 0.3s var(--ease);
}
.tip:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(232, 201, 106, 0.12);
}
.tip__icon {
  font-size: 28px;
  margin-bottom: var(--s-3);
}
.tip h4 { font-size: 19px; color: var(--ink); }
.tip p { font-size: 15px; line-height: 1.55; color: var(--coffee); }

/* =========================================================
   Reveal animation
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   Utilities
   ========================================================= */

.center { text-align: center; }
.muted { color: var(--mute); }
.serif { font-family: var(--serif); }

.divider {
  height: 1px;
  background: var(--line);
  border: none;
  margin: var(--s-8) 0;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-4);
  padding: var(--s-7) 0;
  color: var(--rosso);
  opacity: 0.7;
}
.ornament::before,
.ornament::after {
  content: '';
  width: 48px;
  height: 1px;
  background: currentColor;
}
.ornament__mark {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  font-variation-settings: "opsz" 24, "wght" 400, "WONK" 0;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--cream-200);
  color: var(--espresso);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* =========================================================
   Body lock when menu open
   ========================================================= */
body.menu-open { overflow: hidden; }

/* =========================================================
   Golden Mediterranean Effects
   ========================================================= */

/* Warm ambient glow behind body */
body::before {
  content: '';
  position: fixed;
  top: -40vh;
  left: 50%;
  transform: translateX(-50%);
  width: 120vw;
  height: 80vh;
  background: radial-gradient(ellipse at center, rgba(232, 201, 106, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Golden shimmer on brand name */
@keyframes golden-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.brand__name {
  background: linear-gradient(
    90deg,
    var(--ink) 0%,
    var(--gold) 25%,
    var(--ink) 50%,
    var(--gold) 75%,
    var(--ink) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: golden-shimmer 25s linear infinite;
}

/* Golden glow pulse for badges and pills */
@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(232, 201, 106, 0.2); }
  50%      { box-shadow: 0 0 20px rgba(232, 201, 106, 0.35); }
}

.hero__badge-inline {
  animation: glow-pulse 3s ease-in-out infinite;
}

/* Warm card hover glow */
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(196, 127, 14, 0.08), 0 0 0 1px rgba(232, 201, 106, 0.1);
}

/* Golden line decoration */
.section-head__label .num::before {
  background: linear-gradient(90deg, var(--gold), var(--rosso));
}

/* Warm section alternate */
.section--alt {
  background: var(--cream-100);
  position: relative;
}
.section--alt::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(232, 201, 106, 0.06), transparent 60%);
  pointer-events: none;
}

/* =========================================================
   Speisekarte — Flipbook Page
   ========================================================= */

.speisekarte-page {
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(232, 201, 106, 0.1), transparent 60%),
    var(--cream-100);
  min-height: calc(100vh - 73px);
  display: flex;
  flex-direction: column;
}

.speisekarte-hero {
  text-align: center;
  padding: var(--s-8) var(--s-5) var(--s-4);
}
.speisekarte-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 60, "wght" 300, "WONK" 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.speisekarte-hero p {
  font-size: 14px;
  color: var(--mute);
  letter-spacing: 0.14em;
}

.flipbook-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 var(--s-5) var(--s-5);
}

.flipbook-nav-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--rosso);
  background: rgba(196, 127, 14, 0.06);
  color: var(--rosso);
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.15s, box-shadow 0.25s;
  user-select: none;
  line-height: 1;
}
.flipbook-nav-btn:hover {
  background: rgba(196, 127, 14, 0.15);
  box-shadow: 0 4px 16px rgba(196, 127, 14, 0.15);
}
.flipbook-nav-btn:active { transform: scale(0.92); }
.flipbook-nav-btn:disabled { opacity: 0.25; cursor: default; }

#book-wrap {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 12px 48px rgba(0, 0, 0, 0.55);
}
#book-wrap::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 5%;
  width: 90%;
  height: 22px;
  background: rgba(0, 0, 0, 0.45);
  filter: blur(12px);
  border-radius: 50%;
  pointer-events: none;
}

.flipbook-info {
  text-align: center;
  padding: var(--s-4) 0 var(--s-6);
  color: var(--mute);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  user-select: none;
}

.flipbook-hint {
  text-align: center;
  padding-bottom: var(--s-5);
  color: var(--mute);
  opacity: 0.5;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  user-select: none;
}

/* Flipbook library overrides */
.speisekarte-page .stf__parent { background: transparent !important; }
.speisekarte-page .stf__block  { background: transparent !important; }
.speisekarte-page .page-blank  { background: transparent !important; width: 100%; height: 100%; display: block; }
.speisekarte-page .page-img    { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Cover (erste Seite) und Rückseite (letzte Seite): keine Box / kein Schatten,
   damit sie ohne weißen Rahmen vor dem Seitenhintergrund stehen */
.speisekarte-page .stf__item.--hard,
.speisekarte-page .stf__item:first-child,
.speisekarte-page .stf__item:last-child {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Wenn nur Cover (links leer) oder nur Rückseite (rechts leer) zu sehen ist,
   den Wrap-Schatten ausblenden — sonst entsteht ein leerer "Karten"-Schatten
   neben dem einzelnen Bild. Der Schatten kehrt zurück, sobald beide Seiten
   einer Doppelseite sichtbar sind. */
.speisekarte-page #book-wrap.is-cover,
.speisekarte-page #book-wrap.is-back {
  box-shadow: none !important;
  border-color: transparent !important;
}
.speisekarte-page #book-wrap.is-cover::after,
.speisekarte-page #book-wrap.is-back::after {
  display: none !important;
}

/* Flipbook loader */
.flipbook-loader {
  position: fixed;
  inset: 0;
  background: var(--cream-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 9999;
  transition: opacity 0.6s;
}
.flipbook-loader.hidden { opacity: 0; pointer-events: none; }
.flipbook-loader svg {
  width: 52px; height: 52px;
  animation: spin 1.1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.flipbook-loader p { color: var(--mute); font-size: 0.85rem; letter-spacing: 0.12em; }

/* —— Progress bar + mobile nav (hidden on desktop) —— */
.flipbook-progress {
  display: none;
}
.flipbook-mobile-nav {
  display: none;
}

@media (max-width: 680px) {

  /* ── Lightbox-style mobile menu ── */
  .speisekarte-page {
    min-height: calc(100vh - 73px);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* Title fades out after 2s */
  .speisekarte-hero {
    padding: var(--s-4) var(--s-4) var(--s-3);
    margin-top: 40px;
    transition: opacity 0.8s ease, max-height 0.5s ease 0.6s, padding 0.5s ease 0.6s, margin 0.5s ease 0.6s;
    max-height: 80px;
    overflow: hidden;
  }
  .speisekarte-hero.fade-out {
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
  }
  .speisekarte-hero h1 {
    font-size: 18px;
    letter-spacing: 0.14em;
    margin-bottom: 2px;
  }
  .speisekarte-hero p { font-size: 11px; }

  /* Book stage: just the book, no stretch */
  .flipbook-stage {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 0;
    margin-top: 56px;
  }

  /* Warm frame around the book */
  #book-wrap {
    position: relative;
    border: 1.5px solid rgba(196, 127, 14, 0.15);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 12px 48px rgba(0, 0, 0, 0.5);
  }
  #book-wrap::after {
    display: none;
  }

  /* Progress bar — tight under the book */
  .flipbook-progress {
    display: block;
    width: 80%;
    height: 2px;
    background: var(--line);
    border-radius: 1px;
    margin: 10px auto 8px;
    overflow: hidden;
  }

  /* Nav buttons below the book, side by side */
  .flipbook-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    border-width: 1.5px;
  }
  .flipbook-nav-btn:disabled { opacity: 0.15; }

  /* Hide desktop buttons, show mobile nav row */
  .flipbook-nav-btn--desktop { display: none; }
  .flipbook-mobile-nav {
    display: flex;
    justify-content: center;
    gap: var(--s-5);
  }
  .flipbook-progress__bar {
    height: 100%;
    width: 3.8%;
    background: linear-gradient(90deg, var(--gold-muted), var(--gold));
    border-radius: 1px;
    transition: width 0.5s ease;
  }

  /* Page counter: minimal */
  .flipbook-info {
    padding: var(--s-2) 0 var(--s-1);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    color: var(--mute);
  }

  /* Hint */
  .flipbook-hint {
    font-size: 0.58rem;
    padding-bottom: var(--s-4);
    color: var(--mute);
    opacity: 0.4;
  }

  /* Footer tighter on speisekarte mobile */
  .speisekarte-page + div + .footer { margin-top: 0; }
}

/* =========================================================
   Golden Scrollbar
   ========================================================= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream-100); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--rosso));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--rosso); }

/* =========================================================
   Treasure-Map Button (animated dashed path + X)
   ========================================================= */

.btn--treasure {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Keep label + arrow above the SVG */
.btn--treasure > .btn__label,
.btn--treasure > .arrow {
  position: relative;
  z-index: 2;
}

/* SVG covers the whole button — opacity stays mid (~60%) on hover */
.btn--treasure .treasure-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
  z-index: 1;
}

/* Default state: completely invisible.
   - The dashed pattern is always set (3 unit dash / 4 unit gap on a normalized path)
   - clip-path cuts the entire right side away, so 0% of the line is visible
   - The X starts hidden via opacity */
.btn--treasure .treasure-path {
  stroke-dasharray: 3 4;
  clip-path: inset(-50% 100% -50% 0);
}

.btn--treasure .treasure-x {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

/* On hover: reveal the dashed trail left → right, then bounce-pop the X.
   Animations use forwards so the result holds while hovering.
   Hover ends → animations are removed → defaults snap back instantly. */
.btn--treasure:hover .treasure-path {
  animation: treasure-reveal 2.5s ease-out forwards;
}

.btn--treasure:hover .treasure-x {
  animation: treasure-x-pop 2.5s ease-out forwards;
}

@keyframes treasure-reveal {
  from { clip-path: inset(-50% 100% -50% 0); }
  to   { clip-path: inset(-50% 0   -50% 0); }
}

@keyframes treasure-x-pop {
  0%, 75% { opacity: 0; transform: scale(0.4)  rotate(-15deg); }
  85%     { opacity: 1; transform: scale(1.35) rotate(2deg); }
  92%     { opacity: 1; transform: scale(0.92) rotate(-1deg); }
  100%    { opacity: 1; transform: scale(1)    rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .btn--treasure:hover .treasure-path,
  .btn--treasure:hover .treasure-x { animation: none; }
  .btn--treasure:hover .treasure-path { clip-path: inset(-50% 0 -50% 0); }
  .btn--treasure:hover .treasure-x   { opacity: 1; transform: none; }
}

/* =========================================================
   Freeze / Snow-Fill Button Effect
   ========================================================= */

.btn--freeze {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease);
}

.btn--freeze > * { position: relative; z-index: 2; }
.btn--freeze:hover { transform: translateY(-2px); }
.btn--freeze:hover .arrow { transform: translateX(4px); }

/* Snow fill inside button */
.freeze-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.95) 40%, rgba(245,248,255,0.85));
  transition: height 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

/* Bumpy snow-pile top edge */
.freeze-fill::before {
  content: '';
  position: absolute;
  top: -7px;
  left: -6px;
  right: -6px;
  height: 16px;
  background:
    radial-gradient(ellipse 22px 10px at 10% 80%, rgba(255,255,255,0.95) 58%, transparent 60%),
    radial-gradient(ellipse 28px 12px at 30% 70%, rgba(255,255,255,0.95) 58%, transparent 60%),
    radial-gradient(ellipse 20px 9px  at 50% 82%, rgba(255,255,255,0.95) 58%, transparent 60%),
    radial-gradient(ellipse 26px 11px at 72% 72%, rgba(255,255,255,0.95) 58%, transparent 60%),
    radial-gradient(ellipse 22px 10px at 92% 78%, rgba(255,255,255,0.95) 58%, transparent 60%);
  pointer-events: none;
}

/* Snow spawn area */
.freeze-zone {
  position: relative;
  display: inline-block;
}

/* Falling snow particle */
.freeze-flake {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  background: radial-gradient(ellipse at 38% 38%, rgba(255,255,255,0.95), rgba(230,235,245,0.5) 65%, transparent 100%);
  border-radius: var(--rx, 50%) / var(--ry, 50%);
  opacity: 0;
  will-change: transform, opacity;
  animation: flake-fall var(--dur) ease-in forwards;
}

@keyframes flake-fall {
  0%   { opacity: 0;            transform: translateY(0)           translateX(0)                       rotate(0deg); }
  10%  { opacity: var(--peak);  }
  50%  { opacity: var(--peak);  transform: translateY(var(--half)) translateX(calc(var(--dx) * 0.5))   rotate(calc(var(--rot) * 0.5)); }
  90%  { opacity: var(--peak);  }
  100% { opacity: 0;            transform: translateY(var(--fall)) translateX(var(--dx))                rotate(var(--rot)); }
}

/* =========================================================
   Dark-panel text overrides (light mode)
   ---------------------------------------------------------
   These panels keep a dark background — Hero (over image),
   Featured Review & CTA-Banner (charcoal gradient). Locally
   flipping the text variables keeps their original contrast
   without touching every rule inside.
   ========================================================= */
.hero,
.home .nav:not(.nav--solid),
.review--featured,
.cta-banner,
.lightbox,
.flavour--featured {
  --ink:      #F1F5E6;
  --espresso: #E8EEDE;
  --coffee:   #B9C4AC;
  --mute:     #8E9A82;
}

/* Mobile nav menu drops on cream bg, even in hero-context — reset text */
.home .nav:not(.nav--solid) .nav__menu {
  --ink:      #14100C;
  --espresso: #2B1810;
  --coffee:   #5C4438;
  --mute:     #8A7965;
}

/* Captions that sit on a dark gradient overlay over images */
.gallery-item__caption,
.gallery-hero__caption,
.carousel__slide-caption,
.showcase__caption {
  color: #F8F3E8;
}
