/* Container, sections, grids */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section,
.section {
  position: relative;
  scroll-margin-top: var(--header-offset);
}

.section-pad {
  padding: var(--section-pad) 0;
}

@media (min-width: 768px) {
  .section-pad {
    padding: var(--section-pad-md) 0;
  }
}

.section--alt {
  background: hsl(var(--card) / 0.35);
  border-top: 1px solid hsl(var(--primary) / 0.1);
  border-bottom: 1px solid hsl(var(--primary) / 0.1);
}

.section--alt-strong {
  background: hsl(var(--card) / 0.4);
  border-top: 1px solid hsl(var(--primary) / 0.1);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grid {
  display: grid;
  gap: var(--gap-card);
}

@media (min-width: 640px) {
  .g2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section-head {
  max-width: 65ch;
  margin-bottom: 2.6rem;
}

.section-head h2 {
  font-size: var(--text-heading);
  margin: 0.6rem 0;
  text-transform: none;
  letter-spacing: -0.01em;
}

.section-head .num {
  font-family: 'Share Tech Mono', monospace;
  color: hsl(var(--cyber-cyan));
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-body {
  position: relative;
}

/* Header shell */
header#site {
  position: sticky;
  top: 0;
  z-index: 60;
}

.announce {
  background: hsl(var(--card));
  border-bottom: 1px solid hsl(var(--primary) / 0.18);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: hsl(var(--primary) / 0.85);
  text-transform: uppercase;
  overflow: hidden;
}

.announce .container {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 34px;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.announce span:last-child {
  white-space: normal;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .announce {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .announce span:last-child {
    white-space: nowrap;
  }

  .announce .container {
    height: 34px;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  transition: height 0.35s ease;
}

/* ============================== HERO ============================== */
#hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, hsl(32 70% 42% / 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 12%, hsl(var(--cyber-cyan) / 0.06) 0%, transparent 50%),
    linear-gradient(
      180deg,
      hsl(235 45% 9%) 0%,
      hsl(225 38% 7%) 40%,
      hsl(28 55% 14% / 0.5) 74%,
      hsl(18 40% 8%) 100%
    );
}

.hero-cinematic::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 78%, transparent 42%, hsl(0 0% 0% / 0.5) 100%);
  pointer-events: none;
  z-index: 5;
}

.hero-spotlight {
  position: absolute;
  width: 50vmax;
  height: 50vmax;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    hsl(var(--primary) / 0.1) 0%,
    hsl(var(--cyber-cyan) / 0.04) 35%,
    transparent 68%
  );
  transition: left 0.12s ease-out, top 0.12s ease-out;
  mix-blend-mode: screen;
  opacity: 0;
}

@media (min-width: 768px) {
  .hero-spotlight {
    opacity: 1;
  }
}

#hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#hero .hero-layers {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

#hero .hero-layers svg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 48vh;
  height: 48vh;
  will-change: transform;
}

#hero .valley-haze {
  position: absolute;
  left: -15%;
  right: -15%;
  bottom: 10%;
  height: 32%;
  z-index: 4;
  opacity: 0.8;
  background: linear-gradient(
    90deg,
    transparent,
    hsl(38 90% 62% / 0.12) 20%,
    hsl(45 100% 70% / 0.18) 50%,
    hsl(38 90% 62% / 0.12) 80%,
    transparent
  );
  filter: blur(28px);
  animation: haze-drift 18s ease-in-out infinite alternate;
}

#hero .mountain-fog {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6rem;
  z-index: 5;
  background: linear-gradient(
    to top,
    hsl(var(--background) / 0.92),
    hsl(var(--background) / 0.45) 45%,
    transparent
  );
}

#hero .topline {
  z-index: 5;
}

#hero .container {
  position: relative;
  z-index: 6;
  width: 100%;
  padding-top: calc(2.5rem + var(--safe-top));
  padding-bottom: calc(5rem + var(--safe-bottom));
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 44rem;
  margin: 0 auto;
  will-change: transform, opacity;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid hsl(var(--primary) / 0.4);
  background: hsl(var(--card) / 0.65);
  margin-bottom: 1.4rem;
}

.hero-badge span {
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--text-caption);
  letter-spacing: 0.18em;
  color: hsl(var(--primary));
  text-transform: uppercase;
}

.hero-title-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.85rem;
  line-height: 0.92;
}

.hero-line {
  display: block;
  font-size: var(--text-hero);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  will-change: transform, opacity;
}

