:root {
  --void: #07090d;
  --hull: #0e1218;
  --plate: #151b24;
  --steel: #9aa7b8;
  --chrome: #e8eef6;
  --dim: #5c6a7d;
  --copper: #d08a4c;
  --copper-hot: #f0b06a;
  --signal: #7ec8c0;
  --line: rgba(154, 167, 184, 0.22);
  --line-hard: rgba(232, 238, 246, 0.35);
  --font-display: "Syne", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --dur: 1.05s;
  --dur-fast: 0.45s;
  --max: 72rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --page-pad: max(1rem, var(--safe-left), var(--safe-right));
}

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

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

::selection {
  background: rgba(208, 138, 76, 0.35);
  color: var(--chrome);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1rem);
  line-height: 1.65;
  color: var(--steel);
  background: var(--void);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  animation: page-in 1.4s var(--ease-out-expo) both;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(240, 176, 106, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 80%, rgba(126, 200, 192, 0.04), transparent 50%);
  opacity: 0.9;
}

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

a {
  color: var(--copper-hot);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color var(--dur-fast) var(--ease-lux),
    text-decoration-color var(--dur-fast) var(--ease-lux);
}

a:hover {
  color: var(--chrome);
}

strong {
  color: var(--chrome);
  font-weight: 500;
}

#grid,
.scan {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#grid {
  opacity: 0.4;
}

.scan {
  z-index: 50;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.08) 2px,
    rgba(0, 0, 0, 0.08) 4px
  );
  mix-blend-mode: multiply;
  opacity: 0.35;
}

.chrome-bar,
.hero,
main,
.footer {
  position: relative;
  z-index: 1;
}

/* ——— Top chrome ——— */

.chrome-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  padding: calc(0.65rem + var(--safe-top)) max(1rem, var(--safe-right)) 0.65rem max(1rem, var(--safe-left));
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(7, 9, 13, 0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  animation: chrome-in 1.1s var(--ease-out-expo) both;
  transition: background var(--dur-fast) var(--ease-lux),
    border-color var(--dur-fast) var(--ease-lux),
    box-shadow var(--dur-fast) var(--ease-lux);
}

.chrome-bar.is-scrolled {
  background: rgba(7, 9, 13, 0.92);
  border-bottom-color: rgba(232, 238, 246, 0.18);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.chrome-bar__right,
.chrome-bar__right--solo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 1px;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(126, 200, 192, 0.5);
  animation: pulse 2.4s var(--ease) infinite;
}

.sep {
  opacity: 0.35;
}

.status {
  color: var(--signal);
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  border: 1px solid var(--line);
  border-radius: 1px;
  padding: 0.1rem;
}

.lang__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  min-height: 2.5rem;
  min-width: 2.75rem;
  cursor: pointer;
  border-radius: 1px;
  transition: color var(--dur-fast) var(--ease-lux),
    background var(--dur-fast) var(--ease-lux),
    transform var(--dur-fast) var(--ease-lux),
    box-shadow var(--dur-fast) var(--ease-lux);
  touch-action: manipulation;
}

.lang__btn:hover {
  color: var(--chrome);
}

.lang__btn.is-active {
  background: var(--chrome);
  color: var(--void);
  box-shadow: 0 0 0 1px rgba(232, 238, 246, 0.2), 0 8px 24px rgba(232, 238, 246, 0.12);
}

/* ——— Hero ——— */

.hero {
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  padding-left: max(1.25rem, var(--safe-left));
  padding-right: max(1.25rem, var(--safe-right));
  padding-bottom: max(2.5rem, calc(var(--safe-bottom) + 2rem));
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  will-change: transform;
  transition: transform 0.2s linear;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.08) saturate(0.75);
  animation: metal-drift 32s linear infinite alternate;
  transform-origin: 50% 40%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      rgba(7, 9, 13, 0.92) 0%,
      rgba(7, 9, 13, 0.55) 42%,
      rgba(7, 9, 13, 0.35) 100%
    ),
    linear-gradient(
      180deg,
      rgba(7, 9, 13, 0.35) 0%,
      rgba(7, 9, 13, 0.15) 40%,
      rgba(7, 9, 13, 0.9) 100%
    );
  animation: veil-in 1.8s var(--ease-out-expo) both;
}

