:root {
  color-scheme: dark;
  --bg: #020713;
  --bg-soft: #071323;
  --panel: rgba(9, 23, 42, 0.78);
  --panel-strong: rgba(12, 31, 54, 0.92);
  --text: #eef7ff;
  --muted: #a6bbcf;
  --line: rgba(124, 204, 255, 0.22);
  --hud-line: rgba(118, 189, 232, 0.44);
  --hud-panel: rgba(4, 15, 28, 0.78);
  --hud-panel-soft: rgba(6, 26, 46, 0.58);
  --cyan: #55d9ff;
  --blue: #2e7dff;
  --gold: #f6c65b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --space-drift: 0px;
  --scroll-progress: 0;
}

* {
  box-sizing: border-box;
}

*::selection {
  color: #03101e;
  background: var(--gold);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(110deg, rgba(2, 7, 19, 0.62), rgba(2, 7, 19, 0.18) 48%, rgba(2, 7, 19, 0.68)),
    radial-gradient(circle at 20% 10%, rgba(46, 125, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 80% 0%, rgba(246, 198, 91, 0.14), transparent 26rem);
  background-position:
    center,
    20% calc(10% + var(--space-drift)),
    80% calc(0% + var(--space-drift));
  background-size: cover, auto, auto;
  background-repeat: no-repeat;
  background-attachment: scroll;
  overflow-x: hidden;
}

body::before {
  display: none;
}

body::after {
  display: none;
}

body.is-scrolling::after {
  opacity: 0;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 10px;
  z-index: 30;
  pointer-events: none;
  border: 1px solid rgba(118, 189, 232, 0.2);
  clip-path: polygon(
    0 0,
    170px 0,
    170px 1px,
    calc(100% - 170px) 1px,
    calc(100% - 170px) 0,
    100% 0,
    100% 120px,
    calc(100% - 1px) 120px,
    calc(100% - 1px) calc(100% - 120px),
    100% calc(100% - 120px),
    100% 100%,
    calc(100% - 170px) 100%,
    calc(100% - 170px) calc(100% - 1px),
    170px calc(100% - 1px),
    170px 100%,
    0 100%,
    0 calc(100% - 120px),
    1px calc(100% - 120px),
    1px 120px,
    0 120px
  );
  box-shadow: inset 0 0 52px rgba(85, 217, 255, 0.08);
}

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

.site-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1180px, calc(100% - 28px));
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  padding: 10px 18px;
  border: 1px solid var(--hud-line);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(8, 34, 58, 0.88), rgba(2, 7, 19, 0.76) 46%, rgba(8, 34, 58, 0.88)),
    rgba(2, 7, 19, 0.68);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28), inset 0 0 24px rgba(85, 217, 255, 0.06);
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px);
  transform: translateX(-50%);
  transition: background 180ms ease, border-color 180ms ease;
}

.topbar::before {
  content: "GREEKSA COMMAND INTERFACE";
  position: absolute;
  top: 5px;
  left: 50%;
  color: rgba(246, 198, 91, 0.9);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.topbar::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 8px;
  left: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 217, 255, 0.52), rgba(246, 198, 91, 0.45), transparent);
}

.topbar.is-scrolled {
  background: rgba(2, 7, 19, 0.9);
  border-color: rgba(85, 217, 255, 0.36);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34), 0 0 32px rgba(85, 217, 255, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-right: 18px;
  border-right: 1px solid rgba(85, 217, 255, 0.18);
}

.brand__mark {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(85, 217, 255, 0.32);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(85, 217, 255, 0.16);
}

.brand strong,
h1,
h2,
h3,
.eyebrow,
.button {
  letter-spacing: 0.02em;
}

.brand strong,
h1,
h2 {
  font-family: "Orbitron", "Inter", sans-serif;
}

.brand strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  position: absolute;
  top: 54%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, -50%);
}

