:root {
  color-scheme: dark;
  --ink: #090b0d;
  --night: #111315;
  --stone: #d8d0bf;
  --paper: #f4ebd7;
  --ash: #9fa69b;
  --saffron: #f2a23a;
  --ember: #c95733;
  --teal: #4dc9b8;
  --moss: #7f9b63;
  --line: rgba(244, 235, 215, 0.18);
  --panel: rgba(15, 18, 18, 0.72);
  --panel-strong: rgba(20, 25, 23, 0.92);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --header-h: 72px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

#field-system,
#rakkar-pilot,
#node-map,
#gallery,
#curriculum,
#roadmap {
  scroll-margin-top: 0;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(9, 11, 13, 0.7), rgba(9, 11, 13, 1) 32%),
    repeating-linear-gradient(90deg, rgba(244, 235, 215, 0.035) 0 1px, transparent 1px 84px),
    var(--ink);
  color: var(--paper);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(244, 235, 215, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 235, 215, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent 0, black 18%, black 72%, transparent);
  opacity: 0.45;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1rem, 4vw, 3.25rem);
  border-bottom: 1px solid rgba(244, 235, 215, 0.13);
  background: rgba(8, 10, 10, 0.68);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  position: relative;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(244, 235, 215, 0.36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(242, 162, 58, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(242, 162, 58, 0.18), rgba(77, 201, 184, 0.16)),
    rgba(244, 235, 215, 0.07);
  box-shadow:
    inset 0 0 22px rgba(77, 201, 184, 0.1),
    0 0 0 rgba(77, 201, 184, 0);
  overflow: hidden;
  animation: logo-breathe 4.6s ease-in-out infinite;
}

.brand-mark::after {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(77, 201, 184, 0.2);
  border-radius: 6px;
  content: "";
  opacity: 0.7;
}

.lotus-logo {
  position: relative;
  z-index: 1;
  width: 38px;
  height: 38px;
  overflow: visible;
}

.lotus-aura,
.signal-orbit,
.chip-line,
.lotus-petal,
.chip-core {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.lotus-aura {
  stroke: rgba(77, 201, 184, 0.42);
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
}

.aura-one {
  animation: aura-breathe 4.6s ease-in-out infinite;
}

.aura-two {
  stroke: rgba(242, 162, 58, 0.28);
  stroke-dasharray: 5 6;
  animation: aura-breathe 4.6s ease-in-out 0.7s infinite;
}

.lotus-petal {
  fill: rgba(242, 162, 58, 0.18);
  stroke: rgba(244, 235, 215, 0.82);
  stroke-linejoin: round;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: petal-breathe 4.6s ease-in-out infinite;
}

.petal-left,
.petal-right {
  stroke: rgba(77, 201, 184, 0.82);
  animation-delay: 0.15s;
}

.petal-base-left,
.petal-base-right {
  fill: rgba(77, 201, 184, 0.12);
  animation-delay: 0.28s;
}

.chip-core {
  fill: rgba(9, 11, 13, 0.88);
  stroke: rgba(242, 162, 58, 0.92);
  stroke-width: 1.8;
  animation: chip-glow 2.3s ease-in-out infinite;
}

.chip-line {
  stroke: rgba(77, 201, 184, 0.82);
  stroke-linecap: round;
  stroke-width: 1.4;
  stroke-dasharray: 5 4;
  animation: chip-pulse 2.3s ease-in-out infinite;
}

.signal-orbit {
  stroke: rgba(242, 162, 58, 0.88);
  stroke-linecap: round;
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  animation: orbit-flow 3.2s linear infinite;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.5vw, 1.35rem);
  color: rgba(244, 235, 215, 0.72);
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  border-radius: 6px;
  padding-block: 0.35rem;
}

.site-nav a:focus-visible {
  outline: 2px solid rgba(77, 201, 184, 0.6);
  outline-offset: 5px;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.site-nav a.active {
  color: var(--paper);
}

.site-nav a.active::after {
  transform: scaleX(1);
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  border: 1px solid rgba(244, 235, 215, 0.16);
  border-radius: 8px;
  background: rgba(244, 235, 215, 0.06);
}

.language-control label {
  color: rgba(244, 235, 215, 0.58);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.language-control select {
  min-width: 104px;
  border: 0;
  border-radius: 6px;
  background: rgba(9, 11, 13, 0.82);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 850;
  outline: none;
  padding: 0.5rem 0.65rem;
}

.language-control select:focus-visible {
  box-shadow: 0 0 0 2px rgba(77, 201, 184, 0.62);
}

.hero {
  position: relative;
  display: grid;
  min-height: 86svh;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) clamp(1rem, 5vw, 5rem) 2rem;
  isolation: isolate;
  background-image: url("assets/cyberscout-hero.png");
  background-position: center;
  background-size: cover;
}

#signal-canvas {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.52;
  mix-blend-mode: screen;
}

