/* ==========================================================================
   Rekonstruct — landing page
   Dark, technical, cinematic. Amber accent drawn from the hero footage.
   ========================================================================== */

:root {
  --bg: #050505;
  --bg-2: #0c0c0c;
  --white: #ffffff;
  --dim: rgba(255, 255, 255, 0.62);
  --faint: rgba(255, 255, 255, 0.28);
  --line: rgba(255, 255, 255, 0.09);
  --amber: #ff8a1f;
  --amber-deep: #6b3000;
  --amber-glow: rgba(255, 138, 31, 0.35);
  --hover-blue: #8bbce3;

  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --brand: "Ubuntu", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1440px;
  --platform-title-size: clamp(29.07px, 3.876vw, 56.525px);
  --proposal-title-size: calc(var(--platform-title-size) * .9);
  --proposal-surface: #111a26;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--amber); color: #000; }

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Typography primitives ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}
.eyebrow--muted { margin: 0; color: var(--faint); }
.eyebrow__dot {
  width: 6px; height: 6px;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber-glow);
}
.idx {
  color: var(--amber);
  padding-right: 12px;
  border-right: 1px solid var(--line);
}

.h1,
.hero__title {
  margin: 0 0 28px;
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.h2 {
  margin: 0 0 28px;
  max-width: 14ch;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--dim);
  text-wrap: pretty;
}

/* ---------- Button (split, à la industrial control panel) ---------- */

