/* Pub Crawl Kyoto — main site (round, open layout, no box cards) */

:root {
  --bg: #08090f;
  --text: #faf8f5;
  --text-muted: rgba(250, 248, 245, 0.62);
  --muted: #a39e96;
  --gold: #f0b429;
  --warm: #e85d3a;
  --ember: #e85d3a;
  --cta-from: #c62828;
  --cta-to: #e53935;
  --border: rgba(240, 180, 41, 0.15);
  --radius-pill: 999px;
  --radius-round: 50%;
  --max-w: 40rem;
  --pad: 1.25rem;
  --bottom-bar-h: 4rem;
  --bridge-h: 3rem;
  --section-gap: 1.5rem;
  --section-gap-long: clamp(2.5rem, 5vh, 4rem);
  --section-pad: 1rem;
  --section-title-gap: max(1.5rem, 6.5svh);
  --section-frame: calc(100svh - var(--bottom-bar-h));

  /* Typography scale (Option A — hero-aligned) */
  --text-title: clamp(1.75rem, 7vw, 2.5rem);
  --text-subtitle: clamp(1rem, 4vw, 1.15rem);
  --text-body: clamp(0.9375rem, 3.5vw, 1.05rem);
  --text-label: 0.75rem;

  /* Action buttons (Book Now reference size) */
  --btn-py: 0.7rem;
  --btn-px: 1rem;
  --btn-font: 0.82rem;
  --btn-weight: 800;
  --btn-shadow: 0 6px 24px rgba(198, 40, 40, 0.4);
  --btn-shadow-hover: 0 8px 28px rgba(198, 40, 40, 0.5);
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: 3.5rem;
  scrollbar-gutter: stable;
}

html.is-ready {
  scroll-behavior: auto;
}

html[data-scroll-mode="glide"] {
  scroll-behavior: auto;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  overflow-anchor: none;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

button,
a,
.cta,
.scroll-more,
.section-nav__btn,
#playButton {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: #ffc94d;
}

/* Readability overlay on shader (fades with scroll — must NOT wrap page content) */
.scene {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transform: translateZ(0);
  background:
    radial-gradient(ellipse 100% 80% at 50% 30%, rgba(8, 9, 15, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(232, 93, 58, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 100% 50% at 50% 100%, rgba(8, 9, 15, 0.85) 0%, transparent 60%);
}

.page {
  position: relative;
  z-index: 10;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── Hero (design-4) ── */
.hero {
  height: 100svh;
  position: relative;
  z-index: 2;
}

.hero__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem var(--pad) 3rem;
  text-align: center;
  pointer-events: auto;
  gap: 1.25rem;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--max-w);
  opacity: 0;
  animation: heroFadeIn 0.65s ease-out forwards;
  transform-origin: center center;
}

.hero__inner.is-exiting,
.section__body.is-exiting {
  will-change: transform, opacity;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
  }
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.05;
  text-align: center;
}

