:root {
  --black: #090a0b;
  --black-deep: #030405;
  --panel: #0d0f10;
  --panel-raised: #111416;
  --cream: #f5e6c8;
  --white: #f5f4f5;
  --muted: #92979b;
  --dim: #c6c2b8;
  --line: rgba(245, 244, 245, 0.12);
  --line-strong: rgba(245, 244, 245, 0.25);
  --system-orange: #ff6b2c;
  --system-orange-hot: #ff8a1f;
  --signal-green: #00b140;
  --titan-teal: #00d6d6;
  --freedom-red: #d30002;
  --freedom-white: #e3e1e0;
  --freedom-blue: #1851d2;
  --max: 1360px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --sans: Arial, "Helvetica Neue", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  background: var(--black);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 177, 64, 0.07), transparent 30rem),
    var(--black);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.045;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgba(255, 255, 255, 0.16) 4px
  );
  mix-blend-mode: screen;
}

::selection {
  background: var(--signal-green);
  color: var(--black);
}

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

a:focus-visible {
  outline: 2px solid var(--signal-green);
  outline-offset: 5px;
}

img {
  max-width: 100%;
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 11px 15px;
  transform: translateY(-180%);
  background: var(--signal-green);
  color: var(--black);
  font: 800 0.78rem var(--mono);
  letter-spacing: 0.08em;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 4, 5, 0.88);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 80px;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 34px;
}

.nav-brand {
  display: block;
}

.nav-brand img {
  width: 100%;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 36px);
  color: #a8acae;
  font: 700 0.67rem var(--mono);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 10px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--signal-green);
  transition: transform 180ms ease;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.dev-state {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--signal-green);
  font: 800 0.65rem var(--mono);
  letter-spacing: 0.13em;
}

.dev-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-green);
  box-shadow: 0 0 12px var(--signal-green);
  animation: state-pulse 2.2s ease-in-out infinite;
}

.back-link {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--muted);
  font: 700 0.72rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--white);
}

.technical-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.8) 55%, transparent 100%);
}

.hero {
  min-height: calc(100svh - 80px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 62px 0 86px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 81% 24%, rgba(0, 177, 64, 0.11), transparent 24rem),
    radial-gradient(circle at 20% 75%, rgba(255, 107, 44, 0.07), transparent 28rem),
    var(--black-deep);
}

.hero::after {
  content: "1412";
  position: absolute;
  right: -0.08em;
  bottom: -0.26em;
  z-index: -1;
  color: transparent;
  font-size: min(36vw, 31rem);
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 0.8;
  -webkit-text-stroke: 1px rgba(0, 177, 64, 0.08);
}

.hero-shell {
  position: relative;
}

.hero-status {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(42px, 6vw, 82px);
  color: var(--signal-green);
  font: 700 0.65rem var(--mono);
  letter-spacing: 0.17em;
}

.hero-status p {
  margin: 0;
}

.hero-status p:last-child {
  color: #73797d;
  text-align: right;
}

.hero-lockup {
  width: min(100%, 1320px);
  position: relative;
  margin: 0 auto;
  display: block;
}

.hero-lockup .hero-wordmark {
  width: 100%;
  max-width: 1320px;
  display: block;
  filter: drop-shadow(0 0 20px rgba(0, 177, 64, 0.06));
}

.freedom-rail {
  width: 51.6%;
  height: 7px;
  display: grid;
  grid-template-columns: 1.067fr 1fr 0.982fr;
  margin-top: 14px;
  overflow: hidden;
}

.freedom-rail i {
  display: block;
}

.freedom-rail i:nth-child(1) {
  background: var(--freedom-red);
}

.freedom-rail i:nth-child(2) {
  background: var(--freedom-white);
}

.freedom-rail i:nth-child(3) {
  background: var(--freedom-blue);
}

.hero-copy {
  margin-top: clamp(70px, 9vw, 132px);
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: clamp(38px, 6vw, 92px);
  align-items: start;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--signal-green);
  font: 800 0.7rem var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1,
