@font-face {
  font-family: Chakra;
  src: url(fonts/chakra-petch-700-italic.woff2) format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Space;
  src: url(fonts/space-grotesk.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg: #100a19;
  --panel: #1d112b;
  --purple: #c08aff;
  --lime: #e0ffa1;
  --line: #3a254e;
  --display: Chakra, "Arial Black", sans-serif;
}

body {
  font-family: Space, system-ui, sans-serif;
  background: radial-gradient(ellipse at 86% 12%, #361452 0, transparent 38rem), var(--bg);
}

h1, h2, h3, .brand, .art-word, .watermark {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
}

header { border-color: #b286ef36; }
.brand { font-size: 21px; }
.brand-icon { font-style: normal; }
.hero {
  min-height: 670px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  position: relative;
  isolation: isolate;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(50px, 8vw, 115px);
  line-height: .87;
  letter-spacing: -.08em;
  margin: 25px 0 28px;
  text-shadow: 0 7px 50px #1a092f;
}
.hero h1 span, .hero h1 em { display: block; width: max-content; padding-right: .12em; }
.hero h1 em {
  background: linear-gradient(110deg, #e6c6ff 9%, #af6df5 52%, #7945ff 84%);
  background-clip: text;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 26px #a949ff60);
}
.hero p { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-price { color: var(--lime); font-weight: 700; }
.eyebrow { letter-spacing: .22em; }
.hero .primary {
  background: var(--lime);
  color: #1c1720;
  padding-inline: 26px;
  box-shadow: 0 0 26px #e0ffa137;
}
.primary, .secondary, .paypal, .cart-toggle {
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.button:active, .cart-toggle:active { transform: scale(.96); }

.hero-art {
  --mx: 0;
  --my: 0;
  height: clamp(410px, 49vw, 620px);
  margin-left: -10%;
  overflow: hidden;
  border-radius: 3px;
  background: radial-gradient(ellipse at 62% 51%, #a84cff55, #3b155780 40%, transparent 72%);
  mask-image: linear-gradient(90deg, transparent, black 10%, black 96%, transparent);
}

.orbit { display: none; }
.art-word { color: transparent; -webkit-text-stroke: 1px #cca2ff38; font-size: clamp(180px, 30vw, 415px); }
.stage-grid {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, #c493ff22 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, #c493ff22 0 1px, transparent 1px 38px);
  mask-image: radial-gradient(ellipse at 61% 50%, black, transparent 73%);
}
.stage-ring {
  position: absolute;
  width: 73%;
  aspect-ratio: 1;
  left: 16%;
  top: 13%;
  border: 1px solid #cd9eff55;
  border-radius: 50%;
  box-shadow: inset 0 0 65px #a46aff32, 0 0 55px #a46aff22;
}
.stage-ring::before, .stage-ring::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  inset: 8%;
  border: 1px dashed #e0b8ff64;
}
.stage-ring::after { inset: -5%; border-style: solid; border-color: #a377df29; }
.stage-sparks { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.spark {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #f4e0ff;
  box-shadow: 0 0 10px 2px #ba66ff;
  opacity: .3;
}
.hero-skin { will-change: transform; }
.hero-skin--main {
  width: min(93%, 660px);
  left: 14%;
  bottom: -1%;
  filter: drop-shadow(0 18px 30px #10071f) drop-shadow(0 0 26px #a24cfb64);
  transform: translate(calc(var(--mx) * 16px), calc(var(--my) * 13px));
}
.hero-skin--side {
  width: 64%;
  left: -4%;
  bottom: 7%;
  opacity: .67;
  filter: saturate(.68) drop-shadow(0 0 20px #9b6aff6f);
  transform: translate(calc(var(--mx) * -9px), calc(var(--my) * -6px)) rotate(-8deg);
}
.art-caption { left: 16%; bottom: 15px !important; color: #ddd1ef; }
.collection { border-top: 1px solid var(--line); }
.product-card, .collection-note, .steps-grid article, .faq details {
  transition: border-color .25s ease, box-shadow .25s ease;
}
.product-card { border-radius: 8px; }
.product-art {
  height: clamp(240px, 32vw, 365px);
  background: radial-gradient(ellipse at 70% 60%, #9746d9ab, transparent 68%), #251339;
}
.product-art img { width: min(100%, 460px); height: auto; top: -6%; right: 1%; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.watermark { left: 3%; bottom: 2%; font-size: clamp(54px, 13vw, 150px); letter-spacing: -.06em; }
.tag { background: var(--lime); }
.note-icon { display: none; }
dialog[open] { animation: enter-dialog .28s cubic-bezier(.22,1,.36,1) both; }
#checkout-view:not([hidden]) .checkout { animation: enter-copy .45s cubic-bezier(.22,1,.36,1) both; }
.cart-toggle.bump #count { display: inline-block; animation: cart-pulse .45s ease both; }

@media (hover: hover) {
  .button:hover, .cart-toggle:hover { transform: translateY(-3px); }
  .hero .primary:hover { background: #efffc5; box-shadow: 0 0 34px #e0ffa164; }
  .product-card:hover { border-color: var(--purple); box-shadow: 0 12px 55px #8b30c035; }
  .product-card:hover .product-art img { transform: scale(1.08) translateY(-5px); }
  .faq details:hover { border-color: #7a4caa; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: enter-copy .8s cubic-bezier(.22,1,.36,1) both; }
  .hero-copy > :nth-child(2) { animation-delay: .12s; }
  .hero-copy > :nth-child(3) { animation-delay: .23s; }
  .hero-copy > :nth-child(4) { animation-delay: .32s; }
  .hero-copy > :nth-child(5) { animation-delay: .4s; }
  .hero-skin--main { animation: skin-drift 7s ease-in-out infinite; }
  .hero-skin--side { animation: side-drift 9s ease-in-out infinite; }
  .stage-ring::before { animation: ring-spin 36s linear infinite; }
  .spark { animation: spark-drift var(--duration) ease-in-out var(--delay) infinite alternate; }
  .motion-ready .reveal-pending { opacity: 0; transform: translateY(22px); }
  .motion-ready .reveal-pending:focus-within { opacity: 1; transform: none; }
  .motion-ready .revealed { animation: enter-copy .62s cubic-bezier(.22,1,.36,1) both; }
}

@keyframes enter-copy { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes enter-dialog { from { opacity: 0; transform: translateY(16px) scale(.975); } to { opacity: 1; transform: none; } }
@keyframes cart-pulse { 42% { transform: scale(1.3); background: var(--lime); } }
@keyframes ring-spin { to { transform: rotate(360deg); } }
@keyframes skin-drift {
  50% { transform: translate(calc(var(--mx) * 16px), calc(var(--my) * 13px - 12px)); }
}
@keyframes side-drift {
  50% { transform: translate(calc(var(--mx) * -9px), calc(var(--my) * -6px + 10px)) rotate(-7deg); }
}
@keyframes spark-drift { to { opacity: .75; transform: translate(15px, -32px); } }

@media (max-width: 900px) {
  .hero { min-height: 510px; }
  .hero h1 { font-size: clamp(54px, 9vw, 77px); }
  .hero-art { height: 420px; }
}
@media (max-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 38px; }
  .hero h1 { font-size: clamp(47px, 13vw, 90px); }
  .hero-art { margin: 8px -10px 0; height: clamp(260px, 83vw, 440px); }
  .hero-skin--main { width: min(87%, 450px); bottom: -2%; }
  .hero-skin--side { width: min(62%, 330px); }
  .checkout h1 { font-size: clamp(38px, 9vw, 58px); }
}
@media (max-width: 375px) {
  .brand { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-skin { will-change: auto; }
}
@media (max-width: 720px) {
  .cart-toggle { display: inline-flex; align-items: center; white-space: nowrap; }
}
