/* Global shell, compass navigation, and cinematic page framing. */
#aether-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 3rem);
  background: linear-gradient(180deg, rgba(3, 6, 12, 0.86), rgba(3, 6, 12, 0.26));
  border-bottom: 1px solid rgba(220, 231, 242, 0.1);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-bright);
  border-radius: 50%;
  color: var(--gold);
  box-shadow: 0 0 28px rgba(139, 223, 255, 0.18);
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.03rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-sub {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--silver);
  border-radius: var(--radius);
}

.aether-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.aether-nav a,
.aether-nav button {
  position: relative;
  padding: 0.55rem 0.7rem;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  border: 0;
  background: transparent;
}

.aether-nav a:hover,
.aether-nav button:hover,
.aether-nav a[aria-current="page"] {
  color: var(--silver);
}

.nav-form {
  margin: 0;
}

.aether-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.25rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
}

.page {
  padding-top: 74px;
}

.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--space-6) clamp(1rem, 4vw, 2rem);
}

.section-wide {
  max-width: none;
  padding-left: clamp(1rem, 4vw, 4rem);
  padding-right: clamp(1rem, 4vw, 4rem);
}

.section-kicker {
  color: var(--cyan);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-title {
  margin: 0.35rem 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.section-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.06);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 67% 42%, rgba(139, 223, 255, 0.05), transparent 20rem),
    linear-gradient(90deg, rgba(3, 5, 10, 0.82), rgba(3, 5, 10, 0.28) 48%, rgba(3, 5, 10, 0.72)),
    linear-gradient(180deg, transparent 54%, var(--ink) 96%);
}

.hero-content {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) 11vh;
}

.hero h1,
.page-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 10vw, 7.8rem);
  line-height: 0.92;
  text-shadow: 0 12px 45px rgba(0, 0, 0, 0.72);
}

.hero p,
.page-hero p {
  max-width: 650px;
  margin: 1.3rem 0 0;
  color: #d6e6f7;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.hero-status {
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 2.3rem;
  border: 1px solid var(--line);
  background: var(--line);
}

.page-hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 9rem clamp(1rem, 4vw, 4rem) 4rem;
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.28), var(--ink)),
    var(--page-image, none) center / cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 5, 10, 0.84), rgba(3, 5, 10, 0.3), rgba(3, 5, 10, 0.86));
}

.page-hero > * {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(3, 5, 10, 0.86);
  padding: 2rem clamp(1rem, 4vw, 3rem);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
