
body.light ::selection { background: var(--blue); color: #fff; }
.hero3 { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: clip; isolation: isolate; background: var(--ground); }
.hero3 canvas.gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.hero3 .wash { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero3 .copy { position: relative; z-index: 3; display: grid; gap: 24px; max-width: 700px; padding: calc(var(--nav-h) + 48px) 0 clamp(48px, 8vh, 96px); }
.hero3 h1 { display: grid; font-size: clamp(40px, 5.8vw, 80px); }
.hero3 .foot-line { display: flex; gap: 24px; flex-wrap: wrap; font-size: 13.5px; color: var(--ink-faint); margin-top: 8px; }
.hero3 .foot-line b { color: var(--ink-dim); font-weight: 500; }
.hero3 .hint { position: absolute; right: var(--gutter); bottom: 28px; z-index: 3; font: 500 11.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); display: inline-flex; gap: 8px; align-items: center; }
.hero3 .hint::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: pulse 2.4s ease-in-out infinite; }
.hero3 .nogl { position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 50% at 70% 50%, rgba(20,101,219,.12), transparent 70%); }
/* E */
.hero-e .wash { background: linear-gradient(90deg, rgba(244,246,249,.96) 0%, rgba(244,246,249,.82) 38%, rgba(244,246,249,.15) 65%, rgba(244,246,249,0) 100%), linear-gradient(180deg, rgba(244,246,249,.6), transparent 30%, var(--ground) 100%); }
/* F */
.hero-f .wash { background: radial-gradient(70% 60% at 50% 100%, rgba(244,246,249,.95), rgba(244,246,249,.2) 70%), linear-gradient(180deg, rgba(244,246,249,.55), transparent 40%); }
.hero-f .copy.center { margin-inline: auto; text-align: center; justify-items: center; max-width: 900px; padding-bottom: clamp(140px, 24vh, 260px); }
.hero-f h1 { display: block; font-size: clamp(40px, 6.4vw, 92px); line-height: 1; }
.hero-f h1 span { display: inline-block; white-space: nowrap; } .hero-f h1 .cy { display: block; }
.hero-f .nodes { position: absolute; left: 0; right: 0; bottom: 64px; z-index: 3; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 0 var(--gutter); }
.hero-f .nodes span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line); font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-f .nodes span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.hero-f .nodes span.hq::before { background: var(--cyan); }
/* G */
.hero-g .wash { background: linear-gradient(90deg, rgba(244,246,249,.98) 0%, rgba(244,246,249,.9) 40%, rgba(244,246,249,.1) 62%, rgba(244,246,249,0) 100%); }
.hero-g .hstats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-g .hstats b { display: block; font: 500 clamp(20px, 2vw, 28px)/1 var(--font-display); letter-spacing: -.02em; color: var(--blue); }
.hero-g .hstats span { font-size: 12.5px; color: var(--ink-faint); line-height: 1.3; display: block; margin-top: 4px; }
/* H */
.hero-h .wash { background: linear-gradient(180deg, rgba(244,246,249,.92) 0%, rgba(244,246,249,.6) 35%, rgba(244,246,249,0) 60%, var(--ground) 100%); }
.hero-h .copy.center { margin-inline: auto; text-align: center; justify-items: center; max-width: 880px; padding-bottom: 40px; }
.hero-h h1 { display: block; font-size: clamp(40px, 6.2vw, 88px); line-height: 1; }
.hero-h h1 span { display: inline-block; white-space: nowrap; } .hero-h h1 .cy { display: block; }
.hero-h .floats { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; padding-bottom: clamp(40px, 7vh, 72px); }
.hero-h .float { padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.78); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow); display: grid; gap: 4px; }
.hero-h .float b { font: 500 clamp(22px, 2.2vw, 30px)/1 var(--font-display); letter-spacing: -.02em; color: var(--navy); }
.hero-h .float span { font-size: 12.5px; color: var(--ink-dim); }
.hero-h .floats .src { grid-column: 1 / -1; margin-top: 0; }
@media (max-width: 900px) { .hero-g .hstats, .hero-h .floats { grid-template-columns: repeat(2, minmax(0,1fr)); } .hero3 .hint, .hero-f .nodes { display: none; } .hero-f .copy.center { padding-bottom: 60px; } }
@media (prefers-reduced-motion: reduce) { .hero3 .hint::before { animation: none; } }