.hero__copy {
  position: relative;
  width: min(100%, 40rem);
  padding-left: 1rem;
  border-left: 2px solid transparent;
  border-image: linear-gradient(
      180deg,
      transparent,
      var(--copper) 12%,
      var(--copper-hot) 50%,
      var(--copper) 88%,
      transparent
    )
    1;
}

.hero__copy > * {
  --i: 0;
  animation: boot 1.25s var(--ease-out-expo) both;
  animation-delay: calc(0.12s + var(--i) * 0.12s);
}

.hero__meta {
  --i: 0;
  margin: 0 0 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}

.brand {
  --i: 1;
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 12vw, 7.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
  color: var(--chrome);
  text-transform: uppercase;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: keep-all;
  text-shadow: 0 0 60px rgba(232, 238, 246, 0.08);
}

.hero h1 {
  --i: 2;
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--chrome);
  max-width: 18ch;
}

.lede {
  --i: 3;
  margin: 0 0 1.75rem;
  max-width: 40ch;
  color: var(--steel);
}

.hero__actions {
  --i: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.95rem 1.2rem;
  min-height: 2.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--void);
  background: var(--chrome);
  border: 1px solid var(--chrome);
  border-radius: 1px;
  transition: background var(--dur-fast) var(--ease-lux),
    color var(--dur-fast) var(--ease-lux),
    border-color var(--dur-fast) var(--ease-lux),
    transform var(--dur-fast) var(--ease-lux),
    box-shadow var(--dur-fast) var(--ease-lux),
    letter-spacing 0.55s var(--ease-lux);
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  isolation: isolate;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 65%
  );
  transform: translateX(-120%) skewX(-12deg);
  transition: transform 0.85s var(--ease-out-expo);
  z-index: -1;
  pointer-events: none;
}

.btn:hover {
  background: var(--copper-hot);
  border-color: var(--copper-hot);
  color: var(--void);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(208, 138, 76, 0.28);
  letter-spacing: 0.16em;
}

.btn:hover::after {
  transform: translateX(120%) skewX(-12deg);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(208, 138, 76, 0.18);
}

.btn--ghost {
  background: transparent;
  color: var(--chrome);
  border-color: var(--line-hard);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn--ghost::after {
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(240, 176, 106, 0.22) 50%,
    transparent 65%
  );
}

.btn--ghost:hover {
  background: rgba(240, 176, 106, 0.06);
  color: var(--copper-hot);
  border-color: var(--copper);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(208, 138, 76, 0.15);
}

/* ——— Panels ——— */

.panel {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(3.5rem, 10vw, 7rem) 0;
  border-top: 1px solid transparent;
  position: relative;
}

.panel:not(.panel--quote):not(.panel--signal)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--line-hard) 12%,
    var(--line) 50%,
    var(--line-hard) 88%,
    transparent
  );
  transform: scaleX(0.35);
  transform-origin: left center;
  opacity: 0.55;
  transition: transform var(--dur) var(--ease-out-expo), opacity var(--dur) var(--ease-lux);
}

.panel:not(.panel--quote):not(.panel--signal).is-inview::before {
  transform: scaleX(1);
  opacity: 1;
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  margin-bottom: 2rem;
}

.tag {
  display: inline-flex;
  padding: 0.35rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome);
  border: 1px solid var(--line-hard);
  border-radius: 1px;
  transition: border-color var(--dur-fast) var(--ease-lux),
    color var(--dur-fast) var(--ease-lux),
    box-shadow var(--dur-fast) var(--ease-lux),
    background var(--dur-fast) var(--ease-lux);
}

.panel.is-inview .tag:not(.tag--dim):not(.tag--live):not(.tag--action) {
  box-shadow: 0 0 0 1px rgba(232, 238, 246, 0.04), 0 8px 28px rgba(0, 0, 0, 0.2);
}

.tag--dim {
  color: var(--dim);
  border-color: var(--line);
}

.tag--live {
  color: var(--void);
  background: var(--signal);
  border-color: var(--signal);
}

h2 {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--chrome);
  max-width: 14ch;
  text-transform: uppercase;
}