.nav a {
  position: relative;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 0;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.76rem;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.nav a:hover {
  color: var(--text);
  border-color: rgba(85, 217, 255, 0.22);
  background: linear-gradient(180deg, rgba(85, 217, 255, 0.16), rgba(85, 217, 255, 0.04));
  box-shadow: inset 0 -2px 0 var(--gold);
  transform: translateY(-1px);
}

.nav__tab {
  border: 1px solid rgba(246, 198, 91, 0.38);
  color: var(--text) !important;
  background: linear-gradient(135deg, rgba(246, 198, 91, 0.2), rgba(85, 217, 255, 0.1));
  box-shadow: 0 0 26px rgba(246, 198, 91, 0.12);
}

.nav__tab:hover {
  box-shadow: 0 0 34px rgba(246, 198, 91, 0.24);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(85, 217, 255, 0.08);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1fr;
  align-content: center;
  align-items: center;
  justify-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 118px 16px 86px;
  gap: 26px;
  text-align: center;
  overflow: hidden;
  z-index: 0;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  top: 104px;
  left: 50%;
  width: min(760px, 76vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 217, 255, 0.62), rgba(246, 198, 91, 0.44), transparent);
  transform: translateX(-50%);
  animation: hud-scan 3.8s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  right: 4%;
  bottom: 8%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(85, 217, 255, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(85, 217, 255, 0.08), transparent 62%);
  z-index: 1;
}

.hero-deck {
  --hero-deck-toggle: 48px;
  position: absolute;
  top: 50%;
  bottom: auto;
  z-index: 4;
  width: clamp(300px, 36vw, 440px);
  max-width: min(440px, calc(50vw - 20px));
  pointer-events: none;
  transform: translateY(-50%);
}

.hero-deck > * {
  pointer-events: auto;
}

.hero-deck--left {
  left: max(10px, env(safe-area-inset-left, 0));
}

.hero-deck--right {
  right: max(10px, env(safe-area-inset-right, 0));
}

.hero-deck__rail {
  display: flex;
  align-items: stretch;
  height: auto;
  max-height: min(82vh, 720px);
  transition: transform 440ms cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-deck--left .hero-deck__rail {
  flex-direction: row;
}

.hero-deck--right .hero-deck__rail {
  flex-direction: row-reverse;
}

.hero-deck--left.is-collapsed .hero-deck__rail {
  transform: translateX(calc(-100% + var(--hero-deck-toggle)));
}

.hero-deck--right.is-collapsed .hero-deck__rail {
  transform: translateX(calc(100% - var(--hero-deck-toggle)));
}

.hero-deck__body {
  flex: 0 1 auto;
  display: flex;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(85, 217, 255, 0.28);
  border-radius: 0 14px 14px 0;
  background:
    linear-gradient(155deg, rgba(8, 40, 70, 0.58), rgba(2, 10, 24, 0.82)),
    rgba(3, 12, 25, 0.66);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4), inset 0 0 22px rgba(85, 217, 255, 0.05);
}

.hero-deck--right .hero-deck__body {
  border-radius: 14px 0 0 14px;
}

.hero-deck__emblem {
  align-self: center;
  flex-shrink: 0;
  overflow: hidden;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(246, 198, 91, 0.32);
  background: radial-gradient(circle at 30% 30%, rgba(85, 217, 255, 0.12), transparent 62%);
  box-shadow: 0 0 18px rgba(85, 217, 255, 0.12);
}