.logo__main {
  font-size: clamp(3rem, 14vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.logo__sub {
  font-size: clamp(0.9rem, 3.5vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.35em;
  padding-left: 0.45em;
}

.hero__headline {
  font-size: var(--text-title);
  font-weight: 900;
  margin: 2rem 0 0.85rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.hero__headline em {
  font-style: normal;
  color: var(--warm);
}

.hero__sub {
  color: var(--muted);
  font-size: var(--text-subtitle);
  font-weight: 500;
  max-width: min(42rem, 92vw);
  margin: 0 auto 1.5rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.hero__cta-wrap {
  flex-shrink: 0;
  opacity: 0;
  animation: heroFadeIn 0.65s ease-out 0.12s forwards;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.hero__cta-wrap.is-ready {
  opacity: 1;
  animation: none;
}

.hero__cta-wrap.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: var(--btn-py) var(--btn-px);
  font-family: inherit;
  font-size: var(--btn-font);
  font-weight: var(--btn-weight);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--cta-from), var(--cta-to));
  box-shadow: var(--btn-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}

.cta:hover {
  box-shadow: var(--btn-shadow-hover);
  color: #fff;
}

.cta:active {
  transform: scale(0.96);
}

.cta:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.cta--lets-go {
  font-family: inherit;
}

.cta__icon {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
}

/* ── Content shell ── */
.content {
  position: relative;
  z-index: 3;
  padding-top: var(--section-pad);
  padding-bottom: calc(5rem + env(safe-area-inset-bottom));
}

.section {
  max-width: var(--max-w);
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: var(--section-pad) 0;
  position: relative;
}

.section__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  transform-origin: center center;
}

.section:not(.section--compact).section--fits {
  min-height: var(--section-frame);
  margin-bottom: var(--section-gap);
}

.section:not(.section--compact).section--overflow {
  min-height: auto;
  margin-bottom: calc(var(--section-gap-long) + var(--section-tail-gap, 0px));
  padding-bottom: 0.25rem;
}

.section:not(.section--compact).section--overflow .section__body {
  flex: 0 1 auto;
  justify-content: flex-start;
}

.section--overflow .section-bridge {
  margin-top: clamp(1.75rem, 6vh, 3.25rem);
  padding-top: 0.25rem;
  flex: 0 0 auto;
  min-height: calc(var(--bridge-h) + clamp(1.75rem, 6vh, 3.25rem));
}

.section--compact {
  min-height: auto;
  margin-bottom: var(--section-pad);
}

/* Scroll hint — pinned to bottom of each section frame */
.section-bridge {
  position: relative;
  width: 100%;
  flex: 0 0 var(--bridge-h);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.35rem;
  pointer-events: none;
  z-index: 4;
}

.scroll-more {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.75rem;
  font-family: inherit;
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 248, 245, 0.72);
  background: transparent;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.5s ease 0.12s,
    transform 0.45s ease 0.12s,
    color 0.25s ease;
}

.scroll-more.is-visible {
  opacity: 0.72;
  transform: translateY(0);
}

.scroll-more:hover,
.scroll-more:focus-visible {
  color: rgba(240, 180, 41, 0.95);
  transition-delay: 0s;
}

.scroll-more.is-visible:hover,
.scroll-more.is-visible:focus-visible {
  opacity: 0.92;
}

.scroll-more:focus-visible {
  outline: 1px solid rgba(240, 180, 41, 0.35);
  outline-offset: 4px;
}

.scroll-more__icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.8;
  animation: scrollHintNudge 3s ease-in-out infinite;
  animation-play-state: paused;
}

.scroll-more.is-visible .scroll-more__icon {
  animation-play-state: running;
}

@keyframes scrollHintNudge {
  0%, 72%, 100% { transform: translateY(0); }
  86% { transform: translateY(3px); }
}

/* ── Section gallery nav (left / right) ── */
.section-nav {
  position: fixed;
  inset: 0;
  z-index: 45;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.section-nav.is-visible {
  opacity: 1;
  visibility: visible;
}

.section-nav__btn {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  font-family: inherit;
  color: rgba(250, 248, 245, 0.78);
  background: rgba(8, 9, 15, 0.42);
  border: 1px solid rgba(240, 180, 41, 0.22);
  border-radius: var(--radius-round);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  pointer-events: auto;
  opacity: 0.82;
  transform: translateY(-50%);
  transition:
    opacity 0.3s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.section-nav__btn--prev {
  left: max(0.55rem, env(safe-area-inset-left, 0px));
}

.section-nav__btn--next {
  right: max(0.55rem, env(safe-area-inset-right, 0px));
}

.section-nav__btn:hover,
.section-nav__btn:focus-visible {
  color: rgba(240, 180, 41, 0.96);
  border-color: rgba(240, 180, 41, 0.45);
  background: rgba(8, 9, 15, 0.58);
  opacity: 0.96;
}

.section-nav__btn:focus-visible {
  outline: 1px solid rgba(240, 180, 41, 0.35);
  outline-offset: 3px;
}

.section-nav__btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.94);
}

.section-nav__btn:disabled,
.section-nav__btn.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.section-nav__icon {
  width: 1.15rem;
  height: 1.15rem;
}

@media (max-width: 768px) {
  .section-nav__btn {
    top: auto;
    bottom: 20%;
    transform: none;
  }

  .section-nav__btn:active:not(:disabled) {
    transform: scale(0.94);
  }
}

@media (max-width: 380px) {
  .section-nav__btn {
    width: 2.35rem;
    height: 2.35rem;
  }

  .section-nav__icon {
    width: 1rem;
    height: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-more,
  .scroll-more__icon {
    animation: none;
    transition: none;
  }

  .scroll-more.is-visible {
    opacity: 0.75;
    transform: none;
  }

  .section-nav,
  .section-nav__btn {
    transition: none;
  }

  .section-nav__btn:active:not(:disabled) {
    transform: translateY(-50%);
  }
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

.section__title {
  margin: 0 0 0.35rem;
  font-size: var(--text-title);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.15;
}

.section__lead {
  margin: 0 auto 2.25rem;
  max-width: 26rem;
  text-align: center;
  font-size: var(--text-subtitle);
  color: var(--text-muted);
}

/* ── Feature grid (icons, no boxes) ── */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-items: center;
}

/* Lone item on last row (2-column layout) */
.feature-grid .feature:last-child:nth-child(2n + 1):not(:first-child) {
  grid-column: 1 / -1;
  width: min(100%, 11rem);
}

@media (min-width: 480px) {
  .feature-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-grid--3 .feature:last-child:nth-child(2n + 1):not(:first-child) {
    grid-column: auto;
    width: auto;
  }
}

.feature {
  text-align: center;
  width: 100%;
  max-width: 11rem;
}

.feature__icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-round);
  background: radial-gradient(circle at 30% 30%, rgba(240, 180, 41, 0.14), rgba(232, 93, 58, 0.06));
}