.panel p {
  margin: 0 0 1.1rem;
  max-width: 42rem;
}

.panel p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.05rem;
  color: var(--chrome);
  max-width: 46rem !important;
  margin-bottom: 2.5rem !important;
}

.panel__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (min-width: 860px) {
  .panel__grid {
    grid-template-columns: 1.25fr 0.9fr;
  }
}

.hud {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(21, 27, 36, 0.9), rgba(14, 18, 24, 0.95)),
    url("assets/alloy-panel.jpg") center / cover;
  background-blend-mode: multiply;
  padding: 1.25rem 1.35rem 1.5rem;
  transition: border-color 0.7s var(--ease-lux),
    box-shadow 0.7s var(--ease-lux),
    transform 0.7s var(--ease-lux);
}

.hud.is-visible {
  border-color: rgba(232, 238, 246, 0.28);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(232, 238, 246, 0.06);
}

.hud__title {
  margin-bottom: 1.1rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.hud dl {
  margin: 0;
  display: grid;
  gap: 0;
}

.hud dl > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
}

.hud dt {
  margin: 0;
  color: var(--dim);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hud dd {
  margin: 0;
  text-align: right;
  color: var(--chrome);
  font-weight: 500;
  font-size: 0.82rem;
}

.strip {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  overflow: hidden;
}

.strip img {
  width: 100%;
  max-height: min(52vh, 28rem);
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.1) brightness(0.85);
  border: 1px solid var(--line);
  transition: transform 1.4s var(--ease-out-expo),
    filter 1s var(--ease-lux),
    border-color 0.7s var(--ease-lux);
}

.strip.is-visible img {
  filter: grayscale(0.15) contrast(1.12) brightness(0.9);
}

@media (hover: hover) and (pointer: fine) {
  .strip:hover img {
    transform: scale(1.035);
    filter: grayscale(0.05) contrast(1.14) brightness(0.95);
    border-color: rgba(240, 176, 106, 0.35);
  }
}

.strip figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.metrics {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

.metrics article {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform 0.7s var(--ease-lux), opacity 0.7s var(--ease-lux);
}

.metrics.is-visible article {
  animation: soft-rise 1s var(--ease-out-expo) both;
}

.metrics.is-visible article:nth-child(1) { animation-delay: 0.05s; }
.metrics.is-visible article:nth-child(2) { animation-delay: 0.16s; }
.metrics.is-visible article:nth-child(3) { animation-delay: 0.27s; }

@media (min-width: 800px) {
  .metrics article {
    padding: 1.75rem 1.5rem 1.75rem 0;
    border-bottom: 0;
    border-right: 1px solid var(--line);
  }

  .metrics article:first-child {
    padding-left: 0;
  }

  .metrics article:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.metrics__k {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--copper);
}

.metrics h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--chrome);
}

.metrics p {
  margin: 0;
  max-width: 28rem;
  font-size: 0.88rem;
}

.panel--quote {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--line-hard);
  background: linear-gradient(135deg, rgba(21, 27, 36, 0.85), rgba(7, 9, 13, 0.95));
  transition: border-color 0.9s var(--ease-lux),
    box-shadow 0.9s var(--ease-lux),
    background 0.9s var(--ease-lux);
}

.panel--quote.is-visible {
  border-color: rgba(240, 176, 106, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 0 80px rgba(208, 138, 76, 0.04);
}

.quote__more {
  margin: 1.25rem 0 0 !important;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote__more a {
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 176, 106, 0.45);
  transition: color var(--dur-fast) var(--ease-lux),
    border-color var(--dur-fast) var(--ease-lux),
    letter-spacing 0.55s var(--ease-lux);
}

.quote__more a:hover {
  border-bottom-color: var(--copper-hot);
  letter-spacing: 0.12em;
}

.bulletin {
  display: grid;
  gap: 0;
}

.bulletin__intro {
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.bulletin__intro h2 {
  max-width: 14ch;
}

.bulletin__block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  transition: border-color 0.7s var(--ease-lux);
}

.bulletin__block.is-visible {
  border-top-color: rgba(232, 238, 246, 0.2);
}

.bulletin__block h3 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--copper-hot);
}

