:root {
  color-scheme: dark;
  --bg: #07090f;
  --bg-2: #0d1320;
  --panel: rgba(13, 20, 34, .78);
  --panel-strong: rgba(15, 24, 42, .92);
  --line: rgba(158, 236, 255, .18);
  --line-strong: rgba(255, 199, 89, .4);
  --text: #edf7ff;
  --muted: #9cb3c9;
  --soft: #cfe7f7;
  --cyan: #46e1ff;
  --blue: #6c82ff;
  --mint: #38f1b8;
  --gold: #ffca62;
  --coral: #ff6f9f;
  --shadow: 0 28px 90px rgba(0, 0, 0, .42);
  --radius: 8px;
  --max: 1180px;
  --mouse-x: 50vw;
  --mouse-y: 35vh;
  --hero-drift-x: 0px;
  --hero-drift-y: 0px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(70, 225, 255, .22), transparent 24vw),
    radial-gradient(circle at 16% 8%, rgba(70, 225, 255, .18), transparent 29%),
    radial-gradient(circle at 84% 16%, rgba(255, 111, 159, .13), transparent 31%),
    radial-gradient(circle at 58% 82%, rgba(255, 202, 98, .11), transparent 34%),
    linear-gradient(135deg, #05070d 0%, #0a1020 44%, #08141a 100%);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(0,0,0,.94), rgba(0,0,0,.26) 58%, transparent 82%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,.22), transparent 13vw),
    linear-gradient(90deg, rgba(255,255,255,.045), transparent 16%, transparent 84%, rgba(255,255,255,.045)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 5px);
  opacity: .42;
  mix-blend-mode: screen;
}

.cosmos-scene {
  position: fixed;
  inset: 0;
  z-index: -4;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(52, 113, 255, .18), transparent 30vw),
    radial-gradient(circle at 74% 32%, rgba(255, 111, 159, .12), transparent 28vw),
    #040610;
}
.cosmos-scene canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.cosmic-glow {
  position: absolute;
  left: var(--mouse-x);
  top: var(--mouse-y);
  width: 42vw;
  height: 42vw;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(70,225,255,.32), rgba(108,130,255,.13) 34%, transparent 68%);
  filter: blur(14px);
  opacity: .72;
  transition: left .08s linear, top .08s linear;
}
.cursor-comet {
  position: fixed;
  left: var(--mouse-x);
  top: var(--mouse-y);
  z-index: 100;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 0 26px rgba(70,225,255,.65);
  opacity: .78;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: rgba(70, 225, 255, .32); }

.skip-link {
  position: fixed;
  left: 18px;
  top: 18px;
  z-index: 1000;
  transform: translateY(-150%);
  opacity: 0;
  background: var(--gold);
  color: #141008;
  padding: 10px 14px;
  font-weight: 800;
}
.skip-link:focus-visible {
  transform: translateY(0);
  opacity: 1;
}
.skip-link:focus:not(:focus-visible) {
  transform: translateY(-150%);
  opacity: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 clamp(16px, 3vw, 36px);
  color: var(--text);
  background: linear-gradient(180deg, rgba(3, 7, 14, .82), rgba(3, 7, 14, .2));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header::after {
  content: "";
  position: absolute;
  left: clamp(16px, 3vw, 36px);
  right: clamp(16px, 3vw, 36px);
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  opacity: .52;
}
.site-header.is-solid {
  background: rgba(4, 9, 18, .9);
  box-shadow: 0 12px 42px rgba(0,0,0,.38);
}
.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(255,255,255,.72);
  box-shadow: 0 0 24px rgba(70,225,255,.28);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-name {
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(38vw, 430px);
}
.desktop-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.desktop-nav > a,
.nav-dropdown > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--soft);
}
.desktop-nav a:hover,
.desktop-nav a.active,
.nav-dropdown:hover > a {
  color: #fff;
  border-color: rgba(70,225,255,.28);
  background: rgba(70,225,255,.08);
  box-shadow: inset 0 -2px 0 var(--cyan);
}
.nav-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(470px, 90vw);
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(7, 12, 22, .96);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.dropdown-panel a {
  display: block;
  padding: 11px 12px;
  color: var(--soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.dropdown-panel a:hover {
  color: #071018;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}
.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  background: rgba(255,255,255,.05);
  cursor: pointer;
}
.icon-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
.menu-button { display: none; }
.search-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: clamp(16px, 3vw, 36px);
  width: min(340px, calc(100vw - 32px));
  border: 1px solid var(--line);
  background: rgba(7, 12, 22, .94);
  box-shadow: var(--shadow);
  padding: 10px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: .2s ease;
}
.search-popover.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.search-popover input {
  width: 100%;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--text);
  background: rgba(255,255,255,.08);
  padding: 13px 14px;
  outline: none;
}
mark[data-search-mark] {
  color: #061018;
  background: var(--gold);
  padding: 0 3px;
}

