: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-ar: "Noto Sans Arabic", "Heebo", system-ui, sans-serif;
  --font-ltr: "Noto Sans", "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;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
}

html[lang="en"] body,
html[lang="ru"] body {
  font-family: var(--font-ltr);
}

/* Avoid a flash of untranslated chrome while the first locale loads.
   Also lock overflow so Windows doesn't briefly show an RTL scrollbar on the left. */
body:not(.i18n-ready) {
  overflow: hidden;
}

body:not(.i18n-ready) .site-header,
body:not(.i18n-ready) #main,
body:not(.i18n-ready) .site-footer,
body:not(.i18n-ready) .wa-float,
body:not(.i18n-ready) .nav-drawer {
  opacity: 0;
  pointer-events: none;
}

.brand-text,
.nav-drawer-brand,
.hero-brand {
  unicode-bidi: isolate;
  direction: ltr;
}

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;
  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, z-index 0s;
}

.site-header.is-solid {
  background: rgba(20, 12, 34, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

/* Keep hamburger→X above the drawer while the menu is open */
body.nav-open .site-header {
  z-index: 70;
  background: rgba(20, 12, 34, 0.94);
  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;
  flex: 1;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.header-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-inline-start: auto;
  flex-shrink: 0;
}

.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);
}

/* Language menu — dark purple theme, same structure as the reference site */
.lang-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
  z-index: 45;
}

.lang-menu__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: rgba(26, 14, 48, 0.55);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lang-menu__btn:hover,
.lang-menu.is-open .lang-menu__btn {
  border-color: var(--magenta);
  background: rgba(168, 85, 247, 0.18);
}

.lang-menu__current {
  line-height: 1;
  display: block;
  white-space: nowrap;
}

.lang-menu__chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.lang-menu__chev svg {
  display: block;
}

.lang-menu.is-open .lang-menu__chev {
  transform: rotate(180deg);
}