.hero-deck__emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-deck__title {
  margin: 0 !important;
  flex-shrink: 0;
  color: var(--text);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 1.28rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.hero-deck__tag {
  margin: -4px 0 2px !important;
  flex-shrink: 0;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  clip-path: none !important;
  color: var(--gold) !important;
  font-family: "Orbitron", "Inter", sans-serif !important;
  font-size: 0.74rem !important;
  font-weight: 800;
  letter-spacing: 0.06em !important;
  line-height: 1.35 !important;
  text-align: center;
  text-transform: uppercase !important;
}

.hero-deck__copy {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(48vh, 420px);
  margin: 0;
  padding-right: 6px;
  overflow-y: auto;
  border: none;
  background: none;
  box-shadow: none;
  text-align: left;
  scrollbar-color: rgba(85, 217, 255, 0.35) rgba(2, 7, 19, 0.4);
}

.hero-deck__copy p {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
  clip-path: none !important;
  color: rgba(248, 251, 255, 0.95) !important;
  font-size: clamp(0.84rem, 1.15vw + 0.55rem, 0.98rem) !important;
  font-weight: 500;
  letter-spacing: 0 !important;
  line-height: 1.62 !important;
  text-transform: none !important;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.hero-deck__link {
  flex-shrink: 0;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(246, 198, 91, 0.35);
  border-radius: 10px;
  background: rgba(2, 7, 19, 0.45);
  color: rgba(246, 198, 91, 0.95);
  font-size: 0.74rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.05em !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase !important;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.hero-deck__link:hover,
.hero-deck__link:focus-visible {
  border-color: rgba(85, 217, 255, 0.45);
  box-shadow: 0 0 18px rgba(85, 217, 255, 0.15);
  color: var(--text);
  outline: none;
}

.hero-deck__toggle {
  display: grid;
  place-items: center;
  width: var(--hero-deck-toggle);
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(246, 198, 91, 0.38);
  color: rgba(246, 198, 91, 0.95);
  background: rgba(2, 7, 19, 0.86);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 1.42rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.hero-deck__toggle-icon {
  display: block;
  transition: transform 320ms cubic-bezier(0.19, 1, 0.22, 1);
}

.hero-deck--left .hero-deck__toggle {
  border-left: none;
  border-radius: 0 10px 10px 0;
}

.hero-deck--left.is-collapsed .hero-deck__toggle-icon {
  transform: scaleX(-1);
}

.hero-deck--right .hero-deck__toggle {
  border-right: none;
  border-radius: 10px 0 0 10px;
}

.hero-deck--right.is-collapsed .hero-deck__toggle-icon {
  transform: scaleX(-1);
}

.hero-deck__toggle:hover,
.hero-deck__toggle:focus-visible {
  border-color: rgba(85, 217, 255, 0.45);
  background: rgba(8, 40, 70, 0.65);
  color: var(--text);
  outline: none;
}

@media (max-width: 900px) {
  .hero-deck {
    width: clamp(260px, 44vw, 360px);
    max-width: calc(50vw - 14px);
    --hero-deck-toggle: 44px;
  }

  .hero-deck__body {
    padding: 14px;
    gap: 8px;
  }

  .hero-deck__copy {
    max-height: min(44vh, 320px);
  }

  .hero-deck__copy p {
    font-size: 0.82rem !important;
    line-height: 1.58 !important;
  }

  .hero-deck__emblem {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 640px) {
  .hero-deck {
    display: none;
  }
}

.hero__stars {
  position: absolute;
  z-index: 1;
  inset: 12% -10% auto auto;
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(85, 217, 255, 0.28), transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(85, 217, 255, 0.2), transparent 52%);
  opacity: 0.35;
  animation: rotate-grid 30s linear infinite;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background: #020713;
}

.hero__video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 7, 19, 0.2), rgba(2, 7, 19, 0.62)),
    linear-gradient(90deg, rgba(2, 7, 19, 0.68), rgba(2, 7, 19, 0.18) 50%, rgba(2, 7, 19, 0.68)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 8px);
  opacity: 1;
  z-index: 1;
}

.hero__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__phrases {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 2px;
  column-gap: clamp(10px, 2vw, 40px);
  width: calc(100% - 24px);
  max-width: min(1400px, 100vw - 24px);
  margin: 0 auto;
  padding: 10px 8px;
  border: none;
  background: none;
  box-shadow: none;
  clip-path: none;
  overflow-x: hidden;
  overflow-y: visible;
}

.hero__unity-line {
  flex-basis: 100%;
  width: 100%;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  color: rgba(238, 247, 255, 0.96) !important;
  font-size: clamp(0.72rem, 1.3vw + 0.42rem, 1.28rem) !important;
  letter-spacing: 0.08em !important;
}

.hero__phrases p {
  margin: 0;
  flex-shrink: 0;
  text-align: center;
  white-space: nowrap;
  color: rgba(238, 247, 255, 0.88);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: clamp(0.58rem, 1.1vw + 0.42rem, 1.05rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.hero__phrases strong {
  color: var(--gold);
  font-weight: 800;
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 28px clamp(16px, 3vw, 42px);
  border-top: 1px solid rgba(85, 217, 255, 0.22);
  border-bottom: 1px solid rgba(85, 217, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(2, 7, 19, 0.2), rgba(2, 7, 19, 0.42) 50%, rgba(2, 7, 19, 0.2)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(85, 217, 255, 0.035) 34px 35px);
}

.hero__content::before,
.hero__content::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(980px, 86vw);
  height: 1px;
  pointer-events: none;
  transform: translateX(-50%);
}

.hero__content::before {
  top: -1px;
  background: linear-gradient(90deg, transparent, rgba(85, 217, 255, 0.88), rgba(246, 198, 91, 0.62), transparent);
}

.hero__content::after {
  bottom: -1px;
  background: linear-gradient(90deg, transparent, rgba(246, 198, 91, 0.58), rgba(85, 217, 255, 0.48), transparent);
}

#mission.section--visual {
  min-height: auto;
  padding: 120px clamp(14px, 4vw, 48px);
  border-top: none;
  border-bottom: none;
}

#mission.section--visual::before {
  left: clamp(14px, 4vw, 48px);
}

