/* =========================================================
   BALENTINO PIZZA — warm rustic trattoria
   Palette derived from the storefront facade.
   ========================================================= */

:root {
  /* Brand colors */
  --cream:        #F8F2E7;
  --cream-2:      #F1E7D4;
  --cream-3:      #EADFC8;
  --ochre:        #C79A3A;
  --ochre-deep:   #A87C24;
  --ochre-soft:   #E3C679;
  --oxblood:      #6A2B29;
  --oxblood-deep: #4C1D1C;
  --oxblood-2:    #5A2422;
  --terracotta:   #BE6A47;
  --charcoal:     #23292E;
  --ink:          #1A1611;
  --ink-soft:     #4A4138;

  /* Semantic */
  --bg:           var(--cream);
  --surface:      #FFFFFF;
  --text:         var(--charcoal);
  --text-muted:   #6E655A;
  --primary:      var(--oxblood);
  --accent:       var(--ochre);
  --border:       rgba(35,41,46,0.12);

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container:    1180px;
  --radius:       4px;
  --radius-lg:    14px;

  /* Motion */
  --ease:         cubic-bezier(0.22, 1, 0.36, 1);
  --dur:          .5s;

  --shadow-sm:    0 2px 10px rgba(26,22,17,0.06);
  --shadow-md:    0 14px 40px rgba(26,22,17,0.12);
  --shadow-lg:    0 30px 70px rgba(26,22,17,0.18);

  /* Bolder: ember / oven-glow accents + drenched darks */
  --ember:        #F0A93A;   /* glowing gold, for accents on dark */
  --ember-hot:    #E8702A;   /* oven-fire orange */
  --char:         #15100C;   /* warm near-black, drenched sections */
  --char-2:       #1F1611;
  --glow:         0 0 40px rgba(240,169,58,0.35);

  /* Fallback photography (verified Unsplash, auto=format → AVIF/WebP). Local files override via JS.
     Widths are sized to display size to keep payloads small. */
  --img-hero:  url('https://images.unsplash.com/photo-1536622308015-0740925b8221?auto=format&fit=crop&w=1700&q=78');
  --img-craft: url('https://images.unsplash.com/photo-1537734796389-e1fc293cf856?auto=format&fit=crop&w=1000&q=78');
  --img-g1: url('https://images.unsplash.com/photo-1574071318508-1cdbab80d002?auto=format&fit=crop&w=760&q=78');
  --img-g2: url('https://images.unsplash.com/photo-1579751626657-72bc17010498?auto=format&fit=crop&w=760&q=78');
  --img-g3: url('https://images.unsplash.com/photo-1598023696416-0193a0bcd302?auto=format&fit=crop&w=760&q=78');
  --img-g4: url('https://images.unsplash.com/photo-1564936281291-294551497d81?auto=format&fit=crop&w=700&q=78');
  --img-g5: url('https://images.unsplash.com/photo-1587085416963-22efba033dd5?auto=format&fit=crop&w=760&q=78');
}
/* Mobile: a much smaller hero image cuts the LCP payload on phones. */
@media (max-width: 640px) {
  :root { --img-hero: url('https://images.unsplash.com/photo-1536622308015-0740925b8221?auto=format&fit=crop&w=820&q=78'); }
}

/* Fine film grain for depth on drenched sections (no glassmorphism). */
.grain::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 28px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--oxblood); color: var(--cream); padding: 10px 18px; border-radius: var(--radius);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase;
  color: var(--ochre-deep); margin-bottom: 18px;
}
.eyebrow-light { color: var(--ochre-soft); }
.eyebrow::before { content: "—"; margin-right: 12px; opacity: .6; }

.section-title {
  font-family: var(--font-display);
  font-weight: 600; line-height: 1.04; letter-spacing: -0.01em;
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  color: inherit;
}
.section-sub { color: var(--text-muted); max-width: 46ch; margin-top: 16px; }
.section-head.center { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head.center .eyebrow::before { display: none; }
.section-head.center .section-sub { margin-inline: auto; }

.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-dark  {
  background: radial-gradient(120% 90% at 50% -10%, var(--oxblood) 0%, var(--char) 70%);
  color: var(--cream); position: relative; overflow: hidden;
}
.section-dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
.section-dark > .container { position: relative; z-index: 1; }
.section-dark .section-sub { color: rgba(248,242,231,0.72); }
.section-cream { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 13px 26px; border-radius: 100px; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--ember); color: var(--ink); box-shadow: 0 8px 22px rgba(240,169,58,0.4); font-weight: 700; }
.btn-primary:hover { background: var(--ember-hot); color: var(--cream); box-shadow: 0 14px 38px rgba(232,112,42,0.5), var(--glow); }