.bulletin__block p {
  margin: 0;
  max-width: 48rem;
  line-height: 1.75;
  color: var(--mist, var(--steel));
}

.bulletin__source {
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel--quote::before,
.panel--quote::after,
.panel--quote .corners--static::before,
.panel--quote .corners--static::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--copper);
  border-style: solid;
}

.panel--quote::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.panel--quote::after {
  top: -1px;
  right: -1px;
  border-width: 2px 2px 0 0;
}

.corners--static {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.panel--quote .corners--static::before {
  bottom: -1px;
  left: -1px;
  border-width: 0 0 2px 2px;
}

.panel--quote .corners--static::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.mega {
  margin: 0 0 1.5rem !important;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--chrome);
  text-transform: uppercase;
  max-width: 22ch !important;
}

.mega__src {
  margin: 0 !important;
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.transfer {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: stretch;
}

@media (min-width: 900px) {
  .transfer {
    grid-template-columns: 0.9fr 1.2fr;
  }
}

.transfer__visual {
  position: relative;
  min-height: 18rem;
  border: 1px solid var(--line-hard);
  overflow: hidden;
}

.transfer__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.15) brightness(0.7);
}

.transfer__overlay {
  position: absolute;
  inset: auto 1.25rem 1.25rem 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.transfer__overlay span {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}

.transfer__overlay strong {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--chrome);
}

.registry {
  margin: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.registry__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.8rem;
}

.registry__row span:first-child {
  color: var(--dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  align-self: center;
}

.registry__row span:last-child {
  text-align: right;
  color: var(--chrome);
  font-weight: 500;
}

.registry__row .accent {
  color: var(--copper-hot);
}

.vow {
  margin-top: 1.5rem !important;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--chrome);
  text-transform: uppercase;
  max-width: 28ch !important;
}

.sign {
  margin-top: 1.75rem !important;
  color: var(--copper);
  letter-spacing: 0.08em;
}

.footer {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  display: grid;
  gap: 0.75rem;
  opacity: 0.85;
  transition: opacity 0.7s var(--ease-lux);
}

.footer:hover {
  opacity: 1;
}

.footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  color: var(--steel);
}

.footer p {
  margin: 0;
  max-width: 48rem;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.5;
}

/* ——— Motion ——— */

