:root {
  --black: #050505;
  --ink: #111;
  --muted: #5b5b5b;
  --line: #242424;
  --line-light: #d8d8d8;
  --paper: #f7f7f3;
  --white: #fff;
  --blue: #12a8ff;
  --green: #2fd6b0;
  --violet: #7b65ff;
  --magenta: #f2371d;
  --signal: #f2371d;
  --condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Manrope", sans-serif;
  --display: "Archivo Black", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  height: 80px;
  border-bottom: 1px solid var(--ink);
  background: rgba(247, 247, 243, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  padding-left: clamp(20px, 4vw, 56px);
}

.brand-logo {
  display: block;
  width: clamp(132px, 11vw, 168px);
  height: auto;
}

.topbar nav {
  display: flex;
  height: 100%;
}

.topbar nav a {
  display: grid;
  place-items: center;
  min-width: 142px;
  border-left: 1px solid var(--ink);
  font-weight: 800;
  font-size: 15px;
}

.topbar nav a:hover {
  background: var(--black);
  color: var(--white);
}

.hero {
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(520px, 1.1fr);
  border-bottom: 1px solid var(--ink);
  position: relative;
  overflow: hidden;
}

.hero-copy {
  align-self: center;
  padding: clamp(48px, 7vw, 92px) clamp(24px, 4.8vw, 76px);
  z-index: 2;
}

.kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--muted);
}

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

h1 {
  font-size: clamp(48px, 4.4vw, 66px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: 0;
}

.lede {
  max-width: 520px;
  margin: 34px 0 40px;
  color: #444;
  line-height: 1.78;
  font-size: 18px;
}

.button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  border: 1px solid currentColor;
  font-weight: 900;
  font-size: 14px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

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

.button.dark {
  background: var(--black);
  color: var(--white);
}

.button.light {
  background: var(--white);
  color: var(--black);
}

.hero-stats {
  width: min(100%, 690px);
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(17, 17, 17, .18);
}

.hero-stats span {
  min-height: 82px;
  padding: 18px 10px 10px;
  border-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  text-align: center;
}

.hero-stats span:not(:first-child) {
  padding-left: 10px;
}

.hero-stats span:last-child {
  border-right: 0;
}

.hero-stats b {
  font-family: var(--condensed);
  font-size: clamp(30px, 2.35vw, 44px);
  line-height: .9;
  letter-spacing: .01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.hero-stats small {
  color: #666;
  font-size: 12px;
  font-weight: 900;
}

.orbital-visual {
  position: relative;
  min-height: 520px;
  filter: saturate(1.05);
}

.hero-orbit {
  transform: translateX(4%);
  overflow: hidden;
  animation: orbitDrift 16s ease-in-out infinite;
}

.hero-photo {
  min-height: calc(100vh - 80px);
  transform: none;
  overflow: hidden;
  filter: none;
  isolation: isolate;
  background: #9ed2f1;
}

.hero-photo .scene-bg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 80px);
  object-fit: cover;
  object-position: center;
  background: #9ed2f1;
  filter: brightness(1.14) saturate(1.08) contrast(1.03);
  transform: none;
}

.scene-balloons {
  display: none;
}

.scene-monitor {
  display: block;
  width: 100%;
  height: auto;
}

.balloon {
  position: absolute;
  z-index: 2;
  display: block;
  border-radius: 48% 52% 47% 53% / 44% 44% 56% 56%;
  background:
    radial-gradient(circle at 34% 27%, rgba(255, 255, 255, 0.72) 0 7%, rgba(255, 255, 255, 0.22) 8% 16%, transparent 18%),
    radial-gradient(circle at 66% 65%, rgba(130, 0, 0, 0.28), transparent 38%),
    linear-gradient(130deg, #ff4b3e 0%, #e10a06 45%, #ad0000 100%);
  box-shadow:
    inset -18px -18px 36px rgba(100, 0, 0, 0.22),
    inset 12px 12px 24px rgba(255, 255, 255, 0.18),
    0 8px 18px rgba(92, 22, 12, 0.15);
}

.balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8%;
  width: 16%;
  height: 12%;
  border-radius: 45% 45% 55% 55%;
  background: linear-gradient(#f2371d, #980000);
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.28);
  transform: translateX(-50%);
}

