/* ══════════════════════════════════════════════════
   SAMURAI PIZZA — design tokens
   ══════════════════════════════════════════════════ */
:root {
  --bg-0: #080404;
  --bg-1: #120a06;
  --cream: #F3E9DB;
  --cream-dim: rgba(243, 233, 219, .62);
  --cream-faint: rgba(243, 233, 219, .38);
  --ember: #E8A34D;
  --ember-soft: rgba(232, 163, 77, .16);
  --tomato: #E23B2E;
  --basil: #4E9B62;
  --glass: rgba(255, 255, 255, .05);
  --glass-strong: rgba(255, 255, 255, .08);
  --glass-border: rgba(255, 255, 255, .11);
  --radius: 22px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-card: 0 24px 60px -18px rgba(0, 0, 0, .65);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

/* NOTE: no `scroll-behavior: smooth` here on purpose. Browser-animated
   smooth scrolling corrupts every ScrollTrigger.refresh() that runs while
   a scroll is in flight (all trigger starts shift by -scrollY: the pinned
   specialities section freezes, the hero scrub locks at its end state).
   Anchor smoothness is provided by GSAP ScrollToPlugin in js/main.js. */

body {
  background: var(--bg-0);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: var(--tomato);
  color: var(--cream)
}

img {
  max-width: 100%;
  display: block
}

a {
  color: inherit;
  text-decoration: none
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
  border-radius: 4px
}

/* ── typographic system ── */
.kicker {
  font-size: 12px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 500;
  margin-bottom: 18px;
}

.kicker--center {
  text-align: center
}

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.04;
  letter-spacing: -.01em;
  margin-bottom: 28px;
}

.h2 em {
  font-style: italic;
  color: var(--ember);
  font-weight: 300
}

.h2--center {
  text-align: center
}

.h3-serif {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1
}

.h3-serif em {
  font-style: italic;
  color: var(--ember)
}

.lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--cream);
  max-width: 56ch;
  margin-bottom: 18px
}

.body-dim {
  color: var(--cream-dim);
  max-width: 56ch
}

.section {
  position: relative;
  padding: clamp(72px, 10vh, 120px) 0
}

[id] {
  scroll-margin-top: 76px
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s, border-color .25s;
  will-change: transform;
}

.btn:active {
  transform: scale(.97)
}

