/* ============================================================
   EzyGreek landing page
   Palette: ink navy, antique gold, warm cream
   Type: Cormorant Garamond (display), Outfit (body), Cinzel (labels)
   ============================================================ */

:root {
  --ink: #0b1526;
  --navy: #14243f;
  --navy-2: #1e2f55;
  --navy-soft: #2a3d63;
  --gold: #c9a85c;
  --gold-bright: #e3c57e;
  --gold-dim: #a8894a;
  --cream: #f7f2e7;
  --paper: #fdfbf5;
  --paper-2: #f3ecdd;
  --line: rgba(30, 47, 85, 0.14);
  --line-light: rgba(247, 242, 231, 0.16);
  --text: #22304c;
  --text-soft: #5a6780;
  --shadow-lg: 0 30px 80px -20px rgba(11, 21, 38, 0.45);
  --shadow-md: 0 16px 44px -14px rgba(11, 21, 38, 0.28);
  --shadow-sm: 0 6px 18px -6px rgba(11, 21, 38, 0.18);
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-label: "Cinzel", Georgia, serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.container--narrow { width: min(820px, calc(100% - 48px)); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Reveal system ----------
   Without JS everything is visible. With JS, [data-reveal] starts
   hidden and .is-in brings it up. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-weight: 600; line-height: 1.12; color: inherit; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--navy-2);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h2 em, h1 em {
  font-style: italic;
  color: var(--gold-dim);
}

.eyebrow {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow--light { color: var(--gold-bright); }

.section { padding: clamp(90px, 11vw, 150px) 0; }

.section__head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__lede {
  margin-top: 20px;
  font-size: 1.08rem;
  color: rgba(34, 48, 76, 0.72);
  font-weight: 300;
  max-width: 60ch;
}
.section__head--light h2 { color: var(--cream); }
.section__head--light h2 em { color: var(--gold-bright); }
.section__head--light .section__lede { color: rgba(247, 242, 231, 0.66); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--ease-snap), box-shadow 0.35s ease, background 0.35s ease;
  overflow: hidden;
}
.btn--gold {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-bright) 55%, var(--gold) 100%);
  background-size: 200% 100%;
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(201, 168, 92, 0.65);
}
.btn--gold:hover {
  background-position: 100% 0;
  box-shadow: 0 14px 38px -10px rgba(201, 168, 92, 0.85);
  transform: translateY(-2px);
}
.btn--gold::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn--gold:hover::after { left: 130%; }
.btn--big { padding: 19px 42px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ---------- Intro veil ---------- */
.veil {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 18px;
  color: var(--gold);
  transition: transform 0.85s cubic-bezier(0.7, 0, 0.3, 1), visibility 0s 0.85s;
}
.veil.is-done { transform: translateY(-101%); visibility: hidden; }
.veil__mark { width: 84px; height: 84px; }
.veil__stroke {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: veilDraw 0.9s var(--ease-out) forwards;
}
.veil__stroke:nth-child(2) { animation-delay: 0.08s; }
.veil__stroke:nth-child(3) { animation-delay: 0.16s; }
.veil__stroke:nth-child(4) { animation-delay: 0.22s; }
.veil__stroke:nth-child(5) { animation-delay: 0.28s; }
.veil__stroke:nth-child(6) { animation-delay: 0.34s; }
.veil__stroke:nth-child(7) { animation-delay: 0.42s; }
.veil__stroke:nth-child(8) { animation-delay: 0.5s; }
@keyframes veilDraw { to { stroke-dashoffset: 0; } }
.veil__word {
  font-family: var(--font-label);
  font-size: 0.8rem;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  color: rgba(201, 168, 92, 0.7);
  opacity: 0;
  animation: veilWord 0.7s ease 0.45s forwards;
}
@keyframes veilWord { to { opacity: 1; } }
.no-js .veil { display: none; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 150;
  background: transparent;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright));
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}
.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(11, 21, 38, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px -18px rgba(0, 0, 0, 0.6);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cream);
  margin-right: auto;
}
.nav__mark { width: 30px; height: 30px; color: var(--gold); flex: none; }
.nav__word {
  font-family: var(--font-label);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.12em;
}
.nav__links {
  display: flex;
  gap: 28px;
}
.nav__links a {
  position: relative;
  color: rgba(247, 242, 231, 0.78);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--cream); }
