/* Hackathon edition: precision light, fine materials, and restrained kinetic type. */
.hackathon-page { --line: #26312e; --muted: #a9b6ae; background: #070809; }
.hackathon-page .site-header { z-index: 20; padding-inline: max(5vw,24px); background: #070a09e8; border-bottom-color: #22332a; }
.hackathon-page .brand { letter-spacing: -.04em; }
.hackathon-page nav { font-size: 11px; gap: clamp(20px,2.8vw,42px); }
.hackathon-page nav a:not(.nav-cta) { position: relative; padding-block: 10px; }
.hackathon-page nav a:not(.nav-cta)::after { content: ''; position: absolute; bottom: 2px; left: 0; right: 0; height: 1px; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.hackathon-page nav a:is(:hover,[aria-current])::after { transform: scaleX(1); }
.hackathon-page .nav-cta { border-color: #71872d; padding: 11px 16px; background: #d8ff3706; }
.hackathon-page .hero { min-height: min(860px,calc(100svh - 76px)); padding: clamp(40px,5vh,70px) max(5vw,28px) 75px; gap: 0; grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr); background: radial-gradient(ellipse at 78% 51%,#12241980,transparent 45%); }
.hackathon-page .hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg,transparent 33%,#608d5620 52%,transparent 69%); opacity: .35; }
.hackathon-page .hero::after { content: ''; position: absolute; bottom: 44px; right: 5vw; width: 110px; height: 18px; background: repeating-linear-gradient(90deg,#546954 0 1px,transparent 1px 10px); border-block: 1px solid #53674a; opacity: .35; }
.hackathon-page .grid-field { opacity: .2; background-size: 64px 64px; mask-image: radial-gradient(ellipse at 78% 45%,#000 0%,transparent 71%); }
.hackathon-page .grid-field::after { display: none; }
.hackathon-page .hero-copy { z-index: 2; padding-bottom: 8px; }
.hackathon-page .signal { font-size: 10px; letter-spacing: .16em; display: flex; align-items: center; gap: 12px; margin-bottom: 25px; }
.hackathon-page .signal span { width: 6px; height: 6px; margin: 0; box-shadow: 0 0 14px #d8ff3755; }
.hackathon-page .hero h1 { font-family: "roc-grotesk", 'Space Grotesk',sans-serif; font-size: clamp(3rem,6.05vw,7.3rem); font-weight: 600; letter-spacing: -.07em; line-height: .99; text-wrap: initial; }
.hackathon-page .hero h1 em { display: block; margin-top: .1em; font-size: 1.4em; line-height: .9; letter-spacing: -.085em; }
.hackathon-page .hero h1 br { display: none; }
.hackathon-page .hero h1 em .motion-word { background: linear-gradient(115deg,#edffb5 5%,#d8ff37 43%,#6ef0b2 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hackathon-page .hero-lede { max-width: 39ch; font-size: clamp(1rem,1.35vw,1.2rem); line-height: 1.7; margin-top: 32px; color: #d6e1d7; }
.hackathon-page .welcome { max-width: 47ch; color: #a3b2a6; font-size: 13px; line-height: 1.7; }
.hackathon-page .hero-actions { gap: 12px; margin-top: 30px; }
.hackathon-page .button { min-height: 51px; padding-inline: 21px; font-size: 11px; letter-spacing: .045em; border-color: #435048; }
.hackathon-page .primary { border-color: var(--acid); box-shadow: 0 0 30px #d8ff3710,inset 0 1px #f4ffd9; }
.hackathon-page .primary span { margin-left: 9px; font-size: 18px; transition: transform .3s; }
.hackathon-page .primary:hover span { transform: translateX(4px); }
.hackathon-page .secondary { background: #0e141080; }
.hackathon-page .secondary:hover { color: var(--acid); background: #1c2519; border-color: #6b865b; }
.hackathon-page .button:hover { transform: translateY(-2px); }
.hackathon-page .scroll-cue { bottom: 34px; font-size: 9px; letter-spacing: .14em; display: flex; align-items: center; gap: 18px; }
.hackathon-page .scroll-cue::before { content: ''; width: 48px; height: 1px; background: #50634a; }
.hackathon-page .scroll-cue span { color: var(--acid); }
/* Single immediate-rendering instrument, with zero WebGL/model startup cost. */
.hackathon-page .neural-machine { --engine-x: 0deg; --engine-y: 0deg; width: min(620px,48vw,calc(100svh - 200px)); max-width: none; border: 0; border-radius: 0; background: none; perspective: 800px; isolation: isolate; touch-action: pan-y; }
.neural-machine .engine-aura { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(ellipse,#a2d43713,transparent 67%); pointer-events: none; }
.neural-machine :is(.engine-dial,.engine-chip,.neural-poster,.neural-canvas) { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.neural-machine .engine-dial { opacity: .65; }
.neural-machine .neural-canvas { opacity: 0; }
.neural-machine.engine-ready .neural-canvas { opacity: 1; }
.neural-machine.engine-ready .neural-poster { visibility: hidden; }
.neural-machine .engine-chip { z-index: 2; transform: rotateY(var(--engine-x)) rotateX(var(--engine-y)); }
.hackathon-page .neural-machine .core { top: 38.8%; left: 42%; width: 16%; height: 10%; inset-inline-end: auto; bottom: auto; background: none; border: 0; box-shadow: none; transform: rotate(-1deg) rotateX(20deg); z-index: 3; pointer-events: none; }
.hackathon-page .neural-machine .core span { font: 500 clamp(20px,2.5vw,32px) "roc-grotesk", 'Space Grotesk',sans-serif; color: #dfff9c; letter-spacing: -.05em; text-shadow: 0 0 12px #d8ff3740; }
.hackathon-page .neural-machine .node { z-index: 4; background: #0a100ee6; border: 1px solid #374c3f; padding: 8px 12px; font-size: 9px; letter-spacing: .12em; box-shadow: 0 3px 15px #0003; }
.hackathon-page .neural-machine .node::before { content: ''; display: inline-block; width: 4px; height: 4px; border: 1px solid currentColor; margin-right: 8px; vertical-align: 1px; }
.hackathon-page .neural-machine .node-a { top: 21%; left: 1%; }
.hackathon-page .neural-machine .node-b { top: 48%; right: -1%; }
.hackathon-page .neural-machine .node-c { bottom: 17%; left: 12%; }
.neural-machine .dial-revolve { transform-origin: 300px 294px; animation: dial-revolve 80s linear infinite; animation-play-state: paused; }
.engine-pause { position: absolute; right: 11%; bottom: 9%; z-index: 5; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #64806e; color: #b3cbbb; background: #0a100c; border-radius: 50%; cursor: pointer; }
.engine-pause[hidden] { display: none; }
.engine-pause svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.engine-pause:hover { border-color: var(--acid); color: var(--acid); }
.engine-pause .play-glyph,.engine-pause[aria-pressed=true] .pause-glyph { display: none; }
.engine-pause[aria-pressed=true] .play-glyph { display: block; }
.neural-machine.engine-ready:not(.engine-still) .dial-revolve { animation-play-state: running; }
@keyframes dial-revolve { to { transform: rotate(360deg); } }
@media (min-width: 1600px) { .hackathon-page .hero { padding-inline: max(5vw,calc((100vw - 1560px)/2)); } .hackathon-page .hero h1 { font-size: 5.8rem; } }
@media (max-width: 1100px) and (min-width: 801px) { .hackathon-page .hero { min-height: 690px; padding-inline: 4vw; grid-template-columns: 1.15fr .85fr; } .hackathon-page .neural-machine { width: 47vw; margin-left: -15px; } .hackathon-page .hero h1 { font-size: 5vw; } .hackathon-page .hero-lede { font-size: 16px; } .hackathon-page .button { padding-inline: 14px; font-size: 9px; } }
@media (max-width: 800px) {
  .hackathon-page .site-header { padding-inline: 22px; gap: 12px; min-height: 70px; }
  .hackathon-page .brand { font-size: 12px; gap: 7px; }
  .hackathon-page .brand img { width: 30px; height: 30px; }
  .hackathon-page .nav-cta { padding: 12px 10px; min-height: 40px; display: inline-flex; align-items: center; font-size: 9px; }
  .hackathon-page .hero { min-height: 0; grid-template-columns: minmax(0,1fr); padding: 62px 28px 72px; gap: 4px; background: radial-gradient(ellipse at 50% 70%,#142a1990,transparent 54%); }
  .hackathon-page .hero-copy { max-width: 600px; }
  .hackathon-page .hero h1 { font-size: clamp(2.4rem,11.6vw,4.9rem); }
  .hackathon-page .hero h1 em { font-size: 1.3em; }
  .hackathon-page .hero-lede { font-size: 16px; margin-top: 24px; }
  .hackathon-page .welcome { font-size: 12px; }
  .hackathon-page .signal { font-size: 9px; margin-bottom: 24px; }
  .hackathon-page .hero-actions { margin-top: 25px; gap: 10px; }
  .hackathon-page .hero-actions .button { width: auto; flex: 1 1 auto; justify-content: space-between; padding-inline: 15px; font-size: 9px; }
  .hackathon-page .neural-machine { width: min(510px,96vw); margin: 6px -20px -24px; }
  .hackathon-page .neural-machine .core span { font-size: clamp(20px,5vw,30px); }
  .hackathon-page .neural-machine .node { padding: 6px 8px; font-size: 8px; }
  .hackathon-page .neural-machine .node-a { left: 5%; }
  .hackathon-page .neural-machine .node-b { right: 3%; }
  .hackathon-page .scroll-cue { left: 28px; bottom: 19px; font-size: 8px; }
  .hackathon-page .hero::after { display: none; }
}
@media (max-width: 360px) { .hackathon-page .site-header { padding-inline: 14px; } .hackathon-page .hero { padding-inline: 22px; } .hackathon-page .hero h1 { font-size: 8.7vw; } }
@media (prefers-reduced-motion: reduce) { .neural-machine .dial-revolve { animation: none; } .hackathon-page .engine-chip { transform: none; } }
@media print { .neural-machine .neural-canvas { display: none; } .neural-machine.engine-ready .neural-poster { visibility: visible; } .engine-pause { display: none; } }

/* The instrument keeps the same silhouette; light and controls supply its depth. */
.hackathon-page .neural-machine .node {
  min-height: 44px; font-family: "input-mono", 'IBM Plex Mono',monospace; font-weight: 500;
  cursor: pointer; appearance: none; border-radius: 3px;
  transition: color .25s, border-color .25s, background .25s, box-shadow .25s;
  box-shadow: 0 8px 24px #0006, inset 0 1px #ddffe90a;
}
.hackathon-page .neural-machine .node:is(:hover,[aria-pressed="true"]) {
  color: #eaffb7; border-color: #9ab961; background: #1b2b19;
  box-shadow: 0 8px 24px #0006, 0 0 22px #d8ff3710, inset 0 1px #eaffb71c;
}
.hackathon-page .neural-machine .node[aria-pressed="true"]::before {
  background: var(--acid); border-color: var(--acid); box-shadow: 0 0 8px #d8ff3760;
}
.hackathon-page .neural-machine .node:disabled { cursor: default; }
.hackathon-page :is(a,button):focus-visible { outline: 2px solid #eaffb7; outline-offset: 5px; }
.neural-machine .engine-aura { inset: 5%; background: radial-gradient(ellipse at 43% 40%,#a2d43719,transparent 60%),radial-gradient(ellipse at 70% 64%,#4cf4dc0b,transparent 55%); }
.neural-machine .engine-chip { filter: drop-shadow(0 12px 8px #0005); }
.hackathon-page .hero::before { background: linear-gradient(117deg,transparent 40%,#608d5624 58%,transparent 76%); opacity: .55; }
.hackathon-page .hero .primary { background: linear-gradient(118deg,#e4ff72,#d8ff37 65%); }
.hackathon-page .nav-cta:hover { background: #d8ff3712; border-color: var(--acid); }
@media (max-width: 800px) {
 .hackathon-page .hero-actions .button { font-size: 10px; }
 .hackathon-page .neural-machine .node { font-size: 9px; padding-inline: 10px; }
 .hackathon-page .nav-cta { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) { .hackathon-page .neural-machine .node { transition: none; } }