.btn-primary {
  background: linear-gradient(135deg, var(--tomato), #B62317);
  color: #fff;
  box-shadow: 0 12px 34px -10px rgba(226, 59, 46, .55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -10px rgba(226, 59, 46, .7)
}

.btn-ghost {
  background: linear-gradient(165deg, rgba(26, 13, 8, .78), rgba(26, 13, 8, .55));
  border-color: rgba(255, 255, 255, .18);
  color: var(--cream);
}

.btn-ghost:hover {
  background: linear-gradient(165deg, rgba(38, 20, 12, .85), rgba(38, 20, 12, .6));
  transform: translateY(-2px)
}

.btn-wolt {
  background: linear-gradient(135deg, #00A6EC, #0089C4);
  color: #fff;
  box-shadow: 0 12px 34px -10px rgba(0, 157, 224, .5);
}

.btn-wolt:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -10px rgba(0, 157, 224, .65)
}

/* on very large screens the fixed .btn padding/font-size reads small next
   to the rest of the page (hero type etc. scales with clamp/vw, this
   doesn't) — nudge just the Wolt CTA up a notch there */
@media (min-width: 1600px) {
  .btn-wolt {
    min-height: 60px;
    padding: 17px 38px;
    font-size: 17px;
  }
}

/* ══════════════════════════════════════════════════
   PRELOADER
   ══════════════════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .7s var(--ease-out), visibility .7s;
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden
}

.preloader-mark {
  text-align: center
}

.preloader-word {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 58px);
  letter-spacing: .14em;
  display: block;
  animation: pulse 1.4s ease-in-out infinite alternate;
}

.preloader-sub {
  font-size: 11px;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--ember);
}

/* minimalist tricolor progress bar — reveals the Italian flag left→right,
   timed to finish just before the 1.5s curtain lift (see js/main.js) */
.preloader-bar {
  display: block;
  width: min(220px, 56vw);
  height: 2px;
  margin: 30px auto 0;
  background: rgba(243, 233, 219, .10);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg,
      #008C45 0%, #008C45 33.4%,
      #F3E9DB 33.4%, #F3E9DB 66.7%,
      #CD212A 66.7%, #CD212A 100%);
  clip-path: inset(0 100% 0 0);
  animation: preloadbar 1.85s cubic-bezier(.45, .05, .35, 1) .1s forwards;
}

@keyframes preloadbar {
  to {
    clip-path: inset(0 0 0 0)
  }
}

@keyframes pulse {
  from {
    opacity: .35
  }

  to {
    opacity: 1
  }
}

/* ══════════════════════════════════════════════════
   AMBIENT BACKGROUND
   One fixed, composited layer behind the whole page —
   sections stay transparent, so there are no color seams
   between topics while scrolling.
   ══════════════════════════════════════════════════ */
.ambience {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(130vmax 85vmax at 85% -12%, rgba(48, 21, 11, .55), transparent 62%),
    radial-gradient(115vmax 80vmax at -18% 112%, rgba(42, 17, 10, .45), transparent 62%),
    var(--bg-0);
}

/* ══════════════════════════════════════════════════
   EMBERS CANVAS
   ══════════════════════════════════════════════════ */
#embers {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(18px, 4vw, 48px);
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(10, 5, 4, .92);
  border-bottom-color: rgba(255, 255, 255, .06);
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .1em;
  font-weight: 600;
}

.nav-logo-accent {
  color: var(--ember);
  font-weight: 300;
  font-style: italic
}

.nav-right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px)
}

.nav-links a:not(.nav-cta) {
  font-size: 14px;
  font-weight: 500;
  color: var(--cream-dim);
  padding: 10px 2px;
  position: relative;
  transition: color .25s;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 1px;
  background: var(--ember);
  transition: right .3s var(--ease-out);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--cream)
}

.nav-links a:not(.nav-cta):hover::after {
  right: 0
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 11px 20px;
  min-height: 44px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  transition: background .25s, border-color .25s, transform .25s;
}

.nav-cta:hover {
  background: var(--ember-soft);
  border-color: var(--ember);
  transform: translateY(-1px)
}

.nav-cta--wolt {
  border-color: rgba(0, 157, 224, .45);
  background: linear-gradient(165deg, rgba(0, 157, 224, .22), rgba(0, 157, 224, .09));
}

.nav-cta--wolt:hover {
  background: rgba(0, 157, 224, .32);
  border-color: #009DE0;
}

/* the phone pill drops its number (icon stays) when the bar gets tight */
@media (max-width: 1250px) and (min-width: 981px) {
  .nav-cta-label {
    display: none
  }
}

/* ── language switcher ──
   position:relative + z-index above the mobile overlay (105) — otherwise
   the fixed, full-viewport .nav-links.is-open covers it and swallows clicks,
   same reason .nav-burger carries z-index:110. */
.nav-lang {
  position: relative;
  z-index: 110;
  display: flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
}

.nav-lang button {
  border: 0;
  background: none;
  color: var(--cream-faint);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .25s, background .25s;
}

.nav-lang button:not(.is-active):hover {
  color: var(--cream)
}

.nav-lang button.is-active {
  color: var(--bg-0);
  background: var(--cream);
}

.nav-burger {
  display: none;
  width: 48px;
  height: 48px;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  z-index: 110;
}

.nav-burger span {
  width: 26px;
  height: 2px;
  background: var(--cream);
  transition: transform .35s var(--ease-out), opacity .3s
}

.nav-burger[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg)
}

.nav-burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg)
}

