/* Tara Rum Pum Land: one-page site
   Layout: left-aligned editorial columns on maroon/wine bands; one strong headline per section. */
:root {
  --maroon: #6C0126;
  --wine: #4A0019;
  --night: #2A000D;
  --pink: #FF5CA8;
  --pink-hover: #FF78B8;
  --blush: #FFD0E3;
  --cream: #FFF3F7;
  --gold: #FFC65C;
  --gold-hover: #FFD27F;
  --line: rgba(255, 208, 227, .22);
  --line-strong: rgba(255, 208, 227, .32);
  --muted: rgba(255, 236, 243, .9);

  --f-display: Newsreader, Georgia, 'Times New Roman', serif;
  --f-body: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 48px);
  --gutter-l: max(var(--gutter), env(safe-area-inset-left, 0px));
  --gutter-r: max(var(--gutter), env(safe-area-inset-right, 0px));
  --agenda-bg: var(--maroon);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--maroon);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--blush); }
a:hover { color: var(--pink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--pink); color: var(--wine); }
input::placeholder { color: rgba(255, 208, 227, .45); }
img { max-width: 100%; }
button { font: inherit; }
em { font-style: italic; }
[hidden] { display: none !important; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes logoIn { from { opacity: 0; scale: .9; } to { opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-10px) rotate(.6deg); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.07) rotate(-2deg); } 100% { transform: scale(1); } }
@keyframes ripple { to { transform: scale(1); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sway {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50% { transform: rotate(2.5deg) translateY(-4px); }
}

.page { overflow-x: clip; min-height: 100vh; }
.container { max-width: 1240px; margin: 0 auto; padding-block: 0; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.pink { color: var(--pink); }
.gold { color: var(--gold); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--f-body); font-size: 12px; font-weight: 600; line-height: 1.4;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blush);
}
.eyebrow-rule { display: inline-flex; align-items: center; gap: 14px; }
.eyebrow-rule::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h2 {
  margin: 0; font-family: var(--f-display); font-weight: 600; font-optical-sizing: auto;
  font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -.02em;
  color: var(--cream); text-wrap: balance;
}
.h2 em, .hero-title em, .join-title em { font-weight: 600; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blush); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 26px;
  border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 1; letter-spacing: .01em; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease, translate .2s ease;
  position: relative; overflow: hidden; isolation: isolate; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-pink { background: var(--pink); color: var(--wine); }
.btn-pink:hover { background: var(--pink-hover); color: var(--wine); }
.btn-gold { background: var(--gold); color: var(--wine); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-outline { background: transparent; color: var(--cream); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--cream); color: var(--cream); }
.btn-sm { flex: none; min-height: 40px; padding: 10px 20px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 16px 30px; font-size: 16px; }
.btn-xl { min-height: 58px; padding: 18px 34px; font-size: 17px; }
.btn-block { display: flex; width: 100%; min-height: 54px; margin-top: 8px; }
.btn[disabled] { cursor: progress; opacity: .85; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(74, 0, 25, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .35s ease, border-color .35s ease;
}
.site-header.scrolled {
  background: rgba(74, 0, 25, .92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { max-width: 1240px; margin: 0 auto; padding-block: 12px; padding-left: var(--gutter-l); padding-right: var(--gutter-r); display: flex; align-items: center; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 40px; height: auto; display: block; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1; letter-spacing: -.01em; color: var(--cream); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: var(--cream); text-decoration: none; font-weight: 500; font-size: 15px; opacity: .85; transition: opacity .2s ease; }
.main-nav a:hover { color: var(--cream); opacity: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--maroon); padding-block: clamp(116px, 13vw, 160px) clamp(72px, 9vw, 120px); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-title {
  margin: 0; font-family: var(--f-display); font-weight: 600; font-optical-sizing: auto;
  font-size: clamp(48px, 7vw, 104px); line-height: 1; letter-spacing: -.02em;
  color: var(--cream); text-wrap: balance;
}
.hero-sub { margin: 0; max-width: 33em; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.fact-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 8px; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blush); }
.hero-art { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; min-width: 0; }
.logo-wrap {
  position: relative; width: 100%; max-width: 440px; touch-action: pan-y; cursor: grab;
  translate: 0 var(--py, 0px); scale: var(--ps, 1);
  animation: logoIn .9s cubic-bezier(.2,.8,.2,1) both;
}
.logo-tilt { animation: float 7s ease-in-out 1s infinite; }
.hero-logo {
  display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  filter: drop-shadow(0 24px 40px rgba(20, 0, 8, .35));
  will-change: transform;
}
.logo-wrap.pop .hero-logo { animation: pop .6s cubic-bezier(.3,1.6,.5,1); }
.hero-tagline { margin: 0; max-width: 440px; font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -.01em; color: var(--cream); text-wrap: balance; }
.hero-tagline .ph { display: inline-block; animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.hero-tagline .ph:nth-child(1) { animation-delay: .5s; }
.hero-tagline .ph:nth-child(2) { animation-delay: .65s; }
.hero-tagline .ph:nth-child(3) { animation-delay: .8s; }
.ph-pink { color: var(--pink); }

/* ---------- About + segments ---------- */
.about { background: var(--wine); padding-block: clamp(80px, 10vw, 136px); scroll-margin-top: 64px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
.about-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.about-body { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.about-body p { margin: 0; max-width: 30em; font-size: 18px; line-height: 1.65; color: var(--muted); }
.stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-top: 1px solid var(--line); }
.stats > div { padding: 18px 20px 0 0; min-width: 0; }
.stats > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.stats dt { font-size: 14px; line-height: 1.35; color: var(--muted); }
.stats .count { font-variant-numeric: lining-nums tabular-nums; }
.stats dd small { margin-left: 2px; font-family: var(--f-body); font-size: .5em; font-weight: 600; color: var(--pink); vertical-align: .55em; }
.stats dd { margin: 6px 0 0; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: -.02em; color: var(--cream); font-variant-numeric: lining-nums; }

.segs { margin-top: 72px; display: flex; gap: 10px; height: 460px; }
.seg {
  position: relative; min-width: 0; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start;
  flex: 1 1 0; padding: 26px 24px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--maroon); color: var(--cream);
  font-family: var(--f-body); text-align: left; cursor: pointer;
  transition: flex-grow .6s cubic-bezier(.2, .8, .2, 1), background-color .35s ease, border-color .35s ease, color .35s ease;
}
.seg:hover { border-color: var(--line-strong); }
.seg.open { flex-grow: 4.2; background: var(--cream); color: var(--wine); border-color: var(--cream); }
.seg.open.peak { background: var(--gold); border-color: var(--gold); }
.seg-tag { display: none; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; white-space: nowrap; }
.seg.open .seg-tag { display: block; }
.seg-title {
  margin-top: auto; font-family: var(--f-display); font-weight: 600; font-size: 24px; line-height: 1.1; letter-spacing: -.01em;
  writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap;
}
.seg.open .seg-title {
  writing-mode: horizontal-tb; transform: none; white-space: normal;
  font-size: clamp(34px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -.02em; max-width: 9em; min-width: 0;
}
.seg-line { display: none; margin-top: 14px; max-width: 24em; min-width: 0; font-size: 17px; line-height: 1.5; }
.seg.open .seg-line { display: block; animation: rise .5s ease-out both; }

/* ---------- Agenda ---------- */
.agenda { background: var(--agenda-bg); padding-block: clamp(80px, 10vw, 136px); scroll-margin-top: 64px; transition: background-color .2s linear; }
.agenda-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 80px; align-items: start; }
.sky-col { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 28px; }
.agenda-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.h2-agenda { font-size: clamp(38px, 4.8vw, 66px); }

.sky { position: relative; width: 100%; height: 360px; border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, #FF8DC2, #FFD9A0); isolation: isolate; }
.balloon-defs { position: absolute; width: 0; height: 0; }
.stars { position: absolute; inset: 0; opacity: 0; }
.stars span { position: absolute; border-radius: 50%; background: var(--cream); box-shadow: 0 0 4px rgba(255, 243, 247, .8); }
.sun {
  position: absolute; left: 64%; width: 104px; height: 104px; margin-left: -52px; margin-top: -52px; top: 14%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #FFFBEF 0%, #FFE7B0 45%, #FFC77A 80%, rgba(255, 170, 110, .9) 100%);
  box-shadow: 0 0 40px 8px rgba(255, 190, 110, .35);
  transition: top .25s ease-out;
}
.balloons { position: absolute; inset: 0; }
.balloon { position: absolute; top: 70%; transform: translateX(-50%); opacity: 0; transition: top .45s ease-out, opacity .4s ease; }
.balloon.far { filter: saturate(.85) brightness(.92) blur(.3px); }
.balloon-sway { transform-origin: 50% 0; animation: sway 6s ease-in-out infinite; }
.balloon-svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(2px 6px 6px rgba(30, 0, 10, .28)); }
.water {
  position: absolute; left: 0; right: 0; bottom: 0; height: 28%; overflow: hidden;
  background: linear-gradient(180deg, #5A0A26 0%, #3A0014 100%);
}
.water::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0) 0 5px, rgba(255, 255, 255, .04) 5px 6px); }
.reflection {
  position: absolute; left: 64%; top: 0; width: 22%; height: 100%; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(255, 214, 150, .85), rgba(255, 190, 120, 0) 90%);
  filter: blur(10px); opacity: .5;
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 6px, rgba(0, 0, 0, .7) 6px 9px);
          mask-image: repeating-linear-gradient(180deg, #000 0 6px, rgba(0, 0, 0, .7) 6px 9px);
}
.now { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.now-time { font-family: var(--f-display); font-weight: 600; font-size: 40px; line-height: 1; letter-spacing: -.02em; color: var(--cream); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; transition: color .3s ease; }
.sky.is-peak .now-time { color: var(--gold); }
.now-title { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); text-align: right; min-width: 0; }
.note { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 26em; }
.note-phone { display: none; margin-top: 20px; max-width: none; }

.rows-col { min-width: 0; display: flex; flex-direction: column; }
.rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.row {
  position: relative; display: grid; grid-template-columns: 92px minmax(0, 1fr); column-gap: 20px; align-items: baseline;
  padding: 20px 0 20px 20px; border-bottom: 1px solid var(--line);
  transition: transform .35s ease;
}
.row::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: transparent; transition: background-color .3s ease; }
.row-time { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.row-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.row-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(21px, 2vw, 25px); line-height: 1.15; letter-spacing: -.01em; color: var(--blush); transition: color .3s ease; }
.row-loc { font-size: 15px; color: var(--muted); }
.row.past::before { background: rgba(255, 92, 168, .45); }
.row.past .row-title { color: var(--cream); }
.row.on::before { background: var(--pink); }
.row.on { transform: translateX(4px); }
.row.on .row-time { color: var(--cream); }
.row.on .row-title { color: #fff; font-size: clamp(26px, 2.6vw, 32px); }
.row.peak .row-title { color: var(--gold); font-style: italic; }
.row.peak.on::before { background: var(--gold); }
.row.peak.on .row-time, .row.peak.past .row-time { color: var(--gold); }

/* ---------- Closing ---------- */
.join { position: relative; overflow: hidden; scroll-margin-top: 64px; background: var(--maroon); padding-block: clamp(96px, 12vw, 168px) 40px; }
.join-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 1000px; }
.join-kicker { margin: 0; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; color: var(--pink); }
.join-title { margin: 0; font-family: var(--f-display); font-weight: 600; font-optical-sizing: auto; font-size: clamp(56px, 10vw, 152px); line-height: .96; letter-spacing: -.02em; color: var(--cream); text-wrap: balance; }
.join-sub { margin: 4px 0 0; max-width: 32em; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.join-ctas { margin-top: 10px; }
.footer { margin-top: clamp(80px, 10vw, 128px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; min-width: 0; font-size: 15px; color: var(--muted); }
.footer-brand img { width: 44px; height: auto; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; color: var(--muted); }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(30, 0, 10, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; padding: 16px; overflow-y: auto; }
.modal { position: relative; margin: auto; width: 100%; max-width: 460px; background: var(--wine); border-radius: 20px; border: 1px solid var(--line-strong); box-shadow: 0 40px 80px rgba(10, 0, 4, .55); overflow: hidden; animation: rise .3s ease-out; }
.modal-close { position: absolute; top: 20px; right: 18px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--cream); cursor: pointer; display: grid; place-items: center; transition: border-color .2s ease; }
.modal-close:hover { border-color: var(--cream); }
.modal-form { padding: 30px 28px 28px; display: flex; flex-direction: column; gap: 18px; }
.modal-head { padding-right: 48px; display: flex; flex-direction: column; gap: 8px; }
.modal-title { font-family: var(--f-display); font-weight: 600; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; color: var(--cream); }
.field { display: flex; flex-direction: column; gap: 8px; }
.input { width: 100%; min-height: 50px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--maroon); color: var(--cream); font-family: var(--f-body); font-size: 16px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 92, 168, .2); }
.input[aria-invalid="true"] { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 92, 168, .25); }
.field-error { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--cream); }
.err-dot { flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--pink); color: var(--wine); display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-height: 44px; padding: 11px 18px; border-radius: 999px; cursor: pointer; font-family: var(--f-body); font-weight: 600; font-size: 15px; line-height: 1; border: 1px solid var(--line-strong); background: transparent; color: var(--cream); transition: border-color .2s ease, background-color .2s ease; }
.opt:hover { border-color: var(--blush); }
.opt[aria-checked="true"] { border-color: var(--cream); background: var(--cream); color: var(--wine); }
.spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(74, 0, 25, .3); border-top-color: var(--wine); animation: spin .8s linear infinite; }
.sending .spinner { display: inline-block; }
.modal-success { padding: 40px 28px 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.modal-success p { margin: 0; font-size: 16px; color: var(--muted); }
.modal-success .btn { margin-top: 12px; }
.success-title { font-family: var(--f-display); font-weight: 600; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; color: var(--cream); }

/* ---------- Tablet (≤960px) ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero-art { order: -1; }
  .logo-wrap { max-width: 360px; }
  .hero-grid { gap: 40px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }

  .segs { margin-top: 48px; height: 440px; }
  .seg { padding: 22px 14px; }
  .seg-title { font-size: 20px; }
  .seg.open { padding: 22px 20px; }
  .seg-tag { display: none; }
  .seg.open .seg-tag { display: block; }
  .seg.open .seg-title, .seg-line { min-width: 0; }
  .seg.open .seg-title { max-width: none; }

  .agenda-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .sky-col { top: calc(64px + env(safe-area-inset-top, 0px)); z-index: 3; gap: 20px; padding-bottom: 16px; background: var(--agenda-bg); }
  .sky { height: 230px; }
}

/* ---------- Phone (≤600px) ---------- */
@media (max-width: 600px) {
  .brand-name, .main-nav { display: none; }
  .hero { padding-block: 88px 64px; }
  .hero-grid { gap: 32px; }
  .logo-wrap { max-width: min(300px, 78vw); }
  .hero-art { gap: 14px; }
  .hero-tagline { font-size: clamp(22px, 6vw, 26px); }
  .hero-copy { gap: 22px; }
  .segs { flex-direction: column; gap: 10px; height: auto; margin-top: 40px; }
  .seg, .seg.open {
    flex: none; width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 12px;
    padding: 20px 20px; border-radius: 18px; transition: background-color .35s ease, border-color .35s ease, color .35s ease;
  }
  .seg-title, .seg.open .seg-title {
    grid-column: 1; grid-row: 1; margin: 0; writing-mode: horizontal-tb; transform: none; white-space: normal;
    min-width: 0; max-width: none; font-size: 22px; line-height: 1.15; overflow-wrap: break-word;
  }
  .seg.open .seg-title { font-size: 28px; }
  .seg-tag, .seg.open .seg-tag { display: block; grid-column: 2; grid-row: 1; justify-self: end; font-size: 11px; letter-spacing: .1em; white-space: nowrap; }
  .seg-line { display: none; }
  .seg.open .seg-line { display: block; grid-column: 1 / -1; grid-row: 2; margin-top: 12px; font-size: 16px; line-height: 1.55; min-width: 0; max-width: none; }
  .stats > div { padding-right: 12px; }
  .stats > div + div { padding-left: 12px; }
  .stats dt { font-size: 12px; }
  .sky { height: 200px; }
  .agenda { padding-block: 56px 64px; }
  .about { padding-block: 64px; }
  .sky-col { gap: 14px; padding-bottom: 12px; }
  .h2-agenda { font-size: clamp(32px, 9vw, 40px); }
  .sun { width: 68px; height: 68px; margin-left: -34px; margin-top: -34px; }
  .now { left: 14px; right: 14px; bottom: 12px; }
  .now-time { font-size: 30px; }
  .note-desktop { display: none; }
  .note-phone { display: block; }
  .row { grid-template-columns: 70px minmax(0, 1fr); column-gap: 14px; padding: 16px 0 16px 14px; }
  .modal-form { padding: 26px 22px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}


/* ---------- Interaction layer ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--pink), var(--gold)); pointer-events: none; }

/* Scroll reveal: starts faded and low, never fully hidden. */
.js .rv { opacity: .12; translate: 0 28px; transition: opacity .8s ease var(--d, 0s), translate .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s); }
.js .rv.in { opacity: 1; translate: 0 0; }
.js .seg.rv { transition: opacity .8s ease var(--d, 0s), translate .8s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), flex-grow .6s cubic-bezier(.2, .8, .2, 1), background-color .35s ease, border-color .35s ease, color .35s ease; }
.js .row.rv { translate: -18px 0; transition: opacity .7s ease var(--d, 0s), translate .7s cubic-bezier(.2, .8, .2, 1) var(--d, 0s), transform .35s ease; }
.js .row.rv.in { translate: 0 0; }