.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 6, 0.94) 0%, rgba(8, 10, 10, 0.74) 34%, rgba(8, 10, 10, 0.16) 70%),
    linear-gradient(0deg, rgba(9, 11, 13, 0.96) 0%, rgba(9, 11, 13, 0.28) 34%, rgba(9, 11, 13, 0.14) 100%);
}

.hero-content {
  width: min(880px, 100%);
  padding-bottom: clamp(0.5rem, 2vw, 2rem);
}

.eyebrow,
.section-kicker,
.phase-label {
  margin: 0 0 1rem;
  color: var(--saffron);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.7rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  line-height: 1.1;
}

:lang(hi) h1 {
  max-width: 14ch;
  font-size: clamp(2.65rem, 5vw, 4.75rem);
  line-height: 1.08;
}

:lang(hi) h2,
:lang(hi) .phase-panel h3,
:lang(hi) .pilot-brief h3,
:lang(hi) .activity-heading h3 {
  line-height: 1.1;
}

:lang(hi) .eyebrow,
:lang(hi) .section-kicker,
:lang(hi) .phase-label,
:lang(hi) .card-index,
:lang(hi) .timeline-item span,
:lang(hi) .telemetry dt,
:lang(hi) .pulse-row,
:lang(hi) .language-control label {
  letter-spacing: 0.04em;
}

p {
  color: rgba(244, 235, 215, 0.76);
  line-height: 1.75;
}