/* ══════════════════════════════════════════════════
   HERO — cinematic split-screen layout
   ══════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  /* Extra height provides scroll-driven animation space.
     hero-inner is sticky — no GSAP pin spacer, no void.
     200svh = 100svh of stick: enough travel for the copy and the
     pizza to converge into the center, with motion the whole way. */
  height: 200svh;
}

.hero-inner {
  /* Sticky replaces GSAP pin — no spacer div, no empty gap */
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 73%;
  width: 82vmin;
  height: 82vmin;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232, 120, 40, .2) 0%, rgba(226, 59, 46, .07) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Left panel ─── */
.hero-copy {
  flex: 0 0 46%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px clamp(20px, 3vw, 54px) 60px clamp(28px, 6vw, 96px);
  position: relative;
  z-index: 3;
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--ember);
  font-weight: 500;
  margin-bottom: 8px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .9);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 9vw, 160px);
  font-weight: 600;
  line-height: .88;
  letter-spacing: .015em;
  text-shadow:
    0 2px 9px rgba(0, 0, 0, 0.75),
    0 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-title-row {
  display: block;
  overflow: hidden
}

.hero-title-line {
  display: inline-block
}

.hero-title-line--accent {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(100deg, #E8A34D 10%, #ffd27e 50%, #E8A34D 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* drop-shadow works on gradient text (text-shadow does not) —
     layered dark shadows create a readable halo around every letterform */
  filter:
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.98)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 40px rgba(0, 0, 0, 0.7));
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--cream);
  margin-top: 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .9);
}

.hero-sub {
  color: var(--cream-dim);
  max-width: 44ch;
  margin: 14px 0 0;
  font-size: 15px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .9);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-start;
  margin-top: 30px;
  flex-wrap: wrap
}

/* stat pills — inside the copy column */
.hero-stats {
  display: flex;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  min-width: 74px;
  transition: border-color .3s;
}

.hero-stat:hover {
  border-color: rgba(232, 163, 77, .3)
}

.hero-stat strong {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 400;
  font-style: italic;
  color: var(--ember);
  line-height: 1;
  display: block;
}

.hero-stat span {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-top: 4px;
}

/* ─── Right panel: free-floating pizza disc ───
   Circular crop with a feathered edge = the JPEG's black
   background is gone entirely; the disc floats on the ambience. */
.hero-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-pizza {
  position: relative;
  width: min(50vw, 84vh);
  aspect-ratio: 1/1;
  will-change: transform;
}

.hero-pizza-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  transform: translateZ(0);
  /* wide corner mask: keeps the entire pizza and its organic, bumpy edges 
     100% visible and unclipped, only fading out the square JPEG corners */
  -webkit-mask-image: radial-gradient(circle, #000 53%, rgba(0, 0, 0, 0.4) 63%, transparent 71%);
  mask-image: radial-gradient(circle, #000 53%, rgba(0, 0, 0, 0.4) 63%, transparent 71%);
}

.hero-pizza-disc img {
  /* scaled to 114% so the organic uneven edges of the Neapolitan crust 
     are fully visible within the container, not cropped out */
  position: absolute;
  top: -7%;
  left: -7%;
  width: 114%;
  height: 114%;
  max-width: none;
  filter: saturate(1.08);
  will-change: transform;
}

/* darkens the disc at the text zone as copy converges over it (animated by JS) */
.hero-pizza-shade {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  /* elliptical gradient targets the upper-centre where SAMURAI PIZZA sits */
  background: radial-gradient(ellipse 80% 55% at 50% 36%,
      rgba(4, 2, 2, .92) 0%,
      rgba(4, 2, 2, .65) 35%,
      rgba(4, 2, 2, .22) 62%,
      transparent 80%);
  opacity: 0;
  pointer-events: none;
}

/* scroll hint */
.hero-scrollhint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 4;
}

.hero-scrollhint-label {
  font-size: 10px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--cream-faint)
}