.balloon-a {
  left: 6%;
  top: 21%;
  width: 26%;
  height: 27%;
  transform: rotate(-7deg);
}

.balloon-b {
  left: 28%;
  top: 4%;
  width: 30%;
  height: 32%;
  transform: rotate(4deg);
}

.balloon-c {
  left: 50%;
  top: 26%;
  width: 25%;
  height: 27%;
  transform: rotate(-3deg);
}

.balloon-d {
  left: 68%;
  top: 15%;
  width: 28%;
  height: 30%;
  transform: rotate(7deg);
}

.balloon-strings {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.balloon-strings path {
  fill: none;
  stroke: rgba(211, 155, 55, 0.86);
  stroke-width: 1.7;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  filter: drop-shadow(0 0 1px rgba(255, 238, 170, 0.45));
}

.monitor-wrap {
  display: contents;
}

.table-tie {
  display: none;
}

.table-tie::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 2px;
  height: 12px;
  background: rgba(116, 72, 22, 0.7);
  transform: translateX(-50%);
}

.scene-monitor {
  display: none;
}

.photo-kicker,
.photo-logo {
  position: absolute;
  z-index: 2;
  margin: 0;
  color: var(--white);
  text-shadow: 0 2px 18px rgba(27, 55, 64, 0.2);
}

.monitor-terminal {
  position: absolute;
  z-index: 4;
  left: 37.35%;
  top: 44.05%;
  width: 24.6%;
  height: 13.2%;
  overflow: hidden;
  border-radius: 2px;
  background: #fff;
  color: #111;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14);
  opacity: 0.86;
  transform: perspective(900px) rotateX(0.2deg);
}

.terminal-topbar {
  position: relative;
  height: 10.5%;
  display: flex;
  align-items: center;
  gap: 2.1%;
  padding-inline: 2.2%;
  background: linear-gradient(#f6f6f6, #e6e6e6);
  border-bottom: 1px solid #b9b9b9;
}

.terminal-topbar span {
  width: clamp(3px, 1.4vw, 8px);
  height: clamp(3px, 1.4vw, 8px);
  border-radius: 50%;
  background: #ff5f57;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.terminal-topbar span:nth-child(2) {
  background: #febc2e;
}

.terminal-topbar span:nth-child(3) {
  background: #28c840;
}

.terminal-topbar strong {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3px, 0.58vw, 8px);
  font-weight: 700;
  white-space: nowrap;
}

.terminal-body {
  position: relative;
  height: 89.5%;
  padding: 1.5% 1.7%;
  background: #fff;
  font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Courier New", monospace;
  font-size: clamp(3px, 0.48vw, 7px);
  line-height: 1.18;
}

.terminal-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(0, 0, 0, 0.04));
  pointer-events: none;
}

.terminal-body pre {
  margin: 0;
  color: #111;
  white-space: pre;
}

.terminal-body b {
  color: inherit;
}

.terminal-cursor {
  display: inline-block;
  width: .55em;
  height: 1.05em;
  margin-left: .18em;
  vertical-align: -0.15em;
  background: #222;
  animation: cursorBlink .85s steps(1) infinite;
}

@keyframes terminalLine {
  0%, 8% {
    opacity: 0;
    transform: translateY(5px);
  }
  12%, 82% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(0);
  }
}

@keyframes terminalScan {
  from { transform: translateY(-100%); }
  to { transform: translateY(100%); }
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

@keyframes balloonRigDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-0.5deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(0.7deg); }
}

@keyframes monitorSettle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(1px); }
}

.photo-kicker {
  top: clamp(26px, 4vw, 58px);
  left: clamp(26px, 4vw, 58px);
  font-weight: 900;
  font-size: clamp(20px, 2.1vw, 34px);
  line-height: 0.98;
}

.photo-kicker sup {
  font-size: 0.34em;
  margin-left: 1px;
}