.btn-ghost { border-color: rgba(248,242,231,0.5); color: var(--cream); }
.btn-ghost:hover { background: rgba(248,242,231,0.1); border-color: var(--cream); }

.btn-outline { border-color: var(--oxblood); color: var(--oxblood); }
.btn-outline:hover { background: var(--oxblood); color: var(--cream); }

.btn-call { background: var(--oxblood); color: var(--cream); padding: 10px 20px; }
.btn-call:hover { background: var(--oxblood-2); }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  padding: 16px 0;
  transition: padding .35s var(--ease), background .35s, box-shadow .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  padding: 9px 0;
  background: rgba(248,242,231,0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); transition: color .35s; }
.scrolled .brand { color: var(--charcoal); }
.brand-mark { display: grid; place-items: center; color: var(--ochre); flex-shrink: 0; }
.scrolled .brand-mark { color: var(--ochre-deep); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; letter-spacing: .02em; }
.brand-sub { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; opacity: .8; margin-top: 3px; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: .9rem; font-weight: 500; color: var(--cream); position: relative; padding: 4px 0;
  transition: color .3s; opacity: .92;
}
.scrolled .main-nav a { color: var(--charcoal); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--ochre); transition: width .3s var(--ease);
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; border: 1px solid rgba(248,242,231,0.4); border-radius: 100px; overflow: hidden;
  transition: border-color .35s;
}
.scrolled .lang-toggle { border-color: var(--border); }
.lang-toggle button {
  background: transparent; border: 0; color: var(--cream); padding: 6px 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .05em; transition: background .25s, color .25s;
}
.scrolled .lang-toggle button { color: var(--charcoal); }
.lang-toggle button.is-active { background: var(--ochre); color: var(--ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); transition: .3s var(--ease); border-radius: 2px; }
.scrolled .nav-toggle span { background: var(--charcoal); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--cream); border-top: 1px solid var(--border);
  padding: 14px 28px 26px; box-shadow: var(--shadow-md);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 13px 4px; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-call { color: var(--oxblood) !important; font-weight: 600 !important; }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(64px, 12vh, 120px); padding-top: 140px;
  color: var(--cream); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-photo {
  position: absolute; inset: -8% 0 0 0; height: 116%;
  background-image: var(--img-hero);
  background-size: cover; background-position: center 40%;
  will-change: transform;
  animation: heroZoom 1.6s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: scale(1.05); } }
