/* ==========================================================================
   BSPOT Bucharest: Editorial Studio Stylesheet
   Palette: Studio Warm Cream (#FAF7F4), Crisp White (#FFFFFF),
            BSPOT Signature Pink (#FF7DB8 / #FFE6EC), Espresso Ink (#161314)
   ========================================================================== */

:root {
  --bg: #faf7f4;
  --surface: #ffffff;
  --surface-soft: #f4efe9;
  --pink: #ff7db8;
  --pink-deep: #e25898;
  --pink-ink: #ad2d68; /* AA on --bg for small text and links */
  --pink-wash: #ffe6ec;
  --pink-glow: rgba(255, 125, 184, 0.22);
  --ink: #161314;
  --ink-soft: #574f52;
  --ink-mute: #6e6568;
  --line: rgba(22, 19, 20, 0.08);
  --line-strong: rgba(22, 19, 20, 0.15);
  --amber: #d97719;
  --spicy: #d9381e;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 6px 24px rgba(22, 15, 18, 0.05);
  --shadow-lg: 0 22px 54px rgba(22, 15, 18, 0.10);
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", "Plus Jakarta Sans", "Segoe UI", Roboto, sans-serif;
  --container: 1220px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 90;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav.nav-hidden {
  transform: translateY(-110px);
}
.nav.nav-hidden .nav-inner {
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  width: min(var(--container), calc(100% - 28px));
  margin-inline: auto;
  height: 64px;
  padding: 0 12px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 253, 251, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(22, 15, 18, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 5px; /* small: the logo's own square frame must stay visible */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-soft);
}

.nav-links a[aria-current="true"] {
  color: var(--ink);
  background: var(--pink-wash);
}

.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 40px;
}
.nav-right .nav-cta {
  display: none;
}

.burger-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.burger-menu-btn span {
  width: 16px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Mobile menu sheet (Apple-style): full screen, big links, staggered in */
.mobile-sheet {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 14px 14px max(28px, env(safe-area-inset-bottom));
  border: 0;
  background: rgba(250, 247, 244, 0.97);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  color: var(--ink);
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.28s ease, display 0.28s allow-discrete, overlay 0.28s allow-discrete;
}
.mobile-sheet:popover-open {
  display: flex;
  opacity: 1;
}
@starting-style {
  .mobile-sheet:popover-open {
    opacity: 0;
  }
}
.mobile-sheet::backdrop {
  background: transparent;
}
html:has(.mobile-sheet:popover-open) {
  overflow: hidden;
}

.sheet-head {
  height: 64px;
  padding: 0 12px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
}

.sheet-close {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}
.sheet-close span {
  position: absolute;
  left: 12px;
  top: 19px;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
/* starts as the nav's two lines, then turns into an X */
.sheet-close span:first-child { transform: translateY(-3.5px); }
.sheet-close span:last-child { transform: translateY(3.5px); }
.mobile-sheet:popover-open .sheet-close span:first-child { transform: rotate(45deg); }
.mobile-sheet:popover-open .sheet-close span:last-child { transform: rotate(-45deg); }
@starting-style {
  .mobile-sheet:popover-open .sheet-close span:first-child { transform: translateY(-3.5px); }
  .mobile-sheet:popover-open .sheet-close span:last-child { transform: translateY(3.5px); }
}

.sheet-links {
  display: flex;
  flex-direction: column;
  padding: 36px 14px 0;
}
.sheet-links a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.sheet-links a:active {
  color: var(--pink-deep);
}

.sheet-ico {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--ink-mute);
}
.sheet-links a:active .sheet-ico {
  color: var(--pink-deep);
}

@media (prefers-reduced-motion: no-preference) {
  .mobile-sheet:popover-open .sheet-links a {
    animation: sheet-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .mobile-sheet:popover-open .sheet-links a:nth-child(2) { animation-delay: 0.04s; }
  .mobile-sheet:popover-open .sheet-links a:nth-child(3) { animation-delay: 0.08s; }
  .mobile-sheet:popover-open .sheet-links a:nth-child(4) { animation-delay: 0.12s; }
}
@keyframes sheet-in {
  from { opacity: 0; transform: translateY(-10px); }
}

/* ---------- Buttons & Pills ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.btn-sm {
  padding: 9px 17px;
  font-size: 0.84rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--pink);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(22, 15, 18, 0.12);
}
.btn-primary:hover {
  background: #ff6aad;
  box-shadow: 0 10px 24px rgba(22, 15, 18, 0.16);
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: #2b2527;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.pink-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--pink-wash);
  color: #b53270;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-ink);
  margin-bottom: 10px;
}

/* ---------- SECTION 1: Interactive 3D Burger Stage ---------- */

.stage {
  position: relative;
}

.stage-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  width: 100%;
  overflow: hidden;
  z-index: 1;
}

.studio-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(44% 48% at 72% 48%, rgba(255, 142, 193, 0.28), rgba(255, 230, 236, 0.10) 58%, transparent 100%),
    radial-gradient(38% 42% at 62% 62%, rgba(245, 172, 78, 0.13), transparent 72%);
}