.lang-menu__list {
  position: absolute;
  top: calc(100% + 0.4rem);
  inset-inline-end: 0;
  min-width: 9.5rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: rgba(28, 18, 50, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  z-index: 50;
}

.lang-menu__list button {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: start;
  color: var(--ink);
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  cursor: pointer;
  transition: background 0.18s ease;
}

.lang-menu__list button:hover {
  background: rgba(181, 107, 255, 0.18);
}

.lang-menu__list button.is-active {
  background: rgba(181, 107, 255, 0.28);
  font-weight: 700;
}

.nav-drawer-head .lang-menu {
  flex-shrink: 0;
}

.nav-drawer-head .lang-menu__btn {
  background: rgba(255, 255, 255, 0.06);
}

.nav-drawer-head .lang-menu__list {
  inset-inline-end: 0;
}

.nav-toggle {
  position: relative;
  z-index: 70; /* stay above the drawer so it can morph into X and close */
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(26, 14, 48, 0.55);
  color: var(--ink);
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition:
    border-color 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: rgba(232, 121, 249, 0.55);
  background: rgba(168, 85, 247, 0.15);
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 1.12rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: background 0.2s ease 0.05s;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toggle-bars::before {
  transform: translateY(-6px);
}

.nav-toggle-bars::after {
  transform: translateY(6px);
}

.nav-toggle:focus {
  outline: none;
}

.nav-toggle:focus:not(:focus-visible) {
  border-color: var(--line);
  background: rgba(26, 14, 48, 0.55);
}

/* Three lines → X (no purple “focused” fill) */
.nav-toggle[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(20, 12, 34, 0.88);
  box-shadow: none;
}

.nav-toggle[aria-expanded="true"]:focus:not(:focus-visible) {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(20, 12, 34, 0.88);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
  transition: background 0.12s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(0) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    transition: none;
  }
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}

.nav-drawer.is-open {
  pointer-events: auto;
}

.nav-drawer-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(8, 3, 18, 0.62);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.28s ease;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

.nav-drawer.is-open .nav-drawer-backdrop {
  opacity: 1;
}

.nav-drawer[hidden] {
  display: block;
  visibility: hidden;
}

.nav-drawer-panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: min(19.5rem, 86vw);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  /* Clear the fixed header so the brand title stays visible */
  padding:
    calc(4.6rem + env(safe-area-inset-top, 0px))
    1.25rem
    calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(ellipse 80% 40% at 100% 0%, rgba(200, 245, 71, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(181, 107, 255, 0.18), transparent 55%),
    linear-gradient(180deg, #1c1232, #120a22 55%, #0e081a);
  border-inline-start: 1px solid rgba(232, 201, 255, 0.18);
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.4);
  /* Panel sits on inline-end: LTR=right, RTL=left */
  transform: translateX(110%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

html[dir="rtl"] .nav-drawer-panel {
  transform: translateX(-110%);
  box-shadow: 18px 0 48px rgba(0, 0, 0, 0.4);
}

.nav-drawer.is-open {
  visibility: visible;
}

.nav-drawer.is-open .nav-drawer-panel {
  transform: none;
}

.nav-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 2.4rem;
}

.nav-drawer-brand {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: #f6d0ff;
  text-shadow: 0 0 18px rgba(240, 171, 252, 0.35);
}

.nav-drawer-links {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.nav-drawer-links a {
  display: block;
  padding: 0.9rem 0.35rem;
  border-bottom: 1px solid rgba(232, 201, 255, 0.12);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s ease, padding-inline-start 0.2s ease;
}

.nav-drawer-links a:hover,
.nav-drawer-links a:focus-visible {
  color: #c8f547;
  padding-inline-start: 0.35rem;
}

.nav-drawer-cta {
  margin-top: auto;
  width: 100%;
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 759px) {
  .header-cta {
    display: none;
  }

  .header-tools {
    margin-inline-end: 0.15rem;
  }

  .header-tools .lang-menu__btn {
    padding: 0.42rem 0.65rem;
    font-size: 0.78rem;
  }
}

@media (min-width: 760px) {
  .nav {
    display: flex;
  }

  .nav-toggle,
  .nav-drawer {
    display: none !important;
  }
}

.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 {
    /* Short first screen so pulse peeks. Fixed height — does not grow. */
    height: calc(100svh - 4.75rem);
    min-height: 0;
    display: block;
    overflow: hidden;
  }

  .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%
    );
  }

  /* Pin to the bottom of the hero frame so it can't fall under the fold
     or get clipped away after CSS settles. */
  .hero-content {
    position: absolute;
    inset-inline: 0;
    top: auto;
    bottom: 0.75rem;
    z-index: 1;
    width: min(100%, var(--max));
    margin-inline: auto;
    padding: 0 var(--pad);
    background: none;
    transform: none;
  }

  .hero-brand {
    font-size: clamp(1.95rem, 8.5vw, 2.55rem);
    margin-bottom: 0.4rem;
    max-width: none;
    line-height: 0.95;
    letter-spacing: 0.02em;
  }

  .hero-title {
    font-size: 0.92rem;
    max-width: 18ch;
    line-height: 1.25;
  }

  /* English/Russian titles are longer — don't choke them at 18ch */
  html[dir="ltr"] .hero-title {
    max-width: min(100%, 34ch);
  }

  .hero-lead {
    display: none;
  }

  .hero-actions {
    margin-top: 0.75rem;
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .hero-actions .btn {
    flex: 1 1 0;
    min-height: 2.55rem;
    padding-inline: 0.65rem;
    font-size: 0.84rem;
  }

  .hero-chips {
    margin-top: 0.5rem;
    gap: 0.35rem;
  }

  .hero-party-link {
    justify-content: center;
  }

  .hero-socks {
    padding: 0.35rem 0.65rem;
    border-radius: 1rem;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.2rem 0.55rem;
  }

  .hero-socks-text {
    font-size: 0.74rem;
  }

  /* Longer LTR copy: stack the note so it doesn't look lopsided */
  html[dir="ltr"] .hero-socks {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }

  html[dir="ltr"] .hero-socks-kicker::after {
    display: none;
  }

  .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;
}

html[dir="ltr"] .hero-title {
  max-width: min(100%, 36ch);
}

.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: inherit;
  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);
}