/* When a real photo is present, JS sets it as background-image on .hero-photo */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 82% 22%, rgba(240,169,58,0.28), transparent 50%),
    linear-gradient(180deg, rgba(21,16,12,0.55) 0%, rgba(21,16,12,0.2) 38%, rgba(21,16,12,0.82) 100%);
}
.hero-overlay::after {
  content: ""; position: absolute; inset: 0; opacity: 0.35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
.hero-content { position: relative; max-width: 760px; }
.hero-title {
  font-family: var(--font-display); font-weight: 700; line-height: .88; letter-spacing: -0.02em;
  margin: 8px 0 24px; text-wrap: balance;
}
.hero-title-line { display: block; font-size: clamp(3.6rem, 11vw, 6rem); text-shadow: 0 2px 30px rgba(21,16,12,0.5); }
.hero-title-script {
  display: block; font-style: italic; font-weight: 500; color: var(--ember);
  font-size: clamp(2.8rem, 9vw, 5rem); margin-top: -.08em; letter-spacing: -0.01em;
  text-shadow: var(--glow);
}
.hero-lead { font-size: clamp(1.08rem, 1.8vw, 1.32rem); max-width: 54ch; color: rgba(248,242,231,0.94); line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; opacity: .82;
}
.scroll-cue-line { width: 1px; height: 42px; background: linear-gradient(var(--ochre-soft), transparent); animation: cuepulse 2.2s var(--ease) infinite; }
@keyframes cuepulse { 0%,100%{ transform: scaleY(.4); opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* ===================== MARQUEE ===================== */
.marquee { background: var(--oxblood-deep); color: var(--cream-3); overflow: hidden; padding: 16px 0; border-block: 1px solid rgba(199,154,58,0.2); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.35rem; letter-spacing: .02em; padding-right: 8px; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===================== ACCOLADES ===================== */
.accolades { background: var(--cream); padding: clamp(48px, 7vw, 76px) 0; border-bottom: 1px solid var(--border); }
.accolades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.accolade {
  text-align: center; padding: 8px 18px; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.accolade + .accolade::before {
  content: ""; position: absolute; left: 0; top: 12%; height: 76%; width: 1px;
  background: linear-gradient(transparent, var(--border), transparent);
}
.accolade-num {
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(2.6rem, 6vw, 4rem); color: var(--oxblood);
  display: inline-flex; align-items: baseline; gap: 4px;
}
.accolade-num small { font-size: .32em; font-weight: 600; letter-spacing: .04em; color: var(--ochre-deep); text-transform: uppercase; }
.accolade-label { font-size: .9rem; color: var(--text-muted); max-width: 24ch; line-height: 1.4; }

/* ===================== STORY ===================== */
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.story-media { position: relative; }
.story-photo { border-radius: var(--radius-lg); background-size: cover; background-position: center; box-shadow: var(--shadow-md); }
.story-photo-1 {
  aspect-ratio: 4/5;
  background-image: var(--img-craft);
  background-size: cover; background-position: center;
}
.story-photo-2 {
  position: absolute; right: -10%; bottom: -12%; width: 52%; aspect-ratio: 1/1;
  border: 7px solid var(--cream); box-shadow: var(--shadow-lg);
  background-image: var(--img-g4);
  background-size: cover; background-position: center;
}
.story-badge {
  position: absolute; left: -6%; top: 8%; background: var(--cream); color: var(--oxblood);
  border-radius: 50%; width: 124px; height: 124px; display: grid; place-content: center; text-align: center;
  box-shadow: var(--shadow-md); padding: 10px; line-height: 1.1;
  transform: rotate(-8deg);
}
.story-badge-num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; display: block; }
.story-badge-text { font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.story-text > p { color: var(--text-muted); margin-top: 18px; max-width: 52ch; }

.story-features { list-style: none; margin-top: 34px; display: grid; gap: 18px; }
.story-features li { display: flex; align-items: center; gap: 16px; }
.feature-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--cream-2); color: var(--oxblood); flex-shrink: 0; border: 1px solid var(--border); }
.story-features strong { display: block; font-size: 1.02rem; font-family: var(--font-display); font-weight: 600; }
.story-features em { font-style: normal; color: var(--text-muted); font-size: .92rem; }

/* ===================== MENU ===================== */
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.menu-tab {
  background: transparent; border: 1px solid rgba(248,242,231,0.28); color: var(--cream);
  padding: 10px 22px; border-radius: 100px; font-size: .9rem; font-weight: 500;
  transition: background .25s, color .25s, border-color .25s; opacity: .85;
}
.menu-tab:hover { opacity: 1; border-color: var(--ochre-soft); }
.menu-tab.is-active { background: var(--ochre); border-color: var(--ochre); color: var(--ink); opacity: 1; }

.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 64px; max-width: 980px; margin: 0 auto; }
.menu-row {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px;
  padding: 18px 0; border-bottom: 1px dashed rgba(248,242,231,0.18);
}
.menu-row-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.menu-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.menu-tag { font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 3px 8px; border-radius: 100px; background: rgba(199,154,58,0.2); color: var(--ochre-soft); }
.menu-tag.veg { background: rgba(140,180,110,0.18); color: #b7d49a; }
.menu-desc { grid-column: 1 / -1; color: rgba(248,242,231,0.66); font-size: .92rem; margin-top: 4px; max-width: 44ch; }
.menu-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--ochre-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-divider { grid-column: 1 / -1; margin: 26px 0 2px; display: flex; align-items: center; gap: 14px; }
.menu-divider:first-child { margin-top: 0; }
.menu-divider span { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ochre-soft); font-weight: 700; white-space: nowrap; }
.menu-divider::after { content: ""; flex: 1; height: 1px; background: rgba(248,242,231,0.18); }
.menu-note { text-align: center; margin-top: 44px; font-size: .85rem; color: rgba(248,242,231,0.55); max-width: 60ch; margin-inline: auto; }

/* ===================== GALLERY ===================== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.g-item {
  border-radius: var(--radius-lg); overflow: hidden; position: relative; background-size: cover; background-position: center;
  box-shadow: var(--shadow-sm);
}
.g-item { background-size: cover; background-position: center; transition: transform .5s var(--ease); }
.g-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(240,169,58,0.0) 40%, rgba(106,43,41,0.5));
  transition: opacity .4s; opacity: .7;
}
.g-item:hover { transform: scale(1.03); }
.g-item:hover::after { opacity: .3; }
.g-item:nth-child(1) { background-image: var(--img-hero); }
.g-item:nth-child(2) { background-image: var(--img-g1); }
.g-item:nth-child(3) { background-image: var(--img-g2); }
.g-item:nth-child(4) { background-image: var(--img-craft); }
.g-item:nth-child(5) { background-image: var(--img-g3); }
.g-item:nth-child(6) { background-image: var(--img-g5); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.gallery-hint { text-align: center; margin-top: 30px; font-size: .85rem; color: var(--text-muted); }
.gallery-hint code { background: var(--cream-3); padding: 2px 7px; border-radius: 4px; font-size: .8rem; }

/* ===================== ORDER ===================== */
.order-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.order-intro { position: sticky; top: 100px; }
.order-intro > p:not(.eyebrow) { color: var(--text-muted); margin-top: 16px; max-width: 42ch; font-size: 1.18rem; line-height: 1.55; }

.order-summary { margin-top: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.order-summary h3 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; margin-bottom: 14px; }
.order-items { list-style: none; display: grid; gap: 10px; min-height: 30px; }
.order-items li { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; align-items: center; }
.order-empty { color: var(--text-muted); font-style: italic; }
.order-item-name { display: flex; align-items: center; gap: 8px; }
.order-qty { display: inline-flex; align-items: center; gap: 8px; }
.order-qty button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--border); background: var(--cream); display: grid; place-items: center; font-weight: 700; color: var(--oxblood); line-height: 1; }
.order-item-price { font-variant-numeric: tabular-nums; color: var(--text-muted); min-width: 64px; text-align: right; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0; padding-top: 16px; border-top: 1px solid var(--border); font-weight: 600; }
.order-total span:last-child { font-family: var(--font-display); font-size: 1.6rem; color: var(--oxblood); font-variant-numeric: tabular-nums; }
.order-copy { display: block; width: 100%; margin-top: 10px; background: transparent; border: 0; color: var(--text-muted); font-size: .85rem; text-decoration: underline; padding: 6px; }
.order-copy.copied { color: var(--ochre-deep); }