.photo-logo {
  left: clamp(24px, 4vw, 58px);
  bottom: clamp(24px, 4vw, 54px);
  font-weight: 900;
  font-size: clamp(76px, 9vw, 150px);
  line-height: 0.78;
  letter-spacing: 0;
}

.ring {
  position: absolute;
  border-radius: 50%;
  transform-style: preserve-3d;
  will-change: transform, filter;
}

.hero-orbit .ring {
  border: clamp(48px, 6vw, 92px) solid transparent;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 22%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.95), rgba(242, 55, 29, 0.18) 24%, rgba(11, 24, 34, 0.96) 46%, rgba(18, 168, 255, 0.72) 68%, rgba(255, 255, 255, 0.98) 82%);
  background-clip: padding-box, border-box;
  box-shadow: inset 0 0 42px rgba(255,255,255,.75), 0 28px 70px rgba(242, 55, 29, .18), 0 12px 60px rgba(18, 168, 255, .18);
}

.hero-orbit .ring::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: inherit;
  background: linear-gradient(112deg, transparent 28%, rgba(255,255,255,.72) 46%, transparent 62%);
  mix-blend-mode: screen;
  opacity: 0.45;
  transform: translateX(-28%) rotate(8deg);
  animation: sheenSweep 7.5s ease-in-out infinite;
}

.ring::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 6px 6px;
  opacity: 0.5;
  mix-blend-mode: screen;
}

.hero-orbit .ring::after {
  animation: dotFlow 9s linear infinite;
}

.ring-a {
  width: 520px;
  height: 760px;
  right: 50%;
  top: 3%;
  transform: rotate(16deg);
}

.ring-b {
  width: 520px;
  height: 800px;
  right: 5%;
  top: -6%;
  transform: rotate(16deg);
}

.ring-c {
  width: 760px;
  height: 260px;
  right: -11%;
  bottom: 4%;
  transform: rotate(-16deg);
}

.hero-orbit .ring-a {
  animation: ringFloatA 11s ease-in-out infinite;
}

.hero-orbit .ring-b {
  animation: ringFloatB 13s ease-in-out infinite;
}

.hero-orbit .ring-c {
  animation: ringFloatC 12s ease-in-out infinite;
}

@keyframes orbitDrift {
  0%, 100% { transform: translateX(4%) translateY(0); }
  50% { transform: translateX(2.5%) translateY(-10px); }
}

@keyframes ringFloatA {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(16deg) scale(1); filter: brightness(1); }
  50% { transform: translate3d(18px, -16px, 0) rotate(19deg) scale(1.025); filter: brightness(1.14); }
}

@keyframes ringFloatB {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(16deg) scale(1); filter: brightness(1.03); }
  50% { transform: translate3d(-22px, 14px, 0) rotate(12deg) scale(1.018); filter: brightness(1.18); }
}

@keyframes ringFloatC {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-16deg) scale(1); filter: brightness(1); }
  50% { transform: translate3d(-14px, -10px, 0) rotate(-12deg) scale(1.03); filter: brightness(1.16); }
}

@keyframes sheenSweep {
  0%, 100% { transform: translateX(-34%) rotate(8deg); opacity: 0.24; }
  45%, 58% { transform: translateX(24%) rotate(8deg); opacity: 0.58; }
}

@keyframes dotFlow {
  0% { background-position: 0 0; }
  100% { background-position: 36px -42px; }
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid var(--line);
}

