/*
  PingNet visual refinement
  Direction: infrastructure-grade evidence system
*/

:root {
  --ink: #06101c;
  --ink-soft: #0a1827;
  --ink-lift: #10243a;
  --paper: #f4f2eb;
  --paper-warm: #eae6dc;
  --line: rgba(20, 32, 51, 0.15);
  --line-light: rgba(255, 255, 255, 0.14);
  --radius-sm: 5px;
  --radius-md: 9px;
  --radius-lg: 14px;
  --shadow: 0 30px 90px rgba(0, 8, 20, 0.27);
  --shadow-soft: 0 16px 45px rgba(7, 17, 31, 0.1);
  --max: 1280px;
  --header-height: 86px;
}

html {
  scrollbar-color: rgba(247, 191, 0, 0.72) var(--ink);
  scrollbar-width: thin;
}

body {
  background: var(--ink);
  font-size: 17px;
}

body::-webkit-scrollbar {
  width: 9px;
}

body::-webkit-scrollbar-track {
  background: var(--ink);
}

body::-webkit-scrollbar-thumb {
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(247, 191, 0, 0.72);
}

.container {
  width: min(var(--max), calc(100% - 64px));
}

.section {
  padding: clamp(96px, 9vw, 146px) 0;
}

.section-intro h2 {
  font-size: clamp(2.85rem, 4.6vw, 4.75rem);
  font-weight: 710;
  letter-spacing: -0.057em;
}

.eyebrow {
  color: #846000;
}

:focus-visible {
  outline-color: var(--focus-color, var(--gold));
}

.section-light,
.section-paper,
.section-research {
  --focus-color: #684b00;
}

.contact-section {
  --focus-color: var(--ink);
}

.proof-item strong,
.metric-ribbon strong,
.floating-stat strong,
.evidence-run-ids,
.status-review,
.visual-topline,
.visual-data-strip,
.evidence-record,
.section-status {
  font-variant-numeric: tabular-nums;
}

/* Floating navigation and reading position */

.site-header {
  inset: 12px 0 auto;
  height: 66px;
  border: 0;
  background: transparent;
  pointer-events: none;
  transition: transform 220ms ease;
}

.site-header.is-scrolled {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  height: 66px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(6, 16, 28, 0.76);
  box-shadow: 0 16px 45px rgba(0, 5, 14, 0.16);
  backdrop-filter: blur(20px) saturate(145%);
  pointer-events: auto;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled .nav-shell {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(6, 16, 28, 0.94);
  box-shadow: 0 18px 50px rgba(0, 5, 14, 0.32);
}

.brand {
  width: 145px;
}

.nav-panel > a:not(.nav-cta) {
  position: relative;
}

.nav-panel > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold);
  content: "";
  transition: transform 180ms ease;
}

.nav-panel > a:not(.nav-cta):hover::after,
.nav-panel > a[aria-current="true"]::after,
.nav-panel > a[aria-current="location"]::after {
  transform: scaleX(1);
}

.nav-cta {
  border-radius: 5px;
  background: rgba(247, 191, 0, 0.04);
}

.page-progress {
  position: fixed;
  z-index: 103;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.page-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), #ffe27b);
  box-shadow: 0 0 16px rgba(247, 191, 0, 0.55);
  will-change: transform;
}

