/* El Club de las Emprendedoras · landing (mobile first)
   Components mirror the Figma library: Club/Nav, Club/Button, Club/Input,
   Club/Kicker, Club/Sticker, Club/Note, Club/Card/Week, Club/Card/ForYou,
   Club/FAQ Item, Club/Waitlist Form, Club/Phone, Club/Footer. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--surface-default);
  color: var(--text-default);
  font: var(--type-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
main > section, .footer { overflow-x: clip; } /* nothing may widen the page on phones */
a { color: inherit; text-underline-offset: 3px; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 3px; }

.skip-link {
  position: absolute; left: var(--space-16); top: -60px; z-index: 100;
  background: var(--surface-inverse); color: var(--text-inverse);
  padding: var(--space-8) var(--space-16); border-radius: var(--radius-pill);
}
.skip-link:focus { top: var(--space-8); }

/* ---------- Typography ---------- */
.display { font: var(--type-display); font-size: clamp(36px, 11.6vw, 44px); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
/* The underlined phrase never wraps, so the hero headline scales with the
   column it sits in: "cero a emprendedora" is ~10.5em wide. */
.hero__copy { container-type: inline-size; }
.hero .display {
  font-size: clamp(24px, calc((100vw - 2 * var(--gutter)) / 10.8), 44px);
  font-size: clamp(24px, 9.2cqi, 44px);
}
.display--inverse { color: var(--text-inverse); }
.h2 { font: var(--type-h2); letter-spacing: -0.005em; text-wrap: balance; }
.h3 { font: var(--type-h3); text-wrap: balance; }
.lead { font: var(--type-body); font-size: 17px; line-height: 26px; max-width: 36ch; }
.lead--inverse { color: var(--text-inverse); }
.caption { font: var(--type-caption); opacity: 0.8; }
.accent { color: var(--brand-primary); }
.underline { position: relative; display: inline-block; white-space: nowrap; } /* inline-block: WebKit gives the ::after 0 width on an inline box */
.underline::after {
  content: ""; position: absolute; left: -2%; right: -4%; bottom: 0.04em; height: 0.28em;
  background: url("brand/underline.svg") no-repeat center / 100% 100%;
  pointer-events: none;
}

/* Rotation is part of the identity: nothing perfectly straight. */
.tilt-l { rotate: -2deg; }
.tilt-r { rotate: 2deg; }

/* ---------- Club/Kicker ---------- */
.kicker {
  display: inline-block; align-self: flex-start;
  font: var(--type-kicker); letter-spacing: 0.12em; text-transform: uppercase;
  padding: var(--space-4) var(--space-12); border-radius: var(--radius-pill);
}
.kicker--tomato { background: var(--brand-primary); color: var(--text-inverse); }
.kicker--navy { background: var(--surface-inverse); color: var(--text-inverse); }
.kicker--cream { background: var(--surface-default); color: var(--text-accent); }

/* ---------- Club/Button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8);
  font: var(--type-button); text-decoration: none; cursor: pointer;
  color: var(--text-inverse); background: var(--action-default);
  border: var(--stroke-ui) solid var(--border-default); border-radius: var(--radius-pill);
  padding: var(--space-16) var(--space-24);
  box-shadow: var(--shadow-hard);
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { background: var(--action-pressed); }
.btn:active { transform: translateY(4px); box-shadow: none; background: var(--action-pressed); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn--block { width: 100%; }
.btn--sm { font: var(--type-label); font-size: 15px; padding: 10px 18px; }

/* ---------- Club/Sticker ---------- */
.sticker {
  display: inline-block;
  font: var(--type-note); font-size: 24px; line-height: 26px; text-transform: uppercase;
  padding: var(--space-12) var(--space-24); border-radius: var(--radius-pill);
  border: var(--stroke-doodle) solid var(--surface-default);
  box-shadow: var(--shadow-sticker);
  white-space: nowrap;
}
.sticker--pink { background: var(--brand-secondary); color: var(--text-accent); }
.sticker--olive { background: var(--brand-growth); color: var(--text-inverse); }
.sticker--tomato { background: var(--brand-primary); color: var(--text-inverse); }
.sticker--lilac { background: var(--brand-tertiary); color: var(--text-default); }
.sticker--butter { background: var(--surface-optimistic); color: var(--text-default); }

/* ---------- Club/Note ---------- */
.note {
  display: inline-block; align-self: flex-start; max-width: 240px;
  font: var(--type-note); font-weight: 700;
  padding: var(--space-16); border-radius: var(--radius-8);
  box-shadow: var(--shadow-sticker); color: var(--text-default);
}
.note--butter { background: var(--surface-optimistic); }
.note--pink { background: var(--brand-secondary); }
.note--lilac { background: var(--brand-tertiary); }

/* ---------- Club/Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--space-12) var(--space-16);
  background: var(--surface-expressive);
  transition: box-shadow 160ms ease;
}
.nav.is-scrolled { box-shadow: 0 2px 0 0 var(--border-default); }
.nav__logo img { width: 96px; }

/* ---------- 01 Hero ---------- */
.hero { background: var(--surface-expressive); overflow: hidden; }
.hero__inner { padding: var(--space-16) var(--gutter) 0; }
.hero__copy { display: flex; flex-direction: column; gap: var(--space-16); }
.hero__proof { text-align: center; }
.hero__art { position: relative; margin: var(--space-24) auto 0; max-width: 420px; }
.hero__illustration { width: 100%; }
.hero__sticker-a { position: absolute; left: -4px; bottom: 18%; rotate: -8deg; }
.hero__sticker-b { position: absolute; right: -2px; top: 6%; rotate: 9deg; }
.hero__spark { position: absolute; left: 4%; top: 4%; width: 34px; rotate: -10deg; }

/* ---------- Club/Waitlist Form + Club/Input ---------- */
.waitlist {
  background: var(--surface-default);
  border: var(--stroke-ui) solid var(--border-default);
  border-radius: var(--radius-24);
  box-shadow: var(--shadow-hard);
  padding: var(--space-24);
  scroll-margin-top: 88px;
}
.waitlist--tilt { rotate: 1deg; }
.waitlist__form { display: flex; flex-direction: column; gap: var(--space-16); }
.field { display: flex; flex-direction: column; gap: var(--space-8); }
.field label { font: var(--type-label); letter-spacing: 0.02em; }
.field input {
  width: 100%;
  font: var(--type-body); /* 16px keeps iOS from zooming */
  color: var(--text-default); background: var(--field-surface);
  border: var(--stroke-ui) solid var(--border-default); border-radius: var(--radius-16);
  padding: 14px var(--space-16);
  appearance: none;
}
.field input::placeholder { color: var(--text-default); opacity: 0.45; }
.field input:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 1px var(--brand-primary); }
.field input[aria-invalid="true"] { border-color: var(--text-accent); box-shadow: 0 0 0 1px var(--text-accent); }
.field__error { font: var(--type-caption); color: var(--text-accent); }
.waitlist__status { font: var(--type-caption); color: var(--text-accent); }
.waitlist__status:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.waitlist__success { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-12); outline: none; }
.waitlist__success img { width: 56px; rotate: -8deg; }

