/* ==========================================================================
   Void Walkers — Department hero scenes
   The supplied department artwork, mounted behind the existing hero copy.
   Only /machines/, /hackathons/ and /coding/ load this file.
   ========================================================================== */

body[data-department="machines"] #blackhole,
body[data-department="hackathons"] #blackhole,
body[data-department="coding"] #blackhole,
body[data-department="ai"] #blackhole,
body[data-department="security"] #blackhole,
body[data-department="design"] #blackhole { display: none; }

body[data-department="machines"] .dept-hero,
body[data-department="hackathons"] .dept-hero,
body[data-department="coding"] .dept-hero,
body[data-department="ai"] .dept-hero,
body[data-department="security"] .dept-hero,
body[data-department="design"] .dept-hero {
  min-height: 100svh;
  justify-content: flex-end;
  padding-bottom: clamp(44px, 7vh, 86px);
  overflow: hidden;
}

body[data-department="machines"] .dept-hero__inner,
body[data-department="hackathons"] .dept-hero__inner,
body[data-department="coding"] .dept-hero__inner,
body[data-department="ai"] .dept-hero__inner,
body[data-department="security"] .dept-hero__inner,
body[data-department="design"] .dept-hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  margin-inline: 0 auto;
}

body[data-department="machines"] .dept-hero__title,
body[data-department="hackathons"] .dept-hero__title,
body[data-department="coding"] .dept-hero__title,
body[data-department="ai"] .dept-hero__title,
body[data-department="security"] .dept-hero__title,
body[data-department="design"] .dept-hero__title {
  max-width: 14ch;
  text-wrap: balance;
  text-shadow: 0 8px 70px rgba(0, 0, 0, 0.94);
}
body[data-department="machines"] .dept-hero__blurb,
body[data-department="hackathons"] .dept-hero__blurb,
body[data-department="coding"] .dept-hero__blurb,
body[data-department="ai"] .dept-hero__blurb,
body[data-department="security"] .dept-hero__blurb,
body[data-department="design"] .dept-hero__blurb {
  max-width: 48ch;
  color: #b9bec8;
}

/* ==========================================================================
   MACHINES & HARDWARE — shipyard conveyor
   ========================================================================== */

.shipyard-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(200, 114, 67, 0.09), transparent 46%),
    radial-gradient(ellipse at 50% 42%, rgba(0, 240, 255, 0.04), transparent 58%),
    #04050b;
}
.shipyard-scene::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(4, 5, 11, 0.8) 68%, #04050b 100%);
}
.shipyard-scene__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.shipyard-scene__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(99, 104, 126, 0.26) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 104, 126, 0.26) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask: radial-gradient(ellipse at 50% 44%, #000 0 20%, transparent 72%);
  mask: radial-gradient(ellipse at 50% 44%, #000 0 20%, transparent 72%);
}
.shipyard-scene__frame {
  position: absolute;
  inset: calc(var(--nav-height) + 18px) var(--gutter) 20px;
  z-index: 2;
  border: 1px solid rgb(255 255 255 / 0.055);
  pointer-events: none;
}

.shipyard-hud {
  position: absolute;
  z-index: 3;
  top: calc(var(--nav-height) + 24px);
  width: min(342px, calc(50vw - var(--gutter) - 20px));
  padding: 15px 16px;
  border: 1px solid rgb(255 255 255 / 0.12);
  background: rgba(7, 10, 16, 0.84);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.4);
  color: #8c969e;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  line-height: 1.45;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.shipyard-hud--left {
  left: var(--gutter);
  border-left: 2px solid #c87243;
}
.shipyard-hud--right {
  right: var(--gutter);
  width: min(278px, calc(50vw - var(--gutter) - 20px));
  border-right: 2px solid #00f0ff;
  text-align: right;
}
.shipyard-hud__head,
.shipyard-hud__row,
.shipyard-hud__titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.shipyard-hud__head,
.shipyard-hud__titlebar {
  padding-bottom: 8px;
  margin-bottom: 9px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.shipyard-hud__head b,
.shipyard-hud__row b {
  font-weight: 400;
  color: #e7edf1;
}
.shipyard-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #00f0ff;
  font-weight: 700;
}
.shipyard-live::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: shipyard-pulse 1.8s ease-in-out infinite;
}
@keyframes shipyard-pulse { 50% { opacity: 0.3; transform: scale(0.75); } }
.shipyard-hud__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.06em;
  color: #f0f3f5;
}
.shipyard-hud__rows { display: grid; gap: 6px; }
.shipyard-hud__row { font-size: 0.58rem; }
.shipyard-hud__row span { color: #7f8a93; }
.shipyard-bar {
  height: 4px;
  margin: 8px 0 10px;
  overflow: hidden;
  border-radius: 99px;
  background: #1c2029;
}
.shipyard-bar i {
  display: block;
  width: 12%;
  height: 100%;
  background: linear-gradient(90deg, #c87243, #ff8c42, #00f0ff);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
  transition: width 90ms linear;
}
.shipyard-hud--right .shipyard-hud__row { justify-content: space-between; }
.shipyard-hud--right .shipyard-hud__row span { text-align: left; }
.shipyard-hud__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-size: 0.55rem;
}
.shipyard-hud__foot b { font-weight: 400; color: #00f0ff; }

body[data-department="machines"] .dept-hero__inner,
body[data-department="machines"] .dept-hero__title { max-width: 820px; }
body[data-department="machines"] .dept-hero__title { font-size: clamp(2.8rem, 6.2vw, 5.2rem); }
body[data-department="machines"] .dept-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 5, 11, 0.56), transparent 20%),
    linear-gradient(0deg, rgba(4, 5, 11, 0.94) 0, rgba(4, 5, 11, 0.58) 28%, transparent 55%);
}