.nav__links a:hover::after, .nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__cta { padding: 11px 24px; font-size: 0.88rem; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  z-index: 95;
}
.nav__burger span {
  width: 26px; height: 2px;
  background: var(--cream);
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- Drawer ---------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  display: grid;
  place-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s 0.4s;
}
.drawer.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer__links {
  display: grid;
  gap: 26px;
  justify-items: center;
}
.drawer__links a {
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.7rem;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
}
.drawer.is-open .drawer__links a { opacity: 1; transform: none; }
.drawer.is-open .drawer__links a:nth-child(1) { transition-delay: 0.08s; }
.drawer.is-open .drawer__links a:nth-child(2) { transition-delay: 0.13s; }
.drawer.is-open .drawer__links a:nth-child(3) { transition-delay: 0.18s; }
.drawer.is-open .drawer__links a:nth-child(4) { transition-delay: 0.23s; }
.drawer.is-open .drawer__links a:nth-child(5) { transition-delay: 0.28s; }
.drawer.is-open .drawer__links a:nth-child(6) { transition-delay: 0.34s; }
.drawer__links .btn { font-family: var(--font-body); font-size: 0.95rem; margin-top: 10px; }
.drawer__meander {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  width: 180px; height: 14px;
  background-image: repeating-linear-gradient(90deg, var(--gold) 0 2px, transparent 2px 10px);
  opacity: 0.4;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 110px;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.08);
  animation: kenburns 34s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1.08) translate(0, 0); }
  to { transform: scale(1.18) translate(-1.6%, 1.4%); }
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 21, 38, 0.72) 0%, rgba(11, 21, 38, 0.55) 40%, var(--ink) 96%),
    radial-gradient(90% 70% at 22% 42%, rgba(11, 21, 38, 0.55) 0%, transparent 100%);
}
.hero__dust {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
/* Grid items must be allowed to shrink below their min-content, or a wide
   child (the email input's intrinsic size) forces the track past the container. */
.hero__copy, .hero__stage { min-width: 0; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 600;
  color: var(--cream);
  margin: 4px 0 22px;
  letter-spacing: -0.01em;
  line-height: 1.08;
}
.hero__title em { color: var(--gold-bright); }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__line > span { display: block; }
.js .hero__line > span {
  transform: translateY(112%);
  animation: lineUp 1.1s var(--ease-out) forwards;
  animation-delay: 0.55s;
}
.js .hero__line:nth-child(2) > span { animation-delay: 0.7s; }
@keyframes lineUp { to { transform: translateY(0); } }
.hero__lede {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(247, 242, 231, 0.82);
  max-width: 52ch;
  margin-bottom: 34px;
}

/* Hero CTA block */
.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__cta .btn { padding: 16px 34px; }
.hero__cta .wl-form__note { margin-top: 14px; }
.wl-form__note {
  margin-top: 12px;
  font-size: 0.83rem;
  color: rgba(247, 242, 231, 0.55);
}
.wl-form__success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--gold-bright);
  font-weight: 500;
  font-size: 0.95rem;
}
.wl-form__success svg { width: 20px; height: 20px; flex: none; }

/* Spam trap: hidden from humans, visible to bots that fill every field */
.hp-field {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Submit failure message */
.wl-form__error {
  display: none;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #e8907f;
}
.wl-form__error:not(:empty) { display: block; }
.access__form.is-done .wl-form__error { display: none; }

/* Pending state */
.is-sending button[type="submit"] { opacity: 0.75; cursor: wait; }

.hero__proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  color: rgba(247, 242, 231, 0.6);
  font-size: 0.88rem;
  max-width: 420px;
}
.hero__avatars { display: flex; flex: none; }
.hero__avatars span {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy-2));
  border: 2px solid var(--ink);
  color: var(--gold-bright);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: grid;
  place-items: center;
}
.hero__avatars span + span { margin-left: -9px; }

/* Hero phone stage */
.hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}
.js .hero__stage .phone {
  opacity: 0;
  animation: phoneIn 1.2s var(--ease-out) 0.85s forwards;
}
@keyframes phoneIn {
  from { opacity: 0; transform: translateY(46px); }
  to { opacity: 1; transform: translateY(0); }
}

