:root {
  --bg: #140c22;
  --bg-elevated: #1e1433;
  --ink: #f7f2ff;
  --muted: #c9b8e4;
  --purple: #b56bff;
  --purple-deep: #7c3aed;
  --magenta: #e879f9;
  --line: rgba(232, 201, 255, 0.2);
  --font-he: "Heebo", system-ui, sans-serif;
  --font-brand: "Syne", "Heebo", sans-serif;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 45% at 15% -5%, rgba(124, 58, 237, 0.22), transparent 55%),
    radial-gradient(ellipse 55% 40% at 95% 20%, rgba(192, 38, 211, 0.12), transparent 50%);
  color: var(--ink);
  font-family: var(--font-he);
  font-weight: 400;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}

.skip:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem var(--pad);
  background: linear-gradient(180deg, rgba(20, 12, 34, 0.82), rgba(20, 12, 34, 0));
  transition: background 0.35s ease;
}

.site-header.is-solid {
  background: rgba(20, 12, 34, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.brand-mark {
  width: 1.7rem;
  height: 1.7rem;
  color: var(--ink);
}

.brand-text {
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.header-cta {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--magenta);
  background: rgba(168, 85, 247, 0.15);
}

@media (min-width: 760px) {
  .nav {
    display: flex;
  }
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

/* Desktop: match 16:9 photo so the venue isn't side-cropped */
@media (min-width: 900px) {
  .hero {
    min-height: 0;
    aspect-ratio: 16 / 9;
    max-height: 100svh;
    width: 100%;
  }

  .hero-media img {
    object-position: 50% 45%;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: 50% 42%;
  filter: none;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 12, 34, 0.08) 0%,
    rgba(20, 12, 34, 0.02) 40%,
    rgba(20, 12, 34, 0.35) 75%,
    rgba(20, 12, 34, 0.78) 92%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 7rem var(--pad) 5.5rem;
}

.hero-brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow:
    0 2px 18px rgba(20, 12, 34, 0.65),
    0 0 28px rgba(20, 12, 34, 0.4);
}

.hero-title {
  text-shadow: 0 1px 2px rgba(10, 4, 22, 0.7), 0 2px 16px rgba(10, 4, 22, 0.75);
}

.hero-lead {
  color: #f6efff;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(10, 4, 22, 0.75), 0 2px 14px rgba(10, 4, 22, 0.8);
}

@media (max-width: 759px) {
  .hero {
    /* svh = fixed height (browser bars shown). dvh made the hero resize while scrolling on iPhone,
       which pushed all the content below it up and down. */
    min-height: 100svh;
    display: block;
  }

  .hero-media {
    position: absolute;
    inset: 0;
  }

  .hero-media img {
    object-position: 50% 35%;
    filter: none;
  }

  .hero-veil {
    background: linear-gradient(
      180deg,
      rgba(20, 12, 34, 0.1) 0%,
      rgba(20, 12, 34, 0.02) 35%,
      rgba(20, 12, 34, 0.28) 62%,
      rgba(20, 12, 34, 0.72) 86%,
      var(--bg) 100%
    );
  }

  /* Float lower on the image */
  .hero-content {
    position: absolute;
    inset-inline: 0;
    top: auto;
    bottom: 22%;
    width: min(100%, var(--max));
    margin-inline: auto;
    padding: 0 var(--pad);
    background: none;
    transform: none;
  }

  .hero-brand {
    font-size: clamp(2.15rem, 9.5vw, 2.85rem);
    margin-bottom: 0.55rem;
    max-width: none;
    line-height: 0.95;
    letter-spacing: 0.02em;
  }

  .hero-title {
    font-size: 0.98rem;
    max-width: 18ch;
    line-height: 1.3;
  }

  .hero-lead {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.84rem;
    max-width: 28ch;
  }

  .hero-actions {
    margin-top: 1.1rem;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-height: 2.7rem;
    padding-inline: 0.7rem;
    font-size: 0.86rem;
  }

  .hero-scroll {
    display: none;
  }
}

.hero-tag {
  margin: 0 0 0.55rem;
  color: #f5d0fe;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.hero-title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.25rem, 2.8vw, 1.7rem);
  font-weight: 700;
  line-height: 1.35;
}

.hero-lead {
  margin: 0.85rem 0 0;
  max-width: 36ch;
  color: #f6efff;
  font-weight: 500;
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-scroll {
  position: absolute;
  inset-inline-start: 50%;
  bottom: 1.4rem;
  transform: translateX(50%);
  width: 1px;
  height: 2.5rem;
  background: rgba(245, 240, 255, 0.2);
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 0.7rem;
  background: var(--magenta);
  animation: scroll-dot 1.8s ease-in-out infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(1.6rem); opacity: 0; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-he);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  color: #fff !important;
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(232, 121, 249, 0.55);
}

/* Hero secondary button: glass pill (frosted, light edge) so it stays visible over the photo */
.hero-actions .btn-ghost {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08),
    0 6px 20px rgba(8, 3, 20, 0.35);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
  text-shadow: 0 1px 6px rgba(10, 4, 22, 0.55);
}

.hero-actions .btn-ghost:hover,
.hero-actions .btn-ghost:focus-visible {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.16));
  border-color: rgba(255, 255, 255, 0.75);
}

