/* ==========================================================
   SBG Dream Conference 2027 — "Dream the Impossible Dream"
   Brand colors from the Southern Black Girls site.
   ========================================================== */
:root {
  --night: #14020c;
  --night-2: #2a0418;
  --deep-root: #3a0300;
  --magenta: #ad1c5d;
  --fuchsia: #e02189;
  --blush: #f8d4de;
  --joy: #fdf71e;
  --star: #fff6c9;
  --aqua: #67dad7;
  --cream: #fffafb;
  --surface: #fdeef2;
  --ink: #3a0300;
  --muted: #6b4447;
  --line: #f0d6dd;
  --card: #ffffff;
  --accent-ink: #ad1c5d;
  --reg-1: #fde3ec;
  --reg-2: #f8d2df;
  color-scheme: light;

  --font-display: 'Noto Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 40px);
}

/* dark mode: same layout, night palette (set by the toggle in the menu, or the device setting) */
:root[data-theme="dark"] {
  --cream: #120209;
  --surface: #1f0714;
  --card: #1a0511;
  --ink: #fbeef3;
  --muted: #cfb0bc;
  --line: #3b162a;
  --accent-ink: #ff7ab6;
  --reg-1: #26081b;
  --reg-2: #320b24;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  transition: background-color 400ms ease, color 400ms ease;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
html, body { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 em, h1 em { font-style: italic; font-weight: 600; }
p { margin: 0 0 1em; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fuchsia); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { width: min(820px, 100%); }
.section { padding: clamp(48px, 6vw, 84px) 0; }

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--aqua); margin-bottom: .8em;
}
.eyebrow--dark { color: var(--accent-ink); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--magenta);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: 15px 28px; border-radius: 999px; border: 0;
  background: var(--bg); color: #fff; font: 700 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 220ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--small { padding: 10px 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--glow {
  background: linear-gradient(120deg, var(--fuchsia), var(--magenta) 55%, #c42a7a);
  box-shadow: 0 10px 30px -8px rgba(224, 33, 137, .7), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn--glow:hover { box-shadow: 0 16px 40px -8px rgba(224, 33, 137, .9), 0 0 0 4px rgba(224,33,137,.18); }
.btn--ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,.16); }
.btn--line { background: transparent; color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--magenta); }
.btn--light { background: #fff; color: #0c4f57; }
.btn[aria-disabled="true"] { opacity: .65; cursor: default; transform: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  transition: background 300ms var(--ease), box-shadow 300ms var(--ease), padding 300ms var(--ease);
}
.nav.is-scrolled { background: rgba(20, 2, 12, .82); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08); padding-block: 8px; }
.nav__brand img { width: clamp(118px, 13vw, 156px); height: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 30px); }
.nav__links a:not(.btn) { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.nav__links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--fuchsia); transform: scaleX(0); transition: transform 220ms var(--ease); }
.nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; }

@media (max-width: 820px) {
  .nav__toggle {
    display: grid; gap: 6px; place-content: center; width: 44px; height: 44px;
    background: rgba(255,255,255,.1); border: 0; border-radius: 12px; cursor: pointer;
  }
  .nav__toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform 250ms var(--ease); }
  .nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(20, 2, 12, .97);
    opacity: 0; pointer-events: none; transition: opacity 250ms var(--ease);
  }
  .nav__links a:not(.btn) { font-family: var(--font-display); font-size: 1.8rem; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; }
}

/* ---------- sky canvases ---------- */
.sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; place-items: center;
  background:
    radial-gradient(120% 80% at 50% 115%, #7a1146 0%, rgba(122,17,70,0) 60%),
    radial-gradient(70% 50% at 85% 10%, rgba(103,218,215,.16), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 70%, #4a0a2a 100%);
  color: #fff; text-align: center;
  padding: 120px var(--gutter) 90px;
}
.hero__glow {
  position: absolute; left: 50%; top: 52%; width: min(900px, 120vw); aspect-ratio: 1; translate: -50% -50%;
  background: radial-gradient(circle, rgba(224,33,137,.30), rgba(224,33,137,0) 62%);
  filter: blur(20px); z-index: -1; animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.hero__inner { position: relative; z-index: 2; max-width: 980px; }
.hero__title { font-size: clamp(3.1rem, 11vw, 8.6rem); line-height: .92; margin: 0 0 .32em; }
.hero__title .line { display: block; }
.hero__title em {
  font-weight: 600;
  background: linear-gradient(100deg, #fff 0%, var(--blush) 20%, var(--fuchsia) 40%, var(--star) 55%, var(--aqua) 72%, #fff 90%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
  padding-right: .08em;
  /* room for the tail of the "p" below the tight line height (the gradient only paints inside this box) */
  padding-bottom: .2em; margin-bottom: -.2em;
}
@keyframes shimmer { to { background-position: -250% 0; } }
/* Impossible ⇄ I'm possible */
.imp { display: inline-flex; align-items: baseline; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.imp > span { display: inline-block; }
.imp__apos {
  max-width: 0; opacity: 0; overflow: visible;
  color: var(--joy); -webkit-text-fill-color: var(--joy);
  filter: drop-shadow(0 0 14px rgba(253, 247, 30, .75));
  transform: translateY(-.9em) rotate(-25deg) scale(.4);
  transition: max-width 700ms var(--ease), opacity 400ms ease, transform 800ms cubic-bezier(.3, 1.6, .4, 1);
}
.imp__gap { width: 0; transition: width 700ms var(--ease); }
.imp.is-possible .imp__apos { max-width: .32em; opacity: 1; transform: none; }
.imp.is-possible .imp__gap { width: .24em; }
.hero__tag { font-size: clamp(1rem, 2.2vw, 1.3rem); color: rgba(255,255,255,.82); margin: -.2em 0 1.1em; }
.hero__tag span { font-family: var(--font-display); font-style: italic; }
.hero__tag b { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--joy); white-space: nowrap; }

.eb-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 10px 18px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: .92rem; color: var(--star);
  background: rgba(253, 247, 30, .08); box-shadow: inset 0 0 0 1.5px rgba(253, 247, 30, .55);
  transition: background 200ms, transform 200ms var(--ease);
}
.eb-pill:hover { background: rgba(253, 247, 30, .16); transform: translateY(-2px); }
.eb-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--joy); box-shadow: 0 0 0 0 rgba(253,247,30,.7); animation: ping 1.8s ease-out infinite; flex: none; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(253,247,30,0); } }

.hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .4em .9em; font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 500; color: rgba(255,255,255,.9); }
.hero__meta .dot { color: var(--joy); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

.countdown { display: inline-grid; grid-template-columns: repeat(4, auto); gap: clamp(8px, 2vw, 18px); margin-top: 18px; }
.countdown div {
  min-width: clamp(64px, 15vw, 96px); padding: 12px 8px 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; backdrop-filter: blur(6px);
}
.countdown b { display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 4.5vw, 2.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); }

.hero__orbs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; object-fit: cover; aspect-ratio: 1;
  border: 3px solid rgba(255,255,255,.85);
  box-shadow: 0 0 0 8px rgba(224,33,137,.18), 0 20px 50px rgba(0,0,0,.5);
  animation: float 9s ease-in-out infinite;
}
.orb--1 { width: clamp(90px, 13vw, 190px); left: 4%; top: 20%; }
.orb--2 { width: clamp(70px, 10vw, 150px); right: 6%; top: 16%; animation-delay: -3s; }
.orb--3 { width: clamp(60px, 8vw, 120px); left: 9%; bottom: 14%; animation-delay: -5s; }
.orb--4 { width: clamp(80px, 11vw, 170px); right: 5%; bottom: 16%; animation-delay: -1.5s; }
@keyframes float { 50% { translate: 0 -14px; } }
@media (max-width: 760px) {
  .orb { opacity: .4; }
  .orb--1 { top: 9%; left: -4%; } .orb--2 { top: 10%; right: -4%; }
  .orb--3, .orb--4 { display: none; }
}

.scroll-cue { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee { background: var(--fuchsia); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.4deg); margin: calc(-1.4vw - 10px) -10px 0; position: relative; z-index: 3; box-shadow: 0 10px 30px -10px rgba(173,28,93,.6); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 30s linear infinite; font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 3vw, 2.1rem); align-items: center; }
.marquee__track i { font-style: normal; color: var(--joy); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about { background: var(--cream); overflow: hidden; }
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.about__text p { font-size: 1.1rem; color: var(--muted); max-width: 54ch; }
.about h2 em { color: var(--accent-ink); }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.facts b { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--accent-ink); }
.facts span { font-size: .85rem; color: var(--muted); }
.about__stack { position: relative; height: clamp(320px, 38vw, 460px); }
.polaroid { position: absolute; margin: 0; background: #fff; padding: 10px 10px 34px; border-radius: 6px; box-shadow: 0 24px 50px -18px rgba(58,3,0,.45); transition: transform 400ms var(--ease); }
.polaroid img { aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; }
.polaroid:hover { transform: rotate(0) scale(1.04) !important; z-index: 5; }
.p1 { width: 62%; left: 0; top: 4%; transform: rotate(-6deg); }
.p2 { width: 56%; right: 0; top: 0; transform: rotate(5deg); }
.p3 { width: 64%; left: 18%; bottom: 0; transform: rotate(-2deg); z-index: 2; }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .facts { grid-template-columns: 1fr; }
  .about__stack { height: 340px; }
}

.recap { margin-top: clamp(40px, 5vw, 64px); }
.recap__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); text-wrap: balance; }