#mission {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  min-height: auto;
}

#mission > * {
  min-width: 0;
}

#mission .mission-intro {
  align-self: stretch;
  flex: 0 1 auto;
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: clamp(26px, 4vw, 48px) clamp(16px, 4vw, 54px);
  text-align: center;
}

#mission .mission-intro .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

#mission .mission-intro h2 {
  width: 100%;
  max-width: none;
  margin: 0 auto 28px;
  font-size: clamp(2.1rem, 5.4vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(85, 217, 255, 0.14), 0 5px 26px rgba(0, 0, 0, 0.55);
}

#mission .mission-intro .hero__lead {
  box-sizing: border-box;
  max-width: none;
  width: 100%;
  margin-top: 4px;
  margin-right: 0;
  margin-left: 0;
  padding-inline: clamp(8px, 1.4vw, 16px);
  text-align: center;
}

#mission .mission-intro .hero__lead p {
  margin-bottom: 0.9rem;
}

#mission .mission-intro .hero__lead p:last-child {
  margin-bottom: 0;
}

#mission .mission-intro.hero__content {
  border: none;
  background: transparent;
  box-shadow: none;
}

#mission .mission-intro.hero__content::before,
#mission .mission-intro.hero__content::after {
  display: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border: 1px solid rgba(246, 198, 91, 0.22);
  background: rgba(2, 7, 19, 0.5);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4cff6a;
  box-shadow: 0 0 14px rgba(76, 255, 106, 0.9);
}

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

h1 {
  max-width: none;
  margin: 0 auto 28px;
  font-size: clamp(2rem, 5.2vw, 4.7rem);
  line-height: 0.94;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(85, 217, 255, 0.14), 0 5px 26px rgba(0, 0, 0, 0.55);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.hero__lead {
  max-width: min(1120px, 94vw);
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
  clip-path: none;
  color: rgba(238, 247, 255, 0.92);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
}

p.hero__lead,
.hero__lead p {
  margin-bottom: 0.85rem;
  color: rgba(238, 247, 255, 0.9);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero__slogan-note,
.section__copy,
.section-heading,
.card,
.value,
.join {
  border: 1px solid rgba(85, 217, 255, 0.16);
  background:
    linear-gradient(135deg, rgba(8, 34, 58, 0.5), rgba(2, 7, 19, 0.32)),
    rgba(2, 7, 19, 0.22);
  box-shadow: inset 0 0 28px rgba(85, 217, 255, 0.04), 0 22px 56px rgba(0, 0, 0, 0.24);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px);
}

.hero__slogan-note,
.section__copy,
.section-heading {
  padding: 18px 22px;
  border-radius: 0;
}

.hero__actions,
.join__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__actions {
  justify-content: center;
}

.hero__slogan {
  position: relative;
  display: inline-block;
  margin: 34px 0 0;
  color: var(--gold);
  font-family: "GFS Didot", Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 3.6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.07em;
  line-height: 1;
  text-shadow: 0 0 26px rgba(246, 198, 91, 0.34), 0 2px 18px rgba(0, 0, 0, 0.45);
  transform: rotate(-1.5deg);
}

.hero__slogan::after {
  content: "";
  position: absolute;
  right: 5%;
  bottom: -12px;
  width: 72%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(246, 198, 91, 0.82), transparent);
  box-shadow: 0 0 18px rgba(246, 198, 91, 0.4);
}

.hero__slogan-note {
  max-width: 920px;
  margin: 28px auto 0;
  color: rgba(238, 247, 255, 0.78);
  font-size: clamp(0.78rem, 1.15vw, 0.95rem);
  line-height: 1.62;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.62);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #03101e;
  background: linear-gradient(135deg, var(--cyan), var(--gold));
  box-shadow: 0 12px 34px rgba(85, 217, 255, 0.2);
}

.button--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button--ghost:hover {
  border-color: rgba(85, 217, 255, 0.48);
  background: rgba(85, 217, 255, 0.1);
}

.hero-card,
.card,
.value,
.join {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, var(--panel-strong), rgba(3, 12, 25, 0.78));
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 30px;
  border-radius: var(--radius);
}