/* ---------- 02 Band ---------- */
.band { position: relative; overflow: hidden; background: var(--surface-inverse); color: var(--text-inverse); }
.band__inner {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--space-16);
  max-width: 640px; margin: 0 auto; padding: 72px 28px; text-align: center;
}
.band__inner .kicker, .band__inner .note { align-self: center; }
.band__body { opacity: 0.92; }
.band__decor { position: absolute; }
.band__decor--heart { width: 64px; left: 6px; top: 10px; rotate: -12deg; }
.band__decor--palm { width: 52px; right: 12px; top: 18px; rotate: 10deg; }
.band__decor--flower { width: 52px; right: 18px; bottom: 26px; }

/* ---------- Sections ---------- */
.section { padding: var(--space-64) 0; }
.section--cream { background: var(--surface-default); }
.section--lilac { background: var(--surface-cool); }
.section--pink { background: var(--surface-expressive); }
.section--butter { background: var(--surface-optimistic); }
.section__inner { max-width: var(--content-max); margin: 0 auto; padding: 0 var(--gutter); }
.section__head { display: flex; flex-direction: column; gap: var(--space-16); margin-bottom: var(--space-24); }
.section__foot { margin-top: var(--space-24); max-width: 44ch; }

/* ---------- 03 Weeks + Club/Phone + Club/Card/Week ---------- */
.weeks { display: flex; flex-direction: column; gap: var(--space-48); }
.week { display: flex; flex-direction: column; align-items: center; }
.phone {
  width: 200px; height: 400px; padding: 8px; flex: none;
  background: var(--surface-inverse); border-radius: 36px;
  box-shadow: 6px 8px 0 rgba(23, 37, 74, 0.18);
  position: relative; z-index: 0;
}
.phone--tilt-l { rotate: -3deg; }
.phone--tilt-r { rotate: 3deg; }
.phone__screen {
  height: 100%; border-radius: 28px; overflow: hidden;
  background: var(--surface-default);
  padding: 28px 14px 14px; display: flex; flex-direction: column; gap: 10px;
  font: var(--type-caption);
}
.phone__screen--lock { background: var(--surface-cool); align-items: center; }
.screen-kicker { font: var(--type-kicker); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-accent); }
.screen-title { font: var(--type-h3); }
.screen-caption { opacity: 0.7; }
.screen-row { padding: 8px 10px; border-radius: 10px; }
.screen-row--pink { background: var(--brand-secondary); }
.screen-row--butter { background: var(--surface-optimistic); }
.screen-row--lilac { background: var(--brand-tertiary); }
.screen-row--tall { padding: 24px 10px; border-radius: 14px; }
.screen-pill { background: var(--surface-inverse); color: var(--text-inverse); font: var(--type-label); font-size: 12px; text-align: center; padding: 10px; border-radius: var(--radius-pill); }
.screen-aa { font: 700 64px/68px var(--font-display); }
.screen-swatches { display: flex; gap: 6px; }
.screen-swatches span { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--border-default); }
.screen-swatches span:nth-child(1) { background: var(--brand-primary); }
.screen-swatches span:nth-child(2) { background: var(--brand-secondary); }
.screen-swatches span:nth-child(3) { background: var(--brand-tertiary); }
.screen-swatches span:nth-child(4) { background: var(--surface-optimistic); }
.screen-swatches span:nth-child(5) { background: var(--brand-growth); }
.screen-note { font: 700 22px/24px var(--font-note); }
.screen-btn { background: var(--brand-primary); color: var(--text-inverse); font: var(--type-label); text-align: center; padding: 10px; border-radius: var(--radius-pill); }
.screen-class { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 12px; font: var(--type-body-strong); font-size: 14px; line-height: 18px; }
.screen-class small, .screen-notif small { font: var(--type-kicker); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; }
.screen-time { font: 700 64px/68px var(--font-display); }
.screen-notif { width: 100%; display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 14px; background: rgba(246, 240, 230, 0.92); font: var(--type-body-strong); font-size: 13px; line-height: 17px; }

