:root {
  color-scheme: dark light;
  --page: #090a0d;
  --page-soft: #0e1015;
  --surface: #151821;
  --text: #f1eff4;
  --muted: #aaa8b0;
  --quiet: #82818b;
  --line: rgb(241 239 244 / 0.14);
  --accent: #b99de8;
  --action-primary: #e7d8bf;
  --action-top: #e3d0ac;
  --action-bottom: #c8aa75;
  --action-highlight: rgb(255 248 224 / 0.46);
  --action-ink: #282219;
  --action-weight: 650;
  --action-border: rgb(40 34 25 / 0.28);
  --action-shadow: rgb(112 76 34 / 0.2);
  --focus: #ddb77e;
  --header: rgb(9 10 13 / 0.78);
  --shadow: 0 42px 120px rgb(2 3 7 / 0.58);
  --content: min(1240px, calc(100vw - 56px));
  --radius-media: 28px;
  --radius-control: 999px;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page);
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  background: var(--page);
  color: var(--text);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--text);
  color: var(--page);
  font-weight: 750;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  height: 70px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(28px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: blur(24px) saturate(135%);
  -webkit-backdrop-filter: blur(24px) saturate(135%);
}

.brand {
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 760;
  letter-spacing: -0.04em;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.84rem;
  font-weight: 680;
}

.site-navigation a {
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.site-navigation a:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.site-navigation .nav-cta {
  min-width: 94px;
  padding: 10px 17px;
  border: 1px solid var(--action-border);
  border-radius: var(--radius-control);
  background-color: var(--action-primary);
  background-image:
    radial-gradient(circle at 50% 0, rgb(255 248 224 / 0.34), transparent 54%),
    linear-gradient(180deg, var(--action-top), var(--action-bottom));
  color: var(--action-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.42), 0 7px 18px rgb(112 76 34 / 0.12);
  font-weight: var(--action-weight);
  text-align: center;
  white-space: nowrap;
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.site-navigation .nav-cta:hover {
  color: var(--action-ink);
  filter: brightness(1.04);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.48), 0 9px 22px rgb(112 76 34 / 0.17);
}

.site-navigation .nav-cta:active {
  filter: brightness(0.94);
  transform: translateY(1px) scale(0.985);
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  width: var(--content);
  min-height: calc(100dvh - 70px);
  grid-template-columns: minmax(360px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(48px, 6vh, 84px) 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 570px;
  container-type: inline-size;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(4rem, 18.2cqi, 5.6rem);
  font-weight: 650;
  letter-spacing: -0.078em;
  line-height: 0.9;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-summary {
  max-width: 470px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.45vw, 1.2rem);
  line-height: 1.58;
}

.primary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  padding: 0 27px;
  border: 1px solid var(--action-border);
  border-radius: 18px;
  background-color: var(--action-primary);
  background-image:
    radial-gradient(circle at 50% 0, var(--action-highlight), transparent 48%),
    linear-gradient(180deg, var(--action-top), var(--action-bottom));
  color: var(--action-ink);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.48), 0 12px 30px var(--action-shadow);
  font-size: 0.9rem;
  font-weight: var(--action-weight);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), filter 180ms ease, box-shadow 220ms ease;
}

.primary-action:hover {
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.52), 0 16px 36px rgb(112 76 34 / 0.26);
}

.primary-action:active {
  filter: brightness(0.94);
  transform: translateY(1px) scale(0.985);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.38), 0 7px 18px rgb(112 76 34 / 0.16);
}