.hero-line-brand {
  color: hsl(var(--primary));
  text-shadow:
    0 0 18px hsl(var(--primary) / 0.7),
    0 0 42px hsl(var(--primary) / 0.35);
}

.hero-line-place {
  color: hsl(var(--foreground));
  margin-top: 0.04em;
}

.hero-headline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
  color: hsl(var(--foreground) / 0.92);
  margin-bottom: 1rem;
  max-width: 36ch;
  text-transform: none;
  letter-spacing: 0.01em;
}

.hero-sub {
  max-width: 48ch;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: hsl(60 8% 78%);
  margin-bottom: 2rem;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(1.4rem + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  color: hsl(var(--primary) / 0.5);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scroll-bounce 2.4s ease-in-out infinite;
}

.hero-scroll-cue svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Quiet post-hero bridge */
.bridge {
  border-bottom: 1px solid hsl(var(--primary) / 0.12);
  background: hsl(var(--card) / 0.35);
}

.bridge .container {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

/* About editorial */
.who-panel,
.beliefs-panel,
.doc-panel {
  max-width: 52rem;
  border: 1px solid hsl(var(--primary) / 0.18);
  background: hsl(var(--card) / 0.55);
  padding: 1.6rem 1.5rem;
}

.panel-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
  font-weight: 400;
}

.vision-block {
  margin-top: 3rem;
  max-width: 52rem;
}

.vision-num {
  font-family: 'Share Tech Mono', monospace;
  color: hsl(var(--cyber-cyan));
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.vision-heading {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.principle-list {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid hsl(var(--primary) / 0.15);
}

.principle-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid hsl(var(--primary) / 0.12);
  align-items: start;
}

.principle-idx {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  color: hsl(var(--cyber-cyan) / 0.7);
  padding-top: 0.2rem;
}

.principle-list strong {
  display: block;
  font-family: 'Orbitron', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: hsl(var(--foreground));
}

.principle-list p {
  color: hsl(60 8% 72%);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 52ch;
}

/* Build capability list */
.cap-list {
  display: grid;
  gap: 0;
  border-top: 1px solid hsl(var(--primary) / 0.18);
}

.cap-row {
  display: grid;
  gap: 0.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid hsl(var(--primary) / 0.12);
}

@media (min-width: 720px) {
  .cap-row {
    grid-template-columns: 7rem 1fr;
    gap: 1.5rem;
    align-items: start;
  }
}

.cap-row--featured {
  padding: 1.5rem 0;
}

.cap-row--featured .cap-body h3 {
  font-size: 1.15rem;
  color: hsl(var(--primary));
}

.cap-id {
  font-size: 0.68rem;
  color: hsl(var(--cyber-cyan) / 0.65);
  letter-spacing: 0.06em;
  padding-top: 0.25rem;
}

.cap-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: hsl(var(--foreground));
}

.cap-body p {
  color: hsl(60 8% 72%);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 60ch;
}

/* Approach differentiation */
.diff-grid {
  display: grid;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid hsl(var(--primary) / 0.15);
}

@media (min-width: 720px) {
  .diff-grid {
    grid-template-columns: 1fr 1fr;
  }

  .diff-row:nth-child(odd) {
    border-right: 1px solid hsl(var(--primary) / 0.12);
  }
}

.diff-row {
  padding: 1.35rem 1.1rem 1.35rem 0;
  border-bottom: 1px solid hsl(var(--primary) / 0.12);
}

@media (min-width: 720px) {
  .diff-row:nth-child(even) {
    padding-left: 1.35rem;
  }
}

.diff-row h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: hsl(var(--primary));
}

.diff-row p {
  color: hsl(60 8% 72%);
  font-size: 1rem;
  line-height: 1.5;
}

/* Legal */
.legal-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.doc-body {
  color: hsl(60 8% 72%);
  font-size: 0.98rem;
  line-height: 1.65;
}

.legal-line {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.82rem;
  color: hsl(60 8% 72%);
  line-height: 1.9;
}

/* Connect */
.connect-wrap {
  max-width: 42rem;
  margin: 0 auto;
}

.connect-card {
  position: relative;
  border: 1px solid hsl(var(--primary) / 0.28);
  background: hsl(var(--card) / 0.7);
  padding: 2rem 1.6rem;
  clip-path: polygon(
    0 0,
    calc(100% - var(--chamfer-card)) 0,
    100% var(--chamfer-card),
    100% 100%,
    var(--chamfer-card) 100%,
    0 calc(100% - var(--chamfer-card))
  );
}

