:root {
  --ink: #041a21;
  --ink-2: #082733;
  --amber: #f3a018;
  --copper: #ea661e;
  --ivory: #f7f8eb;
  --sand: #fadea1;
  --steel: #3b4a50;
  --muted: rgba(247, 248, 235, 0.68);
  --line: rgba(247, 248, 235, 0.12);
  --shadow: 0 28px 92px rgba(0, 0, 0, 0.48);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-pill: 999px;
  --layout: min(1180px, calc(100vw - 40px));
  --scroll-progress: 0;
  --word-opacity: 0;
  --vortex-rotate: 0deg;
  --vortex-reverse: 0deg;
  --vortex-soft: 0deg;
  --collage-x: 0px;
  --collage-y: 0px;
  --collage-x-fast: 0px;
  --collage-y-fast: 0px;
  --sprite-scale: 1;
  --sprite-opacity: 0.1;
  --field-opacity: 1;
  --nebula-a: rgba(243, 160, 24, 0.2);
  --nebula-b: rgba(91, 197, 214, 0.16);
  --nebula-c: rgba(96, 74, 210, 0.16);
  --nebula-d: rgba(2, 9, 13, 0.98);
  --nebula-angle: 115deg;
  --nebula-core-x: 58%;
  --nebula-core-y: 44%;
  --nebula-spin: 0deg;
  --spotlight-x: -240px;
  --spotlight-y: -240px;
  --spotlight-opacity: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 118px;
  scroll-snap-type: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  background:
    radial-gradient(circle at 16% 8%, rgba(243, 160, 24, 0.16), transparent 34%),
    radial-gradient(circle at 88% 20%, rgba(234, 102, 30, 0.16), transparent 34%),
    linear-gradient(180deg, #02090d 0%, #041a21 42%, #071015 100%);
  color: var(--ivory);
  font-family: "Sora", "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(180deg, black, transparent 85%);
}

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

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

.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px);
  background-size: 4px 4px, 7px 7px;
  mix-blend-mode: soft-light;
  opacity: 0.42;
}

.collage-field {
  position: fixed;
  inset: 0;
  z-index: 11;
  overflow: hidden;
  width: 100vw;
  min-height: 100svh;
  pointer-events: none;
  perspective: 1450px;
  transform-style: preserve-3d;
  background:
    radial-gradient(circle at var(--nebula-core-x) var(--nebula-core-y), var(--nebula-a), transparent 24%),
    radial-gradient(circle at calc(var(--nebula-core-x) - 20%) calc(var(--nebula-core-y) + 8%), var(--nebula-b), transparent 36%),
    radial-gradient(ellipse at calc(var(--nebula-core-x) + 18%) calc(var(--nebula-core-y) + 32%), var(--nebula-c), transparent 42%),
    linear-gradient(var(--nebula-angle), var(--nebula-d), rgba(7, 25, 31, 0.94) 48%, #02090d);
  opacity: var(--field-opacity);
  transition: background 680ms ease;
}

.collage-field::before {
  position: absolute;
  inset: -12%;
  z-index: 0;
  background:
    conic-gradient(from calc(var(--vortex-rotate) + var(--nebula-spin)) at var(--nebula-core-x) var(--nebula-core-y), transparent 0 7%, rgba(247, 248, 235, 0.15) 10%, transparent 16%, var(--nebula-a) 26%, transparent 42%, var(--nebula-b) 58%, transparent 74%),
    repeating-linear-gradient(90deg, rgba(247, 248, 235, 0.035) 0 1px, transparent 1px 74px),
    repeating-linear-gradient(0deg, rgba(247, 248, 235, 0.03) 0 1px, transparent 1px 74px);
  content: "";
  mix-blend-mode: screen;
  opacity: 0.82;
  pointer-events: none;
  transform: rotate(var(--vortex-soft)) scale(var(--sprite-scale));
  transform-origin: 42% 48%;
}

.collage-field::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 42% 48%, rgba(0, 0, 0, 0.62) 0 5%, transparent 8%),
    radial-gradient(ellipse at 24% 64%, rgba(2, 9, 13, 0.76), transparent 38%),
    linear-gradient(90deg, rgba(2, 9, 13, 0.52), transparent 42%, rgba(2, 9, 13, 0.76)),
    linear-gradient(180deg, rgba(2, 9, 13, 0.18), transparent 42%, rgba(2, 9, 13, 0.72));
  content: "";
  mix-blend-mode: overlay;
  opacity: 1;
  pointer-events: none;
}

.storm-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}