.hero-scrollhint-line {
  width: 1px;
  height: 52px;
  overflow: hidden;
  position: relative;
  background: rgba(243, 233, 219, .14);
}

.hero-scrollhint-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--ember));
  animation: scrollhint 1.8s var(--ease-out) infinite;
}

@keyframes scrollhint {
  to {
    top: 100%
  }
}

/* ══════════════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════════════ */
.marquee {
  position: relative;
  z-index: 5;
  border-top: 1px solid rgba(255, 255, 255, .07);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(18, 10, 6, .5);
  overflow: hidden;
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  color: var(--cream-dim);
  white-space: nowrap;
  will-change: transform;
}

.marquee-track i {
  color: var(--ember);
  font-style: normal
}

/* ══════════════════════════════════════════════════
   STORY
   ══════════════════════════════════════════════════ */
.story {
  z-index: 5
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.story-stats {
  display: flex;
  gap: clamp(24px, 4vw, 56px);
  list-style: none;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding-top: 30px;
}

.story-stats strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 56px);
  color: var(--cream);
  display: block;
  line-height: 1;
}

.story-stats strong span {
  color: var(--ember);
  font-size: .55em;
  font-style: italic
}

.story-stats small {
  color: var(--cream-faint);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase
}

.story-visual {
  position: relative;
  height: clamp(480px, 60vh, 660px);
  perspective: 1200px;
}

.story-card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(255, 255, 255, .09);
  will-change: transform;
}

.story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.story-card--single {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform .5s var(--ease-out);
}

.story-card--single:hover {
  transform: scale(1.012);
}

/* ══════════════════════════════════════════════════
   SPECIALITÁSOK — horizontal
   ══════════════════════════════════════════════════ */
.spec {
  position: relative;
  z-index: 2
}

.spec-pin {
  overflow: hidden
}

.spec-track {
  display: flex;
  align-items: center;
  gap: clamp(26px, 4vw, 60px);
  padding: 0 clamp(20px, 6vw, 90px);
  height: 100svh;
  width: max-content;
  will-change: transform;
}

.spec-intro {
  min-width: min(460px, 82vw)
}

.spec-intro .body-dim {
  margin-top: 6px
}

.spec-arrow {
  display: inline-block;
  margin-top: 34px;
  font-size: 34px;
  color: var(--ember);
  animation: nudge 1.6s ease-in-out infinite alternate;
}

@keyframes nudge {
  to {
    transform: translateX(14px)
  }
}

.spec-card {
  position: relative;
  width: min(420px, 84vw);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028));
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, .07);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .3s;
  flex-shrink: 0;
}

.spec-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, -20%), rgba(232, 163, 77, .13), transparent 45%);
  z-index: 1;
}

.spec-card:hover {
  border-color: rgba(232, 163, 77, .4)
}

.spec-card-media {
  height: 250px;
  overflow: hidden
}

.spec-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}

.spec-card:hover .spec-card-media img {
  transform: scale(1.06)
}

.spec-card-body {
  padding: 26px 28px 30px;
  position: relative;
  z-index: 2
}

.spec-card-body header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px
}

.spec-card-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 27px;
  letter-spacing: .01em;
}

.spec-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.spec-meta {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin: 6px 0 12px
}

.spec-card-body p:not(.spec-meta) {
  color: var(--cream-dim);
  font-size: 14.5px
}

.spec-tag {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ember);
  border: 1px solid rgba(232, 163, 77, .35);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--ember-soft);
}

.spec-outro {
  min-width: min(420px, 80vw);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
}

/* ══════════════════════════════════════════════════
   MENU
   ══════════════════════════════════════════════════ */
.menu {
  z-index: 2
}

.menu-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 34px 0 44px;
}

.menu-tab {
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--cream-dim);
  background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid var(--glass-border);
  transition: all .3s var(--ease-out);
}

.menu-tab:hover {
  color: var(--cream);
  transform: translateY(-1px)
}

.menu-tab.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--tomato), #B62317);
  border-color: transparent;
  box-shadow: 0 10px 28px -8px rgba(226, 59, 46, .5);
}