.card-week {
  position: relative; z-index: 1; width: 100%; margin-top: -36px;
  display: flex; flex-direction: column; gap: var(--space-12);
  padding: var(--space-24);
  border: var(--stroke-ui) solid var(--border-default); border-radius: var(--radius-24);
}
.card-week--pink { background: var(--brand-secondary); }
.card-week--lilac { background: var(--brand-tertiary); }
.card-week--butter { background: var(--surface-optimistic); }
.card-week .note { margin-top: var(--space-4); }

/* ---------- 04 Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 14px 10px; padding-top: var(--space-8); }
.chips .sticker { font-size: 21px; line-height: 24px; padding: 10px 18px; white-space: normal; }
.chips .sticker:nth-child(5n+1) { rotate: -3deg; }
.chips .sticker:nth-child(5n+2) { rotate: 2deg; }
.chips .sticker:nth-child(5n+3) { rotate: -1deg; }
.chips .sticker:nth-child(5n+4) { rotate: 3deg; }
.chips .sticker:nth-child(5n+5) { rotate: -2deg; }

/* ---------- 05 Club/Card/ForYou ---------- */
.for-you { display: flex; flex-direction: column; gap: var(--space-12); }
.for-you__item {
  display: flex; gap: var(--space-12); align-items: flex-start;
  padding: var(--space-16); border-radius: var(--radius-16);
  font: var(--type-body-strong);
}
.for-you__item::before {
  content: "✓"; flex: none; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--surface-inverse); color: var(--text-inverse); font: var(--type-label);
}
.for-you__item--pink { background: var(--brand-secondary); }
.for-you__item--butter { background: var(--surface-optimistic); }
.for-you__item--lilac { background: var(--brand-tertiary); }
.not-for-you {
  margin-top: var(--space-16); padding: var(--space-24) 20px; rotate: -1deg;
  background: var(--surface-inverse); color: var(--text-inverse); border-radius: var(--radius-16);
}
.not-for-you__title { font: var(--type-note); color: var(--surface-optimistic); margin-bottom: var(--space-4); }