@keyframes page-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes chrome-in {
  from {
    opacity: 0;
    transform: translateY(-0.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes veil-in {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

@keyframes metal-drift {
  from {
    transform: scale(1.03) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, 1%, 0);
  }
}

@keyframes boot {
  from {
    opacity: 0;
    transform: translate3d(0, 1.6rem, 0) skewY(0.35deg);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes soft-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 1.1rem, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(126, 200, 192, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(126, 200, 192, 0);
  }
}

.reveal {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 1.75rem, 0) scale(0.985);
  filter: blur(8px);
  transition:
    opacity var(--dur) var(--ease-out-expo) var(--reveal-delay),
    transform var(--dur) var(--ease-out-expo) var(--reveal-delay),
    filter calc(var(--dur) * 0.9) var(--ease-soft) var(--reveal-delay);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.reveal--lift {
  transform: translate3d(0, 2.25rem, 0) scale(0.97);
}

.reveal--side {
  transform: translate3d(1.5rem, 0.75rem, 0) scale(0.985);
}

@media (max-width: 600px) {
  .reveal {
    filter: none;
    transform: translate3d(0, 1.1rem, 0);
  }

  .reveal--lift,
  .reveal--side {
    transform: translate3d(0, 1.1rem, 0);
  }

  .hero__copy > * {
    filter: none;
  }

  .btn:hover {
    letter-spacing: 0.12em;
  }
}

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

  body,
  body::before,
  .chrome-bar,
  .hero__veil,
  .hero__media img,
  .dot,
  .hero__copy > *,
  .metrics.is-visible article {
    animation: none !important;
  }

  .hero__media {
    transform: none !important;
    transition: none !important;
  }

  .hero__copy > *,
  .reveal,
  .panel:not(.panel--quote):not(.panel--signal)::before {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .btn,
  .btn::after,
  .lang__btn,
  .strip img {
    transition: none !important;
    transform: none !important;
  }

  .scan,
  body::before {
    display: none;
  }
}

/* ——— Descent map ——— */

.tag--action {
  cursor: pointer;
  color: var(--void);
  background: var(--copper);
  border-color: var(--copper);
  font-family: var(--font-mono);
  transition: background var(--dur-fast) var(--ease-lux),
    border-color var(--dur-fast) var(--ease-lux),
    transform var(--dur-fast) var(--ease-lux),
    box-shadow var(--dur-fast) var(--ease-lux);
}

.tag--action:hover {
  background: var(--copper-hot);
  border-color: var(--copper-hot);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(208, 138, 76, 0.3);
}

.descent {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  align-items: stretch;
}

@media (min-width: 900px) {
  .descent {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .descent__copy {
    order: 1;
  }

  .map-shell {
    order: 2;
  }
}

.descent__stats {
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.descent__stats > div {
  padding: 0.85rem 0.75rem 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.descent__stats dt {
  margin: 0 0 0.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dim);
}

.descent__stats dd {
  margin: 0;
  color: var(--chrome);
  font-weight: 500;
  font-size: 0.9rem;
}

.map-shell {
  position: relative;
  border: 1px solid var(--line-hard);
  min-height: 22rem;
  background: #05070b;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.8s var(--ease-lux),
    box-shadow 0.8s var(--ease-lux),
    transform 0.8s var(--ease-lux);
}

.map-shell.is-visible {
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(232, 238, 246, 0.04);
}

.map-shell.is-impact {
  border-color: rgba(240, 176, 106, 0.55);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), 0 0 40px rgba(208, 138, 76, 0.18);
}

.map-shell__hud {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  pointer-events: none;
}

.map-shell__hud > div {
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(232, 238, 246, 0.18);
  background: rgba(7, 9, 13, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.map-shell__hud span {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--dim);
}

.map-shell__hud strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 2.5vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--copper-hot);
  line-height: 1.1;
}

.map-shell__stage-tag {
  position: absolute;
  left: 0.75rem;
  bottom: 3.1rem;
  z-index: 5;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(126, 200, 192, 0.35);
  background: rgba(7, 9, 13, 0.72);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--signal);
  pointer-events: none;
}

#impact-map {
  position: relative;
  width: 100%;
  aspect-ratio: 800 / 520;
  min-height: min(56vh, 26rem);
  background: #05070b;
  overflow: hidden;
}

.stage {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s var(--ease), visibility 0.85s var(--ease);
  transform: scale(1.03);
}

.stage.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.stage svg,
.nature-scene {
  display: block;
  width: 100%;
  height: 100%;
}

.stage svg {
  object-fit: cover;
}

#earth-group {
  transform-box: fill-box;
  transform-origin: center;
}

#map-camera {
  transform-origin: 56% 62%;
}

#shockwave circle {
  transform-box: fill-box;
}

.nature-scene {
  position: relative;
  overflow: hidden;
}

.nature-scene__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.08);
  filter: saturate(0.95) contrast(1.05);
  transition: transform 4s var(--ease);
}

.stage--nature.is-zooming .nature-scene__img {
  transform: scale(1.22) translate(-2%, 3%);
}

.nature-scene__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.28), transparent 35%, rgba(7, 9, 13, 0.35) 100%),
    radial-gradient(ellipse at 57% 68%, transparent 20%, rgba(7, 9, 13, 0.35) 75%);
  pointer-events: none;
}

.nature-scene__fx {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.nature-scene__dust {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 57% 68%, rgba(210, 170, 120, 0.45), transparent 28%),
    radial-gradient(circle at 57% 70%, rgba(120, 90, 60, 0.25), transparent 42%);
  mix-blend-mode: screen;
}

.nature-scene__dust.is-on {
  animation: dust-burst 1.4s var(--ease) forwards;
}

@keyframes dust-burst {
  0% {
    opacity: 0.9;
    transform: scale(0.4);
  }
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

.orbit-map__flash {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 57% 68%, rgba(255, 244, 220, 0.9), rgba(240, 176, 106, 0.4) 28%, transparent 62%);
  mix-blend-mode: screen;
}