/*
  Mobile-first chips: stacked full-width.
  Desktop (≥760px) puts price | party side-by-side, socks under party.
*/
.hero-chips {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  width: 100%;
  margin-top: 1rem;
}

.hero-price-link {
  direction: ltr;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-areas:
    ". . kicker"
    "hint div deal1"
    "more div deal2";
  align-items: center;
  justify-content: center;
  column-gap: 0.55rem;
  row-gap: 0.2rem;
  width: 100%;
  margin-top: 0;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 245, 71, 0.45);
  background: rgba(18, 8, 36, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(8, 3, 20, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-price-link:hover,
.hero-price-link:focus-visible {
  border-color: rgba(200, 245, 71, 0.8);
  background: rgba(28, 14, 52, 0.72);
  transform: translateY(-1px);
}

.hero-price-kicker {
  grid-area: kicker;
  justify-self: end;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: #c8f547;
}

.hero-price-hint {
  grid-area: hint;
  justify-self: end;
  text-align: end;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgba(247, 242, 255, 0.78);
  white-space: nowrap;
}

.hero-price-more {
  grid-area: more;
  justify-self: end;
  text-align: end;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.2;
  color: rgba(247, 242, 255, 0.9);
  white-space: nowrap;
}

.hero-price-divider {
  grid-area: div;
  width: 1px;
  align-self: stretch;
  margin-block: 0.15rem;
  background: rgba(255, 255, 255, 0.22);
}

.hero-price-deal {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  direction: ltr;
  justify-self: start;
}

.hero-price-deal--1 {
  grid-area: deal1;
}

.hero-price-deal--2 {
  grid-area: deal2;
}

.hero-price-pay,
.hero-price-get {
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.hero-price-get {
  color: #c8f547;
}

.hero-price-arrow {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1;
}

.hero-party-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 171, 252, 0.45);
  background: rgba(18, 8, 36, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(8, 3, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.hero-party-link:hover,
.hero-party-link:focus-visible {
  border-color: rgba(253, 230, 138, 0.75);
  background: rgba(28, 14, 52, 0.7);
  transform: translateY(-1px);
}

.hero-party-kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fde68a;
  white-space: nowrap;
}

.hero-party-deal {
  font-family: var(--font-brand);
  font-size: 0.92rem;
  font-weight: 800;
  color: #f5d0fe;
  white-space: nowrap;
}

.hero-party-divider {
  align-self: stretch;
  width: 1px;
  margin-block: 0.2rem;
  background: rgba(255, 255, 255, 0.2);
}

.hero-party-more {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(247, 242, 255, 0.75);
  white-space: nowrap;
}

.hero-socks {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.5rem;
  width: 100%;
  margin: 0;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(253, 230, 138, 0.4);
  background: rgba(18, 8, 36, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(8, 3, 20, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #fff;
}

@media (min-width: 760px) {
  .hero-chips {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "price party"
      "price socks";
    align-items: start;
    column-gap: 0.65rem;
    row-gap: 0.35rem;
  }

  .hero-price-link {
    grid-area: price;
    width: auto;
    column-gap: clamp(0.7rem, 2.2vw, 1.15rem);
    row-gap: clamp(0.28rem, 0.9vw, 0.42rem);
    padding: clamp(0.7rem, 2vw, 0.95rem) clamp(1rem, 3vw, 1.45rem);
  }

  .hero-price-kicker {
    font-size: clamp(0.78rem, 1.8vw + 0.35rem, 0.95rem);
  }

  .hero-price-hint {
    font-size: clamp(0.86rem, 2vw + 0.35rem, 1.08rem);
  }

  .hero-price-more {
    font-size: clamp(0.9rem, 2.1vw + 0.35rem, 1.12rem);
  }

  .hero-price-deal {
    gap: clamp(0.35rem, 1vw, 0.5rem);
  }

  .hero-price-pay,
  .hero-price-get {
    font-size: clamp(1.12rem, 2.6vw + 0.4rem, 1.45rem);
  }

  .hero-price-arrow {
    font-size: clamp(0.95rem, 2vw + 0.35rem, 1.2rem);
  }

  .hero-party-link {
    grid-area: party;
    width: auto;
    justify-content: flex-start;
    gap: clamp(0.45rem, 1.6vw, 0.85rem);
    padding: clamp(0.5rem, 1.6vw, 0.75rem) clamp(0.9rem, 2.6vw, 1.25rem);
  }

  .hero-party-kicker {
    font-size: clamp(0.78rem, 1.8vw + 0.35rem, 0.95rem);
  }

  .hero-party-deal {
    font-size: clamp(1.05rem, 2.4vw + 0.4rem, 1.35rem);
  }

  .hero-party-more {
    font-size: clamp(0.86rem, 2vw + 0.35rem, 1.05rem);
  }

  .hero-socks {
    grid-area: socks;
    width: auto;
    max-width: 22rem;
  }
}

.hero-socks-kicker {
  flex: 0 0 auto;
  color: #fde68a;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.hero-socks-kicker::after {
  content: "·";
  margin-inline-start: 0.45rem;
  color: rgba(253, 230, 138, 0.55);
}

.hero-socks-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
}

.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;
}

.party-package {
  padding: clamp(1.75rem, 4vw, 2.75rem) var(--pad) 0;
}

.party-package-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.party-offer {
  margin: 0 0 1.5rem;
  text-align: center;
}

.party-offer-kicker {
  margin: 0;
  color: #fde68a;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.party-offer-price {
  margin: 0.4rem 0 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  color: var(--ink);
}

.party-offer-price strong {
  font-family: var(--font-brand);
  font-size: clamp(2.6rem, 8vw, 3.4rem);
  font-weight: 800;
  line-height: 1;
  color: #f0abfc;
}

.party-offer-price span {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--muted);
}

.party-offer-meta {
  margin: 0.6rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.party-offer-meta span + span::before {
  content: "·";
  margin-inline-end: 0.85rem;
  color: rgba(253, 230, 138, 0.65);
}

.party-includes h3 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 800;
  color: #f5d0fe;
}

.party-includes ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 0.85rem;
}

.party-extras {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.party-includes li,
.party-extras li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
}

.party-includes li img,
.party-extras li img {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  object-fit: cover;
  border-radius: 0.7rem;
  display: block;
}

.party-includes li span,
.party-extras li span {
  min-width: 0;
}

.party-extras {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}

.party-extras .is-bonus span {
  color: #c8f547;
}

.party-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 760px) {
  .party-includes ul {
    column-gap: 1.5rem;
    row-gap: 0.75rem;
  }

  .party-extras {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem 1.25rem;
  }
}