.hero-copy {
  max-width: 650px;
  color: rgba(244, 235, 215, 0.82);
  font-size: clamp(1rem, 2vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.05rem;
  border: 1px solid rgba(244, 235, 215, 0.24);
  border-radius: 8px;
  color: var(--paper);
  font-weight: 900;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

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

.button.primary {
  border-color: rgba(242, 162, 58, 0.7);
  background: linear-gradient(135deg, rgba(242, 162, 58, 0.98), rgba(201, 87, 51, 0.92));
  color: #160e08;
}

.button.secondary {
  background: rgba(244, 235, 215, 0.08);
}

.hero-panel {
  position: absolute;
  right: clamp(1rem, 5vw, 5rem);
  bottom: clamp(1rem, 3vw, 2rem);
  width: min(360px, calc(100% - 2rem));
  padding: 1rem;
  border: 1px solid rgba(244, 235, 215, 0.18);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.pulse-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 20px rgba(77, 201, 184, 0.9);
  animation: blink 1.5s ease-in-out infinite;
}

.telemetry {
  display: grid;
  gap: 0.9rem;
  margin: 0;
}

.telemetry div {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(244, 235, 215, 0.13);
}

.telemetry dt {
  color: rgba(244, 235, 215, 0.54);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.telemetry dd {
  margin: 0.25rem 0 0;
  color: var(--paper);
  font-weight: 750;
}

.intro-band,
.node-map,
.gallery,
.pilot,
.field-system,
.sovereignty,
.curriculum,
.roadmap,
.closing {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  border-block: 1px solid rgba(244, 235, 215, 0.14);
  background:
    linear-gradient(90deg, rgba(127, 155, 99, 0.12), transparent 42%),
    rgba(244, 235, 215, 0.035);
}

.intro-band p:last-child {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.node-map {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 0.86fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border-bottom: 1px solid rgba(244, 235, 215, 0.12);
  background:
    radial-gradient(circle at 74% 34%, rgba(77, 201, 184, 0.14), transparent 28%),
    linear-gradient(90deg, rgba(242, 162, 58, 0.08), transparent 38%),
    rgba(244, 235, 215, 0.02);
}

.node-map-copy h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 4.2vw, 4rem);
}

.node-map-copy p:last-child {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.map-shell {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(244, 235, 215, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(rgba(244, 235, 215, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 235, 215, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 35% 35%, rgba(77, 201, 184, 0.12), transparent 32%),
    rgba(11, 14, 14, 0.82);
  background-size: 38px 38px, 38px 38px, auto, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.map-shell::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(0deg, rgba(9, 11, 13, 0.72), transparent);
  pointer-events: none;
}

.signal-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
}

.map-region {
  fill: rgba(127, 155, 99, 0.08);
  stroke: rgba(244, 235, 215, 0.25);
  stroke-width: 1.5;
}

.map-terrain {
  fill: none;
  stroke-linecap: round;
  stroke-width: 2;
}

.terrain-back {
  stroke: rgba(77, 201, 184, 0.12);
}

.terrain-front {
  stroke: rgba(242, 162, 58, 0.14);
}

.signal-route {
  fill: none;
  stroke: url(#routeGlow);
  stroke-linecap: round;
  stroke-width: 3;
  stroke-dasharray: 9 12;
  filter: url(#softGlow);
  animation: route-flow 4s linear infinite;
}

.route-secondary {
  opacity: 0.45;
  stroke-width: 1.6;
  animation-duration: 6s;
}

.map-node .node-pulse {
  fill: rgba(77, 201, 184, 0.08);
  stroke: rgba(77, 201, 184, 0.6);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-breathe 3.8s ease-in-out infinite;
}

.tikri-node .node-pulse {
  stroke: rgba(242, 162, 58, 0.62);
  animation-delay: 0.7s;
}

.map-node .node-core {
  fill: var(--paper);
  stroke: var(--teal);
  stroke-width: 4;
  filter: url(#softGlow);
}

.map-node text,
.map-anchor text {
  fill: var(--paper);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

.map-node .node-meta {
  fill: rgba(244, 235, 215, 0.66);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.map-anchor circle {
  fill: rgba(242, 162, 58, 0.86);
}

.map-anchor text {
  fill: rgba(244, 235, 215, 0.58);
  font-size: 13px;
}

.node-cards {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.35rem);
}

.node-cards article {
  min-height: 220px;
  padding: 1.25rem;
  border: 1px solid rgba(244, 235, 215, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 235, 215, 0.08), rgba(244, 235, 215, 0.025)),
    rgba(12, 14, 13, 0.76);
}

.node-cards p {
  margin-bottom: 0;
}

.gallery {
  overflow: hidden;
  padding-top: clamp(2.25rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  background:
    linear-gradient(180deg, rgba(9, 11, 13, 0.2), rgba(77, 201, 184, 0.08) 52%, rgba(9, 11, 13, 0)),
    rgba(244, 235, 215, 0.025);
}

.gallery-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.1rem, 2vw, 1.6rem);
}

.gallery-heading h2 {
  max-width: 900px;
  font-size: clamp(1.8rem, 3.4vw, 3.15rem);
}

.gallery-heading > p {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.pulse-thread {
  position: relative;
  height: 22px;
  margin-bottom: clamp(0.8rem, 1.4vw, 1rem);
}

.pulse-thread::before {
  position: absolute;
  top: 50%;
  right: -5rem;
  left: -5rem;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--teal), var(--saffron), var(--teal), transparent);
  box-shadow: 0 0 32px rgba(77, 201, 184, 0.42);
}

.pulse-thread span {
  position: absolute;
  top: calc(50% - 8px);
  width: 16px;
  height: 16px;
  border: 1px solid rgba(244, 235, 215, 0.55);
  border-radius: 999px;
  background: radial-gradient(circle, var(--paper), var(--teal) 34%, transparent 68%);
  box-shadow: 0 0 30px rgba(77, 201, 184, 0.75);
  animation: drift-pulse 5.5s ease-in-out infinite;
}

.pulse-thread span:nth-child(1) {
  left: 12%;
}

.pulse-thread span:nth-child(2) {
  left: 48%;
  animation-delay: 0.9s;
}

.pulse-thread span:nth-child(3) {
  left: 82%;
  animation-delay: 1.8s;
}

.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(1rem, 1.8vw, 1.35rem);
}

.gallery-card {
  display: grid;
  position: relative;
  grid-template-rows: auto 1fr;
  min-height: 390px;
  border: 1px solid rgba(244, 235, 215, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 235, 215, 0.08), rgba(244, 235, 215, 0.025)),
    rgba(12, 14, 13, 0.82);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.gallery-card::before,
.gallery-card::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.gallery-card::before {
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(77, 201, 184, 0.16) 42.3%, transparent 42.7% 58%, rgba(242, 162, 58, 0.11) 58.3%, transparent 58.7%),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(244, 235, 215, 0.045) 19px);
  mix-blend-mode: screen;
  opacity: 0.52;
}

.gallery-card::after {
  z-index: 2;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(77, 201, 184, 0.34);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(244, 235, 215, 0.78) 0 2px, transparent 3px),
    conic-gradient(from 90deg, rgba(77, 201, 184, 0.46), transparent 34%, rgba(242, 162, 58, 0.44), transparent 72%, rgba(77, 201, 184, 0.46));
  box-shadow: 0 0 28px rgba(77, 201, 184, 0.28);
  opacity: 0.82;
}

.gallery-card:nth-child(5),
.gallery-card:nth-child(9) {
  grid-column: span 2;
}

.gallery-card:nth-child(5) img,
.gallery-card:nth-child(9) img {
  height: 300px;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.gallery-card div {
  position: relative;
  z-index: 3;
  padding: clamp(1rem, 2vw, 1.35rem);
}

.gallery-card span {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--saffron);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-card h3 {
  margin-bottom: 0.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 1.7vw, 1.65rem);
  line-height: 1;
}

.gallery-card p {
  margin-bottom: 0;
  line-height: 1.6;
}

.pilot {
  background:
    linear-gradient(180deg, rgba(77, 201, 184, 0.08), rgba(9, 11, 13, 0) 55%),
    linear-gradient(90deg, rgba(242, 162, 58, 0.08), transparent 42%),
    rgba(244, 235, 215, 0.02);
}

.pilot .section-heading {
  max-width: 980px;
  grid-template-columns: 1fr;
  gap: 0;
}

.pilot-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.pilot-brief,
.guideline-stack article,
.trainer-protocol article {
  border: 1px solid rgba(244, 235, 215, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 235, 215, 0.08), rgba(244, 235, 215, 0.025)),
    rgba(12, 14, 13, 0.76);
}

