/* Homepage hero rebuilt from the approved design: art-directed light stage, real HTML text, chips over the artwork.
   The stage keeps the artwork's 1672x845 proportions; every size below is in cqw (1% of the stage width). */
.hero--ref { padding: 0; background: linear-gradient(90deg, #f9f2f4 0%, #f4edf6 100%); color: #272151; overflow: hidden; }
.hero--ref::after, .hero--ref .hero__spot { display: none; }

.hero--ref .hero__plate {
  position: relative; width: min(100%, 1384px); margin-inline: auto; aspect-ratio: 1672 / 845; container-type: inline-size;
  background: url("../assets/hero/hero-plate.webp?v=4") center / 100% 100% no-repeat;
}
/* wider than the artwork: the scene continues left and right as mirrored copies of itself, so there is no plain strip and no seam */
@media (min-width: 1385px) { .hero--ref { background: url("../assets/hero/hero-plate-wide.webp?v=5") center top / calc(min(100%, 1384px) * 3) 100% no-repeat, linear-gradient(90deg, #f9f2f4 0%, #f4edf6 100%); } }

/* ---- copy ---- */
.hero--ref .intro { position: absolute; left: 8.37%; top: 20.9%; width: 46%; max-width: none; margin: 0; }
.hero--ref .intro h1 {
  margin: 0; font-family: "Playfair Display", Georgia, "Times New Roman", serif; font-weight: 800;
  font-size: 4.9cqw; line-height: 1.1; letter-spacing: -0.025em; color: #272151; text-wrap: nowrap;
}
.hero--ref .intro h1 em { display: block; font-style: normal; background: none; -webkit-text-fill-color: initial; color: inherit; }
.hero--ref .intro h1 em .gword, .hero--ref .intro h1 em:not(:has(.gword)) {
  background: none; -webkit-text-fill-color: #f18717; color: #f18717;
}
.hero--ref .intro__lead { margin: 0.8cqw 0 0; max-width: 31cqw; font-size: 1.5cqw; line-height: 1.25; font-weight: 300; color: #5f5b78; }
.hero--ref .hero__cta { margin-top: 2.1cqw; }
.hero--ref .hero__cta .btn {
  width: 15cqw; height: 3.6cqw; padding: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0.6cqw;
  font-size: 1.45cqw; font-weight: 500; border-radius: 999px; color: #2a1a10;
}
.hero--ref .hero__cta .btn i { font-size: 1.3cqw; }

.hero--ref .hero__stats { margin: 2.8cqw 0 0; flex-wrap: nowrap; }
.hero--ref .hero__stats li { gap: 1.1cqw; padding: 0 1.3cqw; border-left: 1px solid #d8d3de; align-items: center; }
.hero--ref .hero__stats li:first-child { padding-left: 0; border-left: 0; }
.hero--ref .hero__stats li > div { display: grid; gap: 0.1cqw; }
.hero--ref .hero__stats b { font-size: 1.05cqw; font-weight: 500; letter-spacing: 0; color: #272151; white-space: nowrap; }
.hero--ref .hero__stats li span:not(.hs__ic) { font-size: 0.8cqw; color: #5f5b78; white-space: nowrap; }
.hero--ref .hs__ic { width: 2.9cqw; border: 1px solid rgba(241, 135, 23, 0.16); background: #fdf3ea; box-shadow: none; }
.hero--ref .hs__ic i { font-size: 1.4cqw; color: #2f2863; }

/* ---- chips over the artwork ---- */
.hero--ref .hero__pills, .hero--ref .hero__orbs { position: absolute; inset: 0; pointer-events: none; }
/* hosts make no stacking context: chips (text) 20/6 > spheres 19/5 > rings 1, so lines never cover text or planets */
.hero--ref .hero__orbs, .hero--ref .hero__pills { z-index: auto; }
.hchip {
  position: absolute; left: 0; top: 0; width: var(--w); height: var(--h); box-sizing: border-box; pointer-events: auto; will-change: transform;
  display: flex; align-items: center; gap: 0.6cqw; padding: 0 1.2cqw 0 0.45cqw; border-radius: 999px; text-decoration: none; white-space: nowrap;
  background: #fff; border: 1px solid rgba(55, 48, 92, 0.08); color: #272151;
  box-shadow: 0 0 0 0.3cqw rgba(255, 255, 255, 0.55), 0 0.5cqw 1.5cqw rgba(55, 48, 92, 0.1);
  transition: box-shadow 0.3s;
}
.hchip:hover, .hchip:focus-visible { box-shadow: 0 0 0 1.5px rgba(241, 135, 23, 0.7), 0 0.6cqw 1.8cqw rgba(55, 48, 92, 0.14); }
.hchip:focus-visible { outline: 2px solid #f18717; outline-offset: 2px; }
.hchip__ic { flex: 0 0 auto; height: 78%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #fff6ec; border: 1.5px solid #f6b36a; }
.hchip__ic i { font-size: 1.35cqw; color: #f18717; }
.hchip__t { font-size: 1cqw; font-weight: 500; letter-spacing: 0; }

.hero--ref .hero__art { display: none; }

/* ---- tablet / mobile: stacked, artwork shown below the copy, chips become a tidy wrap ---- */
@media (max-width: 899px) {
  .hero--ref .hero__plate { aspect-ratio: auto; background: none; width: 100%; padding: 36px var(--gutter) 0; display: flex; flex-direction: column; container-type: normal; }
  .hero--ref .hero__art { order: 2; } .hero--ref .hero__pills { order: 3; }
  .hero--ref .intro { position: static; width: auto; }
  .hero--ref .intro h1 { font-size: clamp(36px, 10vw, 60px); }
  .hero--ref .intro__lead { margin-top: 16px; max-width: 30ch; font-size: clamp(16px, 4.2vw, 21px); }
  .hero--ref .hero__cta { margin-top: 24px; }
  .hero--ref .hero__cta .btn { width: 100%; max-width: 320px; height: 56px; font-size: 18px; gap: 8px; }
  .hero--ref .hero__cta .btn i { font-size: 18px; }
  .hero--ref .hero__stats { margin-top: 28px; flex-wrap: wrap; row-gap: 16px; }
  .hero--ref .hero__stats li { gap: 12px; padding: 0 18px; }
  .hero--ref .hero__stats b { font-size: 15px; }
  .hero--ref .hero__stats li span:not(.hs__ic) { font-size: 12px; }
  .hero--ref .hs__ic { width: 40px; }
  .hero--ref .hs__ic i { font-size: 20px; }
  .hero--ref .hero__art {
    display: block; margin: 20px calc(var(--gutter) * -1) 0; aspect-ratio: 902 / 791;
    background: url("../assets/hero/hero-art-mobile.webp?v=2") center / cover no-repeat;
  }
  .hero--ref .hero__pills { position: static; display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 36px; pointer-events: auto; }
  .hchip { position: static; width: auto; height: 44px; padding: 0 16px 0 5px; gap: 10px; animation: none; }
  .hchip__ic i { font-size: 18px; }
  .hchip__t { font-size: 14px; }
}

/* ---- live orbit scene (rings, cube, spheres, chips) ---- */
.hero--ref .intro { z-index: 30; }
.hero__rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hero__rings--back { z-index: 1; }
.hero__rings--front { z-index: 1; }
.hero__cube {
  position: absolute; z-index: 10; left: 69.3%; top: 43.8%; width: 14.96cqw; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
}
.hero__cube::before { /* warm light the cube casts on its surroundings */
  content: ""; position: absolute; inset: 6%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(247, 150, 40, 0.5), rgba(247, 150, 40, 0.16) 55%, transparent 100%); filter: blur(10px);
}
.hero__cube canvas { display: block; width: 100%; height: 100%; }
.hero__plate::after { /* glow on the pedestal below the orbit */
  content: ""; position: absolute; z-index: 1; left: 56%; width: 26%; top: 71%; height: 5%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(247, 160, 60, 0.45), transparent 100%); filter: blur(8px);
}
.hsph { position: absolute; left: 0; top: 0; border-radius: 50%; pointer-events: none; will-change: transform; box-shadow: 0 0.5cqw 1cqw rgba(60, 40, 90, 0.18); }
.hsph--p { background: radial-gradient(circle at 34% 28%, #e4d4ff 0%, #9a68dc 42%, #5c2eb0 100%); }
.hsph--o { background: radial-gradient(circle at 34% 28%, #ffd9a8 0%, #f7931e 48%, #cf5a08 100%); }
.hsph--g { background: radial-gradient(circle at 34% 28%, #fff3d6 0%, #f4b95e 50%, #c5801f 100%); }
@media (max-width: 899px) {
  .hero__rings, .hero__cube, .hero__orbs, .hero--ref .hero__plate::after { display: none; }
}

/* ---- homepage header: white, like the other pages ---- */
body.home .nav { background: #fff; border-bottom: 1px solid rgba(55, 48, 92, 0.08); }
body.home .nav.is-stuck { background: rgba(255, 255, 255, 0.95); box-shadow: 0 14px 34px -24px rgba(55, 48, 92, 0.35); }
body.home .nav__link { color: var(--ink); }
body.home .nav__link:hover, body.home .has-drop.open > .nav__link, body.home .has-drop:hover > .nav__link { color: var(--o); }
body.home .nav__burger { color: var(--ink); border-color: rgba(55, 48, 92, 0.2); }
@media (max-width: 980px) {
  body.home .nav__menu { background: #fff; border-color: rgba(55, 48, 92, 0.1); }
  body.home .nav__menu .nav__link { color: var(--ink); }
  body.home .nav__login--drawer { color: var(--ink); }
}