.feature__icon svg {
  width: 2.25rem;
  height: 2.25rem;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature__icon svg.feature__icon-svg--filled {
  fill: var(--gold);
  stroke: none;
}

.feature__title {
  margin: 0 0 0.35rem;
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.25;
}

.feature__text {
  margin: 0;
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.4;
}

/* ── Timeline (schedule) ── */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 0.95rem;
  border-left: 2px solid rgba(240, 180, 41, 0.2);
}

.timeline__item {
  position: relative;
  padding: 0 0 2rem 1.5rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -1.35rem;
  top: 0.35rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: var(--radius-round);
  background: var(--gold);
  box-shadow: 0 0 12px rgba(240, 180, 41, 0.5);
}

.timeline__time {
  display: block;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.timeline__title {
  margin: 0 0 0.25rem;
  font-size: var(--text-body);
  font-weight: 700;
}

.timeline__text {
  margin: 0;
  font-size: var(--text-body);
  color: var(--text-muted);
}

/* ── Perk row (included summary above schedule) ── */
.perk-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.2rem, 1.2vw, 0.45rem);
  margin: 0 0 1.85rem;
  padding: 0;
  list-style: none;
}

.perk-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.45rem 0.15rem 0.5rem;
  text-align: center;
  border-radius: 0.65rem;
  background: #12131c;
  border: 1px solid rgba(240, 180, 41, 0.22);
}

.perk-badge__icon {
  flex-shrink: 0;
  width: clamp(1.65rem, 7vw, 2rem);
  height: clamp(1.65rem, 7vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.perk-badge__icon svg {
  width: 100%;
  height: 100%;
  fill: var(--gold);
}

.perk-badge__label {
  margin: 0;
  font-size: clamp(0.5625rem, 2.35vw, 0.6875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: rgba(250, 248, 245, 0.88);
  hyphens: auto;
  overflow-wrap: anywhere;
}

/* ── Timeline with icon badges on rail ── */
.timeline--icon-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: none;
}

.timeline--icon-badges .timeline__item {
  display: grid;
  grid-template-columns: 2.85rem 1fr;
  gap: 0 1.15rem;
  padding: 0 0 2rem;
  position: relative;
}

.timeline--icon-badges .timeline__item::before {
  content: none;
  display: none;
}

.timeline--icon-badges .timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.1rem;
}

.timeline__rail::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: -2rem;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(240, 180, 41, 0.22);
  z-index: 0;
}

.timeline--icon-badges .timeline__item:first-child .timeline__rail::after {
  top: 1.15rem;
}

.timeline--icon-badges .timeline__item:last-child .timeline__rail::after {
  bottom: auto;
  height: 1.15rem;
}

.timeline__rail--stack {
  gap: 0.45rem;
  padding-bottom: 0.15rem;
}

.timeline__marker {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #12131c;
  border: 1px solid rgba(240, 180, 41, 0.35);
  box-shadow: 0 0 12px rgba(240, 180, 41, 0.18);
}

.timeline__marker svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--gold);
}

.timeline__body {
  min-width: 0;
  padding-top: 0.15rem;
}

.timeline--icon-badges .timeline__time {
  margin-bottom: 0.2rem;
}

.timeline__note {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(0.8125rem, 3vw, 0.875rem);
  font-weight: 700;
  color: rgba(232, 93, 58, 0.95);
}