.phone {
  position: relative;
  width: min(290px, 76vw);
  aspect-ratio: 9 / 19;
  background: linear-gradient(160deg, #2c3a58, #101c33);
  border-radius: 44px;
  padding: 12px;
  box-shadow:
    inset 0 0 0 2px rgba(247, 242, 231, 0.08),
    0 50px 100px -30px rgba(0, 0, 0, 0.75);
}
.phone__notch {
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 86px; height: 22px;
  background: #0a1322;
  border-radius: 12px;
  z-index: 5;
}
.phone__screens {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(175deg, #f9f6ef 0%, #efe9db 100%);
}
.phone__dots {
  position: absolute;
  bottom: -28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.phone__dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(247, 242, 231, 0.25);
  transition: background 0.3s, transform 0.3s;
}
.phone__dots span.is-on { background: var(--gold); transform: scale(1.25); }

/* Phone screens */
.pscreen {
  position: absolute;
  inset: 0;
  padding: 54px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateX(26px);
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out);
  pointer-events: none;
  overflow: hidden;
}
.pscreen.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.pui__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2px;
}
.pui__hi { font-size: 0.66rem; color: #8b93a5; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.pui__title { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; color: var(--navy-2); line-height: 1.1; }
.pui__badge {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.pui__week {
  display: flex;
  justify-content: space-between;
  padding: 8px 6px;
  background: rgba(30, 47, 85, 0.05);
  border-radius: 12px;
  font-size: 0.62rem;
  font-weight: 600;
  color: #8b93a5;
}
.pui__week span { width: 22px; text-align: center; padding: 3px 0; border-radius: 8px; }
.pui__week .on { background: var(--navy-2); color: var(--cream); }
.pui__card {
  background: #fff;
  border: 1px solid rgba(30, 47, 85, 0.08);
  border-radius: 14px;
  box-shadow: 0 3px 12px -4px rgba(30, 47, 85, 0.12);
}
.pui__event {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
}
.pui__event--soon { border-color: rgba(201, 168, 92, 0.55); }
.pui__time {
  flex: none;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold-dim);
  width: 44px;
}
.pui__ev { font-size: 0.78rem; font-weight: 600; color: var(--navy-2); line-height: 1.25; }
.pui__sub { font-size: 0.64rem; color: #8b93a5; }
.pui__event > div { flex: 1; min-width: 0; }
.pui__chip {
  flex: none;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 100px;
  background: rgba(30, 47, 85, 0.08);
  color: var(--navy-2);
}
.pui__chip--gold { background: rgba(201, 168, 92, 0.22); color: var(--gold-dim); }
.pui__chip--warn { background: var(--navy-2); color: var(--cream); }

.pui__ring-wrap {
  position: relative;
  width: 132px;
  margin: 10px auto 4px;
}
.pui__ring { width: 100%; transform: rotate(-90deg); }
.pui__ring-track { fill: none; stroke: rgba(30, 47, 85, 0.1); stroke-width: 9; }
.pui__ring-fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 62;
  transition: stroke-dashoffset 0.8s var(--ease-out);
}
.pui__ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.pui__ring-label strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy-2);
  line-height: 1;
}
.pui__ring-label span { font-size: 0.62rem; color: #8b93a5; }
.pui__rsvp-row { display: flex; gap: 8px; margin-top: 6px; }
.pui__btn {
  flex: 1;
  padding: 11px 0;
  border-radius: 100px;
  border: 1.5px solid rgba(30, 47, 85, 0.18);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy-2);
  cursor: pointer;
  transition: transform 0.2s var(--ease-snap), background 0.25s, border-color 0.25s, color 0.25s;
}
.pui__btn:active { transform: scale(0.95); }
.pui__btn.is-picked { background: var(--navy-2); border-color: var(--navy-2); color: var(--cream); }
.pui__foot { text-align: center; font-size: 0.64rem; color: #8b93a5; margin-top: auto; }

.pui__chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  overflow: hidden;
}
.pui__chat--live { overflow-y: auto; scrollbar-width: none; }
.pui__chat--live::-webkit-scrollbar { display: none; }
.pui__msg { display: flex; gap: 8px; align-items: flex-end; }
.pui__msg > div { max-width: 82%; }
.pui__msg--me { justify-content: flex-end; }
.pui__ava {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-soft), var(--navy-2));
  color: var(--gold-bright);
  font-size: 0.56rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.pui__who { font-size: 0.6rem; color: #8b93a5; margin: 0 0 2px 4px; }
.pui__bubble {
  background: #fff;
  border: 1px solid rgba(30, 47, 85, 0.08);
  padding: 8px 11px;
  border-radius: 14px 14px 14px 4px;
  font-size: 0.74rem;
  color: var(--navy-2);
  line-height: 1.35;
}
.pui__msg--me .pui__bubble {
  background: var(--navy-2);
  color: var(--cream);
  border-radius: 14px 14px 4px 14px;
  border-color: var(--navy-2);
}
.pui__bubble--typing { display: inline-flex; gap: 4px; padding: 11px 13px; }
.pui__bubble--typing span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #a9b0bf;
  animation: typing 1.2s ease infinite;
}
.pui__bubble--typing span:nth-child(2) { animation-delay: 0.18s; }
.pui__bubble--typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-4px); opacity: 1; }
}
.pui__compose {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.pui__compose input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid rgba(30, 47, 85, 0.14);
  border-radius: 100px;
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: 0.74rem;
  outline: none;
  background: #fff;
  color: var(--navy-2);
}
.pui__compose input:focus { border-color: var(--gold); }
.pui__compose button {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s var(--ease-snap);
}
.pui__compose button:active { transform: scale(0.88); }