.hero-dom .copy { max-width: 560px; }
.hero-dom .dlabels { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.dlabel { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font: 500 11.5px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; pointer-events: auto; opacity: 0; transition: opacity .3s ease, transform .3s ease; background: rgba(7,11,20,.72); border: 1px solid var(--cyan-line); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dlabel i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 3px rgba(0,180,219,.25); }
.dlabel.show { opacity: 1; }
.dlabel.hot { background: var(--cyan); color: var(--cyan-ink); border-color: var(--cyan); }
.dlabel.hot i { background: var(--cyan-ink); box-shadow: none; }
.hero-dom .core-tag { position: absolute; z-index: 2; transform: translate(-50%, -50%); font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); pointer-events: none; opacity: 0; transition: opacity .4s ease; }
.hero-dom .core-tag.show { opacity: 1; }
.hero-i .wash { background: linear-gradient(90deg, rgba(7,11,20,.95) 0%, rgba(7,11,20,.8) 30%, rgba(7,11,20,.05) 50%, rgba(7,11,20,0) 100%), linear-gradient(180deg, rgba(7,11,20,.5), transparent 25%, var(--ground) 100%); }
.hero-j .wash { background: linear-gradient(90deg, rgba(244,246,249,.96) 0%, rgba(244,246,249,.82) 30%, rgba(244,246,249,.05) 50%, rgba(244,246,249,0) 100%), linear-gradient(180deg, rgba(244,246,249,.6), transparent 25%, var(--ground) 100%); }
body.light .dlabel { background: rgba(255,255,255,.85); border-color: rgba(20,101,219,.35); color: var(--ink); }
body.light .dlabel i { background: var(--blue); box-shadow: 0 0 0 3px rgba(20,101,219,.18); }
body.light .dlabel.hot { background: var(--blue); color: #fff; border-color: var(--blue); } body.light .dlabel.hot i { background: #fff; }
.hero-dom .domrow { position: relative; z-index: 3; display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.hero-dom .domrow a { font-size: 12.5px; color: var(--ink-faint); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); }
.hero-dom .domrow a:hover { color: var(--ink); border-color: var(--cyan-line); }
@media (max-width: 900px) { .hero-dom .copy { max-width: none; padding-bottom: 46vh; } .dlabel { font-size: 10px; padding: 5px 9px; } .hero-i .wash { background: linear-gradient(180deg, rgba(7,11,20,.92) 0%, rgba(7,11,20,.85) 45%, rgba(7,11,20,.1) 62%, var(--ground) 100%); } .hero-j .wash { background: linear-gradient(180deg, rgba(244,246,249,.95) 0%, rgba(244,246,249,.88) 45%, rgba(244,246,249,.1) 62%, var(--ground) 100%); } .hero-dom .domrow { display: none; } }


.hero-s .wash { background: linear-gradient(90deg, var(--ground) 0%, color-mix(in srgb, var(--ground) 82%, transparent) 32%, color-mix(in srgb, var(--ground) 8%, transparent) 55%, transparent 100%), linear-gradient(180deg, color-mix(in srgb, var(--ground) 55%, transparent), transparent 24%, var(--ground) 100%); }
.hero-s .copy { max-width: 600px; }
.hero-s.center .wash { background: linear-gradient(180deg, color-mix(in srgb, var(--ground) 70%, transparent) 0%, color-mix(in srgb, var(--ground) 35%, transparent) 40%, transparent 60%, var(--ground) 100%); }
.hero-s.center .copy { margin-inline: auto; text-align: center; justify-items: center; max-width: 900px; }
.hero-s.center h1 { display: block; } .hero-s.center h1 span { display: inline-block; white-space: nowrap; } .hero-s.center h1 span:last-child { display: block; }
.hero-s .tags { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.htag { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 11px; border-radius: 999px; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; background: color-mix(in srgb, var(--ground) 78%, transparent); border: 1px solid var(--cyan-line); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .3s ease; }
.htag i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); } .htag.warn i { background: var(--amber); } .htag.ok i { background: var(--teal); }
.htag.show { opacity: 1; }
.hero-s .readout { position: absolute; left: var(--gutter); bottom: 28px; z-index: 3; display: flex; gap: 18px; align-items: center; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.hero-s .readout b { color: var(--cyan); font-weight: 500; }
.hero-s .stage-nav { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 3; display: grid; gap: 6px; }
.hero-s .stage-nav a { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; font-size: 13px; color: var(--ink-dim); border: 1px solid transparent; }
.hero-s .stage-nav a span.n { font: 500 11px/1 var(--font-mono); color: var(--cyan); }
.hero-s .stage-nav a.on, .hero-s .stage-nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--card) 80%, transparent); border-color: var(--line); }
.sswitch { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 70; display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--ground) 88%, transparent); border: 1px solid var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); max-width: calc(100% - 24px); overflow-x: auto; scrollbar-width: none; }
.sswitch a { white-space: nowrap; padding: 8px 12px; border-radius: 999px; font: 500 12.5px/1 var(--font-text); color: var(--ink-dim); }
.sswitch a:hover { color: var(--ink); background: rgba(255,255,255,.06); } .sswitch a[aria-current] { background: var(--cyan); color: var(--cyan-ink); }
@media (max-width: 900px) { .hero-s .copy { max-width: none; padding-bottom: 44vh; } .hero-s .wash { background: linear-gradient(180deg, var(--ground) 0%, color-mix(in srgb, var(--ground) 85%, transparent) 46%, color-mix(in srgb, var(--ground) 10%, transparent) 62%, var(--ground) 100%); } .hero-s .stage-nav, .hero-s .readout, .hero3 .hint { display: none; } .hero-s.center .copy { padding-bottom: 36vh; } }