.collage-tile {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: var(--tile-w);
  height: var(--tile-h);
  padding: 8px 8px 22px;
  border: 1px solid rgba(250, 222, 161, 0.68);
  border-radius: 7px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, 0.82), transparent 23%),
    linear-gradient(180deg, rgba(255, 252, 236, 0.98), rgba(230, 217, 184, 0.92));
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(243, 160, 24, 0.1);
  opacity: 1;
  transform-origin: center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  contain: layout paint style;
  will-change: transform, opacity;
}

.collage-tile::before {
  position: absolute;
  top: -12%;
  right: -14%;
  z-index: 3;
  width: 38%;
  height: 38%;
  border-radius: 0 0 0 100%;
  background:
    radial-gradient(circle at 0 100%, rgba(255, 255, 255, 0.82), rgba(250, 222, 161, 0.3) 44%, transparent 72%);
  box-shadow: -10px 12px 24px rgba(4, 26, 33, 0.16);
  content: "";
  opacity: 0.16;
  pointer-events: none;
  transform: translateZ(10px) rotate(11deg);
}

.collage-tile::after {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(135deg, rgba(247, 248, 235, 0.16), transparent 36%),
    linear-gradient(180deg, transparent 52%, rgba(2, 9, 13, 0.42));
  content: "";
  pointer-events: none;
}

.collage-tile img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc(100% - 12px);
  border-radius: 3px;
  object-fit: cover;
}

.collage-tile figcaption {
  position: absolute;
  right: 9px;
  bottom: 5px;
  z-index: 5;
  color: rgba(4, 26, 33, 0.62);
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wind-particle {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: block;
  width: var(--particle-s);
  height: var(--particle-s);
  border: 1px solid rgba(250, 222, 161, 0.22);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 245, 0.94), hsla(var(--particle-hue), 82%, 68%, 0.78) 32%, rgba(4, 26, 33, 0.08) 72%);
  box-shadow:
    0 0 16px rgba(243, 160, 24, 0.2),
    inset 0 -5px 12px rgba(4, 9, 12, 0.18);
  contain: layout paint style;
  pointer-events: none;
  transform-origin: center;
  will-change: transform, opacity;
}

.slow-halo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 45;
  width: 172px;
  height: 172px;
  border: 1px solid rgba(250, 222, 161, 0.64);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 245, 0.32) 0 7%, rgba(250, 222, 161, 0.2) 20%, rgba(243, 160, 24, 0.11) 42%, transparent 72%),
    radial-gradient(circle, transparent 43%, rgba(247, 248, 235, 0.18) 46%, transparent 52%);
  box-shadow:
    0 0 38px rgba(243, 160, 24, 0.34),
    0 0 86px rgba(91, 197, 214, 0.16),
    inset 0 0 38px rgba(247, 248, 235, 0.16);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-200px, -200px, 0);
  transition: opacity 140ms ease;
  will-change: transform, opacity;
}

.slow-halo::before,
.slow-halo::after {
  position: absolute;
  inset: 50% auto auto 50%;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.slow-halo::before {
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.95), rgba(250, 222, 161, 0.76) 38%, rgba(243, 160, 24, 0.18) 72%, transparent);
  box-shadow: 0 0 24px rgba(250, 222, 161, 0.72);
}

.slow-halo::after {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 252, 236, 0.28);
  box-shadow: inset 0 0 24px rgba(255, 252, 236, 0.12);
}

.vortex-core {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  width: min(1040px, 86vw);
  height: 100svh;
  margin: 0 auto;
  pointer-events: none;
  transform: translateY(calc((1 - var(--word-opacity)) * 38px));
  opacity: var(--word-opacity);
}

.vortex-core span {
  color: rgba(247, 248, 235, 0.94);
  font-family: "Archivo Black", "Impact", sans-serif;
  font-size: clamp(5rem, 16vw, 15rem);
  letter-spacing: -0.14em;
  line-height: 0.8;
  text-align: center;
  text-shadow:
    0 0 1px var(--ivory),
    0 18px 0 rgba(243, 160, 24, 0.14),
    0 40px 70px rgba(0, 0, 0, 0.42);
  transform: rotate(calc((var(--word-opacity) - 0.5) * 5deg));
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: var(--layout);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: rgba(4, 26, 33, 0.92);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}

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

.brand img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(243, 160, 24, 0.42);
  border-radius: 50%;
  background: var(--ivory);
  box-shadow: 0 0 28px rgba(243, 160, 24, 0.28);
  object-fit: cover;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong,