.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;
}

/* Intro: each stat fades up one after another, shortly after the page loads.
   Pure CSS (not scroll-triggered) so it plays even when only a sliver is on screen. */
.pulse-inner p {
  animation: pulseIn 0.4s ease-out both;
  animation-delay: 0.3s;
}

.pulse-inner p:nth-child(2) { animation-delay: 0.4s; }
.pulse-inner p:nth-child(3) { animation-delay: 0.5s; }
.pulse-inner p:nth-child(4) { animation-delay: 0.6s; }

@keyframes pulseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-inner p {
    animation: none;
  }
}

@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);
}

/* ---- Prices / מחירון: arcade credit ladder ---- */
.prices {
  --price-lime: #c8f547;
  --price-lime-deep: #9fd40a;
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) var(--pad);
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 50% at 100% 0%, rgba(200, 245, 71, 0.08), transparent 55%),
    radial-gradient(ellipse 45% 40% at 0% 80%, rgba(181, 107, 255, 0.16), transparent 50%),
    linear-gradient(180deg, rgba(20, 12, 34, 0), rgba(12, 6, 24, 0.65) 40%, rgba(20, 12, 34, 0));
  border-block: 1px solid rgba(200, 245, 71, 0.12);
}

.prices::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent 0,
    transparent 11px,
    rgba(255, 255, 255, 0.015) 11px,
    rgba(255, 255, 255, 0.015) 12px
  );
  pointer-events: none;
}

.prices-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-inline: auto;
}

.prices-intro {
  text-align: center;
  margin-bottom: 2rem;
}