.menu-allergen-legend {
  margin: -14px 0 30px;
  color: var(--cream-faint);
  font-size: 12.5px;
  line-height: 1.6;
}

.menu-allergen-legend strong {
  color: var(--ember);
  font-weight: 600;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 18px;
}

.menu-expand-container {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.menu-card {
  position: relative;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .022));
  border: 1px solid var(--glass-border);
  padding: 24px 26px;
  overflow: hidden;
  transition: border-color .3s, transform .15s ease-out, box-shadow .3s;
  transform-style: preserve-3d;
  will-change: transform;
}

/* faint product-photo watermark (Wolt catalogue images) — the photos are
   studio shots on white backgrounds, so a strong dark gradient sits on top
   to mute that white into the card's palette; only a hint of the dish
   should read through, just enough to give a visual idea of the product.
   .menu-card-content is lifted into the stacking-context's "positioned"
   paint group (position:relative) so it paints above this absolute layer. */
.menu-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.menu-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(18, 10, 6, .85) 0%, rgba(9, 5, 4, .94) 100%);
}

.menu-card-content {
  position: relative;
}

.menu-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 163, 77, .1), transparent 42%);
  opacity: 0;
  transition: opacity .3s;
}

.menu-card:hover {
  border-color: rgba(232, 163, 77, .38);
  box-shadow: 0 22px 48px -18px rgba(0, 0, 0, .7)
}

.menu-card:hover::after {
  opacity: 1
}

.menu-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px
}

.menu-card-head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.15;
}

.menu-card-head h3 sup {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--cream-faint);
  font-weight: 400;
  margin-left: 6px;
  letter-spacing: .06em;
}

.menu-price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--ember);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.menu-weight {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-top: 3px
}

.menu-desc {
  color: var(--cream-dim);
  font-size: 14px;
  margin-top: 10px;
  line-height: 1.55
}

/* ── Wolt delivery banner ── */
.menu-wolt {
  margin-top: 44px;
  padding: clamp(26px, 4vw, 42px) clamp(26px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.menu-wolt-copy h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
}

.menu-wolt-copy p {
  color: var(--cream-dim);
  font-size: 14.5px;
  margin-top: 8px;
  max-width: 52ch;
}

.menu-note {
  margin-top: 44px;
  color: var(--cream-faint);
  font-size: 13px;
  text-align: center;
}

.menu-fee {
  margin-top: 10px;
  color: var(--cream-dim);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

/* ══════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════ */
.gallery {
  overflow: hidden;
  z-index: 2
}

.gallery-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 52px
}

.gallery-row {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}

.gallery-row figure {
  width: clamp(240px, 26vw, 400px);
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow: var(--shadow-card);
}

.gallery-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}

.gallery-row figure:hover img {
  transform: scale(1.05)
}

/* ══════════════════════════════════════════════════
   CONTACT + FOOTER
   ══════════════════════════════════════════════════ */
.contact {
  z-index: 2;
  padding-bottom: 0
}

.glass {
  background: linear-gradient(165deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .026));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* stacked on all sizes — was side-by-side on desktop, but the short hours
   card next to the taller contact card left awkward empty space there.
   Mobile was already stacked via the max-width:980px override below;
   this just brings desktop in line with it. */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: stretch;
}

.contact-main,
.contact-hours {
  padding: clamp(30px, 4vw, 52px)
}

/* contact-main is now full-width (contact-grid stacks the two cards). On
   desktop (see the min-width query below) a single left-aligned column
   left a large empty gap on the right, so there it becomes two rows,
   each pairing a text block with its related action(s) on the same
   line: heading+directions, then address/email+phone/Wolt. Mobile is
   left as plain stacked blocks — the empty-space problem doesn't happen
   there, and it's simplest to leave that layout alone. */
.contact-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-heading .kicker {
  margin-bottom: 10px
}