.pui__due {
  background: linear-gradient(140deg, var(--navy-2), var(--navy));
  border-radius: 18px;
  padding: 20px 18px;
  color: var(--cream);
  transition: opacity 0.4s ease;
}
.pui__due-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(247, 242, 231, 0.6); }
.pui__due-amt { font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; line-height: 1.15; }
.pui__due-sub { font-size: 0.64rem; color: rgba(247, 242, 231, 0.6); }
.pui__pay {
  position: relative;
  padding: 13px 0;
  border: none;
  border-radius: 100px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s var(--ease-snap), opacity 0.3s;
}
.pui__pay:active { transform: scale(0.96); }
.pui__paid {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(96, 138, 91, 0.14);
  border: 1px solid rgba(96, 138, 91, 0.4);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 0.74rem;
  font-weight: 600;
  color: #4c7247;
}
.pui__paid.is-on { display: flex; }
.pui__paid-check {
  width: 24px; height: 24px;
  flex: none;
  border-radius: 50%;
  background: #608a5b;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}
.pui__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pui__stat {
  background: #fff;
  border: 1px solid rgba(30, 47, 85, 0.08);
  border-radius: 14px;
  padding: 10px 6px;
  text-align: center;
}
.pui__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-2);
  line-height: 1.1;
}
.pui__stat span { font-size: 0.58rem; color: #8b93a5; }

/* Floating cards around hero phone */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(253, 251, 245, 0.96);
  border-radius: 14px;
  padding: 10px 16px 10px 10px;
  box-shadow: var(--shadow-md);
  z-index: 4;
}
.js .float-card {
  opacity: 0;
  animation: floatIn 0.9s var(--ease-out) forwards;
}
.js .float-card--1 { animation-delay: 1.5s; }
.js .float-card--2 { animation-delay: 1.75s; }
.js .float-card--3 { animation-delay: 2s; }
.float-card--1 { top: 16%; left: -6%; }
.float-card--2 { bottom: 20%; right: -8%; }
.float-card--3 { top: 4%; right: -2%; }
@keyframes floatIn {
  from { opacity: 0; transform: translateY(18px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.float-card__inner-bob { animation: bob 5.5s ease-in-out infinite; }
.float-card__icon {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 10px;
  background: rgba(201, 168, 92, 0.2);
  color: var(--gold-dim);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}
.float-card__icon--navy { background: var(--navy-2); color: var(--gold-bright); font-size: 0.78rem; }
.float-card__t { font-size: 0.76rem; font-weight: 700; color: var(--navy-2); line-height: 1.2; }
.float-card__s { font-size: 0.66rem; color: #78819a; }

.hero__scrollcue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 26px; height: 42px;
  border: 1.5px solid rgba(247, 242, 231, 0.35);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.hero__scrollcue span {
  width: 3px; height: 8px;
  border-radius: 3px;
  background: var(--gold);
  animation: cue 1.8s ease infinite;
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@media (max-width: 980px) {
  .hero { padding-top: 130px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__stage { margin-top: 40px; }
  .float-card--1 { left: 0; }
  .float-card--2 { right: 0; }
  .float-card--3 { right: 4%; }
  .hero__scrollcue { display: none; }
}

@media (max-width: 560px) {
  .hero__cta { align-items: stretch; text-align: center; }
  .hero__cta .btn { width: 100%; }
  .float-card--2, .float-card--3 { display: none; }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  background: var(--ink);
  border-top: 1px solid rgba(201, 168, 92, 0.25);
  border-bottom: 1px solid rgba(201, 168, 92, 0.25);
  padding: 16px 0;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__seq {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee__seq b {
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.75);
  padding: 0 28px;
  white-space: nowrap;
}
.marquee__seq i {
  font-style: normal;
  color: var(--gold);
  font-size: 0.9rem;
}

/* ---------- Problem / chaos ---------- */
.problem { background: var(--paper); position: relative; }
.problem .section__head { text-align: center; margin-inline: auto; }
.problem .eyebrow::before { display: none; }

.chaos {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  height: 380px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(80% 90% at 50% 10%, rgba(201, 168, 92, 0.1), transparent),
    linear-gradient(180deg, #fefcf7, var(--paper-2));
  border: 1px solid var(--line);
  overflow: hidden;
}
.chaos__stage { position: absolute; inset: 0; }
.chip {
  position: absolute;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-2);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  animation: chipFloat 11s ease-in-out infinite;
  animation-delay: calc(var(--i) * -1.3s);
}
@keyframes chipFloat {
  0%, 100% { transform: translate(0, 0) rotate(var(--tilt, -1deg)); }
  25% { transform: translate(14px, -12px) rotate(calc(var(--tilt, -1deg) * -1)); }
  50% { transform: translate(-6px, -18px) rotate(var(--tilt, -1deg)); }
  75% { transform: translate(-14px, 8px) rotate(calc(var(--tilt, -1deg) * -0.5)); }
}
.chip:nth-child(1) { top: 12%; left: 6%; --tilt: -2deg; }
.chip:nth-child(2) { top: 8%; right: 10%; --tilt: 2deg; }
.chip:nth-child(3) { top: 34%; left: 22%; --tilt: 1.5deg; }
.chip:nth-child(4) { top: 30%; right: 24%; --tilt: -1.5deg; }
.chip:nth-child(5) { top: 55%; left: 8%; --tilt: 2deg; }
.chip:nth-child(6) { top: 58%; left: 42%; --tilt: -2deg; }
.chip:nth-child(7) { top: 52%; right: 6%; --tilt: 1deg; }
.chip:nth-child(8) { top: 78%; left: 18%; --tilt: -1deg; }
.chip:nth-child(9) { top: 76%; right: 16%; --tilt: 2deg; }
@media (max-width: 640px) {
  .chip { font-size: 0.68rem; padding: 7px 11px; }
  .chaos { height: 330px; }
  .chip:nth-child(3) { left: 12%; }
  .chip:nth-child(4) { right: 8%; }
  .chip:nth-child(6) { left: 30%; }
}

/* ---------- Features bento ---------- */
.features {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.bcard {
  grid-column: span 1;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease, border-color 0.45s ease;
}
.bcard:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 60px -24px rgba(30, 47, 85, 0.3);
  border-color: rgba(201, 168, 92, 0.5);
}
@media (min-width: 981px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bcard { grid-column: span 1; }
  .bcard--wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bcard, .bcard--wide { grid-column: span 1; }
}
.bcard h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--navy-2);
  margin-top: 18px;
}
.bcard > p { font-size: 0.93rem; color: rgba(34, 48, 76, 0.7); font-weight: 300; }
.bcard__demo {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 16px;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  flex: none;
}

/* calendar demo */
.bdemo-cal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-2);
}
.bdemo-cal__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.bdemo-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-size: 0.72rem;
  color: #8b93a5;
}
.bdemo-cal__grid span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 9px;
  max-height: 34px;
}
.bdemo-cal__grid .ev { font-weight: 600; }
.bdemo-cal__grid .ev--a { background: rgba(201, 168, 92, 0.25); color: var(--gold-dim); }
.bdemo-cal__grid .ev--b { background: var(--navy-2); color: var(--cream); }
.bdemo-cal__item {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 12px;
}
.bdemo-cal__bar { width: 3.5px; height: 30px; flex: none; border-radius: 3px; background: var(--navy-2); }
.bdemo-cal__bar--gold { background: var(--gold); }
.bdemo-cal__item p { font-size: 0.8rem; font-weight: 600; color: var(--navy-2); line-height: 1.25; }
.bdemo-cal__item small { font-size: 0.68rem; color: #8b93a5; }

/* rsvp demo */
.bdemo-rsvp { justify-content: center; }
.bdemo-rsvp__q { font-weight: 600; font-size: 0.9rem; color: var(--navy-2); }
.bdemo-rsvp__btns { display: flex; gap: 8px; }
.bdemo-rsvp__btns button {
  flex: 1;
  padding: 9px 0;
  border-radius: 100px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-2);
  pointer-events: none;
}
.bdemo-rsvp__btns .on { background: var(--navy-2); border-color: var(--navy-2); color: var(--cream); }
.bdemo-rsvp__bar, .bdemo-dues__bar, .access__spots-bar {
  height: 7px;
  border-radius: 100px;
  background: rgba(30, 47, 85, 0.1);
  overflow: hidden;
}
.bdemo-rsvp__bar span, .bdemo-dues__bar span, .access__spots-bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold-bright));
  transition: width 1.4s var(--ease-out) 0.2s;
}
.access__spots-bar { background: rgba(247, 242, 231, 0.14); }
.bdemo-rsvp__n { font-size: 0.78rem; color: #8b93a5; }
.bdemo-rsvp__n b { color: var(--navy-2); font-weight: 700; }

/* chat demo */
.bdemo-chat { justify-content: center; }
.bdemo-chat__row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  color: var(--navy-2);
  transition: background 0.25s ease;
}
.bdemo-chat__row span { color: var(--gold-dim); font-weight: 700; }
.bdemo-chat__row p { flex: 1; font-weight: 500; }
.bdemo-chat__row b {
  background: var(--gold);
  color: var(--ink);
  font-size: 0.62rem;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 100px;
  display: grid;
  place-items: center;
}
.bdemo-chat__row .pin {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 600;
  color: #8b93a5;
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 100px;
}
.bdemo-chat__row.on { background: rgba(30, 47, 85, 0.06); }
.bcard:hover .bdemo-chat__row.on { background: rgba(201, 168, 92, 0.16); }