.pilot-brief {
  display: grid;
  min-height: 560px;
  align-content: space-between;
  padding: clamp(1.5rem, 3vw, 2.4rem);
}

.pilot-brief h3 {
  max-width: 650px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.pilot-brief p:not(.phase-label) {
  max-width: 690px;
}

.pilot-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.pilot-stats div {
  min-height: 112px;
  padding: 1rem;
  border: 1px solid rgba(77, 201, 184, 0.22);
  border-radius: 8px;
  background: rgba(77, 201, 184, 0.08);
}

.pilot-stats strong,
.pilot-stats span {
  display: block;
}

.pilot-stats strong {
  margin-bottom: 0.8rem;
  color: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  line-height: 1;
}

.pilot-stats span {
  color: rgba(244, 235, 215, 0.7);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guideline-stack {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.guideline-stack article {
  min-height: 172px;
  padding: clamp(1.25rem, 2vw, 1.6rem);
}

.guideline-stack .card-index {
  margin-bottom: 1.4rem;
}

.trainer-protocol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

.trainer-protocol article {
  min-height: 230px;
  padding: clamp(1.25rem, 2vw, 1.6rem);
}

.trainer-protocol .card-index {
  margin-bottom: 1.5rem;
}

.trainer-protocol p {
  margin-bottom: 0;
}

.trainer-protocol ul {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  color: rgba(244, 235, 215, 0.78);
  line-height: 1.55;
  list-style: none;
}

.trainer-protocol li {
  position: relative;
  padding-left: 1rem;
}

.trainer-protocol li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--teal);
}

.activity-plan {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(244, 235, 215, 0.14);
}

.activity-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(280px, 1fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.activity-heading .section-kicker {
  margin-bottom: 0;
}

.activity-heading h3 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.activity-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.15rem);
}

.activity-board article {
  min-height: 220px;
  padding: 1.1rem;
  border: 1px solid rgba(244, 235, 215, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(77, 201, 184, 0.08), rgba(244, 235, 215, 0.025)),
    rgba(12, 14, 13, 0.72);
}

.activity-board span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  border: 1px solid rgba(242, 162, 58, 0.4);
  border-radius: 8px;
  color: var(--saffron);
  font-size: 0.78rem;
  font-weight: 950;
}