.chapter {
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.chapter-head {
  position: relative;
  min-height: clamp(18rem, 52vw, 28rem);
  display: grid;
  align-items: end;
  overflow: hidden;
}

.chapter-head-tall {
  min-height: clamp(22rem, 62vw, 34rem);
}

.chapter-head > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

@media (max-width: 759px) {
  .chapter-head {
    min-height: 16.5rem;
  }

  .chapter-head-tall {
    min-height: 22rem;
  }

  .chapter-head > img {
    object-position: center 35%;
  }

  .chapter-head-copy {
    padding: 2.25rem var(--pad) 1.5rem;
  }

  .chapter-head-copy h2 {
    font-size: clamp(2rem, 11vw, 2.8rem);
  }

  .chapter-head-copy > p:not(.chapter-kicker) {
    font-size: 0.98rem;
    max-width: 30ch;
  }
}

.chapter-head-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 12, 34, 0.05) 0%,
    rgba(20, 12, 34, 0.2) 45%,
    rgba(20, 12, 34, 0.75) 78%,
    var(--bg) 100%
  );
  pointer-events: none;
}

.birthday-veil {
  background: linear-gradient(
    180deg,
    rgba(20, 12, 34, 0.05) 0%,
    rgba(20, 12, 34, 0.25) 45%,
    rgba(20, 12, 34, 0.78) 78%,
    var(--bg) 100%
  );
}

.chapter-head-copy {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: 3rem var(--pad) 2.25rem;
}

.chapter-kicker {
  margin: 0 0 0.45rem;
  color: #f5d0fe;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
}

.chapter-kicker.gold {
  color: #fde68a;
}

.chapter-head-copy h2 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.chapter-head-copy > p:not(.chapter-kicker) {
  margin: 0.9rem 0 0;
  max-width: 36ch;
  color: rgba(247, 242, 255, 0.86);
  font-size: 1.05rem;
}

.party-points {
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
  color: rgba(247, 242, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
}

.party-points li {
  position: relative;
  padding-inline-start: 1.1rem;
}

.party-points li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #fde68a;
}

.pulse {
  padding: 1.25rem var(--pad);
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.pulse-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.pulse-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.pulse-inner strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

@media (min-width: 760px) {
  .pulse-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.experience {
  padding: clamp(3rem, 7vw, 5rem) var(--pad);
}

.experience-intro,
.visit-intro,
.faq-inner,
.flow {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.experience-intro h2,
.visit-intro h2,
.faq h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.experience-intro p:last-child,
.visit-intro p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 38ch;
}

.experience-grid {
  width: min(100%, var(--max));
  margin: 2rem auto 0;
  display: grid;
  gap: 1rem;
}

.experience-grid article {
  padding: 1.35rem 1.25rem;
  border-top: 1px solid var(--line);
}

.experience-grid h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
}

.experience-grid p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

@media (min-width: 800px) {
  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 2rem;
  }
}

.flow {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.flow h3 {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 800;
}

.flow ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.flow li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.flow li > span {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--purple);
  line-height: 1;
  padding-top: 0.15rem;
}