/* ── Meeting location ── */
.meetup {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.meetup__media {
  position: relative;
  margin: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #12131c;
}

.meetup__photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.meetup__pin {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.55rem 0.85rem;
  font-size: clamp(0.8125rem, 3.2vw, 0.9rem);
  font-weight: 700;
  color: var(--text);
  background: rgba(8, 9, 15, 0.82);
  border: 1px solid rgba(240, 180, 41, 0.28);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.meetup__pin svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--gold);
}

.meetup__panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(18, 19, 28, 0.95), rgba(12, 13, 20, 0.98));
}

.meetup__venue {
  font-size: clamp(1.15rem, 4.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.meetup__sub {
  margin-top: 0.35rem;
  font-size: var(--text-body);
  color: var(--text-muted);
}

.meetup__steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.meetup__step {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.meetup__step-num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 1.65rem;
  height: 1.65rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--bg);
  background: var(--gold);
  border-radius: var(--radius-round);
}

.meetup__step-text {
  padding-top: 0.15rem;
  font-size: var(--text-body);
  line-height: 1.45;
}

.meetup__alert {
  padding: 0.85rem 0.95rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(232, 93, 58, 0.45);
  background: rgba(232, 93, 58, 0.1);
}

.meetup__alert-title {
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warm);
}

.meetup__alert p:last-child {
  font-size: clamp(0.875rem, 3.2vw, 0.9375rem);
  color: rgba(250, 248, 245, 0.88);
  line-height: 1.5;
}

.meetup__tip {
  padding: 0.85rem 0.95rem 0.85rem 1rem;
  border-radius: 0.9rem;
  border-left: 3px solid var(--gold);
  background: rgba(240, 180, 41, 0.08);
}