/* dues demo */
.bdemo-dues { justify-content: center; }
.bdemo-dues__label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8b93a5; font-weight: 600; }
.bdemo-dues__big {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-2);
  line-height: 1.05;
}
.bdemo-dues__row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: var(--navy-2);
  font-weight: 500;
}
.bdemo-dues__row p { flex: 1; }
.bdemo-dues__row small { color: #8b93a5; font-size: 0.7rem; }
.bdemo-dues__row .ok {
  width: 20px; height: 20px;
  flex: none;
  border-radius: 50%;
  background: #608a5b;
  color: #fff;
  font-size: 0.62rem;
  display: grid;
  place-items: center;
}
.bdemo-dues__row .wait {
  width: 20px; height: 20px;
  flex: none;
  border-radius: 50%;
  background: rgba(201, 168, 92, 0.3);
  color: var(--gold-dim);
  font-size: 0.62rem;
  display: grid;
  place-items: center;
}

/* directory demo */
.bdemo-dir { justify-content: center; }
.bdemo-dir__search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 100px;
  background: #fff;
  padding: 9px 14px;
  font-size: 0.82rem;
  color: var(--navy-2);
  font-weight: 500;
  min-height: 38px;
}
.bdemo-dir__search svg { width: 15px; height: 15px; color: #8b93a5; flex: none; }
.bdemo-dir__caret {
  width: 1.5px; height: 15px;
  background: var(--gold-dim);
  animation: caret 1.1s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.bdemo-dir__row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
}
.bdemo-dir__row .ava {
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.bdemo-dir__row .ava--b { background: linear-gradient(135deg, var(--navy-soft), var(--navy-2)); color: var(--gold-bright); }
.bdemo-dir__row p { font-size: 0.8rem; font-weight: 600; color: var(--navy-2); line-height: 1.2; }
.bdemo-dir__row small { font-size: 0.68rem; color: #8b93a5; }

/* push demo */
.bdemo-push {
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.bdemo-push__phone { flex: 1.2; display: grid; gap: 10px; }
.bdemo-push__notif {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}
.bcard:hover .bdemo-push__notif { animation: nudge 0.5s var(--ease-snap); }
.bcard:hover .bdemo-push__notif--2 { animation-delay: 0.12s; }
@keyframes nudge {
  0% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}
.bdemo-push__app {
  width: 32px; height: 32px;
  flex: none;
  border-radius: 9px;
  background: var(--navy-2);
  display: grid;
  place-items: center;
}
.bdemo-push__app svg { width: 18px; height: 18px; color: var(--gold-bright); }
.bdemo-push__notif p { font-size: 0.72rem; color: var(--navy-2); }
.bdemo-push__notif small { font-size: 0.7rem; color: #78819a; }
.bdemo-push__stats { flex: 1; display: grid; gap: 12px; }
.bdemo-push__stats p {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy-2);
  line-height: 1.1;
}
.bdemo-push__stats small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  color: #8b93a5;
}
@media (max-width: 640px) {
  .bdemo-push { flex-direction: column; align-items: stretch; }
}

/* ---------- Demo scrollytelling ---------- */
.demo {
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(42, 61, 99, 0.5), transparent),
    linear-gradient(180deg, var(--ink), var(--navy) 60%, var(--ink));
  color: var(--cream);
  padding: clamp(90px, 11vw, 150px) 0;
}
.demo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.demo__steps { display: grid; gap: clamp(30px, 5vh, 54px); padding-bottom: 10vh; }
.dstep {
  border-left: 2px solid rgba(247, 242, 231, 0.14);
  padding: 6px 0 6px 26px;
  opacity: 0.38;
  transition: opacity 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}
.dstep.is-active {
  opacity: 1;
  border-color: var(--gold);
  transform: translateX(4px);
}
.dstep__day {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.dstep h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 8px 0 10px;
}
.dstep p { font-size: 0.98rem; font-weight: 300; color: rgba(247, 242, 231, 0.72); max-width: 46ch; }

.demo__stage {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}
.demo__tabs {
  display: flex;
  gap: 6px;
  background: rgba(247, 242, 231, 0.08);
  border: 1px solid rgba(247, 242, 231, 0.14);
  padding: 5px;
  border-radius: 100px;
}
.demo__tabs button {
  border: none;
  background: none;
  color: rgba(247, 242, 231, 0.6);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.demo__tabs button[aria-selected="true"] {
  background: var(--gold);
  color: var(--ink);
}
.phone--demo {
  box-shadow:
    inset 0 0 0 2px rgba(247, 242, 231, 0.08),
    0 60px 120px -30px rgba(0, 0, 0, 0.8),
    0 0 90px -18px rgba(201, 168, 92, 0.28);
}
@media (max-width: 900px) {
  .demo__grid { grid-template-columns: 1fr; }
  .demo__stage { position: relative; top: 0; order: -1; }
  .demo__steps { padding-bottom: 0; }
  .demo__tabs { flex-wrap: wrap; justify-content: center; border-radius: 20px; }
}

/* ---------- Roles ---------- */
.roles { background: var(--paper); }
.roles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .roles__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .roles__grid { grid-template-columns: 1fr; }
}
.rcard {
  perspective: 1100px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  height: 240px;
  font-family: var(--font-body);
  text-align: left;
}
.rcard__inner {
  position: relative;
  display: block;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s var(--ease-out);
}
.rcard.is-flipped .rcard__inner { transform: rotateY(180deg); }
.rcard__front, .rcard__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--r-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.rcard__front {
  background: #fffdf8;
  border: 1px solid var(--line);
  align-items: flex-start;
  justify-content: flex-end;
  gap: 4px;
  overflow: hidden;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.rcard:hover .rcard__front {
  border-color: rgba(201, 168, 92, 0.55);
  box-shadow: 0 22px 44px -18px rgba(30, 47, 85, 0.3);
}
.rcard__glyph {
  position: absolute;
  top: 6px; right: 16px;
  font-family: var(--font-display);
  font-size: 5.4rem;
  font-weight: 500;
  color: rgba(201, 168, 92, 0.18);
  line-height: 1;
  transition: color 0.4s ease, transform 0.5s var(--ease-out);
}
.rcard:hover .rcard__glyph { color: rgba(201, 168, 92, 0.4); transform: translateY(-4px); }
.rcard__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-2);
}
.rcard__tag {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-soft);
}
.rcard__hint {
  font-size: 0.7rem;
  color: #a0a8ba;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rcard__hint::before {
  content: "";
  width: 16px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.rcard__back {
  background: linear-gradient(150deg, var(--navy-2), var(--navy));
  color: var(--cream);
  transform: rotateY(180deg);
  justify-content: center;
  gap: 10px;
}
.rcard__b-title {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--gold-bright);
}
.rcard__b-text { font-size: 0.86rem; font-weight: 300; color: rgba(247, 242, 231, 0.82); line-height: 1.5; }