.activity-board h4 {
  margin: 0 0 0.85rem;
  color: var(--paper);
  font-size: clamp(1rem, 1.6vw, 1.26rem);
  line-height: 1.18;
}

.activity-board p {
  margin-bottom: 0;
  line-height: 1.6;
}

.section-heading {
  display: grid;
  max-width: 1120px;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading .section-kicker {
  margin-bottom: 0;
}

.system-grid,
.sovereignty-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.system-card,
.sovereignty-grid article,
.timeline-item {
  min-height: 270px;
  padding: 1.35rem;
  border: 1px solid rgba(244, 235, 215, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 235, 215, 0.08), rgba(244, 235, 215, 0.025)),
    rgba(12, 14, 13, 0.72);
}

.card-index,
.timeline-item span {
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.system-card h3,
.sovereignty-grid h3,
.timeline-item h3 {
  margin-bottom: 0.8rem;
}

.system-card p,
.sovereignty-grid p,
.timeline-item p {
  margin-bottom: 0;
}

.architecture {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(70px, 0.35fr) minmax(190px, 1fr) minmax(70px, 0.35fr) minmax(190px, 1fr);
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(77, 201, 184, 0.24);
  border-radius: 8px;
  background: rgba(13, 25, 22, 0.72);
  overflow: hidden;
}

.arch-node {
  min-height: 120px;
  padding: 1rem;
  border: 1px solid rgba(244, 235, 215, 0.18);
  border-radius: 8px;
  background: rgba(244, 235, 215, 0.06);
}

.arch-node span {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--saffron);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.arch-node strong {
  display: block;
  color: var(--paper);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.04;
}

.arch-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--saffron), transparent);
}

.sovereignty {
  background:
    linear-gradient(180deg, rgba(201, 87, 51, 0.08), rgba(9, 11, 13, 0)),
    rgba(244, 235, 215, 0.02);
}

.sovereignty-grid article {
  min-height: 230px;
}

.curriculum-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 1rem;
}

.phase-tabs {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.phase-tab {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(244, 235, 215, 0.16);
  border-radius: 8px;
  background: rgba(244, 235, 215, 0.045);
  color: rgba(244, 235, 215, 0.76);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  text-align: left;
  transition:
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.phase-tab span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--saffron);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phase-tab.active {
  border-color: rgba(77, 201, 184, 0.58);
  background: rgba(77, 201, 184, 0.12);
  color: var(--paper);
  transform: translateX(4px);
}

.phase-panel {
  min-height: 430px;
  padding: clamp(1.3rem, 4vw, 3rem);
  border: 1px solid rgba(244, 235, 215, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(77, 201, 184, 0.1), transparent 38%),
    linear-gradient(315deg, rgba(242, 162, 58, 0.12), transparent 48%),
    var(--panel-strong);
  box-shadow: var(--shadow);
}

.phase-panel h3 {
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 4.25rem);
  line-height: 0.98;
}

.phase-panel p:not(.phase-label) {
  max-width: 780px;
  font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.module-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.module-list li {
  min-height: 116px;
  padding: 1rem;
  border: 1px solid rgba(244, 235, 215, 0.14);
  border-radius: 8px;
  background: rgba(244, 235, 215, 0.06);
  color: rgba(244, 235, 215, 0.82);
  line-height: 1.5;
}

.roadmap {
  background: rgba(244, 235, 215, 0.035);
}

.timeline-item {
  position: relative;
}

.timeline-item.active {
  border-color: rgba(242, 162, 58, 0.5);
  background:
    linear-gradient(180deg, rgba(242, 162, 58, 0.13), rgba(244, 235, 215, 0.035)),
    rgba(12, 14, 13, 0.72);
}

.closing {
  display: grid;
  min-height: 58svh;
  align-content: center;
  justify-items: start;
  background:
    linear-gradient(180deg, rgba(9, 11, 13, 0.1), rgba(9, 11, 13, 0.88)),
    linear-gradient(90deg, rgba(242, 162, 58, 0.12), transparent 44%, rgba(77, 201, 184, 0.1));
}

.closing h2 {
  width: min(920px, 100%);
  margin-bottom: 2rem;
}

@keyframes blink {
  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.65;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
  }
}