.section-status {
  position: fixed;
  z-index: 80;
  top: 50%;
  right: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  transform: translateY(-50%);
  padding: 10px 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(6, 16, 28, 0.76);
  box-shadow: 0 10px 30px rgba(0, 5, 14, 0.16);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  pointer-events: none;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.section-status-index {
  color: var(--gold);
}

.section-status-rule {
  width: 1px;
  height: 54px;
  background: linear-gradient(var(--gold), rgba(255, 255, 255, 0.12));
}

.section-status-label {
  writing-mode: vertical-rl;
}

/* Buttons and links */

.button {
  min-height: 54px;
  border-radius: 5px;
  letter-spacing: -0.01em;
}

.button span[aria-hidden="true"],
.external-mark,
.text-link span[aria-hidden="true"] {
  transition: transform 180ms ease;
}

.button:hover span[aria-hidden="true"],
.button:hover .external-mark,
.text-link:hover span[aria-hidden="true"] {
  transform: translate(3px, -2px);
}

.button-primary {
  box-shadow: 0 12px 30px rgba(247, 191, 0, 0.14);
}

/* Hero */

.hero {
  min-height: 870px;
  padding: 138px 0 112px;
  background:
    radial-gradient(circle at 78% 29%, rgba(92, 165, 255, 0.13), transparent 24%),
    radial-gradient(circle at 24% 88%, rgba(247, 191, 0, 0.08), transparent 23%),
    linear-gradient(118deg, #06101c 0%, #071321 48%, #0a1d30 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, transparent 0 61%, rgba(255, 255, 255, 0.025) 61.1% 61.2%, transparent 61.3%),
    linear-gradient(112deg, transparent 0 69%, rgba(247, 191, 0, 0.04) 69.1% 69.18%, transparent 69.3%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  opacity: 0.16;
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%, #000 100%);
}

.hero-layout {
  grid-template-columns: minmax(0, 0.96fr) minmax(520px, 1.04fr);
  gap: clamp(52px, 6vw, 90px);
}

.hero-copy {
  position: relative;
}

.hero-copy::before {
  position: absolute;
  top: -28px;
  left: 0;
  width: 76px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0 58%, rgba(247, 191, 0, 0.18) 58%);
  content: "";
}

.signal-label {
  margin-bottom: 26px;
  letter-spacing: 0.115em;
}

.signal-dot::after {
  animation-duration: 3.2s;
}

.hero h1 {
  max-width: 10.7ch;
  margin-bottom: 26px;
  font-size: clamp(3.5rem, 5.35vw, 5.65rem);
  font-weight: 730;
}

.hero h1 em {
  color: transparent;
  background: linear-gradient(100deg, var(--gold) 5%, #ffd84d 86%);
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: 610;
}

.hero-lede {
  max-width: 620px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.68;
}

.hero-status {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin: 0 0 27px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.69rem;
  font-weight: 760;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.hero-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px rgba(66, 215, 173, 0.46);
}

.hero-status span:nth-child(2) i {
  background: var(--gold);
  box-shadow: 0 0 10px rgba(247, 191, 0, 0.44);
}

.hero-status span:nth-child(3) i {
  background: var(--blue);
  box-shadow: 0 0 10px rgba(92, 165, 255, 0.44);
}

.hero .button-row {
  margin-bottom: 25px;
}

.scope-inline,
.patent-inline {
  max-width: 620px;
}

.hero-visual {
  perspective: 1200px;
}

.visual-frame {
  overflow: visible;
  padding: 13px;
  transform: rotateY(-1.4deg) rotateX(0.7deg);
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16, 36, 58, 0.92), rgba(5, 13, 23, 0.96));
  box-shadow:
    0 40px 100px rgba(0, 4, 12, 0.42),
    0 0 0 1px rgba(247, 191, 0, 0.06) inset;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms ease;
}

.hero-visual:hover .visual-frame {
  transform: rotateY(0) rotateX(0) translateY(-3px);
  border-color: rgba(247, 191, 0, 0.38);
}

.visual-topline {
  min-height: 34px;
  padding: 0 3px 11px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.64rem;
}

.visual-frame > img {
  border: 1px solid rgba(255, 255, 255, 0.08);
  filter: saturate(0.9) contrast(1.07) brightness(0.9);
}

.visual-data-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.visual-data-strip span {
  padding: 10px 12px;
  background: rgba(4, 11, 20, 0.94);
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.095em;
  text-align: center;
  text-transform: uppercase;
}

.visual-scan {
  display: none;
}

.visual-node {
  width: 14px;
  height: 14px;
  background: rgba(6, 16, 28, 0.48);
  box-shadow: 0 0 12px rgba(66, 215, 173, 0.45);
}

.visual-node::before {
  width: 26px;
  height: 26px;
}

.visual-node::after {
  width: 38px;
  height: 38px;
  opacity: 0.62;
}

.visual-node i {
  inset: 4px;
}

.floating-stat {
  min-width: 170px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-left: 2px solid var(--gold);
  border-radius: 4px;
  background: rgba(6, 16, 28, 0.94);
  box-shadow: 0 18px 44px rgba(0, 2, 9, 0.34);
}

.floating-stat-left {
  bottom: -31px;
  left: 22px;
}

.floating-stat-right {
  right: 22px;
  bottom: -31px;
}

.hero-visual figcaption {
  max-width: 600px;
  margin-top: 54px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

/* Evidence transition */

.proof-strip {
  z-index: 4;
  margin-top: -42px;
  padding: 0 0 44px;
  background: linear-gradient(to bottom, transparent 0 42px, var(--paper) 42px 100%);
}

.proof-grid {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  background: linear-gradient(135deg, #0b1b2d, #071321);
  box-shadow: 0 25px 70px rgba(0, 5, 14, 0.27);
}

.proof-item {
  min-height: 142px;
  padding: 31px 26px 27px;
}

.proof-item::after {
  right: 26px;
  left: 26px;
  transform: scaleX(0.24);
}

.proof-item strong {
  font-size: clamp(2rem, 2.8vw, 2.75rem);
}

.proof-note {
  margin-top: 17px;
  color: var(--muted);
}

/* Platform */

.section-light {
  background:
    radial-gradient(circle at 84% 15%, rgba(92, 165, 255, 0.075), transparent 21%),
    linear-gradient(rgba(20, 32, 51, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 32, 51, 0.026) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 48px 48px, 48px 48px, auto;
}

.split-intro {
  align-items: center;
}

.intro-copy {
  margin-top: 10px;
  font-size: 1.08rem;
}

.capability-grid {
  gap: 14px;
}

.capability-card {
  min-height: 310px;
  padding: 30px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  backdrop-filter: blur(4px);
}

.capability-card::before {
  right: 30px;
  left: 30px;
  height: 2px;
}

.capability-card:hover {
  transform: none;
  border-color: rgba(20, 32, 51, 0.28);
  box-shadow: 0 15px 42px rgba(7, 17, 31, 0.08);
}

.capability-card h3 {
  font-size: 1.25rem;
}

.integration-status {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 45px rgba(7, 17, 31, 0.07);
}

.integration-status article {
  position: relative;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.integration-status article:last-child {
  border-right: 0;
}

.integration-status article::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--mint);
  content: "";
}

.integration-status article:nth-child(2)::before {
  background: var(--gold);
}

.integration-status article:nth-child(3)::before {
  background: #7a8798;
}

/* Demonstration */

.section-ink {
  background:
    radial-gradient(circle at 88% 10%, rgba(92, 165, 255, 0.12), transparent 26%),
    linear-gradient(rgba(255, 255, 255, 0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.023) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 64px 64px, 64px 64px, auto;
}

.demo-intro,
.evidence-heading {
  margin-bottom: 54px;
}

.demo-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}

.video-column {
  width: min(1100px, 100%);
  margin-inline: auto;
}

.media-frame {
  border-radius: 8px;
  box-shadow: 0 38px 95px rgba(0, 3, 10, 0.43);
}

.media-label {
  min-height: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(3, 9, 16, 0.78);
}

.demo-summary {
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.025);
}

.message-path-column {
  width: min(1100px, 100%);
  margin: 8px auto 0;
}

.message-path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.message-path li {
  display: block;
  min-height: 178px;
  padding: 25px 26px 24px 0;
}

.message-path li:not(:last-child)::after {
  top: 46px;
  right: 10px;
  bottom: auto;
  left: 45px;
  width: auto;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(255, 255, 255, 0.08));
}

.path-number {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 4px;
}

.message-path-note {
  margin-top: 0;
  padding: 18px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.82rem;
}

/* Evidence */

.section-paper {
  background:
    radial-gradient(circle at 10% 16%, rgba(247, 191, 0, 0.065), transparent 21%),
    #faf9f5;
}

.evidence-record {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin: -15px 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 7px;
  background: linear-gradient(135deg, #0a1827, #10243a);
  box-shadow: 0 16px 40px rgba(7, 17, 31, 0.12);
}

.evidence-record span {
  display: block;
  min-width: 0;
  padding: 17px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.evidence-record span:last-child {
  border-right: 0;
}

.evidence-record small,
.evidence-record strong {
  display: block;
}

.evidence-record small {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.evidence-record strong {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.83rem;
}

.metric-ribbon {
  margin-bottom: 42px;
  border-radius: 7px;
  box-shadow: 0 18px 55px rgba(7, 17, 31, 0.09);
}

.metric-ribbon article {
  min-height: 156px;
  padding: 25px;
}

.metric-ribbon strong {
  font-size: clamp(2rem, 3vw, 3rem);
}

.evidence-figure a {
  border-radius: 7px;
  box-shadow: 0 25px 70px rgba(7, 17, 31, 0.16);
}

.evidence-scope {
  border-radius: 7px;
  box-shadow: 0 16px 42px rgba(7, 17, 31, 0.07);
}

.check-list li::before {
  top: 0.58em;
  width: 7px;
  height: 7px;
  transform: none;
  border: 0;
  border-radius: 1px;
  background: var(--gold);
}

/* Roadmap */

.section-vision {
  background:
    radial-gradient(circle at 15% 12%, rgba(247, 191, 0, 0.1), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(145deg, #07121f 0%, #0b1a2b 54%, #06101c 100%);
  background-size: auto, 72px 72px, 72px 72px, auto;
}

.trajectory-grid {
  position: relative;
  gap: 0;
}

.trajectory-grid::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--mint) 0 25%, var(--gold) 25% 50%, rgba(247, 191, 0, 0.5) 50% 75%, rgba(255, 255, 255, 0.2) 75% 100%);
  content: "";
}

.trajectory-card {
  position: relative;
  z-index: 1;
  min-height: 445px;
  padding: 31px 28px;
  border-radius: 0;
  border-right: 0;
  background: rgba(255, 255, 255, 0.025);
}

.trajectory-card:first-child {
  border-radius: 7px 0 0 7px;
}

.trajectory-card:last-child {
  border-right: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 0 7px 7px 0;
}

.trajectory-now {
  background: linear-gradient(180deg, rgba(66, 215, 173, 0.075), rgba(255, 255, 255, 0.025));
}

.trajectory-prepare {
  background: linear-gradient(180deg, rgba(247, 191, 0, 0.13), rgba(247, 191, 0, 0.035));
  box-shadow: 0 18px 60px rgba(0, 4, 12, 0.18) inset;
}

.trajectory-proposed {
  background: rgba(247, 191, 0, 0.035);
}

.trajectory-label {
  min-height: 112px;
}

.trajectory-label h3 {
  display: block;
  max-width: 17ch;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.37rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.roadmap-swipe {
  display: none;
}

.partner-block {
  border-top-color: rgba(255, 255, 255, 0.16);
}

.partner-grid {
  gap: 10px;
}

.partner-grid article {
  min-height: 270px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.026);
}

/* Research */

.section-research {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    var(--paper-warm);
  background-size: 72px 100%, auto;
}

.research-visual img {
  border: 1px solid rgba(20, 32, 51, 0.13);
  border-radius: 6px;
  box-shadow: 0 28px 75px rgba(7, 17, 31, 0.18);
}

.research-copy h2 {
  font-size: clamp(2.8rem, 4.55vw, 4.8rem);
}

.research-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 25px 0 23px;
}

.research-meta span {
  padding: 7px 9px;
  border: 1px solid rgba(20, 32, 51, 0.16);
  border-radius: 3px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

/* Founder */

.founder-section {
  background:
    radial-gradient(circle at 85% 14%, rgba(247, 191, 0, 0.065), transparent 27%),
    var(--ink);
}

.founder-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.9rem, 4.35vw, 4.65rem);
}

.portrait-frame {
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 3, 10, 0.32);
}