.infra-hero h1 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(4rem, 8vw, 8.6rem);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.84;
}

.hero h1 > span,
.infra-hero h1 > span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--signal-green);
}

.hero h1 .titan-ai {
  display: inline;
  -webkit-text-stroke-color: var(--titan-teal);
}

.hero-copy > .eyebrow {
  grid-row: 1 / span 2;
  padding-top: 12px;
}

.hero-copy-grid {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(30px, 5vw, 72px);
  margin-top: 42px;
}

.hero-lede {
  margin: 0;
  color: #d0cdc3;
  font-size: clamp(1.08rem, 1.7vw, 1.38rem);
  line-height: 1.63;
}

.hero-command {
  margin: 0;
  padding-left: 23px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.hero-command b,
.hero-command span {
  display: block;
  color: var(--white);
}

.hero-command b {
  font-size: 1rem;
}

.hero-command span {
  margin-bottom: 8px;
}

.operating-strip {
  margin-top: 74px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.4);
}

.operating-strip > div {
  min-height: 126px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.operating-strip > div + div {
  border-left: 1px solid var(--line);
}

.operating-strip span {
  color: var(--signal-green);
  font: 700 0.65rem var(--mono);
  letter-spacing: 0.16em;
}

.operating-strip strong {
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: -0.035em;
}

.hero-cross {
  position: absolute;
  z-index: -1;
  width: 24px;
  height: 24px;
  opacity: 0.45;
}

.hero-cross::before,
.hero-cross::after {
  content: "";
  position: absolute;
  background: var(--line-strong);
}

.hero-cross::before {
  top: 11px;
  left: 0;
  width: 24px;
  height: 1px;
}

.hero-cross::after {
  top: 0;
  left: 11px;
  width: 1px;
  height: 24px;
}

.hero-cross-a {
  top: 18%;
  left: 4%;
}

.hero-cross-b {
  right: 5%;
  bottom: 17%;
}

.scroll-cue {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 27px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #777c80;
  font: 700 0.62rem var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue span {
  color: var(--signal-green);
}

.origin-section,
.capabilities-section,
.delivery-section,
.infra-section,
.boundary-section {
  padding: clamp(100px, 11vw, 160px) 0;
  border-bottom: 1px solid var(--line);
}

.origin-section {
  background:
    linear-gradient(135deg, rgba(255, 107, 44, 0.05), transparent 31%),
    var(--black);
}

.section-index {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 72px;
  font-family: var(--mono);
}

.section-index span {
  color: var(--signal-green);
  font-size: 0.76rem;
  font-weight: 800;
}

.section-index p {
  margin: 0;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: #767b7f;
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.origin-layout {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.62fr);
  gap: clamp(50px, 8vw, 120px);
  align-items: end;
}

.section-title h2 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(3.2rem, 6.2vw, 7.2rem);
  font-weight: 780;
  letter-spacing: -0.07em;
  line-height: 0.91;
}

.section-title h2 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--system-orange);
}

.origin-readout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  background: var(--panel);
}

.origin-readout div {
  min-height: 110px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.origin-readout div:nth-child(even) {
  border-left: 1px solid var(--line);
}

.origin-readout div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.origin-readout span {
  color: var(--muted);
  font: 700 0.61rem var(--mono);
  letter-spacing: 0.13em;
}

.origin-readout b {
  color: var(--signal-green);
  font: 700 1.35rem var(--mono);
}

.origin-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.origin-card {
  min-height: 340px;
  position: relative;
  overflow: hidden;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--panel);
}

.origin-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid currentColor;
  opacity: 0.08;
  transform: rotate(45deg);
}

.origin-card header {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font: 700 0.68rem var(--mono);
}

.origin-card header i {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.3;
}

.origin-freedom header i {
  height: 4px;
  background: linear-gradient(
    to right,
    var(--freedom-red) 0 34.9%,
    var(--freedom-white) 34.9% 67.6%,
    var(--freedom-blue) 67.6% 100%
  );
  opacity: 1;
}

.origin-lineage {
  color: var(--signal-green);
}