.contact-info {
  margin-bottom: 22px;
}

.contact-address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.7;
  color: var(--cream-dim);
  margin-bottom: 10px;
}

.contact-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-mail {
  color: var(--cream-faint);
  font-size: 14px;
  border-bottom: 1px solid rgba(243, 233, 219, .2);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}

.contact-mail:hover {
  color: var(--ember);
  border-color: var(--ember)
}

/* ── social row — lives in the footer bar now ── */
.contact-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-social-label {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream-faint);
  margin-right: 2px;
}

.contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, .04);
  color: var(--cream-dim);
  transition: color .25s, border-color .25s, transform .25s;
}

.contact-social a:hover {
  color: var(--ember);
  border-color: var(--ember);
  transform: translateY(-2px);
}

.contact-social svg {
  width: 15px;
  height: 15px;
}

.contact-hours .h3-serif {
  margin-bottom: 26px
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.hours div:last-child {
  border-bottom: 0
}

/* desktop: the hours card is now full-width (stacked contact-grid), so a
   single vertical list would leave the row-pairs stranded far apart —
   two columns keep Hétfő/Kedd–Csüt together on the left and
   Pén–Szo/Vasárnap together on the right.
   grid-auto-flow:column with 2 explicit rows fills column-by-column in
   DOM order, so items 1-2 land in column 1 and items 3-4 in column 2
   without needing to reorder the markup. */
@media (min-width: 981px) {
  .hours {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    column-gap: 40px;
  }

  .hours div:nth-child(2) {
    border-bottom: 0
  }

  /* pair each contact-main row's text block with its action(s) on one
     line — mobile keeps the plain stacked blocks (see .contact-main
     above), this is what actually needed the extra room. */
  .contact-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  /* the first row centers the button against the WHOLE heading block
     (kicker + h2 together), which sits it too high, roughly level with
     the small kicker line — bottom-align instead so it lines up with
     the "Gyere el, kóstold meg" heading itself. */
  .contact-main>.contact-row:first-child {
    align-items: flex-end;
  }

  .contact-heading .h2 {
    margin-bottom: 0
  }

  .contact-info {
    min-width: 0;
    margin-bottom: 0;
  }
}

.hours dt {
  color: var(--cream-dim);
  font-size: 14.5px
}

.hours dd {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 14.5px
}

.footer {
  margin-top: 60px;
  padding: 30px clamp(18px, 4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, .07);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--cream-faint);
  font-size: 13px;
}

.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ember)
}

.footer-credit {
  font-size: 12px;
  color: var(--cream-faint);
  letter-spacing: .04em;
}

.footer-credit strong {
  font-weight: 600;
  color: var(--cream-dim);
}

/* ══════════════════════════════════════════════════
   REVEAL default states (JS toggles)
   ══════════════════════════════════════════════════ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(42px)
}

.js [data-hero-line] {
  opacity: 0
}

.js .hero-title-line {
  transform: translateY(110%)
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════ */
/* stand-alone duplicate of the Kapcsolat section's hours card — hidden by
   default (desktop keeps the original, in-context copy); the mobile query
   below reveals it and reorders it right under the Hero, since mobile
   visitors want the menu and hours before anything else. Shares data-i18n
   keys with the original, so language switches keep both in sync. */
.hours-preview {
  display: none;
  /* without an explicit stacking context this is unpositioned static content,
     which paints BEHIND the fixed, z-index:0 .ambience/#embers background
     layers (they're positioned, so they paint above non-positioned content
     regardless of z-index:0 vs auto) — invisible text, looked like a huge
     empty gap. Every other content section already sets this; match them. */
  position: relative;
  z-index: 2;
}