.topnav a,
.eyebrow,
.signal-card span,
.pilot-rail a {
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand small {
  color: var(--muted);
  font-size: 0.74rem;
}

.topnav {
  display: flex;
  gap: 6px;
}

.topnav a {
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  color: rgba(247, 248, 235, 0.74);
  font-size: 0.78rem;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.topnav a:hover {
  background: rgba(243, 160, 24, 0.16);
  color: var(--ivory);
  transform: translateY(-1px);
}

.pilot-rail {
  display: none;
  position: fixed;
  top: 50%;
  right: 18px;
  z-index: 29;
  gap: 4px;
  width: 52px;
  transform: translateY(-50%);
}

.pilot-rail a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: rgba(247, 248, 235, 0.28);
  font-size: 0.58rem;
  transition:
    border-color 160ms ease,
    color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.pilot-rail a.is-active {
  border-color: rgba(243, 160, 24, 0.62);
  background: rgba(243, 160, 24, 0.18);
  color: var(--amber);
  transform: translateX(-8px) scale(1.08);
}

.section-controls {
  position: fixed;
  right: 22px;
  bottom: 18px;
  z-index: 31;
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(247, 248, 235, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(4, 26, 33, 0.68);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.section-controls button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(247, 248, 235, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(247, 248, 235, 0.08);
  color: rgba(247, 248, 235, 0.82);
  cursor: pointer;
  font-family: "Space Grotesk", "Arial", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.section-controls button:hover {
  border-color: rgba(243, 160, 24, 0.46);
  background: rgba(243, 160, 24, 0.18);
  color: var(--ivory);
  transform: translateY(-1px);
}

main {
  position: relative;
}

.hero-copy,
.identity-strip,
.radar,
.alliance,
.contact,
.footer {
  position: relative;
  z-index: 12;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  width: var(--layout);
  min-height: 100svh;
  margin: 0 auto;
  padding: 150px 0 74px;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  background:
    radial-gradient(ellipse at 36% 66%, rgba(2, 9, 13, 0.84), transparent 42%),
    radial-gradient(ellipse at 82% 78%, rgba(2, 9, 13, 0.72), transparent 30%),
    linear-gradient(180deg, rgba(2, 9, 13, 0.18), transparent 38%, rgba(2, 9, 13, 0.54));
  content: "";
  pointer-events: none;
}

.hero-copy {
  max-width: 1040px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.58);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 0.78rem;
}

.hero h1,
.radar-intro h2,
.alliance h2,
.contact h2 {
  margin: 0;
  font-family: "Archivo Black", "Impact", sans-serif;
  line-height: 0.86;
  letter-spacing: -0.07em;
}

.hero h1,
.radar-intro h2,
.signal-card h3,
.alliance h2,
.contact h2 {
  color: rgba(247, 248, 235, 0.88);
  text-shadow:
    0 0 28px rgba(250, 222, 161, var(--spotlight-opacity)),
    0 22px 58px rgba(0, 0, 0, 0.48);
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(4.2rem, 12vw, 11rem);
  text-transform: uppercase;
  text-shadow: 0 18px 54px rgba(0, 0, 0, 0.62);
}

.hero h1 .word {
  display: block;
}

.hero h1 .word-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 248, 235, 0.86);
  text-shadow: none;
}

.hero h1 .mark {
  color: var(--amber);
  -webkit-text-stroke: 0;
  -webkit-text-fill-color: var(--amber);
  text-shadow:
    0 0 18px rgba(243, 160, 24, 0.24),
    0 16px 42px rgba(0, 0, 0, 0.32);
}

.hero-lede {
  max-width: 66ch;
  margin: 28px 0 0;
  color: rgba(247, 248, 235, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.74;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button,
.contact-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-weight: 800;
}

.button.primary,
.contact-actions a:first-child {
  background: linear-gradient(135deg, var(--amber), var(--copper));
  color: #06131a;
  box-shadow: 0 18px 40px rgba(234, 102, 30, 0.28);
}

.button.ghost,
.contact-actions a:last-child {
  border: 1px solid var(--line);
  background: rgba(247, 248, 235, 0.1);
  color: var(--ivory);
}

.identity-strip,
.radar,
.alliance,
.contact,
.footer {
  width: var(--layout);
  margin: 0 auto;
}

.identity-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 0 78px;
}

.identity-strip article,
.signal-card,
.alliance-grid article,
.contact-card {
  --card-nebula-a: rgba(243, 160, 24, 0.16);
  --card-nebula-b: rgba(91, 197, 214, 0.12);
  --card-nebula-c: rgba(96, 74, 210, 0.1);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 12%, var(--card-nebula-a), transparent 38%),
    radial-gradient(circle at 82% 22%, var(--card-nebula-b), transparent 42%),
    radial-gradient(ellipse at 72% 86%, var(--card-nebula-c), transparent 48%),
    linear-gradient(135deg, rgba(247, 248, 235, 0.1), rgba(247, 248, 235, 0.03)),
    rgba(4, 26, 33, 0.84);
  box-shadow: var(--shadow);
}

.identity-strip article:nth-child(2),
.signal-card:nth-child(6n + 2),
.alliance-grid article:nth-child(2) {
  --card-nebula-a: rgba(86, 128, 255, 0.18);
  --card-nebula-b: rgba(243, 160, 24, 0.14);
  --card-nebula-c: rgba(29, 208, 197, 0.1);
}

.identity-strip article:nth-child(3),
.signal-card:nth-child(6n + 3),
.alliance-grid article:nth-child(3) {
  --card-nebula-a: rgba(215, 84, 170, 0.16);
  --card-nebula-b: rgba(76, 205, 255, 0.14);
  --card-nebula-c: rgba(250, 222, 161, 0.12);
}

.signal-card:nth-child(6n + 4) {
  --card-nebula-a: rgba(20, 184, 166, 0.15);
  --card-nebula-b: rgba(250, 222, 161, 0.14);
  --card-nebula-c: rgba(88, 80, 236, 0.12);
}

.signal-card:nth-child(6n + 5) {
  --card-nebula-a: rgba(234, 102, 30, 0.18);
  --card-nebula-b: rgba(65, 105, 225, 0.13);
  --card-nebula-c: rgba(255, 255, 246, 0.08);
}

.signal-card:nth-child(6n) {
  --card-nebula-a: rgba(74, 222, 128, 0.13);
  --card-nebula-b: rgba(91, 197, 214, 0.14);
  --card-nebula-c: rgba(243, 160, 24, 0.1);
}

.identity-strip article {
  min-height: 190px;
  padding: 22px;
  border-radius: var(--radius-md);
}

.identity-strip span {
  color: var(--amber);
  font-weight: 900;
}

.identity-strip strong {
  display: block;
  margin-top: 42px;
  font-size: 1.32rem;
}

.identity-strip p,
.radar-intro p,
.signal-card p,
.alliance p,
.contact p,
.footer {
  color: var(--muted);
  line-height: 1.72;
}

.radar {
  display: grid;
  grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1.32fr);
  gap: 34px;
  align-items: start;
  padding: 60px 0 100px;
}

