:root {
  color-scheme: dark;
  --ink: #fffdf8;
  --muted: #c9c1dc;
  --night: #110927;
  --night-soft: #1b1041;
  --violet: #6846e7;
  --violet-bright: #9a77ff;
  --gold: #ffd94f;
  --orange: #ff9d42;
  --coral: #ff7188;
  --cream: #fff7df;
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 30px 80px rgb(5 2 20 / 36%);
  --shell: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: Inter, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  color: #21133e;
  background: var(--cream);
  border-radius: 10px;
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  padding: 22px 0;
}

.nav-wrap,
.brand,
nav,
.hero-actions,
.closing-card,
.footer-inner,
.footer-links {
  display: flex;
  align-items: center;
}

.nav-wrap {
  justify-content: space-between;
}

.brand {
  gap: 12px;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.brand img {
  border: 2px solid rgb(255 255 255 / 55%);
  border-radius: 14px;
  box-shadow: 0 10px 25px rgb(9 4 29 / 34%);
}

nav {
  gap: 28px;
  color: #e5def2;
  font-size: 0.92rem;
  font-weight: 700;
}

nav a,
.footer-links a {
  transition: color 180ms ease;
}

nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 10px 18px;
  color: var(--night) !important;
  background: var(--cream);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 155px 0 92px;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgb(123 77 218 / 34%), transparent 33%),
    linear-gradient(180deg, #1d1049 0%, var(--night) 78%);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  opacity: 0.38;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle, var(--gold) 0 1px, transparent 1.8px);
  background-position: 0 0, 42px 78px;
  background-size: 150px 150px, 210px 210px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
}

.hero-glow-one {
  top: 220px;
  left: -230px;
  background: var(--coral);
}

.hero-glow-two {
  right: -220px;
  bottom: 80px;
  background: var(--gold);
}

.hero-inner {
  text-align: center;
}

.eyebrow,
.kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 999px;
  background: rgb(255 255 255 / 7%);
  backdrop-filter: blur(10px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.06;
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  margin: 18px auto 22px;
  font-size: clamp(3.3rem, 8vw, 6.9rem);
  font-weight: 950;
  letter-spacing: -0.065em;
}

h1 span {
  color: transparent;
  background: linear-gradient(100deg, var(--gold), #fff6a8 46%, var(--orange));
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  justify-content: center;
  gap: 14px;
  margin-bottom: 60px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #261300;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 14px 36px rgb(255 172 57 / 24%);
}

.button-primary:hover {
  box-shadow: 0 18px 44px rgb(255 172 57 / 34%);
}

.button-secondary {
  border-color: rgb(255 255 255 / 17%);
  background: rgb(255 255 255 / 7%);
  backdrop-filter: blur(10px);
}

.button-secondary:hover {
  background: rgb(255 255 255 / 12%);
}

.play-mark {
  font-size: 0.72rem;
}

.hero-art {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 23%);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 8%);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateX(2deg);
}

.hero-art img {
  width: 100%;
  height: auto;
  border-radius: 25px;
}

.hero-art-shine {
  position: absolute;
  top: -80%;
  left: -15%;
  width: 28%;
  height: 230%;
  opacity: 0.35;
  background: linear-gradient(90deg, transparent, white, transparent);
  transform: rotate(20deg);
  animation: shine 8s ease-in-out infinite;
}

@keyframes shine {
  0%, 30% { transform: translateX(-300%) rotate(20deg); }
  60%, 100% { transform: translateX(600%) rotate(20deg); }
}

.section {
  padding: 120px 0;
}

.feature-section {
  position: relative;
  color: #24163d;
  background: var(--cream);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2,
.video-copy h2,
.closing-card h2 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.video-copy > p,
.feature-card p {
  color: #70677e;
  font-size: 1.05rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  min-height: 310px;
  padding: 34px;
  border: 1px solid #e9ddc8;
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 65%);
  box-shadow: 0 18px 44px rgb(60 32 92 / 7%);
}

.feature-card-raised {
  transform: translateY(-18px);
}

.feature-icon {
  display: grid;
  width: 66px;
  height: 66px;
  margin-bottom: 46px;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  font-size: 1.85rem;
  font-weight: 900;
  box-shadow: 0 14px 26px rgb(54 30 104 / 18%);
}