/* 2025 in numbers */
.stats { list-style: none; padding: 0; margin: 18px 0 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.stats li { padding: 22px 22px 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.stats li:first-child { background: linear-gradient(140deg, var(--fuchsia), var(--magenta)); border-color: transparent; color: #fff; }
.stats b { display: block; font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.stats li:first-child b { color: #fff; }
.stats span { display: block; margin-top: 8px; font-size: .95rem; color: var(--muted); }
.stats li:first-child span { color: rgba(255,255,255,.9); }
@media (max-width: 680px) { .stats { grid-template-columns: 1fr; gap: 8px; } .stats li { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 18px; } .stats b { font-size: 2.3rem; flex: none; white-space: nowrap; width: 3.3em; } .stats li:first-child b { width: auto; min-width: 3.3em; } .stats span { margin: 0; line-height: 1.35; } }

/* video with photos sprinkled around it */
.wall__item { padding: 0; border: 0; cursor: zoom-in; background: none; }
.vstage { position: relative; padding: clamp(18px, 3vw, 40px) 0; margin-top: 4px; }
.vframe {
  position: relative; z-index: 2; width: min(64%, 860px); margin: 0 auto; aspect-ratio: 16 / 9;
  border-radius: 24px; overflow: hidden; background: var(--night);
  box-shadow: 0 0 0 1px var(--line), 0 40px 90px -30px rgba(173, 28, 93, .55), 0 0 60px -10px rgba(224, 33, 137, .35);
}
.vframe--vertical { width: min(40%, 380px); aspect-ratio: 9 / 16; }
.vframe__cover { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: none; color: #fff; }
.vframe__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease), filter 400ms; filter: brightness(.72); }
.vframe__cover:hover img { transform: scale(1.04); filter: brightness(.6); }
.vframe__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: clamp(64px, 9vw, 96px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: linear-gradient(120deg, var(--fuchsia), var(--magenta));
  box-shadow: 0 0 0 10px rgba(224, 33, 137, .25), 0 18px 40px rgba(0, 0, 0, .45); transition: transform 300ms var(--ease);
  animation: playpulse 2.4s ease-in-out infinite;
}
.vframe__play svg { width: 42%; margin-left: 8%; }
.vframe__cover:hover .vframe__play { transform: scale(1.08); }
@keyframes playpulse { 50% { box-shadow: 0 0 0 18px rgba(224, 33, 137, .12), 0 18px 40px rgba(0, 0, 0, .45); } }
.vframe__label { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-family: var(--font-display); font-style: italic; font-size: clamp(1.05rem, 2vw, 1.5rem); text-shadow: 0 2px 16px rgba(0, 0, 0, .7); }
.vframe__slot { position: absolute; inset: 0; }
.vframe__slot:empty { display: none; }
.vframe__slot iframe, .vframe__slot video { width: 100%; height: 100%; border: 0; display: block; background: #000; }

.vphoto {
  position: absolute; z-index: 3; width: clamp(130px, 17%, 230px); aspect-ratio: 4 / 3.3;
  padding: 7px 7px 24px; background: #fff; border-radius: 6px;
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .55);
  transform: rotate(var(--r)); animation: vfloat 7s ease-in-out infinite; animation-delay: var(--d);
  transition: transform 300ms var(--ease), box-shadow 300ms;
}
.vphoto img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.vphoto:hover, .vphoto:focus-visible { animation-play-state: paused; transform: rotate(0) scale(1.08); z-index: 5; box-shadow: 0 30px 60px -16px rgba(0, 0, 0, .6); }
@keyframes vfloat { 50% { translate: 0 -8px; } }
.vphoto--1 { --r: -8deg; --d: 0s; left: 1%; top: 2%; }
.vphoto--2 { --r: 6deg; --d: -2s; left: 4%; top: 40%; }
.vphoto--3 { --r: -4deg; --d: -4s; left: 0; bottom: 0; }
.vphoto--4 { --r: 7deg; --d: -1s; right: 1%; top: 0; }
.vphoto--5 { --r: -6deg; --d: -3s; right: 4%; top: 38%; }
.vphoto--6 { --r: 5deg; --d: -5s; right: 0; bottom: 2%; }
.vstage__more { display: flex; justify-content: center; margin-top: 10px; }
.vstage__more .btn--line { color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent-ink); }
@media (max-width: 860px) {
  .vstage { display: flex; flex-wrap: wrap; justify-content: center; padding: 10px 0 0; }
  .vframe { width: 100%; order: -1; margin-bottom: 18px; }
  .vframe--vertical { width: min(78%, 360px); }
  .vphoto { position: relative; inset: auto; width: 31%; margin: -6px -1% 0; }
}

/* photo viewer */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(14,0,10,.94); color: #fff; }
.lightbox::backdrop { background: rgba(14,0,10,.6); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn 250ms ease; }
@keyframes lbIn { from { opacity: 0; } }
.lightbox__fig { margin: 0; max-width: min(92vw, 1200px); max-height: 84vh; display: grid; justify-items: center; gap: 12px; }
.lightbox__fig img { max-width: 100%; max-height: 76vh; object-fit: contain; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox__fig figcaption { font-size: .95rem; color: rgba(255,255,255,.85); text-align: center; padding: 0 16px; }
.lightbox__btn { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255,255,255,.12); border-radius: 50%; width: 48px; height: 48px; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; transition: background 200ms; }
.lightbox__btn:hover { background: rgba(224,33,137,.8); }
.lightbox__close { top: max(16px, env(safe-area-inset-top, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); }
.lightbox__prev { left: max(16px, env(safe-area-inset-left, 0px)); top: 50%; translate: 0 -50%; }
.lightbox__next { right: max(16px, env(safe-area-inset-right, 0px)); top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; left: 50%; bottom: max(14px, env(safe-area-inset-bottom, 0px)); translate: -50% 0; margin: 0; font-size: .82rem; letter-spacing: .12em; color: rgba(255,255,255,.7); }
@media (max-width: 680px) { .lightbox__prev, .lightbox__next { top: auto; bottom: max(10px, env(safe-area-inset-bottom, 0px)); translate: none; } }

/* ---------- dream wall ---------- */
.dreamwall {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  background:
    radial-gradient(90% 60% at 80% 40%, rgba(103,218,215,.12), transparent 70%),
    radial-gradient(80% 60% at 10% 100%, rgba(224,33,137,.25), transparent 70%),
    linear-gradient(180deg, #1c0312 0%, var(--night) 100%);
  padding: clamp(52px, 6.5vw, 88px) 0 0;
}
.dreamwall__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: clamp(30px, 5vw, 60px); align-items: stretch; }
.dreamwall__intro > p { color: rgba(255,255,255,.8); font-size: 1.08rem; }

.dreamform { margin-top: 26px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(10px); }
.dreamform label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; }
.dreamform label[for="dream"] { font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: 1.5rem; }
.dreamform .opt { font-weight: 400; color: rgba(255,255,255,.55); }
.dreamform textarea, .dreamform input {
  width: 100%; padding: 13px 15px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.18); background: rgba(10,0,6,.45); color: #fff;
  font: 400 1rem/1.5 var(--font-body); resize: vertical;
  transition: border-color 200ms, box-shadow 200ms;
}
.dreamform textarea { font-size: 1.1rem; min-height: 96px; }
.dreamform textarea::placeholder, .dreamform input::placeholder { color: rgba(255,255,255,.35); }
.dreamform textarea:focus, .dreamform input:focus { outline: none; border-color: var(--fuchsia); box-shadow: 0 0 0 4px rgba(224,33,137,.25); }
.dreamform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.dreamform__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.dreamform .count { font-size: .8rem; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.dreamform__note { font-size: .78rem; color: rgba(255,255,255,.55); margin: 14px 0 0; }
.dreamform__status { min-height: 1.4em; margin: 8px 0 0; font-weight: 700; color: var(--star); }
.dreamform__status.is-error { color: #ffb3c8; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 520px) { .dreamform__row { grid-template-columns: 1fr; } .dreamform__foot .btn { width: 100%; } }

.constellation {
  position: relative; min-height: 520px; border-radius: var(--radius);
  background: radial-gradient(120% 90% at 50% 0%, rgba(103,218,215,.08), transparent 60%), rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.1);
  overflow: hidden;
}
.constellation__count { position: absolute; top: 18px; left: 22px; z-index: 3; margin: 0; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.constellation__count b { font-family: var(--font-display); font-size: 1.5rem; color: var(--star); letter-spacing: 0; margin-right: 4px; }
.constellation__stars { position: absolute; inset: 0; }
.constellation__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.constellation__lines line { stroke: rgba(255, 246, 201, .22); stroke-width: 1; stroke-dasharray: 2 4; animation: dash 2.4s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -12; } }
.constellation__empty { position: absolute; inset: auto 0 44%; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: rgba(255,255,255,.6); margin: 0; pointer-events: none; }

.dstar {
  --s: 14px; --hue: var(--star);
  position: absolute; width: var(--s); height: var(--s); padding: 0; border: 0; cursor: pointer; background: none;
  translate: -50% -50%;
}
.dstar::before {
  content: ''; position: absolute; inset: 0;
  background: var(--hue);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  filter: drop-shadow(0 0 6px var(--hue));
  animation: twinkle var(--tw, 3s) ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
.dstar::after { content: ''; position: absolute; inset: -60%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--hue) 45%, transparent), transparent 65%); }
.dstar:hover::before, .dstar:focus-visible::before, .dstar.is-active::before { transform: scale(1.8) rotate(45deg); animation-play-state: paused; }
.dstar:focus-visible { outline: none; }
.dstar.is-new { animation: birth 1.4s var(--ease) both; }
@keyframes twinkle { 50% { opacity: .45; transform: scale(.8); } }
@keyframes birth { 0% { scale: 0; filter: brightness(3); } 60% { scale: 2.4; } 100% { scale: 1; } }

.bubble {
  position: absolute; z-index: 4; width: min(330px, 90%);
  padding: 16px 18px 14px; border-radius: 18px;
  background: rgba(255,250,251,.98); color: #3a0300;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,.6), 0 0 0 4px rgba(224,33,137,.25);
  font-size: .98rem; line-height: 1.45;
  animation: pop 260ms var(--ease);
}
.bubble q { display: block; padding-right: 18px; font-family: var(--font-display); font-style: italic; font-size: 1.15rem; quotes: '“' '”'; }
.bubble small { display: block; margin-top: 8px; color: #ad1c5d; font-weight: 700; }
.bubble .bb-close { position: absolute; top: 6px; right: 8px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: #6b4447; padding: 4px 6px; }
.bb-support { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #f0d6dd; display: grid; gap: 10px; }
.bb-cheer {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 0; font: 700 .9rem var(--font-body); color: #fff; background: linear-gradient(120deg, #e02189, #ad1c5d);
  box-shadow: 0 6px 16px -8px rgba(224,33,137,.9); transition: transform 150ms var(--ease);
}
.bb-cheer:active { transform: scale(.95); }
.bb-cheer[aria-pressed="true"] { background: #fdf71e; color: #3a0300; box-shadow: none; }
.bb-cheer b { font-variant-numeric: tabular-nums; }
.bb-enc { display: flex; flex-wrap: wrap; gap: 6px; }
.bb-chip {
  border: 1px solid #f0d6dd; background: #fdeef2; color: #3a0300; cursor: pointer;
  padding: 5px 10px; border-radius: 999px; font: 600 .78rem var(--font-body); transition: background 150ms, border-color 150ms;
}
.bb-chip:hover { border-color: #e02189; }
.bb-chip[aria-pressed="true"] { background: #ad1c5d; border-color: #ad1c5d; color: #fff; }
.bb-chip span { opacity: .75; margin-left: 4px; font-variant-numeric: tabular-nums; }
.bb-help {
  justify-self: start; border: 0; background: none; padding: 0; cursor: pointer;
  font: 700 .9rem var(--font-body); color: #ad1c5d; text-decoration: underline; text-underline-offset: 3px;
}
.bb-note { margin: 0; font-size: .8rem; color: #6b4447; }
.dstar { --glow: 1; }
.dstar::before { filter: drop-shadow(0 0 calc(6px * var(--glow)) var(--hue)); }

/* help form */
.helpdlg { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 22px; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.helpdlg::backdrop { background: rgba(14,0,10,.6); backdrop-filter: blur(3px); }
.helpdlg form { padding: 26px 24px 22px; display: grid; gap: 12px; }
.helpdlg h3 { margin: 0; font-size: 1.6rem; padding-right: 30px; }
.helpdlg .hd-dream { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--surface); font-family: var(--font-display); font-style: italic; }
.helpdlg .hd-lead { margin: 0; color: var(--muted); font-size: .92rem; }
.helpdlg label { font-weight: 700; font-size: .88rem; }
.helpdlg .opt { font-weight: 400; color: var(--muted); }
.helpdlg input[type=text], .helpdlg input[type=email], .helpdlg textarea {
  width: 100%; margin-top: 4px; padding: 11px 13px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--cream); color: var(--ink); font: 400 1rem/1.4 var(--font-body);
}
.helpdlg textarea { min-height: 90px; resize: vertical; }
.helpdlg input:focus, .helpdlg textarea:focus { outline: none; border-color: var(--fuchsia); box-shadow: 0 0 0 3px rgba(224,33,137,.2); }
.helpdlg fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.helpdlg legend { font-weight: 700; font-size: .88rem; margin-bottom: 4px; }
.helpdlg fieldset label { font-weight: 500; display: flex; gap: 8px; align-items: center; }
.helpdlg .hd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 520px) { .helpdlg .hd-row { grid-template-columns: 1fr; } }
.helpdlg .hd-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.helpdlg .hd-status { margin: 0; min-height: 1.2em; font-weight: 700; color: var(--accent-ink); }
.helpdlg .hd-status.is-error { color: #c0392b; }
.helpdlg .hd-fine { margin: 0; font-size: .78rem; color: var(--muted); }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }

.shooting { position: fixed; z-index: 60; width: 10px; height: 10px; pointer-events: none; }
.shooting::before { content: ''; position: absolute; inset: 0; background: var(--star); clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%); filter: drop-shadow(0 0 10px var(--joy)) drop-shadow(0 0 20px var(--fuchsia)); transform: scale(2.2); }

.dreamticker { position: relative; z-index: 2; margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid rgba(255,255,255,.1); overflow: hidden; padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.dreamticker__list { display: flex; gap: 40px; list-style: none; margin: 0; padding: 0; width: max-content; animation: marquee 60s linear infinite; }
.dreamticker:hover .dreamticker__list { animation-play-state: paused; }
.dreamticker__list li { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: rgba(255,255,255,.85); white-space: nowrap; }
.dreamticker__list li::before { content: '✦'; font-style: normal; color: var(--joy); margin-right: 12px; font-size: .8em; }
.dreamticker__list li span { font-family: var(--font-body); font-style: normal; font-size: .82rem; color: var(--aqua); margin-left: 8px; }
.dreamticker:empty, .dreamticker__list:empty { display: none; }

@media (max-width: 900px) {
  .dreamwall__grid { grid-template-columns: 1fr; }
  .constellation { min-height: 420px; }
}

/* ---------- tickets ---------- */
.tickets {
  position: relative; text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(224, 33, 137, .12), transparent 70%),
    linear-gradient(180deg, var(--reg-1), var(--reg-2));
  padding-top: clamp(64px, 7vw, 96px);
}
/* ticket-stub edge: a row of half-circle notches where About ends and Registration begins */
.tickets::before {
  content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 14px;
  background: radial-gradient(circle at 12px 0, var(--cream) 11px, transparent 11.5px) 0 0 / 24px 14px repeat-x;
}
/* dashed tear line just under the notches */
.tickets::after {
  content: ''; position: absolute; left: 0; right: 0; top: 26px; height: 0;
  border-top: 2px dashed color-mix(in srgb, var(--accent-ink) 35%, transparent);
}
.deadline {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(18px, 3vw, 34px);
  max-width: 760px; margin: 14px auto 24px; padding: clamp(18px, 3vw, 26px) clamp(18px, 3vw, 30px);
  border-radius: 26px; text-align: left; color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, rgba(253,247,30,.18), transparent 50%), linear-gradient(120deg, var(--fuchsia), var(--magenta) 60%, #7a1146);
  box-shadow: 0 24px 50px -24px rgba(173, 28, 93, .8);
}
.deadline__date {
  display: grid; place-items: center; min-width: 118px; padding: 12px 14px; border-radius: 18px;
  background: var(--cream); color: var(--ink); line-height: 1.1; text-align: center;
  transform: rotate(-3deg); box-shadow: 0 10px 24px -10px rgba(0,0,0,.45);
}
.deadline__date span { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.deadline__date b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; margin: 4px 0 2px; }
.deadline__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; line-height: 1.1; margin: 0 0 4px; }
.deadline__sub { margin: 0 0 12px; color: rgba(255,255,255,.88); font-size: .95rem; }
.deadline__clock { display: flex; gap: 8px; flex-wrap: wrap; }
.deadline__clock div { min-width: 58px; padding: 6px 8px; border-radius: 12px; background: rgba(0,0,0,.18); text-align: center; }
.deadline__clock b { display: block; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.deadline__clock span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
@media (max-width: 560px) { .deadline { grid-template-columns: 1fr; justify-items: start; } }

.save {
  position: absolute; top: 26px; right: 24px;
  padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: var(--joy); color: var(--ink); transform: rotate(4deg);
  box-shadow: 0 6px 16px -6px rgba(0,0,0,.35);
  transition: opacity 250ms, transform 250ms var(--ease);
}
.save[hidden] { display: inline-block !important; opacity: 0; transform: rotate(4deg) scale(.6); }

.toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 6px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px -12px rgba(173,28,93,.35); margin-top: 10px; }
.toggle button { position: relative; z-index: 1; border: 0; background: none; padding: 12px 26px; font: 700 .95rem var(--font-body); color: var(--muted); cursor: pointer; border-radius: 999px; transition: color 250ms; }
.toggle button[aria-selected="true"] { color: #fff; }
.toggle__pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 999px; background: linear-gradient(120deg, var(--fuchsia), var(--magenta)); transition: transform 350ms var(--ease); }
.toggle[data-active="regular"] .toggle__pill { transform: translateX(100%); }
.tickets__note { color: var(--muted); margin: 16px auto 0; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: clamp(18px, 3vw, 32px); margin-top: 30px; perspective: 1200px; }
.card {
  position: relative; overflow: hidden; text-align: left;
  padding: 34px 30px 30px; border-radius: 28px; background: var(--card);
  box-shadow: 0 1px 0 var(--line) inset, 0 30px 60px -30px rgba(58,3,0,.35);
  border: 1px solid var(--line);
  transform-style: preserve-3d; transition: transform 200ms ease-out, box-shadow 300ms;
}
.card--feature { background: linear-gradient(160deg, #2a0418, var(--night)); color: #fff; border-color: transparent; }
.card__shine { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(224,33,137,.18), transparent 50%); }
.card--feature .card__shine { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(103,218,215,.2), transparent 50%); }
.card:hover .card__shine { opacity: 1; }
.card__tag { display: inline-block; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--surface); color: var(--accent-ink); margin-bottom: 14px; }
.card--feature .card__tag { background: rgba(255,255,255,.1); color: var(--star); }
.card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 4.6rem; line-height: 1; margin: 10px 0 2px; display: flex; align-items: flex-start; }
.price__cur { font-size: .45em; margin-top: .25em; margin-right: 2px; }
.price__num { display: inline-block; transition: transform 300ms var(--ease), opacity 300ms; }
.price__num.flip { transform: translateY(-30%); opacity: 0; }
.price__was { font-size: .9rem; color: var(--muted); text-decoration: line-through; min-height: 1.4em; }
.card--feature .price__was { color: rgba(255,255,255,.55); }
.card ul { list-style: none; padding: 0; margin: 18px 0 26px; }
.card li { padding: 8px 0 8px 28px; position: relative; border-top: 1px dashed var(--line); }
.card--feature li { border-color: rgba(255,255,255,.12); }
.card li::before { content: '✦'; position: absolute; left: 2px; color: var(--fuchsia); }
.card--feature li::before { color: var(--joy); }
.card > .btn { margin-top: 24px; }
.tickets__soon { margin-top: 26px; font-weight: 700; color: var(--accent-ink); }
@media (max-width: 720px) { .cards { grid-template-columns: minmax(0, 420px); } }

/* ---------- hotel ---------- */
.hotel { background: var(--cream); }
.hotel__grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "card jade" "map map"; gap: 22px; margin-top: 20px; }
.hotel__card { grid-area: card; padding: 34px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.hotel__card h3 { font-size: 1.6rem; }
.hotel__card address { font-style: normal; font-size: 1.15rem; line-height: 1.55; margin-bottom: 16px; font-weight: 500; }
.hotel__card p { color: var(--muted); }
.hotel__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

.jade {
  grid-area: jade; position: relative; overflow: hidden; isolation: isolate;
  padding: 34px; border-radius: 28px; color: #fff;
  background: linear-gradient(160deg, #0f6e74 0%, #12494f 55%, #0b2f35 100%);
}
.jade h3 { font-size: clamp(2rem, 4vw, 2.8rem); }
.jade p { color: rgba(255,255,255,.88); max-width: 42ch; }
.jade__tag { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: #b9fffb; }
.jade__waves { position: absolute; inset: auto -10% -20px -10%; height: 140px; z-index: -1; }
.jade__waves span { position: absolute; inset: 0; border-radius: 45%; background: rgba(103,218,215,.18); animation: wave 9s linear infinite; }
.jade__waves span:nth-child(1) { top: 40px; width: 140%; left: -20%; height: 400px; }
.jade__waves span:nth-child(2) { top: 60px; width: 150%; left: -30%; height: 400px; animation-duration: 13s; background: rgba(103,218,215,.12); }
.jade__waves span:nth-child(3) { top: 80px; width: 160%; left: -25%; height: 400px; animation-duration: 17s; background: rgba(255,255,255,.07); }
@keyframes wave { to { transform: rotate(360deg); } }
.map { grid-area: map; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
@media (max-width: 860px) { .hotel__grid { grid-template-columns: 1fr; grid-template-areas: "card" "jade" "map"; } .hotel__card, .jade { padding: 26px; } }

/* ---------- faq ---------- */
.faq { background: var(--surface); }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; transition: box-shadow 250ms; }
.faq details[open] { box-shadow: 0 16px 40px -24px rgba(173,28,93,.5); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 22px; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 20px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  /* plus sign drawn with two bars so it sits exactly in the middle of the circle */
  background:
    linear-gradient(var(--accent-ink), var(--accent-ink)) center / 12px 2px no-repeat,
    linear-gradient(var(--accent-ink), var(--accent-ink)) center / 2px 12px no-repeat,
    var(--surface);
  transition: transform 250ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.faq details a { color: var(--accent-ink); font-weight: 700; }

/* ---------- finale ---------- */
.finale { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding: clamp(64px, 9vw, 110px) 0; background: radial-gradient(90% 90% at 50% 100%, #7a1146, transparent 65%), linear-gradient(180deg, var(--night-2), var(--night)); }
.finale__inner { position: relative; z-index: 2; }
.finale h2 { max-width: 18ch; margin: 0 auto; font-size: clamp(2.2rem, 5.6vw, 4.2rem); }
.finale h2 em { color: var(--joy); }
.finale__sub { margin: 18px 0 0; font-weight: 700; color: var(--star); letter-spacing: .02em; }

/* ---------- footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.7); padding: 46px 0; font-size: .92rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer p { margin: 0; }
.footer a { color: var(--aqua); text-decoration: none; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--rd, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .polaroid.reveal.is-in.p1 { transform: rotate(-6deg); }
.js .polaroid.reveal.is-in.p2 { transform: rotate(5deg); }
.js .polaroid.reveal.is-in.p3 { transform: rotate(-2deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track, .dreamticker__list { animation: none; }
}

/* ---------- light / dark toggle ---------- */
.theme-btn {
  margin-left: auto; margin-right: 14px; width: 32px; height: 32px; flex: none; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; color: #fff;
  background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
  transition: background 200ms, transform 300ms var(--ease);
}
.theme-btn:hover { background: rgba(255,255,255,.22); transform: rotate(-12deg); }
.theme-btn svg { width: 16px; height: 16px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (max-width: 820px) { .theme-btn { margin-right: 10px; } }
/* dark-mode touches the tokens can't reach */
:root[data-theme="dark"] .card--feature { box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(0,0,0,.8); }
:root[data-theme="dark"] .deadline__date { background: var(--ink); color: #2a0418; }
:root[data-theme="dark"] .stats li:first-child b, :root[data-theme="dark"] .stats li:first-child span { color: #fff; }
:root[data-theme="dark"] .hotel__card .btn--line { color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent-ink); }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; z-index: 45;
  right: max(18px, env(safe-area-inset-right, 0px)); bottom: max(18px, env(safe-area-inset-bottom, 0px));
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(120deg, var(--fuchsia), var(--magenta));
  box-shadow: 0 10px 24px -8px rgba(224, 33, 137, .7), 0 0 0 3px rgba(255, 255, 255, .25);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity 300ms ease, transform 300ms var(--ease), box-shadow 200ms;
}
.to-top svg { width: 22px; height: 22px; }
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -8px rgba(224, 33, 137, .9), 0 0 0 3px rgba(255, 255, 255, .35); }

/* Dream Wall: optional private email */
.dreamform .field--email { margin-top: 14px; }
.dreamform .field__hint { margin: 6px 0 0; font-size: .78rem; color: rgba(255,255,255,.55); }

/* Dream Wall: a tad more compact, fields lined up */
.dreamwall { padding-top: clamp(40px, 5vw, 64px); }
.dreamwall h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .3em; }
.dreamwall__intro > p { font-size: 1rem; margin-bottom: 0; }
.dreamform { margin-top: 18px; padding: clamp(16px, 2.4vw, 22px); }
.dreamform label { margin-bottom: 5px; white-space: nowrap; }
.dreamform label[for="dream"] { font-size: 1.3rem; }
.dreamform textarea { min-height: 72px; font-size: 1.02rem; }
.dreamform textarea, .dreamform input { padding: 10px 13px; }
.dreamform__row { margin-top: 10px; align-items: end; gap: 10px; }
.dreamform .field--email { margin-top: 10px; }
.dreamform .field__hint { margin-top: 4px; }
.dreamform__foot { margin-top: 12px; }
.dreamform__note { margin-top: 10px; }
.constellation { min-height: 440px; }
@media (max-width: 900px) { .constellation { min-height: 360px; } }

/* Dream bubble: compact */
.bubble { width: min(300px, 88%); padding: 12px 14px 11px; font-size: .9rem; border-radius: 16px; }
.bubble q { font-size: 1rem; line-height: 1.35; }
.bubble small { margin-top: 5px; font-size: .78rem; }
.bubble .bb-close { top: 3px; right: 5px; font-size: 1.05rem; }
.bb-support { margin-top: 8px; padding-top: 8px; gap: 7px; }
.bb-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.bb-cheer { padding: 5px 11px; font-size: .8rem; gap: 6px; }
.bb-help { font-size: .78rem; }
.bb-enc { gap: 4px; }
.bb-chip { padding: 3px 8px; font-size: .7rem; }
.bb-note { font-size: .72rem; }
/* spotlighted dreams fade in softly */
.bubble.is-auto { animation: pop 500ms var(--ease); }

/* Browse All Dreams */
.browse-btn {
  position: absolute; right: 16px; top: 12px; z-index: 3; cursor: pointer;
  padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.08); color: #fff; font: 700 .8rem var(--font-body); backdrop-filter: blur(6px);
  transition: background 200ms;
}
.browse-btn:hover { background: rgba(255,255,255,.18); }
.browse {
  width: min(640px, calc(100vw - 24px)); height: min(80vh, 760px); padding: 0; border: 0; border-radius: 22px;
  background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.5); overflow: hidden;
}
.browse[open] { display: flex; flex-direction: column; }
.browse::backdrop { background: rgba(14,0,10,.6); backdrop-filter: blur(3px); }
.browse__head { position: relative; padding: 20px 20px 10px; border-bottom: 1px solid var(--line); }
.browse__head h3 { margin: 0 0 10px; font-size: 1.5rem; }
.browse__head .hd-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 1.3rem; cursor: pointer; }
.browse__head input {
  width: 100%; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--cream); color: var(--ink); font: 400 1rem var(--font-body);
}
.browse__head input:focus { outline: none; border-color: var(--fuchsia); box-shadow: 0 0 0 3px rgba(224,33,137,.2); }
.browse__count { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.browse__list { list-style: none; margin: 0; padding: 6px 20px; overflow-y: auto; flex: 1; }
.browse__list li { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.browse__list q { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.02rem; line-height: 1.35; quotes: '“' '”'; }
.browse__list small { display: block; margin-top: 3px; font-size: .78rem; font-weight: 700; color: var(--accent-ink); }
.browse__list .bb-cheer { flex: none; padding: 5px 11px; font-size: .78rem; }
.browse__list .browse__empty { justify-content: center; color: var(--muted); border: 0; padding: 30px 0; }
.browse__foot { padding: 10px 20px 16px; display: flex; justify-content: center; }
.browse__foot .btn--line { color: var(--accent-ink); box-shadow: inset 0 0 0 1.5px var(--accent-ink); padding: 10px 20px; }
@media (max-width: 560px) { .browse { height: 88vh; } .browse-btn { top: auto; bottom: 12px; right: 12px; } }

.faq__ask { margin: 26px 0 0; text-align: center; font-size: 1.05rem; color: var(--ink); }
.faq__ask a { color: var(--accent-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