.order-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.order-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px;
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.order-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ochre); }
.order-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.order-card h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.order-card-price { font-family: var(--font-display); font-weight: 600; color: var(--oxblood); font-variant-numeric: tabular-nums; }
.order-card p { font-size: .85rem; color: var(--text-muted); margin: 8px 0 16px; min-height: 38px; }
.order-add { width: 100%; border: 1.5px solid var(--oxblood); color: var(--oxblood); background: transparent; border-radius: 100px; padding: 9px; font-weight: 600; font-size: .88rem; transition: background .25s, color .25s; }
.order-add:hover { background: var(--oxblood); color: var(--cream); }
.order-add.added { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }

/* ===================== RESERVE ===================== */
.reserve-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.reserve-text > p { color: rgba(248,242,231,0.74); margin-top: 16px; max-width: 42ch; }
.reserve-info { list-style: none; margin-top: 32px; display: grid; gap: 16px; }
.reserve-info li { display: flex; flex-direction: column; border-left: 2px solid var(--ochre); padding-left: 16px; }
.reserve-info span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ochre-soft); }
.reserve-info strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; margin-top: 2px; }

.reserve-form { background: var(--cream); color: var(--charcoal); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-size: .82rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft); }
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface); color: var(--charcoal); width: 100%;
  transition: border-color .2s, box-shadow .2s; min-height: 46px;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ochre); box-shadow: 0 0 0 3px rgba(199,154,58,0.18); }