#burger-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stage.ready #burger-canvas {
  opacity: 1;
}

.stage-fallback {
  display: none;
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: min(460px, 44vw);
}
.stage.no-webgl .stage-fallback {
  display: block;
}
.stage.no-webgl #burger-canvas {
  display: none;
}

.step-rail {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 5;
}

.step-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(22, 19, 20, 0.18);
  transition: height 0.25s ease, background-color 0.25s ease;
}
.step-dot.active {
  height: 24px;
  background: var(--pink-deep);
}

/* Scroll Story Steps */
.steps {
  position: relative;
  z-index: 3;
  margin-top: -100svh;
  pointer-events: none;
}

.step {
  min-height: 92svh;
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
}

.step-hero {
  min-height: 100svh;
  padding-top: 76px;
}

.step-end {
  min-height: 86svh;
  padding-bottom: 6vh;
}

.step-in {
  pointer-events: auto;
  max-width: min(520px, 48vw);
}

.step-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 5.2vw, 4.45rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 900;
}

.accent-ink {
  color: var(--pink-deep);
}

/* Six Caps (OFL, self-hosted): closest free match to the tall condensed letters stamped on the bun */
@font-face {
  font-family: "Six Caps";
  src: url("fonts/six-caps-latin-400.woff2") format("woff2");
  font-display: swap;
}
/* "SMASH sau CRISPY?": all in the stamp face; the two picks in brand pink, link to the menu */
.pick {
  margin: 0;
  font-family: "Six Caps", var(--font-sans);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.pick a {
  color: var(--pink-deep);
  transition: color 0.2s ease;
}
.pick a:hover {
  color: var(--pink-ink);
}

.step-card {
  border-radius: var(--radius-lg);
}

.step-num {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--pink-ink);
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}

.step-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 850;
}

.step-card p {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: 1.04rem;
  max-width: 40ch;
}

/* Hero copy settles in; story copy fades through the centre of the screen. */
@media (prefers-reduced-motion: no-preference) {
  .js .step-hero .step-in > * {
    animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .js .step-hero .step-in > :nth-child(2) { animation-delay: 0.08s; }
  .js .step-hero .step-in > :nth-child(3) { animation-delay: 0.16s; }

  @supports (animation-timeline: view()) {
    .step:not(.step-hero) .step-in {
      animation: through linear both;
      animation-timeline: view();
    }
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
}

/* Phones: no story cards, the burger alone carries the scroll; steps are just scroll distance. */
@media (max-width: 920px) {
  .step:not(.step-hero) {
    min-height: 72svh;
  }
  .step:not(.step-hero) .step-in {
    visibility: hidden;
  }
}

@keyframes through {
  0% { opacity: 0; transform: translateY(48px); }
  32%, 68% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-48px); }
}

/* ---------- Common Sections & Scroll Reveal ---------- */

