:root {
  --bg: #f3ead8;
  --bg-soft: #fbf4e7;
  --ink: #2f241d;
  --ink-soft: #5f4a38;
  --wood-dark: #4e3523;
  --wood-mid: #7a5337;
  --wood-light: #c79365;
  --cream: #fff6e7;
  --gold: #f2d28b;
  --forest: #5b7351;
  --night: #162343;
  --night-soft: #21335e;
  --accent: #9f4c28;
  --accent-deep: #733016;
  --border-soft: rgba(79, 52, 33, 0.14);
  --shadow-soft: 0 18px 50px rgba(43, 29, 20, 0.12);
  --shadow-deep: 0 36px 90px rgba(20, 12, 7, 0.28);
  --overlay: linear-gradient(180deg, rgba(20, 12, 8, 0.1) 0%, rgba(20, 12, 8, 0.68) 100%);
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255, 241, 209, 0.7), transparent 22%),
    linear-gradient(180deg, #f4eddc 0%, #efe2cc 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

html { overflow-x: clip; }

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.brand,
.eyebrow,
h1,
h2,
h3,
.scroll-cue,
.ghost-link,
.card-caption strong,
.footer-links a,
.submit-btn {
  font-family: "Outfit", "Inter", system-ui, sans-serif;
  letter-spacing: -0.01em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem !important;
}


.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0 18px 14px;
  background: transparent;
}

.nav-shell {
  width: min(calc(100% - 8px), var(--max-width));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 246, 230, 0.22);
  border-radius: 18px;
  background: rgba(44, 27, 18, 0.52);
  box-shadow: 0 16px 40px rgba(20, 10, 4, 0.16);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--cream, #f5e9d3);
  padding: 1px;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(20, 10, 4, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 10px 24px rgba(20, 10, 4, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

@media (max-width: 640px) {
  .brand-text { display: none; }
}

.footer-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-title-row h2 {
  margin: 0;
}

.footer-logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(245, 233, 211, 0.95);
  padding: 4px;
  object-fit: contain;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

/* Scene 7 — team backdrop (full-bleed photo, centered copy) */
.team-scene { overflow: hidden; isolation: isolate; }
.team-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.team-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.05) brightness(1.05);
}
.team-backdrop-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 47, 0.45) 0%, rgba(15, 23, 47, 0.62) 100%);
}
.team-scene > .scene-inner { position: relative; z-index: 1; }
.team-scene .team-head {
  position: relative;
  z-index: 2;
  text-align: center;
  margin: 0 auto;
}
.team-scene .team-head .eyebrow,
.team-scene .team-head h2,
.team-scene .team-head .team-sub,
.team-scene .team-head .team-desc {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}

