:root {
  --navy-950: #050f22;
  --navy-900: #0a1d3d;
  --navy-800: #102a57;
  --blue: #173a75;
  --gold: #a97807;
  --gold-soft: #d8b45f;
  --paper: #f6f3ec;
  --white: #ffffff;
  --ink: #111827;
  --muted: #687386;
  --glass: rgba(255, 255, 255, 0.12);
  --glass-light: rgba(255, 255, 255, 0.66);
  --line: rgba(255, 255, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--navy-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.loader {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(216, 180, 95, 0.22), transparent 32%),
    linear-gradient(145deg, var(--navy-950), #020713 72%);
  color: var(--white);
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  width: min(420px, calc(100% - 40px));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 42px 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(22px);
}

.loader-card img {
  width: 118px;
  animation: loaderWing 1.6s ease-in-out infinite alternate;
}

.loader-card p {
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.84rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.loader-card span {
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

@keyframes loaderWing {
  from {
    transform: translateY(0) scale(0.96);
    filter: drop-shadow(0 0 12px rgba(216, 180, 95, 0.12));
  }
  to {
    transform: translateY(-10px) scale(1.02);
    filter: drop-shadow(0 0 28px rgba(216, 180, 95, 0.44));
  }
}

.glass-panel,
.glass-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(24px);
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 28px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(5, 15, 34, 0.62);
  color: var(--white);
  backdrop-filter: blur(20px);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.28);
}

.brand {
  display: grid;
  place-items: center;
  width: 132px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.brand img {
  width: 112px;
}

.topbar nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.topbar nav a:hover {
  color: var(--gold-soft);
}

.nav-action,
.btn,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.nav-action,
.btn.primary,
.lead-form button {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 22px 54px rgba(169, 120, 7, 0.28);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(380px, 0.74fr);
  align-items: center;
  gap: clamp(22px, 5vw, 70px);
  padding: 138px clamp(18px, 6vw, 86px) 90px;
  color: var(--white);
  overflow: hidden;
}

#skyScene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(216, 180, 95, 0.2), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(23, 58, 117, 0.32), transparent 34%),
    linear-gradient(180deg, rgba(5, 15, 34, 0.18), var(--navy-950) 92%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.65;
}

.hero-orb-one {
  width: 28vw;
  height: 28vw;
  right: -10vw;
  top: 18vh;
  background: radial-gradient(circle, rgba(216, 180, 95, 0.2), transparent 68%);
}

.hero-orb-two {
  width: 34vw;
  height: 34vw;
  left: -14vw;
  bottom: -8vw;
  background: radial-gradient(circle, rgba(23, 58, 117, 0.36), transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  border-radius: 34px;
  padding: clamp(26px, 4vw, 48px);
}

.kicker {
  margin: 0 0 16px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(4rem, 8.5vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: -0.065em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 5.4vw, 5.7rem);
  line-height: 0.91;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.hero-copy p:not(.kicker) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.08rem, 1.5vw, 1.24rem);
  line-height: 1.74;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-device {
  position: relative;
  z-index: 2;
  align-self: center;
  perspective: 1200px;
}

.hero-device img {
  width: min(520px, 100%);
  aspect-ratio: 0.78;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 38px;
  object-fit: cover;
  transform: rotateY(-13deg) rotateX(7deg) rotateZ(1deg);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.44),
    -22px 22px 0 rgba(255, 255, 255, 0.05);
}

.device-glow {
  position: absolute;
  inset: 12% 0 0 18%;
  z-index: -1;
  border-radius: 40%;
  background: radial-gradient(circle, rgba(216, 180, 95, 0.32), transparent 62%);
  filter: blur(28px);
}

.status-strip {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(1040px, calc(100% - 34px));
  border-radius: 999px;
  padding: 12px;
}

.status-strip span {
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.86rem;
  font-weight: 850;
}

.section {
  padding: clamp(78px, 10vw, 142px) clamp(18px, 6vw, 88px);
}

.section-title {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-title.centered {
  margin-inline: auto;
  text-align: center;
}

.section-title h2,
.contact h2 {
  color: var(--white);
}

.section-title p:not(.kicker),
.contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
  line-height: 1.72;
}

.about {
  background:
    radial-gradient(circle at 88% 10%, rgba(216, 180, 95, 0.12), transparent 28%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.76fr;
  gap: 18px;
}

.glass-card {
  border-radius: 28px;
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
}

.glass-card.wide {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.glass-card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
  line-height: 1.76;
}

.glass-card p:last-child {
  margin-bottom: 0;
}

.about-photo {
  flex: 1;
  min-height: 300px;
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.04);
}

.mission span {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-soft);
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.image-card {
  overflow: hidden;
  border-radius: 28px;
  min-height: 300px;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.programs-shell {
  position: relative;
  padding: clamp(78px, 10vw, 142px) clamp(18px, 6vw, 88px);
  background:
    radial-gradient(circle at 50% 18%, rgba(216, 180, 95, 0.2), transparent 26%),
    linear-gradient(180deg, #07152d, var(--navy-950));
  color: var(--white);
}

.program-experience {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1220px;
  margin: 0 auto;
  border-radius: 38px;
  padding: clamp(18px, 3vw, 34px);
  overflow: hidden;
}

.program-art {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(300px, 0.7fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
  min-height: 640px;
  overflow: hidden;
}

.program-map {
  position: relative;
  min-height: 570px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.18), transparent 22%),
    radial-gradient(circle at 30% 44%, rgba(216, 180, 95, 0.22), transparent 24%),
    radial-gradient(circle at 72% 58%, rgba(23, 58, 117, 0.3), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.program-map::before {
  content: "";
  position: absolute;
  inset: 18% 13%;
  border: 36px solid rgba(255, 255, 255, 0.13);
  border-radius: 46%;
  filter: drop-shadow(0 32px 40px rgba(0, 0, 0, 0.24));
}

.wing-center {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 142px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.32));
  opacity: 0.92;
}

.program-node {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  width: clamp(78px, 8.5vw, 118px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: clamp(2.35rem, 4.4vw, 4.25rem);
  font-weight: 950;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 28px 44px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.program-node:hover,
.program-node.active {
  transform: translate(-50%, -50%) translateY(-8px) scale(1.08);
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.44), transparent 28%),
    linear-gradient(145deg, var(--gold-soft), var(--gold));
  color: var(--navy-950);
  box-shadow:
    0 0 0 14px rgba(216, 180, 95, 0.1),
    0 30px 66px rgba(169, 120, 7, 0.36);
}

.program-node-small {
  font-size: clamp(1.65rem, 3vw, 3.25rem);
}

.program-detail {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(5, 15, 34, 0.34);
  color: var(--white);
  overflow: hidden;
}

.program-detail::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(216, 180, 95, 0.2), transparent 68%);
  pointer-events: none;
}

.program-detail h3 {
  margin-bottom: 4px;
  color: var(--gold-soft);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.program-detail strong {
  display: block;
  margin-bottom: 22px;
  font-size: 1.2rem;
}

.program-detail p,
.program-detail li {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.68;
}

.program-detail ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding-left: 20px;
}

.requirements {
  background:
    radial-gradient(circle at 8% 20%, rgba(216, 180, 95, 0.14), transparent 28%),
    var(--navy-950);
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.requirement-grid .glass-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.requirement-grid span {
  color: var(--gold-soft);
  font-size: 3.4rem;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.requirement-grid h3 {
  margin-bottom: 0;
}

.gallery {
  background:
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-rows: 240px;
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.gallery-grid img:first-child {
  grid-row: span 2;
}

.gallery-grid img:last-child {
  grid-column: span 2;
}

.contact {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  padding: clamp(78px, 10vw, 142px) clamp(18px, 6vw, 88px);
  background:
    radial-gradient(circle at 90% 12%, rgba(216, 180, 95, 0.18), transparent 30%),
    linear-gradient(180deg, var(--navy-900), #020713);
  color: var(--white);
}

.contact-copy {
  align-self: center;
}

.lead-form {
  display: grid;
  gap: 16px;
  border-radius: 34px;
  padding: clamp(24px, 4vw, 38px);
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 850;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 15px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font: inherit;
  outline: none;
}

.lead-form select option {
  color: var(--ink);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.48);
}

.lead-form textarea {
  resize: vertical;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto 1fr;
  }

  .topbar nav {
    display: none;
  }

  .nav-action {
    justify-self: end;
  }

  .hero,
  .about-grid,
  .program-art,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-device {
    max-width: 560px;
    margin: 0 auto;
  }

  .hero-device img {
    aspect-ratio: 1.08;
    transform: rotateY(0) rotateX(0);
  }

  .status-strip {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: auto;
    margin-top: -54px;
    margin-inline: 18px;
  }

  .program-art {
    min-height: auto;
  }

  .program-map {
    min-height: 540px;
  }

  .requirement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid img:first-child,
  .gallery-grid img:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 620px) {
  .topbar {
    top: 10px;
    width: calc(100% - 18px);
  }

  .brand {
    width: 112px;
    height: 48px;
  }

  .brand img {
    width: 94px;
  }

  .nav-action {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.82rem;
  }

  .hero {
    padding: 114px 14px 52px;
  }

  h1 {
    font-size: 3.6rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-copy,
  .program-detail,
  .lead-form {
    border-radius: 24px;
  }

  .program-art {
    border-radius: 24px;
  }

  .program-map {
    min-height: 460px;
  }

  .program-map::before {
    border-width: 24px;
  }

  .wing-center {
    width: 90px;
  }

  .program-node {
    width: 72px;
    font-size: 2.4rem;
  }

  .requirement-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img:first-child,
  .gallery-grid img:last-child {
    grid-column: auto;
  }
}