.radar-intro {
  position: sticky;
  top: 124px;
  min-height: calc(100svh - 150px);
  padding: 28px;
  border-left: 3px solid var(--amber);
}

.radar-intro h2 {
  font-size: clamp(2.8rem, 5.4vw, 6.2rem);
}

.signal-stream {
  display: grid;
  gap: 34px;
}

.signal-card {
  --paper-focus: 0;
  --paper-offset: 0;
  --paper-wave: 0;
  --paper-fine: 0;
  --paper-glow: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(540px, 78svh, 820px);
  padding: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-margin-top: 124px;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  transform:
    translate3d(calc(var(--paper-offset) * 70px), calc(32px + var(--paper-offset) * -54px), 0)
    rotateX(calc(var(--paper-offset) * -5deg + var(--paper-wave) * 1.2deg))
    rotateY(calc(var(--paper-offset) * 6deg + var(--paper-fine) * 1deg))
    rotateZ(calc(var(--paper-offset) * -4deg + var(--paper-wave) * 1.8deg))
    scale(calc(0.93 + var(--paper-focus) * 0.07));
  opacity: calc(0.42 + var(--paper-focus) * 0.58);
  transition:
    opacity 260ms ease,
    border-color 420ms ease,
    box-shadow 420ms ease,
    background 420ms ease;
  content-visibility: auto;
  contain: layout paint style;
  contain-intrinsic-size: 720px;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.signal-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(243, 160, 24, 0.22), transparent 42%),
    radial-gradient(circle at calc(76% + var(--paper-wave) * 8%) 18%, rgba(234, 102, 30, 0.24), transparent 36%),
    linear-gradient(135deg, rgba(255, 252, 236, 0.08), transparent 28%, rgba(4, 26, 33, 0.22));
  content: "";
  opacity: calc(0.04 + var(--paper-glow) * 0.96);
  transition: opacity 240ms ease;
}