.origin-room {
  color: var(--titan-teal);
}

.origin-card h3 {
  margin: 0 0 18px;
  color: var(--cream);
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.045em;
}

.origin-freedom h3,
.identity-sentence .identity-freedom {
  color: transparent;
  background: linear-gradient(
    90deg,
    var(--freedom-red) 0 31%,
    var(--freedom-white) 47% 57%,
    var(--freedom-blue) 73% 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.origin-lineage h3 {
  color: var(--signal-green);
}

.origin-room h3 {
  color: var(--titan-teal);
}

.origin-card p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.identity-sentence {
  margin: 74px 0 0;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: clamp(1.35rem, 2.6vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.identity-sentence .identity-room {
  color: var(--signal-green);
}

.identity-sentence .identity-family {
  color: var(--cream);
}

.identity-sentence .identity-ai {
  color: var(--titan-teal);
  font-style: normal;
}

.identity-sentence strong {
  color: var(--signal-green);
}

.capabilities-section {
  background:
    radial-gradient(circle at 12% 80%, rgba(0, 177, 64, 0.09), transparent 26rem),
    var(--black-deep);
}

.capability-heading,
.delivery-heading,
.infra-heading {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(46px, 8vw, 120px);
  align-items: end;
}

.capability-heading > p,
.delivery-heading > p,
.infra-heading > p {
  max-width: 500px;
  margin: 0 0 7px;
  color: var(--muted);
  line-height: 1.75;
}

.capability-grid {
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-card {
  min-height: 390px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  transition:
    background 220ms ease,
    transform 220ms ease;
}

.capability-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(0, 177, 64, 0.15), transparent 50%),
    repeating-linear-gradient(90deg, transparent 0 29px, rgba(0, 177, 64, 0.06) 30px);
  transition: opacity 220ms ease;
}

.capability-card:hover {
  background: var(--panel);
  transform: translateY(-3px);
}

.capability-card:hover::before {
  opacity: 1;
}

.capability-card header {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: center;
  color: var(--signal-green);
  font: 700 0.66rem var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.capability-card header i {
  height: 1px;
  background: var(--line);
}

.capability-card h3 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.capability-card p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.capability-card footer {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  font: 700 0.62rem var(--mono);
  letter-spacing: 0.1em;
}

.capability-card footer span {
  color: var(--system-orange);
}

.capability-card footer b {
  color: #a8acae;
  text-align: right;
}

.process-rail {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.process-rail div {
  position: relative;
  padding-top: 21px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font: 700 0.61rem var(--mono);
  text-align: center;
}

.process-rail i {
  width: 8px;
  height: 8px;
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  border-radius: 50%;
  background: var(--black);
  border: 1px solid var(--signal-green);
}

.process-rail div:first-child i,
.process-rail div:last-child i {
  background: var(--signal-green);
  box-shadow: 0 0 12px rgba(0, 177, 64, 0.7);
}

.creed-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(110px, 13vw, 190px) 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 68% 55%, rgba(255, 107, 44, 0.09), transparent 30rem),
    var(--black);
}

.creed-grid {
  opacity: 0.17;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.creed-lines p {
  margin: 0;
  color: transparent;
  font-size: clamp(3.5rem, 8.4vw, 9.3rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.97;
  -webkit-text-stroke: 1.3px var(--system-orange);
}

.creed-lines p:nth-child(2) {
  text-align: center;
  -webkit-text-stroke-color: var(--white);
}

.creed-lines p:nth-child(3) {
  text-align: right;
  -webkit-text-stroke-color: var(--signal-green);
}

.creed-lines span {
  color: var(--cream);
  font-weight: 500;
  -webkit-text-stroke: 0;
}

.creed-note {
  max-width: 620px;
  margin: 72px 0 0 auto;
  padding-left: 25px;
  border-left: 2px solid var(--signal-green);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.delivery-section {
  background:
    linear-gradient(145deg, rgba(0, 177, 64, 0.07), transparent 38%),
    var(--panel);
}

.route-diagram {
  margin-top: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  border: 1px solid var(--line);
  background: var(--black);
}

.route-diagram > div {
  min-height: 170px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.route-diagram > span {
  min-width: 70px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
  color: var(--signal-green);
}

.route-diagram small {
  color: var(--muted);
  font: 700 0.62rem var(--mono);
  letter-spacing: 0.15em;
}

.route-diagram strong {
  font-size: clamp(1.25rem, 2.5vw, 2.25rem);
  letter-spacing: -0.04em;
}

.routing-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.routing-card {
  min-height: 280px;
  padding: 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.routing-card > span {
  color: var(--system-orange);
  font: 700 0.63rem var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.routing-card h3 {
  margin: 80px 0 15px;
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.routing-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.primary-route {
  margin-top: 34px;
  min-height: 94px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid var(--line-strong);
  background: var(--black);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.primary-route:hover {
  border-color: var(--signal-green);
  background: rgba(0, 177, 64, 0.06);
}

.primary-route span {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

.primary-route small {
  color: var(--signal-green);
  font: 700 0.61rem var(--mono);
  letter-spacing: 0.16em;
}

.primary-route b {
  color: var(--signal-green);
  font-size: 1.8rem;
}

.contact-section {
  padding: 118px 0;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 107, 44, 0.07), transparent 34%),
    var(--black);
}

.contact-layout {
  display: grid;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(50px, 9vw, 140px);
  align-items: end;
}

.contact-state {
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line-strong);
  background: var(--panel);
}

.contact-state > span {
  margin-bottom: auto;
  color: var(--system-orange);
  font: 700 0.63rem var(--mono);
  letter-spacing: 0.16em;
}

.contact-state strong {
  color: var(--signal-green);
  font: 700 0.78rem var(--mono);
  letter-spacing: 0.12em;
}

.contact-state p {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  padding: 96px 0 46px;
  background: var(--black-deep);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) 1.1fr;
  gap: clamp(60px, 10vw, 150px);
  align-items: end;
}

.footer-brand {
  display: block;
}

.footer-brand img {
  width: 100%;
  display: block;
}

.footer-brand .freedom-rail {
  height: 4px;
  margin-top: 9px;
}

.footer-copy {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #6f7477;
  font: 700 0.62rem var(--mono);
  letter-spacing: 0.13em;
  text-align: right;
  text-transform: uppercase;
}

.footer-copy p {
  margin: 0;
}

.footer-copy p + p {
  margin-top: 11px;
  color: var(--signal-green);
}

/* Infrastructure capability route */

.infra-page {
  background: var(--black);
}

.infra-hero {
  min-height: calc(90svh - 80px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 80px 0 104px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 24%, rgba(0, 177, 64, 0.12), transparent 28rem),
    var(--black-deep);
}

.infra-hero::after {
  content: "INFRA";
  position: absolute;
  right: -0.03em;
  bottom: -0.1em;
  z-index: -1;
  color: transparent;
  font-size: clamp(8rem, 26vw, 25rem);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.75;
  -webkit-text-stroke: 1px rgba(0, 177, 64, 0.08);
}

.infra-hero-shell {
  position: relative;
}

.infra-hero .eyebrow {
  margin-top: 78px;
}

.infra-hero h1 {
  max-width: 1120px;
}

.infra-lede {
  max-width: 800px;
  margin: 46px 0 0;
  color: #cbc8bf;
  font-size: clamp(1.08rem, 1.8vw, 1.4rem);
  line-height: 1.7;
}

.infra-route {
  margin-top: 70px;
}

.infra-heading {
  align-items: start;
}

.infra-capability-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.infra-capability-grid article {
  min-height: 300px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
}

.infra-capability-grid article > span {
  color: var(--signal-green);
  font: 700 0.68rem var(--mono);
}

.infra-capability-grid h3 {
  max-width: 460px;
  margin: 76px 0 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.infra-capability-grid p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.boundary-section {
  background:
    radial-gradient(circle at 14% 86%, rgba(255, 107, 44, 0.08), transparent 28rem),
    var(--panel);
}

.boundary-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(50px, 8vw, 120px);
  align-items: start;
}

.boundary-panel h2 span {
  display: block;
  margin-top: 12px;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--signal-green);
}

.boundary-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.boundary-copy dl {
  margin: 44px 0 0;
  border: 1px solid var(--line);
}

.boundary-copy dl div {
  min-height: 72px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.boundary-copy dl div + div {
  border-top: 1px solid var(--line);
}

.boundary-copy dt {
  color: var(--muted);
  font: 700 0.62rem var(--mono);
  letter-spacing: 0.12em;
}

.boundary-copy dd {
  margin: 0;
  color: var(--signal-green);
  font: 700 0.72rem var(--mono);
}

.capability-footer {
  padding-top: 70px;
}

@keyframes state-pulse {
  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-status,
  .hero-lockup,
  .hero-copy,
  .operating-strip {
    animation: rise 0.7s ease both;
  }

  .hero-lockup {
    animation-delay: 0.06s;
  }

  .hero-copy {
    animation-delay: 0.12s;
  }

  .operating-strip {
    animation-delay: 0.18s;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 1050px) {
  .nav-shell {
    grid-template-columns: 210px 1fr auto;
  }

  .nav-links {
    justify-content: flex-end;
  }

  .hero-copy,
  .origin-layout,
  .capability-heading,
  .delivery-heading,
  .infra-heading,
  .boundary-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy > .eyebrow {
    grid-row: auto;
  }

  .hero h1,
  .hero-copy-grid {
    grid-column: auto;
  }

  .hero-copy-grid {
    max-width: 900px;
  }

  .origin-readout {
    max-width: 650px;
  }

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

  .route-diagram {
    grid-template-columns: 1fr;
  }

  .route-diagram > span {
    min-height: 50px;
    border: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transform: rotate(90deg);
  }

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

  .routing-card {
    min-height: 230px;
  }

  .routing-card h3 {
    margin-top: 54px;
  }
}

@media (max-width: 820px) {
  .nav-shell {
    min-height: 74px;
    grid-template-columns: 180px 1fr;
  }

  .nav-links {
    display: none;
  }

  .dev-state {
    justify-self: end;
  }

  .back-link {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 50px;
  }

  .hero-status p:last-child {
    display: none;
  }

  .hero-copy-grid,
  .operating-strip,
  .origin-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .operating-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .origin-card {
    min-height: 290px;
  }

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

  .process-rail {
    display: none;
  }

  .creed-lines p,
  .creed-lines p:nth-child(2),
  .creed-lines p:nth-child(3) {
    text-align: left;
  }

  .infra-capability-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    max-width: 620px;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-shell {
    grid-template-columns: 146px 1fr;
  }

  .dev-state {
    font-size: 0.56rem;
  }

  .hero-status {
    margin-bottom: 38px;
  }

  .hero-lockup {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) 58px;
    gap: 8px;
  }

  .freedom-rail {
    height: 5px;
    margin-top: 9px;
  }

  .hero-copy {
    margin-top: 72px;
  }

  .hero h1,
  .infra-hero h1 {
    font-size: clamp(3.5rem, 18vw, 5.4rem);
  }

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

  .hero-command {
    padding-top: 22px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section-index {
    margin-bottom: 52px;
  }

  .section-title h2 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .origin-readout {
    grid-template-columns: 1fr;
  }

  .origin-readout div:nth-child(even) {
    border-left: 0;
  }

  .origin-readout div + div {
    border-top: 1px solid var(--line);
  }

  .identity-sentence {
    display: grid;
  }

  .capability-card {
    min-height: 360px;
  }

  .creed-lines p {
    font-size: clamp(3rem, 17vw, 5rem);
  }

  .creed-lines span {
    display: block;
    margin-bottom: 16px;
  }

  .infra-hero .eyebrow {
    margin-top: 52px;
  }

  .route-diagram > div {
    min-height: 140px;
  }

  .primary-route {
    align-items: flex-end;
  }
}

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

  .dev-state i {
    animation: none;
  }
}