@media (max-width: 860px) {
  .team-backdrop img {
    width: 100%;
    -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 30%, #000 50%, transparent 100%);
            mask-image: radial-gradient(ellipse 90% 55% at 50% 30%, #000 50%, transparent 100%);
  }
  .team-backdrop-overlay {
    background:
      linear-gradient(180deg, rgba(15, 23, 47, 0) 0%, rgba(15, 23, 47, 0.55) 45%, rgba(15, 23, 47, 0.96) 75%);
  }
  .team-scene .team-head {
    max-width: none;
    margin: 0 auto;
    text-align: center;
    padding-right: 0;
  }
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: rgba(255, 244, 227, 0.88);
  font-weight: 800;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.scene,
.hero-scene,
.story-band,
.feature-banner,
.site-footer {
  position: relative;
}

.scene-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-scene {
  min-height: 100vh;
  padding: 34px 0 56px;
  overflow: clip;
}

.hero-backdrop,
.feature-banner-image,
.footer-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-backdrop img,
.feature-banner-image img,
.footer-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay,
.feature-banner-overlay,
.footer-overlay {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(24, 13, 8, 0.78) 0%, rgba(24, 13, 8, 0.54) 34%, rgba(24, 13, 8, 0.22) 60%, rgba(24, 13, 8, 0.55) 100%),
    linear-gradient(180deg, rgba(43, 25, 16, 0.18) 0%, rgba(43, 25, 16, 0.52) 100%);
}

.feature-banner-overlay,
.footer-overlay {
  background: var(--overlay);
}

.hero-layout {
  min-height: calc(100vh - 108px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: end;
  gap: 28px;
}

.hero-copy {
  padding: 88px 0 54px;
  max-width: 620px;
  color: var(--cream);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 1.02rem;
  font-weight: 800;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  font-size: clamp(3.7rem, 8vw, 7.4rem);
  max-width: 8ch;
}

h2 {
  font-size: clamp(2.4rem, 4.8vw, 4.4rem);
  max-width: 11ch;
}

.hero-lead,
.hero-story,
.story-copy p,
.feature-banner-copy p,
.footer-inner p {
  line-height: 1.7;
}

.hero-lead {
  margin: 18px 0 0;
  max-width: 34ch;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  color: rgba(255, 246, 231, 0.95);
}

.hero-story {
  margin: 18px 0 0;
  max-width: 56ch;
  color: rgba(255, 246, 231, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.scroll-cue,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.scroll-cue {
  color: var(--wood-dark);
  background: linear-gradient(180deg, #f3d48d 0%, #d9b267 100%);
  box-shadow: var(--shadow-soft);
}

.scroll-cue::after {
  content: "↓";
  margin-left: 10px;
}

.ghost-link {
  color: var(--cream);
  border: 1px solid rgba(255, 246, 230, 0.36);
  background: rgba(255, 246, 230, 0.08);
}

.scroll-cue:hover,
.scroll-cue:focus-visible,
.ghost-link:hover,
.ghost-link:focus-visible {
  transform: translateY(-2px);
}

.hero-gallery {
  position: relative;
  min-height: 720px;
}

.floating-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 248, 236, 0.92);
  border: 1px solid rgba(255, 241, 220, 0.4);
  box-shadow: var(--shadow-deep);
}

.floating-card img {
  height: 100%;
  object-fit: cover;
}

.card-large {
  inset: 10% 16% 16% 4%;
  transform: rotate(-4deg);
}

.card-small {
  width: min(28vw, 320px);
  right: 0;
  bottom: 8%;
  aspect-ratio: 0.82;
  transform: rotate(7deg);
}

.card-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(39, 24, 16, 0.72);
  color: var(--cream);
  backdrop-filter: blur(8px);
}

.card-caption span {
  display: block;
  font-size: 0.88rem;
  color: rgba(255, 243, 220, 0.8);
}

.card-caption strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.05;
}

.story-band,
.site-footer {
  padding: 112px 0;
}

.story-band {
  background:
    radial-gradient(circle at top right, rgba(242, 214, 167, 0.28), transparent 22%),
    linear-gradient(180deg, rgba(255, 248, 237, 0.7) 0%, rgba(248, 239, 221, 0.96) 100%);
}

.story-band.alt {
  background:
    radial-gradient(circle at top left, rgba(173, 201, 176, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(247, 236, 219, 0.94) 0%, rgba(238, 226, 205, 0.98) 100%);
}

.story-band.night {
  background:
    linear-gradient(180deg, rgba(19, 31, 58, 0.96) 0%, rgba(24, 36, 67, 0.98) 100%);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 40px;
}

.story-grid.reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.story-copy p,
.feature-banner-copy p,
.footer-inner p {
  margin: 18px 0 0;
  color: rgba(47, 36, 29, 0.8);
  font-size: 1.04rem;
}

.story-copy.light,
.story-copy.light p,
.story-copy.light h2,
.story-copy.light .eyebrow {
  color: var(--cream);
}

.story-copy.light p {
  color: rgba(255, 246, 231, 0.84);
}

.story-points {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.story-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 700;
}

.story-points li::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
}

.story-media,
.two-up,
.stacked {
  display: grid;
  gap: 20px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.two-up.equal {
  align-items: stretch;
}

.stacked {
  grid-template-columns: 1fr;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #e9dbc3;
  box-shadow: var(--shadow-soft);
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 248, 235, 0.3);
  border-radius: inherit;
  pointer-events: none;
}

.media-frame img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.media-frame.wide img {
  aspect-ratio: 1.65 / 1;
}

.media-frame.tall img {
  aspect-ratio: 0.82 / 1;
}

.feature-banner {
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 100px 0;
  overflow: clip;
}

.feature-banner-copy {
  color: var(--cream);
  max-width: 700px;
}

.feature-banner-copy p {
  color: rgba(255, 246, 231, 0.86);
  max-width: 56ch;
}

.feature-banner.dark .feature-banner-overlay {
  background:
    linear-gradient(180deg, rgba(12, 20, 37, 0.18) 0%, rgba(12, 20, 37, 0.72) 100%),
    linear-gradient(90deg, rgba(12, 20, 37, 0.35) 0%, rgba(12, 20, 37, 0.55) 100%);
}

.feature-banner-copy.narrow {
  max-width: 620px;
}

.site-footer {
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: clip;
}

.footer-inner {
  max-width: 720px;
  color: var(--cream);
}

.footer-inner h2 {
  max-width: none;
}

.footer-inner p {
  color: rgba(255, 246, 231, 0.86);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--cream);
  border: 1px solid rgba(255, 246, 230, 0.26);
  background: rgba(255, 246, 230, 0.08);
}