/* ---------- Why it matters (statement band) ---------- */
.creed {
  padding: clamp(80px, 10vw, 130px) 0;
  background: linear-gradient(180deg, var(--paper), var(--paper-2));
  text-align: center;
}
.creed .section__head {
  margin: 0 auto;
  max-width: 640px;
}
.creed .eyebrow::before { display: none; }
.creed .section__lede { margin-inline: auto; }

/* ---------- How ---------- */
.how { background: var(--paper-2); }
.how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  list-style: none;
  position: relative;
}
.hstep {
  position: relative;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 28px 30px;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s ease;
}
.hstep:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 54px -22px rgba(30, 47, 85, 0.28);
}
.hstep__num {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 500;
  color: rgba(201, 168, 92, 0.4);
  line-height: 1;
  display: block;
  margin-bottom: 14px;
}
.hstep h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--navy-2);
  margin-bottom: 10px;
}
.hstep p { font-size: 0.92rem; font-weight: 300; color: rgba(34, 48, 76, 0.7); }
@media (max-width: 860px) {
  .how__steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

/* ---------- Early access ---------- */
.access {
  position: relative;
  padding: clamp(90px, 11vw, 150px) 0;
  background: var(--ink);
  overflow: hidden;
}
.access__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 21, 38, 0.9), rgba(11, 21, 38, 0.72)),
    url("assets/photos/ionic-columns.jpg") center 30% / cover no-repeat;
}
.access .container { position: relative; z-index: 2; }
.access__card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 5vw, 70px);
  background: rgba(20, 36, 63, 0.55);
  border: 1px solid rgba(201, 168, 92, 0.28);
  border-radius: var(--r-lg);
  padding: clamp(30px, 4.5vw, 60px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-lg);
}
.access__left h2 { color: var(--cream); margin-bottom: 18px; }
.access__left h2 em { color: var(--gold-bright); }
.access__left > p { color: rgba(247, 242, 231, 0.72); font-weight: 300; max-width: 48ch; }
.access__perks {
  list-style: none;
  display: grid;
  gap: 13px;
  margin: 26px 0 30px;
}
.access__perks li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: rgba(247, 242, 231, 0.85);
  font-size: 0.95rem;
}
.access__perks span {
  color: var(--gold);
  font-weight: 700;
}
.access__spots { max-width: 380px; }
.access__spots p {
  margin-top: 10px;
  font-size: 0.85rem;
  color: rgba(247, 242, 231, 0.6);
}
.access__spots b { color: var(--gold-bright); font-weight: 700; }