.meetup__tip-label {
  margin-bottom: 0.3rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.meetup__tip p:last-child {
  font-size: clamp(0.875rem, 3.2vw, 0.9375rem);
  color: var(--text-muted);
  line-height: 1.5;
}

.meetup__tip strong {
  color: var(--text);
  font-weight: 800;
}

.meetup__maps {
  width: 100%;
  margin-top: 0.15rem;
}

/* ── Pricing ── */
.pricing {
  text-align: center;
}

.pricing__row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 400px) {
  .pricing__row {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}

.price-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.price-tag__amount {
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-tag__amount--best {
  color: var(--gold);
}

.price-tag__label {
  font-size: var(--text-body);
  color: var(--text-muted);
}

.price-tag__badge {
  margin-top: 0.35rem;
  padding: 0.2rem 0.65rem;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(240, 180, 41, 0.35);
  border-radius: var(--radius-pill);
}

.pricing__note {
  margin: 0;
  font-size: var(--text-body);
  color: var(--text-muted);
}

.pricing__note strong {
  color: var(--text);
}

.pricing__alt {
  margin: 1rem 0 0;
  font-size: var(--text-body);
  color: var(--text-muted);
}

.pricing__alt a {
  font-weight: 600;
}

.pricing-compare {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.pricing-compare__item {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(250, 248, 245, 0.08);
  border-radius: 1rem;
  background: rgba(250, 248, 245, 0.03);
}

.pricing-compare__item--best {
  border-color: rgba(240, 180, 41, 0.28);
  background: rgba(240, 180, 41, 0.06);
}

.pricing-compare__badge {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.18rem 0.55rem;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(240, 180, 41, 0.35);
  border-radius: var(--radius-pill);
}

.pricing-compare__title {
  margin: 0 0 0.35rem;
  font-size: var(--text-body);
  font-weight: 800;
}

.pricing-compare__text {
  margin: 0;
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.45;
}

.pricing-compare__widget {
  margin-top: 1rem;
}

.pricing-compare__widget.book-inline {
  margin: 1rem 0 0;
  text-align: left;
}

.pricing-compare__action {
  margin: 1rem 0 0;
  text-align: center;
}

/* ── FAQ (native details, minimal chrome) ── */
.faq-list {
  margin: 0;
  padding: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(250, 248, 245, 0.08);
}

.faq-item summary {
  padding: 1.1rem 0;
  font-weight: 700;
  font-size: var(--text-body);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gold);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item__answer {
  margin: 0 0 1.1rem;
  padding: 0;
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: 1.55;
}

.faq-more {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  font-size: var(--text-body);
  font-weight: 600;
}

/* ── Contact ── */
.contact-block {
  padding: 2rem 0 calc(var(--bridge-h) + var(--section-gap));
  margin-bottom: var(--section-gap-long);
}

.contact-block .section__lead {
  margin-bottom: 2rem;
}

.contact-block__grid {
  display: grid;
  gap: 2rem;
  margin: 0 auto;
  max-width: 22rem;
}

@media (min-width: 36rem) {
  .contact-block__grid {
    grid-template-columns: 1fr 1fr;
    max-width: none;
    gap: 0;
  }
}

.contact-block__col {
  text-align: center;
}

@media (min-width: 36rem) {
  .contact-block__col {
    text-align: left;
    padding: 0 2rem;
  }

  .contact-block__col + .contact-block__col {
    border-left: 1px solid rgba(240, 180, 41, 0.15);
  }
}

.contact-block__label {
  margin: 0 0 0.85rem;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-block__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-block__list a {
  display: inline-block;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-block__list a:hover {
  color: var(--gold);
}

/* ── Footer ── */
.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-pad) 0 1rem;
  text-align: center;
  border-top: 1px solid rgba(250, 248, 245, 0.06);
  min-height: auto;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  font-size: var(--text-label);
}

.site-footer__legal a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.site-footer__credit {
  margin: 0;
  font-size: var(--text-label);
  color: rgba(250, 248, 245, 0.62);
}

.site-footer__credit a {
  color: rgba(240, 180, 41, 0.88);
}

/* ── Sticky bottom bar (design-4) ── */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: auto;
  min-height: var(--bottom-bar-h);
  box-sizing: border-box;
  padding: 0.5rem var(--pad);
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  background: rgba(8, 9, 15, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease, visibility 0.45s;
  pointer-events: none;
}

.bottom-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bottom-bar__inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.bottom-bar__brand {
  flex: 1 1 33%;
  min-width: 0;
}

.bottom-bar__brand .logo {
  align-items: flex-start;
  text-align: left;
}

.logo--bar {
  line-height: 1;
}

.logo--bar .logo__main {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-shadow: none;
}

.logo--bar .logo__sub {
  font-size: 0.48rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  margin-top: 0.28em;
  padding-left: 0.32em;
}

.bottom-bar__cta {
  flex: 2 1 67%;
  width: auto;
}

body.has-bottom-bar .content {
  padding-bottom: calc(var(--bottom-bar-h) + 1rem + env(safe-area-inset-bottom));
}

/* ── Reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero__inner,
  .hero__cta-wrap {
    opacity: 1;
    animation: none;
  }

  .hero__cta-wrap.is-dismissed {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bottom-bar {
    transition: none;
  }
}

/* Touch devices: drop live backdrop blur (expensive during scroll) */
@media (hover: none) and (pointer: coarse) {
  .bottom-bar {
    background: rgba(8, 9, 15, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .section-nav__btn,
  #playButton,
  #vizGuiButton {
    background: rgba(8, 9, 15, 0.88);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ── Legal pages (terms, privacy, etc.) ── */
.legal-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 1.5rem var(--pad) 2.5rem;
  background:
    radial-gradient(ellipse 100% 80% at 50% 20%, rgba(8, 9, 15, 0.55) 0%, transparent 65%),
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(232, 93, 58, 0.12) 0%, transparent 55%),
    var(--bg);
}

.legal-page__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.legal-page__back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: var(--text-label);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}

.legal-page__back:hover {
  color: var(--gold);
}

.legal-page__header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(250, 248, 245, 0.08);
}

.legal-page__header h1 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.legal-page__updated {
  font-size: var(--text-label);
  color: var(--text-muted);
}

.legal-page__content h2 {
  font-size: clamp(1.05rem, 3.5vw, 1.2rem);
  font-weight: 800;
  margin: 1.75rem 0 0.75rem;
  color: var(--gold);
}

.legal-page__content h3 {
  font-size: var(--text-body);
  font-weight: 800;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}

.legal-page__content p {
  font-size: var(--text-body);
  margin-bottom: 0.75rem;
  color: rgba(250, 248, 245, 0.88);
}

.legal-page__content ul {
  margin: 0.5rem 0 0.75rem 1.25rem;
  font-size: var(--text-body);
  color: rgba(250, 248, 245, 0.88);
}

.legal-page__content li {
  margin-bottom: 0.35rem;
}

.legal-page__content a {
  color: var(--gold);
}

.legal-page .site-footer {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}