.hero-card__emblem {
  display: block;
  width: 150px;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 28px rgba(85, 217, 255, 0.24));
  animation: command-float 7s ease-in-out infinite;
}

.hero-card__motto {
  color: var(--gold);
  font-weight: 800;
  text-align: center;
}

.hero-card h2,
.hero-card p {
  text-align: center;
}

.hero-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 26px;
}

.hero-card__stats span {
  padding: 14px 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.hero-card__stats strong {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.section,
.join,
.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 96px 0;
}

.section--visual {
  width: 100%;
  min-height: 100vh;
  padding: 120px max(16px, calc((100vw - 1120px) / 2));
  overflow: hidden;
  isolation: isolate;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 1px solid rgba(85, 217, 255, 0.18);
  border-bottom: 1px solid rgba(85, 217, 255, 0.18);
}

.section--visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 7, 19, 0.78), rgba(2, 7, 19, 0.38) 50%, rgba(2, 7, 19, 0.78)),
    linear-gradient(180deg, rgba(2, 7, 19, 0.36), rgba(2, 7, 19, 0.74));
}

.section--visual::before {
  content: "UEE // GREEKSA ARCHIVE";
  position: absolute;
  top: 24px;
  left: max(16px, calc((100vw - 1120px) / 2));
  z-index: 1;
  padding: 7px 12px;
  border: 1px solid rgba(85, 217, 255, 0.22);
  color: rgba(238, 247, 255, 0.62);
  background: rgba(2, 7, 19, 0.54);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section--visual > * {
  position: relative;
  z-index: 1;
}

.section--station {
  background-image: url("assets/space-station-background.png");
}

.section--hangar {
  background-image: url("assets/hangar-sunset.png");
}

.section--pilots {
  background-image: url("assets/pilot-lineup.png");
}

.section:not(.section--visual)::before {
  content: "";
  position: absolute;
  top: 54px;
  left: 0;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, rgba(85, 217, 255, 0.65), transparent);
  opacity: 0.65;
  transform: translateX(calc(var(--scroll-progress) * 120px));
}

.section-heading {
  max-width: 760px;
}

.section-heading {
  margin-bottom: 34px;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.focus-grid span {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(85, 217, 255, 0.07);
  font-weight: 800;
}

.team-section {
  position: relative;
  overflow: hidden;
  width: min(1120px, calc(100% - 32px));
  padding-top: 110px;
}

.team-section::before {
  content: "";
  position: absolute;
  top: 72px;
  right: 0;
  width: min(420px, 46vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246, 198, 91, 0.7), rgba(85, 217, 255, 0.2));
}

.team-section .section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.team-section .section-heading .eyebrow {
  margin-right: auto;
  margin-left: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.team-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--hud-line);
  border-radius: 18px;
  background: var(--hud-panel);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42), inset 0 0 34px rgba(85, 217, 255, 0.06);
}

.team-frame::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 2;
  border: 1px solid rgba(238, 247, 255, 0.12);
  border-radius: 12px;
  pointer-events: none;
}

.team-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 420ms ease, opacity 420ms ease;
}

.team-frame:hover img {
  opacity: 1;
  transform: scale(1.045);
}

.team-frame__meta {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  padding: 16px;
  border: 1px solid rgba(85, 217, 255, 0.22);
  border-radius: 12px;
  background: rgba(2, 7, 19, 0.76);
}

.team-frame__meta span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-frame__meta h3 {
  margin-bottom: 6px;
}

.team-frame__meta p {
  margin-bottom: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

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

#operations {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 36px;
  align-items: center;
}

#operations .section-heading {
  max-width: none;
  margin: 0 0 34px;
  padding: 34px;
  border-color: rgba(85, 217, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(7, 39, 66, 0.72), rgba(3, 15, 30, 0.84)),
    rgba(2, 7, 19, 0.74);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.42), inset 0 0 34px rgba(85, 217, 255, 0.08);
}

#operations .section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 3.2rem);
}

#operations .section-heading p {
  font-size: 0.95rem;
}

#operations .cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
}

#operations .card {
  min-height: 230px;
  padding: 58px 28px 28px;
  border-color: rgba(238, 247, 255, 0.3);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(12, 30, 51, 0.62), rgba(3, 12, 25, 0.78)),
    rgba(2, 7, 19, 0.66);
  clip-path: none;
}

