/* ==========================================================
   Gold Baklava — tokens
   Dark: ground matched to "siyah" film edges (#0e0906)
   Light: stage matched to "beyaz" film edges (#d0d5d6)
   ========================================================== */
:root,
:root[data-theme="dark"] {
  --stage: #0E0904;
  --ground: #0E0904;
  --surface: #1A1209;
  --surface-2: #231A0F;
  --line: rgba(242, 230, 208, .14);
  --ink: #F2E6D0;
  --ink-2: #BDAA8C;
  --gold: #E2AF4F;
  --gold-ink: #E2AF4F;
  --on-gold: #1A1005;
  --pist: #A3C25E;
  --header-bg: rgba(14, 9, 4, .82);
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --stage: #D3D7D7; --ground: #E8E7E2; --surface: #F3F2EE; --surface-2: #DCDAD3;
    --line: rgba(34, 23, 12, .14); --ink: #22170C; --ink-2: #5E4C38;
    --gold: #D29A36; --gold-ink: #85570C; --on-gold: #1E1306; --pist: #4C6A1C;
    --header-bg: rgba(232, 231, 226, .86); color-scheme: light;
  }
}
:root[data-theme="light"] {
  --stage: #D3D7D7; --ground: #E8E7E2; --surface: #F3F2EE; --surface-2: #DCDAD3;
  --line: rgba(34, 23, 12, .14); --ink: #22170C; --ink-2: #5E4C38;
  --gold: #D29A36; --gold-ink: #85570C; --on-gold: #1E1306; --pist: #4C6A1C;
  --header-bg: rgba(232, 231, 226, .86); color-scheme: light;
}

:root {
  --glovo: #F2CC38;          /* Glovo brand yellow, same in both themes */
  --glovo-ink: #1D1D1B;
  --serif: "Bodoni Moda", "Didot", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --header-h: 68px;
  --z-stage: 0; --z-text: 10; --z-header: 50; --z-consent: 60;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--on-gold); padding: 8px 14px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s;
}
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 86%, var(--ink)); }
.btn-ghost { border-color: color-mix(in srgb, var(--ink) 40%, transparent); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-glovo { border-color: color-mix(in srgb, var(--ink) 40%, transparent); color: var(--ink); background: transparent; padding-left: 8px; }
.btn-glovo:hover { border-color: var(--glovo); }
.glovo-chip { width: 32px; height: 32px; border-radius: 50%; background: var(--glovo); display: grid; place-items: center; flex: none; }
.btn-sm .glovo-chip { width: 28px; height: 28px; }
.glovo-chip svg { width: 17px; height: 17px; fill: var(--glovo-ink); }
.order-row { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-glovo { display: inline-flex !important; align-items: center; gap: 8px; }
.foot-glovo .glovo-chip { width: 22px; height: 22px; }
.foot-glovo .glovo-chip svg { width: 13px; height: 13px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-header); height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter); transition: background-color .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.solid { background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.brand { display: flex; align-items: center; text-decoration: none; padding: 6px 0; }
.brand-logo { height: 34px; width: auto; }
.brand-mark { width: 24px; height: 24px; color: var(--gold-ink); }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 16px; font-weight: 600; letter-spacing: .01em; color: var(--ink); padding: 10px 0; transition: color .2s; }
.nav a:hover { color: var(--gold-ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.lang a { text-decoration: none; padding: 12px 6px; color: var(--ink-2); }
.lang a[aria-current="true"] { color: var(--ink); }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer;
}
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
[data-theme="dark"] .i-sun, [data-theme="light"] .i-moon { display: none; }

/* ==========================================================
   SCROLL STORY
   ========================================================== */
.story { position: relative; height: 560vh; background: var(--stage); }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--stage); }
.stage::after { /* hand-off from the film to the page */
  content: ""; position: absolute; inset: auto 0 0 0; height: 14vh; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--stage)); opacity: var(--handoff, 0); z-index: 1;
}
#film, .poster, .poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.poster img { object-fit: cover; }
#film { z-index: 0; }
.poster { z-index: 0; }
.poster.gone { visibility: hidden; }