.btn {
  display: inline-flex;
  align-items: stretch;
  gap: 6px;
  height: 50px;
  font-family: var(--mono);
  font-size: 13.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn__label,
.btn__icon {
  display: flex;
  align-items: center;
  border-radius: 8px;
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), backdrop-filter .4s var(--ease), -webkit-backdrop-filter .4s var(--ease);
}
.btn__label {
  padding: 0 20px;
  background: rgba(40, 40, 40, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn__icon {
  justify-content: center;
  width: 50px;
  background: var(--amber);
  color: var(--amber-deep);
  border: 1px solid rgba(255, 138, 31, 0.5);
  overflow: hidden;
}
.btn:hover .btn__label { 
  background: rgba(40, 40, 40, 0.35); 
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--hover-blue);
}
.btn:hover .btn__icon svg { animation: chevrons .7s var(--ease); }

@keyframes chevrons {
  0%   { transform: translateX(0); }
  49%  { transform: translateX(28px); }
  50%  { transform: translateX(-28px); }
  100% { transform: translateX(0); }
}

/* ---------- Nav (Option B: Floating Edge Pins + Deferred Pill) ---------- */

.nav { position: fixed; inset: 20px 0 auto; z-index: 50; pointer-events: none; --p: 0; }
.nav__inner { display: flex; }
.nav-chip {
  pointer-events: auto; position: relative; display: flex; align-items: center;
  height: 48px; border: 1px solid rgba(255,255,255,.1); border-radius: 5px;
  background: rgba(8,10,14,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 22px 10px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.nav-chip::before {
  content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px;
  border-radius: 5px 0 0 5px;
  background: linear-gradient(to bottom, rgba(255,138,31,.08), rgba(255,138,31,.45) 55%, #ff8a1f);
}
.nav .brand { display: inline-flex; align-items: center; height: 100%; padding: 0 16px 4px 18px; color: var(--white); text-decoration: none; }
.brand__word { font: 500 19px var(--brand); letter-spacing: -.02em; }
.nav .nav__pill {
  display: inline-flex; align-items: center; justify-content: center; align-self: stretch;
  margin-left: 10px; padding: 0 14px 4px 8px; white-space: nowrap;
  font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--hover-blue); opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-6px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.nav .nav__pill.is-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.nav .nav__pill:hover { color: #c7def2; }
.nav a:focus-visible { outline: 1px solid var(--hover-blue); outline-offset: -4px; border-radius: 4px; }
.nav-scale { position: absolute; inset: auto 0 0; height: 9px; overflow: hidden; border-radius: 0 0 4px 4px; pointer-events: none; }
.nav-scale__base, .nav-scale__lit { position: absolute; inset: 0; background: repeating-linear-gradient(90deg,var(--tick) 0 1px,transparent 1px 48px) bottom/100% 6px no-repeat, repeating-linear-gradient(90deg,var(--tick) 0 1px,transparent 1px 6px) bottom/100% 3px no-repeat; }
.nav-scale__base { --tick: #fff; opacity: .65; background-size: 100% 7px, 100% 4px; transition: opacity .25s var(--ease); }
.nav.is-scrolled .nav-scale__base { opacity: .16; background-size: 100% 6px, 100% 3px; }
.nav-scale__lit { --tick: rgba(255,138,31,.7); clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0); }
.nav-scale__needle { position: absolute; bottom: 0; left: clamp(0px, calc(var(--p) * 100% - 1px), calc(100% - 1px)); width: 1px; height: 7px; background: var(--amber); }
/* Match the demo text to the desktop content spine: 128px rail + 40px gap. */
@media (min-width: 1280px) {
  .nav .brand { width: 149px; flex-shrink: 0; }
}
@media (max-width: 380px) {
  .nav .brand { padding-inline: 12px; }
  .nav .nav__pill { margin-left: 0; padding-inline: 6px; font-size: 11px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__backdrop, .hero__sequence { position: absolute; inset: 0; }
.hero__backdrop img, .hero__backdrop canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  transform-origin: top left;
  transform: scale(var(--hero-scale, 1.06));
}
.hero__backdrop canvas { opacity: 0; transition: opacity 1s ease-in-out; }
.hero__backdrop canvas[data-stage="1"] { transition-duration: 1.2s; }
.hero__backdrop canvas.is-visible { opacity: 1; }
.hero__sequence {
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.3) 7%, #000 14%);
  mask-image: linear-gradient(90deg, transparent 4%, rgba(0,0,0,.3) 7%, #000 14%);
}
.hero__video,
.hero__still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  left: 4vw;
  object-position: 35% 0%;
  transform-origin: top left;
  transform: scale(var(--hero-scale, 1.06));
  filter: none;
  will-change: transform;
}
.hero__still { opacity: 0; transition: opacity 1s ease-in-out; }
.hero__still:first-of-type { transition-duration: 1.2s; }
.hero__still.is-visible { opacity: 1; }
.hero__media[data-sequence="complete"] .grain { animation: none; }
.hero__media .grain { opacity: .035; }
/* Reduce the label's vertical interior spacing by about 30% (50px → 41px). */
.hero__actions .btn {
  height: 41px;
  flex-shrink: 0;
  gap: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 6px;
  overflow: hidden;
}
.hero__actions .btn__label,
.hero__actions .btn__icon { border: 0; border-radius: 0; }
.hero__actions .btn__label { padding: 0 14px; }
.hero__actions .btn__icon { width: 36px; }
.hero__actions .btn__icon svg { width: 13px; }
.hero__hud .btn { height: 34px; font-size: 11.5px; }
.hero__hud .btn__label { padding: 0 12px; color: rgba(255,255,255,.72); }
.hero__hud .btn__icon { width: 30px; background: rgba(255,138,31,.12); color: var(--amber); }
.hero__hud .btn__icon svg { width: 11px; height: 9px; }
.hero__hud .btn:hover .btn__icon { background: rgba(255,138,31,.22); }

.hero__hud { background: rgba(5,5,5,.72); }
/* Protect copy while preserving the whitewater highlights. */
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,5,.68) 0%, rgba(5,5,5,.30) 30%, rgba(5,5,5,0) 55%),
    linear-gradient(180deg, transparent 0%, transparent 82%, var(--bg) 100%);
}

/* Film grain — masks the source footage's low resolution and adds texture */
.grain {
  position: absolute;
  inset: -50%;
  pointer-events: none;
  opacity: .13;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-4%, 3%); }
  40%  { transform: translate(3%, -5%); }
  60%  { transform: translate(-6%, -2%); }
  80%  { transform: translate(5%, 4%); }
  100% { transform: translate(0, 0); }
}