.flow strong {
  display: block;
  font-size: 1.05rem;
}

.flow p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.faq {
  padding: 0 var(--pad) clamp(3rem, 7vw, 4.5rem);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: left;
  color: var(--purple);
  font-weight: 800;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0.25rem;
  color: var(--muted);
  max-width: 48ch;
}

.closing {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) var(--pad);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(124, 58, 237, 0.25), transparent 70%),
    var(--bg);
}

.closing-line {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #f5d0fe;
}

.closing-he {
  margin: 0.55rem 0 1.5rem;
  color: var(--muted);
}

.wa-float {
  position: fixed;
  inset-inline-end: max(1rem, env(safe-area-inset-inline-end, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 45;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

@media (max-width: 759px) {
  .wa-float {
    font-size: 0.85rem;
    padding: 0.7rem 1rem;
    min-height: 2.75rem;
  }

  .pulse {
    position: relative;
    z-index: 2;
    margin-top: -14vh;
    padding: 1rem var(--pad);
    background: rgba(20, 12, 34, 0.92);
    backdrop-filter: blur(8px);
  }

  .pulse-inner {
    gap: 0.85rem 1rem;
  }

  .pulse-inner strong {
    font-size: 1.25rem;
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }

  .experience,
  .faq,
  .visit {
    padding-inline: var(--pad);
  }

  .experience-grid article {
    padding: 1.1rem 0;
  }
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: translateY(-2px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
}

.visit h3 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
}

.visit-intro {
  margin-bottom: 2rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  font-weight: 700;
  color: #fde68a;
}

.text-link::after {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: currentColor;
  transition: width 0.25s ease;
}

.text-link:hover::after,
.text-link:focus-visible::after {
  width: 2.2rem;
}

.filmstrip-wrap {
  width: min(100%, var(--max));
  margin: 0.5rem auto 0;
  padding: 0 var(--pad);
}

.filmstrip {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0.75rem;
}

.filmstrip-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  aspect-ratio: 1 / 1;
  background: var(--bg-elevated);
  isolation: isolate;
  border: 1px solid rgba(232, 201, 255, 0.14);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.filmstrip-item:hover,
.filmstrip-item:focus-within {
  transform: translateY(-3px);
  border-color: rgba(232, 121, 249, 0.45);
  box-shadow: 0 16px 32px rgba(76, 29, 149, 0.35);
}

.filmstrip-item img,
.filmstrip-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: scale(1.001);
  filter: brightness(1.08) saturate(1.04);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.filmstrip-item:hover img,
.filmstrip-item:focus-within img {
  transform: scale(1.05);
  filter: brightness(1.14) saturate(1.06);
}

.filmstrip-item--video video {
  display: block;
  background: #1a1028;
}

.filmstrip-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  padding: 2.4rem 0.85rem 0.85rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(12, 6, 22, 0.15) 28%,
    rgba(12, 6, 22, 0.88) 100%
  );
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
  font-family: var(--font-he);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  line-height: 1.2;
}

.filmstrip-more {
  margin-top: 1rem;
  text-align: center;
}

.filmstrip-more-btn {
  gap: 0.65rem;
  padding-inline: 1.35rem;
  box-shadow: 0 10px 26px rgba(124, 58, 237, 0.38);
}

.filmstrip-more-btn:hover,
.filmstrip-more-btn:focus-visible {
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.48);
}

.filmstrip-more-caret {
  width: 0.45rem;
  height: 0.45rem;
  border-inline-end: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  animation: filmstrip-caret 1.5s ease-in-out infinite;
}

.filmstrip-wrap.is-expanded .filmstrip-more-caret {
  transform: rotate(-135deg) translateY(-1px);
  animation: none;
}

@keyframes filmstrip-caret {
  0%,
  100% { transform: rotate(45deg) translateY(-2px); }
  50% { transform: rotate(45deg) translateY(2px); }
}

@media (prefers-reduced-motion: reduce) {
  .filmstrip-more-caret {
    animation: none !important;
  }
}

/* Mobile/tablet: hide extras until expanded */
.filmstrip-item--extra {
  display: none !important;
}