.icon-sun { background: linear-gradient(145deg, #ffce32, #ff8f36); }
.icon-heart { background: linear-gradient(145deg, #ff8ca1, #e84979); }
.icon-spark { background: linear-gradient(145deg, #9873ff, #5230c4); }

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.gallery-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 40%, rgb(112 56 208 / 26%), transparent 26%),
    radial-gradient(circle at 90% 62%, rgb(255 112 130 / 16%), transparent 28%),
    #130a2d;
}

.section-heading-light > p:last-child {
  color: var(--muted);
}

.gallery {
  display: flex;
  gap: 20px;
  padding: 10px max(0px, calc((100vw - 1160px) / 2)) 38px;
  margin-inline: calc((100% - 100vw) / 2);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-color: var(--violet-bright) rgb(255 255 255 / 8%);
}

.gallery figure {
  flex: 0 0 clamp(230px, 28vw, 330px);
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 28px;
  background: #2a174d;
  box-shadow: 0 22px 50px rgb(0 0 0 / 30%);
  scroll-snap-align: center;
  transition: transform 220ms ease;
}

.gallery figure:hover {
  transform: translateY(-8px);
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.swipe-hint {
  margin: 14px 0 0;
  color: #a9a0bd;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.video-section {
  overflow: hidden;
  color: #24163d;
  background: #fff9eb;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(60px, 10vw, 140px);
  align-items: center;
}

.video-copy {
  max-width: 600px;
}

.video-copy .kicker,
.section-heading .kicker,
.closing-card .kicker {
  color: #7b46d9;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  color: #5d32bd;
  font-weight: 900;
}

.video-frame {
  position: relative;
  padding: 10px;
  border: 1px solid #e5d7ca;
  border-radius: 34px;
  background: #fff;
  box-shadow: 0 30px 70px rgb(67 30 110 / 18%);
  transform: rotate(2deg);
}

.video-frame::before,
.video-frame::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
}

.video-frame::before {
  top: -35px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: var(--gold);
}

.video-frame::after {
  bottom: 4%;
  left: -54px;
  width: 100px;
  height: 100px;
  background: #a078ff;
}

.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 0;
  border-radius: 25px;
  background: #140b2e;
}

.closing-section {
  padding: 0 0 100px;
  color: #fff;
  background: #fff9eb;
}

.closing-card {
  gap: 34px;
  padding: 38px 44px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 90% 0%, rgb(255 217 79 / 23%), transparent 28%),
    linear-gradient(135deg, #281357, #4d258d);
  box-shadow: 0 28px 70px rgb(48 23 83 / 19%);
}

.closing-card img {
  width: 130px;
  height: 130px;
  flex: 0 0 auto;
  border: 3px solid rgb(255 255 255 / 55%);
  border-radius: 30px;
  box-shadow: 0 16px 30px rgb(8 3 25 / 34%);
}

.closing-card > div {
  flex: 1;
}

.closing-card h2 {
  max-width: 610px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.closing-card .kicker {
  color: var(--gold);
}

.site-footer {
  padding: 50px 0;
  border-top: 1px solid rgb(255 255 255 / 8%);
  background: #0e0721;
}

.footer-inner {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.brand-footer {
  font-size: 0.95rem;
}

.footer-links {
  gap: 24px;
  color: #c6bdd8;
  font-size: 0.88rem;
  font-weight: 650;
}

.footer-inner > p {
  width: 100%;
  margin: 4px 0 0;
  color: #776e8b;
  font-size: 0.8rem;
}

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

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 30px, 680px);
  }

  nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 138px;
  }

  .hero-actions {
    margin-bottom: 42px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card-raised {
    min-height: auto;
    transform: none;
  }

  .feature-icon {
    margin-bottom: 32px;
  }

  .video-layout {
    grid-template-columns: 1fr;
  }

  .video-copy {
    text-align: center;
  }

  .video-frame {
    width: min(100%, 390px);
    margin-inline: auto;
  }

  .closing-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-top: 15px;
  }

  .brand span {
    max-width: 120px;
    line-height: 1.05;
  }

  .nav-cta {
    padding: 9px 13px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    margin-inline: -6px;
    padding: 6px;
    border-radius: 24px;
  }

  .hero-art img {
    border-radius: 18px;
  }

  .section {
    padding: 88px 0;
  }

  .gallery {
    --mobile-card-width: 77vw;
  }

  .gallery figure {
    flex-basis: var(--mobile-card-width);
  }

  .closing-section {
    padding-bottom: 72px;
  }

  .closing-card {
    padding: 34px 24px;
  }

  .footer-inner,
  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