.reveal-up {
  opacity: 0;
  transform: translateY(34px);
}

@media (max-width: 1080px) {
  .hero-layout,
  .story-grid,
  .story-grid.reverse {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-copy {
    padding: 70px 0 0;
  }

  .hero-gallery {
    min-height: 640px;
  }

  .card-large {
    inset: 4% 10% 22% 0;
  }

  .card-small {
    width: min(36vw, 300px);
  }
}

@media (max-width: 760px) {
  .site-header {
    padding-inline: 10px;
  }

  .nav-shell {
    padding: 14px;
    gap: 14px;
    border-radius: 16px;
  }

  .site-nav {
    gap: 12px;
    font-size: 0.95rem;
  }

  .hero-scene {
    min-height: auto;
    padding-bottom: 42px;
  }

  .hero-layout {
    min-height: auto;
    align-items: start;
  }

  .hero-copy {
    padding-top: 46px;
  }

  .hero-gallery {
    min-height: 500px;
  }

  .card-large {
    inset: 0 12% 20% 0;
    transform: rotate(-2deg);
  }

  .card-small {
    width: min(52vw, 250px);
    bottom: 2%;
    transform: rotate(5deg);
  }

  .two-up {
    grid-template-columns: 1fr;
  }

  .story-band,
  .site-footer,
  .feature-banner {
    padding: 84px 0;
  }

  .media-frame,
  .floating-card {
    border-radius: 20px;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    max-width: 7ch;
  }

  h2 {
    max-width: 10ch;
  }

  .hero-gallery {
    min-height: 410px;
  }

  .card-large {
    inset: 0 10% 26% 0;
  }

  .card-small {
    width: 54vw;
    right: 2%;
  }

  .hero-actions,
  .footer-links {
    flex-direction: column;
    align-items: stretch;
  }
}

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

  .reveal-up {
    opacity: 1;
    transform: none;
  }

  .site-nav a::after,
  .scroll-cue,
  .ghost-link {
    transition: none;
  }
}