.signal-card::after {
  position: absolute;
  right: -26px;
  bottom: -44px;
  width: min(42%, 360px);
  height: 74%;
  border: 1px solid rgba(243, 160, 24, 0.22);
  border-radius: 28px;
  background-image:
    linear-gradient(180deg, rgba(4, 26, 33, 0.12), rgba(4, 26, 33, 0.72)),
    var(--card-image);
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 62px rgba(0, 0, 0, 0.36);
  content: "";
  opacity: calc(0.08 + var(--paper-focus) * 0.24);
  transform:
    translate3d(calc(34px - var(--paper-focus) * 34px), calc(24px - var(--paper-focus) * 24px), 18px)
    rotate(calc(7deg - var(--paper-focus) * 5deg + var(--paper-wave) * 1.4deg))
    scale(calc(0.92 + var(--paper-focus) * 0.08));
  transition:
    opacity 520ms ease,
    transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.signal-card > * {
  position: relative;
  z-index: 1;
}

.signal-card.is-visible {
  border-color: rgba(243, 160, 24, 0.28);
  box-shadow:
    0 24px 88px rgba(0, 0, 0, 0.56),
    0 0 calc(var(--paper-glow) * 46px) rgba(243, 160, 24, 0.18);
}

.signal-card.is-visible::before {
  opacity: calc(0.1 + var(--paper-glow) * 0.9);
}

.signal-card.is-visible::after {
  opacity: calc(0.12 + var(--paper-focus) * 0.26);
}

.signal-card.is-reading {
  border-color: rgba(250, 222, 161, 0.48);
  background:
    radial-gradient(circle at 14% 12%, var(--card-nebula-a), transparent 38%),
    radial-gradient(circle at 82% 22%, var(--card-nebula-b), transparent 42%),
    radial-gradient(ellipse at 72% 86%, var(--card-nebula-c), transparent 48%),
    linear-gradient(135deg, rgba(247, 248, 235, 0.12), rgba(247, 248, 235, 0.035)),
    rgba(4, 26, 33, 0.82);
}

.signal-card span {
  color: var(--amber);
  font-size: 0.72rem;
}

.signal-card h3 {
  max-width: 15ch;
  margin: 48px 0 18px;
  font-size: clamp(1.8rem, 3.7vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.signal-card p {
  max-width: 64ch;
  margin: 0;
  font-size: 1rem;
}

.final-signal {
  min-height: 420px;
  background:
    radial-gradient(circle at 55% 30%, rgba(243, 160, 24, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(234, 102, 30, 0.2), rgba(4, 26, 33, 0.82));
}

.alliance {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
  padding: 76px 0 60px;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.alliance h2,
.contact h2 {
  font-size: clamp(3rem, 6vw, 7rem);
}

.alliance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.alliance-grid article {
  min-height: 300px;
  padding: 22px;
  border-radius: var(--radius-md);
}

.alliance-grid span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-weight: 900;
}

.alliance-grid h3 {
  margin: 86px 0 14px;
  font-size: 1.4rem;
}

.contact {
  padding: 70px 0 80px;
  scroll-snap-align: none;
  scroll-snap-stop: normal;
}

.contact-card {
  position: relative;
  min-height: 78svh;
  padding: clamp(28px, 6vw, 76px);
  border-radius: clamp(28px, 5vw, 64px);
  overflow: hidden;
}

.contact-card::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(243, 160, 24, 0.25), transparent 34%),
    radial-gradient(circle at 20% 80%, rgba(234, 102, 30, 0.18), transparent 38%);
  content: "";
}

.contact-card > * {
  position: relative;
  z-index: 1;
}

.contact-card h2 {
  max-width: 10ch;
}

.contact-card p {
  max-width: 62ch;
  font-size: 1.08rem;
}

.contact-actions a {
  min-width: 220px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 46px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}

@media (max-width: 980px) {
  .hero,
  .radar,
  .alliance,
  .identity-strip {
    grid-template-columns: 1fr;
  }

  .radar-intro {
    position: relative;
    top: auto;
    min-height: auto;
  }

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

  .pilot-rail {
    display: none;
  }

  .section-controls {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 680px) {
  :root {
    --layout: min(100vw - 28px, 1180px);
  }

  .collage-field {
    background-size:
      auto,
      auto,
      720px auto;
  }

  .collage-field::before {
    background-size:
      560px auto,
      56px 56px,
      56px 56px;
  }

  .topbar {
    top: 12px;
    border-radius: 28px;
  }

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

  .brand small {
    display: none;
  }

  .topnav a {
    padding: 10px 8px;
    font-size: 0.66rem;
  }

  .section-controls {
    left: 14px;
    right: 14px;
    justify-content: space-between;
  }

  .hero {
    padding-top: 124px;
  }

  .signal-card {
    min-height: 72svh;
    padding: 22px;
  }

  .signal-card h3 {
    margin-top: 56px;
  }

  .footer {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .collage-tile {
    filter: none !important;
  }

  .vortex-core {
    opacity: 0.18;
  }
}
