:root {
  --ink: #0a1815;
  --ink-soft: #32423e;
  --paper: #f4f1e9;
  --paper-deep: #e9e4d9;
  --forest: #071311;
  --forest-2: #0d211d;
  --line: rgba(10, 24, 21, 0.16);
  --line-light: rgba(255, 255, 255, 0.14);
  --signal: #b8f36b;
  --signal-deep: #8bc843;
  --white: #fffef8;
  --shell: min(1180px, calc(100vw - 64px));
  --radius: 3px;
  --shadow: 0 30px 80px rgba(5, 17, 14, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
select,
textarea {
  font: inherit;
}

svg {
  display: block;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--signal);
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.scrolled {
  background: rgba(7, 19, 17, 0.9);
  border-color: var(--line-light);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  fill: var(--signal);
}

.brand-type {
  display: grid;
  line-height: 1;
  text-transform: uppercase;
}

.brand-type strong {
  color: var(--white);
  font-size: 14px;
  letter-spacing: 0.17em;
  font-weight: 760;
}

.brand-type span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  letter-spacing: 0.38em;
}

.site-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 34px;
}

.site-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 620;
  letter-spacing: 0.035em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  inset: auto 0 -7px;
  height: 1px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav .nav-contact {
  padding: 10px 15px;
  color: var(--ink);
  background: var(--signal);
  border: 1px solid var(--signal);
}

.site-nav .nav-contact:hover,
.site-nav .nav-contact:focus-visible {
  color: var(--white);
  background: transparent;
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 760px;
  padding: 168px 0 0;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 76% 40%, rgba(184, 243, 107, 0.085), transparent 29%),
    linear-gradient(135deg, #06100e 0%, #0b1b18 64%, #071411 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10vw -310px auto;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(184, 243, 107, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(184, 243, 107, 0.018), 0 0 0 180px rgba(184, 243, 107, 0.012);
}

.hero-grid,
.contact-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 85%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.75fr);
  gap: clamp(70px, 9vw, 130px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  color: #48615a;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 22px;
  height: 1px;
  background: var(--signal-deep);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.56);
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.58);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 500;
}

.hero h1 em {
  color: var(--signal);
  font-weight: 400;
}

.hero-lede {
  max-width: 665px;
  margin: 31px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 210px;
  padding: 15px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--signal);
  border-color: var(--signal);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--white);
  background: transparent;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  font-weight: 680;
  text-decoration: none;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--signal);
  border-color: var(--signal);
}

.text-link.dark {
  color: var(--ink);
  border-color: var(--line);
}

.systems-card {
  position: relative;
  min-height: 455px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.systems-card-top,
.systems-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 720;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.systems-card-top {
  border-bottom: 1px solid var(--line-light);
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
}

.systems-orbit {
  position: relative;
  min-height: 352px;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(184, 243, 107, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 225px;
  height: 225px;
}

.orbit-two {
  width: 310px;
  height: 310px;
  border-style: dashed;
  animation: orbit-spin 32s linear infinite;
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.system-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 98px;
  height: 98px;
  display: grid;
  place-items: center;
  background: rgba(184, 243, 107, 0.07);
  border: 1px solid rgba(184, 243, 107, 0.38);
  transform: translate(-50%, -50%) rotate(45deg);
}

.system-core svg {
  width: 56px;
  fill: none;
  stroke: var(--signal);
  stroke-width: 1.4;
  transform: rotate(-45deg);
}

.node {
  position: absolute;
  padding: 6px 9px;
  color: rgba(255, 255, 255, 0.72);
  background: #0c1d19;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 8px;
  font-weight: 760;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.node::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
}

.node-ai { top: 23%; left: 19%; }
.node-ai::before { right: -3px; bottom: -3px; }
.node-vision { top: 17%; right: 14%; }
.node-vision::before { left: -3px; bottom: -3px; }
.node-control { top: 56%; right: 6%; }
.node-control::before { left: -3px; top: -3px; }
.node-hardware { bottom: 10%; right: 31%; }
.node-hardware::before { left: -3px; top: -3px; }
.node-software { bottom: 21%; left: 7%; }
.node-software::before { right: -3px; top: -3px; }

.systems-card-bottom {
  min-height: 53px;
  border-top: 1px solid var(--line-light);
}

.systems-card-bottom b {
  flex: 1;
  height: 1px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.12);
}

.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 88px;
  border-top: 1px solid var(--line-light);
}

.proof-strip div {
  min-height: 102px;
  display: grid;
  align-content: center;
  padding: 0 28px;
  border-right: 1px solid var(--line-light);
}

.proof-strip div:first-child {
  padding-left: 0;
}