/* ---------- 06 About ---------- */
.about { display: flex; flex-direction: column; gap: var(--space-32); }
.about__photo { position: relative; rotate: -1.5deg; }
.about__photo img {
  width: 100%; aspect-ratio: 9 / 10; object-fit: cover;
  border: var(--stroke-ui) solid var(--border-default); border-radius: var(--radius-24);
}
.about__person {
  position: absolute; bottom: 0; width: 50%; height: auto;
  filter: drop-shadow(0 4px 0 var(--surface-default)) drop-shadow(0 6px 10px rgba(23, 37, 74, 0.25));
  animation: club-float 4s ease-in-out infinite;
}
.about__photo .about__person { width: 62%; border: 0; border-radius: 0; aspect-ratio: auto; object-fit: contain; }
.about__person--pame { left: -8%; rotate: -3deg; }
.about__photo .about__person--manu { right: -8%; rotate: 3deg; width: 56%; animation-delay: -2s; }
@keyframes club-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.about__sticker { z-index: 2;  position: absolute; left: 12px; bottom: -18px; rotate: 6deg; font-size: 22px; white-space: normal; }
.about__copy { display: flex; flex-direction: column; gap: var(--space-16); }

/* ---------- 07 Perks ---------- */
.perks { display: flex; flex-direction: column; gap: var(--space-24); }
.perk { display: flex; gap: var(--space-16); align-items: center; }
.perk img { flex: none; width: 56px; height: 56px; object-fit: contain; }
.perk div { display: flex; flex-direction: column; gap: var(--space-4); }

/* ---------- 08 Club/FAQ Item ---------- */
.faq__item {
  background: var(--surface-default);
  border: var(--stroke-ui) solid var(--border-default); border-radius: var(--radius-16);
  margin-bottom: var(--space-12);
}
.faq__item[open] { background: var(--field-surface); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-12);
  padding: var(--space-16); cursor: pointer; list-style: none;
  font: var(--type-body-strong);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font: 700 28px/1 var(--font-display); color: var(--text-accent); }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { padding: 0 var(--space-16) var(--space-16); }

/* ---------- 09 CTA ---------- */
.cta { position: relative; background: var(--brand-primary); overflow: hidden; }
.cta__inner { position: relative; max-width: 560px; margin: 0 auto; padding: 72px var(--gutter); display: flex; flex-direction: column; gap: var(--space-16); }
.cta__sticker { position: absolute; right: 12px; top: 18px; rotate: -9deg; }
.cta .waitlist { margin-top: var(--space-8); }

/* ---------- Club/Footer ---------- */
.footer {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-16); text-align: center;
  background: var(--surface-inverse); color: var(--text-inverse);
  padding: var(--space-48) var(--gutter) calc(var(--space-32) + env(safe-area-inset-bottom));
}
.footer img { width: 180px; }
.footer__by { font: var(--type-body-strong); }