@media (max-width:980px) {

  /* ── mobile priority order: Hero → Menu → Hours → the rest unchanged ── */
  main {
    display: flex;
    flex-direction: column;
  }

  .hero {
    order: 1
  }

  .menu {
    order: 2
  }

  .hours-preview {
    display: block;
    order: 3;
    margin: 40px auto;
    padding: clamp(26px, 6vw, 40px);
  }

  .hours-preview .h3-serif {
    margin-bottom: 22px
  }

  .marquee {
    order: 4
  }

  .story {
    order: 5
  }

  .spec {
    order: 6
  }

  .gallery {
    order: 7
  }

  .contact {
    order: 8
  }

  /* avoid showing the opening hours twice — the preview copy above already
     covers it right under the Hero */
  .contact-hours {
    display: none
  }

  .story-grid {
    grid-template-columns: 1fr
  }

  .story-visual {
    height: clamp(380px, 52vh, 520px);
    margin-top: 48px
  }

  /* horizontal spec collapses to vertical stack */
  .spec-track {
    flex-direction: column;
    height: auto;
    width: 100%;
    align-items: stretch;
    padding: clamp(60px, 10vh, 100px) 6vw;
    gap: 30px;
  }

  .spec-intro,
  .spec-outro {
    min-width: 0
  }

  .spec-card {
    width: 100%
  }

  .spec-arrow {
    display: none
  }

  /* below 980 there is no scroll choreography — drop the sticky
     over-height so the hero ends exactly where its content ends */
  .hero {
    height: auto
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: 105;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: rgba(8, 4, 4, .97);
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease-out), visibility .4s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible
  }

  .nav-links a:not(.nav-cta) {
    font-size: 26px;
    font-family: var(--font-display);
    padding: 12px;
    color: var(--cream)
  }

  /* nav order follows the mobile section order (Hero → Menu → Hours →
     Marquee → Story → Specialities → Gallery → Contact, see the
     `main` order rules above) instead of the desktop source order */
  .nav-links a[href="#etlap"] {
    order: 1
  }

  .nav-links a[href="#tortenet"] {
    order: 2
  }

  .nav-links a[href="#specialitasok"] {
    order: 3
  }

  .nav-links a[href="#galeria"] {
    order: 4
  }

  .nav-links a[href="#kapcsolat"] {
    order: 5
  }

  .nav-links .nav-cta {
    order: 6
  }

  .nav-cta {
    margin-top: 20px;
    font-size: 16px;
    padding: 14px 28px
  }

  .nav-burger {
    display: flex
  }

  /* hero: stacked — centered copy, pizza disc below */
  .hero-inner {
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    height: auto;
    min-height: 100svh;
    padding-bottom: 24px;
  }

  .hero-copy {
    flex: none;
    width: 100%;
    position: relative;
    z-index: 3;
    padding: 120px clamp(20px, 6vw, 40px) 8px;
    text-align: center;
  }

  .hero-sub {
    margin-inline: auto
  }

  .hero-actions,
  .hero-stats {
    justify-content: center
  }

  .hero-stats {
    margin-top: 26px
  }

  .hero-stage {
    width: 100%;
    padding: 16px 0 8px
  }

  .hero-pizza {
    width: min(72vw, 44vh)
  }

  .hero-glow {
    left: 50%;
    top: 72%
  }

  .hero-scrollhint {
    display: none
  }
}

@media (max-width:640px) {
  .hero-sub .br-desktop {
    display: none
  }

  .hero-stats {
    gap: 8px
  }

  .hero-stat {
    padding: 10px 14px;
    min-width: 64px
  }

  .hero-stat strong {
    font-size: 18px
  }

  .menu-grid {
    grid-template-columns: 1fr
  }

  .gallery-row figure {
    width: 72vw
  }

  .story-stats {
    flex-wrap: wrap
  }
}

/* ══════════════════════════════════════════════════
   REDUCED MOTION
   ══════════════════════════════════════════════════ */
@media (prefers-reduced-motion:reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important
  }

  .js [data-reveal],
  .js [data-hero-line] {
    opacity: 1;
    transform: none
  }

  .js .hero-title-line {
    transform: none
  }

  #embers {
    display: none
  }

  .hero-scrollhint {
    display: none
  }
}