.side-nav {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 120;
  width: min(390px, 86vw);
  padding: 26px;
  background: rgba(5, 10, 19, .98);
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(-102%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.side-nav.is-open { transform: translateX(0); }
.side-nav a {
  color: var(--soft);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.side-nav a:hover { color: var(--cyan); }
.close-side {
  align-self: flex-end;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 32px;
  cursor: pointer;
}
.scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.62);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

main {
  min-height: 100vh;
}

.page-home .cosmos-scene {
  background:
    radial-gradient(circle at 74% 14%, rgba(255,255,255,.14), transparent 2px),
    radial-gradient(circle at 16% 18%, rgba(255,255,255,.2), transparent 2px),
    radial-gradient(circle at 88% 58%, rgba(255,255,255,.18), transparent 2px),
    radial-gradient(circle at 42% 76%, rgba(255,255,255,.16), transparent 2px),
    radial-gradient(ellipse at 68% 78%, rgba(70,225,255,.2), transparent 34%),
    radial-gradient(ellipse at 28% 24%, rgba(83,116,255,.16), transparent 28%),
    linear-gradient(135deg, #03060d, #081324 48%, #160d1e);
}
.page-home .cosmos-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.78) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(123,204,255,.75) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(255,232,180,.75) 0 1px, transparent 1.8px);
  background-size: 96px 84px, 150px 132px, 220px 190px;
  background-position: 8px 18px, 54px 30px, 88px 72px;
  opacity: .72;
}
.page-home .cosmos-scene::after {
  content: none;
}
.page-home::before,
.page-home::after {
  display: none;
}
.page-home .cosmic-glow,
.page-home .cursor-comet {
  display: none;
}
.constellation-home {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: clamp(28px, 5vw, 58px);
  padding: 116px clamp(18px, 5vw, 76px) 64px;
  overflow: hidden;
}
.constellation-home::before {
  content: "";
  position: absolute;
  right: -10vw;
  top: 12vh;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,.09), transparent 16%),
    radial-gradient(circle at 50% 50%, #151922, #020306 72%);
  box-shadow: inset -34px -38px 68px rgba(0,0,0,.9);
  opacity: .78;
}
.constellation-titlebar {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}
.constellation-titlebar p {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.constellation-titlebar h1 {
  margin: 0;
  color: #fff;
  font-size: 76px;
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 26px 70px rgba(0,0,0,.62);
}
.constellation-titlebar span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--soft);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.constellation-menu {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.constellation-choice {
  position: relative;
  min-height: 440px;
  display: grid;
  grid-template-rows: 1fr auto auto auto;
  align-items: end;
  gap: 8px;
  padding: 24px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(158,236,255,.22);
  background:
    radial-gradient(circle at 50% 32%, rgba(255,255,255,.08), transparent 24%),
    linear-gradient(180deg, rgba(6,12,24,.5), rgba(5,9,18,.9));
  box-shadow: 0 20px 54px rgba(0,0,0,.38);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.constellation-choice::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(126,205,255,.72) 0 1px, transparent 1.8px);
  background-size: 86px 72px, 134px 116px;
  background-position: 12px 20px, 38px 56px;
  opacity: .4;
}
.constellation-choice::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(2,5,12,.94));
}
.constellation-choice:hover,
.constellation-choice:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(255,202,98,.56);
  box-shadow: 0 24px 70px rgba(0,0,0,.48);
}
.constellation-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  align-self: center;
  justify-self: center;
}
.constellation-svg path {
  fill: none;
  stroke: rgba(202,235,255,.58);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.constellation-svg circle {
  fill: #fff;
  stroke: rgba(121,220,255,.72);
  stroke-width: 2;
}
.orion-choice .constellation-svg circle:nth-of-type(7),
.lyra-choice .constellation-svg circle:nth-of-type(1),
.cygnus-choice .constellation-svg circle:nth-of-type(3) {
  fill: var(--gold);
  stroke: rgba(255,239,180,.95);
}
.constellation-choice span,
.constellation-choice strong,
.constellation-choice small {
  position: relative;
  z-index: 2;
}
.constellation-choice span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.constellation-choice strong {
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}
.constellation-choice small {
  color: var(--soft);
  font-size: 16px;
  font-weight: 800;
}

.page-home {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(83, 209, 255, .26), transparent 24vw),
    radial-gradient(circle at 76% 24%, rgba(255, 202, 98, .16), transparent 32vw),
    radial-gradient(circle at 20% 70%, rgba(255, 111, 159, .12), transparent 30vw),
    #03050b;
}
.home-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(430px, 1.18fr);
  gap: clamp(32px, 5vw, 82px);
  align-items: center;
  padding: 124px clamp(20px, 5vw, 76px) 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(158,236,255,.2);
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    radial-gradient(ellipse at 65% 45%, rgba(41, 100, 177, .32), transparent 44%),
    radial-gradient(ellipse at 38% 64%, rgba(255, 202, 98, .1), transparent 34%),
    #03050b;
  background-size: 56px 56px, 56px 56px, auto, auto, auto;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3,5,11,.9), rgba(3,5,11,.36) 48%, rgba(3,5,11,.1)),
    url("../planets/2k_stars_milky_way.jpg") center / cover;
  opacity: .7;
  mix-blend-mode: screen;
}
.home-hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  top: 11vh;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border-radius: 48% 52% 46% 54%;
  background:
    radial-gradient(circle at 28% 24%, rgba(255,255,255,.16), transparent 14%),
    radial-gradient(circle at 72% 68%, rgba(255,255,255,.08), transparent 18%),
    radial-gradient(circle at 50% 50%, #151820, #020205 72%);
  box-shadow:
    inset -42px -50px 90px rgba(0,0,0,.9),
    inset 18px 18px 44px rgba(255,255,255,.08),
    0 0 90px rgba(70,225,255,.1);
  filter: saturate(.9);
  transform: translate3d(calc(var(--hero-drift-x) * -.42), calc(var(--hero-drift-y) * -.28), 0) rotate(-8deg);
}
.home-galaxy-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.home-hero-copy,
.constellation-map,
.home-signature {
  position: relative;
  z-index: 3;
}
.home-hero-copy {
  max-width: 860px;
}
.home-kicker {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.home-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 94px;
  line-height: .84;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 28px 70px rgba(0,0,0,.7);
}
.home-lead {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--soft);
  font-size: 22px;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.16);
  color: var(--soft);
  background: rgba(255,255,255,.045);
  text-decoration: none;
  font-weight: 900;
}
.ghost-link:hover {
  color: #fff;
  border-color: rgba(70,225,255,.5);
  box-shadow: 0 0 28px rgba(70,225,255,.14);
}
.constellation-map {
  min-height: min(66vh, 680px);
  height: clamp(520px, 58vw, 720px);
  border: 1px solid rgba(158,236,255,.2);
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(70,225,255,.12), transparent 22%),
    radial-gradient(circle at 49% 47%, rgba(255,202,98,.14), transparent 14%),
    radial-gradient(circle at 74% 32%, rgba(255,111,159,.12), transparent 18%),
    rgba(5, 9, 19, .55);
  box-shadow: 0 34px 120px rgba(0,0,0,.58), inset 0 0 90px rgba(255,255,255,.04);
  overflow: hidden;
  isolation: isolate;
}
.constellation-map::before,
.constellation-map::after {
  content: "";
  position: absolute;
  inset: 8%;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  transform: rotate(-15deg) scaleX(1.42);
  box-shadow:
    0 0 0 80px rgba(255,255,255,.026),
    0 0 0 160px rgba(70,225,255,.02),
    0 0 0 240px rgba(255,202,98,.016);
}
.constellation-map::after {
  inset: 23% 16%;
  opacity: .52;
  transform: rotate(14deg) scaleX(1.72);
}
.constellation-node {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: min(230px, 32vw);
  color: #fff;
  text-align: center;
  text-decoration: none;
  transform: translate(-50%, -50%);
  text-shadow: 0 4px 16px rgba(0,0,0,.92);
  transition: transform .24s ease, filter .24s ease;
}
.constellation-node::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 170%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transform: translate(-50%, -50%) rotate(var(--line-angle, 0deg));
  opacity: .5;
  z-index: -1;
}
.constellation-node strong {
  font-size: 22px;
  line-height: 1.05;
  font-weight: 1000;
}
.constellation-node small {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.constellation-node:hover,
.constellation-node:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
  filter: drop-shadow(0 0 26px rgba(70,225,255,.44));
}
.node-projects { left: 48%; top: 50%; --line-angle: -8deg; }
.node-about { left: 22%; top: 28%; --line-angle: 24deg; }
.node-conclusion { left: 76%; top: 72%; --line-angle: -34deg; }
.star-system {
  position: relative;
  display: block;
  width: clamp(104px, 13vw, 170px);
  aspect-ratio: 1;
  border-radius: 50%;
}
.star-system::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff7bd, #ffba3d 45%, #f36b28 86%);
  box-shadow: 0 0 42px rgba(255,202,98,.58), 0 0 86px rgba(255,98,34,.26);
}
.star-system::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  transform: rotate(-18deg) scaleX(1.55);
  opacity: .72;
}
.star-system i {
  position: absolute;
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff, var(--cyan) 38%, #1e58a8 100%);
  box-shadow: inset -7px -8px 12px rgba(0,0,0,.45), 0 0 18px rgba(70,225,255,.34);
}
.star-system i:nth-child(1) { left: 9%; top: 47%; }
.star-system i:nth-child(2) { right: 12%; top: 28%; background: radial-gradient(circle at 30% 25%, #fff, #ffca62 42%, #8f4c21 100%); }
.star-system i:nth-child(3) { right: 24%; bottom: 8%; background: radial-gradient(circle at 30% 25%, #fff, #7de6ff 40%, #1d7c7d 100%); }
.star-system i:nth-child(4) { left: 28%; top: 8%; background: radial-gradient(circle at 30% 25%, #fff, #ff8a65 40%, #8a2617 100%); }
.profile-system-node::before {
  background: radial-gradient(circle at 35% 26%, #fff, #7ee7ff 36%, #1f4d9c 100%);
}
.profile-system-node::after {
  border-color: rgba(70,225,255,.55);
  transform: rotate(22deg) scaleX(1.42);
}
.conclusion-system-node::before {
  background: radial-gradient(circle at 35% 26%, #fff8cf, #ffca62 38%, #ff6f9f 100%);
}
.conclusion-system-node::after {
  border-color: rgba(255,202,98,.48);
  transform: rotate(-34deg) scaleX(1.62);
}
.home-signature {
  position: absolute;
  left: clamp(20px, 5vw, 76px);
  right: clamp(20px, 5vw, 76px);
  bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(237,247,255,.62);
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.home-overview {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
}
.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.home-card {
  min-height: 430px;
  display: grid;
  grid-template-rows: 1fr auto auto;
  border: 1px solid rgba(158,236,255,.2);
  color: inherit;
  background: rgba(8, 15, 29, .7);
  text-decoration: none;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .24s ease, border-color .24s ease;
}
.home-card:hover,
.home-card:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(70,225,255,.52);
}
.home-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}
.home-card span {
  padding: 22px 22px 0;
  color: #fff;
  font-size: 28px;
  font-weight: 1000;
  text-transform: uppercase;
}
.home-card p {
  margin: 0;
  padding: 10px 22px 24px;
  color: var(--soft);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: end start;
  overflow: hidden;
  padding: 130px clamp(20px, 6vw, 86px) 92px;
  border-bottom: 1px solid var(--line);
}
.hero.compact-hero {
  min-height: 62vh;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  opacity: .64;
  transform: translate3d(calc(var(--hero-drift-x) * -0.28), calc(var(--hero-drift-y) * -0.22), 0) scale(1.04);
  transition: transform .18s linear;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 8, 14, .96), rgba(5, 8, 14, .56) 48%, rgba(5, 8, 14, .22)),
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(70,225,255,.26), transparent 24%),
    radial-gradient(circle at 78% 20%, rgba(70,225,255,.18), transparent 28%),
    radial-gradient(circle at 68% 80%, rgba(255,202,98,.18), transparent 32%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1060px;
  transform: translate3d(var(--hero-drift-x), var(--hero-drift-y), 0);
  transition: transform .18s linear;
}
.hero-content::before {
  content: "NGUYEN HOANG MINH KHOI // 25022907";
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 980px;
  color: #fff;
  font-size: clamp(48px, 9vw, 116px);
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 28px 74px rgba(0,0,0,.58);
}
.compact-hero h1 {
  font-size: clamp(40px, 7vw, 82px);
}
.hero p {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--soft);
  font-size: clamp(18px, 2.1vw, 25px);
}
.hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 70px);
  bottom: 52px;
  width: min(32vw, 330px);
  aspect-ratio: 1;
  border: 1px solid rgba(70,225,255,.4);
  background:
    linear-gradient(90deg, rgba(70,225,255,.2), transparent 1px),
    linear-gradient(rgba(70,225,255,.2), transparent 1px);
  background-size: 28px 28px;
  transform: rotate(7deg);
  opacity: .32;
}

.intro-band,
.content-section,
.project-list,
.poster-section {
  position: relative;
  padding: clamp(58px, 8vw, 108px) clamp(20px, 5vw, 72px);
}
.content-section::before,
.intro-band::before,
.project-list::before {
  content: "";
  position: absolute;
  inset: 0 clamp(12px, 3vw, 44px) auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(70,225,255,.24), rgba(255,202,98,.2), transparent);
}
.muted {
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
}
.narrow,
.article-body,
.wide {
  max-width: var(--max);
  margin: 0 auto;
}
.narrow { max-width: 900px; }
.wide { max-width: 1280px; }
.intro-band .narrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
  padding: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(70,225,255,.08), rgba(255,202,98,.04));
  box-shadow: var(--shadow);
}
.about-intro-band .narrow {
  max-width: 1120px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
}
.about-intro-band .large-note {
  margin-top: 18px;
}
.about-intro-visual {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}
.about-intro-photo {
  position: absolute;
  width: 62%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 26px 76px rgba(0,0,0,.48), 0 0 0 1px rgba(70,225,255,.14);
}
.about-intro-photo.main {
  left: 4%;
  top: 8%;
  z-index: 2;
  transform: rotate(-4deg);
}
.about-intro-photo.secondary {
  right: 2%;
  bottom: 6%;
  z-index: 1;
  transform: rotate(5deg);
  filter: saturate(1.04) brightness(.92);
}
.about-intro-badge {
  position: absolute;
  right: 8%;
  top: 10%;
  z-index: 3;
  width: 108px;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.9);
  color: #07599a;
  box-shadow: 0 18px 48px rgba(0,0,0,.36);
  font-size: 12px;
  font-weight: 1000;
}
.about-intro-badge img {
  width: 70px;
  aspect-ratio: 1;
  object-fit: contain;
}
.project-intro-band .narrow {
  max-width: 1160px;
  grid-template-columns: minmax(0, .82fr) minmax(320px, .68fr);
  align-items: center;
}
.project-intro-visual {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: repeat(2, 132px);
  gap: 10px;
}
.project-intro-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 18px 46px rgba(0,0,0,.34);
}
.project-intro-visual img:first-child {
  grid-row: span 2;
}
.intro-band p {
  margin: 0;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 24px);
}
.large-note {
  color: var(--gold) !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.content-section h2,
.article-body h2,
.a4-report h2 {
  color: #fff;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1;
  letter-spacing: 0;
  margin: 0 0 24px;
  text-transform: uppercase;
}
.content-section h3,
.article-body h3 {
  margin: 34px 0 14px;
  color: var(--cyan);
  font-size: clamp(20px, 2vw, 28px);
}
.lead,
.article-body p,
.a4-report p,
.clean-list li {
  color: var(--soft);
  font-size: 17px;
}
.article-body > p,
.article-body > h2,
.article-body > h3,
.a4-report > p,
.a4-report > h1,
.a4-report > h2,
.a4-report > h3,
.a4-report > ul,
.a4-report > .student-info {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.two-column {
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}
.two-column.reverse {
  grid-template-columns: minmax(320px, 1.1fr) minmax(0, .9fr);
}
.two-column.reverse > div:first-child { order: 2; }
.two-column > div:first-child,
.profile-card,
.project-copy,
.article-body,
.a4-report,
.step-item,
.analysis-upgrade,
.result-link,
.principle-grid > div {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255,255,255,.085), rgba(255,255,255,.025)),
    rgba(10, 16, 29, .74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.two-column > div:first-child {
  padding: clamp(26px, 4vw, 46px);
}
.media-panel img,
.document-preview img,
.profile-card img,
.project-image {
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 30px 90px rgba(0,0,0,.5), 0 0 0 1px rgba(70,225,255,.08);
}
.media-panel img,
.document-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.clean-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.clean-list li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
}
.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  transform: rotate(45deg);
}
.notice {
  border-left: 4px solid var(--gold);
  margin-top: 24px;
  padding: 16px 18px;
  color: #ffe6aa;
  background: rgba(255,202,98,.08);
}
.profile-card {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
}
.profile-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.eyebrow {
  color: var(--cyan) !important;
  font-size: 13px !important;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.project-list {
  display: grid;
  gap: 28px;
  max-width: 1250px;
  margin: 0 auto;
}
.orbit-section {
  max-width: 1250px;
  margin: 36px auto 0;
  padding: clamp(26px, 5vw, 62px) clamp(18px, 5vw, 54px);
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(320px, 1.22fr);
  gap: clamp(26px, 5vw, 58px);
  align-items: center;
  color: var(--text);
}
.orbit-copy {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(158,236,255,.2);
  background:
    linear-gradient(135deg, rgba(70,225,255,.11), rgba(255,202,98,.04)),
    rgba(9, 17, 34, .72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.orbit-copy h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  text-transform: uppercase;
}
.orbit-copy p {
  color: var(--soft);
}
.solar-system {
  position: relative;
  min-height: min(70vw, 660px);
  border: 1px solid rgba(158,236,255,.18);
  background:
    radial-gradient(circle at 50% 50%, rgba(70,225,255,.14), transparent 18%),
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,.06), transparent 24%),
    rgba(4, 9, 20, .62);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.solar-system::before {
  content: "";
  position: absolute;
  inset: 9% 12%;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 68px rgba(255,255,255,.035),
    0 0 0 136px rgba(70,225,255,.028),
    0 0 0 210px rgba(255,202,98,.022);
  animation: orbitPulse 9s ease-in-out infinite;
}
.sun-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(110px, 14vw, 154px);
  height: clamp(110px, 14vw, 154px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  color: #1b1202;
  background: radial-gradient(circle at 34% 26%, #fff7c7, var(--gold) 42%, #f16b4f 100%);
  box-shadow: 0 0 54px rgba(255,202,98,.62), 0 0 140px rgba(255,111,159,.22);
  font-weight: 900;
}
.sun-core strong {
  font-size: 34px;
  line-height: 1;
}
.sun-core span {
  font-size: 12px;
  letter-spacing: .12em;
}
.planet {
  --size: 92px;
  --x: 50%;
  --y: 50%;
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  text-decoration: none;
  display: block;
  outline: none;
  will-change: filter;
}
.planet-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255,255,255,.32), transparent 35%),
    var(--planet-image) center / cover;
  box-shadow: inset -18px -20px 28px rgba(0,0,0,.45), 0 0 28px rgba(70,225,255,.24);
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}
.planet-ring {
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 50%;
  transform: rotate(-18deg) scaleX(1.55);
  opacity: .45;
}
.planet-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8, 15, 30, .72);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.planet-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  width: min(250px, 56vw);
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(4, 8, 18, .92);
  border: 1px solid rgba(70,225,255,.28);
  box-shadow: 0 18px 46px rgba(0,0,0,.38);
  font-size: 13px;
  line-height: 1.35;
  transition: opacity .18s ease, transform .18s ease;
}
.planet:hover .planet-core,
.planet:focus-visible .planet-core {
  transform: translateY(-5px) scale(1.08);
  filter: saturate(1.18) brightness(1.08);
  box-shadow: inset -18px -20px 28px rgba(0,0,0,.4), 0 0 46px rgba(70,225,255,.55);
}
.planet:hover .planet-tooltip,
.planet:focus-visible .planet-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}
.planet-1 { --size: 78px; --x: 17%; --y: 24%; }
.planet-2 { --size: 108px; --x: 39%; --y: 17%; }
.planet-3 { --size: 84px; --x: 72%; --y: 23%; }
.planet-4 { --size: 96px; --x: 84%; --y: 52%; }
.planet-5 { --size: 118px; --x: 62%; --y: 79%; }
.planet-6 { --size: 88px; --x: 29%; --y: 76%; }
.planet-7 { --size: 100px; --x: 14%; --y: 52%; }
.orbit-section {
  display: block;
  max-width: min(1440px, calc(100vw - 32px));
  margin: 34px auto 0;
  padding: clamp(20px, 4vw, 48px) 0 clamp(54px, 7vw, 84px);
  scroll-margin-top: 92px;
}
.solar-stage {
  position: relative;
  min-height: min(78vh, 760px);
  height: clamp(560px, 72vw, 760px);
  overflow: hidden;
  border: 1px solid rgba(158,236,255,.22);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,202,98,.08), transparent 16%),
    radial-gradient(circle at 70% 24%, rgba(70,225,255,.13), transparent 26%),
    rgba(2, 6, 16, .72);
  box-shadow: 0 32px 120px rgba(0,0,0,.58), inset 0 0 80px rgba(70,225,255,.06);
  backdrop-filter: blur(10px);
}
.solar-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.04), transparent 18%, transparent 82%, rgba(255,255,255,.04)),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 7px);
  opacity: .48;
  z-index: 2;
}
.solar-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}
.solar-canvas.is-hovering {
  cursor: pointer;
}
.solar-label {
  position: absolute;
  z-index: 4;
  min-width: 144px;
  padding: 10px 12px;
  transform: translate(-50%, calc(-100% - 16px));
  color: var(--text);
  border: 1px solid rgba(158,236,255,.34);
  background: rgba(5, 10, 22, .9);
  box-shadow: 0 18px 46px rgba(0,0,0,.42);
  pointer-events: none;
}
.solar-label strong,
.solar-label span {
  display: block;
  line-height: 1.2;
}
.solar-label strong {
  color: #fff;
  font-size: 15px;
}
.solar-label span {
  margin-top: 3px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.solar-label.is-hidden {
  opacity: 0;
}
.planet-dock {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  width: min(1060px, calc(100% - 32px));
  transform: translateX(-50%);
}
.planet-dock a {
  display: grid;
  gap: 1px;
  min-width: 104px;
  padding: 9px 12px;
  color: var(--soft);
  text-decoration: none;
  border: 1px solid rgba(158,236,255,.18);
  background: rgba(7, 14, 28, .66);
  backdrop-filter: blur(12px);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}
.planet-dock a:hover,
.planet-dock a.is-active {
  color: #061018;
  border-color: rgba(255,202,98,.64);
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform: translateY(-2px);
}
.planet-dock span {
  font-size: 13px;
  font-weight: 900;
}
.planet-dock small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
}
.solar-map {
  --solar-tilt-x: 0deg;
  --solar-tilt-y: 0deg;
  --solar-light-x: 50%;
  --solar-light-y: 45%;
  position: relative;
  min-height: clamp(520px, 54vw, 720px);
  overflow: hidden;
  border: 1px solid rgba(158,236,255,.22);
  background:
    radial-gradient(circle at 50% 47%, rgba(255,126,30,.12), transparent 13%),
    radial-gradient(circle at 68% 36%, rgba(83,153,255,.09), transparent 18%),
    radial-gradient(circle at 15% 88%, rgba(70,225,255,.09), transparent 18%),
    #171415;
  box-shadow: 0 34px 110px rgba(0,0,0,.55), inset 0 0 90px rgba(255,255,255,.04);
  isolation: isolate;
  transform: perspective(1400px) rotateX(var(--solar-tilt-x)) rotateY(var(--solar-tilt-y));
  transform-origin: center;
  transition: transform .18s ease;
}
.solar-map-3d {
  height: clamp(520px, 52vw, 720px);
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 48%, rgba(255,96,22,.12), transparent 15%),
    radial-gradient(circle at 18% 20%, rgba(88,151,255,.12), transparent 22%),
    radial-gradient(circle at 82% 70%, rgba(65,229,255,.1), transparent 20%),
    #111013;
  transform: none;
}
.solar-map-3d .solar-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}
.solar-map-3d .solar-canvas.is-dragging {
  cursor: grabbing;
}
.solar-html-labels {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.solar-html-label {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  gap: 1px;
  min-width: 76px;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 3px 8px rgba(0,0,0,.95), 0 0 12px rgba(0,0,0,.72);
  pointer-events: auto;
}
.solar-html-label span {
  font-size: clamp(13px, 1.35vw, 22px);
  font-weight: 1000;
  line-height: 1.05;
}
.solar-html-label small {
  font-size: clamp(10px, .95vw, 15px);
  font-weight: 900;
}
.solar-html-label.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.solar-html-label.is-active {
  color: var(--gold);
}
.sun-label-3d {
  min-width: 140px;
  font-size: clamp(18px, 2vw, 30px);
  font-weight: 1000;
}
.orbit-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.orbit-gallery a {
  position: relative;
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 4px;
  overflow: hidden;
  padding: 18px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(158,236,255,.2);
  background: rgba(6, 11, 21, .76);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}
.orbit-gallery a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 18%, rgba(3,7,14,.88)),
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(70,225,255,.18), transparent 28%);
}
.orbit-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
  transition: transform .24s ease;
}
.orbit-gallery span,
.orbit-gallery strong {
  position: relative;
  z-index: 2;
}
.orbit-gallery span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.orbit-gallery strong {
  font-size: 22px;
  line-height: 1.1;
}
.orbit-gallery a:hover img,
.orbit-gallery a:focus-visible img {
  transform: scale(1.06);
}
.solar-map::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(126,196,255,.85) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(255,230,178,.85) 0 1.5px, transparent 2.5px);
  background-size: 160px 130px, 210px 170px, 280px 220px;
  background-position: 20px 30px, 90px 60px, 40px 110px;
  opacity: .72;
}
.solar-map::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at var(--solar-light-x) var(--solar-light-y), rgba(255,255,255,.16), transparent 18%);
  mix-blend-mode: screen;
}
.orbit-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}
.orbits ellipse {
  fill: none;
  stroke: rgba(245,245,245,.7);
  stroke-width: 1.4;
}
.asteroid-belt ellipse {
  fill: none;
  stroke: rgba(215,215,215,.55);
  stroke-width: 9;
  stroke-dasharray: 2 12;
  opacity: .62;
}
.shooting-stars path {
  stroke: url(#comet-gradient);
  stroke-width: 7;
  stroke-linecap: round;
}
.star-dots circle {
  fill: #fff7dd;
  filter: drop-shadow(0 0 5px rgba(255,255,255,.7));
}
.sun-illustration {
  position: absolute;
  left: 50%;
  top: 47%;
  z-index: 3;
  width: clamp(138px, 15vw, 210px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  filter: drop-shadow(0 0 28px rgba(255,77,23,.82)) drop-shadow(0 0 70px rgba(255,143,43,.42));
}
.sun-core-art {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255,255,255,.95) 0 3px, transparent 4px),
    radial-gradient(circle at 68% 62%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    radial-gradient(circle at 55% 36%, #fff2a6 0 8%, #ffb12d 20%, #ff6a00 52%, #b91f14 100%);
  box-shadow: inset -22px -26px 38px rgba(105,24,8,.42), inset 14px 12px 28px rgba(255,255,255,.26);
}
.sun-core-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background-image:
    radial-gradient(circle, rgba(109,28,4,.72) 0 1.5px, transparent 2px),
    radial-gradient(circle, rgba(255,236,111,.95) 0 1.8px, transparent 2.5px);
  background-size: 13px 11px, 19px 17px;
  mix-blend-mode: multiply;
  opacity: .9;
}
.sun-label {
  position: absolute;
  left: 50%;
  top: calc(100% + 16px);
  transform: translateX(-50%);
  color: #fff;
  font-size: clamp(16px, 2vw, 28px);
  font-weight: 900;
  text-shadow: 0 2px 6px rgba(0,0,0,.8);
  white-space: nowrap;
}
.map-planet {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 4;
  width: var(--s);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  color: #fff;
  text-decoration: none;
  outline: none;
  transition: transform .2s ease, filter .2s ease;
}
.map-planet:hover,
.map-planet:focus-visible {
  transform: translate(-50%, -50%) scale(1.09);
  filter: drop-shadow(0 0 18px rgba(255,255,255,.42));
}
.planet-sphere {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset -22px -18px 25px rgba(0,0,0,.58), inset 9px 8px 16px rgba(255,255,255,.26), 0 14px 28px rgba(0,0,0,.38);
}
.planet-sphere::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 28% 24%, rgba(255,255,255,.55), transparent 24%, rgba(0,0,0,.22) 78%);
}
.planet-caption {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  min-width: 114px;
  transform: translateX(-50%);
  color: #fff;
  font-size: clamp(13px, 1.5vw, 22px);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-shadow: 0 2px 5px rgba(0,0,0,.86);
}
.planet-caption small {
  font-size: .72em;
  font-weight: 900;
}
.mercury .planet-sphere {
  background:
    radial-gradient(circle at 34% 44%, rgba(60,54,49,.6) 0 8%, transparent 9%),
    radial-gradient(circle at 65% 30%, rgba(255,255,255,.18) 0 6%, transparent 7%),
    linear-gradient(135deg, #d0c3b5, #8b837b 52%, #3d3c3d);
}
.venus .planet-sphere {
  background:
    repeating-linear-gradient(8deg, rgba(255,239,176,.55) 0 9px, rgba(152,88,35,.18) 9px 18px),
    linear-gradient(135deg, #fff0a3, #c98a39 58%, #5a321c);
}
.earth .planet-sphere {
  background:
    radial-gradient(ellipse at 40% 38%, #4ec777 0 18%, transparent 19%),
    radial-gradient(ellipse at 65% 62%, #3cb36d 0 16%, transparent 17%),
    radial-gradient(ellipse at 44% 76%, rgba(255,255,255,.7) 0 8%, transparent 9%),
    linear-gradient(135deg, #7fd7ff 0 16%, #176fc3 38%, #0c3477);
}
.mars .planet-sphere {
  background:
    radial-gradient(circle at 55% 64%, rgba(90,35,25,.46) 0 14%, transparent 15%),
    repeating-linear-gradient(-8deg, rgba(255,198,118,.32) 0 5px, transparent 5px 18px),
    linear-gradient(135deg, #f38950, #b54f32 52%, #482015);
}
.jupiter .planet-sphere {
  background:
    radial-gradient(ellipse at 68% 58%, rgba(170,55,38,.9) 0 12%, rgba(255,235,185,.8) 13% 17%, transparent 18%),
    repeating-linear-gradient(0deg, #f7dfb8 0 9px, #b57a4a 9px 18px, #fff0c6 18px 27px, #7f5036 27px 35px);
}
.saturn {
  width: calc(var(--s) * 1.38);
}
.saturn .planet-sphere {
  left: 15%;
  right: 15%;
  width: 70%;
  margin: auto;
  background:
    repeating-linear-gradient(0deg, #f4dfad 0 8px, #b39258 8px 16px, #fff3c8 16px 24px),
    linear-gradient(135deg, #f3d98e, #8e6a38);
}
.saturn .planet-sphere::before {
  content: "";
  position: absolute;
  left: -42%;
  right: -42%;
  top: 32%;
  height: 38%;
  border: 8px solid rgba(239,210,139,.9);
  border-left-width: 14px;
  border-right-width: 14px;
  border-radius: 50%;
  transform: rotate(-16deg);
  box-shadow: 0 0 0 4px rgba(122,91,49,.42);
}
.uranus .planet-sphere {
  background:
    repeating-linear-gradient(84deg, rgba(255,255,255,.28) 0 7px, transparent 7px 25px),
    linear-gradient(135deg, #b9ffff, #3fc8cb 58%, #0b5966);
}
.uranus .planet-sphere::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 35%;
  height: 30%;
  border: 4px solid rgba(146,246,255,.66);
  border-radius: 50%;
  transform: rotate(-68deg);
}
.map-planet:hover .planet-caption,
.map-planet:focus-visible .planet-caption {
  color: var(--gold);
}
.project-card {
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  min-height: 330px;
  border: 1px solid var(--line);
  background: rgba(9, 15, 26, .68);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(70,225,255,.48);
  box-shadow: 0 38px 110px rgba(0,0,0,.58), 0 0 50px rgba(70,225,255,.12);
}
.project-image {
  min-height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(70,225,255,.2));
}
.project-copy {
  padding: clamp(26px, 4vw, 48px);
  border: 0;
  box-shadow: none;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
}
.project-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1;
}
.project-copy h2 a,
.text-link,
.button-link,
.result-link a {
  text-decoration: none;
}
.project-copy p {
  color: var(--soft);
  max-width: 740px;
}
.text-link,
.button-link,
.result-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(70,225,255,.34);
  color: #061018;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(70,225,255,.18);
}
.button-link:hover,
.text-link:hover,
.result-link a:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.back-row {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.result-link {
  padding: 22px;
}
.result-title {
  margin: 0 0 10px !important;
  color: var(--gold) !important;
  font-weight: 900;
  text-transform: uppercase;
}

.article-body,
.a4-report {
  max-width: 1120px;
  padding: clamp(28px, 5vw, 64px);
}
.a4-report {
  font-family: "Times New Roman", Times, serif;
}
.a4-report h1 {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  margin: 0 auto 18px;
}
.report-subtitle,
.student-info {
  color: var(--soft);
}
.article-body strong,
.a4-report strong {
  color: #fff;
}
.article-body code,
.a4-report code {
  color: var(--gold);
  background: rgba(255,202,98,.08);
  padding: 2px 5px;
}
.inline-figure,
.document-figure,
.report-figure,
.gallery-figure,
.pdf-page-figure {
  margin: 34px auto;
  max-width: 980px;
}
.inline-figure img,
.document-figure img,
.report-figure img,
.gallery-figure img,
.pdf-page-figure img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow);
  background: #0d1320;
}
.report-figure img {
  max-height: 430px;
}
figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.zoomable {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}
.image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.image-gallery figure { margin: 0; }

.table-wrap {
  overflow-x: auto;
  margin: 28px auto;
  max-width: 1120px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}
.table-caption {
  margin: 0;
  padding: 12px 16px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
th, td {
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.1);
  vertical-align: top;
  color: var(--soft);
}
th {
  color: #fff;
  background: rgba(70,225,255,.11);
}
.references p { margin-bottom: 10px; }

.steps {
  max-width: 1260px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step-item {
  padding: 18px;
}
.step-item h2 {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.evidence img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.14);
}
.image-fallback { display: none; }
.evidence.is-missing .image-fallback {
  display: grid;
  min-height: 180px;
  place-items: center;
  color: var(--muted);
  border: 1px dashed var(--line);
}
.evidence.is-missing img { display: none; }

.analysis-upgrade {
  margin-top: 42px;
  padding: 26px;
  border-color: rgba(255,202,98,.28);
  background: linear-gradient(135deg, rgba(255,202,98,.1), rgba(70,225,255,.05));
}
.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.principle-grid > div {
  padding: 20px;
}
.principle-grid strong {
  color: var(--gold);
  text-transform: uppercase;
}

.poster-section {
  padding-top: 120px;
}
.infographic-poster {
  max-width: 1080px;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(5, 10, 19, .9);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.poster-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: end;
  background-size: cover;
  background-position: center;
}
.poster-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,10,19,.92), rgba(5,10,19,.35)),
    radial-gradient(circle at 82% 20%, rgba(70,225,255,.22), transparent 32%);
}
.poster-hero > div {
  position: relative;
  padding: clamp(28px, 5vw, 58px);
}
.poster-hero p,
.poster-summary strong {
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.poster-hero h1 {
  max-width: 760px;
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(38px, 6vw, 76px);
  line-height: .94;
  text-transform: uppercase;
}
.poster-summary {
  padding: 24px clamp(24px, 5vw, 56px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(70,225,255,.11), rgba(255,202,98,.07));
}
.poster-row {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 280px;
  border-bottom: 1px solid var(--line);
}
.poster-row:nth-child(even) {
  grid-template-columns: 58% 42%;
}
.poster-row:nth-child(even) .poster-image {
  order: 2;
}
.poster-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.poster-copy {
  display: grid;
  align-content: center;
  padding: clamp(24px, 5vw, 50px);
  background: rgba(255,255,255,.035);
}
.poster-number {
  margin: 0 0 12px !important;
  color: var(--gold) !important;
  font-size: 60px !important;
  line-height: 1 !important;
  font-weight: 900;
}
.poster-copy h2 {
  margin-bottom: 14px;
}
.poster-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  color: var(--soft);
  background: #05080e;
}

.site-footer {
  padding: 48px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: rgba(4, 8, 15, .9);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  color: var(--soft);
}
.footer-inner h3 {
  color: #fff;
  margin: 0;
  font-size: 28px;
}
.footer-inner p { margin: 6px 0; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0,0,0,.84);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html,
  body {
    width: auto;
    min-width: 0;
    overflow: visible !important;
    background: #fff !important;
  }

  body {
    color: #142033;
  }

  .site-header,
  .side-nav,
  .scrim,
  .search-popover,
  .progress-bar,
  .page-transition,
  .cursor-aura,
  .meteor-layer,
  .lightbox,
  .close-side,
  .cosmos-scene {
    display: none !important;
  }

  main {
    overflow: visible !important;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero {
    min-height: 360px;
    break-after: auto;
  }

  .atlas-home {
    min-height: 760px;
    padding-top: 34px;
  }

  .star-atlas-viewport {
    height: 620px;
    overflow: hidden;
  }

  .solar-map-3d {
    height: 620px;
    min-height: 620px;
  }

  .content-section,
  .intro-band,
  .project-list,
  .orbit-section,
  .poster-section {
    break-before: auto;
  }

  .project-card,
  .step-item,
  .reflection-card,
  .poster-row,
  figure,
  article,
  table {
    break-inside: avoid;
  }

  .site-footer {
    break-before: auto;
  }
}
.lightbox-inner {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
}
.lightbox-inner img {
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.lightbox-inner p {
  color: var(--soft);
  text-align: center;
}
.lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255,255,255,.08);
  width: 46px;
  height: 46px;
  font-size: 28px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 180;
  height: 3px;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--cyan), var(--gold), var(--coral));
  box-shadow: 0 0 18px rgba(70,225,255,.6);
}
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-110%);
  background: linear-gradient(90deg, rgba(70,225,255,.92), rgba(255,202,98,.95));
  transition: transform .42s cubic-bezier(.22,.9,.26,1), opacity .28s ease, clip-path .42s cubic-bezier(.22,.9,.26,1);
}
.page-transition.is-active {
  transform: translateX(0);
  opacity: 1;
}
.page-transition::before,
.page-transition::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-transition::before {
  background:
    radial-gradient(circle at 40% 50%, rgba(255,255,255,.7), transparent 11%),
    linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  opacity: .68;
}
.page-transition::after {
  background-image:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,236,176,.8) 0 1px, transparent 2px);
  background-size: 90px 64px, 150px 120px;
  opacity: .42;
}
.page-transition.transition-left {
  transform: translateX(-110%);
}
.page-transition.transition-left.is-active {
  transform: translateX(0);
}
.page-transition.transition-right {
  transform: translateX(110%);
}
.page-transition.transition-right.is-active {
  transform: translateX(0);
}
.page-transition.transition-up {
  transform: translateY(110%);
}
.page-transition.transition-up.is-active {
  transform: translateY(0);
}
.page-transition.transition-down {
  transform: translateY(-110%);
}
.page-transition.transition-down.is-active {
  transform: translateY(0);
}
.page-transition.transition-diagonal {
  transform: translate3d(-110%, 110%, 0) rotate(-8deg) scale(1.2);
}
.page-transition.transition-diagonal.is-active {
  transform: translate3d(0, 0, 0) rotate(0) scale(1.2);
}
.page-transition.transition-burst {
  transform: scale(.08);
  opacity: 0;
  clip-path: circle(0% at var(--mouse-x) var(--mouse-y));
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), #fff, rgba(255,202,98,.96) 18%, rgba(70,225,255,.92) 46%, #07101c 100%);
}
.page-transition.transition-burst.is-active {
  transform: scale(1);
  opacity: 1;
  clip-path: circle(150% at var(--mouse-x) var(--mouse-y));
}
.page-transition.transition-frost {
  transform: translateY(-110%);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.82), transparent 8%),
    radial-gradient(circle at 78% 26%, rgba(255,255,255,.72), transparent 7%),
    linear-gradient(180deg, rgba(240,255,255,.98), rgba(116,226,255,.92)),
    #dff9ff;
}
.page-transition.transition-frost::after {
  background-image:
    linear-gradient(120deg, transparent 0 46%, rgba(255,255,255,.92) 47% 49%, transparent 50% 100%),
    linear-gradient(60deg, transparent 0 46%, rgba(220,249,255,.8) 47% 49%, transparent 50% 100%),
    radial-gradient(circle, rgba(255,255,255,.92) 0 2px, transparent 3px);
  background-size: 72px 72px, 52px 52px, 18px 18px;
  opacity: .88;
  animation: frostCrack 1.2s linear infinite;
}
.page-transition.transition-frost.is-active {
  transform: translateY(0);
}
.page-transition.transition-fire {
  transform: translateY(110%);
  background:
    radial-gradient(circle at 50% 110%, rgba(255,255,255,.9), transparent 10%),
    radial-gradient(circle at 50% 100%, rgba(255,170,74,.72), transparent 18%),
    linear-gradient(0deg, #5e1200, #ff7111 34%, #ffb03a 60%, #fff4a9 82%);
}
.page-transition.transition-fire::after {
  background:
    radial-gradient(ellipse at 18% 92%, rgba(255,232,170,.92), transparent 18%),
    radial-gradient(ellipse at 54% 96%, rgba(255,255,255,.82), transparent 22%),
    radial-gradient(ellipse at 84% 94%, rgba(255,170,74,.88), transparent 18%),
    linear-gradient(0deg, transparent 0 54%, rgba(255,255,255,.42) 55% 57%, transparent 58% 100%);
  opacity: .88;
  animation: fireFlicker .7s ease-in-out infinite;
}
.page-transition.transition-fire.is-active {
  transform: translateY(0);
}
.page-transition.transition-meteor {
  transform: translateX(-112%) skewX(-10deg);
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.95) 20%, rgba(70,225,255,.92) 34%, rgba(255,202,98,.96) 64%, transparent);
}
.page-transition.transition-meteor::before {
  background: linear-gradient(90deg, transparent, #fff, transparent);
}
.page-transition.transition-meteor.is-active {
  transform: translateX(0) skewX(-10deg);
}

.cursor-aura {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 250;
  width: 76px;
  height: 76px;
  pointer-events: none;
  border: 1px solid rgba(210, 244, 255, .58);
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(-120px, -120px, 0);
  transition: opacity .18s ease;
  mix-blend-mode: screen;
}
.cursor-aura::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), rgba(70,225,255,.1) 42%, transparent 70%);
}
.cursor-aura.is-active {
  opacity: .72;
}