.metric-strip article {
  min-height: 230px;
  padding: 34px clamp(20px, 3vw, 42px);
  border-right: 1px solid #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-strip small,
.quality-card small {
  font-weight: 900;
  font-size: 13px;
}

.metric-strip strong {
  font-family: var(--condensed);
  font-size: clamp(44px, 4.6vw, 72px);
  letter-spacing: 0;
}

.glyph,
.token,
.mini-orbit {
  display: inline-block;
}

.glyph {
  width: 50px;
  height: 50px;
}

.flower,
.starburst {
  border: 8px solid currentColor;
  border-radius: 45% 55% 45% 55%;
  transform: rotate(45deg);
}

.blocks {
  background:
    linear-gradient(currentColor 0 0) 0 0 / 22px 22px,
    linear-gradient(currentColor 0 0) 26px 26px / 22px 22px;
  background-repeat: no-repeat;
}

.drop {
  border: 8px solid currentColor;
  transform: rotate(45deg);
  border-radius: 55% 5% 55% 55%;
}

.wheel,
.orbit {
  border: 10px dashed currentColor;
  border-radius: 50%;
}

.wave {
  border: 7px solid currentColor;
  border-radius: 48% 30% 62% 42%;
  transform: rotate(22deg);
}

.terminal {
  border: 6px solid currentColor;
  position: relative;
}

.terminal::before {
  content: "›";
  position: absolute;
  font-size: 32px;
  left: 5px;
  top: 2px;
}

.section-pad {
  padding: clamp(58px, 7vw, 98px) clamp(20px, 4.8vw, 76px);
}

.protocols {
  display: grid;
  grid-template-columns: 0.32fr 0.68fr;
  gap: 44px;
  align-items: start;
  background: var(--paper);
}

.section-copy h2,
.mission-copy h2,
.dark-panel h2,
.footer-cta h2 {
  font-size: clamp(38px, 4vw, 66px);
  line-height: 1;
  font-weight: 900;
}

.section-copy p,
.mission-copy p,
.dark-panel p,
.footer-cta p {
  margin: 24px 0 34px;
  color: #444;
  line-height: 1.55;
  font-size: 18px;
}

.text-link {
  font-weight: 900;
}

.protocol-carousel {
  position: relative;
  min-width: 0;
}

.protocol-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  border: 1px solid var(--ink);
  overflow: hidden;
}

.protocol-card {
  min-height: 580px;
  padding: 34px 34px 26px;
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: background .3s ease, color .3s ease, transform .3s ease;
}

.protocol-card:last-child {
  border-right: 0;
}

.protocol-card.active {
  background: var(--black);
  color: var(--white);
}

.protocol-card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 2px var(--signal);
}

.token {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  filter: blur(.1px);
}