#operations .card__icon {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 32px;
  margin: 0;
  border: 1px solid rgba(246, 198, 91, 0.46);
  border-radius: 8px;
  color: #172638;
  background: linear-gradient(180deg, #ffd764, #d2a52f);
  box-shadow: 0 0 24px rgba(246, 198, 91, 0.18);
  font-size: 0.82rem;
}

#operations .card h3 {
  margin-top: 8px;
}

.card,
.value {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  border-radius: 24px;
}

.card::after,
.value::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 38%, rgba(85, 217, 255, 0.12) 50%, transparent 62% 100%);
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 220ms ease, transform 700ms ease;
  pointer-events: none;
}

.card:hover::after,
.value:hover::after {
  opacity: 1;
  transform: translateX(50%);
}

.card__icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(246, 198, 91, 0.34);
  border-radius: 16px;
  color: var(--gold);
  font-family: "Orbitron", sans-serif;
  font-weight: 800;
}

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

.value {
  min-height: 180px;
}

.join {
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.application-terminal {
  width: 100%;
  min-height: 78vh;
  padding: 36px max(20px, calc((100vw - 1120px) / 2));
  border-top: 1px solid rgba(85, 217, 255, 0.22);
  border-bottom: 1px solid rgba(85, 217, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(2, 7, 19, 0.34), rgba(2, 7, 19, 0.86)),
    linear-gradient(90deg, rgba(2, 7, 19, 0.82), rgba(2, 7, 19, 0.28), rgba(2, 7, 19, 0.82)),
    url("assets/hangar-sunset.png") center / cover no-repeat;
  isolation: isolate;
}

.application-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 48%, rgba(85, 217, 255, 0.1), transparent 22rem),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 7px);
  opacity: 0.45;
}

.application-terminal::after {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: 0;
  border: 1px solid rgba(118, 189, 232, 0.2);
  pointer-events: none;
  clip-path: polygon(0 0, 160px 0, 160px 1px, calc(100% - 160px) 1px, calc(100% - 160px) 0, 100% 0, 100% 100%, calc(100% - 160px) 100%, calc(100% - 160px) calc(100% - 1px), 160px calc(100% - 1px), 160px 100%, 0 100%);
}

.application-terminal > * {
  position: relative;
  z-index: 1;
}

.application-terminal__content {
  display: grid;
  min-height: 48vh;
  place-items: center;
  align-content: center;
  gap: 22px;
  text-align: center;
}

