:root {
  --bg: #05080d;
  --panel: #0b1017;
  --text: #f4f7fb;
  --muted: rgba(244, 247, 251, .72);
  --soft: rgba(244, 247, 251, .48);
  --cyan: #52f7ff;
  --amber: #ffb74d;
  --line: rgba(255, 255, 255, .16);
  --glass: rgba(2, 5, 9, .68);
  --max: 1180px;
  --header: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  gap: 16px;
  background: #03060a;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.page-loader span {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(82, 247, 255, .15);
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin .9s linear infinite;
}
.page-loader p {
  margin-top: 74px;
  color: var(--soft);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}
body.ready .page-loader { opacity: 0; visibility: hidden; }
@keyframes spin { to { transform: rotate(1turn); } }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(0,0,0,.68), rgba(0,0,0,0));
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 12px; letter-spacing: .02em; }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(82, 247, 255, .35);
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, rgba(82,247,255,.12), rgba(255,183,77,.1));
  box-shadow: 0 0 28px rgba(82, 247, 255, .12);
}
.brand-copy { display: grid; line-height: 1; text-transform: uppercase; }
.brand-copy strong { font-size: 13px; letter-spacing: .12em; }
.brand-copy small { margin-top: 4px; color: var(--soft); font-size: 10px; letter-spacing: .28em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.desktop-nav a {
  position: relative;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.desktop-nav a:hover::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 85;
  width: min(390px, 88vw);
  padding: 110px 30px 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  background: rgba(3, 6, 10, .94);
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform .45s var(--ease);
  backdrop-filter: blur(18px);
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel a { font-size: 18px; font-weight: 750; color: var(--muted); }
.mobile-panel a:hover { color: var(--text); }

.section-dots {
  position: fixed;
  right: clamp(16px, 2vw, 32px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section-dots a {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255,255,255,.34);
  transition: .3s var(--ease);
}
.section-dots a.active { height: 34px; background: var(--cyan); box-shadow: 0 0 18px rgba(82,247,255,.5); }
.section-dots span {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  color: var(--soft);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: .25s var(--ease);
}
.section-dots a:hover span { opacity: 1; }

.snap-shell { min-height: 100vh; }
.panel {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header) + 44px) clamp(22px, 5vw, 72px) clamp(42px, 7vh, 96px);
}
.media-bg {
  position: absolute;
  inset: 0;
  z-index: -4;
  background-image: var(--bg);
  background-position: center;
  background-size: cover;
  transform: scale(1.03);
  filter: saturate(1.02) contrast(1.02);
  transition: transform 1.4s var(--ease), filter 1.4s var(--ease);
}
.panel.is-active .media-bg { transform: scale(1); filter: saturate(1.08) contrast(1.05); }
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 70% 40%, rgba(82,247,255,.13), transparent 32%),
    radial-gradient(circle at 20% 65%, rgba(255,183,77,.14), transparent 35%),
    linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.2) 48%, rgba(0,0,0,.58)),
    linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.74));
}
.panel::after {
  content: attr(data-index);
  position: absolute;
  top: calc(var(--header) + 4px);
  left: clamp(22px, 5vw, 72px);
  z-index: 2;
  color: rgba(255,255,255,.44);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .28em;
}
.grid-noise {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .22;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, black 20%, black 70%, transparent);
}
.panel-content {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.panel-content.wide { max-width: 1280px; }
.panel-content.compact { max-width: 740px; margin-left: 0; }
.panel-content.right { margin-left: auto; margin-right: clamp(24px, 8vw, 130px); }
.panel-content.bottom { margin-top: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--amber));
}
h1, h2 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: .92;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-wrap: balance;
}
h2 { font-size: clamp(36px, 5.4vw, 76px); max-width: 1000px; }
.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.62;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  position: relative;
  min-width: 178px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid rgba(255,255,255,.38);
  background: transparent;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 100%;
  transform: translateY(104%);
  background: var(--text);
  transition: transform .28s var(--ease);
  z-index: -1;
}
.btn:hover { transform: translateY(-2px); border-color: var(--text); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: #03060a; }
.btn.primary { border-color: rgba(82,247,255,.62); }
.btn.primary::before { background: var(--cyan); }
.btn.ghost { color: var(--text); background: rgba(0,0,0,.16); backdrop-filter: blur(12px); }
.status-strip {
  position: absolute;
  left: clamp(22px, 5vw, 72px);
  right: clamp(22px, 5vw, 72px);
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(6, auto);
  justify-content: center;
  gap: 16px 22px;
  padding: 15px 18px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(14px);
  color: var(--soft);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.status-strip strong { color: var(--text); }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 54px;
  z-index: 4;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 99px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
}
.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: var(--cyan);
  animation: wheel 1.6s infinite;
}
@keyframes wheel { 0%{ transform:translateY(0); opacity:1;} 100%{ transform:translateY(16px); opacity:0;} }