/* ---------- Step 2 profile modal ---------- */
.profile {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; border: var(--stroke-ui) solid var(--border-default); border-radius: var(--radius-24);
  background: var(--surface-default); color: var(--text-default); box-shadow: var(--shadow-hard);
  overflow: hidden;
}
.profile[open] { display: flex; }
.profile::backdrop { background: rgba(23, 37, 74, 0.55); }
.profile__form { display: flex; flex-direction: column; width: 100%; max-height: calc(100dvh - 28px); }
.profile__head { position: relative; display: flex; flex-direction: column; gap: var(--space-8); padding: var(--space-24) var(--space-24) var(--space-16); background: var(--surface-expressive); border-bottom: var(--stroke-ui) solid var(--border-default); }
.profile__head .h3 { padding-right: var(--space-32); }
.profile__close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: var(--stroke-ui) solid var(--border-default); background: var(--surface-default); color: var(--text-default); font: 700 22px/1 var(--font-body); cursor: pointer; }
.profile__body { overflow-y: auto; padding: var(--space-24); display: flex; flex-direction: column; gap: var(--space-24); -webkit-overflow-scrolling: touch; }
.profile__q { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-12); }
.profile__q legend { font: var(--type-body-strong); padding: 0; margin-bottom: var(--space-12); }
.profile__hint { font: var(--type-caption); opacity: 0.7; }
.chips-select { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 10px 14px; border-radius: var(--radius-pill);
  border: var(--stroke-ui) solid var(--border-default); background: var(--field-surface);
  font: var(--type-label); transition: background-color 120ms ease, transform 120ms ease;
}
.chip input:checked + span { background: var(--brand-primary); color: var(--text-inverse); transform: rotate(-1.5deg); }
.chip input:focus-visible + span { outline: 3px solid var(--brand-primary); outline-offset: 2px; }
.field textarea {
  width: 100%; font: var(--type-body); color: var(--text-default); background: var(--field-surface);
  border: var(--stroke-ui) solid var(--border-default); border-radius: var(--radius-16); padding: 14px var(--space-16); resize: vertical;
}
.field textarea:focus { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 1px var(--brand-primary); }
.profile__foot { display: flex; flex-direction: column; gap: var(--space-8); padding: var(--space-16) var(--space-24) calc(var(--space-16) + env(safe-area-inset-bottom)); border-top: var(--stroke-ui) solid var(--border-default); background: var(--surface-default); }
.profile__skip { background: none; border: 0; font: var(--type-label); color: var(--text-default); text-decoration: underline; text-underline-offset: 3px; padding: var(--space-8); cursor: pointer; }
@media (max-width: 600px) {
  .profile { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: var(--radius-24) var(--radius-24) 0 0; border-bottom: 0; }
  .profile__form { max-height: 92dvh; }
}

/* ---------- Desktop ---------- */
@media (min-width: 900px) {
  .display { font-size: 64px; line-height: 66px; }
  :root {
    --type-h2: 700 48px/52px var(--font-display);
    --type-h3: 700 24px/28px var(--font-display);
    --gutter: 48px;
  }
  .nav { padding: var(--space-16) max(var(--space-48), calc((100vw - var(--content-max)) / 2 + var(--gutter))); }
  .nav__logo img { width: 120px; }
  .hero__inner {
    max-width: var(--content-max); margin: 0 auto;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto; column-gap: var(--space-48); row-gap: var(--space-16);
    padding-top: var(--space-32);
  }
  .hero__art { margin: 0 -48px 0 0; max-width: 600px; align-self: end; justify-self: end; width: 100%; }
  .hero__copy { display: contents; }
  .hero__copy > .kicker { grid-column: 1 / -1; grid-row: 1; justify-self: start; }
  .hero__copy > .display { grid-column: 1 / -1; grid-row: 2; max-width: 16ch; font-size: 76px; line-height: 78px; }
  .hero__copy > .lead { grid-column: 1; grid-row: 3; }
  .hero__copy > .waitlist { grid-column: 1; grid-row: 4; align-self: start; }
  .hero__copy > .hero__proof { grid-column: 1; grid-row: 5; text-align: left; padding-bottom: var(--space-48); }
  .hero__art { grid-column: 2; grid-row: 3 / 6; }
  .lead { font-size: 20px; line-height: 30px; }
  .waitlist { max-width: 460px; }

  .band__inner { padding: 96px 28px; }
  .band__decor--heart { width: 96px; left: 10%; top: 40px; }
  .band__decor--palm { width: 80px; right: 12%; top: 40px; }
  .band__decor--flower { width: 72px; right: 18%; bottom: 48px; }

  .section { padding: var(--space-96) 0; }
  .section__head { margin-bottom: var(--space-48); max-width: 720px; }

  .weeks { gap: var(--space-80); }
  .week { flex-direction: row; justify-content: center; align-items: center; gap: var(--space-64); }
  .week--flip { flex-direction: row-reverse; }
  .card-week { margin-top: 0; max-width: 520px; }
  .phone { width: 240px; height: 480px; }

  .chips { gap: 18px 14px; max-width: 900px; }
  .chips .sticker { font-size: 26px; line-height: 28px; padding: 12px 24px; }

  .for-you { display: grid; grid-template-columns: 1fr 1fr; }
  .not-for-you { max-width: 560px; }

  .about { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: var(--space-64); }

  .perks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-32) var(--space-48); }

  .faq { max-width: 760px; }

  .cta__inner { padding: var(--space-96) var(--gutter); }
  .cta__sticker { right: -40px; top: 56px; }
}