/* Page-head variants of the scenes (inner pages) and the home ring */
.hero-s.inner .copy { max-width: 760px; padding-top: calc(var(--nav-h) + 40px); }
.hero-s.inner h1 { font-size: clamp(34px, 4.6vw, 62px); }
.hero-s.inner .crumbs { margin-bottom: 4px; }
.hero-s.inner.center .copy { max-width: 900px; }
.hero-s.inner.center h1 span { white-space: normal; display: block; }
.hero-s.inner .tags .htag { font-size: 10.5px; }
.hero-home .copy { padding-top: calc(var(--nav-h) + 56px); }
.hero-home .copy .domrow { display: none; }
.hero3 .wash, .hero-s .wash { pointer-events: none; }
body.light .hero-s .wash { background: linear-gradient(90deg, var(--ground) 0%, color-mix(in srgb, var(--ground) 82%, transparent) 32%, color-mix(in srgb, var(--ground) 8%, transparent) 55%, transparent 100%), linear-gradient(180deg, color-mix(in srgb, var(--ground) 55%, transparent), transparent 24%, var(--ground) 100%); }
@media (max-width: 900px) { .hero-s.inner .copy { padding-bottom: 40vh; } .hero-s.inner h1 { font-size: clamp(30px, 8vw, 40px); } }
.hero3 h1 span:last-child, .hero3 h1 .cy, .hero-s h1 .cy { color: var(--cyan); }
body.light .hero3 h1 span:last-child, body.light .hero3 h1 .cy { color: #00545f; }

.hero-home h1 { font-size: clamp(44px, 6.6vw, 92px); }
.hero-home .lede { font-size: 19px; }