.token-blue { background: radial-gradient(circle at 40% 35%, #fff, #12a8ff 48%, #071018 72%); }
.token-cyan { background: radial-gradient(circle at 35% 35%, #e9fffb, #2fd6b0 58%, #05342d 72%); }
.token-warm { background: conic-gradient(from 30deg, #f2371d, #fff1c8, #111, #12a8ff, #f2371d); clip-path: polygon(50% 0, 88% 23%, 82% 75%, 50% 100%, 15% 73%, 12% 24%); }

.pill {
  align-self: end;
  margin-top: -44px;
  padding: 12px 22px;
  border-radius: 99px;
  background: rgba(128,128,128,.12);
  font-weight: 900;
  color: inherit;
}

.protocol-card h3 {
  margin-top: auto;
  font-size: clamp(36px, 4vw, 64px);
}

.protocol-card h3 span {
  color: #8a8a8a;
}

.protocol-card p:not(.pill) {
  margin: 22px 0;
  font-weight: 900;
}

.protocol-card small {
  font-weight: 900;
  color: #777;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 72px;
  height: 72px;
  border: 1px solid var(--ink);
  background: var(--white);
  font-size: 36px;
  cursor: pointer;
}

.nav-arrow:hover {
  background: var(--black);
  color: var(--white);
}

.prev { left: -36px; }
.next { right: -36px; }

.ticker {
  height: 86px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  border-block: 1px solid var(--line);
}

.ticker-marquee,
.word-band div {
  white-space: nowrap;
  animation: marquee 28s linear infinite;
}

.ticker-marquee {
  display: flex;
  width: max-content;
}

.ticker-track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.ticker span {
  margin-right: 46px;
  font-family: var(--display);
  font-size: 22px;
}

.ticker span.zh {
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  font-weight: 900;
  font-size: 23px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.service-card {
  min-height: 330px;
  padding: 40px clamp(22px, 3vw, 44px);
  border-right: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card h3 {
  font-size: clamp(28px, 2.4vw, 42px);
  line-height: 1.04;
}

.service-card p {
  color: #555;
  line-height: 1.5;
}

.word-band {
  overflow: hidden;
  background: var(--white);
  border-block: 72px solid var(--black);
}

.word-band span {
  display: inline-block;
  padding: 48px 54px;
  font-family: var(--condensed);
  font-weight: 700;
  font-size: clamp(68px, 10vw, 142px);
  line-height: 0.86;
}

.dark-panel,
.footer-cta {
  min-height: 370px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: clamp(44px, 6vw, 86px) clamp(24px, 5vw, 76px);
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 45% 30%, #252525, #111 55%, #080808);
  background-size: 50% 50%, 50% 50%, auto;
  color: var(--white);
}

.dark-panel p,
.footer-cta p {
  color: #d8d8d8;
}

.mission {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(430px, 1fr);
  overflow: hidden;
  border-bottom: 1px solid var(--line-light);
}

.mission-copy {
  padding: clamp(62px, 8vw, 110px) clamp(24px, 5vw, 80px);
  align-self: center;
  z-index: 2;
}

.green-orbit {
  min-height: 680px;
  transform: translate(-4%, -6%) scale(0.86);
  transform-origin: center;
}

.green-orbit .ring {
  border: clamp(46px, 5.5vw, 86px) solid transparent;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.92), transparent 20%),
    linear-gradient(120deg, rgba(255,255,255,.95), rgba(47,216,176,.92), rgba(5,5,5,.82), rgba(242,55,29,.74), rgba(255,255,255,.98));
  background-clip: padding-box, border-box;
  box-shadow: inset 0 0 42px rgba(255,255,255,.78), 0 28px 70px rgba(47, 216, 176, .25);
}

.green-orbit .ring-a {
  right: 38%;
  top: 2%;
}

.green-orbit .ring-b {
  right: 7%;
  top: 10%;
  width: 560px;
  height: 380px;
}

.center-title {
  text-align: center;
  margin-bottom: 84px;
  font-size: clamp(34px, 3.6vw, 60px);
  line-height: 1.15;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ink);
}

.quality-card {
  min-height: 340px;
  padding: 42px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.quality-card.invert {
  grid-row: span 2;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.quality-card h3 {
  margin: 58px 0 16px;
  font-family: var(--condensed);
  font-size: clamp(48px, 5vw, 78px);
  line-height: .9;
}

.quality-card p {
  color: #555;
  line-height: 1.5;
  font-size: 18px;
}

.quality-card.invert p {
  color: #efefef;
}

.quality-card.invert a {
  margin-top: auto;
  font-weight: 900;
}

.mini-orbit {
  width: 74px;
  height: 50px;
  border: 12px solid var(--violet);
  border-radius: 50%;
  transform: rotate(-18deg);
  filter: blur(.2px);
}

.mini-orbit.green { border-color: var(--green); border-style: dashed; }
.mini-orbit.white { border-color: var(--white); }
.mini-orbit.blue { border-color: var(--blue); }
.mini-orbit.magenta { border-color: var(--magenta); }

.team {
  padding: clamp(64px, 7vw, 104px) clamp(20px, 4.8vw, 76px) 92px;
  background: var(--black);
  color: var(--white);
}

.team h2 {
  text-align: center;
  margin-bottom: 78px;
  font-size: clamp(36px, 4vw, 64px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #3a3a3a;
}

.person-card {
  min-height: 620px;
  border-right: 1px solid #3a3a3a;
  display: flex;
  flex-direction: column;
}

.person-card:last-child {
  border-right: 0;
}

.portrait {
  min-height: 270px;
  background:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    radial-gradient(circle at 28% 30%, rgba(18,168,255,.9), transparent 14%),
    radial-gradient(circle at 72% 64%, rgba(242,55,29,.9), transparent 13%),
    linear-gradient(130deg, #151515, #333 42%, #070707);
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
  filter: none;
}

.portrait-b {
  background:
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.08) 22px 23px),
    radial-gradient(circle at 50% 35%, rgba(47,216,176,.95), transparent 16%),
    linear-gradient(130deg, #111, #3a3a3a 42%, #080808);
}

.portrait-c {
  background:
    conic-gradient(from 90deg at 50% 50%, #111, #12a8ff, #f2371d, #111),
    linear-gradient(130deg, #111, #444);
}

.portrait-d {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 20%, rgba(255,255,255,.15) 21% 22%, transparent 23% 32%, rgba(242,55,29,.65) 33% 38%, transparent 39%),
    linear-gradient(130deg, #151515, #404040 42%, #090909);
}

.person-card h3,
.person-card small,
.person-card p {
  padding-inline: 32px;
}

.person-card h3 {
  margin-top: 32px;
  font-size: 28px;
}

.person-card small {
  margin-top: 14px;
  color: #8d8d8d;
  font-weight: 900;
}

.person-card p {
  margin-top: 50px;
  line-height: 1.55;
  color: #e4e4e4;
}

.enterprise {
  padding: 0 clamp(20px, 4.8vw, 76px) clamp(70px, 8vw, 118px);
  background: var(--black);
  color: var(--white);
}

.enterprise-panel {
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr);
  min-height: 520px;
  border: 1px solid #3a3a3a;
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 55, 29, .22), transparent 22%),
    radial-gradient(circle at 64% 72%, rgba(18, 168, 255, .18), transparent 28%),
    #050505;
}

.enterprise-copy {
  padding: clamp(34px, 4.4vw, 74px);
  border-right: 1px solid #3a3a3a;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.enterprise-copy small {
  color: #9c9c9c;
  font-weight: 900;
  letter-spacing: .02em;
}

.enterprise-copy h2 {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(48px, 6vw, 104px);
  line-height: 1.03;
}

.enterprise-lede {
  margin-top: 34px;
  font-size: clamp(24px, 2.2vw, 38px);
  font-weight: 900;
  color: var(--white);
}

.enterprise-copy p:not(.enterprise-lede) {
  margin-top: 22px;
  max-width: 680px;
  color: #d8d8d8;
  line-height: 1.7;
  font-size: 17px;
}

.enterprise-cta {
  width: fit-content;
  min-width: 188px;
  margin-top: 44px;
  padding: 20px 26px;
  border: 1px solid var(--white);
  color: var(--white);
  font-weight: 900;
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  background: transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.enterprise-cta span {
  display: inline-block;
  transition: transform .2s ease;
}

.enterprise-cta:hover {
  background: var(--white);
  color: var(--black);
}

.enterprise-cta:hover span {
  transform: translateX(6px);
}

.enterprise-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.capability-card {
  position: relative;
  min-height: 172px;
  padding: 32px;
  border-right: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
  border-top: 0;
  border-left: 0;
  display: flex;
  align-items: flex-end;
  text-align: left;
  color: rgba(255, 255, 255, .88);
  appearance: none;
  font: inherit;
  cursor: pointer;
  font-size: clamp(24px, 2.1vw, 40px);
  line-height: 1.05;
  font-weight: 900;
  background:
    linear-gradient(135deg, rgba(255,255,255,.035), transparent 52%),
    transparent;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: color .22s ease, background .22s ease, box-shadow .22s ease, transform .22s ease;
}

.capability-card:hover,
.capability-card:focus-visible,
.capability-card.is-flipped {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(242, 55, 29, .22), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(18, 168, 255, .18), transparent 30%),
    rgba(255,255,255,.03);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18);
}

.capability-card:nth-child(2n) {
  border-right: 0;
}

.capability-card:nth-last-child(-n+2) {
  border-bottom: 0;
}

.capability-front,
.capability-back {
  display: block;
  backface-visibility: hidden;
  transform-origin: 50% 50%;
  transition: opacity .24s ease, transform .32s ease;
}

.capability-front {
  max-width: 92%;
}

.capability-back {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  color: #f5f5f5;
  font-size: clamp(16px, 1.18vw, 21px);
  line-height: 1.55;
  font-weight: 800;
  opacity: 0;
  transform: rotateX(-74deg) translateY(20px);
}

.capability-card:hover .capability-front,
.capability-card:focus-visible .capability-front,
.capability-card.is-flipped .capability-front {
  opacity: 0;
  transform: rotateX(72deg) translateY(-18px);
}

.capability-card:hover .capability-back,
.capability-card:focus-visible .capability-back,
.capability-card.is-flipped .capability-back {
  opacity: 1;
  transform: rotateX(0) translateY(0);
}

.custom-modal[hidden] {
  display: none;
}

.custom-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.custom-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(247, 247, 243, .86);
  backdrop-filter: blur(8px);
}

.custom-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(360px, .95fr) minmax(420px, 1fr);
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .16);
  overflow: hidden;
}

.custom-dialog::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
  pointer-events: none;
  opacity: .14;
}

.custom-dialog::after {
  content: "";
  position: absolute;
  right: clamp(34px, 5vw, 72px);
  top: clamp(76px, 9vw, 112px);
  width: clamp(44px, 5vw, 70px);
  aspect-ratio: 1;
  border: 12px solid var(--ink);
  border-right-color: var(--red);
  border-radius: 50%;
  opacity: .08;
  pointer-events: none;
}

.custom-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.custom-close:hover {
  background: var(--black);
  color: var(--white);
}

.custom-dialog-copy {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 4vw, 58px);
  border-right: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
}

.custom-dialog-copy small {
  color: #666;
  font-weight: 900;
  letter-spacing: .03em;
}

.custom-dialog-copy h2 {
  margin-top: 18px;
  font-size: clamp(42px, 5vw, 76px);
  line-height: .92;
}

.custom-dialog-copy p {
  margin-top: 26px;
  color: #333;
  line-height: 1.7;
}

.custom-form {
  position: relative;
  z-index: 1;
  padding: clamp(34px, 4vw, 58px);
  display: grid;
  gap: 16px;
  background: var(--paper);
}

.custom-form label {
  display: grid;
  gap: 8px;
}

.custom-form label span {
  color: #333;
  font-size: 13px;
  font-weight: 900;
}

.custom-form input,
.custom-form textarea {
  width: 100%;
  border: 1px solid rgba(17, 17, 17, .34);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  padding: 16px 18px;
  outline: none;
  resize: vertical;
}

.custom-form input::placeholder,
.custom-form textarea::placeholder {
  color: #909090;
}

.custom-form input:focus,
.custom-form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 1px var(--ink);
}