.section {
  padding: clamp(68px, 8vw, 112px) 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.js .rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.js .rv.in {
  opacity: 1;
  transform: none;
}

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

/* ---------- SECTION 2: Menu ---------- */

.menu-section .section-head {
  margin-bottom: 48px;
}

.menu-toolbar {
  display: flex;
  max-width: 100%;
  padding: 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.cat-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 100%;
}
.cat-tabs::-webkit-scrollbar {
  display: none;
}

/* phone: centred title, all categories visible in centred rows (no hidden scroll) */
@media (max-width: 700px) {
  .menu-section .section-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  .menu-toolbar {
    border-radius: 26px;
  }
  .cat-tabs {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }
}

.cat-pill {
  flex-shrink: 0;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.18s ease;
}
.cat-pill:hover {
  color: var(--ink);
  background: rgba(22, 19, 20, 0.04);
}
.cat-pill.active {
  background: var(--ink);
  color: #fff;
}

.menu-group {
  margin-bottom: 56px;
}
.menu-group:last-child {
  margin-bottom: 0;
}

.group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.group-header h3 {
  margin: 0;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

/* Burger Cards Grid */
.burgers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 22px;
}

.burger-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.22s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.burger-card:hover {
  border-color: rgba(255, 125, 184, 0.55);
  box-shadow: var(--shadow-lg);
}

.burger-card:focus-visible {
  outline: 2px solid var(--pink-deep);
  outline-offset: 2px;
}

.burger-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
}

.burger-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.burger-card:hover .burger-card-media img {
  transform: scale(1.06);
}

.card-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.badge {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-popular {
  background: var(--pink-wash);
  color: #ad2665;
}
.badge-spicy {
  background: #ffe9e4;
  color: var(--spicy);
}

.style-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(22, 19, 20, 0.06);
  color: var(--ink-soft);
}
.modal-kicker .style-tag {
  position: static;
}

.burger-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid rgba(22, 19, 20, 0.04);
}

.burger-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.burger-card-head h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.24;
  letter-spacing: -0.015em;
}

.price {
  font-weight: 900;
  font-size: 1rem;
  white-space: nowrap;
  color: var(--ink);
  background: var(--surface-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.burger-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Fries & Loaded Section */
.fries-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.fries-banner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.fries-banner img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}

.fries-banner-caption {
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}
.fries-banner-caption h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.3vw, 1.95rem);
  line-height: 1.14;
}
.fries-banner-caption p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.fries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.fries-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fries-card:hover {
  border-color: rgba(255, 125, 184, 0.5);
  box-shadow: var(--shadow-sm);
}

.fries-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.fries-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.fries-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.fries-card h3 {
  margin: 4px 0 0;
  font-size: 1.04rem;
}
.fries-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 22px;
  background: #1d191b;
}

/* ---------- SECTION 5: Visit & Location ---------- */

.visit-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  padding: clamp(28px, 4.5vw, 52px);
  border-radius: 32px;
  background: var(--ink);
  color: #fff;
  align-items: stretch;
}