.filmstrip-wrap.is-expanded .filmstrip-item--extra {
  display: block !important;
}

.filmstrip-more {
  display: block;
}

@media (min-width: 900px) {
  .filmstrip {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.1rem;
  }

  .filmstrip-item {
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
  }

  .filmstrip-item figcaption {
    font-size: 1.08rem;
    padding: 2.8rem 1rem 1rem;
  }

  .filmstrip-item--extra {
    display: block !important;
  }

  .filmstrip-more {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .filmstrip-item,
  .filmstrip-item img {
    transition: none !important;
  }
}

.visit {
  padding: clamp(3rem, 8vw, 5.5rem) var(--pad) clamp(4rem, 10vw, 6rem);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 40% at 80% 0%, rgba(124, 58, 237, 0.22), transparent 60%),
    var(--bg);
}

.visit-grid {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 3rem;
}

.visit h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
}

.hours {
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.hours dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.hours dd {
  margin: 0;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.place-name {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.15rem;
}

.place-address {
  margin: 0.65rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 860px) {
  .visit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding: 1.4rem var(--pad) 5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 0.25rem;
}

/* —— Venue map explorer —— */
.map-explorer {
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad) clamp(3rem, 7vw, 5rem);
}

.map-intro {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.map-intro h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.map-intro > p:last-child {
  margin: 0.7rem 0 0;
  color: var(--muted);
  max-width: 42ch;
}

.map-shell {
  width: min(100%, var(--max));
  margin: 1.6rem auto 0;
}

.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  margin-bottom: 1rem;
}

.map-floors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.map-floor-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  border-radius: 0.7rem;
  padding: 0.55rem 0.8rem;
  min-height: 2.6rem;
  cursor: pointer;
  text-align: start;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.map-floor-btn strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
}

.map-floor-btn span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.map-floor-btn[aria-selected="true"] {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.45), rgba(192, 38, 211, 0.28));
  border-color: rgba(232, 201, 255, 0.45);
}

.map-floor-btn:hover {
  border-color: rgba(232, 201, 255, 0.4);
}