.hero-visual {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.hero-visual::before {
  position: absolute;
  width: min(42vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(185 157 232 / 0.12), transparent 68%);
  content: "";
  pointer-events: none;
}

.hero-visual picture {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.hero-visual img {
  width: auto;
  max-width: 100%;
  height: min(780px, calc(100dvh - 150px));
  object-fit: contain;
  filter: drop-shadow(0 44px 90px rgb(2 3 7 / 0.48));
}

.overture {
  display: flex;
  width: var(--content);
  min-height: 82dvh;
  align-items: center;
  margin: 0 auto;
  padding: clamp(96px, 11vw, 168px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 70px;
}

.overture-copy {
  display: grid;
  width: 100%;
  gap: clamp(30px, 3.5vw, 52px);
}

.overture h2 {
  display: grid;
  gap: 0.04em;
  max-width: none;
  margin: 0;
  font-size: clamp(4rem, 6.6vw, 6.9rem);
  font-weight: 610;
  letter-spacing: -0.066em;
  line-height: 0.98;
}

.overture h2 span {
  display: block;
  white-space: nowrap;
}

.overture h2 span:first-child {
  color: var(--muted);
}

.overture h2 span:last-child {
  margin-left: clamp(0px, 7vw, 104px);
}

.overture p {
  max-width: 34ch;
  margin: 0 0 0 clamp(0px, 7vw, 104px);
  color: var(--accent);
  font-size: clamp(1.08rem, 1.55vw, 1.35rem);
  font-weight: 610;
  letter-spacing: -0.018em;
  line-height: 1.5;
}

.experience {
  padding: clamp(110px, 13vw, 190px) max(28px, calc((100vw - 1240px) / 2));
  border-top: 1px solid var(--line);
  background: var(--page-soft);
  scroll-margin-top: 70px;
}

.experience-heading {
  max-width: 760px;
  margin-bottom: clamp(76px, 9vw, 130px);
}

.experience-heading h2 {
  margin: 0;
  font-size: clamp(3.6rem, 6.8vw, 7rem);
  font-weight: 620;
  letter-spacing: -0.07em;
  line-height: 0.96;
}

.experience-heading p {
  max-width: 45ch;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

.experience-stage {
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(64px, 10vw, 150px);
  align-items: start;
}

.experience-screen {
  position: sticky;
  top: 106px;
  display: flex;
  width: min(100%, 430px);
  align-items: flex-start;
  justify-content: center;
  margin: 0;
}

.experience-screen img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 176px);
  object-fit: contain;
  filter: drop-shadow(0 50px 90px rgb(2 3 7 / 0.55));
}

.experience-sequence article {
  display: flex;
  min-height: 48dvh;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.experience-sequence h3 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.7rem, 5.4vw, 5.5rem);
  font-weight: 610;
  letter-spacing: -0.064em;
  line-height: 0.98;
}

.experience-sequence p {
  max-width: 36ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
}

.afterglow {
  display: grid;
  width: var(--content);
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(48px, 6vw, 88px);
  align-items: center;
  margin: clamp(110px, 13vw, 190px) auto;
}

.afterglow-image {
  width: 100%;
  height: auto;
  border-radius: var(--radius-media);
  object-fit: contain;
  box-shadow: var(--shadow);
}

.afterglow-copy {
  position: static;
  width: auto;
  color: var(--text);
}

.afterglow h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.4rem, 5.2vw, 5.2rem);
  font-weight: 610;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.afterglow p {
  max-width: 30ch;
  margin: 24px 0 0;
  color: var(--accent);
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  font-weight: 500;
  line-height: 1.55;
}

.membership {
  display: grid;
  width: var(--content);
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(58px, 9vw, 132px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(110px, 13vw, 190px) 0;
  border-top: 1px solid var(--line);
}

.membership h2 {
  margin: 0;
  font-size: clamp(3.4rem, 5.8vw, 6rem);
  font-weight: 610;
  letter-spacing: -0.068em;
  line-height: 0.96;
}

.membership-copy > p {
  max-width: 35ch;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.17rem);
  line-height: 1.65;
}

.membership-copy .membership-detail {
  padding-left: 22px;
  border-left: 1px solid var(--accent);
  color: var(--quiet);
  font-size: 0.88rem;
}

