  /* The home is a doorway, not an instrument: one screen, no scroll. The page is
     a flex column pinned to the viewport, so the hero fills whatever the header
     leaves — no fragile height math, no sliver of scroll. A calm, coherent scene:
     the astronaut floating in space above a quiet horizon, no storm yet, with the
     five ways in resting along the bottom. */
  body { display: flex; flex-direction: column; min-height: 100dvh; margin: 0; }
  .home { position: relative; flex: 1 1 auto; min-height: 540px; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between; background: #0a0a10; }
  .home .layer { position: absolute; pointer-events: none; }
  .home .plate { inset: 0; background: url(bg.webp) center bottom / cover no-repeat; }
  .home .stars { inset: 0 0 40% 0; }
  .home .star { position: absolute; border-radius: 50%; background: #fff; }
  .home .astro { top: 5%; right: 5%; width: clamp(80px, 10vw, 150px); aspect-ratio: 900/684;
    background: url(astro.webp) center / contain no-repeat; animation: bob 7s ease-in-out infinite; }
  .home .sky-fade { inset: 0; background: radial-gradient(ellipse 70% 50% at 50% 34%, rgba(10,8,16,0.72), transparent 70%); }
  @keyframes bob { 50% { transform: translateY(-12px); } }
  @media (prefers-reduced-motion: reduce) { .home .astro { animation: none; } }

  .home-copy { position: relative; z-index: 3; text-align: center; padding: clamp(30px, 8vh, 84px) 24px 0; }
  .home-copy h1 { font-size: clamp(24px, 3.4vw, 42px); line-height: 1.08; font-weight: 900; margin: 0 auto clamp(16px, 3.2vh, 30px); max-width: 15em; text-wrap: balance; text-shadow: 0 2px 26px rgba(10,8,16,0.95); }
  .home-copy p { color: #d6d3d9; font-size: clamp(15px, 1.5vw, 18px); margin: 0 auto; max-width: 30em; text-shadow: 0 1px 16px rgba(10,8,16,0.95); transition: opacity 0.3s ease; }
  /* desktop: wider measure so the fuller subhead holds to three lines, and it
     fades out when a theme panel lights up so the centre stat reads uncluttered */
  @media (min-width: 781px) {
    .home-copy p { max-width: 40em; }
    .home-copy p.dim { opacity: 0; pointer-events: none; }
  }
  @media (prefers-reduced-motion: reduce) { .home-copy p { transition: none; } }
  /* the undecided nudge, inline in the opener paragraph */
  .home-copy .talk { color: var(--pink-hot); font-weight: 800; text-decoration: none; white-space: nowrap; }
  .home-copy .talk:hover { color: var(--pink); }
  .home-copy .talk .arw { display: inline-block; transition: transform 0.15s ease; }
  .home-copy .talk:hover .arw { transform: translateX(4px); }
  /* the astronaut warms when the cursor finds him */
  .home .astro { transition: filter 0.4s ease; }
  .home .astro.lit { animation: bob 7s ease-in-out infinite, astroGlow 1.2s ease-in-out infinite; }
  @keyframes astroGlow { 0%, 100% { filter: drop-shadow(0 0 7px rgba(233,30,140,0.45)); } 50% { filter: drop-shadow(0 0 22px rgba(233,30,140,0.95)); } }
  /* the lightning that trails the cursor: above the scene, below the copy/cards */
  #fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

  .home-pick { position: relative; z-index: 3; padding: 0 20px clamp(20px, 4vh, 44px); }
  .pick-row { display: flex; gap: 12px; max-width: 1200px; margin: 0 auto; }
  .pcard { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 9px;
    background: rgba(20, 18, 24, 0.82); backdrop-filter: blur(6px);
    border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 16px 15px 15px;
    text-decoration: none; color: var(--text-1); transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease; }
  .pcard:hover { border-color: var(--pink); transform: translateY(-3px); background: rgba(26, 20, 28, 0.9); }
  .pcard:focus-visible { outline: 2px solid var(--pink-hot); outline-offset: 3px; }
  .pcard .ic { width: 26px; height: 26px; color: var(--pink-hot); }
  .pcard .ic svg { width: 100%; height: 100%; display: block; }
  .pcard .pc-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .pcard h2 { font-size: 14.5px; font-weight: 800; margin: 0; line-height: 1.25; }
  .pcard p { font-size: 14px; color: var(--text-2); margin: 0; line-height: 1.45; }
  .pcard .soon-tag { font-size: 9px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--border-2); border-radius: 999px; padding: 1px 7px; align-self: flex-start; margin-top: auto; }
  .pcard.soon { cursor: default; }
  .pcard.soon:hover { border-color: var(--border-1); transform: none; background: rgba(20, 18, 24, 0.82); }
  .pcard.soon .ic { color: var(--text-2); }
  .pcard.soon h2 { color: var(--text-2); }

  /* Desktop: cards are icon + title only, centred; each theme's description shows
     big and readable in a glowing panel that fills the empty centre of the sky
     when you hover a card, with an electric reveal that matches the hover spark. */
  .pcard .pc-txt p { display: none; }
  @media (min-width: 781px) { .pcard { position: relative; align-items: center; text-align: center; } }
  .theme-panel { align-self: center; width: min(600px, 74%); z-index: 3; pointer-events: none;
    display: flex; flex-direction: column; justify-content: center; min-height: 96px; text-align: center;
    border: 1px solid rgba(233,30,140,0.16); border-radius: 16px; padding: 20px 26px;
    background: rgba(18,16,22,0.32); backdrop-filter: blur(7px); opacity: 0.5;
    transition: opacity 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease; }
  .theme-panel.active { opacity: 1; border-color: rgba(233,30,140,0.55); background: rgba(24,18,28,0.62);
    box-shadow: 0 0 40px rgba(233,30,140,0.26), inset 0 0 24px rgba(233,30,140,0.06); animation: panelZap 0.5s ease; }
  @keyframes panelZap { 0% { box-shadow: 0 0 3px rgba(233,30,140,0.1); }
    20% { box-shadow: 0 0 62px rgba(233,30,140,0.62), inset 0 0 30px rgba(233,30,140,0.16); }
    100% { box-shadow: 0 0 40px rgba(233,30,140,0.26), inset 0 0 24px rgba(233,30,140,0.06); } }
  .tp-title { font-size: 18px; font-weight: 900; color: var(--pink-hot); margin: 0 0 10px; }
  /* one compound thought: the stat and why it matters, figures in pink */
  .tp-stat { font-size: 16px; line-height: 1.55; font-weight: 600; color: var(--text-1); margin: 0 auto; max-width: 42em; }
  .tp-stat strong { color: var(--pink-hot); font-weight: 800; }
  .tp-stat:empty { display: none; }
  .theme-panel.active .tp-title, .theme-panel.active .tp-stat { animation: tpReveal 0.42s ease both; }
  .theme-panel.active .tp-stat { animation-delay: 0.05s; }
  @keyframes tpReveal { 0% { opacity: 0; transform: translateY(6px); filter: brightness(2.2); }
    55% { filter: brightness(1.25); } 100% { opacity: 1; transform: translateY(0); filter: brightness(1); } }
  @media (prefers-reduced-motion: reduce) {
    .theme-panel.active, .theme-panel.active .tp-title, .theme-panel.active .tp-stat { animation: none; } }
  @media (max-width: 780px) { .theme-panel { display: none; } }

  /* Click-to-explore cue above each card + the connector arrow (desktop only) */
  .cue { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); text-align: center;
    font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--pink-hot);
    text-shadow: 0 1px 10px rgba(10,8,16,0.9); opacity: 0; transform: translateY(5px);
    transition: opacity 0.2s ease, transform 0.2s ease; pointer-events: none; white-space: nowrap; }
  .pcard:hover .cue { opacity: 1; transform: translateY(0); }
  #statArrow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; opacity: 0; transition: opacity 0.25s ease; overflow: visible; }
  #statArrow.on { opacity: 1; }
  #statArrowPath { fill: none; stroke: var(--pink-hot); stroke-width: 1.6; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(233,30,140,0.5)); }
  @media (max-width: 780px) { .cue, #statArrow { display: none; } }

  /* Phone: the five stack as a light, tappable list — icon left, label and blurb
     to the right. No sideways swipe, which hid four of five behind a gesture. The
     home is allowed to grow and the page to scroll rather than clip a card. */
  @media (max-width: 780px) {
    .home { overflow: visible; }
    .home-copy { padding-top: 28px; }
    /* smaller subhead so it doesn't crowd the list on short screens */
    .home-copy p { font-size: 13.5px; line-height: 1.45; max-width: 34em; }
    /* the headline wraps on a phone, so lift him into the mid-sky between the copy
       and the list */
    .home .astro { top: 22%; right: 8%; width: 68px; }
    .home-pick { padding-bottom: 24px; }
    .pick-row { flex-direction: column; gap: 8px; }
    /* rows are label-only on a phone: drop the blurb to keep each card to one line,
       which frees space above and cuts scrolling */
    .pcard { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 13px; padding: 12px 15px; }
    .pcard .ic { flex: 0 0 auto; }
    .pcard .pc-txt p { display: none; }
  }