/* hero */
.hero { position: absolute; inset: 0; z-index: var(--z-text); pointer-events: none; }
.hero a { pointer-events: auto; }
.wordmark {
  position: absolute; inset: 0; margin: 0; font-weight: 400; font-optical-sizing: auto;
  --size: min(7.6vw, calc((50vw - var(--gap, 22vw) - var(--gutter)) / 3.75), 150px);
  font-size: var(--size); line-height: .9; letter-spacing: -.02em; color: var(--ink);
}
.wordmark span { position: absolute; top: 47%; transform: translateY(-50%); white-space: nowrap; }
.w-l { right: calc(50% + var(--gap, 22vw)); }
.w-r { left: calc(50% + var(--gap, 22vw)); font-style: italic; }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: max(5vh, 28px); display: grid; justify-items: center; gap: 18px; text-align: center; padding: 0 var(--gutter);
}
.lede { font-size: clamp(16px, 1.25vw, 19px); color: var(--ink-2); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 100%; }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: max(5vh, 28px); display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--ink-2); writing-mode: vertical-rl; letter-spacing: .06em;
}
.scroll-cue i { width: 1px; height: 48px; background: linear-gradient(var(--ink-2), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* chapter panels */
.panel {
  position: absolute; top: 50%; z-index: var(--z-text); width: min(25vw, 360px);
  opacity: 0; pointer-events: none; will-change: opacity, transform;
}
.panel.left { left: var(--gutter); }
.panel::before { /* soft scrim in the stage colour, keeps particles off the copy */
  content: ""; position: absolute; inset: -30% -40%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--stage) 72%, transparent), transparent);
}
.panel.right { right: var(--gutter); }
.panel h2 { font-size: clamp(30px, 3.1vw, 50px); line-height: 1.04; margin-bottom: 18px; }
.panel p { color: var(--ink-2); font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; }
.panel h2::before { content: ""; display: block; width: 36px; height: 2px; background: var(--pist); margin-bottom: 22px; }
.panel.finale { left: 0; right: 0; top: auto; bottom: max(7vh, 36px); width: auto; text-align: center; display: grid; justify-items: center; gap: 22px; }
.panel.finale h2 { font-size: clamp(36px, 4.4vw, 72px); font-style: italic; margin: 0; }
.panel.finale h2::before { display: none; }
.panel a { pointer-events: auto; }

.rail { position: absolute; right: calc(var(--gutter) / 2); top: 30%; bottom: 30%; width: 1px; background: var(--line); z-index: var(--z-text); }
.rail i { position: absolute; inset: 0 0 auto 0; height: 100%; background: var(--gold-ink); transform-origin: top; transform: scaleY(var(--p, 0)); }

/* ==========================================================
   PAGE SECTIONS
   ========================================================== */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 640px; }
.sec-head h2 { font-size: clamp(40px, 5vw, 76px); line-height: 1; }
.sec-head p { color: var(--ink-2); font-size: 18px; }