.field-error { font-size: .78rem; color: #b3261e; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select { border-color: #b3261e; }
.field.invalid .field-error { display: block; }
.form-status { margin-top: 14px; font-size: .92rem; text-align: center; min-height: 22px; }
.form-status.success { color: #2e7d32; font-weight: 600; }
.form-status.error { color: #b3261e; font-weight: 600; }

/* Honeypot — kept in the DOM (so bots fill it) but away from people. */
.hp-field { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* Takeaway checkout — revealed once the cart has items. */
.order-checkout { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--border); }
.order-checkout[hidden] { display: none; }
.order-checkout .field { margin-bottom: 14px; }
.order-checkout .field:last-of-type { margin-bottom: 8px; }

/* Turnstile widget spacing (the widget itself is empty until configured). */
.cf-turnstile:not(:empty) { margin: 4px 0 16px; }

/* ===================== REVIEWS ===================== */
.reviews-mount { max-width: 1100px; margin: 0 auto; }

/* Rating header */
.reviews-rating { text-align: center; margin-bottom: 40px; }
.reviews-stars { display: flex; justify-content: center; gap: 5px; color: var(--ochre); margin-bottom: 8px; }
.reviews-score { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--charcoal); letter-spacing: -.02em; }
.reviews-count { display: block; font-size: .88rem; color: var(--text-muted); margin-top: 4px; letter-spacing: .03em; }

/* Carousel: 3 cards visible, scroll-snap sideways */
.reviews-carousel { position: relative; display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.reviews-cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 18px;
  scrollbar-width: none;
  flex: 1;
}
.reviews-cards::-webkit-scrollbar { display: none; }
.review-card {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.review-card p { font-size: .95rem; line-height: 1.65; color: var(--charcoal); margin: 0 0 auto; font-style: italic; padding-bottom: 18px; }
.review-card footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); }
.review-card footer strong { font-size: .85rem; color: var(--ink-soft); }
.review-stars { color: var(--ochre); font-size: .8rem; letter-spacing: 2px; }

/* Arrow buttons */
.reviews-arrow {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--charcoal);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.reviews-arrow:hover { background: var(--oxblood); color: var(--cream); transform: scale(1.05); }
.reviews-arrow:disabled { opacity: .3; cursor: default; pointer-events: none; }
.reviews-arrow:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

/* Dots indicator */
.reviews-dots { display: flex; justify-content: center; gap: 8px; margin: 0 0 30px; }
.reviews-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--border);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  cursor: pointer; border: 0; padding: 0;
}
.reviews-dots .dot.is-active { background: var(--oxblood); transform: scale(1.3); }

/* CTA below cards */
.reviews-cta-text { text-align: center; color: var(--text-muted); font-size: .92rem; margin: 0 0 16px; }
.reviews-fallback .btn-outline { display: inline-block; margin: 0 auto; }
.reviews-fallback { text-align: center; }

/* Hide fallback when Trustindex widget is active */
.reviews-mount:has(.ti-widget) .reviews-fallback { display: none; }

@media (max-width: 1024px) {
  .reviews-cards { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .reviews-cards { grid-auto-columns: 85%; gap: 14px; }
  .reviews-score { font-size: 2.2rem; }
  .reviews-arrow { display: none; }
  .reviews-carousel { gap: 0; }
}
@media (pointer: coarse) {
  .reviews-arrow { display: none; }
  .reviews-carousel { gap: 0; }
}

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-block { margin-top: 28px; }
.contact-block h3 { font-size: .76rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ochre-deep); margin-bottom: 8px; font-weight: 700; }
.contact-block p { font-family: var(--font-display); font-size: 1.3rem; }
.contact-block .muted { font-family: var(--font-body); font-size: .82rem; color: var(--text-muted); }
.contact-block a:hover { color: var(--ochre-deep); }
.link-arrow { display: inline-block; margin-top: 8px; font-family: var(--font-body); font-size: .92rem; font-weight: 600; color: var(--oxblood); }
.link-arrow:hover { color: var(--ochre-deep); }

.hours { width: 100%; max-width: 360px; border-collapse: collapse; font-family: var(--font-body); }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .95rem; font-variant-numeric: tabular-nums; }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours .closed { color: var(--terracotta); }