.custom-form button[type="submit"] {
  min-height: 58px;
  margin-top: 8px;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font: inherit;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  cursor: pointer;
}

.custom-success {
  color: var(--green);
  font-weight: 900;
}

.footer {
  background: var(--black);
  color: var(--white);
  border-top: 1px solid var(--ink);
}

.footer-main {
  max-width: none;
  margin: 0;
  padding: clamp(54px, 7vw, 92px) clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) repeat(3, minmax(180px, 1fr));
  gap: 0;
  border-bottom: 1px solid #303030;
}

.footer-logo {
  padding-left: 0;
}

.footer-logo .brand-logo {
  width: clamp(240px, 24vw, 360px);
}

.footer-brand-block p {
  max-width: 360px;
  margin-top: 34px;
  color: #d7d7d7;
  font-size: 15px;
  line-height: 1.85;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #3a3a3a;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  font-weight: 900;
  font-size: 13px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 260px;
  padding: 6px clamp(24px, 4vw, 56px);
  border-left: 1px solid #303030;
}

.footer-column h3 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 900;
  color: var(--white);
}

.footer-column a {
  color: #b9b9b9;
  font-size: 14px;
  line-height: 1.2;
}

.footer-column a:hover {
  color: var(--signal);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.footer-contact span {
  color: var(--signal);
  font-weight: 900;
}

.footer-bottom {
  max-width: none;
  margin: 0;
  padding: 24px clamp(24px, 5vw, 76px) 30px;
  border-top: 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #8f8f8f;
  font-size: 12px;
}

.footer-bottom nav {
  display: flex;
  gap: 28px;
}

.footer-bottom a {
  color: inherit;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr;
    height: auto;
    overflow: hidden;
  }

  .topbar nav {
    width: 100vw;
    min-width: 0;
    overflow-x: auto;
    border-top: 1px solid var(--ink);
  }

  .topbar nav a {
    min-width: 128px;
    height: 54px;
  }

  .hero,
  .protocols,
  .mission,
  .dark-panel,
  .footer-cta {
    grid-template-columns: 1fr;
  }

  .hero,
  .mission,
  .orbital-visual,
  .ticker,
  .word-band {
    overflow: hidden;
  }

  .hero {
    min-height: 0;
  }

  .hero-orbit,
  .green-orbit {
    min-height: 380px;
    transform: none;
  }

  .hero-photo,
  .hero-photo .scene-bg {
    min-height: 420px;
  }

  .ring-a {
    width: 380px;
    height: 560px;
    right: 38%;
  }

  .ring-b {
    width: 380px;
    height: 580px;
    right: -40px;
  }

  .ring-c {
    width: 520px;
    height: 180px;
    right: -100px;
  }

  .metric-strip,
  .service-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .enterprise-panel {
    grid-template-columns: 1fr;
  }

  .enterprise-copy {
    border-right: 0;
    border-bottom: 1px solid #3a3a3a;
  }

  .custom-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 48px);
    overflow: auto;
  }

  .custom-dialog-copy {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .protocol-track,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .protocol-card {
    min-height: 360px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .quality-card.invert {
    grid-row: auto;
  }

  .nav-arrow {
    display: none;
  }
}

@media (min-width: 761px) and (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(330px, 0.86fr) minmax(420px, 1.14fr);
    min-height: calc(100vh - 136px);
  }

  .hero-copy {
    padding: 44px 28px 44px 42px;
  }

  .hero-photo,
  .hero-photo .scene-bg {
    min-height: calc(100vh - 136px);
  }

  .scene-balloons {
    display: none;
  }

  .monitor-wrap {
    display: contents;
  }

  .photo-kicker {
    top: 44px;
    left: 44px;
    font-size: 24px;
  }

  .photo-logo {
    left: 44px;
    bottom: 36px;
    font-size: 104px;
  }
}