.membership-signal {
  margin: 0;
  color: var(--accent);
  font-size: clamp(2.6rem, 4.6vw, 4.8rem);
  font-weight: 610;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.availability {
  display: grid;
  width: var(--content);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(58px, 10vw, 150px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(110px, 13vw, 190px) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 70px;
}

.availability-logo {
  width: min(100%, 420px);
  height: auto;
  border-radius: var(--radius-media);
  object-fit: contain;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.availability h2 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(3.7rem, 6.7vw, 7rem);
  font-weight: 610;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.availability-copy > p:not(.eyebrow) {
  max-width: 38ch;
  margin: 28px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.availability-status {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  margin-top: 30px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 720;
  white-space: nowrap;
}

.site-footer {
  display: grid;
  width: var(--content);
  grid-template-columns: 1fr auto auto;
  gap: 42px;
  align-items: center;
  margin: 0 auto;
  padding: 36px 0 50px;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.81rem;
}

.site-footer .brand {
  color: var(--text);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links span {
  opacity: 0.72;
}

.footer-links a {
  color: var(--quiet);
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-links a:hover {
  color: var(--text);
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal-ready] [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
      transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  [data-reveal-ready] [data-reveal][data-visible="true"] {
    opacity: 1;
    transform: translateY(0);
  }

  .hero-copy > * {
    animation: hero-enter 820ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 90ms;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 180ms;
  }

  .hero-visual[data-visible="true"] picture {
    animation: score-breathe 8s ease-in-out 900ms infinite alternate;
  }

  @keyframes hero-enter {
    from {
      opacity: 0;
      transform: translateY(22px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes score-breathe {
    from { transform: translateY(0); }
    to { transform: translateY(-12px); }
  }
}

:root[data-theme="light"] {
  --page: #eef0f2;
  --page-soft: #e4e7ea;
  --surface: #d9dde1;
  --text: #15171b;
  --muted: #52555d;
  --quiet: #60636b;
  --line: rgb(21 23 27 / 0.14);
  --accent: #7252b1;
  --action-border: #806f58;
  --action-shadow: rgb(88 61 30 / 0.16);
  --focus: #65491f;
  --header: rgb(238 240 242 / 0.82);
  --shadow: 0 42px 110px rgb(30 35 44 / 0.22);
}

@media (max-width: 980px) {
  :root {
    --content: min(100% - 44px, 760px);
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 58px;
    padding: 72px 0 104px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(4.6rem, 14vw, 7.4rem);
  }

  .hero-visual {
    width: 100%;
    margin: 0 auto;
  }

  .hero-visual img {
    height: min(62dvh, 700px);
  }

  .experience-stage,
  .afterglow,
  .membership,
  .availability {
    grid-template-columns: 1fr;
  }

  .experience-screen {
    position: static;
    width: min(58vw, 430px);
    margin: 0 auto;
  }

  .experience-sequence {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }

  .experience-sequence article {
    min-height: 0;
    justify-content: flex-start;
    padding: 34px 0;
  }

  .experience-sequence h3 {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .afterglow-copy {
    width: min(82%, 560px);
    margin-left: auto;
  }

  .membership-signal {
    width: min(82%, 520px);
    margin-left: auto;
  }

  .availability-logo {
    width: min(62vw, 430px);
  }
}

@media (max-width: 700px) {
  :root {
    --content: calc(100% - 32px);
    --radius-media: 18px;
  }

  .site-header {
    height: 64px;
    padding: 0 16px;
  }

  .menu-button {
    display: flex;
    min-width: 76px;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 720;
  }

  .menu-button-lines {
    position: relative;
    display: block;
    width: 19px;
    height: 12px;
  }

  .menu-button-lines i {
    position: absolute;
    right: 0;
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease, top 180ms ease;
  }

  .menu-button-lines i:first-child {
    top: 2px;
  }

  .menu-button-lines i:last-child {
    top: 9px;
  }

  [data-menu-open] .menu-button-lines i:first-child {
    top: 6px;
    transform: rotate(45deg);
  }

  [data-menu-open] .menu-button-lines i:last-child {
    top: 6px;
    transform: rotate(-45deg);
  }

  .site-navigation {
    position: absolute;
    top: 64px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 18px 16px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--page);
    box-shadow: 0 22px 40px rgb(2 3 7 / 0.26);
  }

  [data-menu-open] .site-navigation {
    display: grid;
    gap: 4px;
  }

  .site-navigation a {
    min-height: 48px;
    padding: 14px 10px;
  }

  .site-navigation .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
  }

  .hero {
    min-height: calc(100dvh - 64px);
    grid-template-rows: auto auto;
    gap: 38px;
    padding: 46px 0 64px;
  }

  .hero h1 {
    font-size: clamp(3.18rem, 16.5vw, 4.85rem);
  }

  .hero-summary {
    max-width: 36ch;
    margin-top: 22px;
    font-size: 0.98rem;
  }

  .primary-action {
    width: 100%;
    margin-top: 24px;
  }

  .hero-visual {
    width: 100%;
    margin: 0 auto;
  }

  .hero-visual img {
    width: auto;
    max-width: 100%;
    height: min(38dvh, 360px);
  }

  .overture {
    min-height: 72dvh;
    padding: 96px 0;
    scroll-margin-top: 64px;
  }

  .overture h2 {
    gap: 0.18em;
    font-size: clamp(2.9rem, 14.5vw, 4.4rem);
    line-height: 0.98;
  }

  .overture h2 span {
    white-space: normal;
  }

  .overture h2 span:last-child {
    margin-left: 0;
  }

  .overture p {
    max-width: 28ch;
    margin-left: 0;
    font-size: 1.05rem;
  }

  .experience {
    padding: 104px 16px;
    scroll-margin-top: 64px;
  }

  .experience-heading {
    margin-bottom: 60px;
  }

  .experience-heading h2 {
    font-size: clamp(3.4rem, 16vw, 5rem);
  }

  .experience-stage {
    gap: 68px;
  }

  .experience-screen {
    width: min(72vw, 330px);
  }

  .experience-sequence {
    display: block;
  }

  .experience-sequence article {
    min-height: auto;
    padding: 48px 0;
  }

  .experience-sequence h3 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .afterglow {
    width: var(--content);
    gap: 46px;
    margin: 92px auto;
  }

  .afterglow-image {
    width: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .afterglow-copy {
    width: 100%;
    margin: 0;
  }

  .afterglow h2 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .membership,
  .availability {
    gap: 58px;
    padding: 104px 0;
  }

  .membership-copy,
  .membership-signal {
    width: 100%;
    margin: 0;
  }

  .membership h2,
  .availability h2 {
    font-size: clamp(3.35rem, 15.5vw, 4.9rem);
  }

  .availability {
    scroll-margin-top: 64px;
  }

  .availability-logo {
    width: min(76vw, 390px);
    margin: 0 auto;
  }

  .availability-status {
    width: 100%;
    justify-content: center;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 14px 24px;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 380px) {
  .hero {
    padding-top: 36px;
  }

  .hero h1 {
    font-size: 2.92rem;
  }

  .hero-summary {
    font-size: 0.92rem;
  }

  .overture h2 {
    font-size: 2.82rem;
  }

  .availability-status {
    padding: 0 14px;
    font-size: 0.75rem;
  }

  .footer-links {
    gap: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

[data-reduced-motion="true"] {
  scroll-behavior: auto;
}

[data-reduced-motion="true"] *,
[data-reduced-motion="true"] *::before,
[data-reduced-motion="true"] *::after {
  scroll-behavior: auto !important;
  animation: none !important;
  transition: none !important;
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: var(--page);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