.access__form { display: grid; gap: 16px; align-content: start; }
.field { display: grid; gap: 7px; }
.field--split {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field--split > div { display: grid; gap: 7px; }
.field label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(247, 242, 231, 0.55);
}
.field input, .field select {
  width: 100%;
  background: rgba(247, 242, 231, 0.07);
  border: 1px solid rgba(247, 242, 231, 0.2);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.field input:focus, .field select:focus {
  border-color: rgba(201, 168, 92, 0.8);
  box-shadow: 0 0 0 4px rgba(201, 168, 92, 0.13);
  background: rgba(247, 242, 231, 0.1);
}
.field input::placeholder { color: rgba(247, 242, 231, 0.35); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23C9A85C' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field select option { background: var(--navy); color: var(--cream); }
.access__form .wl-form__note { text-align: center; margin-top: 2px; }
.access__form.is-done .field,
.access__form.is-done .btn,
.access__form.is-done .wl-form__note { display: none; }
.access__form.is-done .wl-form__success {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}
input.is-invalid {
  border-color: rgba(214, 116, 100, 0.85) !important;
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}
@media (max-width: 900px) {
  .access__card { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq .section__head { text-align: center; margin-inline: auto; }
.faq .eyebrow::before { display: none; }
.faq__list { display: grid; gap: 14px; }
.faq__item {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq__item[open] {
  border-color: rgba(201, 168, 92, 0.5);
  box-shadow: var(--shadow-sm);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--navy-2);
  transition: color 0.25s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-dim); }
.faq__x {
  position: relative;
  flex: none;
  width: 22px; height: 22px;
}
.faq__x::before, .faq__x::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 2px;
  background: var(--gold-dim);
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease-out);
}
.faq__x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__x::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__body { overflow: hidden; }
.faq__body p {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(34, 48, 76, 0.75);
  max-width: 64ch;
}

/* ---------- Final band ---------- */
.final {
  position: relative;
  padding: clamp(110px, 13vw, 180px) 0;
  background: var(--ink);
  overflow: hidden;
  text-align: center;
}
.final__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 21, 38, 0.85), rgba(11, 21, 38, 0.6) 55%, rgba(11, 21, 38, 0.92)),
    url("assets/photos/dusk-columns.jpg") center 20% / cover no-repeat;
}
.final__inner { position: relative; z-index: 2; }
.final__mark {
  width: 56px; height: 56px;
  color: var(--gold);
  margin: 0 auto 26px;
  opacity: 0.9;
}
.final h2 {
  color: var(--cream);
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  margin-bottom: 34px;
}
.final h2 em { color: var(--gold-bright); }
.final__sub {
  margin-top: 18px;
  color: rgba(247, 242, 231, 0.55);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(247, 242, 231, 0.7);
  padding-bottom: 34px;
}
.footer__meander {
  height: 7px;
  background-image: repeating-linear-gradient(90deg, rgba(201, 168, 92, 0.4) 0 2px, transparent 2px 12px);
  margin-bottom: 60px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(247, 242, 231, 0.1);
}
.footer__brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 300;
  max-width: 34ch;
  color: rgba(247, 242, 231, 0.55);
}
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col h4 {
  font-family: var(--font-label);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.footer__col a {
  color: rgba(247, 242, 231, 0.66);
  text-decoration: none;
  font-size: 0.92rem;
  width: fit-content;
  transition: color 0.25s ease;
}
.footer__col a:hover { color: var(--gold-bright); }
.footer__fine { font-size: 0.8rem; font-weight: 300; color: rgba(247, 242, 231, 0.45); }
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 26px;
  font-size: 0.84rem;
  color: rgba(247, 242, 231, 0.45);
}
.footer__top {
  color: rgba(247, 242, 231, 0.6);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer__top:hover { color: var(--gold-bright); }
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; }
}

/* ---------- Confetti bits ---------- */
.confetti-bit {
  position: fixed;
  width: 9px; height: 9px;
  z-index: 400;
  pointer-events: none;
  border-radius: 2px;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .hero__line > span { transform: none; animation: none; }
  .js .float-card { opacity: 1; animation: none; }
  .js .hero__stage .phone { opacity: 1; animation: none; }
  .hero__photo { animation: none; }
  .veil { display: none; }
}
