/* ==========================================================================
   Home — intro + 3D stage directory
   ========================================================================== */

/* ---------- Intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 120; background: #000; overflow: hidden;
  display: grid; place-items: center;
}
.intro.is-done { pointer-events: none; }
html.intro-skip .intro { display: none; }
.intro__wall {
  position: absolute; left: 50%; top: 50%; width: 170vmax; height: 170vmax;
  transform: translate(-50%, -50%) rotate(-12deg);
  display: grid; place-items: center;
}
.intro__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4vmax; width: 78vmax;
  transform: perspective(1200px) rotateX(18deg);
}
.intro__grid img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 1vmax;
  opacity: 0; transform: scale(.6);
  filter: grayscale(1) contrast(1.1) brightness(.7);
}
.intro__shade {
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,.35), rgba(0,0,0,.92) 75%);
}
.intro__beam {
  position: absolute; left: 50%; top: -20%; width: 70vmin; height: 140%; transform: translateX(-50%);
  background: conic-gradient(from 180deg at 50% 0%, transparent 168deg, rgba(185,179,255,.18) 176deg, rgba(255,255,255,.28) 180deg, rgba(142,243,255,.18) 184deg, transparent 192deg);
  filter: blur(8px); opacity: 0; mix-blend-mode: screen;
}
.intro__center { position: relative; display: grid; place-items: center; gap: 22px; text-align: center; }
.intro__ring { position: absolute; width: min(64vmin, 440px); height: min(64vmin, 440px); left: 50%; top: 50%; transform: translate(-50%, -58%) rotate(-90deg); overflow: visible; }
.intro__ring circle { fill: none; stroke-width: .5; }
.intro__ring .track { stroke: rgba(255,255,255,.1); }
.intro__ring .bar { stroke: url(#none); stroke: #fff; stroke-dasharray: 352; stroke-dashoffset: 352; filter: drop-shadow(0 0 3px #b9b3ff) drop-shadow(0 0 8px #8ef3ff); }
.intro__logo { width: min(68vw, 520px); clip-path: inset(0 100% 0 0); filter: drop-shadow(0 0 30px rgba(185,179,255,.25)); }
.intro__logo img { width: 100%; }
.intro__tag { display: flex; gap: 10px 22px; justify-content: center; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-2); }
.intro__tag span { opacity: 0; transform: translateY(10px); display: inline-block; }
.intro__foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px;
  display: flex; justify-content: space-between; align-items: end;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
}
.intro__num { font-family: var(--font); font-size: clamp(56px, 9vw, 120px); font-weight: 850; letter-spacing: -0.05em; line-height: .8; color: var(--ink); font-variant-numeric: tabular-nums; }
.intro__skip {
  position: absolute; right: var(--gutter); top: 24px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
  padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: color .3s, box-shadow .3s;
}
.intro__skip:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }

/* ---------- Stage ---------- */
.page-home .hdr { background: linear-gradient(rgba(5,5,6,.7), transparent); }
.page-home .hdr.is-solid { background: rgba(5,5,6,.62); }
.stage { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #030304; }
.stage__canvas { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.stage__canvas.is-drag { cursor: grabbing; }
.stage__canvas.is-hot { cursor: pointer; }
.stage__canvas canvas { width: 100% !important; height: 100% !important; outline: none; }
.stage__vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(3,3,4,.85) 0%, transparent 26%, transparent 70%, rgba(3,3,4,.95) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0,0,0,.6));
}
.stage__ui { position: absolute; inset: 0; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--header-h) + 8px) 0 22px; }
.stage__ui a, .stage__ui button { pointer-events: auto; }
.stage__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.stage__title { margin-top: 12px; font-size: clamp(34px, 4.6vw, 76px); font-weight: 850; letter-spacing: -0.05em; line-height: .88; }
.stage__title em { font-style: normal; }
.stage__bottom { display: grid; gap: 16px; }
.stage__help { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); justify-self: center; transition: opacity .6s; }
.stage__help .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--holo-cyan); box-shadow: 0 0 10px var(--holo-cyan); animation: pulse 1.6s ease-in-out infinite; }
.stage__help .t-touch { display: none; }
@media (hover: none) { .stage__help .t-desk { display: none; } .stage__help .t-touch { display: inline; } }
@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }

.stage__dir { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.stage__dir a {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: baseline;
  padding: 14px 16px; border-radius: 14px; overflow: hidden;
  background: rgba(12,12,14,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .4s, background .4s;
}
.stage__dir a::before {
  content: ""; position: absolute; inset: 0; background: var(--holo); opacity: 0; transition: opacity .4s; z-index: -1;
}
.stage__dir a small { grid-row: span 2; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.stage__dir a b { font-size: 17px; font-weight: 750; letter-spacing: -0.02em; }
.stage__dir a span { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.stage__dir a:hover, .stage__dir a.is-hot, .stage__dir a:focus-visible {
  transform: translateY(-4px); background: rgba(24,24,30,.7);
  box-shadow: inset 0 0 0 1px rgba(185,179,255,.6), 0 0 30px rgba(185,179,255,.25);
}
@media (max-width: 860px) {
  .stage__top { flex-direction: column; gap: 0; }
  .stage__dir { grid-template-columns: 1fr 1fr; }
  .stage__dir a { padding: 11px 12px; }
  .stage__dir a b { font-size: 15px; }
  .stage__dir a span { display: none; }
}

/* Hotspot labels (projected from 3D) */
.stage__labels { position: absolute; inset: 0; pointer-events: none; }
.hs {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -100%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  pointer-events: auto; cursor: pointer;
  transition: opacity .4s;
  will-change: transform;
}
.hs__pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px;
  background: rgba(8,8,10,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2);
  font-size: 13px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .4s, background .4s, color .3s;
}
.hs__pill i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--holo); color: #000; font-style: normal; font-family: var(--mono); font-size: 9px; font-weight: 500; }
.hs__line { width: 1px; height: 28px; background: linear-gradient(rgba(255,255,255,.6), transparent); }
.hs__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.15), 0 0 16px var(--holo-cyan); animation: ping 2s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(185,179,255,.6), 0 0 16px var(--holo-cyan); } 100% { box-shadow: 0 0 0 16px rgba(185,179,255,0), 0 0 16px var(--holo-cyan); } }
.hs.is-hot .hs__pill { transform: scale(1.12) translateY(-4px); background: var(--ink); color: #000; box-shadow: 0 0 30px rgba(185,179,255,.6); }
.hs.is-hidden { opacity: 0; pointer-events: none; }

/* Fallback (no WebGL) */
.stage__fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 120px var(--gutter) 200px; text-align: center; color: var(--mute);
  background: radial-gradient(60% 50% at 50% 40%, rgba(185,179,255,.15), transparent 70%), #030304; }
.stage__fallback[hidden] { display: none; }

/* ---------- Group overview ---------- */
.group__statement { max-width: 22ch; margin-bottom: clamp(56px, 8vw, 110px); font-size: clamp(28px, 4.2vw, 64px); }
.gcards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1100px) { .gcards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gcards { grid-template-columns: 1fr; } }
.gcard { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .7s var(--ease), box-shadow .5s; }
.gcard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.gcard__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.75); transform: scale(1.06); transition: transform 1.2s var(--ease), filter .8s; }
.gcard__media::after { content: ""; position: absolute; inset: 0; background: var(--holo); mix-blend-mode: color; opacity: 0; transition: opacity .6s; }
.gcard__body { padding: 20px 20px 24px; display: grid; gap: 6px; }
.gcard__body small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--mute); text-transform: uppercase; }
.gcard__body h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.gcard__body p { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.gcard:hover { transform: translateY(-10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 40px 80px -40px rgba(185,179,255,.5); }
.gcard:hover .gcard__media img { filter: grayscale(0) brightness(1); transform: scale(1); }
.gcard:hover .gcard__media::after { opacity: .18; }
.gcard__logos { display: grid; grid-template-columns: 1fr 1fr; place-items: center; gap: 18px; padding: 26px; background: radial-gradient(80% 60% at 50% 40%, rgba(185,179,255,.12), transparent 70%), #08080a; }
.gcard__logos img { width: 80%; height: auto; max-height: 70px; object-fit: contain; filter: none; transform: none; opacity: .8; transition: opacity .4s, filter .4s; }
.gcard:hover .gcard__logos img { filter: drop-shadow(0 0 10px rgba(185,179,255,.7)); opacity: 1; transform: none; }

.home-cta { margin-top: clamp(56px, 7vw, 96px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 32px; border-top: 1px solid var(--line); }
.home-cta .lede { max-width: 36ch; }

/* keep stage copy legible over beams / CO2 */
.stage__top > div, .stage__help { position: relative; }
.stage__top > div::before {
  content: ""; position: absolute; inset: -28px -40px; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(3,3,4,.72), rgba(3,3,4,.4) 60%, transparent);
  filter: blur(6px);
}
.stage__title, .stage__top .eyebrow, .stage__help { text-shadow: 0 1px 14px rgba(0,0,0,.85), 0 0 2px rgba(0,0,0,.6); }
.stage__help { padding: 6px 14px; border-radius: 99px; background: rgba(3,3,4,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stage__title .holo-text { text-shadow: none; filter: drop-shadow(0 1px 10px rgba(0,0,0,.9)); }
.stage__top > div::before { background: radial-gradient(closest-side, rgba(3,3,4,.86), rgba(3,3,4,.55) 62%, transparent); }