.application-terminal__notice {
  max-width: 460px;
  margin: 0;
  color: rgba(166, 187, 207, 0.9);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.application-terminal__button {
  display: inline-flex;
  min-width: min(430px, calc(100vw - 56px));
  min-height: 86px;
  align-items: center;
  justify-content: center;
  border: 6px solid rgba(238, 247, 255, 0.22);
  border-radius: 999px;
  color: #183245;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.26) 0 2px, transparent 2px 8px),
    linear-gradient(180deg, #f5fbff, #a9c5d6);
  box-shadow: 0 0 0 2px rgba(85, 217, 255, 0.28), 0 20px 55px rgba(0, 0, 0, 0.48);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.application-terminal__button:hover {
  box-shadow: 0 0 0 2px rgba(246, 198, 91, 0.48), 0 20px 60px rgba(85, 217, 255, 0.18);
  transform: translateY(-2px) scale(1.015);
}

.application-terminal__apply {
  color: rgba(238, 247, 255, 0.86);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.application-terminal__apply::before {
  content: "↻";
  display: block;
  color: var(--cyan);
  font-size: 1.5rem;
  line-height: 1;
}

.application-terminal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  min-height: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(166, 187, 207, 0.58);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.application-terminal__footer strong {
  color: #4cff6a;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 42px 0;
  color: var(--muted);
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
}

.footer a {
  color: var(--cyan);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.department-stage {
  display: none;
  overflow: visible;
  padding-top: clamp(36px, 7vh, 84px);
  padding-bottom: clamp(36px, 7vh, 84px);
  background:
    radial-gradient(ellipse 120% 80% at 50% 20%, rgba(46, 125, 255, 0.1), transparent 55%),
    linear-gradient(180deg, rgba(2, 7, 19, 0.22), rgba(2, 7, 19, 0.62));
}

.department-stage__list {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 6vh, 68px);
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 0 clamp(12px, 3vw, 20px);
}

.department-slide-card {
  position: relative;
  display: grid;
  grid-template-columns: clamp(76px, 12vw, 104px) minmax(0, 1fr);
  gap: clamp(14px, 2.8vw, 28px);
  align-items: start;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(85, 217, 255, 0.22);
  border-radius: 20px;
  background:
    linear-gradient(155deg, rgba(8, 40, 70, 0.55), rgba(2, 10, 24, 0.78)),
    rgba(3, 12, 25, 0.58);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.32), inset 0 0 32px rgba(85, 217, 255, 0.05);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}

.department-slide-card__emblem {
  position: relative;
  overflow: hidden;
  width: clamp(76px, 12vw, 104px);
  height: clamp(76px, 12vw, 104px);
  border-radius: 50%;
  border: 1px solid rgba(246, 198, 91, 0.28);
  background: radial-gradient(circle at 30% 30%, rgba(85, 217, 255, 0.12), transparent 62%);
  box-shadow: 0 0 24px rgba(85, 217, 255, 0.12), inset 0 0 20px rgba(2, 7, 19, 0.28);
}

.department-slide-card__emblem img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.department-slide-card__body h3 {
  margin-bottom: 6px;
  color: var(--text);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: clamp(1.25rem, 2.8vw, 1.72rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(85, 217, 255, 0.12);
}

.department-slide-card__tagline {
  margin: 0 0 16px !important;
  color: var(--gold);
  font-family: "Orbitron", "Inter", sans-serif;
  font-size: 0.78rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4 !important;
  text-transform: uppercase;
}

.department-slide-card__text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.72;
}

.dept-slide-scope {
  overflow: visible;
}

.dept-slide-scope .department-slide-card {
  opacity: 0;
  pointer-events: none;
  will-change: opacity, transform, filter;
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 920ms cubic-bezier(0.19, 1, 0.22, 1),
    filter 700ms ease;
  filter: saturate(0.7);
  transform: translateX(-105vw) scale(0.96);
}

.dept-slide-scope--from-right .department-slide-card {
  transform: translateX(105vw) scale(0.96);
}

.dept-slide-scope.is-visible .department-slide-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  filter: saturate(1);
}

@media (max-width: 700px) {
  .department-slide-card {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
    clip-path: none;
  }

  .department-slide-card__body {
    align-self: stretch;
    text-align: center;
  }

  .department-slide-card__text p {
    text-align: inherit;
  }

  .dept-slide-scope .department-slide-card {
    transform: translateX(-105vw) scale(0.96);
  }

  .dept-slide-scope--from-right .department-slide-card {
    transform: translateX(105vw) scale(0.96);
  }
}

.department-slide-card:focus-within {
  border-color: rgba(246, 198, 91, 0.35);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.36), 0 0 28px rgba(85, 217, 255, 0.1);
}

.reveal {
  opacity: 0;
  transform: translateY(44px) scale(0.98);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.16, 1, 0.3, 1), filter 760ms ease;
  filter: saturate(0.72);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: saturate(1);
}

@keyframes command-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes hud-scan {
  0%,
  100% {
    opacity: 0.28;
    transform: translateX(-50%) scaleX(0.5);
  }

  50% {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }
}

@keyframes rotate-grid {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: auto;
    right: 0;
    display: none;
    width: min(320px, calc(100vw - 32px));
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(2, 7, 19, 0.96);
    transform: none;
  }

  .nav.is-open {
    display: flex;
  }

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

  .hero {
    padding-top: 130px;
  }

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

  #operations {
    grid-template-columns: 1fr;
  }

  #operations .section-heading,
  #operations .cards {
    margin-top: 0;
  }

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

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

  .team-frame,
  .team-frame img {
    min-height: 360px;
  }

  .application-terminal__footer {
    justify-content: center;
    text-align: center;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .topbar {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px;
  }

  .brand small {
    display: none;
  }

  .hero-card__stats,
  .cards,
  .team-grid,
  .values__grid,
  .focus-grid {
    grid-template-columns: 1fr;
  }

  #operations .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    width: 100%;
  }

  .section,
  .join,
  .footer {
    width: min(100% - 24px, 1120px);
  }

  .section {
    padding: 70px 0;
  }

  .section--visual {
    width: 100%;
    padding: 80px 24px;
  }

  #mission.section--visual {
    padding: 56px clamp(12px, 4vw, 28px);
  }

  #mission {
    min-height: auto;
  }

  .join {
    padding: 34px 24px;
  }

  .application-terminal {
    padding: 34px 18px;
  }

  .button {
    width: 100%;
  }
}