.visit-info h2 {
  margin: 14px 0 12px;
  font-size: clamp(1.9rem, 3.3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.visit-lead {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 44ch;
}

.visit-list {
  margin: 0 0 28px;
  display: grid;
  gap: 14px;
}
.visit-list div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.visit-list dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--pink);
  font-weight: 700;
  margin-bottom: 3px;
}
.visit-list dd {
  margin: 0;
  font-size: 1rem;
}
.visit-list a:hover {
  color: var(--pink);
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Map (map.js): MapLibre + OpenFreeMap, iframe fallback */
.visit-map {
  position: relative;
  height: 100%;
  min-height: 380px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: #1f1a1d;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.visit-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: saturate(0) invert(0.9);
}
.visit-map .maplibregl-canvas {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.visit-map.ready .maplibregl-canvas {
  opacity: 1;
}
.visit-map .maplibregl-ctrl-group {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  box-shadow: none;
}
.visit-map .maplibregl-ctrl-group button + button {
  border-top-color: rgba(255, 255, 255, 0.2);
}
.visit-map .maplibregl-ctrl-group .maplibregl-ctrl-icon,
.visit-map .maplibregl-ctrl-attrib-button {
  filter: invert(1);
}
.visit-map .maplibregl-ctrl.maplibregl-ctrl-attrib,
.visit-map .maplibregl-ctrl-attrib.maplibregl-compact-show {
  background: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
}
.visit-map .maplibregl-ctrl-attrib a {
  color: rgba(255, 255, 255, 0.72);
}
.visit-map .maplibregl-cooperative-gesture-screen {
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font: 600 16px var(--font-sans);
}

.pin {
  display: grid;
  justify-items: center;
  gap: 10px;
  pointer-events: none;
}
.pin-card {
  padding: 9px 14px;
  border-radius: 14px;
  background: #fffdfb;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: var(--ink-mute);
  font: 500 12px/1.35 var(--font-sans);
  white-space: nowrap;
  text-align: center;
}
.pin-card b {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
}
.pin-dot {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 3px #fffdfb;
}
.pin-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--pink);
  animation: ping 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes ping {
  to { transform: scale(3.2); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pin-dot::after { animation: none; }
}

/* ---------- Footer ---------- */

.footer {
  padding: 40px 0 36px;
  border-top: 1px solid var(--line);
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--ink-mute);
}
.footer p {
  margin: 0;
}
.footer a {
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.footer a:hover {
  color: var(--pink-ink);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.footer-top > img {
  border-radius: 8px;
}
.anpc-sal img {
  width: 201px;
  height: auto;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 32px;
  padding: 24px 0;
}
.footer-h {
  margin-bottom: 6px !important;
  color: var(--ink);
  font-weight: 700;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

/* ---------- Legal page ---------- */

.legal-head {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-head img {
  border-radius: 9px;
}
.legal-back {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.legal-back:hover {
  color: var(--pink-ink);
}
.legal {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 72px;
  color: var(--ink-soft);
}
.legal h1 {
  margin: 0 0 6px;
  font-size: clamp(2rem, 5vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.legal h2 {
  margin: 40px 0 10px;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.legal h3 {
  margin: 22px 0 6px;
  font-size: 1rem;
  color: var(--ink);
}
.legal a {
  color: var(--pink-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal ul {
  padding-left: 20px;
}
.legal li {
  margin-bottom: 4px;
}
.legal b {
  color: var(--ink);
}
.legal-date {
  margin: 0 0 24px;
  font-size: 0.86rem;
  color: var(--ink-mute);
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.legal-table th {
  color: var(--ink);
}
.legal-foot p {
  margin: 0;
}

/* placeholder for data the client still has to provide */
mark.todo {
  background: #fff1b8;
  color: #6b4e00;
  padding: 0 4px;
  border-radius: 4px;
}

@media (max-width: 700px) {
  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Product Detail Modal ---------- */

.item-modal {
  border: 0;
  padding: 0;
  border-radius: 28px;
  max-width: min(860px, calc(100vw - 28px));
  width: 100%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 32px 80px rgba(15, 10, 12, 0.28);
}

html:has(.item-modal[open]) {
  overflow: hidden;
}

.item-modal::backdrop {
  background: rgba(18, 13, 15, 0.52);
  backdrop-filter: blur(6px);
}

.modal-shell {
  position: relative;
  padding: clamp(22px, 3.5vw, 36px);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-size: 0.95rem;
  z-index: 3;
}
.modal-close:hover {
  background: var(--pink-wash);
}

.modal-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: center;
}

.modal-media {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid var(--line);
}
.modal-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.modal-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.modal-details h2 {
  margin: 0 0 6px;
  font-size: 1.65rem;
  line-height: 1.15;
}

.modal-price {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--pink-deep);
}

.modal-desc {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.modal-block {
  margin-bottom: 18px;
}

.modal-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-bottom: 8px;
}

.variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: 0.8rem;
  cursor: pointer;
}
.variant-pill.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .nav-links {
    display: none;
  }
  .nav-right .nav-cta {
    display: inline-flex;
  }
  .burger-menu-btn {
    display: inline-flex;
  }

  /* Burger layer sits above the story cards, so cards slide underneath it. */
  .stage-sticky {
    z-index: 4;
    pointer-events: none;
  }
  .studio-glow {
    display: none;
  }

  .step {
    align-items: flex-end;
    padding-bottom: 20px;
  }
  /* Apple-style hero: centred, tight headline, quiet subline, two small pills */
  .step-hero {
    align-items: flex-start;
    padding-top: 108px;
    padding-bottom: 0;
    text-align: center;
  }
  .step-hero .step-in {
    margin-inline: auto;
  }
  .step-hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.2rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin-bottom: 14px;
  }
  .step-in {
    width: min(100%, 480px);
    max-width: none;
    margin-inline: auto;
  }
  .step-rail {
    display: none;
  }
}

@media (max-width: 900px) {
  .fries-banner,
  .visit-card,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