@keyframes drift-pulse {
  0%,
  100% {
    transform: translateY(0) scale(0.82);
    opacity: 0.65;
  }
  50% {
    transform: translateY(-10px) scale(1.25);
    opacity: 1;
  }
}

@keyframes route-flow {
  to {
    stroke-dashoffset: -42;
  }
}

@keyframes node-breathe {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.72);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}

@keyframes logo-breathe {
  0%,
  100% {
    box-shadow:
      inset 0 0 18px rgba(77, 201, 184, 0.08),
      0 0 0 rgba(77, 201, 184, 0);
    transform: scale(0.96);
  }
  50% {
    box-shadow:
      inset 0 0 26px rgba(242, 162, 58, 0.18),
      0 0 28px rgba(77, 201, 184, 0.34);
    transform: scale(1.04);
  }
}

@keyframes aura-breathe {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.86);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.12);
  }
}

@keyframes petal-breathe {
  0%,
  100% {
    transform: scale(0.96);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes chip-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(242, 162, 58, 0));
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(242, 162, 58, 0.74));
  }
}

@keyframes chip-pulse {
  0%,
  100% {
    stroke-dashoffset: 0;
    opacity: 0.42;
  }
  50% {
    stroke-dashoffset: -9;
    opacity: 1;
  }
}

@keyframes orbit-flow {
  to {
    stroke-dashoffset: -18;
  }
}

@media (max-width: 1020px) {
  .hero {
    min-height: 90svh;
    align-items: center;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 2rem;
  }

  .intro-band,
  .node-map,
  .section-heading,
  .gallery-heading,
  .pilot-grid,
  .activity-heading,
  .curriculum-shell {
    grid-template-columns: 1fr;
  }

  .system-grid,
  .node-cards,
  .gallery-track,
  .sovereignty-grid,
  .trainer-protocol,
  .activity-board,
  .timeline,
  .module-list {
    grid-template-columns: 1fr;
  }

  .gallery-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .map-shell,
  .signal-map {
    min-height: 390px;
  }

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

  .arch-line {
    width: 1px;
    height: 42px;
    justify-self: center;
    background: linear-gradient(180deg, transparent, var(--teal), var(--saffron), transparent);
  }
}

@media (max-width: 680px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    gap: 0.45rem;
    padding-inline: 0.85rem;
  }

  .brand span:last-child {
    display: none;
  }

  .site-nav {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    padding-inline: 0.2rem;
    gap: 0.55rem;
    font-size: 0.72rem;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .language-control {
    gap: 0.25rem;
    padding: 0.25rem;
  }

  .language-control label {
    display: none;
  }

  .language-control select {
    min-width: 76px;
    padding: 0.45rem 0.45rem;
    font-size: 0.72rem;
  }

  .hero {
    min-height: 88svh;
    padding: calc(var(--header-h) + 2rem) 1rem 2rem;
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(4, 6, 6, 0.92), rgba(8, 10, 10, 0.62)),
      linear-gradient(0deg, rgba(9, 11, 13, 0.98), rgba(9, 11, 13, 0.14));
  }

  h1 {
    max-width: 10ch;
  }

  .button {
    width: 100%;
  }

  .hero-panel {
    width: 100%;
    padding: 0.9rem;
  }

  .intro-band,
  .node-map,
  .gallery,
  .pilot,
  .field-system,
  .sovereignty,
  .curriculum,
  .roadmap,
  .closing {
    padding-inline: 1rem;
  }

  .phase-tab.active {
    transform: none;
  }

  .pilot-brief {
    min-height: auto;
  }

  .pilot-stats {
    grid-template-columns: 1fr;
  }

  .trainer-protocol article,
  .node-cards article,
  .activity-board article {
    min-height: auto;
  }

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

  .map-shell,
  .signal-map {
    min-height: 340px;
  }

  .map-node text {
    font-size: 15px;
  }

  .map-node .node-meta,
  .map-anchor text {
    font-size: 11px;
  }

  .gallery-track {
    grid-template-columns: 1fr;
  }

  .gallery-card {
    min-height: auto;
  }

  .gallery-card:nth-child(5),
  .gallery-card:nth-child(9) {
    grid-column: span 1;
  }

  .gallery-card:nth-child(5) img,
  .gallery-card:nth-child(9) img,
  .gallery-card img {
    height: 250px;
  }
}

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

  #signal-canvas {
    display: none;
  }
}