.map-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.map-food-btn,
.map-pdf {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  min-height: 2.5rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.map-food-btn[aria-pressed="true"] {
  background: rgba(232, 121, 249, 0.18);
  border-color: rgba(232, 121, 249, 0.55);
  color: #fce7ff;
}

.map-pdf:hover,
.map-food-btn:hover {
  border-color: rgba(232, 201, 255, 0.45);
}

.map-stage {
  position: relative;
  border-radius: 1.1rem;
  overflow: hidden;
  background: #cfc4e8;
  border: 1px solid rgba(232, 201, 255, 0.18);
}

.map-canvas {
  width: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  /* Map art isn't text: keep scroll origin on the left so centering math is simple */
  direction: ltr;
}

/* Hint bar on top of every map */
.map-tap-hint {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.65rem 1rem;
  overflow: hidden;
  background: rgba(20, 12, 34, 0.92);
  color: #f3e8ff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.map-tap-icon {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #e11d8a;
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

.map-tap-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid #e879f9;
  opacity: 0;
  animation: mapRipple 2.2s ease-out infinite;
}

.map-view {
  position: relative;
}

.map-pan-hint {
  display: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0.8rem;
  justify-content: center;
  pointer-events: none;
  z-index: 3;
  transition: opacity 0.4s ease;
}

.map-pan-hint span {
  background: rgba(20, 12, 34, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.map-pan-hint.is-hidden {
  opacity: 0;
}

/* Phone-only zoom toggle: glassy white pill with a magnifier icon */
.map-zoom-btn {
  display: none;
  position: absolute;
  top: 0.7rem;
  inset-inline-start: 0.7rem;
  z-index: 4;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.4rem 1rem 0.4rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #3b1d6e;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 8px 22px rgba(30, 14, 60, 0.28), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
  backdrop-filter: blur(8px);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.map-zoom-btn:active {
  transform: scale(0.94);
}

.map-zoom-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.map-zoom-icon .zi-v {
  transition: opacity 0.2s ease;
}

.map-zoom-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, #7c3aed, #c026d3);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.45);
}

/* zoomed → show minus (hide the vertical stroke of the plus) */
.map-zoom-btn[aria-pressed="true"] .zi-v {
  opacity: 0;
}

.map-frame {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
}

.map-image {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  transition: opacity 0.35s ease, transform 0.45s ease;
}

.map-canvas.is-switching .map-image {
  opacity: 0.35;
  transform: scale(0.985);
}

.map-pins {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Pin = invisible circle centered exactly on the printed marker.
   --pin is the marker size as % of the map width (set per floor in JS),
   so it scales with the image on phone, desktop and when zoomed. */
.map-pin {
  pointer-events: auto;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: calc(var(--pin, 3.5) * 1%);
  height: auto;
  aspect-ratio: 1;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: transparent;
  font-size: 0;
  cursor: pointer;
  transform: translate(-50%, -50%);
  -webkit-tap-highlight-color: transparent;
  z-index: 2;
}

/* Tap target: at least ~44px even when the marker itself is tiny (zoomed-out phone) */
.map-pin::before {
  content: "";
  position: absolute;
  inset: min(0px, calc((2.75rem - 100%) / -2));
  border-radius: 50%;
}

/* Click animation: the ripple + pop only play when a point is chosen — nothing on hover */
.map-pin::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid #e879f9;
  opacity: 0;
  pointer-events: none;
}

.map-pin.is-active {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(124, 58, 237, 0.8);
  animation: mapPinPop 0.55s cubic-bezier(0.2, 1.5, 0.4, 1);
}

.map-pin.is-active::after {
  animation: mapRipple 0.85s ease-out;
}

.map-pin.is-food.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 5px rgba(219, 39, 119, 0.85);
}

@keyframes mapPinPop {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
  }
  55% {
    transform: translate(-50%, -50%) scale(1.28);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes mapRipple {
  0% {
    opacity: 0.95;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(2.9);
  }
}

@keyframes mapCardPop {
  0% {
    transform: scale(0.97);
  }
  60% {
    transform: scale(1.025);
  }
  100% {
    transform: scale(1);
  }
}

.map-pin.is-dim {
  pointer-events: none;
  visibility: hidden;
}

.map-floor-hint {
  margin: 0;
  padding: 0.7rem 1rem 0.85rem;
  background: rgba(20, 12, 34, 0.72);
  color: #efe6ff;
  font-size: 0.86rem;
  line-height: 1.45;
}

.map-spots {
  --cols: 2;
  --map-gap: 0.75rem;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: var(--map-gap);
  margin-top: 1rem;
  container-type: inline-size;
}

@media (min-width: 600px) {
  .map-spots {
    --cols: 3;
  }
}

.map-spot {
  scroll-snap-align: start;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  text-align: start;
  padding: 0;
  font: inherit;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.2s ease, background 0.25s ease;
}

.map-spot:hover {
  border-color: rgba(232, 201, 255, 0.4);
}

.map-spot.is-active {
  border-color: rgba(232, 121, 249, 0.65);
  background: rgba(124, 58, 237, 0.2);
  animation: mapCardPop 0.45s ease;
}

.map-spot.is-dim {
  opacity: 0.35;
}

.map-spot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.map-spot-body {
  padding: 0.7rem 0.75rem 0.85rem;
  display: grid;
  gap: 0.2rem;
}

.map-spot-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #e11d8a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  margin-inline-end: 0.35rem;
}

.map-spot-title {
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.map-spot-meta {
  font-size: 0.75rem;
  color: var(--muted);
}

.map-spot.is-food .map-spot-num {
  background: #db2777;
}

/* Category-style tiles (same look as the attractions tiles): the PDF picture fills the
   card (its number badge is part of the picture) and the caption sits on a dark gradient.
   "is-wide" tiles hold two pictures and span two columns. */
.map-spot--tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  border-radius: 0.85rem;
  border: 1px solid rgba(232, 201, 255, 0.14);
  background: var(--bg-elevated);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Wide tile = two square pictures side by side, exactly as tall as a single tile */
.map-spot--tile.is-wide {
  grid-column: span 2;
  aspect-ratio: auto;
  height: calc((100cqw - (var(--cols) - 1) * var(--map-gap)) / var(--cols));
}

.map-spot--tile:hover,
.map-spot--tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(232, 121, 249, 0.45);
  box-shadow: 0 16px 32px rgba(76, 29, 149, 0.35);
}

.map-spot--tile.is-active {
  background: var(--bg-elevated);
  border-color: rgba(232, 121, 249, 0.9);
  box-shadow: 0 0 0 2px rgba(232, 121, 249, 0.6), 0 16px 32px rgba(76, 29, 149, 0.4);
}

.map-spot--tile img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  filter: brightness(1.05) saturate(1.04);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.map-spot--tile:hover img {
  transform: scale(1.04);
  filter: brightness(1.12) saturate(1.06);
}

.map-spot--tile .map-spot-num {
  position: absolute;
  top: 0.55rem;
  inset-inline-start: 0.55rem;
  width: 1.55rem;
  height: 1.55rem;
  margin: 0;
  border: 2px solid rgba(255, 255, 255, 0.95);
  font-size: 0.78rem;
  line-height: 1;
  box-shadow: 0 3px 10px rgba(20, 12, 34, 0.4);
  z-index: 2;
}

.map-spot-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 0.1rem;
  padding: 2.4rem 0.75rem 0.7rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(12, 6, 22, 0.25) 30%,
    rgba(12, 6, 22, 0.92) 100%
  );
  pointer-events: none;
}