/* ==========================================================================
   HACKATHONS & PRODUCT BUILDING — orbital launch
   ========================================================================== */

.orbital-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 58% 44%, rgba(0, 240, 255, 0.075), transparent 34%),
    radial-gradient(circle at 76% 70%, rgba(255, 87, 34, 0.075), transparent 36%),
    radial-gradient(circle at 30% 20%, rgba(132, 244, 247, 0.035), transparent 42%),
    #04060b;
}
.orbital-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(4, 6, 11, 0.9) 0, rgba(4, 6, 11, 0.52) 34%, transparent 64%),
    linear-gradient(0deg, rgba(4, 6, 11, 0.96) 0, rgba(4, 6, 11, 0.4) 34%, transparent 62%);
}
#orbitalStars {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.orbital-grid,
.orbital-grid--fine,
.orbital-scanlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.orbital-grid {
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
}
.orbital-grid--fine {
  opacity: 0.22;
  background-image: radial-gradient(circle, rgba(255, 140, 66, 0.2) 1px, transparent 1px);
  background-size: 14px 14px;
}
.orbital-scanlines {
  z-index: 4;
  opacity: 0.12;
  background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.45) 50%);
  background-size: 100% 4px;
}
.orbital-system {
  position: absolute;
  z-index: 1;
  left: 50%;
  right: auto;
  top: 46%;
  width: min(62vw, 850px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}
.orbital-system::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.19), rgba(255, 140, 66, 0.08) 45%, transparent 72%);
  filter: blur(26px);
  transform: translate(-50%, -50%);
  animation: orbital-breathe 6s ease-in-out infinite;
}
@keyframes orbital-breathe { 50% { opacity: 0.65; transform: translate(-50%, -50%) scale(1.08); } }
.orbital-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.orbital-ring--outer {
  width: 91%;
  height: 91%;
  border: 1px solid rgba(0, 240, 255, 0.15);
  animation: orbital-spin 95s linear infinite;
}
.orbital-ring--mid {
  width: 71%;
  height: 71%;
  border: 1px dashed rgba(255, 140, 66, 0.25);
  animation: orbital-spin 70s linear infinite reverse;
}
.orbital-ring--inner {
  width: 54%;
  height: 54%;
  border: 1px solid rgba(0, 240, 255, 0.2);
  animation: orbital-spin 52s linear infinite;
}
@keyframes orbital-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.orbital-ring__node {
  position: absolute;
  left: 50%;
  top: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid #00f0ff;
  border-radius: 50%;
  background: #04060b;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.8);
}
.orbital-ring--mid .orbital-ring__node {
  top: auto;
  bottom: 16%;
  left: 4%;
  border-color: #ff8c42;
  box-shadow: 0 0 12px rgba(255, 140, 66, 0.8);
}
.orbital-planet {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(145deg, #050912, #0f213d 54%, #1e3b68);
  box-shadow:
    inset -24px -22px 54px rgba(0, 0, 0, 0.96),
    inset 16px 15px 42px rgba(0, 240, 255, 0.24),
    0 0 44px rgba(0, 240, 255, 0.2);
  transform: translate(-50%, -50%);
}
.orbital-planet::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(145deg, transparent 18%, rgba(4, 6, 11, 0.38) 55%, rgba(4, 6, 11, 0.95));
}
.orbital-planet::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(132, 244, 247, 0.55);
  border-radius: 50%;
  box-shadow: inset 7px 7px 18px rgba(132, 244, 247, 0.18);
}
.orbital-planet svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  animation: orbital-spin 140s linear infinite;
}
.orbital-rocket {
  position: absolute;
  z-index: 2;
  left: 14%;
  top: 8%;
  width: clamp(92px, 8vw, 130px);
  transform: rotate(12deg);
  animation: orbital-rocket 4.2s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(0, 240, 255, 0.34));
}
@keyframes orbital-rocket {
  0%, 100% { transform: translate(-5px, 5px) rotate(12deg); }
  50% { transform: translate(2px, -9px) rotate(13deg); }
}
.orbital-rocket svg { display: block; width: 100%; height: auto; overflow: visible; }
.orbital-plume {
  position: relative;
  width: 48%;
  height: clamp(94px, 14vw, 168px);
  margin: -20px auto 0;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(180deg, #ffffff, #00f0ff 44%, rgba(0, 240, 255, 0));
  filter: blur(2px);
  opacity: 0.9;
  transform-origin: top center;
  animation: orbital-plume 0.14s ease-in-out infinite alternate;
}
.orbital-plume::before,
.orbital-plume::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 38%;
  height: 76%;
  top: 2%;
  border-radius: inherit;
  background: linear-gradient(180deg, #fff, #ffaa44 62%, rgba(255, 87, 34, 0));
  transform: translateX(-50%);
}
.orbital-plume::after {
  width: 8%;
  height: 94%;
  background: linear-gradient(180deg, #fff, #00f0ff 65%, transparent);
  filter: blur(1px);
}
@keyframes orbital-plume { 50% { transform: scaleX(0.9) scaleY(1.08); opacity: 0.78; } }

/* Twin escorts streak through together, then stay offscreen for 10 seconds. */
.orbital-twins {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 5%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: clamp(10px, 1.4vw, 22px);
  width: clamp(138px, 15vw, 220px);
  height: auto;
  pointer-events: none;
  overflow: visible;
  animation: orbital-pass 11s linear infinite;
  will-change: transform, opacity;
}
.orbital-twin {
  position: relative;
  display: flex;
  flex: 0 1 48%;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  opacity: 1;
  transform: rotate(-4deg);
}
.orbital-twin svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.55));
}
.orbital-twin--amber svg { filter: drop-shadow(0 0 14px rgba(255, 140, 66, 0.5)); }
.orbital-twin__plume {
  position: relative;
  display: block;
  width: 26%;
  height: clamp(100px, 15vw, 220px);
  margin-top: -7px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(180deg, #fff, #00f0ff 30%, rgba(0, 240, 255, 0));
  filter: blur(2px);
  opacity: 0.85;
  transform-origin: top center;
  animation: orbital-plume 0.18s ease-in-out infinite alternate;
}
.orbital-twin__plume::before,
.orbital-twin__plume::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  border-radius: 0 0 999px 999px;
  transform: translateX(-50%);
  pointer-events: none;
  mix-blend-mode: screen;
}
.orbital-twin__plume::before {
  width: 34%;
  height: clamp(180px, 26vw, 360px);
  background: linear-gradient(180deg, #fff 0%, #9ffcff 5%, rgba(0, 240, 255, 0.65) 20%, rgba(0, 240, 255, 0.16) 58%, transparent 100%);
  filter: blur(2px);
  opacity: 0.9;
}
.orbital-twin__plume::after {
  width: 95%;
  height: clamp(140px, 22vw, 300px);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.5), transparent 84%);
  filter: blur(9px);
  opacity: 0.55;
}
.orbital-twin--amber .orbital-twin__plume {
  background: linear-gradient(180deg, #fff, #ff8c42 32%, rgba(255, 87, 34, 0));
}
.orbital-twin--amber .orbital-twin__plume::before {
  background: linear-gradient(180deg, #fff 0%, #ffd2b8 5%, rgba(255, 140, 66, 0.65) 20%, rgba(255, 87, 34, 0.14) 58%, transparent 100%);
}
.orbital-twin--amber .orbital-twin__plume::after {
  background: linear-gradient(180deg, rgba(255, 140, 66, 0.5), transparent 84%);
}
@keyframes orbital-pass {
  0% { transform: translate3d(8vw, 105vh, 0); opacity: 1; }
  8% { transform: translate3d(-8vw, -105vh, 0); opacity: 1; }
  8.01%, 100% { transform: translate3d(8vw, 105vh, 0); opacity: 0; }
}

.orbital-brand {
  position: absolute;
  z-index: 3;
  top: calc(var(--nav-height) + 24px);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #84f4f7;
  white-space: nowrap;
}
.orbital-brand b { color: #ff5722; font-weight: 400; }
.orbital-brand::after {
  content: "";
  width: 170px;
  height: 1px;
  background: linear-gradient(90deg, #00f0ff, transparent);
}
.orbital-hud {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 7%;
  top: auto;
  width: 258px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 140, 66, 0.34);
  background: rgba(7, 11, 22, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35), inset 0 0 24px rgba(255, 140, 66, 0.035);
  color: #8e9aae;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.orbital-hud__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: #ff8c42;
  font-weight: 700;
}
.orbital-hud__head::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ff8c42;
  box-shadow: 0 0 9px #ff8c42;
}
.orbital-hud__row { display: flex; justify-content: space-between; gap: 12px; }
.orbital-hud__row b { font-weight: 400; color: #e8edf3; }
.orbital-hud__row em { font-style: normal; color: #00f0ff; }
.orbital-badge {
  position: absolute;
  z-index: 3;
  left: var(--gutter);
  bottom: 32%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-left: 2px solid #00f0ff;
  background: rgba(7, 11, 22, 0.68);
  color: #7d8b98;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.orbital-badge b { color: #e7edf2; font-weight: 400; }
.orbital-code {
  position: absolute;
  z-index: 2;
  max-width: 330px;
  color: rgba(0, 240, 255, 0.2);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.orbital-code--a { left: var(--gutter); top: 24%; }
.orbital-code--b { right: 10%; bottom: 11%; color: rgba(255, 140, 66, 0.18); text-align: right; }
.orbital-code span { color: rgba(255, 140, 66, 0.3); }
body[data-department="hackathons"] .dept-hero__inner { max-width: 760px; }
body[data-department="hackathons"] .dept-hero__title { max-width: 12ch; font-size: clamp(2.8rem, 6vw, 5.2rem); }

/* ==========================================================================
   AI & DATA SCIENCE — latent neural manifold
   ========================================================================== */

.ai-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 69% 43%, rgba(0, 240, 255, 0.1), transparent 34%),
    radial-gradient(circle at 82% 64%, rgba(255, 140, 66, 0.085), transparent 32%),
    radial-gradient(circle at 53% 16%, rgba(102, 58, 180, 0.11), transparent 42%),
    #04050b;
  animation: ai-scene-in 2.4s ease-out both;
}
.ai-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 11, 0.95) 0, rgba(4, 5, 11, 0.48) 35%, transparent 64%),
    linear-gradient(0deg, rgba(4, 5, 11, 0.97) 0, rgba(4, 5, 11, 0.5) 30%, transparent 60%);
}
.ai-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
}
.ai-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.44;
  background-image:
    radial-gradient(circle, rgba(132, 244, 247, 0.2) 1px, transparent 1px),
    linear-gradient(rgba(0, 240, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.045) 1px, transparent 1px);
  background-size: 38px 38px, 152px 152px, 152px 152px;
  -webkit-mask: radial-gradient(ellipse at 68% 45%, #000 0 22%, transparent 72%);
  mask: radial-gradient(ellipse at 68% 45%, #000 0 22%, transparent 72%);
}
.ai-haze {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}
.ai-haze--violet { right: 2%; top: 2%; width: 48vw; height: 48vw; background: rgba(91, 42, 134, 0.17); }
.ai-haze--cyan { right: 30%; top: 24%; width: 30vw; height: 30vw; background: rgba(0, 240, 255, 0.075); }
.ai-haze--amber { right: 4%; bottom: 0; width: 26vw; height: 26vw; background: rgba(255, 140, 66, 0.09); }
.ai-brand {
  position: absolute;
  z-index: 3;
  top: calc(var(--nav-height) + 24px);
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #84f4f7;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ai-brand b { color: #ff8c42; font-weight: 400; }
.ai-brand::after {
  content: "";
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, #00f0ff, rgba(0, 240, 255, 0));
}
.ai-manifold {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 47%;
  width: min(69vw, 1040px);
  aspect-ratio: 1200 / 760;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 34px rgba(0, 240, 255, 0.08));
  animation: ai-manifold-in 2.2s 0.1s ease-out both;
}
.ai-manifold svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ai-orbits { opacity: 0.68; }
.ai-spin-slow,
.ai-spin-reverse {
  transform-box: view-box;
  transform-origin: 620px 380px;
}
.ai-spin-slow { animation: ai-spin 54s linear infinite; }
.ai-spin-reverse { animation: ai-spin 38s linear infinite reverse; }
.ai-pathways { opacity: 0.5; stroke-width: 1.25; }
.ai-flow {
  stroke-linecap: round;
  stroke-width: 3;
  stroke-dasharray: 18 82;
  animation: ai-dash 15s linear infinite;
}
.ai-flow--back { animation-duration: 11s; animation-direction: reverse; }
.ai-flow--fast { animation-duration: 8s; }
.ai-node { animation: ai-node-in 1s 0.5s ease-out both; }
.ai-node--input { animation-delay: 0.65s; }
.ai-node--hidden { animation-delay: 0.9s; }
.ai-node--output { animation-delay: 1.2s; }
.ai-layer-label { animation: ai-label-in 1.4s 0.35s ease-out both; }
.ai-card { fill: rgba(6, 12, 22, 0.86); stroke: rgba(0, 240, 255, 0.44); stroke-width: 1; }
.ai-card--amber { stroke: rgba(255, 140, 66, 0.52); }
.ai-card--violet { stroke: rgba(150, 123, 255, 0.4); }
.ai-code {
  fill: #c4fbff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.ai-code--amber { fill: #ffd0b3; }
.ai-code--violet { fill: #d8ceff; }
.ai-meta {
  fill: #758694;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}
.ai-layer-label {
  fill: #84f4f7;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.ai-layer-label--amber { fill: #ff9e66; }
.ai-node-circle {
  fill: rgba(5, 14, 26, 0.94);
  stroke: rgba(0, 240, 255, 0.68);
  stroke-width: 1.2;
}
.ai-node--hidden:nth-of-type(2n) .ai-node-circle { stroke: rgba(255, 140, 66, 0.62); }
.ai-node-ping { fill: none; stroke: rgba(0, 240, 255, 0.25); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ai-ping 2.8s ease-out infinite; }
.ai-node--hidden:nth-of-type(2n) .ai-node-ping { stroke: rgba(255, 140, 66, 0.3); animation-delay: 1.2s; }
.ai-node-name { fill: #d7fbff; font-family: var(--font-mono); font-size: 9px; font-weight: 700; text-anchor: middle; }
.ai-node-val { fill: #6f8292; font-family: var(--font-mono); font-size: 7px; text-anchor: middle; }
.ai-core {
  transform-box: fill-box;
  transform-origin: center;
  animation: ai-core-pulse 3.8s ease-in-out infinite;
}
.ai-core__ring { transform-box: fill-box; transform-origin: center; }
.ai-core__ring--outer { animation: ai-spin 28s linear infinite; }
.ai-core__ring--inner { animation: ai-spin 18s linear infinite reverse; }
.ai-core__halo { animation: ai-halo 5.2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ai-core__label { fill: #ffd7bf; font-family: var(--font-mono); font-size: 17px; font-weight: 700; letter-spacing: 0.08em; text-anchor: middle; }
.ai-core__sub { fill: #84f4f7; font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.12em; text-anchor: middle; }
.ai-core__meta { fill: #728394; font-family: var(--font-mono); font-size: 7px; letter-spacing: 0.16em; text-anchor: middle; }
.ai-hud {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 7%;
  width: 252px;
  padding: 12px 14px;
  border: 1px solid rgba(0, 240, 255, 0.26);
  background: rgba(6, 11, 22, 0.84);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4), inset 0 0 24px rgba(0, 240, 255, 0.035);
  color: #8e9aae;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ai-hud__head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; color: #84f4f7; font-weight: 700; }
.ai-hud__head span { color: #ff8c42; }
.ai-hud__row { display: flex; justify-content: space-between; gap: 12px; }
.ai-hud__row b { color: #e8edf3; font-weight: 400; }
.ai-hud__row em { color: #00f0ff; font-style: normal; }
@keyframes ai-scene-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ai-manifold-in { from { opacity: 0; transform: translateY(-47%); } to { opacity: 1; transform: translateY(-50%); } }
@keyframes ai-node-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes ai-label-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ai-spin { to { transform: rotate(360deg); } }
@keyframes ai-dash { to { stroke-dashoffset: -600; } }
@keyframes ai-core-pulse { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 26px rgba(255, 140, 66, 0.5)); } 50% { transform: scale(1.035); filter: drop-shadow(0 0 46px rgba(0, 240, 255, 0.45)); } }
@keyframes ai-halo { 0%, 100% { opacity: 0.55; transform: scale(0.97); } 50% { opacity: 0.9; transform: scale(1.03); } }
@keyframes ai-ping { 0% { opacity: 0.65; transform: scale(0.82); } 80%, 100% { opacity: 0; transform: scale(1.35); } }
body[data-department="ai"] .dept-hero__inner { max-width: 780px; }
body[data-department="ai"] .dept-hero__title { max-width: 14ch; font-size: clamp(2.8rem, 6vw, 5.2rem); }

/* ==========================================================================
   CYBERSECURITY & FORENSICS — eclipse radar
   ========================================================================== */

.cyber-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 71% 44%, rgba(0, 240, 255, 0.075), transparent 31%),
    radial-gradient(circle at 84% 62%, rgba(200, 114, 67, 0.1), transparent 34%),
    radial-gradient(circle at 38% 84%, rgba(63, 28, 105, 0.1), transparent 42%),
    #04050b;
}
.cyber-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 11, 0.95) 0, rgba(4, 5, 11, 0.46) 34%, transparent 63%),
    linear-gradient(0deg, rgba(4, 5, 11, 0.98) 0, rgba(4, 5, 11, 0.52) 28%, transparent 60%);
}
.cyber-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.44;
  background-image:
    radial-gradient(circle, rgba(132, 244, 247, 0.2) 1px, transparent 1px),
    linear-gradient(rgba(99, 104, 126, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 104, 126, 0.08) 1px, transparent 1px);
  background-size: 30px 30px, 120px 120px, 120px 120px;
  -webkit-mask: radial-gradient(ellipse at 70% 46%, #000 0 20%, transparent 70%);
  mask: radial-gradient(ellipse at 70% 46%, #000 0 20%, transparent 70%);
}
.cyber-scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.16;
  background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.42) 50%);
  background-size: 100% 4px;
}
.cyber-nebula {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}
.cyber-nebula--copper { right: 28%; top: 2%; width: 32vw; height: 32vw; background: rgba(200, 114, 67, 0.09); }
.cyber-nebula--cyan { right: 0; bottom: 0; width: 38vw; height: 38vw; background: rgba(0, 240, 255, 0.07); }
.cyber-planet {
  position: absolute;
  z-index: 1;
  right: 7%;
  top: 47%;
  width: min(53vw, 760px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  opacity: 0.9;
  filter: drop-shadow(0 0 34px rgba(0, 240, 255, 0.09));
}
.cyber-planet svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cyber-planet__bands { transform-box: view-box; transform-origin: 250px 250px; animation: cyber-planet-spin 240s linear infinite; }
.cyber-system {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 47%;
  width: min(66vw, 1000px);
  aspect-ratio: 1000 / 640;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 34px rgba(0, 240, 255, 0.08));
}
.cyber-system svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cyber-ring { transform-box: view-box; transform-origin: 500px 320px; }
.cyber-ring--outer { animation: cyber-spin 70s linear infinite; }
.cyber-ring--copper { animation: cyber-spin 46s linear infinite reverse; }
.cyber-ring--hex { animation: cyber-spin 30s linear infinite; }
.cyber-ring--caliper { animation: cyber-spin 12s linear infinite; }
.cyber-ring--inner { animation: cyber-spin 8s linear infinite reverse; }
.cyber-sweep { transform-box: view-box; transform-origin: 500px 320px; animation: cyber-spin 9s linear infinite; }
.cyber-beam {
  stroke-linecap: round;
  stroke-width: 2.4;
  stroke-dasharray: 14 10;
  animation: cyber-beam 2.2s linear infinite;
}
.cyber-beam--fast { animation-duration: 1.4s; }
.cyber-beam--slow { animation-duration: 3.2s; }
.cyber-core { transform-box: view-box; transform-origin: 500px 320px; animation: cyber-core 2.4s ease-in-out infinite; }
.cyber-badge { opacity: 0.94; }
.cyber-badge rect { fill: rgba(7, 10, 20, 0.94); }
.cyber-badge text { fill: #f0f4f6; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-anchor: middle; }
.cyber-badge .cyber-badge__code { fill: #8fa0ad; font-family: var(--font-mono); font-size: 6.5px; font-weight: 400; letter-spacing: 0.1em; }
.cyber-brand {
  position: absolute;
  z-index: 3;
  top: calc(var(--nav-height) + 24px);
  right: var(--gutter);
  color: #ff9e66;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: right;
}
.cyber-brand span { color: #84f4f7; font-weight: 400; }
.cyber-payloads {
  position: absolute;
  z-index: 1;
  left: var(--gutter);
  top: calc(var(--nav-height) + 76px);
  display: grid;
  gap: 8px;
  max-width: 390px;
  color: rgba(132, 244, 247, 0.16);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.cyber-payloads span:nth-child(2n) { color: rgba(255, 140, 66, 0.16); }
.cyber-hud {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 7%;
  width: 318px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 140, 66, 0.34);
  background: rgba(7, 10, 20, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), inset 0 0 26px rgba(0, 240, 255, 0.035);
  color: #8e9aae;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.cyber-hud__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #84f4f7; font-weight: 700; }
.cyber-hud__head::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #00f0ff; box-shadow: 0 0 10px #00f0ff; }
.cyber-hud__row { display: flex; justify-content: space-between; gap: 12px; }
.cyber-hud__row b { color: #e8edf3; font-weight: 400; }
.cyber-hud__flag { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #ff9e66; overflow-wrap: anywhere; }
@keyframes cyber-planet-spin { to { transform: rotate(360deg); } }
@keyframes cyber-spin { to { transform: rotate(360deg); } }
@keyframes cyber-beam { to { stroke-dashoffset: -96; } }
@keyframes cyber-core { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 22px rgba(255, 140, 66, 0.6)); } 50% { transform: scale(1.045); filter: drop-shadow(0 0 42px rgba(0, 240, 255, 0.7)); } }
body[data-department="security"] .dept-hero__inner { max-width: 800px; }
body[data-department="security"] .dept-hero__title { max-width: 14ch; font-size: clamp(2.8rem, 6vw, 5.2rem); }

/* ==========================================================================
   DESIGN & MEDIA — singularity drafting studio
   ========================================================================== */

.design-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 76% 46%, rgba(255, 140, 66, 0.075), transparent 28%),
    radial-gradient(circle at 56% 34%, rgba(0, 240, 255, 0.05), transparent 42%),
    #04050b;
  animation: design-scene-in 2.4s ease-out both;
}
.design-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 5, 11, 0.76) 0, rgba(4, 5, 11, 0.24) 24%, transparent 52%),
    linear-gradient(0deg, rgba(4, 5, 11, 0.96) 0, rgba(4, 5, 11, 0.42) 28%, transparent 58%);
}
.design-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.design-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(132, 244, 247, 0.24) 1px, transparent 1px),
    linear-gradient(rgba(99, 104, 126, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 104, 126, 0.09) 1px, transparent 1px);
  background-size: 30px 30px, 120px 120px, 120px 120px;
  -webkit-mask: radial-gradient(ellipse at 62% 45%, #000 0 22%, transparent 74%);
  mask: radial-gradient(ellipse at 62% 45%, #000 0 22%, transparent 74%);
}
.design-scanlines {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.12;
  background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.45) 50%);
  background-size: 100% 4px;
  animation: design-scan-drift 12s linear infinite;
}
.design-brand {
  position: absolute;
  z-index: 3;
  top: calc(var(--nav-height) + 24px);
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #84f4f7;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.design-brand b { color: #ff8c42; font-weight: 400; }
.design-brand::after {
  content: "";
  width: 152px;
  height: 1px;
  background: linear-gradient(90deg, #00f0ff, rgba(0, 240, 255, 0));
}
.design-hud {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 7%;
  width: 290px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 140, 66, 0.3);
  background: rgba(7, 10, 20, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42), inset 0 0 26px rgba(0, 240, 255, 0.035);
  color: #8e9aae;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.design-hud__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #84f4f7;
  font-weight: 700;
}
.design-hud__head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff9e66;
  font-weight: 400;
}
.design-hud__head span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
  animation: design-live 1.8s ease-in-out infinite;
}
.design-hud__row { display: flex; justify-content: space-between; gap: 12px; }
.design-hud__row b { color: #e8edf3; font-weight: 400; }
.design-hud__row em { color: #00f0ff; font-style: normal; }
.design-hud__bar {
  height: 3px;
  margin-top: 9px;
  overflow: hidden;
  border-radius: 99px;
  background: #1b202b;
}
.design-hud__bar i {
  display: block;
  width: 61%;
  height: 100%;
  background: linear-gradient(90deg, #ff8c42, #00f0ff);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
  animation: design-draft 4.8s ease-in-out infinite;
}
@keyframes design-scene-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes design-scan-drift { to { background-position: 0 120px; } }
@keyframes design-live { 50% { opacity: 0.3; transform: scale(0.72); } }
@keyframes design-draft { 0%, 100% { width: 38%; } 58% { width: 78%; } }
body[data-department="design"] .dept-hero__inner { max-width: 820px; }
body[data-department="design"] .dept-hero__title { max-width: 14ch; font-size: clamp(2.8rem, 6vw, 5.2rem); }

/* ==========================================================================
   COMPETITIVE CODING — singularity manifold
   ========================================================================== */

.coding-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 66% 47%, rgba(255, 87, 34, 0.12), transparent 23%),
    radial-gradient(circle at 66% 47%, rgba(0, 240, 255, 0.07), transparent 45%),
    #04050b;
}
.coding-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(4, 5, 11, 0.92) 0, rgba(4, 5, 11, 0.42) 38%, transparent 66%),
    linear-gradient(0deg, rgba(4, 5, 11, 0.96) 0, rgba(4, 5, 11, 0.42) 32%, transparent 62%);
}
.coding-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.055) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 140, 66, 0.35) 1px, transparent 1px);
  background-size: 70px 70px, 70px 70px, 14px 14px;
  -webkit-mask: radial-gradient(ellipse at 64% 44%, #000 0 18%, transparent 72%);
  mask: radial-gradient(ellipse at 64% 44%, #000 0 18%, transparent 72%);
}
.coding-code {
  position: absolute;
  z-index: 1;
  max-width: 46%;
  color: rgba(99, 104, 126, 0.26);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  line-height: 1.85;
  letter-spacing: 0.015em;
  white-space: pre;
}
.coding-code--top { left: var(--gutter); top: calc(var(--nav-height) + 20px); }
.coding-code--bottom { right: var(--gutter); bottom: 10%; text-align: right; }
.coding-code b { color: rgba(0, 240, 255, 0.36); font-weight: 400; }
.coding-code i { color: rgba(255, 140, 66, 0.34); font-style: normal; }
.coding-system {
  position: absolute;
  z-index: 1;
  right: 2%;
  top: 47%;
  width: min(69vw, 930px);
  aspect-ratio: 1.32;
  transform: translateY(-50%);
  opacity: 0.9;
}
.coding-system svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.coding-wires {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.coding-wire {
  stroke-width: 2.2;
  stroke-linecap: round;
}
.coding-wire--cyan { stroke: #00f0ff; filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.75)); }
.coding-wire--amber { stroke: #ff8c42; filter: drop-shadow(0 0 5px rgba(255, 140, 66, 0.7)); }
.coding-ring { transform-origin: 600px 330px; animation: coding-spin 64s linear infinite; }
.coding-ring--reverse { animation-duration: 46s; animation-direction: reverse; }
@keyframes coding-spin { to { transform: rotate(360deg); } }
.coding-core { animation: coding-core 3.6s ease-in-out infinite; transform-origin: 600px 330px; }
@keyframes coding-core { 50% { opacity: 0.72; transform: scale(1.025); } }
.coding-pillar {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: 220px;
  padding: 8px 10px;
  border: 1px solid rgba(0, 240, 255, 0.36);
  background: rgba(7, 11, 26, 0.84);
  color: #c8eff6;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.1);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.coding-pillar::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border: 1px solid currentColor;
  transform: rotate(45deg);
  box-shadow: 0 0 8px currentColor;
}
.coding-pillar--amber { border-color: rgba(255, 140, 66, 0.42); color: #ffd4b8; }
.coding-pillar--1 { right: 39%; top: 18%; }
.coding-pillar--2 { right: 13%; top: 29%; }
.coding-pillar--3 { right: 46%; top: 46%; }
.coding-pillar--4 { right: 10%; top: 58%; }
.coding-pillar--5 { right: 36%; top: 72%; }
.coding-pillar--6 { right: 15%; top: 82%; }
.coding-telemetry {
  position: absolute;
  z-index: 3;
  right: 7%;
  top: calc(var(--nav-height) + 28px);
  display: flex;
  align-items: center;
  gap: 12px;
  color: #7c8795;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.coding-telemetry b { color: #00f0ff; font-weight: 400; }
.coding-telemetry i { width: 5px; height: 5px; border-radius: 50%; background: #ff8c42; box-shadow: 0 0 9px #ff8c42; }
body[data-department="coding"] .dept-hero__inner { max-width: 760px; }
body[data-department="coding"] .dept-hero__title { max-width: 12ch; font-size: clamp(2.8rem, 6vw, 5.2rem); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .orbital-system { left: 50%; right: auto; width: 78vw; opacity: 0.78; }
  .orbital-hud { right: var(--gutter); bottom: 7%; top: auto; }
  .coding-system { right: -7%; width: 79vw; opacity: 0.74; }
  .coding-pillar--1 { right: 36%; }
  .coding-pillar--3 { right: 48%; }
  .ai-manifold { right: -7%; width: 84vw; opacity: 0.82; }
  .cyber-planet { right: 2%; width: 62vw; }
  .cyber-system { right: -7%; width: 82vw; }
  .cyber-payloads { display: none; }
}

@media (max-width: 900px) {
  .shipyard-hud--right { display: none; }
  .shipyard-hud--left { width: min(330px, calc(100vw - var(--gutter) * 2)); }
  .orbital-hud { display: none; }
  .orbital-badge { display: none; }
  .orbital-code--a { display: none; }
  .orbital-brand { left: var(--gutter); transform: none; font-size: 0.58rem; }
  .orbital-brand::after { width: 80px; }
  .orbital-system { left: 50%; right: auto; top: 45%; width: 100vw; opacity: 0.62; }
  .orbital-rocket { left: 7%; top: 10%; width: 96px; opacity: 0.86; }
  .orbital-twins { right: 2%; width: 110px; opacity: 0.75; }
  .coding-code { display: none; }
  .coding-telemetry { display: none; }
  .coding-system { right: -28%; top: 45%; width: 118vw; opacity: 0.46; }
  .coding-pillar { font-size: 0.48rem; padding: 6px 8px; max-width: 160px; }
  .coding-pillar--1 { right: 34%; top: 16%; }
  .coding-pillar--2 { right: 4%; top: 27%; }
  .coding-pillar--3 { right: 44%; top: 43%; }
  .coding-pillar--4 { right: 2%; top: 58%; }
  .coding-pillar--5 { right: 39%; top: 73%; }
  .coding-pillar--6 { right: 8%; top: 84%; }
  .ai-manifold { right: -24%; top: 46%; width: 112vw; opacity: 0.62; }
  .ai-node--input,
  .ai-node--output,
  .ai-node--hidden,
  .ai-layer-label,
  .ai-hud { display: none; }
  .ai-brand { top: calc(var(--nav-height) + 16px); font-size: 0.58rem; }
  .ai-brand::after { width: 80px; }
  .cyber-planet { right: -4%; top: 45%; width: 82vw; opacity: 0.64; }
  .cyber-system { right: -22%; top: 45%; width: 112vw; opacity: 0.72; }
  .cyber-badge,
  .cyber-hud { display: none; }
  .cyber-brand { top: calc(var(--nav-height) + 16px); font-size: 0.58rem; }
  .design-hud { display: none; }
  .design-brand { top: calc(var(--nav-height) + 16px); font-size: 0.58rem; }
  .design-brand::after { width: 80px; }
  body[data-department="machines"] .dept-hero__title,
  body[data-department="hackathons"] .dept-hero__title,
  body[data-department="coding"] .dept-hero__title,
  body[data-department="ai"] .dept-hero__title,
  body[data-department="security"] .dept-hero__title,
  body[data-department="design"] .dept-hero__title { font-size: clamp(2.55rem, 10.5vw, 4.2rem); }
}

@media (max-width: 640px) {
  body[data-department="machines"] .dept-hero,
  body[data-department="hackathons"] .dept-hero,
  body[data-department="coding"] .dept-hero,
  body[data-department="ai"] .dept-hero,
  body[data-department="security"] .dept-hero,
  body[data-department="design"] .dept-hero { min-height: 100svh; padding-bottom: 38px; }
  .shipyard-hud {
    top: calc(var(--nav-height) + 14px);
    width: calc(100vw - var(--gutter) * 2);
    padding: 11px 12px;
    font-size: 0.56rem;
  }
  .shipyard-hud__row--optional { display: none; }
  .shipyard-hud__title { font-size: 0.82rem; }
  .shipyard-scene__frame { display: none; }
  .orbital-brand { top: calc(var(--nav-height) + 14px); }
  .orbital-system { left: 50%; right: auto; top: 41%; width: 135vw; opacity: 0.52; }
  .orbital-rocket { left: 9%; top: 13%; width: 82px; opacity: 0.8; }
  .orbital-twins { right: 0; gap: 6px; width: 72px; opacity: 0.58; }
  .orbital-code--b { display: none; }
  .orbital-scene::after {
    background:
      linear-gradient(0deg, rgba(4, 6, 11, 0.98) 0, rgba(4, 6, 11, 0.65) 28%, transparent 62%),
      linear-gradient(180deg, rgba(4, 6, 11, 0.72), transparent 34%);
  }
  .coding-pillar { display: none; }
  .coding-wires { display: none; }
  .coding-system { right: -55%; top: 40%; width: 154vw; opacity: 0.42; }
  .ai-manifold { right: -58%; top: 42%; width: 150vw; opacity: 0.44; }
  .ai-brand { top: calc(var(--nav-height) + 12px); }
  .cyber-planet { right: -18%; top: 41%; width: 110vw; opacity: 0.5; }
  .cyber-system { right: -45%; top: 41%; width: 154vw; opacity: 0.55; }
  .cyber-brand { display: none; }
  .design-brand { display: none; }
  .design-hud { display: none; }
  .design-grid { opacity: 0.2; }
  .cyber-scene::after {
    background:
      linear-gradient(0deg, rgba(4, 5, 11, 0.98) 0, rgba(4, 5, 11, 0.66) 30%, transparent 62%),
      linear-gradient(180deg, rgba(4, 5, 11, 0.72), transparent 34%);
  }
  .ai-scene::after {
    background:
      linear-gradient(0deg, rgba(4, 5, 11, 0.98) 0, rgba(4, 5, 11, 0.66) 30%, transparent 62%),
      linear-gradient(180deg, rgba(4, 5, 11, 0.72), transparent 34%);
  }
  .design-scene::after {
    background:
      linear-gradient(0deg, rgba(4, 5, 11, 0.99) 0, rgba(4, 5, 11, 0.68) 30%, transparent 64%),
      linear-gradient(180deg, rgba(4, 5, 11, 0.74), transparent 34%);
  }
  body[data-department="machines"] .dept-hero__blurb,
  body[data-department="hackathons"] .dept-hero__blurb,
  body[data-department="coding"] .dept-hero__blurb,
  body[data-department="ai"] .dept-hero__blurb,
  body[data-department="security"] .dept-hero__blurb,
  body[data-department="design"] .dept-hero__blurb { font-size: var(--fs-sm); max-width: 38ch; }
}

@media (prefers-reduced-motion: reduce) {
  .shipyard-live::before,
  .orbital-system::before,
  .orbital-ring,
  .orbital-planet svg,
  .orbital-rocket,
  .orbital-plume,
  .orbital-twin,
  .orbital-twin__plume,
  .coding-ring,
  .coding-core,
  .ai-scene,
  .ai-manifold,
  .ai-flow,
  .ai-node,
  .ai-core,
  .ai-core__ring,
  .ai-core__halo,
  .ai-spin-slow,
  .ai-spin-reverse,
  .cyber-planet__bands,
  .cyber-ring,
  .cyber-sweep,
  .cyber-beam,
  .cyber-core,
  .design-scene,
  .design-scanlines,
  .design-hud__head span::before,
  .design-hud__bar i { animation: none !important; }
  .orbital-twins { animation: none !important; opacity: 0 !important; }
  .cyber-sweep { display: none; }
}

html[data-fx="reduced"] .shipyard-live::before,
html[data-fx="reduced"] .orbital-system::before,
html[data-fx="reduced"] .orbital-ring,
html[data-fx="reduced"] .orbital-planet svg,
html[data-fx="reduced"] .orbital-rocket,
html[data-fx="reduced"] .orbital-plume,
html[data-fx="reduced"] .orbital-twin,
html[data-fx="reduced"] .orbital-twin__plume,
html[data-fx="reduced"] .coding-ring,
html[data-fx="reduced"] .coding-core,
html[data-fx="reduced"] .ai-scene,
html[data-fx="reduced"] .ai-manifold,
html[data-fx="reduced"] .ai-flow,
html[data-fx="reduced"] .ai-node,
html[data-fx="reduced"] .ai-core,
html[data-fx="reduced"] .ai-core__ring,
html[data-fx="reduced"] .ai-core__halo,
html[data-fx="reduced"] .ai-spin-slow,
html[data-fx="reduced"] .ai-spin-reverse,
html[data-fx="reduced"] .cyber-planet__bands,
html[data-fx="reduced"] .cyber-ring,  html[data-fx="reduced"] .cyber-sweep,
  html[data-fx="reduced"] .cyber-beam,
  html[data-fx="reduced"] .cyber-core,
  html[data-fx="reduced"] .design-scene,
  html[data-fx="reduced"] .design-scanlines,
  html[data-fx="reduced"] .design-hud__head span::before,
  html[data-fx="reduced"] .design-hud__bar i { animation: none !important; }
html[data-fx="reduced"] .orbital-twins { animation: none !important; opacity: 0 !important; }
html[data-fx="reduced"] .cyber-sweep { display: none; }