.proof-strip div:last-child {
  border: 0;
}

.proof-strip strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 500;
}

.proof-strip span {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.section {
  padding: 128px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.6fr);
  column-gap: 90px;
  align-items: end;
  margin-bottom: 60px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.method h2,
.seams h2,
.contact h2,
.contact h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.038em;
  font-weight: 500;
}

.section-heading > p:last-child {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

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

.capability-card {
  position: relative;
  min-height: 390px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.18);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.capability-card:hover {
  z-index: 2;
  color: var(--white);
  background: var(--forest-2);
  transform: translateY(-4px);
}

.card-number {
  color: #4f655f;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.15em;
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-top: 49px;
  color: var(--ink);
  background: var(--signal);
  border-radius: 50%;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 16px;
  font-weight: 700;
}

.capability-card h3 {
  margin: 23px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 500;
}

.capability-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
  transition: color 180ms ease;
}

.capability-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.capability-card li {
  padding: 4px 7px;
  color: #405851;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 690;
  letter-spacing: 0.04em;
  transition: color 180ms ease, border-color 180ms ease;
}

.capability-card:hover p,
.capability-card:hover li {
  color: rgba(255, 255, 255, 0.64);
}

.capability-card:hover li {
  border-color: rgba(255, 255, 255, 0.16);
}

.selected-work,
.work-catalog {
  background: var(--paper-deep);
}

.work-status,
.work-card h3,
.work-summary,
.work-evidence,
.work-hero h1,
.work-hero-summary,
.work-detail-section p,
.work-facts-group p {
  overflow-wrap: anywhere;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.work-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(10, 24, 21, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(10, 24, 21, 0.12);
}

.work-card-media {
  position: relative;
  min-height: 220px;
  display: block;
  overflow: hidden;
  background: var(--forest-2);
  border-bottom: 1px solid var(--line);
}

.work-card-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 300ms ease;
}

.work-card:hover .work-card-media img {
  transform: scale(1.025);
}

.work-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.work-card-no-media .work-card-body {
  border-top: 4px solid var(--signal-deep);
}

.work-status {
  margin: 0 0 15px;
  color: #4f711f;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.work-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1.13;
  font-weight: 500;
}

.work-card h3 a {
  text-decoration: none;
}

.work-card h3 a:hover,
.work-card h3 a:focus-visible {
  text-decoration: underline;
  text-decoration-color: var(--signal-deep);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.work-summary {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.72;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 21px;
}

.work-tags span,
.work-tags a {
  padding: 5px 8px;
  color: #405851;
  border: 1px solid var(--line);
  font-size: 9px;
  font-weight: 720;
  letter-spacing: 0.055em;
  line-height: 1.3;
  text-decoration: none;
}

.work-tags a:hover,
.work-tags a:focus-visible {
  color: var(--ink);
  border-color: var(--signal-deep);
}

.work-evidence {
  margin: 24px 0 26px;
  padding-top: 18px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.65;
}

.work-evidence strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-card .text-link {
  width: fit-content;
  margin-top: auto;
}

.work-all-link {
  display: flex;
  justify-content: flex-end;
  margin-top: 36px;
}

.button-outline {
  color: var(--ink);
  background: transparent;
  border-color: rgba(10, 24, 21, 0.35);
}

.button-outline:hover,
.button-outline:focus-visible {
  color: var(--white);
  background: var(--forest-2);
  border-color: var(--forest-2);
}

.interior-header {
  background: rgba(7, 19, 17, 0.97);
  border-color: var(--line-light);
}

.site-nav [aria-current="page"] {
  color: var(--white);
}

.work-page {
  background: var(--paper);
}

.work-hero {
  padding: 168px 0 92px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 35%, rgba(184, 243, 107, 0.1), transparent 30%),
    linear-gradient(135deg, #06100e 0%, #0d211d 100%);
}

.work-hero-inner {
  max-width: 900px;
}

.work-hero h1,
.work-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.042em;
  font-weight: 500;
}

.work-index-hero .work-hero-inner > p:last-child,
.work-hero-summary {
  max-width: 720px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}

.breadcrumb a {
  text-underline-offset: 4px;
}

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

.work-tags-light a,
.work-tags-light span {
  color: rgba(255, 255, 255, 0.72);
  border-color: rgba(255, 255, 255, 0.2);
}

.work-tags-light a:hover,
.work-tags-light a:focus-visible {
  color: var(--white);
  border-color: var(--signal);
}

.work-feature-image {
  width: min(1180px, calc(100vw - 64px));
  max-height: 680px;
  margin: 70px auto 0;
  overflow: hidden;
  background: var(--forest-2);
  border: 1px solid var(--line);
}