.hero__content {
  padding-top: 140px;
  padding-bottom: 72px;
}
.hero__title { max-width: 9.5ch; }
.hero__content .lede { margin-bottom: 40px; }
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.hero__metadata {
  display: flex;
  align-items: flex-start;
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 32px;
  margin: 0;
  padding: 18px 0 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hero__metadata > div { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hero__metadata dd { margin: 0; }
.hero__content .hero__metadata { flex: none; padding: 0; }
.hero .hero__audience .hud__v { color: rgba(255,255,255,.78); }
.hero__metadata .hero__audience {
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  margin-left: 16px;
  gap: 4px;
  line-height: 1.2;
}
.hero__metadata .hero__audience::before {
  content: "";
  position: absolute;
  inset: -8px -16px;
  z-index: -1;
  border-radius: 8px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.8) 0%, rgba(56, 189, 248, 0.8) 45%, rgba(45, 180, 160, 0.75) 75%, rgba(52, 211, 153, 0.75) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  /* Glass backing & luminescence hidden for now:
  border: 1px solid transparent;
  background-image:
    linear-gradient(rgba(8, 11, 16, 0.72), rgba(8, 11, 16, 0.72)),
    linear-gradient(135deg, rgba(96, 165, 250, 0.8) 0%, rgba(56, 189, 248, 0.8) 45%, rgba(45, 180, 160, 0.75) 75%, rgba(52, 211, 153, 0.75) 100%);
  background-origin: border-box, border-box;
  background-clip: padding-box, border-box;
  -webkit-background-clip: padding-box, border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5), 0 0 16px -4px rgba(168, 85, 247, 0.18);
  */
}

.hero__metadata .hero__specs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 6px 32px;
  margin-left: auto;
  min-width: 0;
}

.hero__metadata .hero__spec {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
}

.hero__metadata .hero__spec dt {
  min-width: 6ch;
}

.hero__hud {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.hero__hud > .hero__metadata { padding-block: 22px; }
.hero__hud .hud__cell--end { flex-shrink: 0; }
.hero__hud .hud__k { color: rgba(255,255,255,.45); }
.hero .hero__audience .hud__k { color: #add3f2; text-transform:none; }
.hero .hero__audience .hud__v { font-family: "Work Sans", sans-serif; font-size: 11.5px; font-weight: 500; text-transform: uppercase; }
.hero__hud .hud__v { color: rgba(255,255,255,.78); }
.hud__cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 0 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hud__cell + .hud__cell { padding-left: 20px; border-left: 1px solid var(--line); }
.hud__cell--end { align-items: flex-end; }
.hud__k { color: var(--faint); }
.hud__v { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); }

.pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 var(--amber-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,138,31,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255,138,31,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,138,31,0); }
}

.hud__scroll {
  position: relative;
  width: 1px; height: 22px;
  background: var(--line);
  overflow: hidden;
}
.hud__scroll i {
  position: absolute; left: 0; top: -40%;
  width: 1px; height: 40%;
  background: var(--amber);
  animation: drip 1.8s var(--ease) infinite;
}
@keyframes drip { to { top: 100%; } }

/* Intro reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1.2s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Manifesto ---------- */