@keyframes orbitPulse {
  0%, 100% { transform: scale(1); opacity: .78; }
  50% { transform: scale(1.035); opacity: 1; }
}

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-button { display: grid; }
  .brand-name { max-width: calc(100vw - 190px); }
  .constellation-titlebar h1 {
    font-size: 56px;
  }
  .constellation-menu {
    grid-template-columns: 1fr;
  }
  .constellation-choice {
    min-height: 360px;
  }
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 112px;
  }
  .home-hero h1 {
    font-size: 64px;
  }
  .constellation-map {
    min-height: 560px;
    height: 620px;
  }
  .home-card-grid {
    grid-template-columns: 1fr;
  }
  .about-intro-band .narrow {
    grid-template-columns: 1fr;
  }
  .about-intro-visual {
    width: min(460px, 100%);
    margin: 0 auto;
  }
  .project-intro-band .narrow {
    grid-template-columns: 1fr;
  }
  .project-intro-visual {
    grid-template-rows: repeat(2, 118px);
  }
  .orbit-gallery {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 82vh; }
  .orbit-section {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }
  .solar-system {
    min-height: 620px;
  }
  .intro-band .narrow,
  .two-column,
  .two-column.reverse,
  .profile-card,
  .project-card,
  .poster-row,
  .poster-row:nth-child(even),
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .two-column.reverse > div:first-child,
  .poster-row:nth-child(even) .poster-image {
    order: initial;
  }
  .steps,
  .image-gallery,
  .principle-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .cursor-comet { display: none; }
  .site-header { height: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 13px; max-width: calc(100vw - 165px); }
  .hero,
  .hero.compact-hero {
    min-height: 76vh;
    padding: 112px 20px 64px;
  }
  .hero h1,
  .compact-hero h1 { font-size: 42px; }
  .constellation-home {
    padding: 94px 18px 46px;
    gap: 24px;
  }
  .constellation-titlebar h1 {
    font-size: 42px;
  }
  .constellation-titlebar p {
    font-size: 11px;
  }
  .constellation-titlebar span {
    font-size: 14px;
  }
  .constellation-choice {
    min-height: 310px;
    padding: 20px;
  }
  .constellation-choice strong {
    font-size: 26px;
  }
  .constellation-choice small {
    font-size: 14px;
  }
  .home-hero {
    padding: 96px 18px 64px;
  }
  .home-hero h1 {
    font-size: 46px;
  }
  .home-lead {
    font-size: 18px;
  }
  .home-signature {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    flex-direction: column;
    margin-top: 22px;
    font-size: 12px;
  }
  .constellation-map {
    min-height: 540px;
    height: 560px;
  }
  .constellation-node {
    width: 142px;
  }
  .constellation-node strong {
    font-size: 16px;
  }
  .star-system {
    width: 104px;
  }
  .node-projects { left: 50%; top: 49%; }
  .node-about { left: 32%; top: 22%; }
  .node-conclusion { left: 68%; top: 78%; }
  .about-intro-visual {
    min-height: 320px;
  }
  .about-intro-badge {
    width: 94px;
  }
  .project-intro-visual {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 150px);
  }
  .project-intro-visual img:first-child {
    grid-row: auto;
  }
  .orbit-gallery a {
    min-height: 190px;
  }
  .intro-band,
  .content-section,
  .project-list,
  .poster-section { padding: 50px 18px; }
  .orbit-section { padding: 18px; }
  .solar-system { min-height: 560px; }
  .sun-core { width: 98px; height: 98px; }
  .planet { --size: 70px; }
  .planet-1 { --x: 18%; --y: 18%; }
  .planet-2 { --x: 54%; --y: 16%; }
  .planet-3 { --x: 82%; --y: 34%; }
  .planet-4 { --x: 73%; --y: 61%; }
  .planet-5 { --x: 49%; --y: 84%; }
  .planet-6 { --x: 20%; --y: 70%; }
  .planet-7 { --x: 14%; --y: 44%; }
  .planet-tooltip { display: none; }
  .steps,
  .image-gallery,
  .principle-grid {
    grid-template-columns: 1fr;
  }
  .article-body,
  .a4-report,
  .project-copy {
    padding: 22px;
  }
  .content-section h2,
  .article-body h2,
  .a4-report h2 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .cursor-comet { display: none; }
}