.orbit-map__flash.is-on {
  animation: impact-flash 0.55s var(--ease) forwards;
}

@keyframes impact-flash {
  0% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
  }
}

.map-shell__chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.75rem;
  border-top: 1px solid var(--line);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  background: rgba(7, 9, 13, 0.92);
}

.map-shell__replay {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 1px;
  background: var(--copper);
  color: var(--void);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.65rem 0.85rem;
  min-height: 2.5rem;
  cursor: pointer;
  touch-action: manipulation;
  transition: background var(--dur-fast) var(--ease-lux),
    transform var(--dur-fast) var(--ease-lux),
    box-shadow var(--dur-fast) var(--ease-lux),
    letter-spacing 0.55s var(--ease-lux);
}

.map-shell__replay:hover {
  background: var(--copper-hot);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(208, 138, 76, 0.32);
  letter-spacing: 0.16em;
}

.map-shell__chrome #map-status {
  color: var(--signal);
  text-align: right;
  flex: 1 1 auto;
}

.map-shell.is-impact .map-shell__chrome #map-status {
  color: var(--copper-hot);
}

/* ——— Verify / QR / IMCA plate ——— */

.imca-plate {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin: 1.75rem 0 0;
  padding: 0.85rem 1rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line-hard);
  border-radius: 2px;
  background:
    linear-gradient(180deg, #1a222d 0%, #0d1117 55%, #151b24 100%);
  box-shadow:
    inset 0 1px 0 rgba(232, 238, 246, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45);
  transition: border-color 0.55s var(--ease-lux),
    transform 0.55s var(--ease-lux),
    box-shadow 0.55s var(--ease-lux);
}

.imca-plate:hover {
  border-color: var(--copper);
  transform: translateY(-3px);
  color: inherit;
  box-shadow:
    inset 0 1px 0 rgba(232, 238, 246, 0.12),
    inset 0 -1px 0 rgba(0, 0, 0, 0.45),
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(208, 138, 76, 0.12);
}

.imca-plate__logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #fff;
}

.imca-plate__body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.imca-plate__org {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--signal);
}

.imca-plate__number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--chrome);
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