.manifesto {
  --manifesto-padding-top: 72px;
  position: relative;
  padding-top: var(--manifesto-padding-top);
  background: var(--bg);
}
.manifesto__inner {
  position: relative;
  min-height: 100svh;
  padding: clamp(80px, 9vw, 144px) 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.manifesto__eyebrow { margin-bottom: clamp(28px, 4vw, 56px); }

.manifesto__text {
  margin: 0;
  font-weight: 400;
  font-size: clamp(48px, 7.2vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.manifesto__text em { font-style: normal; }

.manifesto__text .w {
  display: inline-block;
  color: rgba(255, 255, 255, 0.38);
  transition: color var(--word-duration, .35s) ease-in-out, text-shadow var(--word-duration, .35s) ease-in-out;
  transition-delay: var(--word-delay, 0ms);
}
.manifesto__text.is-rearming .w { transition: none; }
.manifesto__text.has-interacted .manifesto__word .w { transition-delay: 0ms; }
.manifesto__text .w.is-lit { color: var(--white); }
.manifesto__text em .w.is-lit {
  color: var(--amber);
  text-shadow: 0 0 40px rgba(255, 138, 31, 0.25);
}
.manifesto__word {
  appearance: none;
  position: relative;
  display: inline-block;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  vertical-align: baseline;
  cursor: pointer;
  transition: opacity .22s ease;
}
.manifesto__word:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 6px;
}
.manifesto__text.has-gallery-active .manifesto__word:not(.is-active) { opacity: .38; }
.manifesto__text .manifesto__word.is-active .w {
  color: var(--hover-blue);
  text-shadow: none;
}

.manifesto__gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 16px);
  margin-top: clamp(48px, 6vw, 88px);
}
.manifesto__card {
  appearance: none;
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--bg-2);
  color: var(--white);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
}
.manifesto__card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: brightness(.70);
  transition: filter .35s var(--ease);
}
.manifesto__card.is-active img,
.manifesto__card:hover img,
.manifesto__card:focus-visible img { filter: brightness(1); }
.manifesto__card::before {
  content: "";
  position: absolute;
  inset: 25% 0 0;
  z-index: 1;
  background: linear-gradient(transparent, rgba(0, 0, 0, .84));
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.manifesto__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(148, 173, 192, .55);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.manifesto__caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: grid;
  gap: 6px;
  padding: clamp(16px, 2vw, 30px) clamp(16px, 2vw, 30px) clamp(11px, 1.4vw, 21px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.manifesto__meta {
  display: grid;
  grid-template-columns: 6ch 1fr;
  gap: 14px;
  font-family: var(--mono);
  font-size: clamp(10px, .9vw, 12px);
  line-height: 1.4;
}
.manifesto__meta-label { color: rgba(255, 255, 255, .56); }
.manifesto__card.is-active::before,
.manifesto__card.is-active::after,
.manifesto__card:hover::before,
.manifesto__card:hover::after,
.manifesto__card:focus-visible::before,
.manifesto__card:focus-visible::after { opacity: 1; }
.manifesto__card.is-active .manifesto__caption,
.manifesto__card:hover .manifesto__caption,
.manifesto__card:focus-visible .manifesto__caption { opacity: 1; transform: none; }
.manifesto__card:focus-visible { outline: 2px solid #94adc0; outline-offset: 4px; }
.manifesto__image-note {
  margin: 12px 0 0;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-align: right;
  text-transform: uppercase;
}

/* ---------- Generic sections ---------- */

.section { padding: clamp(96px, 14vw, 200px) 0; border-top: 1px solid var(--line); }
.section--tight { padding: clamp(80px, 10vw, 140px) 0; }
#platform {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  --platform-horizon-height: clamp(48px, 4.8vw, 68px);
  padding: clamp(48px, 5vw, 72px) 0 clamp(80px, 8.5vw, 104px);
  background: #10141b;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(219, 228, 240, 0.11);
}
/* Equal desktop inner spacing; the horizon sits within the bottom padding. */
@media (min-width: 1101px) {
  #platform { padding-block: clamp(80px, 8.5vw, 104px); }
}
#platform .platform-dither {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: var(--platform-horizon-height);
  z-index: -1;
  pointer-events: none;
  image-rendering: pixelated;
}
#platform .section__head {
  position: relative;
  margin-bottom: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.section__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  align-items: center;
  margin-bottom: clamp(56px, 8vw, 112px);
}
.section__head .eyebrow { grid-column: 1 / -1; }
.section__head .h2 { margin: 0; max-width: 18ch; font-size: clamp(34.2px, 4.56vw, 66.5px); }
.section__head .lede { justify-self: start; max-width: 43ch; font-size: calc(clamp(18px, 1.6vw, 22px) + 2pt); line-height: 1.4; color: rgba(255, 255, 255, .7); text-wrap: wrap; }
/* Keep the Platform introduction subordinate to the product content below. */
#platform .section__head .h2 { font-size: var(--platform-title-size); }
#platform .section__head .lede {
  max-width: 40ch;
  font-size: clamp(18.2px, calc(1.408vw + 2.35px), 21.7px);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.step {
  position: relative;
  padding: 28px 28px 8px 0;
  min-height: 260px;
}
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 0; height: 1px;
  background: var(--amber);
  transition: width .9s var(--ease);
}
.step:hover::before { width: 100%; }
.step__n {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.step__t {
  margin: 72px 0 14px;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.02em;
}
.step__p { margin: 0; color: var(--dim); max-width: 30ch; }

.sectors { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sector {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--faint);
  transition: color .5s var(--ease), padding-left .6s var(--ease);
  cursor: default;
}
.sector:hover { color: var(--white); padding-left: 16px; }
.sector__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  line-height: 1.6;
  text-align: right;
  text-wrap: balance;
}
.sector:hover .sector__tag { color: var(--amber); }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 80px 0 36px;
  background-color: #060709;
  border-top: 1px solid var(--line);
}
.footer .container {
  container-type: inline-size;
}
.footer__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.footer__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  /* Lower the ridge in the composition to give the sky more room. */
  transform: translateY(12%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%);
  mask-image: linear-gradient(to bottom, transparent, #000 18%);
  opacity: 0.52;
  filter: saturate(0.9) contrast(1.15) brightness(1.1);
}
.footer__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 7, 9, 0.25) 0%,
    rgba(6, 7, 9, 0.08) 35%,
    rgba(6, 7, 9, 0.65) 72%,
    #060709 100%
  );
}