.contact-map { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 420px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(0.9) contrast(1.02); }
.map-card { position: absolute; left: 20px; bottom: 20px; background: var(--cream); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 2px; }
.map-card strong { font-family: var(--font-display); font-size: 1.2rem; }
.map-card span { font-size: .78rem; color: var(--text-muted); }
.map-card a { margin-top: 6px; font-size: .86rem; font-weight: 600; color: var(--oxblood); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); color: var(--cream-3); padding: 60px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(248,242,231,0.12); }
.footer-brand { display: flex; flex-direction: column; }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--cream); }
.footer-brand .brand-sub { font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; align-content: center; }
.footer-nav a { font-size: .92rem; opacity: .82; transition: opacity .2s, color .2s; }
.footer-nav a:hover { opacity: 1; color: var(--ochre-soft); }
.footer-contact { display: flex; flex-direction: column; gap: 4px; text-align: right; font-size: .92rem; }
.footer-contact a { color: var(--ochre-soft); font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; font-size: .8rem; opacity: .6; }

/* ===================== REVEAL ANIMATIONS ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }

/* ===================== CANDLE CURSOR ===================== */
/* A warm light that trails the pointer. `screen` blend makes it
   near-invisible on the cream sections and glow on the dark ones;
   JS adds a live flicker and ramps it up over dark backgrounds.
   Position, scale and opacity are driven inline from main.js. */
.candle-glow {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0;
  will-change: transform, opacity;
  transform: translate3d(-100px, -100px, 0);
}
.candle-glow {
  width: 170px; height: 170px;
  margin: -85px 0 0 -85px;
  background: radial-gradient(circle,
    rgba(255, 216, 152, 0.42) 0%,
    rgba(255, 170, 82, 0.24) 26%,
    rgba(206, 116, 44, 0.10) 48%,
    rgba(120, 50, 20, 0) 70%);
  filter: blur(2px);
}
@media (pointer: coarse) {
  .candle-glow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track, .scroll-cue-line { animation: none !important; }
  .hero-photo { transform: none !important; animation: none !important; }
  .btn:hover, .order-card:hover, .g-item:hover { transform: none !important; }
}

/* ===================== INPUT-AWARE (touch) ===================== */
@media (pointer: coarse) {
  .menu-tab { padding-block: 13px; }
  .lang-toggle button { padding: 11px 15px; }
  .nav-toggle { min-width: 44px; min-height: 44px; padding: 10px; align-items: center; }
  .btn-call { min-width: 44px; min-height: 44px; }
  .order-qty button { width: 34px; height: 34px; }
  .order-add { padding: 13px; }
  .order-items li { gap: 14px; }
  .footer-nav a { padding: 6px 0; }
  .hours td { padding: 12px 0; }
}
/* Touch devices: no lingering hover transforms (use :active feedback instead) */
@media (hover: none) {
  .btn:hover, .order-card:hover, .g-item:hover, .menu-tab:hover { transform: none; }
  .btn:active { transform: scale(0.98); }
  .order-card:active, .g-item:active { transform: scale(0.99); }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .order-grid { grid-template-columns: 320px 1fr; }
  .menu-list { gap: 4px 40px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  /* Hide the label visually but keep it for screen readers (icon-only call button). */
  .header-actions .btn-call span {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .btn-call { padding: 10px; }
  .story-grid, .reserve-grid, .contact-grid, .order-grid { grid-template-columns: 1fr; }
  .order-intro { position: static; }
  .order-grid { gap: 36px; }
  .story-media { max-width: 460px; margin: 0 auto 40px; }
  .story-photo-2 { right: 0; }
  .contact-map { min-height: 340px; }
  .menu-list { grid-template-columns: 1fr; max-width: 600px; }
  .reserve-text { text-align: left; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .accolades-grid { grid-template-columns: 1fr; gap: 28px; }
  .accolade { padding: 18px 12px 0; }
  .accolade + .accolade::before { left: 18%; right: 18%; top: 0; width: auto; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
  .lang-toggle { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; }
  .footer-contact { text-align: left; }
  .hero { padding-top: 120px; }
  .story-badge { width: 100px; height: 100px; left: 0; }
}