.founder-links a {
  border-radius: 5px;
}

.founder-links a:hover {
  transform: none;
  border-color: rgba(247, 191, 0, 0.44);
  background: rgba(247, 191, 0, 0.045);
}

/* Contact */

.contact-section::before,
.contact-section::after {
  position: absolute;
  border: 1px solid rgba(7, 17, 31, 0.12);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.contact-section::before {
  top: -380px;
  right: -220px;
  width: 720px;
  height: 720px;
}

.contact-section::after {
  top: -260px;
  right: -100px;
  width: 480px;
  height: 480px;
}

.contact-layout {
  align-items: end;
}

.contact-layout h2 {
  font-size: clamp(3.2rem, 5.3vw, 5.45rem);
}

.contact-intake {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 29px 0 0;
  padding: 0;
  list-style: none;
}

.contact-intake li {
  padding: 8px 10px;
  border: 1px solid rgba(7, 17, 31, 0.28);
  border-radius: 3px;
  color: rgba(7, 17, 31, 0.74);
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.contact-actions {
  position: relative;
  z-index: 2;
}

.contact-actions .button {
  border-radius: 5px;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
}

/* Reveal polish */

.js [data-reveal] {
  transform: translateY(16px);
  filter: blur(2px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1), filter 520ms ease;
}

.js [data-reveal].is-visible {
  transform: translateY(0);
  filter: blur(0);
}

/* Error page */

.error-page {
  background:
    radial-gradient(circle at 78% 22%, rgba(92, 165, 255, 0.12), transparent 25%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--ink);
  background-size: auto, 64px 64px, 64px 64px, auto;
}

/* Responsive */

@media (max-width: 1320px) {
  .section-status {
    display: none;
  }
}

@media (max-width: 1120px) {
  .hero {
    min-height: auto;
    padding-top: 126px;
  }

  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 68px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero h1 {
    max-width: 10ch;
  }

  .hero-visual {
    width: min(940px, 100%);
    margin-inline: auto;
  }

  .visual-frame {
    transform: none;
  }

  .trajectory-grid {
    gap: 12px;
  }

  .trajectory-grid::before {
    display: none;
  }

  .trajectory-card,
  .trajectory-card:first-child,
  .trajectory-card:last-child {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 7px;
  }
}

@media (max-width: 960px) {
  :root {
    --header-height: 80px;
  }

  .site-header {
    inset: 8px 0 auto;
    height: 64px;
  }

  .nav-shell {
    width: calc(100% - 24px);
    height: 64px;
    padding: 0 14px;
  }

  .nav-toggle {
    display: none;
  }

  .js .nav-toggle {
    display: flex;
  }

  .js .nav-panel {
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    border-radius: 7px;
    background: rgba(6, 16, 28, 0.98);
  }

  html:not(.js):not(.js-pending) .site-header {
    position: relative;
    inset: auto;
    height: auto;
    padding: 8px 0 0;
    background: var(--ink);
    pointer-events: auto;
  }

  html:not(.js):not(.js-pending) .nav-shell {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    padding: 10px 14px 14px;
  }

  html:not(.js):not(.js-pending) .nav-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  html:not(.js):not(.js-pending) .nav-panel > a,
  html:not(.js):not(.js-pending) .nav-panel .nav-cta {
    min-width: 0;
    white-space: normal;
  }

  html:not(.js):not(.js-pending) .hero {
    padding-top: 72px;
  }

  .nav-panel > a:not(.nav-cta)::after {
    display: none;
  }

  .section-intro h2,
  .research-copy h2,
  .founder-copy h2 {
    font-size: clamp(2.75rem, 7.2vw, 4.25rem);
  }

  .split-intro {
    align-items: start;
  }

  .intro-copy {
    margin-top: 0;
  }

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

  .message-path li {
    min-height: 170px;
  }

  .message-path li:nth-child(2)::after,
  .message-path li:last-child::after {
    display: none;
  }

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

  .evidence-record span:nth-child(2) {
    border-right: 0;
  }

  .evidence-record span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 700px) {
  :root {
    --header-height: 76px;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    padding: 126px 0 96px;
  }

  .hero-grid {
    opacity: 0.1;
    background-size: 54px 54px;
  }

  .hero-copy::before {
    top: -22px;
    width: 56px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 14vw, 4.25rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-status {
    gap: 8px 12px;
  }

  .hero-status span {
    font-size: 0.62rem;
  }

  .hero-layout {
    gap: 48px;
  }

  .visual-frame {
    padding: 8px 8px 75px;
  }

  .visual-topline {
    min-height: 30px;
    padding: 0 2px 8px;
    font-size: 0.57rem;
  }

  .visual-data-strip {
    display: none;
  }

  .floating-stat {
    bottom: 10px;
    width: calc(50% - 13px);
    min-width: 0;
    min-height: 55px;
    padding: 10px 11px;
  }

  .floating-stat-left {
    left: 8px;
  }

  .floating-stat-right {
    right: 8px;
    display: block;
  }

  .floating-stat span {
    font-size: 0.5rem;
  }

  .floating-stat strong {
    font-size: 1.12rem;
  }

  .hero-visual figcaption {
    margin-top: 17px;
  }

  .proof-strip {
    margin-top: -27px;
    padding-bottom: 34px;
    background: linear-gradient(to bottom, transparent 0 27px, var(--paper) 27px 100%);
  }

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

  .proof-item,
  .proof-item:nth-child(2) {
    min-height: 134px;
    padding: 29px 20px 24px;
    border-right: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
  }

  .proof-item:nth-child(2n) {
    border-right: 0;
  }

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

  .proof-item strong {
    font-size: 2rem;
  }

  .proof-item > span:last-child {
    font-size: 0.66rem;
  }

  .capability-card,
  .capability-card:last-child,
  .partner-grid article,
  .trajectory-card {
    min-height: auto;
  }

  .integration-status {
    gap: 0;
  }

  .integration-status article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .integration-status article:last-child {
    border-bottom: 0;
  }

  .message-path {
    grid-template-columns: 1fr;
  }

  .message-path li {
    min-height: 0;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .message-path li:not(:last-child)::after {
    display: none;
  }

  .message-path li:last-child {
    border-bottom: 0;
  }

  .path-number {
    margin-bottom: 13px;
  }

  .evidence-record {
    margin-top: 0;
  }

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

  .metric-ribbon article,
  .metric-ribbon article:nth-child(2) {
    min-height: 145px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .metric-ribbon article:nth-child(2n) {
    border-right: 0;
  }

  .metric-ribbon article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .roadmap-swipe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: -20px 0 16px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.67rem;
    font-weight: 780;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }

  .roadmap-swipe span {
    color: var(--gold);
    font-size: 1rem;
  }

  .trajectory-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(86vw, 340px);
    align-items: stretch;
    gap: 11px;
    margin-inline: -14px;
    padding: 0 14px 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 14px;
    scroll-snap-type: inline mandatory;
    scrollbar-color: rgba(247, 191, 0, 0.55) rgba(255, 255, 255, 0.08);
    scrollbar-width: thin;
  }

  .trajectory-card {
    scroll-snap-align: start;
  }

  .trajectory-card,
  .trajectory-card:first-child,
  .trajectory-card:last-child {
    padding: 25px 23px;
  }

  .trajectory-label {
    min-height: 0;
  }

  .partner-grid article {
    min-height: 190px;
  }

  .research-meta {
    margin: 21px 0;
  }

  .founder-copy h2 {
    max-width: 11ch;
  }

  .contact-section {
    padding: 88px 0;
  }

  .contact-section::before {
    top: -260px;
    right: -360px;
  }

  .contact-section::after {
    display: none;
  }

  .contact-layout h2 {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }

  .contact-intake {
    gap: 6px;
    margin-top: 24px;
  }

  .contact-intake li {
    font-size: 0.6rem;
  }
}

@media (max-width: 420px) {
  .brand {
    width: 139px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 14.5vw, 3.55rem);
  }

  .hero-status {
    display: grid;
    grid-template-columns: 1fr;
  }

  .proof-item strong {
    font-size: 1.72rem;
  }

  .proof-item {
    padding-right: 16px;
    padding-left: 16px;
  }

  .evidence-record {
    grid-template-columns: 1fr;
  }

  .evidence-record span,
  .evidence-record span:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .evidence-record span:last-child {
    border-bottom: 0;
  }

  .metric-ribbon article {
    padding: 21px 17px;
  }

  .metric-ribbon strong {
    font-size: 1.75rem;
  }

  .metric-ribbon span {
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .visual-frame,
  .hero-visual:hover .visual-frame,
  .js [data-reveal],
  .js [data-reveal].is-visible {
    transform: none;
    filter: none;
    transition: none;
  }

  .signal-dot::after {
    animation: none;
  }

  .page-progress span {
    transition: none;
  }
}

@media (min-width: 961px) and (max-height: 849px) {
  .evidence-scope {
    position: static;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(20, 32, 51, 0.34);
    --line-light: rgba(255, 255, 255, 0.3);
  }

  .hero-lede,
  .scope-inline,
  .patent-inline,
  .demo-intro > p,
  .message-path p,
  .message-path-note,
  .hero-visual figcaption {
    color: rgba(255, 255, 255, 0.86);
  }
}

@media (forced-colors: active) {
  .page-progress,
  .section-status,
  .hero-grid,
  .hero-glow,
  .vision-orbit,
  .visual-node,
  .contact-section::before,
  .contact-section::after {
    display: none;
  }

  .nav-shell,
  .proof-grid,
  .evidence-record,
  .trajectory-card,
  .integration-status,
  .capability-card {
    border: 1px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }
}