/* Wordmark as a window: Facility photo viewed strictly through giant full-width letterforms */
.footer__word {
  margin: 0 0 clamp(36px, 5vw, 60px) 0;
  font-family: var(--brand);
  font-weight: 500;
  font-size: clamp(52px, 17.5vw, 238px);
  font-size: 18.9cqi;
  line-height: 0.86;
  letter-spacing: -0.035em;
  margin-left: -0.04em;
  white-space: nowrap;
  display: block;
  width: 100%;
  user-select: none;
  background-image: url("public/images/twilight-power.jpg");
  background-size: var(--footer-image-size, cover);
  background-position: var(--footer-image-position, center top);
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: contrast(1.18) brightness(1.12) drop-shadow(0 2px 20px rgba(0, 0, 0, 0.8));
}

/* ---------- Footer: drafted wordmark (outline + construction lines -> built) ---------- */
.footer-draft {
  position: relative;
  --g: 0;
  --o: 0;
  --fill: 0;
}
.footer-draft__fill {
  clip-path: inset(calc((1 - var(--fill)) * 100%) -2% -10% -2%);
}
.footer-draft .footer-draft__line {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 0 0 -0.04em;
  background: none;
  filter: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.25px rgba(164, 201, 235, 0.9);
  opacity: calc(var(--o) * (1 - var(--fill) * 0.5));
}
.footer-draft__guides {
  position: absolute;
  left: 0;
  top: 0;
  overflow: visible;
  pointer-events: none;
  opacity: calc(1 - var(--fill) * 0.55);
}
.footer-draft__guides line {
  stroke: rgba(150, 190, 230, 0.32);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: calc(1 - var(--g));
}
.footer-draft__guides .is-dim { stroke: rgba(150, 190, 230, 0.6); }


    /* Fit the full-width wordmark inside the container (shared 19.76cqi overflows on the final "t"). */
    .footer .footer__word {
      font-size: 18.9cqi;
      letter-spacing: -0.035em;
      margin-left: -0.04em;
    }
    /* ---------- Footer: drafted wordmark (outline + construction lines -> built) ---------- */
    .footer-draft {
      position: relative;
      --g: 0;
      --o: 0;
      --fill: 0;
    }
    .footer-draft__fill {
      clip-path: inset(calc((1 - var(--fill)) * 100%) -2% -10% -2%);
    }
    .footer-draft .footer-draft__line {
      position: absolute;
      top: 0;
      left: 0;
      margin: 0 0 0 -0.04em;
      background: none;
      filter: none;
      color: transparent;
      -webkit-text-fill-color: transparent;
      -webkit-text-stroke: 1.25px rgba(164, 201, 235, 0.9);
      opacity: calc(var(--o) * (1 - var(--fill) * 0.5));
    }
    .footer-draft__guides {
      position: absolute;
      left: 0;
      top: 0;
      overflow: visible;
      pointer-events: none;
      opacity: calc(1 - var(--fill) * 0.55);
    }
    .footer-draft__guides line {
      stroke: rgba(150, 190, 230, 0.32);
      stroke-width: 1;
      vector-effect: non-scaling-stroke;
      stroke-dasharray: 1;
      stroke-dashoffset: calc(1 - var(--g));
    }
    .footer-draft__guides .is-dim { stroke: rgba(150, 190, 230, 0.6); }