.work-feature-image img {
  width: 100%;
  max-height: 680px;
  display: block;
  object-fit: cover;
}

.work-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: clamp(64px, 10vw, 132px);
  align-items: start;
  padding-top: 104px;
  padding-bottom: 120px;
}

.work-detail-copy {
  min-width: 0;
}

.work-detail-section {
  padding: 0 0 42px;
  border-bottom: 1px solid var(--line);
}

.work-detail-section + .work-detail-section {
  padding-top: 42px;
}

.work-detail-section h2,
.work-facts h2 {
  margin: 0 0 15px;
  color: #4f711f;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.work-facts h2 {
  color: var(--ink-soft);
}

.work-detail-section p {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.55;
}

.work-facts {
  position: sticky;
  top: 118px;
  padding: 28px;
  background: var(--paper-deep);
  border-top: 4px solid var(--signal-deep);
}

.work-facts-group + .work-facts-group {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.work-facts-group p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.work-facts .work-tags {
  margin-top: 0;
}

.work-public-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work-public-links a {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 11px;
  font-weight: 680;
  text-decoration-color: var(--signal-deep);
  text-underline-offset: 4px;
}

.work-cta {
  padding: 78px 0;
  color: var(--white);
  background: #102821;
}

.work-cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
}

.work-cta h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.3vw, 56px);
}

.method {
  color: var(--white);
  background: var(--forest);
}

.method-layout {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 10vw;
  align-items: start;
}

.method-copy {
  position: sticky;
  top: 130px;
}

.method-copy > p:not(.eyebrow) {
  max-width: 490px;
  margin: 27px 0 0;
  color: rgba(255, 255, 255, 0.56);
  line-height: 1.8;
}

.method blockquote {
  margin: 52px 0 0;
  padding: 24px 0 0;
  color: var(--signal);
  border-top: 1px solid var(--line-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.45;
  font-style: italic;
}

.method-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-steps li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 34px 0 38px;
  border-top: 1px solid var(--line-light);
}

.method-steps li:last-child {
  border-bottom: 1px solid var(--line-light);
}

.method-steps > li > span {
  color: var(--signal);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.15em;
}

.method-steps h3 {
  margin: -5px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
}

.method-steps p {
  max-width: 450px;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  line-height: 1.75;
}

.seams {
  background: var(--paper-deep);
}

.seams-layout {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 10vw;
  align-items: center;
}

.seams-visual {
  position: relative;
  min-height: 530px;
  perspective: 1000px;
}

.layer {
  position: absolute;
  left: 50%;
  width: min(450px, 92%);
  height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  border: 1px solid rgba(10, 24, 21, 0.24);
  background:
    linear-gradient(rgba(10, 24, 21, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 24, 21, 0.08) 1px, transparent 1px),
    rgba(244, 241, 233, 0.72);
  background-size: 35px 35px;
  box-shadow: 0 20px 40px rgba(10, 24, 21, 0.07);
  transform: translateX(-50%) rotateX(56deg) rotateZ(-12deg);
}

.layer span {
  color: var(--ink);
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.layer::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  background: var(--signal-deep);
}

.layer-1 { top: 238px; opacity: 0.58; }
.layer-2 { top: 158px; }
.layer-3 { top: 78px; }
.layer-4 { top: -2px; }

.seams-copy > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.seams-copy .text-link {
  margin-top: 27px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

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

.principle-grid article {
  min-height: 255px;
  padding: 30px 36px 10px 0;
  border-right: 1px solid var(--line);
}

.principle-grid article + article {
  padding-left: 36px;
}

.principle-grid article:last-child {
  border-right: 0;
}

.principle-grid span {
  color: #4f711f;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.14em;
}

.principle-grid h3 {
  margin: 50px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 500;
}

.principle-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.contact {
  position: relative;
  overflow: hidden;
  padding: 120px 0 126px;
  color: var(--white);
  background: #102821;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.contact::after {
  content: "M";
  position: absolute;
  right: -18px;
  bottom: -215px;
  color: rgba(184, 243, 107, 0.05);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 560px;
  line-height: 1;
}

.contact-grid {
  mask-image: linear-gradient(90deg, transparent, black);
}

.contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(540px, 1.22fr);
  gap: clamp(54px, 8vw, 108px);
  align-items: start;
}

.contact h2 {
  max-width: 620px;
}

.contact-copy > p:not(.eyebrow, .contact-safety, .contact-fallback) {
  max-width: 560px;
  margin: 27px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.contact-expectations {
  display: grid;
  margin-top: 46px;
  border-top: 1px solid var(--line-light);
}

.contact-expectations p {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line-light);
  font-size: 13px;
  line-height: 1.6;
}