.map-spot-cap .map-spot-title {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.map-spot-cap .map-spot-meta {
  display: none;
  color: rgba(255, 255, 255, 0.82);
}

@media (min-width: 560px) {
  .map-spot-cap .map-spot-meta {
    display: block;
  }
}
@media (max-width: 759px) {
  .map-explorer {
    padding-inline: 0;
  }

  .map-intro,
  .map-toolbar,
  .map-spots {
    width: min(100%, var(--max));
    margin-inline: auto;
    padding-inline: var(--pad);
    box-sizing: border-box;
  }

  .map-shell {
    width: 100%;
    max-width: none;
  }

  .map-stage {
    border-radius: 0;
    border-inline: 0;
  }

  /* Bigger map on phone — drag sideways; opens centered on the venue.
     Source images are 2500px+ wide, so 180% stays sharp on 3x screens. */
  .map-canvas {
    overflow-x: auto;
    overflow-y: hidden;
    touch-action: pan-x pan-y;
    scrollbar-width: none;
  }

  .map-canvas::-webkit-scrollbar {
    display: none;
  }

  /* Default: whole map fits the screen so every point is visible */
  .map-frame {
    width: 100%;
    max-width: none;
    transition: width 0.3s ease;
  }

  /* Zoomed: wider than the screen, drag to explore */
  .map-stage.is-zoomed .map-frame {
    width: 180%;
  }

  .map-stage.is-zoomed .map-pan-hint {
    display: flex;
  }

  .map-zoom-btn {
    display: inline-flex;
  }

  /* One row of four floor tabs */
  .map-floors {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 0.35rem;
  }

  .map-floor-btn {
    padding: 0.5rem 0.35rem;
    text-align: center;
  }

  .map-floor-btn strong {
    font-size: 0.86rem;
  }

  .map-floor-btn span {
    font-size: 0.64rem;
    line-height: 1.2;
  }

  .map-toolbar-actions {
    width: 100%;
  }

  .map-floor-hint {
    padding-inline: var(--pad);
  }

  .map-tap-hint {
    padding-inline: var(--pad);
    font-size: 0.84rem;
  }
}

@media (min-width: 900px) {
  .map-canvas {
    overflow: hidden;
  }

  .map-spots {
    grid-auto-flow: dense;
    --cols: 4;
    grid-auto-columns: unset;
    overflow: visible;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Phones: fade only — no sliding, so nothing looks like it jumps while scrolling */
@media (max-width: 759px) {
  .reveal {
    transform: none;
    transition: opacity 0.5s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-pin.is-active,
  .map-pin.is-active::after,
  .map-spot.is-active,
  .map-tap-icon::after {
    animation: none !important;
  }

  html { scroll-behavior: auto; }
  .hero-scroll span,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