/* ---------- Motion ----------
   Everything here is decoration. Gated by prefers-reduced-motion, and the
   hidden "before" states only exist once motion.js adds html.motion. */
@property --ring { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* Transparent hero loop: motion.js draws a stacked-alpha video into this canvas. */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; pointer-events: none; transition: opacity 300ms ease;
}
.hero__art.is-live .hero__video { opacity: 1; }
.hero__art.is-live .hero__illustration { opacity: 0; transition: opacity 0s 300ms; }
.jump__ch { display: inline-block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: no-preference) {
  /* Icons breathe: grow and shrink, each on its own beat. */
  .hero__spark, .band__decor, .perk img, .waitlist__success img { animation: club-breathe 3.2s ease-in-out infinite; }
  .band__decor--palm { animation-delay: -1.1s; }
  .band__decor--flower { animation-delay: -2.2s; }
  .perk:nth-child(2) img { animation-delay: -0.8s; }
  .perk:nth-child(3) img { animation-delay: -1.6s; }
  .perk:nth-child(4) img { animation-delay: -2.4s; }
  .hero__spark { animation-duration: 2.4s; }
  @keyframes club-breathe { 0%, 100% { scale: 0.88; } 50% { scale: 1.16; } }

  /* Stickers and phones bob like they're floating. */
  .hero__sticker-a, .hero__sticker-b { animation: club-bob 3.6s ease-in-out infinite; }
  .hero__sticker-b { animation-delay: -1.8s; }
  .phone { animation: club-bob 5.5s ease-in-out infinite; }
  .week--flip .phone { animation-delay: -2.7s; }
  @keyframes club-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

  /* Highlighted words hop, letter by letter, like a wave. */
  .jump__ch { animation: club-hop 3s cubic-bezier(0.3, 0.7, 0.4, 1) infinite; animation-delay: calc(var(--i) * 65ms); }
  @keyframes club-hop {
    0%, 32%, 100% { translate: 0 0; }
    10% { translate: 0 -0.2em; }
    20% { translate: 0 0.025em; }
    26% { translate: 0 -0.05em; }
  }

  /* Button outline: a light that travels around the edge. */
  .btn { position: relative; isolation: isolate; }
  .btn::before {
    content: ""; position: absolute; z-index: 1; pointer-events: none;
    inset: calc(-1 * var(--stroke-ui)); padding: calc(var(--stroke-ui) + 1px); border-radius: inherit;
    background: conic-gradient(from var(--ring), transparent 0deg 215deg, rgb(242 199 92 / 0.55) 270deg, var(--club-butter) 322deg, #fff 352deg, transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    filter: drop-shadow(0 0 5px rgb(242 199 92 / 0.9));
    animation: club-ring 2.6s linear infinite;
  }
  .btn[disabled]::before { display: none; }
  @keyframes club-ring { to { --ring: 360deg; } }

  /* Scroll: things drop or rise into place and settle with a little bounce. */
  .motion [data-reveal] {
    opacity: 0; transform: translateY(var(--ry, 40px)) rotate(var(--rr, 0deg));
    transition: opacity 500ms ease, transform 900ms cubic-bezier(0.34, 1.56, 0.64, 1);
    transition-delay: var(--d, 0ms);
  }
  .motion [data-reveal="drop"] { --ry: -70px; --rr: -4deg; }
  .motion [data-reveal="drop"]:nth-child(even) { --rr: 4deg; }
  .motion [data-reveal].is-in { opacity: 1; transform: none; }

  /* Ideas: start in a heap on the floor, then sort themselves into place. */
  .motion .chips { position: relative; }
  .motion .chips .sticker {
    transform: translate(var(--px, 0), var(--py, 0)) rotate(var(--pr, 0deg));
    transition: transform 1000ms cubic-bezier(0.34, 1.45, 0.64, 1), scale 200ms ease;
    transition-delay: calc(var(--i) * 85ms);
  }
  .motion .chips.is-sorted .sticker { transform: none; }
  .motion .chips.is-sorted .sticker { animation: club-bob 4.2s ease-in-out infinite; animation-delay: calc(1.6s + var(--i) * -0.55s); }
  .motion .chips.is-sorted .sticker:hover { scale: 1.08; transition-delay: 0s; animation-play-state: paused; }
}

@media (prefers-reduced-motion: reduce) {
  .about__person { animation: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
