@font-face {
  font-display: swap;
  font-family: "Cobe";
  font-style: normal;
  font-weight: 400;
  src: url("./assets/fonts/cobe-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Cobe";
  font-style: normal;
  font-weight: 600;
  src: url("./assets/fonts/cobe-medium.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Cobe";
  font-style: normal;
  font-weight: 800;
  src: url("./assets/fonts/cobe-bold.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Cobe";
  font-style: normal;
  font-weight: 900;
  src: url("./assets/fonts/cobe-heavy.woff2") format("woff2");
}

:root {
  --bg: #000;
  --bg-soft: #000;
  --surface: rgba(9, 18, 36, 0.72);
  --surface-strong: rgba(8, 16, 31, 0.92);
  --line: rgba(111, 157, 255, 0.24);
  --line-strong: rgba(71, 137, 255, 0.52);
  --text: #f7f9ff;
  --muted: #9fb2d1;
  --faint: #60779d;
  --blue: #0b68ff;
  --cyan: #57d5ff;
  --gold: #d7bb6c;
  --shadow: rgba(0, 0, 0, 0.42);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  text-rendering: geometricPrecision;
}

body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  background: #000;
  color: var(--text);
  font-family: "Cobe", "Outfit", "Segoe UI", Arial, sans-serif;
}

body::selection {
  background: rgba(87, 213, 255, 0.28);
  color: var(--text);
}

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

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--text);
  padding: 0.75rem 1rem;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100dvh;
  overflow: hidden;
  background: #000;
}

.noise-layer {
  display: none;
}

.ambient {
  display: none;
}

.ambient-one {
  top: 6rem;
  left: -13rem;
  background: rgba(7, 82, 255, 0.58);
  animation: ambientDrift 11s var(--ease) infinite alternate;
}

.ambient-two {
  right: -16rem;
  top: 22rem;
  background: rgba(63, 203, 255, 0.28);
  animation: ambientDrift 14s var(--ease) infinite alternate-reverse;
}

.ambient-three {
  bottom: -20rem;
  left: 26%;
  background: rgba(9, 70, 190, 0.38);
  animation: ambientDrift 18s var(--ease) infinite alternate;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  width: min(100% - 2rem, 1060px);
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem auto 0;
  border: 1px solid rgba(151, 186, 255, 0.2);
  border-radius: 8px;
  background: rgba(3, 8, 19, 0.68);
  padding: 0.62rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(20px);
}

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

.brand-emblem {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid rgba(115, 171, 255, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(11, 104, 255, 0.86), rgba(2, 10, 28, 0.92)),
    var(--blue);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
  line-height: 1;
}