/* menu */
.menu { background: var(--ground); }
.menu-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 20px; }
.cat { background: var(--surface); border-radius: 6px; }
.cat-baklava { display: grid; grid-template-rows: auto 1fr; overflow: hidden; }
.cat-media { margin: 0; aspect-ratio: 16 / 8.2; overflow: hidden; background: var(--stage); }
.cat-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.35); }
.cat-body { padding: clamp(24px, 3vw, 44px); display: grid; gap: 18px; align-content: start; }
.cat-body h3 { font-size: clamp(40px, 4.2vw, 64px); line-height: 1; }
.cat-body h3 a { text-decoration: none; }
.cat-body h3 a:hover { color: var(--gold-ink); }
.cat-desc { color: var(--ink-2); }
.bill { list-style: none; margin: 6px 0 10px; padding: 0; border-top: 1px solid var(--line); }
.bill li { display: grid; grid-template-columns: minmax(150px, 1fr) 1.6fr; gap: 6px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bill .n { font: 500 20px/1.3 var(--serif); }
.bill .d { color: var(--ink-2); font-size: 15px; line-height: 1.5; padding-top: 2px; }
.cat-body .btn { justify-self: start; }

.cat-side { display: grid; gap: 20px; grid-template-rows: repeat(3, 1fr); }
.cat-sm {
  display: grid; align-content: space-between; gap: 14px; padding: clamp(22px, 2.4vw, 34px);
  text-decoration: none; border: 1px solid transparent; transition: border-color .2s, background-color .2s;
}
.cat-sm:hover { border-color: var(--gold); }
.cat-sm h3 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; }
.cat-sm p { color: var(--ink-2); font-size: 16px; }
.go { font-size: 14px; font-weight: 600; color: var(--gold-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* about */
.about { background: var(--surface-2); }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about h2 { font-size: clamp(36px, 4.4vw, 66px); line-height: 1.04; }
.about-copy { display: grid; gap: 18px; font-size: 18px; line-height: 1.75; }
.facts { margin: 18px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 130px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.facts dt { color: var(--ink-2); }
.facts dd { margin: 0; }
.facts a { text-decoration: none; color: var(--gold-ink); font-weight: 600; }

/* reviews */
.reviews { background: var(--ground); }
.rev-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.rev-head { display: grid; gap: 14px; justify-items: start; position: sticky; top: calc(var(--header-h) + 32px); }
.rev-head h2 { font-size: clamp(36px, 4.4vw, 66px); line-height: 1.02; text-wrap: balance; }
.rev-score { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; }
.rev-num { font: 400 clamp(64px, 7vw, 104px)/.9 var(--serif); font-variant-numeric: lining-nums; }
.rev-of { color: var(--ink-2); font-size: 15px; }
.rev-count { color: var(--ink-2); font-size: 15px; margin-bottom: 6px; }
.rev-note { color: var(--ink-2); font-size: 13px; }
.rev-stars { display: flex; gap: 3px; color: var(--gold); }
.rev-stars svg { width: 15px; height: 15px; fill: currentColor; }
.rev-stars-lg svg { width: 22px; height: 22px; }
.rev-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rev { margin: 0; background: var(--surface); border-radius: 6px; padding: clamp(22px, 2.4vw, 32px); display: grid; gap: 16px; align-content: start; }
.rev blockquote { margin: 0; }
.rev blockquote p { font: 400 clamp(18px, 1.35vw, 21px)/1.5 var(--serif); }
.rev figcaption { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 15px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: auto; }
.rev figcaption span { color: var(--ink-2); font-weight: 400; }
@media (max-width: 980px) { .rev-grid { grid-template-columns: 1fr; } .rev-head { position: static; } }
@media (max-width: 640px) { .rev-list { grid-template-columns: 1fr; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .sec-head { position: sticky; top: calc(var(--header-h) + 32px); }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font: 500 clamp(20px, 1.8vw, 26px)/1.25 var(--serif);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 300 28px/1 var(--sans); color: var(--gold-ink); transition: transform .3s var(--ease); flex: none; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 0 24px; color: var(--ink-2); max-width: 62ch; }

/* stores */
.stores { background: var(--ground); border-top: 1px solid var(--line); }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.store { background: var(--surface); border-radius: 6px; padding: clamp(26px, 3vw, 44px); display: grid; gap: 14px; }
.store h3 { font-size: clamp(34px, 3.4vw, 52px); line-height: 1; }
.store address { font-style: normal; font-size: 18px; line-height: 1.6; }
.hours { color: var(--ink-2); font-size: 15px; }
.store-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }

/* footer */
.site-footer { background: var(--surface-2); padding: 72px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-word { margin-bottom: 18px; }
.foot-word img { height: 48px; width: auto; }
.foot-brand p:not(.foot-word) { color: var(--ink-2); max-width: 34ch; }
.site-footer h2 { font: 600 14px/1 var(--sans); color: var(--ink-2); margin: 6px 0 14px; }
.site-footer nav a, .site-footer div > a { display: block; text-decoration: none; padding: 6px 0; }
.site-footer a:hover { color: var(--gold-ink); }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.foot-legal p { display: flex; gap: 18px; flex-wrap: wrap; }

/* consent */
.consent {
  position: fixed; z-index: var(--z-consent); left: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px));
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,.28); display: grid; gap: 10px;
}
.consent[hidden] { display: none; }
.consent h2 { font: 600 16px/1.2 var(--sans); }
.consent p { font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.consent-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 6px; flex-wrap: wrap; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .cat-side { grid-template-rows: none; }
  .faq .sec-head { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

/* portrait: film sits in the middle band, text above/below it */
@media (max-aspect-ratio: 4/5) {
  .story { height: 460vh; }
  .poster img { object-fit: unset; width: 161.3vw; height: auto; max-width: none; left: 50%; top: 48%; transform: translate(-50%, -50%); right: auto; bottom: auto; }
  .wordmark { --size: clamp(48px, 15vw, 96px); }
  .wordmark span { position: static; transform: none; }
  .wordmark { position: absolute; inset: auto 0 auto 0; top: calc(var(--header-h) + 4vh); text-align: center; display: block; }
  .w-r { display: inline; }
  .hero-foot { bottom: max(4vh, 20px); }
  .scroll-cue { display: none; }
  .panel, .panel.left, .panel.right {
    left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: max(4vh, 20px); text-align: center;
  }
  .panel h2::before { margin-left: auto; margin-right: auto; margin-bottom: 14px; }
  .panel h2 { font-size: clamp(28px, 8vw, 40px); margin-bottom: 10px; }
  .panel p { font-size: 16px; max-width: 40ch; margin: 0 auto; }
  .panel.finale { bottom: max(5vh, 24px); }
  .rail { display: none; }
}
@media (max-width: 560px) {
  .consent { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 14px 16px; gap: 6px; }
  .consent h2 { display: none; }
  .consent p { font-size: 13px; }
  .consent-actions { justify-content: stretch; }
  .consent-actions .btn { flex: 1; }
  :root { --header-h: 60px; }
  .brand-logo { height: 26px; }
  .header-actions .btn span { display: none; }
  .header-actions .btn { width: 44px; padding: 0; }
  .bill li { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 100px 1fr; }
}

/* reduced motion: no scrubbing — poster + stacked chapters */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .story { height: auto; }
  .stage { position: relative; height: auto; overflow: visible; }
  #film, .rail, .scroll-cue { display: none; }
  .poster { position: relative; display: block; aspect-ratio: 16 / 9; }
  .hero, .wordmark, .hero-foot, .panel, .panel.finale { position: relative; inset: auto; transform: none; opacity: 1 !important; width: auto; max-width: 720px; margin: 0 auto; padding: 32px var(--gutter); text-align: center; pointer-events: auto; }
  .wordmark span { position: static; transform: none; }
  .wordmark { padding-top: calc(var(--header-h) + 24px); }
  .poster img { position: absolute; transform: none; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
}