/* Button ripple */
.ripple { position: absolute; z-index: -1; border-radius: 50%; background: rgba(255, 255, 255, .38); transform: scale(0); opacity: .9; animation: ripple .65s ease-out forwards; pointer-events: none; }
.btn-outline .ripple { background: rgba(255, 208, 227, .28); }

/* Hover (pointer devices only) */
@media (hover: hover) {
  .btn:hover { translate: 0 -2px; }
  .btn-pink:hover { box-shadow: 0 10px 24px rgba(255, 92, 168, .28); }
  .btn-gold:hover { box-shadow: 0 10px 24px rgba(255, 198, 92, .24); }
  .seg:hover:not(.open) { translate: 0 -4px; background: #7a0230; }
  .row:hover .row-title { color: var(--pink); }
  .row:hover { translate: 6px 0; }
  .main-nav a { position: relative; }
  .main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s ease; }
  .main-nav a:hover::after { transform: scaleX(1); }
  .stats > div { transition: translate .3s ease; }
  .stats > div:hover { translate: 0 -3px; }
}

/* Touch feedback */
@media (hover: none) {
  .seg:active { scale: .985; }
  .btn:active { scale: .97; }
  .opt:active, .modal-close:active { scale: .95; }
}

/* Phone action bar */
.mbar { display: none; }
@media (max-width: 600px) {
  .mbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px var(--gutter-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
    background: rgba(74, 0, 25, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
    translate: 0 110%; transition: translate .45s cubic-bezier(.2, .8, .2, 1);
  }
  .mbar.show { translate: 0 0; }
  .mbar .btn { flex: 1 1 0; min-height: 48px; padding-inline: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .row.rv { opacity: 1; translate: none; }
  .logo-wrap, .logo-tilt, .hero-copy > *, .hero-tagline .ph { animation: none !important; }
  .progress { display: none; }
}


/* ---------- Ticket stepper and payment messages ---------- */
.qty { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.qty-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; color: var(--cream); font-family: var(--f-body); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; transition: border-color .2s ease, background-color .2s ease, opacity .2s ease; -webkit-tap-highlight-color: transparent; }
.qty-btn:hover:not(:disabled) { border-color: var(--cream); }
.qty-btn:active:not(:disabled) { background: rgba(255, 208, 227, .12); }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.qty-n { min-width: 2ch; text-align: center; font-family: var(--f-display); font-weight: 600; font-size: 38px; line-height: 1; color: var(--cream); font-variant-numeric: lining-nums tabular-nums; }
.qty-total { flex: 1 1 100%; font-size: 15px; font-weight: 600; color: var(--blush); }
.pay-error { margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--pink); background: rgba(255, 92, 168, .12); font-size: 14px; line-height: 1.5; color: var(--cream); }


/* ---------- Sky window scenery ---------- */
.scene { position: absolute; bottom: 27%; pointer-events: none; }
.scene .palm { display: block; width: 100%; height: auto; overflow: visible; }
.scene-l { left: -3%; width: 36%; }
.scene-r { right: -4%; width: 26%; transform: scaleX(-1); }
.bunting { position: absolute; top: 0; left: 0; width: 100%; height: auto; pointer-events: none; filter: drop-shadow(0 3px 3px rgba(30, 0, 10, .25)); }

/* ---------- Payment failed (modal) ---------- */
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.modal-failed .modal-actions .btn { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { background: var(--maroon); padding-block: clamp(72px, 9vw, 120px) 0; scroll-margin-top: 64px; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: 14px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-family: var(--f-display); font-weight: 600; font-size: clamp(19px, 2vw, 24px); line-height: 1.25; color: var(--cream); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font-size: 26px; color: var(--pink); transition: rotate .2s ease; }
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item p { margin: 0 0 22px; max-width: 38em; color: var(--muted); font-size: 16px; line-height: 1.65; }
@media (max-width: 800px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer links ---------- */
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-links a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-links a:hover { color: var(--pink); }

/* ---------- Document pages (privacy, terms, refund, contact, thank-you) ---------- */
.doc-page .site-header { background: rgba(74, 0, 25, .92); border-bottom-color: var(--line); }
.doc-wrap { padding-block: clamp(112px, 12vw, 148px) 0; }
.doc { max-width: 720px; }
.doc h1 { margin: 12px 0 8px; font-family: var(--f-display); font-weight: 600; font-size: clamp(38px, 5.5vw, 64px); line-height: 1.02; letter-spacing: -.02em; color: var(--cream); text-wrap: balance; }
.doc .doc-updated { margin: 0 0 32px; font-size: 14px; color: var(--muted); }
.doc h2 { margin: 36px 0 8px; font-family: var(--f-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; color: var(--cream); }
.doc p, .doc li { font-size: 17px; line-height: 1.7; color: var(--muted); }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc .ph-field { background: rgba(255, 198, 92, .16); color: var(--gold); padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.doc-wrap .footer { margin-bottom: 0; padding-bottom: 32px; }
.thanks-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.thanks-meta { margin: 6px 0 0; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 14px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.thanks-meta strong { color: var(--cream); }
a.btn { text-decoration: none; }