@media (min-width: 640px) {
  .connect-card {
    padding: 2.5rem 2.2rem;
  }
}

.connect-label {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  font-size: 0.68rem;
  color: hsl(var(--cyber-cyan) / 0.7);
  letter-spacing: 0.1em;
}

.connect-head {
  text-align: center;
  margin-bottom: 1.6rem;
}

.connect-head h3 {
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  margin-bottom: 0.65rem;
}

.connect-meta {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.connect-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  background: hsl(var(--muted) / 0.35);
  border: 1px solid hsl(var(--border));
  transition: border-color var(--duration-fast), background var(--duration-fast);
}

.connect-row:hover {
  border-color: hsl(var(--primary) / 0.4);
  background: hsl(var(--muted) / 0.5);
}

.connect-row--email {
  border-color: hsl(var(--primary) / 0.35);
  background: hsl(var(--primary) / 0.06);
}

.connect-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid hsl(var(--primary) / 0.35);
  background: hsl(var(--primary) / 0.08);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.7rem;
  color: hsl(var(--primary));
}

.connect-text {
  flex: 1;
  min-width: 0;
}

.connect-text .k {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.15rem;
}

.connect-text .v {
  font-size: 0.95rem;
  word-break: break-word;
}

.connect-email {
  font-family: 'Orbitron', monospace;
  font-size: 1.05rem;
  color: hsl(var(--primary));
  text-shadow: 0 0 14px hsl(var(--primary) / 0.45);
}

.connect-form-wrap {
  border-top: 1px solid hsl(var(--primary) / 0.15);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
}

.connect-form-wrap h4 {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: hsl(var(--primary));
  font-weight: 400;
}

.mb-form {
  margin-bottom: 1rem;
}

/* Footer */
footer {
  border-top: 1px solid hsl(var(--primary) / 0.18);
  position: relative;
}

.footer-rel {
  position: relative;
  z-index: 2;
}

.foot-top {
  display: grid;
  gap: 2rem;
  padding: 3.5rem 0 2.5rem;
}

