/* Hero + points. Scoped to #top, #points, .hx-* */
#top.hx-hero { padding-block: calc(var(--header-h) + 16px) 40px; min-height: 100svh; display: grid; align-items: center; overflow-x: clip; isolation: isolate; }
#top .hx-pool { position: absolute; left: 50%; top: 34%; width: min(140vw, 1100px); aspect-ratio: 1; margin: 0; transform: translate3d(-50%, -50%, 0); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,216,163,.20), rgba(255,216,163,.07) 45%, rgba(255,216,163,0) 72%); transition: opacity 1.4s var(--ease-out); }
#top .hx-grid { display: grid; gap: 18px; align-items: center; }
#top .hx-fan { order: -1; position: relative; width: 100%; max-width: 640px; margin-inline: auto; aspect-ratio: 10 / 7; container-type: inline-size; }
#top .hx-case { position: absolute; margin: 0; width: 34cqw; aspect-ratio: 540 / 949; left: calc(50% - 17cqw); top: calc(50% - 29.9cqw); z-index: var(--z);
  transform: translate3d(var(--x), var(--y), 0) rotate(var(--r)); transform-origin: 50% 92%;
  transition: transform 1.1s var(--ease-spring) var(--d), opacity .5s var(--ease-out) var(--d); will-change: transform; }
#top .hx-case img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); }
#top .hx-case--char img { filter: brightness(1.5) saturate(.6) drop-shadow(0 18px 24px rgba(0,0,0,.45)); }
#top .hx-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
#top .hx-line { font: 500 clamp(19px, 2vw, 24px)/1.35 var(--f-body); margin: 14px 0 0; color: var(--bone); }
#top .hx-sub { margin: 10px 0 22px; color: var(--mute); letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
#top .hx-cta { display: flex; }
#top .hx-note { margin: 16px 0 0; }

/* Pre-intro state, only while JS is running and before the fan fires. */
.js #top:not(.hx-go) .hx-case:not(.hx-case--front) { opacity: 0; transform: translate3d(0, 0, 0) scale(.94); }
.js #top:not(.hx-go) .hx-pool { opacity: 0; }
.js #top:not(.hx-go) .hx-rise { opacity: 0; transform: translate3d(0, 22px, 0); }
#top .hx-rise { transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--n, 0) * 80ms + 120ms); }

@media (min-width: 900px) {
  #top .hx-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; }
  #top .hx-fan { order: 0; max-width: 680px; margin-inline: 0 auto; }
  #top .hx-copy { text-align: left; align-items: flex-start; }
  #top .hx-pool { left: 70%; top: 50%; }
}

/* Points */
#points.hx-points { padding-block: clamp(56px, 8vw, 112px); }
#points .hx-pts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
#points .hx-pt { border-top: 1px solid var(--line); padding-top: 18px; min-width: 0; }
#points .hx-pt__big { display: block; font: 600 clamp(48px, 9vw, 104px)/.9 var(--f-display); text-transform: none; letter-spacing: -.035em; color: var(--beam-hot); overflow-wrap: anywhere; }
#points .hx-pt__big--red { color: var(--red); }
#points .hx-pt__label { display: block; margin: 12px 0 8px; color: var(--mute); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
#points .hx-pt__text { margin: 0; font-size: 16px; line-height: 1.45; max-width: 18em; }
#points .hx-fn { display: inline-flex; align-items: flex-start; justify-content: center; min-width: 44px; min-height: 44px; margin: -14px -12px -14px -4px; padding-top: 14px; color: var(--beam); text-decoration: none; }
@media (min-width: 900px) { #points .hx-pts { grid-template-columns: repeat(4, 1fr); gap: 24px; } #points .hx-pt__big { font-size: min(5.4vw, 80px); overflow-wrap: normal; } #points .hx-pt__text { font-size: 17px; } }

@media (prefers-reduced-motion: reduce) {
  .js #top:not(.hx-go) .hx-case:not(.hx-case--front) { opacity: 1; transform: translate3d(var(--x), var(--y), 0) rotate(var(--r)); }
  .js #top:not(.hx-go) .hx-pool, .js #top:not(.hx-go) .hx-rise { opacity: 1; transform: none; }
  #top .hx-case { will-change: auto; }
}
