/* Home hero for 3.0: five scroll stops (3.0, AETHER, GAIA, TETHYS, $49). The section is tall, the
   pin sticks under the header, hero30.js maps the scroll position to the chapters and draws the
   giant words as particle clouds. With reduced motion the chapters simply stack. */
html:has(.h30) { scroll-snap-type: y proximity; }
.h30 { --ink: #ededeb; --muted: #9d9b97; --faint: #6b6a67; position: relative; height: 520vh; background: #000; color: var(--ink);
  container-type: inline-size; container-name: h30; }
.h30-snap { position: absolute; left: 0; top: 0; width: 1px; height: 1px; scroll-snap-align: start; scroll-margin-top: var(--header); }
.h30-pin { position: sticky; top: var(--header); height: calc(100vh - var(--header)); height: calc(100svh - var(--header)); min-height: 560px; overflow: clip; }
.h30-ch { position: absolute; inset: 0; }
.h30-big { position: absolute; z-index: 2; right: -.02em; bottom: -.13em; margin: 0; font-weight: 900; line-height: .8; letter-spacing: -.075em;
  color: var(--ink); pointer-events: none; user-select: none; white-space: nowrap; transition: opacity .35s cubic-bezier(.2, .7, .2, 1); }
.h30-big.w3 { font-size: 36cqw; }
.h30-big.w6 { font-size: 21.5cqw; letter-spacing: -.06em; }
.h30-big.w4 { font-size: 27cqw; letter-spacing: -.06em; }
.h30-big .bl { display: inline-block; width: 0; height: 0; }
/* the render: transparent RGBA still behind the particle word, fading darker where the word sits */
.h30-fig { position: absolute; z-index: 1; right: calc(100px - 2cqw); bottom: -6%; width: 62cqw; height: auto; max-height: 104%; aspect-ratio: 2400 / 1994;
  object-fit: contain; object-position: 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, .2) 68%, rgba(0, 0, 0, .2));
  mask-image: linear-gradient(to bottom, #000 38%, rgba(0, 0, 0, .2) 68%, rgba(0, 0, 0, .2)); }
.h30-copy { position: absolute; z-index: 4; left: var(--gutter); top: clamp(40px, 4.8cqw, 68px); max-width: min(760px, 50cqw); display: grid; gap: clamp(18px, 1.3cqw, 24px); }
.h30-copy h1, .h30-copy h2 { margin: 0; font-weight: 800; font-size: clamp(44px, 5.4cqw, 94px); line-height: .95; letter-spacing: -.045em; text-wrap: balance; color: var(--ink); }
.h30-copy h2.long { font-size: clamp(34px, 3.8cqw, 68px); max-width: 15ch; }
.h30-copy h2 .q { display: block; color: var(--muted); margin-bottom: .12em; }
.h30-copy .x { color: #fd5c00; }
.h30-sub { margin: 0; color: #bdbcb8; font-size: clamp(16px, 1.15cqw, 19.5px); line-height: 1.5; max-width: 40ch; text-wrap: pretty; }
.h30-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.h30-actions [hidden] { display: none; }
.h30 .h30-cta { background: #fd5c00; color: #141414; }
.h30 .h30-cta:hover { background: #ff7a2e; color: #141414; }
.h30 .arrow-link { color: var(--ink); }
.h30-actions .btn, .h30-actions .arrow-link { font-size: clamp(14px, .85cqw, 15px); }
.h30-actions .btn { min-height: 42px; padding-inline: 20px; }
.h30-madefor { margin: clamp(10px, 1cqw, 18px) 0 0; display: inline-flex; align-items: center; gap: 12px; width: max-content; color: var(--muted); font-size: clamp(12.5px, .8cqw, 14px); font-weight: 500; letter-spacing: .01em; line-height: 1; }
.h30-madefor span { transform: translateY(.08em); }
.h30-madefor a { display: inline-flex; align-items: center; text-decoration: none; opacity: .88; transition: opacity .18s var(--ease); }
.h30-madefor a:hover { opacity: 1; }
.h30-madefor img { height: clamp(18px, 1.2cqw, 21px); width: auto; display: block; }
.h30-pcl, .h30-ghost { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.h30-ghost { opacity: 0; }
.h30.pcl-on .h30-big { visibility: hidden; }  /* the ghost canvas draws the word instead */
@container h30 (max-width: 760px) {
  .h30-big.w3 { font-size: 58cqw; }
  .h30-big.w6 { font-size: 23cqw; }
  .h30-big.w4 { font-size: 31cqw; }
  .h30-fig { right: -14cqw; width: 128cqw; max-height: 74%; bottom: -4%; }
  .h30-copy { right: var(--gutter); top: 28px; gap: 16px; max-width: none; }
  .h30-copy h1, .h30-copy h2 { font-size: 44px; }
  .h30-copy h2.long { font-size: 34px; }
  .h30-sub { font-size: 15px; }
  .h30-actions .btn { min-height: 44px; padding-inline: 18px; }
  .h30-madefor { margin-top: 6px; gap: 10px; font-size: 13px; }
  .h30-madefor img { height: 19px; }
  }
/* until hero30.js runs (or without JS) only the first chapter shows */
.h30-ch:not([data-ch="0"]) { visibility: hidden; }
@media (prefers-reduced-motion: reduce) {
  html:has(.h30) { scroll-snap-type: none; }
  .h30 { height: auto; }
  .h30-pin { position: relative; top: 0; height: auto; overflow: visible; }
  .h30-ch, .h30-ch:not([data-ch="0"]) { position: relative; height: 640px; overflow: clip; visibility: visible; }
  }