/* Final lightweight constellation atlas */
.page-atlas {
  background: #030711;
  overflow-x: hidden;
}
.page-atlas::before,
.page-atlas::after {
  display: none;
}
.page-atlas .cosmos-scene {
  background:
    radial-gradient(ellipse at 72% 70%, rgba(70,225,255,.14), transparent 34%),
    radial-gradient(ellipse at 24% 18%, rgba(90,120,255,.14), transparent 28%),
    linear-gradient(135deg, #03060d, #081322 52%, #150c1d);
}
.page-atlas .cosmos-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.72) 0 1px, transparent 1.8px),
    radial-gradient(circle, rgba(128,205,255,.64) 0 1px, transparent 1.8px);
  background-size: 110px 92px, 180px 148px;
  background-position: 14px 28px, 68px 52px;
  opacity: .7;
}
.page-atlas .cosmos-scene::after,
.page-atlas .cosmic-glow,
.page-atlas .cursor-comet,
.page-atlas .constellation-home,
.page-atlas .home-hero,
.page-atlas .home-overview {
  display: none;
}
.atlas-home {
  min-height: 100vh;
  padding: 112px clamp(18px, 4vw, 56px) 44px;
}
.atlas-title {
  max-width: 1260px;
  margin: 0 auto 24px;
}
.atlas-title p {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.atlas-title h1 {
  margin: 0;
  color: #fff;
  font-size: 58px;
  line-height: .95;
  letter-spacing: 0;
  text-transform: uppercase;
}
.atlas-title span {
  display: inline-block;
  margin-top: 10px;
  color: var(--soft);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.star-atlas-viewport {
  position: relative;
  max-width: 1260px;
  height: min(68vh, 680px);
  min-height: 540px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(158,236,255,.24);
  background:
    radial-gradient(ellipse at 54% 46%, rgba(40,95,160,.26), transparent 44%),
    rgba(3, 7, 16, .72);
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.star-atlas-viewport.is-dragging {
  cursor: grabbing;
}
.star-atlas-map {
  --atlas-x: -300px;
  --atlas-y: -190px;
  position: absolute;
  left: 0;
  top: 0;
  width: 1800px;
  height: 1040px;
  transform: translate3d(var(--atlas-x), var(--atlas-y), 0);
  will-change: transform;
}
.atlas-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.atlas-dust circle {
  fill: rgba(236,248,255,.72);
}
.decor-constellation path,
.main-constellation path {
  fill: none;
  stroke: rgba(200,232,255,.46);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.decor-constellation circle {
  fill: rgba(235,248,255,.86);
}
.decor-constellation text {
  fill: rgba(197,225,243,.62);
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: .16em;
}
.main-constellation path {
  stroke: rgba(255,232,170,.76);
  stroke-width: 3;
}
.main-constellation circle {
  fill: #fff;
  stroke: rgba(255,232,170,.88);
  stroke-width: 2;
}
.main-constellation .major-star {
  fill: var(--gold);
}
.milky-river .river-glow {
  fill: none;
  stroke: rgba(126, 210, 255, .16);
  stroke-width: 96;
  stroke-linecap: round;
}
.milky-river .river-core {
  fill: none;
  stroke: rgba(220, 247, 255, .22);
  stroke-width: 34;
  stroke-linecap: round;
  stroke-dasharray: 5 13;
}
.milky-river .magpie-bridge {
  fill: none;
  stroke: rgba(255, 232, 170, .64);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2 10;
}
.milky-river text {
  fill: rgba(207, 236, 255, .76);
  font-size: 20px;
  font-weight: 1000;
  letter-spacing: .18em;
}
.main-constellation text {
  fill: rgba(255, 236, 184, .82);
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: .08em;
}
.milky-river .bridge-note {
  fill: rgba(255, 232, 170, .78);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: .12em;
}
.main-constellation .child-label {
  font-size: 15px;
  fill: rgba(255, 236, 184, .76);
}
.atlas-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  color: #fff;
  text-decoration: none;
  z-index: 6;
  cursor: pointer;
  touch-action: manipulation;
  display: block;
  width: 360px;
  height: 360px;
}
.atlas-hotspot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 256px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,202,98,.28);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,202,98,.12), transparent 64%);
}
.atlas-hotspot::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: 240px;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  background: transparent;
}
.solar-hotspot::after {
  width: 420px;
  height: 430px;
}
.lyra-hotspot::after,
.aquila-hotspot::after {
  width: 420px;
  height: 270px;
}
.atlas-label {
  position: absolute;
  left: 50%;
  top: 50%;
  min-width: 230px;
  transform: translateX(-50%);
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(13, 19, 34, .94), rgba(4, 9, 18, .9));
  box-shadow: 0 18px 42px rgba(0,0,0,.34);
  pointer-events: none;
}
.atlas-label em {
  color: rgba(197,225,243,.74);
  font-size: 12px;
  font-style: normal;
  font-weight: 1000;
  letter-spacing: .16em;
}
.atlas-label strong {
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}
.atlas-label small {
  color: var(--soft);
  font-size: 14px;
  font-weight: 800;
}
.atlas-hotspot:hover .atlas-label,
.atlas-hotspot:focus-visible .atlas-label {
  border-color: rgba(255,202,98,.5);
  color: var(--gold);
}
.aquila-hotspot .atlas-label {
  top: auto;
  bottom: calc(100% + 20px);
}
.mini-solar {
  position: relative;
  display: block;
  width: 210px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
}
.mini-solar::before,
.mini-solar::after {
  content: "";
  position: absolute;
  inset: 20%;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transform: rotate(-18deg) scaleX(1.55);
}
.mini-solar::after {
  inset: 8%;
  opacity: .54;
}
.mini-solar i {
  position: absolute;
  display: block;
  border-radius: 50%;
}
.mini-solar .sun {
  left: 50%;
  top: 50%;
  width: 64px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 36% 28%, #fff2b2, #ffbf37 46%, #e95d1f);
}
.mini-solar .p1 { left: 42%; top: 33%; width: 13px; aspect-ratio: 1; background: #aaa; }
.mini-solar .p2 { left: 62%; top: 38%; width: 18px; aspect-ratio: 1; background: #d6a14e; }
.mini-solar .p3 { left: 29%; top: 56%; width: 18px; aspect-ratio: 1; background: #52c0ff; }
.mini-solar .p4 { left: 72%; top: 67%; width: 26px; aspect-ratio: 1; background: #d0b17a; }
.lyra-hotspot,
.aquila-hotspot {
  width: 260px;
  height: 180px;
}
.lyra-hotspot::before,
.aquila-hotspot::before {
  width: 260px;
  height: 180px;
}
.lyra-hotspot .atlas-label,
.aquila-hotspot .atlas-label {
  min-width: 240px;
}

.reflection-visual-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.reflection-visual-grid figure {
  margin: 0;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(158,236,255,.2);
  background: rgba(6, 12, 24, .72);
}
.reflection-visual-grid img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}
.reflection-visual-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 12px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(180deg, transparent, rgba(3,7,14,.92));
}
.reflection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.reflection-card {
  overflow: hidden;
  border: 1px solid rgba(158,236,255,.2);
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.02)),
    rgba(8, 14, 27, .78);
}
.reflection-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.reflection-card div {
  padding: 18px;
}
.reflection-card strong {
  color: #fff;
  font-size: 20px;
}
.reflection-card p {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 16px;
}
.page-atlas .star-atlas-viewport::before,
.page-atlas .star-atlas-viewport::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 3;
}
.page-atlas .star-atlas-viewport::before {
  left: var(--mouse-x);
  top: var(--mouse-y);
  width: 220px;
  height: 220px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.12), rgba(70,225,255,.08) 32%, transparent 68%);
  opacity: .72;
}
.page-atlas .star-atlas-viewport::after {
  left: 8%;
  top: 12%;
  width: 160px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  transform: rotate(24deg);
  animation: meteorSlide 6s linear infinite;
}
@keyframes meteorSlide {
  0% { transform: translate3d(-20vw, -10vh, 0) rotate(24deg); opacity: 0; }
  12% { opacity: .85; }
  34% { opacity: 0; }
  100% { transform: translate3d(80vw, 42vh, 0) rotate(24deg); opacity: 0; }
}
@keyframes frostCrack {
  0%, 100% { transform: translateX(-2%) scaleX(1); opacity: .8; }
  50% { transform: translateX(2%) scaleX(1.04); opacity: 1; }
}
@keyframes fireFlicker {
  0%, 100% { opacity: .72; filter: saturate(1.1); }
  30% { opacity: 1; filter: saturate(1.4); }
  60% { opacity: .84; filter: saturate(1.2); }
}
body::marker {
  color: var(--gold);
}
body .meteor-layer {
  position: fixed;
  inset: 0;
  z-index: 240;
  pointer-events: none;
  overflow: hidden;
  opacity: .45;
}
body .meteor-layer i {
  position: absolute;
  width: 140px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.82), rgba(70,225,255,.18));
  transform: rotate(24deg);
  opacity: 0;
  animation: meteorSlide 7s linear infinite;
}
body .meteor-layer i:nth-child(1) { left: 2%; top: 8%; animation-delay: .2s; }
body .meteor-layer i:nth-child(2) { left: 38%; top: 22%; animation-delay: 2.4s; }
body .meteor-layer i:nth-child(3) { left: 70%; top: 12%; animation-delay: 4.8s; }
body .meteor-layer i:nth-child(4) { left: 16%; top: 58%; animation-delay: 6.1s; }
body .meteor-layer.is-active {
  z-index: 310;
  opacity: 1;
}
body .meteor-layer.is-active i {
  animation-duration: 1.1s;
}

@media (max-width: 980px) {
  .atlas-title h1 { font-size: 44px; }
  .star-atlas-viewport { min-height: 520px; }
  .reflection-grid,
  .reflection-visual-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .atlas-home { padding: 94px 18px 38px; }
  .atlas-title h1 { font-size: 34px; }
  .atlas-title p { font-size: 11px; }
  .star-atlas-viewport {
    min-height: 510px;
    height: 58vh;
  }
  .atlas-label { min-width: 190px; }
  .atlas-label strong { font-size: 22px; }
  .reflection-grid,
  .reflection-visual-grid { grid-template-columns: 1fr; }
  .page-atlas .star-atlas-viewport::before {
    display: none;
  }
  .cursor-aura {
    display: none;
  }
  body .meteor-layer i:nth-child(n+3) {
    display: none;
  }
}

.cosmic-glow,
.cursor-comet {
  display: none !important;
}