.footer__bottom {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.spec p {
  margin: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.spec--boxed { display: flex; border: 1px solid var(--line); }
.spec--boxed p { padding: 6px 12px; }
.spec--boxed p + p { border-left: 1px solid var(--line); color: var(--amber); }

.footer__legal {
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  text-align: right;
  gap: 8px 24px;
  font-size: 13px;
  color: var(--faint);
}
.footer .spec p,
.footer__legal { color: var(--dim); }
.footer .spec--boxed p + p { color: var(--amber); }
.footer__legal a, .footer__legal > span { white-space: nowrap; }
.footer__legal a:hover { color: var(--white); }

/* ---------- Scroll fade-ins ---------- */

.fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.fade.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .manifesto { --manifesto-padding-top: 40px; }
  .section__head { grid-template-columns: 1fr; row-gap: 28px; }
  .section__head .lede { justify-self: start; }
  .manifesto__gallery { grid-template-columns: 1fr; gap: 20px; }
  .sector { grid-template-columns: 1fr; gap: 14px; }
  .sector__tag { text-align: left; text-wrap: wrap; }
  .footer__bottom { grid-template-columns: 1fr; gap: 24px; align-items: start; }
  .footer .spec--boxed { width: fit-content; }
  .footer__legal {
    justify-self: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
    text-align: left;
    gap: 8px;
    font-size: clamp(10px, 2.8vw, 12px);
  }
}

@media (hover: none), (max-width: 760px) {
  .manifesto__card::before { display: none; }
  .manifesto__card .manifesto__caption {
    position: static;
    padding: 16px 18px 13px;
    opacity: 1;
    transform: none;
  }
  .manifesto__meta { font-size: 11px; }
}


@media (min-width: 761px) and (max-width: 1100px) {
  .section__head .lede { font-size: clamp(16px, calc(1.25vw + 6.5px), 20.5px); }
}

@media (min-width: 600px) and (max-width: 1100px) {
  .manifesto { padding-top: calc(var(--manifesto-padding-top) - 10pt); }
  .hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 80px;
  }
  .hero__title,
  .manifesto__text { font-size: clamp(60px, 8.6vw, 84px); }
  .hero__hud { flex-wrap: wrap; column-gap: 32px; }
  .hero__hud > .hero__metadata { flex: 1 1 360px; }
  .hero__hud .hero__specs { margin-left: 0; }
}


@media (max-width: 680px) {
  .nav__links .hide-mob { display: none; }
  .hero__metadata { flex-wrap: wrap; gap: 16px 24px; }
  .hero__metadata .hero__specs { margin-left: 0; }
}