@media (max-width: 620px) {
  .brand {
    padding: 18px 20px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 58px);
  }

  .hero-copy,
  .mission-copy {
    padding-inline: 22px;
  }

  .hero-orbit,
  .green-orbit {
    min-height: 320px;
  }

  .hero-photo,
  .hero-photo .scene-bg {
    min-height: 360px;
  }

  .photo-kicker {
    font-size: 18px;
  }

  .photo-logo {
    font-size: 70px;
  }

  .scene-balloons {
    display: none;
  }

  .monitor-wrap {
    display: contents;
  }

  .hero-orbit .ring,
  .green-orbit .ring {
    border-width: 42px;
  }

  .metric-strip,
  .service-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .enterprise {
    padding-inline: 18px;
  }

  .enterprise-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .enterprise-copy {
    border-right: 0;
    border-bottom: 1px solid #3a3a3a;
    padding: 34px 26px;
  }

  .enterprise-capabilities {
    grid-template-columns: 1fr;
  }

  .capability-card {
    min-height: 120px;
    border-right: 0;
    border-bottom: 1px solid #3a3a3a;
  }

  .capability-card:nth-last-child(-n+2) {
    border-bottom: 1px solid #3a3a3a;
  }

  .capability-card:last-child {
    border-bottom: 0;
  }

  .custom-modal {
    padding: 14px;
  }

  .custom-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 28px);
    overflow: auto;
  }

  .custom-dialog-copy {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .custom-form,
  .custom-dialog-copy {
    padding: 28px 22px;
  }

  .word-band {
    border-block-width: 42px;
  }

  .word-band span {
    padding: 34px 28px;
  }

  .person-card {
    min-height: 520px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  .footer-column {
    border-left: 0;
    border-top: 1px solid #303030;
    padding: 28px 0 0;
    min-height: 0;
  }

  .footer-bottom {
    flex-direction: column;
    padding-inline: 22px;
  }
}