@media (min-width: 800px) {
  .foot-top {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.foot-bottom {
  border-top: 1px solid hsl(var(--primary) / 0.15);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.foot-bottom p {
  font-family: 'Share Tech Mono', monospace;
  font-size: var(--text-caption);
  color: hsl(var(--muted-foreground));
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-tagline {
  max-width: 38ch;
}

.footer-motto {
  font-family: 'Rajdhani', sans-serif;
  color: hsl(var(--primary) / 0.9);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.8rem;
}

.footer-social {
  margin-top: 1rem;
}

.foot-col-title {
  font-family: 'Share Tech Mono', monospace;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  font-weight: 400;
}

.foot-slash {
  color: hsl(var(--cyber-cyan) / 0.6);
}

.foot-link-muted {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.foot-disclaimer {
  max-width: 52ch;
  color: hsl(var(--muted-foreground) / 0.85);
}

.brand-accent {
  color: hsl(var(--primary));
}

.checklist-spaced {
  gap: 1rem;
}

.mt-lg {
  margin-top: 1.25rem;
}

.mt-xl {
  margin-top: 1.6rem;
}

.mt-md {
  margin-top: 0.8rem;
}

.section--motion-stable .reveal {
  transition-duration: 0.45s;
}

/* ==========================================================================
   Immersive editorial system: density, diagrams, section-specific layouts
   ========================================================================== */

.brand-logo {
  display: block;
  width: 200px;
  height: 40px;
}

.hero-grid {
  min-height: calc(100dvh - var(--header-offset));
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero-inner--primary {
  max-width: 50rem;
}

.hero-aside {
  width: 100%;
  max-width: 30rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid hsl(var(--primary) / 0.22);
  border-left: 2px solid hsl(var(--primary) / 0.7);
  background: linear-gradient(135deg, hsl(var(--surface-1) / 0.88), hsl(var(--surface-2) / 0.62));
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 80px hsl(220 40% 2% / 0.35);
  opacity: 1;
  position: relative;
}

.hero-aside::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  top: -1px;
  right: -1px;
  border-top: 1px solid hsl(var(--cyber-cyan) / 0.7);
  border-right: 1px solid hsl(var(--cyber-cyan) / 0.7);
}

.hero-aside-label,
.hero-aside-status {
  color: hsl(var(--cyber-cyan) / 0.78);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-aside-label {
  margin-bottom: 1rem;
}

.hero-facts {
  display: grid;
}

.hero-fact {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-top: 1px solid hsl(var(--primary) / 0.12);
}

.hero-fact dt {
  font-family: 'Share Tech Mono', monospace;
  color: hsl(var(--muted-foreground));
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.hero-fact dd {
  font-weight: 600;
  color: hsl(var(--foreground) / 0.92);
}

.hero-aside-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.status-line {
  width: 2.5rem;
  height: 1px;
  background: hsl(var(--primary));
}

@media (min-width: 900px) {
  #hero .container {
    padding-top: calc(1rem + var(--safe-top));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(19rem, 0.78fr);
  }

  .hero-inner--primary {
    align-items: flex-start;
    text-align: left;
    margin: 0;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-title-block {
    align-items: flex-start;
  }

  .hero-aside {
    justify-self: end;
    margin-top: 8rem;
  }
}

.density-band {
  position: relative;
  border-block: 1px solid hsl(var(--primary) / 0.12);
  background: hsl(var(--surface-1) / 0.62);
}

.density-band__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.density-chip {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.38rem 0.75rem;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  background: hsl(var(--background) / 0.35);
}

.section-split {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}

@media (min-width: 850px) {
  .section-split {
    grid-template-columns: 1fr 1fr;
  }
}

.about-split,
.approach-split {
  margin-bottom: 3.5rem;
}

.who-panel,
.beliefs-panel {
  max-width: none;
  height: 100%;
}

.system-map {
  min-height: 24rem;
  border: 1px solid hsl(var(--cyber-cyan) / 0.18);
  background:
    radial-gradient(circle at 50% 50%, hsl(var(--cyber-cyan) / 0.07), transparent 58%),
    hsl(var(--surface-1) / 0.74);
  padding: 1rem;
  overflow: hidden;
  position: relative;
}

.system-map figcaption {
  font-size: 0.66rem;
  color: hsl(var(--cyber-cyan) / 0.75);
  letter-spacing: 0.1em;
  position: relative;
  z-index: 2;
}

.system-map svg {
  width: 100%;
  height: calc(100% - 1.4rem);
  min-height: 19rem;
}

.map-grid path {
  stroke: hsl(var(--primary) / 0.07);
  stroke-width: 1;
  fill: none;
}

.map-paths path {
  fill: none;
  stroke: hsl(var(--cyber-cyan) / 0.28);
  stroke-width: 1.4;
}

.map-paths .map-signal {
  stroke: url(#mapGlow);
  stroke-width: 2;
  stroke-dasharray: 8 14;
  animation: map-flow 8s linear infinite;
}

.map-node rect {
  fill: hsl(var(--surface-2) / 0.96);
  stroke: hsl(var(--cyber-cyan) / 0.42);
}

.map-node--edge rect {
  stroke: hsl(var(--primary) / 0.42);
}

.map-node--core rect {
  fill: hsl(var(--primary) / 0.08);
  stroke: hsl(var(--primary) / 0.9);
}

.map-node text {
  fill: hsl(var(--foreground) / 0.78);
  font: 10px 'Share Tech Mono', monospace;
  letter-spacing: 1px;
  text-anchor: middle;
}

.map-pulse {
  fill: hsl(var(--primary));
  filter: drop-shadow(0 0 6px hsl(var(--primary)));
  animation: map-pulse 2.6s ease-in-out infinite;
}

.map-pulse--two {
  animation-delay: 1.1s;
}

@keyframes map-flow {
  to { stroke-dashoffset: -220; }
}

@keyframes map-pulse {
  50% { opacity: 0.25; transform: scale(1.8); transform-origin: center; }
}

.vision-block {
  max-width: none;
}

.principle-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid hsl(var(--primary) / 0.12);
}

.principle-list li {
  grid-template-columns: 2.5rem 1fr;
  padding: 1.4rem 1.25rem;
  border-right: 1px solid hsl(var(--primary) / 0.12);
}

.principle-list li:last-child {
  border-right: 0;
}

.build-pipeline {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: hsl(var(--cyber-cyan) / 0.75);
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
}

.build-pipeline span {
  border: 1px solid hsl(var(--cyber-cyan) / 0.22);
  padding: 0.45rem 0.65rem;
  background: hsl(var(--surface-1));
}

.build-pipeline i {
  flex: 1;
  min-width: 1rem;
  height: 1px;
  background: linear-gradient(90deg, hsl(var(--primary) / 0.55), hsl(var(--cyber-cyan) / 0.35));
  position: relative;
}

.build-pipeline i::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  border-left: 5px solid hsl(var(--cyber-cyan) / 0.6);
  border-block: 3px solid transparent;
}

.cap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid hsl(var(--primary) / 0.12);
}

.cap-row,
.cap-row--featured {
  display: block;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  border: 0;
  border-bottom: 1px solid hsl(var(--primary) / 0.12);
  position: relative;
  min-height: 11rem;
  transition: background 0.3s var(--ease-signal), transform 0.3s var(--ease-signal);
}

.cap-row:nth-child(odd) {
  border-right: 1px solid hsl(var(--primary) / 0.12);
}

.cap-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: var(--accent-h, 0%);
  background: linear-gradient(hsl(var(--primary)), hsl(var(--cyber-cyan)));
}

.cap-row:hover {
  background: hsl(var(--primary) / 0.035);
  transform: translateY(-2px);
}

.cap-row--featured {
  background: linear-gradient(135deg, hsl(var(--primary) / 0.05), transparent 60%);
}

.cap-row .cap-id {
  display: block;
  margin-bottom: 1.4rem;
}

.cap-row--featured .cap-body h3 {
  font-size: 1.1rem;
}

.process-steps {
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.process-steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--surface-1) / 0.72);
}

.process-steps li > span {
  font-family: 'Share Tech Mono', monospace;
  color: hsl(var(--cyber-cyan));
  font-size: 0.7rem;
  padding-top: 0.2rem;
}

.process-steps strong {
  display: block;
  font-family: 'Orbitron', monospace;
  color: hsl(var(--foreground));
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.process-steps p {
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem;
  line-height: 1.4;
}

.diff-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid hsl(var(--primary) / 0.14);
}

.diff-strip .diff-row {
  padding: 1.2rem;
  border-right: 1px solid hsl(var(--primary) / 0.12);
}

.diff-strip .diff-row:last-child {
  border-right: 0;
}

.legal-summary {
  margin-top: -1rem;
  margin-bottom: 2rem;
  color: hsl(var(--primary) / 0.9);
}

.doc-panel--registry {
  border-top: 3px solid hsl(var(--primary) / 0.58);
}

.doc-panel--positioning {
  border-top: 3px solid hsl(var(--cyber-cyan) / 0.58);
}

.connect-wrap {
  max-width: 72rem;
}

.connect-card--split {
  display: grid;
  gap: 2rem;
}

.connect-primary {
  min-width: 0;
}

.connect-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

@media (min-width: 900px) {
  .connect-card--split {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    padding: 2.75rem;
  }

  .connect-form-wrap {
    border-top: 0;
    border-left: 1px solid hsl(var(--primary) / 0.15);
    padding-top: 0;
    padding-left: 2rem;
    margin-top: 0;
  }
}

.site-footer {
  overflow: hidden;
  min-height: 22rem;
}

.footer-horizon {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 9rem;
  opacity: 0.1;
  fill: hsl(var(--primary));
  pointer-events: none;
}

@media (max-width: 849px) {
  .principle-list {
    grid-template-columns: 1fr;
  }

  .principle-list li {
    border-right: 0;
  }

  .cap-list {
    grid-template-columns: 1fr;
  }

  .cap-row:nth-child(odd) {
    border-right: 0;
  }

  .diff-strip {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
  }

  .diff-strip .diff-row {
    flex: 0 0 min(82vw, 18rem);
    border: 1px solid hsl(var(--primary) / 0.12);
    scroll-snap-align: start;
  }
}

/* Tablet and below: center the snapshot under the centered hero copy */
@media (max-width: 899px) {
  .hero-grid {
    align-content: start;
    gap: 1.75rem;
  }

  .hero-aside {
    justify-self: center;
    margin-inline: auto;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  #hero {
    min-height: auto;
  }

  #hero .container {
    padding-top: 2.25rem;
    padding-bottom: 3rem;
  }

  .hero-grid {
    min-height: auto;
    gap: 1.4rem;
  }

  .hero-ctas {
    width: 100%;
  }

  .hero-ctas .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero-aside {
    padding: 1rem 1.1rem;
    max-width: none;
  }

  .hero-fact {
    padding: 0.55rem 0;
  }

  .hero-aside-status {
    display: none;
  }

  #hero .hero-layers svg {
    height: 32vh;
    min-height: 32vh;
  }

  .hero-scroll-cue {
    display: none;
  }

  .system-map {
    min-height: 20rem;
  }

  .build-pipeline {
    overflow-x: auto;
  }

  .build-pipeline span {
    flex: 0 0 auto;
  }
}
