/* Transparent vector emblem: current runs along the emblem's own paths. */
.hero-reactor {
  background: radial-gradient(ellipse at 78% 42%, #0b3449 0, #071b2c 36%, #040e1b 72%);
  isolation: isolate;
}
.hero-reactor::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(#6ccce524 .7px, transparent .7px);
  background-size: 22px 22px;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.hero-reactor .hero-grid { min-height: 700px; padding-top: 62px; padding-bottom: 70px; gap: 12px; }
.hero-reactor .hero-copy { position: relative; z-index: 2; }
.hero-reactor h1 { max-width: 620px; font-size: clamp(48px, 6.3vw, 82px); letter-spacing: -.055em; line-height: 1.03; margin-top: 28px; }
.hero-reactor h1 .grad { display: block; background-image: linear-gradient(100deg, #7cf4e5, #4fb8f5 70%); }
.hero-reactor .kicker { font-size: 11px; letter-spacing: .17em; color: #8bb7c9; }
.hero-reactor .lead { max-width: 490px; font-size: 18px; line-height: 1.8; color: #9eb4c5; }
.hero-reactor .hero-actions { margin-top: 32px; }
.hero-reactor .btn.primary { background: #7cf4e5; color: #06232d; box-shadow: 0 6px 30px #63e2d21c; }
.hero-reactor .btn.light { background: transparent; border-color: #466477; }
.hero-signature { margin-top: 52px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: #7c9aaf; font: 10px var(--mono); letter-spacing: .18em; }
.hero-signature i { width: 3px; height: 3px; border-radius: 50%; background: #5bdccb; }
.hero-reactor .reactor-art { min-width: 0; min-height: 0; }
.reactor-scene { position: relative; width: 112%; margin-left: -6%; aspect-ratio: 1; display: grid; place-items: center; perspective: 1000px; isolation: isolate; }
.reactor-halo { position: absolute; inset: 16%; border-radius: 50%; background: #24cabb; filter: blur(70px); opacity: .15; }
.reactor-grid { position: absolute; inset: 65% 2% -8%; background-image: linear-gradient(#55d8dc18 1px,transparent 1px),linear-gradient(90deg,#55d8dc18 1px,transparent 1px); background-size: 28px 28px; transform: rotateX(65deg); mask-image: radial-gradient(ellipse,black,transparent 70%); }
.reactor-circuits { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: transform .3s ease-out; }
.circuit-tracks { stroke: #4aa8b4; stroke-width: 1; opacity: .25; }
.circuit-current { stroke: #90fff0; stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 5px #3af3dd); }
.circuit-current path { stroke-dasharray: 6 94; animation: currentTravel 5s linear infinite; }
.circuit-current path:nth-child(2) { animation-delay: -2s; }
.circuit-current path:nth-child(3) { stroke: #ffc76c; animation-delay: -3s; }
.circuit-current path:nth-child(4) { stroke: #76b8ff; animation-delay: -1s; }
.reactor-ring { stroke: #66c7ca; stroke-width: 1; transform-origin: 300px 300px; animation: reactorTurn 80s linear infinite; }
.reactor-ring circle:first-child { opacity: .18; }
.reactor-ring circle:nth-child(2) { opacity: .4; }
.reactor-ring path { stroke: #9af5e4; opacity: .65; }
.reactor-sparks { stroke: #bafef7; stroke-width: 1.2; filter: drop-shadow(0 0 6px #55e9e0); opacity: .75; }
.reactor-core { width: 56%; max-width: 340px; aspect-ratio: 1; padding: 13px; border-radius: 50%; border: 1px solid #75d9d449; background: linear-gradient(135deg,#2b5a69,#061421 65%); box-shadow: 12px 26px 0 -7px #020b14, 0 40px 60px #0009, inset 0 0 0 5px #081c2a, 0 0 70px #40d8c71a; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: transform .3s ease-out; }
.reactor-disc { height: 100%; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid #bcf4ed; }
.reactor-disc img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.reactor-label { position: absolute; font: 9px var(--mono); letter-spacing: .2em; color: #97bac9; }
.reactor-label-top { top: 8%; right: 4%; }
.reactor-label-bottom { bottom: 7%; left: 18%; display: flex; gap: 8px; align-items: center; }
.reactor-label i { width: 5px; height: 5px; border-radius: 50%; background: #7cf4e5; box-shadow: 0 0 8px #7cf4e5; }
.hero-reactor .next-card { position: relative; left: auto; bottom: auto; width: 100%; margin-top: 12px; }
.hero-reactor > .stripe { height: 1px; opacity: .5; }
@keyframes currentTravel { to { stroke-dashoffset: -100; } }
@keyframes reactorTurn { to { transform: rotate(360deg); } }
.reactor-scene.is-paused *, .reactor-scene.tab-hidden * { animation-play-state: paused !important; }
@media(max-width: 980px) {
  .hero-reactor .hero-grid { grid-template-columns: 1fr 1fr; min-height: 600px; }
  .hero-reactor h1 { font-size: 58px; }
  .reactor-scene { width: 110%; margin-left: -5%; }
}
@media(max-width: 700px) {
  .hero-reactor .hero-grid { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 26px; gap: 4px; }
  .hero-reactor h1 { font-size: clamp(46px,11vw,66px); max-width: 100%; }
  .hero-reactor .lead { font-size: 16px; }
  .hero-reactor .kicker { font-size: 9px; letter-spacing: .1em; }
  .hero-signature { margin-top: 30px; }
  .reactor-scene { width: 100%; max-width: 440px; margin: 10px auto 0; }
  .reactor-core { width: 55%; padding: 9px; }
  .reactor-label { font-size: 8px; }
}
@media(prefers-reduced-motion: reduce) {
  .reactor-scene * { animation: none !important; transition: none !important; }
}

.hero-reactor {
  background: radial-gradient(ellipse at 80% 40%, #0b283f 0, #071422 40%, #030b14 80%);
}
.hero-reactor .hero-grid { min-height: 740px; }
.reactor-scene { aspect-ratio: 600 / 670; }
.reactor-halo {
  inset: 21% 15% 24%; background: radial-gradient(ellipse, #009dff, #1546ae 55%, transparent 72%);
  filter: blur(48px); opacity: .27; animation: ambientCharge 8s ease-in-out infinite;
}
.reactor-grid { opacity: .45; }
.reactor-circuits { opacity: .18; }
.circuit-current, .reactor-sparks { display: none; }
.reactor-ring { animation-duration: 120s; }
.electric-logo {
  position: relative; width: 92%; z-index: 2;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .35s ease-out; will-change: transform;
}
.living-logo { display: block; width: 100%; overflow: visible; filter: drop-shadow(0 26px 18px #0008); }
.logo-depth, .logo-traces, .logo-bevel, .logo-stream, .logo-stream-glow {
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.logo-depth { stroke: #02162e; stroke-width: 24; }
.logo-traces { stroke: url(#logoMetal); stroke-width: 22; }
.logo-bevel { stroke: url(#logoEdge); stroke-width: 1.5; opacity: .55; }
.logo-stream-glow { filter: url(#logoBloom); stroke-width: 13; }
.logo-stream { stroke-width: 2.5; }
.logo-stream use, .logo-stream-glow use {
  stroke: var(--energy); stroke-dasharray: 0 100;
  animation: logoCurrent 8s linear infinite; animation-delay: var(--delay);
}
.logo-terminals > circle { filter: drop-shadow(0 0 8px #29b8f133); }
.terminal { animation: terminalCharge 8s linear infinite; animation-delay: var(--delay); }
.terminal-blue { fill: #057ac0; }
.terminal-orange { fill: #e9650b; }
.terminal-yellow { fill: #e8ae04; }
.terminal-green { fill: #148744; }
.logo-lightning {
  fill: none; stroke: #ceffff; stroke-width: 1.6; stroke-linecap: round;
  filter: drop-shadow(0 0 5px #1acfff);
}
.logo-lightning path { opacity: 0; animation: internalArc 8s ease-out infinite; }
.logo-lightning path:nth-child(2) { animation-delay: -2s; }
.logo-lightning path:nth-child(3) { animation-delay: -4s; }
.logo-lightning path:nth-child(4) { animation-delay: -6s; }
.logo-wordmark { fill: #91c1e0; font: 700 35px var(--display); letter-spacing: 3px; }
.logo-wordmark .logo-year { fill: #4d91c4; font-size: 22px; letter-spacing: 8px; }
.logo-year tspan { fill: #3dd4ed; }
.reactor-label-top { top: 3%; right: 8%; color: #557c96; }
.reactor-label-bottom { bottom: 3%; left: 8%; font-size: 8px; color: #7896a9; }
.hero-motion-toggle {
  position: absolute; z-index: 4; right: 4%; bottom: 2%;
  padding: 8px 10px; color: #89a9bb; background: #071522b3;
  border: 1px solid #709ab333; border-radius: 6px; font-size: 10px; cursor: pointer;
}
.hero-motion-toggle:hover { color: #d5f9ff; border-color: #83dfea; }
.hero-motion-toggle:focus-visible { outline: 2px solid #7cf4e5; outline-offset: 4px; }
.reactor-scene.user-paused * { animation-play-state: paused !important; }
@keyframes logoCurrent {
  0% { stroke-dasharray: 0 100; stroke-dashoffset: 10; opacity: 0; }
  8% { stroke-dasharray: 9 91; opacity: .95; }
  60% { stroke-dasharray: 9 91; stroke-dashoffset: -91; opacity: .95; }
  72%, 100% { stroke-dasharray: 0 100; stroke-dashoffset: -100; opacity: 0; }
}
@keyframes terminalCharge {
  0%, 48%, 82%, 100% { filter: drop-shadow(0 0 2px var(--energy)); }
  64% { filter: drop-shadow(0 0 14px var(--energy)) brightness(1.65); }
}
@keyframes internalArc {
  0%, 58%, 76%, 100% { opacity: 0; }
  63% { opacity: .85; } 70% { opacity: .3; }
}
@keyframes ambientCharge { 0%,100% { opacity: .18; transform: scale(.95); } 55% { opacity: .36; transform: scale(1.05); } }
@media(max-width: 980px) { .hero-reactor .hero-grid { min-height: 620px; } }
@media(max-width: 700px) {
  .hero-reactor .hero-grid { min-height: auto; }
  .reactor-scene { max-width: 470px; margin-top: 22px; }
  .electric-logo { width: 94%; }
  .reactor-halo { filter: blur(32px); }
  .hero-motion-toggle { font-size: 9px; right: 0; }
  .reactor-label-bottom { left: 2%; letter-spacing: .1em; }
}
@media(prefers-reduced-motion: reduce) {
  .reactor-scene * { animation: none !important; transition: none !important; }
  .logo-stream, .logo-stream-glow, .logo-lightning { display: none; }
  .hero-motion-toggle { display: none; }
  .electric-logo { transform: none; }
}

/* A compact illuminated dock anchors the next event below the whole scene. */
.hero-reactor .hero-grid { min-height: 640px; padding-top: 32px; padding-bottom: 26px; }
.reactor-scene { width: 100%; max-width: 540px; margin-left: auto; margin-right: auto; }
.hero-event-wrap { position: relative; z-index: 3; }
.hero-reactor .event-dock {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto;
  align-items: center; gap: 20px; width: 100%; margin: 0 0 34px; padding: 18px 22px;
  border-radius: 14px; border: 1px solid #5bd9d93b; background: linear-gradient(110deg,#0c2635eb,#081521 60%);
  box-shadow: 0 12px 28px #0003, inset 0 1px 0 #a0ffef10; overflow: hidden;
}
.event-dock::before { content: ''; position: absolute; left: 0; top: 17px; bottom: 17px; width: 2px; background: #7cf4e5; box-shadow: 0 0 14px #7cf4e5; }
.event-signal { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #7cf4e526; border-radius: 12px; background: #7cf4e509; color: #83e9e2; }
.event-signal > svg { width: 20px; height: 20px; }
.event-signal > span { position: absolute; inset: -4px; border: 1px solid #7cf4e530; border-radius: 15px; animation: eventSignal 4s ease-in-out infinite; }
.event-dock-copy { min-width: 0; }
.event-dock-eyebrow { display: flex; align-items: center; gap: 7px; color: #8cbbbF; font: 9px var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.event-dock-eyebrow i { width: 4px; height: 4px; border-radius: 50%; background: #7cf4e5; box-shadow: 0 0 7px #7cf4e5; }
.event-dock h2 { margin: 6px 0 0; font-size: 18px; line-height: 1.3; color: #e8f7fc; overflow-wrap: anywhere; }
.event-dock-meta { display: grid; gap: 3px; padding-right: 24px; border-right: 1px solid #91c8d321; max-width: 240px; }
.event-dock-meta > span { color: #cee1ec; font-size: 13px; }
.event-dock-meta > small { color: #7f9daf; font-size: 11px; }
.hero-reactor .event-dock-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  margin: 0; padding: 12px 16px; border-radius: 9px; color: #091f29; background: #7cf4e5;
  text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 0 25px #7cf4e512; transition: background .2s, box-shadow .2s;
}
.hero-reactor .event-dock-cta:hover { background: #a4fff0; box-shadow: 0 0 28px #7cf4e526; }
.event-dock-cta:focus-visible { outline: 2px solid #e4fffa; outline-offset: 4px; }
@keyframes eventSignal { 0%,100% { opacity: .25; transform: scale(.96); } 50% { opacity: .8; transform: scale(1.04); } }
@media (max-width: 980px) { .hero-reactor .hero-grid { min-height: 560px; } .hero-reactor .event-dock { gap: 14px; } }
@media (max-width: 700px) {
  .hero-reactor .hero-grid { min-height: auto; padding-top: 42px; padding-bottom: 20px; }
  .reactor-scene { margin-top: 15px; max-width: 410px; }
  .hero-reactor .event-dock { grid-template-columns: 36px minmax(0,1fr); padding: 16px; gap: 12px; margin-bottom: 24px; }
  .event-signal { width: 34px; height: 34px; border-radius: 9px; }
  .event-dock h2 { font-size: 16px; }
  .event-dock-meta { grid-column: 2; border: 0; padding: 0; max-width: none; }
  .hero-reactor .event-dock-cta { grid-column: 1 / -1; padding: 12px; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) { .event-signal > span { animation: none; } .board-page .board-card { transition: none; } }

/* Glass event surface, charged by the emblem above. */
.hero-reactor .hero-grid { padding-top: 120px; padding-bottom: 12px; min-height: 690px; }
.hero-reactor .hero-copy { padding-bottom: 20px; }
.hero-event-wrap { padding-top: 14px; }
.hero-event-wrap:has(.event-dock:not([hidden]))::before {
  content: ''; position: absolute; right: 25%; bottom: calc(100% - 15px); height: 64px; width: 1px;
  background: linear-gradient(transparent, #71e9dd66); box-shadow: 0 0 12px #67eddf33;
}
.hero-reactor .event-dock {
  position: relative; grid-template-columns: 80px minmax(0,1fr) auto auto; gap: 26px;
  min-height: 112px; padding: 18px 26px 18px 18px; margin-bottom: 38px; border-radius: 21px;
  border-color: #d7edf02a; background: linear-gradient(115deg,#9be9ed13,#192c3d70 40%,#94d6ce0d);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 1px 0 #e0fff41a, 0 20px 45px #0003;
}
.event-dock::before {
  inset: 0; width: auto; height: auto; border-radius: inherit; background: none;
  border-top: 1px solid #b5fff1; border-bottom: 1px solid #b5fff166;
  box-shadow: none; opacity: 0; pointer-events: none; clip-path: inset(0 100% 0 0);
  animation: dockCharge 10s linear infinite;
}
.event-date-block {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  align-self: stretch; min-height: 76px; border: 1px solid #cefff12b; border-radius: 15px;
  background: linear-gradient(140deg,#b9fff11c,#6dddc205); color: #d5fff6;
  box-shadow: inset 0 1px 0 #ffffff17;
}
.event-date-block strong { font: 600 38px/1 var(--display); letter-spacing: -.04em; }
.event-date-block > span { margin-top: 7px; font: 10px var(--mono); letter-spacing: .16em; color: #81b5b7; }
.event-dock h2 { font-size: 23px; letter-spacing: -.025em; margin-top: 7px; }
.event-dock-eyebrow { color: #86abb7; font-size: 9px; }
.event-dock-meta { border-right: 0; padding-right: 8px; gap: 6px; }
.hero-reactor .event-dock-cta {
  padding: 15px 20px; border: 1px solid #d6fff45c; border-radius: 13px;
  background: linear-gradient(140deg,#b6fff0,#72ded7); color: #08252e;
  box-shadow: inset 0 1px 0 #ffffff66, 0 5px 20px #76e7d81a; gap: 26px;
}
.hero-reactor .event-dock-cta:hover { background: #c6fff3; box-shadow: 0 5px 26px #76e7d83b; }
@keyframes dockCharge {
  0%,55% { opacity: 0; clip-path: inset(0 100% 0 0); }
  62% { opacity: .65; }
  78% { opacity: .65; clip-path: inset(0 0 0 0); }
  90%,100% { opacity: 0; clip-path: inset(0 0 0 0); }
}
@media(max-width: 980px) {
  .hero-reactor .event-dock { grid-template-columns: 65px minmax(0,1fr) auto; gap: 18px; }
  .event-dock-meta { grid-column: 2; grid-row: 2; }
  .event-date-block { grid-row: 1 / 3; }
  .hero-reactor .event-dock-cta { grid-column: 3; grid-row: 1 / 3; }
  .event-dock h2 { font-size: 20px; }
}
@media(max-width: 700px) {
  .hero-reactor .hero-grid { padding-top: 120px; min-height: auto; }
  .hero-reactor .hero-copy { padding-bottom: 0; }
  .hero-reactor .event-dock { grid-template-columns: 62px minmax(0,1fr); padding: 16px; gap: 10px 16px; border-radius: 18px; }
  .event-dock-meta { grid-column: 2; grid-row: 2; }
  .event-date-block strong { font-size: 32px; }
  .hero-reactor .event-dock-cta { grid-column: 1 / -1; grid-row: 3; margin-top: 5px; padding: 13px 16px; justify-content: space-between; }
  .hero-event-wrap:has(.event-dock:not([hidden]))::before { right: 50%; height: 30px; }
}
@media(prefers-reduced-motion: reduce) { .event-dock::before { animation: none; } }