@media (max-width: 599px) {
  .hero__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 104px;
    padding-bottom: 80px;
  }
  .hero__hud > .hero__metadata,
  .hero__hud .hud__cell--end { display: none; }
  .hero__hud { padding-top: 18px; padding-bottom: 26px; }
  .hero__title,
  .manifesto__text { font-size: clamp(36px, 12vw, 48px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .fade { opacity: 1; transform: none; }
  .manifesto { height: auto; }
  .manifesto__inner { min-height: auto; padding: 160px 0; }
  .manifesto__text .w { color: var(--white); }
  .manifesto__text em .w { color: var(--amber); }
}

/* Keep the platform introduction prominent in the stacked tablet layout. */
@media (min-width: 600px) and (max-width: 1100px) {
  #platform .section__head {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }
  #platform .section__head .h2 {
    max-width: none;
    font-size: clamp(36px, 4.6vw, 48px);
  }
  #platform .section__head .lede {
    max-width: none;
    margin: 0;
    border-left: 0;
    padding-left: 0;
    font-size: clamp(24px, 2.6vw, 28px);
    line-height: 1.45;
  }
}

/* Sector coverage and release availability. */
.sector-directory { width: 100%; border-collapse: collapse; table-layout: fixed; text-align: left; }
.sector-directory__sector-col, .sector-directory__scope-col { width: 35%; }
.sector-directory__availability-col { width: 30%; }
.sector-directory tbody tr { border-top: 1px solid var(--line); cursor: pointer; }
.sector-directory tbody tr:hover,
.sector-directory tbody tr:focus-within { background: rgba(139, 188, 227, .045); }
.sector-directory tbody tr:has(.sector-inquire:focus-visible) { outline: 1px solid rgba(139, 188, 227, .5); outline-offset: -1px; }
.sector-directory tbody tr:last-child { border-bottom: 1px solid var(--line); }
.sector-directory tbody th, .sector-directory td { padding: 28px 24px 28px 0; vertical-align: middle; }
.sector-directory tbody th { color: #e1e5eb; font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.sector-directory tbody tr:hover th,
.sector-directory tbody tr:focus-within th { color: #fff; }
.sector-directory__scope { color: #9ba5b2; font-size: 16px; line-height: 1.5; }
.sector-directory tbody tr:hover .sector-directory__scope,
.sector-directory tbody tr:focus-within .sector-directory__scope { color: #c5cdd7; }
.sector-directory th:last-child, .sector-directory td:last-child { padding-right: 0; }
.sector-status { display: inline-flex; align-items: center; gap: 12px; min-height: 40px; color: #a5afbc; font: 400 16px/1.5 var(--sans); white-space: nowrap; }
.sector-status--available { color: #a4c5b8; }
@media (max-width: 700px) {
  .sector-directory, .sector-directory tbody, .sector-directory tr, .sector-directory tbody th, .sector-directory td { display: block; width: 100%; }
  .sector-directory colgroup { display: none; }
  .sector-directory tbody tr { padding: 24px 0; }
  .sector-directory tbody th { padding: 0 0 10px; }
  .sector-directory td { padding: 0; }
  .sector-directory td:last-child { padding-top: 16px; }
}

/* Keep the inquiry action grouped with availability without hover layout shifts. */
.sector-actions { display: flex; width: fit-content; max-width: 100%; box-sizing: border-box; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 8px 20px; padding: 0 14px; border: 1px solid transparent; border-radius: 4px; }
.sector-directory tr:hover .sector-actions,
.sector-directory tr:focus-within .sector-actions { border-color: rgba(139, 188, 227, .45); background: rgba(139, 188, 227, .06); }
.sector-inquire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 0;
  color: var(--hover-blue, #8bbce3);
  font: 400 15px/1.4 var(--sans);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.sector-directory tr:hover .sector-inquire,
.sector-directory tr:focus-within .sector-inquire {
  opacity: 1;
  pointer-events: auto;
}
.sector-inquire:hover { color: #d4e7f5; text-decoration: none; }
.sector-inquire:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }
@media (hover: none) {
  .sector-actions { border-color: rgba(139, 188, 227, .45); background: rgba(139, 188, 227, .06); }
  .sector-inquire { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .sector-inquire { transition: none; }
}

.sector-status__glyph { display: block; width: 56px; height: 11px; flex: none; }

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

/* Random occupancy is updated in JavaScript; short fades soften each exchange. */
.sector-status__glyph--live { width: 34px; }
.sector-status__glyph--live rect { fill: var(--compute-color, #5b9dff); transition: opacity .4s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
  .sector-status__glyph--live rect { transition: none; }
}

/* Tablet: sector and scope share a column; availability keeps a single-line action. */
@media (min-width: 701px) and (max-width: 1279px) {
  .sector-directory, .sector-directory tbody { display: block; width: 100%; }
  .sector-directory colgroup { display: none; }
  .sector-directory tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas: "sector availability" "scope availability";
    align-items: center;
    gap: 12px 28px;
    padding: 28px 0;
  }
  .sector-directory tbody th, .sector-directory tbody td { display: block; padding: 0; }
  .sector-directory tbody th { grid-area: sector; align-self: end; }
  .sector-directory tbody .sector-directory__scope { grid-area: scope; align-self: start; }
  .sector-directory tbody td:last-child { grid-area: availability; }
  .sector-availability, .sector-availability .sector-actions { flex-wrap: nowrap; }
  .sector-inquire { white-space: nowrap; }
}

/* Reserve the same left-aligned glyph column without stretching the live cells. */
.sector-glyph-slot { display: flex; align-items: center; justify-content: center; width: 56px; flex: 0 0 56px; }

/* Equal text slots keep independently sized tablet rows aligned. */
.sector-actions .sector-status { width: 120px; flex: 0 0 120px; justify-content: flex-start; }


/* Use the Proposal introduction's top inset for a consistent section opening. */
#sectors { padding-top: calc(clamp(80px, 9vw, 144px) + 16px); }
@media (min-width: 1024px) {
  .sector-directory tbody th { font-size: clamp(26px, 2.3vw, 34px); }
}

@media (min-width: 551px) and (max-width: 1023px) {
  .sector-directory tbody th { font-size: clamp(32px, 3vw, 42px); }
}

/* Retain section-title prominence as desktop and tablet widths narrow. */
@media (min-width: 551px) {
  #sector-title { font-size: clamp(44px, 4.4vw, 64px); }
}

/* The platform thesis stays above product and sector titles in the type hierarchy. */
@media (max-width: 550px) {
  #platform .section__head .h2 {
    max-width: none;
    font-size: clamp(38px, 10.2vw, 46px);
    text-wrap: balance;
  }
}

@media (min-width: 551px) {
  #platform .section__head .h2 { font-size: clamp(52px, 4.6vw, 68px); }
}

@media (min-width: 551px) and (max-width: 1000px) {
  #platform .section__head .h2 {
    font-size: clamp(48px, 5.2vw, 52px);
    text-wrap: balance;
  }
}

/* Audience context balances the nav chip and scrolls away with the hero. */
.hero__audience-placement .hero__audience {
  margin: 0;
  box-sizing: border-box;
  flex: 0 0 auto;
  height: 48px;
  justify-content: center;
  gap: 3px;
  padding: 8px 18px 7px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 5px;
  background: rgba(8,10,14,.76);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
}
.hero__audience-placement .hero__audience::before {
  content: "";
  position: absolute;
  inset: 0 -1px 0 auto;
  width: 2px;
  padding: 0;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(to bottom, rgba(91,157,255,.15), rgba(91,157,255,.65) 55%, #5b9dff);
  box-shadow: 0 0 8px rgba(91,157,255,.25);
  mask: none;
  -webkit-mask: none;
  z-index: 1;
}
@media (min-width: 1101px) {
  .hero__content .hero__audience-placement {
    position: absolute;
    top: 20px;
    right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter)));
    z-index: 15;
  }
}
.hero .hero__audience-placement .hero__audience .hud__k { color: #9fc5e2; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; text-align: center; }
.hero .hero__audience-placement .hero__audience .hud__v { color: #f1f4f7; font-weight: 500; }