/* ============ Scene 2 — process timeline ============ */
.process-timeline {
  list-style: none;
  margin: 64px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 28px 24px 26px;
  background: rgba(255, 250, 238, 0.85);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(4px);
}
.process-num {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  line-height: 1;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.process-step h3 {
  margin: 12px 0 8px;
  font-size: 1.25rem;
  color: var(--wood-dark);
}
.process-step p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ============ Scene 3 — queue ============ */
.queue-scene {
  padding: 112px 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(242, 210, 139, 0.3), transparent 30%),
    linear-gradient(180deg, #fbf3df 0%, #f1e6cc 100%);
}
.queue-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.queue-hint {
  margin: 14px 0 24px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.queue-toggle {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(47, 36, 29, 0.08);
  border: 1px solid var(--border-soft);
}
.queue-tab {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.queue-tab.is-active {
  background: var(--wood-dark);
  color: var(--cream);
}
.queue-card {
  padding: 36px 32px;
  border-radius: 28px;
  background: #1d1410;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-deep);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 360px;
  transition: background 0.4s ease, color 0.4s ease;
}
.queue-card-bg {
  position: absolute;
  inset: 0;
  background-image: var(--queue-bg, url("./images/queue/low.png"));
  background-size: cover;
  background-position: center;
  transition: opacity 0.5s ease, background-image 0.01s;
  z-index: 0;
}
.queue-card-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Readability scrim */
  background:
    linear-gradient(180deg, rgba(15,10,8,0.15) 0%, rgba(15,10,8,0.55) 55%, rgba(15,10,8,0.85) 100%),
    linear-gradient(90deg, rgba(15,10,8,0.55) 0%, rgba(15,10,8,0.15) 60%);
}
.queue-card-content {
  position: relative;
  z-index: 1;
  color: #fff6e7;
}
.queue-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #f4d99b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}
.queue-time {
  margin-left: auto;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff6e7;
  opacity: 0.85;
}
.queue-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--queue-color, #5b7351);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.18);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
  50%      { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
}
.queue-status-title {
  margin: 18px 0 12px;
  font-size: 1.8rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}
.queue-status-text {
  margin: 0;
  line-height: 1.7;
  color: #fff6e7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
  font-size: 1.02rem;
}
.queue-bar {
  margin-top: 24px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(4px);
}
.queue-bar > span {
  display: block;
  height: 100%;
  width: var(--queue-fill, 25%);
  background: var(--queue-color, #5b7351);
  border-radius: inherit;
  box-shadow: 0 0 18px var(--queue-color, #5b7351);
  transition: background 0.4s ease;
}
.queue-card[data-level="low"]    { --queue-color: #6fbf57; --queue-fill: 25%;  --queue-bg: url("./images/queue/low.png"); }
.queue-card[data-level="medium"] { --queue-color: #f0a23a; --queue-fill: 60%;  --queue-bg: url("./images/queue/medium.png"); }
.queue-card[data-level="high"]   { --queue-color: #e6442a; --queue-fill: 100%; --queue-bg: url("./images/queue/high.png"); }
.queue-card[data-level="closed"] { --queue-color: #c0432a; --queue-fill: 0%;   --queue-bg: url("./images/queue/closed.png"); }

/* ============ Scene 4 — menu ============ */
.menu-head { max-width: 760px; margin-bottom: 32px; }
.menu-head h2 { max-width: none; margin-top: 10px; }
.menu-sub { margin: 14px 0 22px; color: var(--ink-soft); font-size: 1.05rem; }

/* Premium "Naša ponuka" collapse button */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 26px 14px 20px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(115, 48, 22, 0.32), inset 0 1px 0 rgba(255, 246, 230, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.menu-toggle:hover,
.menu-toggle:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(115, 48, 22, 0.4), inset 0 1px 0 rgba(255, 246, 230, 0.3);
  filter: brightness(1.05);
}
.menu-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 246, 230, 0.18);
  font-size: 1.05rem;
}
.menu-toggle-caret {
  font-size: 1rem;
  transition: transform 0.35s ease;
}
.menu-toggle[aria-expanded="false"] .menu-toggle-caret {
  transform: rotate(-90deg);
}

/* Collapsible wrapper — animates max-height + opacity */
.menu-collapse {
  overflow: hidden;
  max-height: 6000px;
  opacity: 1;
  margin-top: 8px;
  transition: max-height 0.6s ease, opacity 0.35s ease, margin 0.4s ease;
}
.menu-collapse[data-open="false"] {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  pointer-events: none;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.menu-card {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: var(--cream);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-deep); }

/* Morphing media stack (drawn ↔ photo) */
.menu-media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fffaf0;
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.menu-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  transition: opacity 0.3s ease, transform 0.5s ease;
  will-change: opacity, transform;
}
.menu-img--drawn {
  opacity: 1;
  z-index: 1;
}
.menu-img--photo {
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  object-fit: cover;
  padding: 0;
  transform: scale(1.04);
}
.menu-morph:hover .menu-img--photo,
.menu-morph:focus-visible .menu-img--photo,
.menu-morph.is-touched .menu-img--photo {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.menu-morph:hover .menu-img--drawn,
.menu-morph:focus-visible .menu-img--drawn,
.menu-morph.is-touched .menu-img--drawn {
  opacity: 0;
}

/* Placeholder cards for slots 5–11 */
.menu-placeholder { opacity: 0.55; }
.menu-media--empty {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(122, 83, 55, 0.08) 0 10px,
      rgba(122, 83, 55, 0.14) 10px 20px
    );
  border-bottom: 1px solid var(--border-soft);
}
.menu-media--empty::after {
  content: "Pripravujeme";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  color: var(--wood-mid);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
}

.menu-meta {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.menu-card h3 {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: 1.2rem;
  color: var(--accent-deep);
  line-height: 1.25;
}
.menu-desc { margin: 0; line-height: 1.55; color: var(--ink-soft); font-size: 0.95rem; flex: 1; }
.menu-price {
  align-self: flex-start;
  margin-top: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--wood-dark);
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  box-shadow: 0 6px 14px rgba(120, 80, 30, 0.18);
}
.menu-card.is-malina {
  position: relative;
  border-color: rgba(182, 34, 75, 0.45);
  box-shadow: 0 18px 40px rgba(140, 20, 55, 0.22);
}
.menu-card.is-malina .menu-price {
  background: linear-gradient(135deg, #d12a5a, #7a1733);
  color: #fff8ec;
  box-shadow: 0 8px 18px rgba(140, 20, 55, 0.4);
}
.menu-card.is-malina h3 {
  color: #8a1a3c;
}
.menu-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  padding: 5px 11px;
  border-radius: 999px;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff8ec;
  background: linear-gradient(135deg, #d12a5a, #7a1733);
  box-shadow: 0 6px 14px rgba(140, 20, 55, 0.4);
}




.drinks-block {
  margin-top: 72px;
}
.drinks-image {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.drinks-image img { aspect-ratio: 1 / 1; object-fit: cover; }
.drinks-copy h3 {
  margin: 12px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--wood-dark);
}
.drinks-copy p { margin-top: 16px; line-height: 1.7; color: var(--ink-soft); }

/* ============ Forms (Scene 5 & 6) ============ */
.form-scene {
  padding: 112px 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(242, 210, 139, 0.25), transparent 30%),
    linear-gradient(180deg, #fbf4e0 0%, #f3e7c8 100%);
}
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}
.form-copy h2 { max-width: 14ch; }
.form-lead {
  margin: 18px 0 10px !important;
  font-size: 1.2rem !important;
  color: var(--wood-dark) !important;
  font-weight: 600;
}
.brloh-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 28px;
  box-shadow: var(--shadow-deep);
}
.field { display: grid; gap: 6px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--wood-dark);
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid rgba(79, 52, 33, 0.18);
  border-radius: 12px;
  background: #fdf9ef;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(159, 76, 40, 0.15);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.submit-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  margin-top: 8px;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.submit-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-deep); }
.submit-btn:disabled { opacity: 0.6; cursor: progress; }

.form-status {
  margin: 4px 0 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  font-weight: 600;
}
.form-status.is-ok { color: #3f7a3a; }
.form-status.is-err { color: #b73a1f; }

/* ============ Scene 6 — events grid ============ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 72px;
}
.event-card {
  padding: 36px 28px 28px;
  border-radius: 26px;
  background: #fff8ec;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.event-num {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
}
.event-card h3 {
  margin: 14px 0 10px;
  font-size: 1.35rem;
  color: var(--wood-dark);
}
.event-card p { margin: 0; line-height: 1.65; color: var(--ink-soft); }

/* ============ Scene 7 — team ============ */
.team-head { max-width: 760px; text-align: center; margin: 0 auto; }
.team-head h2 { max-width: none; margin-inline: auto; color: #fff6e7; }
.team-head .eyebrow { color: var(--gold); }
.team-sub {
  margin: 18px auto 0 !important;
  color: var(--gold) !important;
  font-weight: 600;
}
.team-desc {
  margin: 14px auto 0 !important;
  max-width: 60ch;
  color: #fff1d6 !important;
}
.team-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.team-member {
  appearance: none;
  border: 1px solid rgba(255, 246, 230, 0.22);
  background: rgba(255, 246, 230, 0.08);
  color: #fff6e7;
  padding: 18px 14px 20px;
  border-radius: 22px;
  display: grid;
  gap: 10px;
  justify-items: center;
  font: inherit;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.team-member:hover,
.team-member:focus-visible {
  outline: none;
  transform: translateY(-6px) rotate(-1deg);
  background: rgba(242, 210, 139, 0.18);
  border-color: rgba(242, 210, 139, 0.7);
  box-shadow: 0 18px 38px -16px rgba(0, 0, 0, 0.55);
}

/* Morphing media (drawn ↔ real photo) */
.team-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 246, 230, 0.08);
  border: 2px solid rgba(242, 210, 139, 0.45);
}
.team-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.team-img--drawn {
  opacity: 1;
  z-index: 1;
  object-fit: cover;
}
.team-img--photo {
  opacity: 0;
  visibility: hidden;
  z-index: 2;
  transform: scale(1.06);
}
.team-morph:hover .team-img--photo,
.team-morph:focus-visible .team-img--photo,
.team-morph.is-touched .team-img--photo {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.team-morph:hover .team-img--drawn,
.team-morph:focus-visible .team-img--drawn,
.team-morph.is-touched .team-img--drawn {
  opacity: 0;
}

.team-name {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff6e7;
}
.team-role {
  font-size: 0.82rem;
  color: #f4d99b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}


/* ============ Scene 8 — footer additions ============ */
.footer-inner { max-width: 1100px; }
.footer-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.footer-block h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.hours-list, .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 246, 231, 0.18);
  color: rgba(255, 246, 231, 0.85);
}
.contact-list li { color: rgba(255, 246, 231, 0.85); }
.contact-list a { border-bottom: 1px solid rgba(242, 210, 139, 0.4); }
.footer-meta {
  margin-top: 28px;
  font-size: 0.85rem;
  color: rgba(255, 246, 231, 0.55);
}

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .process-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .queue-layout, .form-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 767px) {
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; }
  .menu-meta { padding: 14px 14px 16px; gap: 6px; }
  .menu-card h3 { font-size: 1rem; }
  .menu-desc { font-size: 0.85rem; }
  .menu-price { font-size: 0.92rem; padding: 5px 11px; }
  .menu-toggle { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .process-timeline, .events-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-row { grid-template-columns: 1fr; }
  .brloh-form { padding: 22px; border-radius: 22px; }
}

/* ===== Scene 4 — "+" add-to-order button on menu cards ===== */
.menu-card { position: relative; }
.menu-add {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #b8541b 0%, #7a2e0c 100%);
  color: #fff8ec;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(122, 46, 12, 0.45), 0 0 0 3px rgba(255, 248, 236, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  z-index: 4;
}
.menu-add:hover,
.menu-add:focus-visible {
  transform: scale(1.12) rotate(90deg);
  background: linear-gradient(135deg, #d2661f 0%, #963a10 100%);
  outline: none;
}
.menu-add.is-added {
  background: linear-gradient(135deg, #4a8a3a 0%, #2d5a24 100%);
  transform: scale(1.18);
}
.menu-card.is-malina .menu-add {
  background: linear-gradient(135deg, #d12a5a 0%, #7a1733 100%);
  box-shadow: 0 6px 18px rgba(122, 23, 51, 0.5), 0 0 0 3px rgba(255, 248, 236, 0.9);
}

/* Floating toast confirmation */
.menu-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 20px);
  background: #2f241d;
  color: #fff8ec;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}
.menu-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Multi-select styling for "Tvoja objednávka" */
.field-hint {
  margin: 0 0 8px;
  font-size: 0.85rem;
  color: rgba(60, 38, 24, 0.7);
  font-style: italic;
}
select[multiple] {
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1.5px solid var(--border-soft, rgba(0,0,0,0.15));
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  min-height: 180px;
}
select[multiple] option {
  padding: 8px 10px;
  border-radius: 8px;
  margin-bottom: 2px;
}
select[multiple] option:checked {
  background: linear-gradient(135deg, #b8541b, #7a2e0c) !important;
  color: #fff8ec;
  font-weight: 600;
}

/* ===== Scene 5 — Order cart ===== */
.order-cart {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fffaf0;
  border: 1px dashed #d8c2a0;
  border-radius: 14px;
  padding: 14px;
  min-height: 64px;
}
.order-cart[data-empty="true"] {
  background: rgba(255, 250, 240, 0.5);
}
.order-cart-empty {
  color: #8a6648;
  font-size: 14px;
  font-style: italic;
  text-align: center;
  padding: 6px 4px;
}
.order-cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #efe2cf;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(122, 46, 12, 0.06);
}
.cart-remove {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: #e23b3b;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: transform 0.15s ease, background 0.15s ease;
}
.cart-remove:hover { background: #b81e1e; transform: scale(1.08); }
.cart-name {
  color: #3c2618;
  font-weight: 600;
  font-size: 15px;
}
.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff8ec;
  border: 1px solid #efe2cf;
  border-radius: 999px;
  padding: 2px;
}
.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #b8541b, #7a2e0c);
  color: #fff8ec;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.qty-btn:hover { transform: scale(1.08); filter: brightness(1.1); }
.qty-num {
  min-width: 24px;
  text-align: center;
  font-weight: 700;
  color: #3c2618;
  font-size: 15px;
}

/* ===== Scene 8 — Attractions modal ===== */
.attractions-btn {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: linear-gradient(135deg, #e85a2c 0%, #c43d18 100%);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px rgba(232, 90, 44, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.attractions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -12px rgba(232, 90, 44, 0.75);
}
.attractions-btn-arrow { transition: transform 0.25s ease; }
.attractions-btn:hover .attractions-btn-arrow { transform: translateX(4px); }

.attractions-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.attractions-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}
.attractions-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.7);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.attractions-container {
  position: relative;
  width: min(960px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, #1a1410 0%, #2a1d14 100%);
  color: #f6efe6;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transform: scale(0.9);
}
.attractions-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.attractions-close:hover { background: rgba(232, 90, 44, 0.9); transform: rotate(90deg); }
.attractions-header { margin-bottom: 1.5rem; padding-right: 3rem; }
.attractions-header h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0.3rem 0 0.5rem;
}
.attractions-sub { color: rgba(246, 239, 230, 0.7); margin: 0; }
.attractions-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.attractions-grid a {
  display: block;
  height: 100%;
  padding: 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.attractions-grid a:hover {
  transform: translateY(-4px);
  background: rgba(232, 90, 44, 0.12);
  border-color: rgba(232, 90, 44, 0.4);
}
.attr-distance {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e85a2c;
  font-weight: 700;
}
.attractions-grid h4 {
  margin: 0.5rem 0 0.5rem;
  font-size: 1.05rem;
  line-height: 1.3;
}
.attractions-grid p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: rgba(246, 239, 230, 0.75);
  line-height: 1.5;
}
.attr-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f0a07a;
}

/* ===== Scene 8 — Socials + map ===== */
.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
}
.social-icon {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.social-icon:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #e85a2c 0%, #c43d18 100%);
  border-color: transparent;
  color: #fff;
}
.social-icon[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #1a1410;
  color: #f6efe6;
  font-size: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.social-icon[data-tooltip]:hover::after,
.social-icon[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.footer-map {
  margin-top: 1rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.04);
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
}

/* ============ EVENT POLAROIDS ============ */
.event-polaroids-wrap { margin-top: 48px; }
.polaroid-hint {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.event-polaroids {
  position: relative;
  width: 100%;
  height: 480px;
  margin: 0 auto;
  max-width: 1100px;
}
.polaroid {
  position: absolute;
  left: var(--x, 0);
  top: var(--y, 0);
  width: 180px;
  margin: 0;
  padding: 10px 10px 32px;
  background: #f6efe2;
  box-shadow: 0 14px 28px rgba(0,0,0,0.45), 0 4px 10px rgba(0,0,0,0.35);
  transform: rotate(calc(var(--rot, 0) * 1deg));
  cursor: grab;
  user-select: none;
  touch-action: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  will-change: transform, left, top;
}
.polaroid:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.55), 0 6px 14px rgba(0,0,0,0.4); }
.polaroid.is-dragging { cursor: grabbing; z-index: 50; transition: none; }
.polaroid img {
  display: block;
  width: 100%;
  height: 130px;
  object-fit: cover;
  pointer-events: none;
}
.polaroid figcaption {
  font-family: 'Caveat', 'Patrick Hand', cursive;
  font-size: 1.15rem;
  text-align: center;
  color: #2a1c10;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .event-polaroids { height: 720px; }
  .polaroid { width: 140px; padding: 8px 8px 26px; }
  .polaroid img { height: 100px; }
}

.polaroid-lightbox {
  position: fixed; inset: 0;
  background: rgba(8, 10, 18, 0.88);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 24px;
}
.polaroid-lightbox.is-open { opacity: 1; pointer-events: auto; }
.polaroid-lightbox-frame {
  background: #f6efe2;
  padding: 22px 22px 60px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  max-width: min(90vw, 900px);
  max-height: 88vh;
  transform: scale(0.9) rotate(-1deg);
  transition: transform 0.3s ease;
  display: flex; flex-direction: column;
}
.polaroid-lightbox.is-open .polaroid-lightbox-frame { transform: scale(1) rotate(0); }
.polaroid-lightbox-frame img {
  max-width: 100%;
  max-height: calc(88vh - 110px);
  object-fit: contain;
  display: block;
}
.polaroid-lightbox-frame figcaption {
  font-family: 'Caveat', 'Patrick Hand', cursive;
  font-size: 2rem;
  text-align: center;
  color: #2a1c10;
  margin-top: 14px;
}
.polaroid-lightbox-close {
  position: absolute; top: 18px; right: 22px;
  background: transparent; border: none; color: #fff;
  font-size: 2.4rem; line-height: 1; cursor: pointer;
  width: 44px; height: 44px;
}
.polaroid-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff; width: 60px; height: 60px; border-radius: 50%;
  cursor: pointer; display: grid; place-items: center;
  font-size: 1.8rem; line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.polaroid-lightbox-nav:hover { background: rgba(255,255,255,0.25); transform: translateY(-50%) scale(1.08); }
.polaroid-lightbox-prev { left: 24px; }
.polaroid-lightbox-next { right: 24px; }
.polaroid-lightbox-prev .paw { display: inline-block; transform: scaleX(-1); }
@media (max-width: 760px) {
  .polaroid-lightbox-nav { width: 48px; height: 48px; font-size: 1.4rem; }
  .polaroid-lightbox-prev { left: 8px; }
  .polaroid-lightbox-next { right: 8px; }
}

/* ===== Scene 1 — signpost & build progress ===== */
.hero-signpost {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 60px 0 40px;
}
.hero-signpost img {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45));
}

.build-progress {
  padding: 40px 0 90px;
  color: var(--cream, #f6efe2);
  position: relative;
  z-index: 2;
}
.build-progress-head {
  max-width: var(--max-width);
  margin: 0 auto 36px;
  text-align: left;
}
.build-progress-head h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  margin: 8px 0 12px;
}
.build-progress-lead {
  opacity: 0.88;
  font-size: 1rem;
  line-height: 1.55;
}
.build-progress-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.build-step figure {
  margin: 0;
  background: rgba(15, 23, 47, 0.55);
  border: 1px solid rgba(246, 239, 226, 0.12);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.build-step figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.45);
}
.build-step img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.build-step figcaption {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.build-step figcaption strong {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.build-step figcaption span {
  opacity: 0.82;
}

@media (max-width: 760px) {
  .hero-signpost {
    padding: 20px 0 10px;
  }
  .hero-signpost img {
    max-width: 200px;
  }
  .build-progress {
    padding: 24px 0 70px;
  }
}

/* ===== Scene 1b — Build story (collapsible, Scene 2 background) ===== */
.build-story-scene {
  padding: 0;
}
.build-story-collapse {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.7s ease, opacity 0.5s ease, padding 0.5s ease;
}
.build-story-collapse[data-open="true"] {
  max-height: 6000px;
  opacity: 1;
  padding: 80px 0 90px;
}
.build-story-scene .build-progress { color: var(--ink); padding: 0; }
.build-story-scene .build-progress-head { color: var(--ink); }
.build-story-scene .build-progress-head .eyebrow { color: var(--accent); }
.build-story-scene .build-progress-head h2 { color: var(--wood-dark); }
.build-story-scene .build-progress-lead { color: var(--ink-soft); }
.build-story-scene .build-step figure {
  background: rgba(255, 248, 236, 0.85);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}
.build-story-scene .build-step figcaption { color: var(--ink); }
.build-story-scene .build-step figcaption span { color: var(--ink-soft); opacity: 1; }

/* ===== Scene 4 — menu head row (text left, button right) ===== */
.menu-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max-width);
  flex-wrap: wrap;
}
.menu-head-row .menu-head-text {
  flex: 1 1 420px;
  min-width: 0;
  max-width: 720px;
}
.menu-head-row .menu-toggle { flex: 0 0 auto; align-self: center; }
@media (max-width: 760px) {
  .menu-head-row { flex-direction: column; align-items: flex-start; }
  .menu-head-row .menu-head-text { flex: 0 0 auto; }
  .menu-head-row .menu-toggle { width: 100%; justify-content: center; }
}

/* ===== Scene 4 — drinks carousel ===== */
.drinks-carousel {
  position: relative;
  margin-top: 24px;
  padding: 0;
  width: min(calc(100% - 32px), var(--max-width));
  margin-inline: auto;
}
.carousel-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: center;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.carousel-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.carousel-slide .drinks-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.carousel-slide .drinks-image img { aspect-ratio: 1 / 1; object-fit: cover; }
.carousel-slide .drinks-copy h3 {
  margin: 12px 0 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--wood-dark);
}
.carousel-slide .drinks-copy p { margin-top: 16px; line-height: 1.7; color: var(--ink-soft); }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: var(--cream);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: grid;
  place-items: center;
  z-index: 3;
  transition: transform 0.25s ease, background 0.25s ease;
}
.carousel-arrow:hover { transform: translateY(-50%) scale(1.08); background: var(--gold); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-arrow .paw { font-size: 1.4rem; display: inline-block; }
.carousel-prev .paw { transform: scaleX(-1); }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(79, 52, 33, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.is-active { background: var(--accent); transform: scale(1.2); }

@media (max-width: 760px) {
  .drinks-carousel { padding: 0 12px; }
  .carousel-slide { grid-template-columns: 1fr; gap: 18px; }
  .carousel-arrow { width: 44px; height: 44px; }
  .carousel-prev { left: -6px; }
  .carousel-next { right: -6px; }
}