.imca-plate__sub {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

.verify {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

@media (min-width: 860px) {
  .verify {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.qr {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.25rem;
  border: 1px solid var(--line-hard);
  background:
    linear-gradient(180deg, rgba(21, 27, 36, 0.95), rgba(7, 9, 13, 0.98));
  text-decoration: none;
  color: var(--dim);
  transition: border-color 0.55s var(--ease-lux),
    color 0.55s var(--ease-lux),
    transform 0.55s var(--ease-lux),
    box-shadow 0.55s var(--ease-lux);
}

.qr:hover {
  border-color: var(--copper);
  color: var(--copper-hot);
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(208, 138, 76, 0.15);
}

.qr img {
  width: min(100%, 220px);
  height: auto;
  image-rendering: pixelated;
}

.qr span {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .chrome-bar__hide-sm {
    display: none;
  }

  .chrome-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  /* Copy+CTAs own their height; image is backdrop only */
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100svh;
    height: 100svh;
    max-height: 100svh;
    padding: calc(3.1rem + var(--safe-top)) max(0.85rem, var(--safe-right)) max(0.55rem, calc(var(--safe-bottom) + 0.35rem)) max(0.85rem, var(--safe-left));
    overflow: hidden;
    box-sizing: border-box;
  }

  .hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    height: auto;
  }

  .hero__media img {
    object-position: center 22%;
    object-fit: cover;
  }

  .hero__veil {
    background:
      linear-gradient(
        180deg,
        rgba(7, 9, 13, 0.15) 0%,
        rgba(7, 9, 13, 0.35) 28%,
        rgba(7, 9, 13, 0.88) 58%,
        rgba(7, 9, 13, 0.98) 78%,
        var(--void) 100%
      ),
      linear-gradient(
        115deg,
        rgba(7, 9, 13, 0.7) 0%,
        rgba(7, 9, 13, 0.2) 55%,
        transparent 100%
      );
  }

  .hero__copy {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    padding-left: 0.65rem;
    flex: 0 0 auto;
    margin-top: auto;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.4rem;
  }

  .btn {
    flex: 1 1 0;
    width: auto;
    font-size: 0.56rem;
    letter-spacing: 0.03em;
    min-height: 2.35rem;
    padding: 0.55rem 0.35rem;
    text-align: center;
  }

  .brand {
    font-size: clamp(1.75rem, 9.5vw, 2.4rem);
    letter-spacing: -0.06em;
    margin-bottom: 0.25rem;
  }

  .hero h1 {
    font-size: clamp(0.98rem, 3.8vw, 1.18rem);
    max-width: 22ch;
    margin-bottom: 0.3rem;
    line-height: 1.12;
  }

  .lede {
    margin-bottom: 0.55rem;
    font-size: 0.74rem;
    line-height: 1.35;
    max-width: 38ch;
  }

  .hero__meta {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
    line-height: 1.3;
    max-width: 100%;
    overflow-wrap: anywhere;
    margin-bottom: 0.3rem;
  }

  h2 {
    max-width: 14ch;
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .panel {
    width: min(100% - 1.25rem, var(--max));
    padding: clamp(2.25rem, 10vw, 3.5rem) 0;
  }

  #descent.panel {
    padding-top: 1.75rem;
  }

  .panel__head {
    gap: 0.45rem;
    margin-bottom: 1rem;
  }

  .descent {
    gap: 1.25rem;
  }

  .descent__stats {
    grid-template-columns: 1fr 1fr;
    margin-top: 1.1rem;
  }

  .descent__stats dd {
    font-size: 0.95rem;
  }

  .map-shell__hud {
    top: 0.45rem;
    left: 0.45rem;
    right: 0.45rem;
    gap: 0.3rem;
  }

  .map-shell__hud > div {
    padding: 0.3rem 0.35rem;
  }

  .map-shell__hud span {
    font-size: 0.5rem;
  }

  .map-shell__hud strong {
    font-size: 0.72rem;
  }

  .map-shell__stage-tag {
    left: 0.45rem;
    bottom: auto;
    top: auto;
    display: none;
  }

  .map-shell__chrome {
    flex-wrap: nowrap;
    gap: 0.5rem;
    padding: 0.55rem;
  }

  .map-shell__replay {
    flex: 1 1 auto;
    width: auto;
    min-height: 2.6rem;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    padding: 0.6rem 0.7rem;
  }

  .map-shell__chrome #map-status {
    flex: 0 1 auto;
    max-width: 42%;
    font-size: 0.58rem;
    line-height: 1.3;
  }

  #impact-map {
    min-height: 15.5rem;
    aspect-ratio: 4 / 3;
  }

  .orbit-map svg {
    min-height: 0;
  }

  .registry__row,
  .hud dl > div {
    grid-template-columns: 1fr;
  }

  .registry__row span:last-child,
  .hud dd {
    text-align: left;
  }

  .imca-plate {
    grid-template-columns: 56px 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .imca-plate__logo {
    width: 56px;
    height: 56px;
  }

  .imca-plate__number {
    letter-spacing: 0.08em;
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }

  .scan {
    opacity: 0.18;
  }

  .footer {
    padding-bottom: calc(2rem + var(--safe-bottom));
  }
}

@media (max-width: 390px) {
  .chrome-bar__hide-xs {
    display: none;
  }

  .chrome-bar {
    justify-content: center;
  }

  .brand {
    font-size: clamp(1.65rem, 9vw, 2.1rem);
  }

  .lede {
    font-size: 0.7rem;
    margin-bottom: 0.45rem;
  }

  .btn {
    font-size: 0.52rem;
    min-height: 2.25rem;
  }

  .panel__head .tag--dim {
    display: none;
  }

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

@media (max-width: 600px) and (max-height: 720px) {
  .lede {
    display: none;
  }

  .brand {
    font-size: clamp(1.6rem, 8.5vw, 2.05rem);
  }

  .hero h1 {
    font-size: clamp(0.95rem, 3.6vw, 1.12rem);
    margin-bottom: 0.45rem;
  }

  .hero__meta {
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 600px) and (max-height: 620px) {
  .hero__meta {
    display: none;
  }

  .hero h1 br {
    display: none;
  }
}