.brand-copy strong {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.header-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.header-nav a {
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.7rem 0.84rem;
  text-transform: uppercase;
  transition:
    border-color 220ms var(--ease),
    background 220ms var(--ease),
    color 220ms var(--ease),
    transform 220ms var(--ease);
}

.header-nav a:hover,
.header-nav a:focus-visible {
  border-color: rgba(102, 164, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.header-nav a:active {
  transform: translateY(1px) scale(0.99);
}

.site-main {
  width: 100%;
  margin: 0 auto;
}

.hero-section {
  display: grid;
  width: min(100% - 2rem, 1520px);
  gap: clamp(1.1rem, 2.4vw, 2rem);
  align-items: start;
  margin: 0 auto;
  padding: clamp(2.3rem, 4.8vw, 4.8rem) 0 clamp(0.9rem, 2.2vw, 1.6rem);
}

.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(20rem, 0.72fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  width: min(100%, 1260px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  grid-column: 1 / -1;
  margin: 0 0 -0.15rem;
}

.hero-copy h1,
.section-heading h2,
.signal-panel h2 {
  margin: 0;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.92;
}

.hero-copy h1 {
  grid-column: 1;
  max-width: 13ch;
  font-size: clamp(2.8rem, 5.6vw, 5.6rem);
}

.hero-copy p:last-child,
.signal-panel p {
  max-width: 32rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.45vw, 1.12rem);
  line-height: 1.62;
}

.hero-copy p:last-child {
  grid-column: 2;
  margin: 0 0 0.42rem;
}

.hero-frame {
  position: relative;
  margin: 0;
  perspective: 1200px;
}

.hero-frame::before {
  display: none;
}

.hero-frame-inner,
.link-tile {
  --rx: 0deg;
  --ry: 0deg;
  --tx: 0px;
  --ty: 0px;
  transform:
    translate3d(var(--tx), var(--ty), 0)
    rotateX(var(--rx))
    rotateY(var(--ry));
  transform-style: preserve-3d;
}

.hero-frame-inner {
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #000;
  box-shadow: none;
  transition: transform 520ms var(--ease), border-color 260ms var(--ease);
  will-change: transform;
}

.hero-frame-inner img {
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: contain;
  transform: scale(1.006);
}

.links-section {
  width: min(100% - 2rem, 1540px);
  margin: 0 auto;
  padding: 0 0 clamp(3rem, 8vw, 6rem);
}

.section-heading {
  display: none;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
}

.section-heading h2 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
}

.links-layout {
  display: block;
}

.link-stack {
  display: grid;
  gap: clamp(0.82rem, 1.5vw, 1.05rem);
  width: min(100%, 1280px);
  margin: 0 auto;
}

.reveal-slot {
  perspective: 1200px;
}

.link-tile {
  position: relative;
  display: grid;
  overflow: hidden;
  cursor: pointer;
  border: 0;
  border-radius: 16px;
  background: transparent;
  box-shadow: none;
  transition:
    transform 180ms ease;
  will-change: transform;
}

.link-tile::before {
  content: "";
  display: none;
}

.link-tile::after {
  content: "";
  display: none;
}

.link-tile:hover,
.link-tile:focus-visible {
  transform: translateY(-2px);
}

.link-tile:active {
  transform: translateY(2px);
}

.tile-topline,
.tile-index,
.tile-action {
  display: none !important;
}

.image-shell {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: inherit;
  background: #000;
  transform-origin: center;
}

.image-shell::after {
  content: "";
  display: none;
}

.image-shell img {
  width: 100%;
  height: auto;
  aspect-ratio: 1536 / 637;
  object-fit: contain;
  transition: transform 180ms ease;
}

.link-tile:hover .image-shell img,
.link-tile:focus-visible .image-shell img {
  transform: scale(1.01);
}

.signal-panel {
  display: none;
  position: sticky;
  top: 6rem;
  overflow: hidden;
  border: 1px solid rgba(117, 168, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(9, 18, 36, 0.82), rgba(2, 7, 16, 0.92)),
    var(--surface);
  padding: clamp(1rem, 3vw, 1.35rem);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 80px rgba(0, 0, 0, 0.22);
}

.signal-panel::before {
  position: absolute;
  inset: -40% -40% auto auto;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: rgba(11, 104, 255, 0.42);
  content: "";
  filter: blur(50px);
}

.live-dot {
  position: relative;
  display: inline-block;
  width: 0.72rem;
  height: 0.72rem;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(87, 213, 255, 0.42);
  animation: signalPulse 1.8s var(--ease) infinite;
}

.panel-kicker {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.signal-panel h2 {
  position: relative;
  max-width: 12ch;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.signal-panel p {
  position: relative;
  font-size: 0.95rem;
}

.panel-lines {
  display: grid;
  gap: 0.48rem;
  margin-top: 1.6rem;
}

.panel-lines span {
  display: block;
  height: 1px;
  transform-origin: left;
  background: linear-gradient(90deg, rgba(87, 213, 255, 0.7), transparent);
  animation: lineScan 2.8s var(--ease) infinite;
}

.panel-lines span:nth-child(2) {
  width: 72%;
  animation-delay: 140ms;
}

.panel-lines span:nth-child(3) {
  width: 42%;
  animation-delay: 280ms;
}

.site-footer {
  width: min(100% - 2rem, 1060px);
  margin: 0 auto;
  padding: 0 0 clamp(2rem, 6vw, 4rem);
}

.footer-inner {
  display: grid;
  gap: 1rem;
  justify-items: center;
  border-top: 1px solid rgba(124, 176, 255, 0.16);
  padding-top: clamp(1.6rem, 4vw, 2.4rem);
  text-align: center;
}

.footer-seal {
  width: min(100%, 760px);
  max-height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.42));
}

.footer-inner p {
  max-width: 54rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.82rem, 1.7vw, 0.95rem);
  line-height: 1.65;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

@keyframes ambientDrift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(3rem, -1.4rem, 0) scale(1.08);
  }
}

@keyframes signalPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(87, 213, 255, 0.42);
  }

  72%,
  100% {
    box-shadow: 0 0 0 16px rgba(87, 213, 255, 0);
  }
}

@keyframes lineScan {
  0% {
    opacity: 0.2;
    transform: scaleX(0.28);
  }

  45% {
    opacity: 1;
    transform: scaleX(1);
  }

  100% {
    opacity: 0.28;
    transform: scaleX(0.52);
  }
}

@keyframes tileSweep {
  0% {
    opacity: 0;
    transform: translate3d(-58%, 0, 0) rotate(7deg);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(58%, 0, 0) rotate(7deg);
  }
}

@media (max-width: 960px) {
  .hero-section,
  .links-layout {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    padding-top: clamp(1.1rem, 3vw, 1.8rem);
  }

  .hero-copy {
    grid-template-columns: 1fr;
    max-width: 40rem;
  }

  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy p:last-child {
    grid-column: 1;
  }

  .hero-copy p:last-child {
    margin-top: 0;
  }

  .hero-copy h1 {
    max-width: 12ch;
  }

  .signal-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 0.6rem;
    width: min(100% - 1rem, 1060px);
  }

  .brand-copy small {
    display: none;
  }

  .header-nav a {
    padding: 0.65rem 0.58rem;
    font-size: 0.68rem;
  }

  .site-main {
    width: 100%;
  }

  .site-footer {
    width: min(100% - 1rem, 1120px);
  }

  .hero-section {
    width: min(100% - 1rem, 1520px);
    padding-top: 0.55rem;
    padding-bottom: 4.25rem;
  }

  .links-section {
    width: min(100% - 1rem, 1540px);
  }

  .link-stack {
    gap: 0.72rem;
  }

  .hero-copy h1 {
    max-width: 10ch;
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .hero-copy p:last-child {
    font-size: 0.96rem;
  }

  .section-heading {
    display: grid;
  }

}

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

  .hero-frame-inner,
  .link-tile {
    transform: none !important;
  }
}