.micro-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px;
  max-width: 640px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}
.micro-grid article {
  display: grid;
  gap: 18px;
  padding: 22px;
  background: rgba(4, 8, 13, .72);
  backdrop-filter: blur(12px);
}
.micro-grid b { color: var(--cyan); font-size: 13px; letter-spacing: .2em; }
.micro-grid span { color: var(--muted); font-size: 13px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.signal-rings {
  position: absolute;
  left: clamp(20px, 4vw, 80px);
  top: 47%;
  width: 320px;
  height: 320px;
  pointer-events: none;
  opacity: .7;
}
.signal-rings span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 70px;
  height: 70px;
  border: 2px solid rgba(82,247,255,.55);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.2);
  animation: ping 3.8s infinite ease-out;
}
.signal-rings span:nth-child(2){ animation-delay: .9s; }
.signal-rings span:nth-child(3){ animation-delay: 1.8s; }
@keyframes ping { to { transform: translate(-50%,-50%) scale(5); opacity: 0; } }
.validation-line {
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
  align-items: center;
  gap: 14px;
  max-width: 920px;
  margin-top: 36px;
  padding: 18px 20px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.validation-line span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}
.validation-line i { height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }
.application-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 1px;
  max-width: 930px;
  margin-top: 34px;
  border: 1px solid var(--line);
  background: var(--line);
}
.application-list a {
  padding: 22px;
  min-height: 86px;
  display: flex;
  align-items: end;
  background: rgba(3, 6, 10, .68);
  color: rgba(255,255,255,.82);
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
  backdrop-filter: blur(12px);
}
.application-list a:hover { background: rgba(82,247,255,.14); color: var(--text); transform: translateY(-4px); }
.publication-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.publication-cards article {
  min-height: 150px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  background: rgba(3, 6, 10, .64);
  backdrop-filter: blur(14px);
}
.publication-cards span { color: var(--cyan); font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.publication-cards strong { font-size: 20px; line-height: 1.18; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
}
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(3, 6, 10, .72);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0,0,0,.36);
}
.contact-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.contact-card input, .contact-card select {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 0;
  outline: none;
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.contact-card input:focus, .contact-card select:focus { border-color: var(--cyan); }
.contact-card select option { background: #07101a; }
.contact-card .btn { width: 100%; margin-top: 6px; }
.footer-line {
  position: absolute;
  left: clamp(22px, 5vw, 72px);
  right: clamp(22px, 5vw, 72px);
  bottom: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255,255,255,.44);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.video-modal {
  width: min(980px, 94vw);
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  background: #020509;
  color: white;
  box-shadow: 0 40px 140px rgba(0,0,0,.72);
}
.video-modal::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); }
.modal-close {
  position: absolute;
  right: 12px;
  top: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.18);
  color: white;
  background: rgba(0,0,0,.6);
  cursor: pointer;
  font-size: 24px;
}
.video-frame { aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.panel.is-active .reveal { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

@media (min-width: 900px) {
  .snap-shell { scroll-snap-type: y proximity; }
  .panel { scroll-snap-align: start; }
}
@media (max-width: 920px) {
  :root { --header: 68px; }
  .desktop-nav { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: white;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .14em;
  }
  .menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    margin: 3px 0;
  }
  .section-dots { display: none; }
  .panel {
    min-height: 92vh;
    padding-inline: 22px;
    padding-bottom: 68px;
  }
  .panel::after { left: 22px; }
  .panel::before { background: linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.82)), linear-gradient(90deg, rgba(0,0,0,.64), rgba(0,0,0,.18)); }
  .panel-content.compact, .panel-content.right { max-width: none; margin-left: 0; margin-right: 0; }
  .status-strip { display: none; }
  .scroll-cue { bottom: 20px; }
  .micro-grid, .publication-cards, .application-list, .contact-grid { grid-template-columns: 1fr; }
  .validation-line { grid-template-columns: 1fr; align-items: start; }
  .validation-line i { display: none; }
  .signal-rings { display: none; }
  .footer-line { flex-direction: column; bottom: 10px; font-size: 9px; }
}
@media (max-width: 540px) {
  .brand-copy small { display: none; }
  h1, h2 { letter-spacing: -.045em; }
  .btn { width: 100%; }
  .panel { padding-top: 98px; }
  .eyebrow { letter-spacing: .16em; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