.prices-kicker {
  margin: 0 0 0.55rem;
  color: var(--price-lime);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.prices-intro h2 {
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.prices-intro p {
  margin: 0.75rem auto 0;
  max-width: 32ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.price-ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.price-tier {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  align-items: center;
  gap: 0.55rem 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(232, 201, 255, 0.16);
  background: linear-gradient(135deg, rgba(38, 22, 68, 0.92), rgba(24, 14, 44, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.price-tier:hover {
  transform: translateY(-2px);
  border-color: rgba(232, 121, 249, 0.45);
  box-shadow: 0 10px 28px rgba(8, 3, 20, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.price-pay,
.price-get {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.price-pay {
  text-align: start;
}

.price-get {
  text-align: end;
}

.price-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.price-num {
  font-family: var(--font-brand);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
}

.price-get .price-num {
  color: #fff;
  text-shadow: 0 0 18px rgba(200, 245, 71, 0.35);
}

.price-flow {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #c8f547, #b56bff);
  box-shadow: 0 0 16px rgba(200, 245, 71, 0.35);
}

/* Charging spark — fits "מטעינים" better than an arrow */
.price-flow::before {
  content: "";
  width: 0.72rem;
  height: 0.92rem;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 20' fill='%231a0c2e'%3E%3Cpath d='M9.2 0 2 11.2h5.1L5.6 20 14 8.4H8.7L9.2 0z'/%3E%3C/svg%3E");
}

.price-bonus {
  justify-self: end;
  min-width: 3.6rem;
  text-align: center;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1a0c2e;
  background: var(--price-lime);
  box-shadow: 0 0 14px rgba(200, 245, 71, 0.28);
}

.price-tier.is-featured {
  border-color: rgba(200, 245, 71, 0.55);
  background:
    linear-gradient(135deg, rgba(54, 36, 12, 0.35), transparent 42%),
    linear-gradient(135deg, rgba(48, 28, 82, 0.95), rgba(28, 16, 52, 0.92));
  box-shadow:
    0 0 0 1px rgba(200, 245, 71, 0.18),
    0 12px 36px rgba(8, 3, 20, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding-top: 1.35rem;
}

.price-tier.is-featured .price-get .price-num {
  color: var(--price-lime);
  text-shadow: 0 0 22px rgba(200, 245, 71, 0.55);
}

.price-tag {
  position: absolute;
  inset-block-start: -0.55rem;
  inset-inline-start: 1rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #1a0c2e;
  background: linear-gradient(135deg, var(--price-lime), #e8ff8a);
  box-shadow: 0 4px 14px rgba(200, 245, 71, 0.35);
  animation: priceTagPulse 2.8s ease-in-out infinite;
}

.price-tier.is-top {
  border-color: rgba(232, 121, 249, 0.4);
}

.price-tier.is-top .price-bonus {
  background: linear-gradient(135deg, #f0abfc, var(--price-lime));
}

.price-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.price-extra {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px dashed rgba(200, 245, 71, 0.35);
  background: rgba(200, 245, 71, 0.06);
  font-weight: 600;
}

.price-extra span {
  color: var(--muted);
}

.price-extra strong {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  color: var(--price-lime);
}

.price-note {
  margin: 1rem 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.price-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  margin-top: 1.35rem;
}

.price-sheet-link {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(201, 184, 228, 0.35);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.price-sheet-link:hover,
.price-sheet-link:focus-visible {
  color: var(--ink);
  border-color: rgba(200, 245, 71, 0.7);
}

@keyframes priceTagPulse {
  0%,
  100% { transform: translateY(0); box-shadow: 0 4px 14px rgba(200, 245, 71, 0.35); }
  50% { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200, 245, 71, 0.5); }
}

@media (max-width: 520px) {
  .price-tier {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "pay flow get"
      "bonus bonus bonus";
    gap: 0.45rem 0.55rem;
    padding: 0.9rem 0.85rem;
  }

  .price-pay { grid-area: pay; }
  .price-flow { grid-area: flow; }
  .price-get { grid-area: get; }
  .price-bonus {
    grid-area: bonus;
    justify-self: center;
    min-width: 4.5rem;
  }

  .price-tier.is-featured {
    padding-top: 1.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-tag {
    animation: none;
  }
}

.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: 1;
    margin-top: 0;
    padding: 1rem var(--pad);
  }

  .pulse-inner {
    gap: 0.85rem 1rem;
  }

  .pulse-inner strong {
    font-size: 1.25rem;
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }

  body:not([data-page="terms"]):not([data-page="privacy"]):not([data-page="accessibility"]) .footer-links {
    padding-inline-end: 8.25rem;
  }

  .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 {
  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-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;
  }
}

/* —— Terms and privacy —— */
body[data-page="terms"] .site-header,
body[data-page="privacy"] .site-header,
body[data-page="accessibility"] .site-header {
  background: rgba(20, 12, 34, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

body[data-page="terms"] .wa-float,
body[data-page="privacy"] .wa-float,
body[data-page="accessibility"] .wa-float {
  display: none;
}

.legal {
  width: min(100%, 46rem);
  margin-inline: auto;
  padding: 7.25rem var(--pad) 4.5rem;
}

.legal-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.35rem;
}

.legal-back {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.legal-back:hover,
.legal-back:focus-visible,
.legal-switch a:hover,
.legal-switch a:focus-visible {
  color: var(--ink);
}

.legal-switch {
  display: flex;
  gap: 1rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.legal-switch a {
  color: var(--muted);
}

.legal-switch a[aria-current="page"] {
  color: #fde68a;
}

.legal-pending {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  line-height: 1.6;
}

html[lang="he"] .legal-pending {
  display: none;
}

.legal-doc {
  font-family: var(--font-he);
}

.legal-kicker {
  margin: 0;
  color: var(--magenta);
  font-weight: 700;
}

.legal-doc h1 {
  margin: 0.4rem 0 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-meta {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.legal-toc {
  margin: 1.6rem 0 0;
  padding: 1rem 1.15rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.legal-toc p {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.legal-toc ol {
  margin: 0.55rem 0 0;
  padding-inline-start: 1.25rem;
}

.legal-toc li + li {
  margin-top: 0.28rem;
}

.legal-toc a {
  color: var(--ink);
  font-weight: 500;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: #fde68a;
}

.legal-doc h2 {
  margin: 2.35rem 0 0.55rem;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.35;
  scroll-margin-top: 5.5rem;
}

.legal-doc h3 {
  margin: 1.15rem 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.legal-doc p,
.legal-doc li {
  color: #efe7fb;
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-doc p {
  margin: 0.7rem 0 0;
}

.legal-doc ul,
.legal-doc ol {
  margin: 0.45rem 0 0;
  padding-inline-start: 1.25rem;
}

.legal-doc li + li {
  margin-top: 0.4rem;
}

.legal-doc a {
  color: #fde68a;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.legal-doc strong {
  color: var(--ink);
  font-weight: 700;
}

.legal-points {
  margin-top: 1.25rem;
  padding: 0.2rem 0 0.2rem 0;
  border-block: 1px solid var(--line);
}

.legal-points li {
  margin: 0.85rem 0;
}

.legal-box {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.legal-box p {
  margin: 0.35rem 0 0;
}

.legal-box p:first-child {
  margin-top: 0;
}

.legal-cards {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.legal-cards article {
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.legal-cards h3 {
  margin: 0;
}

.legal-cards p {
  margin-top: 0.4rem;
  font-size: 1rem;
}

.footer-links a[aria-current="page"] {
  color: var(--ink);
}

@media print {
  .site-header,
  .site-footer,
  .wa-float,
  .nav-drawer,
  .legal-pending,
  .legal-toolbar,
  .skip {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .legal {
    width: auto;
    padding: 0;
  }

  .legal-doc,
  .legal-doc p,
  .legal-doc li,
  .legal-doc strong,
  .legal-kicker,
  .legal-meta,
  .legal-toc a {
    color: #111;
  }

  .legal-toc,
  .legal-box,
  .legal-cards article {
    border-color: #ccc;
    background: #fff;
  }
}