.contact-expectations strong {
  color: var(--signal);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.contact-safety {
  max-width: 560px;
  margin: 31px 0 0;
  padding-left: 17px;
  color: rgba(255, 255, 255, 0.7);
  border-left: 2px solid var(--signal);
  font-size: 12px;
  line-height: 1.7;
}

.contact-safety strong {
  display: block;
  color: var(--white);
  font-size: 12px;
}

.contact-fallback {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.contact-fallback a,
.noscript-note a {
  color: var(--white);
  text-underline-offset: 4px;
  text-decoration-color: var(--signal);
}

.contact-form {
  position: relative;
  display: grid;
  gap: 25px;
  padding: clamp(25px, 4vw, 42px);
  color: var(--ink);
  background: var(--paper);
  border-top: 4px solid var(--signal);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.24);
}

.form-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.form-heading p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.1;
}

.form-heading span {
  color: #4f625c;
  font-size: 11px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  min-width: 0;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.area-fieldset legend {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.4;
}

.field label > span,
.area-fieldset legend span {
  color: #5a6e68;
  font-size: 10px;
  font-weight: 620;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(10, 24, 21, 0.27);
  border-radius: 0;
  font-size: 15px;
  line-height: 1.45;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.field input,
.field select {
  min-height: 48px;
  padding: 10px 12px;
}

.field textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(10, 24, 21, 0.48);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: #2f6418;
  box-shadow: 0 0 0 3px rgba(47, 100, 24, 0.16);
  outline: 0;
}

.field [aria-invalid="true"] {
  border-color: #9a281d;
  box-shadow: 0 0 0 3px rgba(154, 40, 29, 0.13);
}

.field-help {
  margin: 7px 0 0;
  color: #52665f;
  font-size: 10px;
  line-height: 1.55;
}

.area-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.area-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-options label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.area-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.area-options span {
  display: block;
  padding: 7px 10px;
  color: #3f544e;
  background: rgba(255, 255, 255, 0.36);
  border: 1px solid rgba(10, 24, 21, 0.25);
  font-size: 10px;
  font-weight: 690;
  line-height: 1.3;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.area-options input:checked + span {
  color: var(--ink);
  background: var(--signal);
  border-color: #5c861f;
}

.area-options input:focus-visible + span {
  outline: 3px solid #245c18;
  outline-offset: 3px;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.verification-block {
  display: grid;
  grid-template-columns: minmax(170px, 0.55fr) minmax(290px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
  color: var(--white);
  background: var(--forest-2);
}

.verification-block > div:first-child {
  display: grid;
  gap: 5px;
}

.verification-block strong {
  font-size: 12px;
}

.verification-block span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  line-height: 1.5;
}

.turnstile-slot {
  width: 100%;
  min-height: 65px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.turnstile-slot iframe {
  max-width: 100%;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  color: #3f544e;
  font-size: 11px;
  line-height: 1.55;
  cursor: pointer;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #4f7a20;
}

.consent-row strong {
  color: #4f711f;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 5px;
}

.form-submit {
  flex: 0 0 auto;
  color: var(--ink);
  background: var(--signal);
  border-color: #5c861f;
  cursor: pointer;
}

.form-submit:hover,
.form-submit:focus-visible {
  color: var(--white);
  background: var(--forest-2);
}

.form-submit:disabled {
  color: #596b65;
  background: #d7d8cd;
  border-color: #b9bcb2;
  cursor: not-allowed;
  transform: none;
}

.form-actions p {
  margin: 0;
  color: #52665f;
  font-size: 10px;
  line-height: 1.55;
}

.form-alert,
.form-status,
.noscript-note {
  margin: 0;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.55;
}

.form-alert,
.form-status.error {
  color: #691a13;
  background: #f5ded8;
  border-left: 3px solid #9a281d;
}

.form-alert strong {
  display: block;
}

.form-alert ul {
  margin: 7px 0 0;
  padding-left: 18px;
}

.form-status.success,
.form-status:not(.error) {
  color: #19420f;
  background: #e2efd2;
  border-left: 3px solid #4f7a20;
}

.noscript-note {
  color: var(--white);
  background: var(--forest-2);
}

.button-light {
  min-width: 255px;
  color: var(--ink);
  background: var(--white);
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
}

.site-footer {
  padding: 34px 0;
  color: var(--white);
  background: var(--forest);
  border-top: 1px solid var(--line-light);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.footer-brand .brand-mark {
  width: 27px;
}

.footer-brand .brand-type strong {
  font-size: 11px;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.footer-inner p:last-child {
  justify-self: end;
}

.reveal-enabled [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-enabled [data-reveal][data-delay="1"] { transition-delay: 90ms; }
.reveal-enabled [data-reveal][data-delay="2"] { transition-delay: 180ms; }

.reveal-enabled [data-reveal].revealed {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid #245c18;
  outline-offset: 4px;
}

.site-header :focus-visible,
.hero :focus-visible,
.work-hero :focus-visible,
.work-cta :focus-visible,
.method :focus-visible,
.contact :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--signal);
}

.capability-card:hover .card-number {
  color: var(--signal);
}

.error-page .contact-inner {
  display: block;
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 44px, 780px); }

  .hero {
    padding-top: 142px;
  }

  .hero-layout,
  .method-layout,
  .seams-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    gap: 70px;
  }

  .systems-card {
    width: min(520px, 100%);
  }

  .proof-strip {
    margin-top: 70px;
  }

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

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

  .work-detail-layout {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .work-facts {
    position: static;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .method-copy {
    position: static;
  }

  .method-layout {
    gap: 68px;
  }

  .seams-layout {
    gap: 36px;
  }

  .contact-inner {
    gap: 62px;
  }

  .contact-copy {
    max-width: 680px;
  }

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

@media (min-width: 831px) and (max-width: 980px) {
  .header-inner {
    gap: 18px;
  }

  .site-nav {
    gap: 20px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .site-nav .nav-contact {
    padding-inline: 12px;
  }
}

@media (max-width: 830px) {
  :root { --shell: calc(100% - 36px); }

  html { scroll-padding-top: 72px; }

  .header-inner {
    min-height: 70px;
  }

  .nav-toggle {
    position: relative;
    z-index: 3;
    width: 42px;
    height: 42px;
    display: grid;
    place-content: center;
    gap: 7px;
    color: inherit;
    border: 1px solid var(--line-light);
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: grid;
    align-content: safe center;
    justify-items: start;
    gap: 26px;
    padding: 88px 28px 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(7, 19, 17, 0.98);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms ease;
  }

  .site-nav.open {
    transform: none;
    visibility: visible;
  }

  body.nav-open .site-header.scrolled {
    backdrop-filter: none;
  }

  .site-nav a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
  }

  .site-nav .nav-contact {
    margin-top: 16px;
    font-family: inherit;
    font-size: 13px;
  }

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

  .hero h1 {
    font-size: clamp(46px, 13vw, 60px);
  }

  .hero-lede {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .hero-layout {
    gap: 46px;
  }

  .systems-card {
    min-height: 342px;
  }

  .systems-orbit {
    min-height: 238px;
  }

  .orbit-one { width: 158px; height: 158px; }
  .orbit-two { width: 214px; height: 214px; }
  .system-core { width: 82px; height: 82px; }
  .system-core svg { width: 46px; }
  .node { font-size: 7px; }

  .proof-strip {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .proof-strip div,
  .proof-strip div:first-child {
    min-height: 66px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .proof-strip div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2,
  .method h2,
  .seams h2,
  .contact h2,
  .contact h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

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

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

  .work-card-media {
    min-height: 195px;
  }

  .work-card-body {
    padding: 24px;
  }

  .work-all-link,
  .work-all-link .button {
    width: 100%;
  }

  .work-hero {
    padding: 124px 0 72px;
  }

  .work-feature-image {
    width: calc(100% - 36px);
    margin-top: 36px;
  }

  .work-detail-layout {
    padding-top: 72px;
    padding-bottom: 84px;
  }

  .work-detail-section p {
    font-size: 20px;
  }

  .work-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .capability-card {
    min-height: 340px;
    padding: 27px;
  }

  .method-steps li {
    grid-template-columns: 44px 1fr;
  }

  .seams-visual {
    min-height: 420px;
  }

  .layer {
    height: 135px;
  }

  .layer-1 { top: 210px; }
  .layer-2 { top: 140px; }
  .layer-3 { top: 70px; }
  .layer-4 { top: 0; }

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

  .principle-grid article,
  .principle-grid article + article {
    min-height: 0;
    padding: 28px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .principle-grid h3 {
    margin-top: 30px;
  }

  .contact {
    padding: 90px 0;
  }

  .contact-inner {
    gap: 46px;
  }

  .contact-form {
    gap: 22px;
    padding: 25px 20px;
  }

  .form-heading,
  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .verification-block {
    grid-template-columns: 1fr;
  }

  .turnstile-slot {
    place-items: center;
  }

  .form-submit {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-inner p:last-child {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-enabled [data-reveal] { opacity: 1; transform: none; }
}
