@charset "UTF-8";

:root {
  --ink: #10172a;
  --ink-soft: #4c566d;
  --paper: #f1f4f9;
  --paper-bright: #fbfcff;
  --line: rgba(16, 23, 42, 0.18);
  --night: #07142f;
  --night-soft: #0b2252;
  --signal: #ff554f;
  --signal-deep: #1749d2;
  --mint: #a7c5ff;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: var(--sans);
  --mono: var(--sans);
  --page: min(92vw, 1380px);
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

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

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin-top: 0;
}

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--night);
  background: var(--signal);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--signal-deep);
  outline-offset: 4px;
}

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

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 0 max(4vw, calc((100vw - 1380px) / 2));
  color: rgba(250, 248, 241, 0.92);
  border-bottom: 1px solid rgba(250, 248, 241, 0.14);
  background: rgba(7, 20, 47, 0.78);
  backdrop-filter: blur(18px) saturate(115%);
  transition: min-height 300ms var(--ease), background-color 300ms ease;
}

.site-header[data-condensed="true"] {
  min-height: 66px;
  background: rgba(7, 20, 47, 0.96);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: max-content;
  font-size: 0.83rem;
  font-weight: 620;
  letter-spacing: 0.01em;
}

.brand__mark {
  position: relative;
  display: grid;
  width: 31px;
  height: 31px;
  overflow: hidden;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  color: var(--paper-bright);
  background: #1749d2;
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.brand__mark::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  content: "";
  background: rgba(7, 20, 47, 0.25);
}

.brand__mark span:last-child {
  transform: translateY(6px);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding-block: 8px;
  color: rgba(250, 248, 241, 0.66);
  transition: color 180ms ease;
}

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

.primary-nav a:hover,
.primary-nav a[aria-current="true"] {
  color: var(--paper-bright);
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav .primary-nav__contact {
  padding: 10px 14px;
  color: #ffffff;
  background: var(--signal);
}

.primary-nav .primary-nav__contact::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__line {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 7px;
  background: currentColor;
  transition: transform 240ms ease;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: clip;
  color: var(--paper-bright);
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(167, 197, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 197, 255, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 15% 20%, rgba(39, 83, 194, 0.26), transparent 34%),
    radial-gradient(circle at 80% 72%, rgba(255, 85, 79, 0.08), transparent 27%);
  background-size: 72px 72px, 72px 72px, auto, auto;
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(105deg, rgba(7, 20, 47, 0.14), rgba(7, 20, 47, 0.02) 60%, rgba(7, 20, 47, 0.42));
}

.hero__ambient {
  position: absolute;
  top: 16%;
  left: 48%;
  width: min(42vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(167, 197, 255, 0.12);
  border-radius: 50%;
  opacity: 0.8;
  transform: translate(-50%, -50%);
}

.hero__ambient::before,
.hero__ambient::after {
  position: absolute;
  inset: 13%;
  content: "";
  border: 1px solid rgba(167, 197, 255, 0.08);
  border-radius: inherit;
}

.hero__ambient::after {
  inset: 30%;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: calc(100svh - 54px);
  padding-top: clamp(142px, 16vh, 190px);
  padding-bottom: 106px;
  grid-template-columns: minmax(0, 1.24fr) minmax(390px, 0.76fr);
  gap: clamp(52px, 7vw, 118px);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 27px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow--light {
  color: rgba(250, 248, 241, 0.6);
}

.status-pulse {
  position: relative;
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(255, 85, 79, 0.42);
  animation: signal-pulse 2.4s ease-out infinite;
}

@keyframes signal-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 85, 79, 0.46); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(255, 85, 79, 0); }
}

.hero h1 {
  max-width: 940px;
  margin-bottom: 35px;
  font-family: var(--sans);
  font-size: clamp(3.7rem, 6.4vw, 7.15rem);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 0.89;
}

.hero h1 span,
.hero h1 em {
  display: block;
}

.hero-title__accent {
  margin-top: 0.16em;
  color: #a7c5ff;
  font-weight: 520;
}

.hero__lede {
  max-width: 690px;
  margin-bottom: 35px;
  color: rgba(250, 248, 241, 0.72);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 29px;
  margin-bottom: clamp(50px, 7vh, 78px);
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 13px 17px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 200ms ease, background-color 200ms ease, transform 200ms var(--ease);
}

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

.button--signal {
  color: #ffffff;
  border-color: var(--signal);
  background: var(--signal);
}

.button--signal:hover {
  color: var(--night);
  background: var(--paper-bright);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-block: 6px;
  border-bottom: 1px solid currentColor;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link--light {
  color: rgba(250, 248, 241, 0.75);
}

.hero__facts {
  display: grid;
  max-width: 730px;
  margin-bottom: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(250, 248, 241, 0.18);
}

.hero__facts div {
  padding: 17px 15px 0 0;
}

.hero__facts div + div {
  padding-left: 18px;
  border-left: 1px solid rgba(250, 248, 241, 0.18);
}

.hero__facts dt {
  margin-bottom: 6px;
  color: rgba(250, 248, 241, 0.42);
  font-family: var(--mono);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero__facts dd {
  margin-bottom: 0;
  color: rgba(250, 248, 241, 0.88);
  font-size: 0.82rem;
}

.hero__facts dd a {
  border-bottom: 1px solid rgba(167, 197, 255, 0.42);
  transition: color 180ms ease, border-color 180ms ease;
}

.hero__facts dd a:hover {
  color: #ffffff;
  border-color: var(--signal);
}

.systems-map {
  position: relative;
  width: 100%;
  min-height: clamp(480px, 59vh, 630px);
  overflow: hidden;
  border: 1px solid rgba(167, 197, 255, 0.28);
  background:
    linear-gradient(rgba(167, 197, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 197, 255, 0.07) 1px, transparent 1px),
    linear-gradient(145deg, rgba(18, 51, 116, 0.72), rgba(7, 20, 47, 0.88));
  background-size: 40px 40px, 40px 40px, auto;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
}

.systems-map::before {
  position: absolute;
  z-index: 1;
  top: -1px;
  left: -30%;
  width: 160%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--signal), transparent);
  box-shadow: 0 0 16px rgba(255, 85, 79, 0.48);
  animation: scan-map 7s ease-in-out infinite;
}

@keyframes scan-map {
  0%, 8% { transform: translateY(0); opacity: 0; }
  14% { opacity: 0.8; }
  78% { opacity: 0.42; }
  88%, 100% { transform: translateY(630px); opacity: 0; }
}

.systems-map__topline,
.systems-map__footer {
  position: absolute;
  z-index: 3;
  right: 21px;
  left: 21px;
  display: flex;
  justify-content: space-between;
  color: rgba(250, 248, 241, 0.5);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.systems-map__topline {
  top: 19px;
}

.systems-map__footer {
  bottom: 18px;
}

.systems-map__state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 125, 120, 0.9);
}

.systems-map__state i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--signal);
}

#systems-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  width: min(45%, 214px);
  aspect-ratio: 1;
  padding: 24px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(167, 197, 255, 0.52);
  border-radius: 50%;
  background: rgba(7, 20, 47, 0.78);
  box-shadow: 0 0 70px rgba(52, 101, 232, 0.18), inset 0 0 30px rgba(167, 197, 255, 0.06);
  transform: translate(-50%, -50%);
}

.map-core::before,
.map-core::after {
  position: absolute;
  inset: -10px;
  content: "";
  border: 1px dashed rgba(167, 197, 255, 0.24);
  border-radius: inherit;
  animation: orbit 36s linear infinite;
}

.map-core::after {
  inset: 11px;
  border-style: solid;
  border-color: rgba(167, 197, 255, 0.12);
  animation-direction: reverse;
  animation-duration: 22s;
}

@keyframes orbit {
  to { transform: rotate(1turn); }
}

.map-core span {
  display: block;
  margin-bottom: 8px;
  color: rgba(167, 197, 255, 0.8);
  font-family: var(--mono);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map-core strong {
  color: var(--paper-bright);
  font-family: var(--serif);
  font-size: clamp(1.24rem, 2.2vw, 1.7rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.03;
}

.map-nodes {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.map-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  color: rgba(250, 248, 241, 0.78);
  border: 1px solid rgba(167, 197, 255, 0.26);
  background: rgba(7, 20, 47, 0.88);
  font-family: var(--mono);
  font-size: clamp(0.55rem, 0.7vw, 0.65rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-node span {
  color: var(--signal);
  font-size: 0.48rem;
}

.map-node--sample { top: 16%; left: 7%; }
.map-node--prepare { top: 13%; right: 7%; }
.map-node--measure { top: 48%; right: 3%; }
.map-node--sequence { right: 11%; bottom: 13%; }
.map-node--decide { bottom: 17%; left: 6%; }

.hero__footer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 25px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(250, 248, 241, 0.32);
  font-family: var(--mono);
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__rule {
  height: 1px;
  flex: 1;
  background: rgba(250, 248, 241, 0.16);
}

.section {
  padding-block: clamp(100px, 12vw, 180px);
}

.section-intro {
  display: grid;
  margin-bottom: clamp(76px, 9vw, 128px);
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.section-index,
.section-aside {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.section-index span {
  display: inline-block;
  min-width: 34px;
  color: var(--signal-deep);
}

.section-aside {
  justify-self: end;
  text-align: right;
}

.section-intro--dark {
  border-top-color: rgba(250, 248, 241, 0.18);
}

.section-intro--dark .section-index,
.section-intro--dark .section-aside,
.section-index--light {
  color: rgba(250, 248, 241, 0.48);
}

.section-intro--dark .section-index span,
.section-index--light span {
  color: var(--signal);
}

.manifesto {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.manifesto::after {
  position: absolute;
  right: -16vw;
  bottom: -28vw;
  width: 54vw;
  aspect-ratio: 1;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(16, 23, 42, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 7vw rgba(16, 23, 42, 0.018), 0 0 0 14vw rgba(16, 23, 42, 0.014);
}

.manifesto__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.45fr);
  gap: clamp(52px, 8vw, 140px);
  align-items: end;
}

.manifesto h2,
.approach h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(3.05rem, 6.5vw, 6.9rem);
  font-weight: 510;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.text-blue {
  color: var(--signal-deep);
}

.manifesto__body {
  padding-bottom: 8px;
}

.manifesto__body p {
  margin-bottom: 1.2em;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
}

.manifesto__body .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  line-height: 1.4;
}

.scope {
  position: relative;
  z-index: 1;
  margin-top: clamp(72px, 9vw, 128px);
  padding-top: 18px;
  border-top: 2px solid var(--signal-deep);
}

.scope > p {
  margin-bottom: 25px;
  color: var(--signal-deep);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scope ul {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--line);
}

.scope li {
  min-height: 82px;
  padding: 16px 14px 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
}

.scope li:not(:nth-child(4n + 1)) {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.work {
  position: relative;
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 70% 0%, rgba(54, 95, 201, 0.24), transparent 32%),
    var(--night);
}

.work__heading {
  display: grid;
  margin-bottom: clamp(80px, 10vw, 140px);
  grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.5fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
}

.work__heading h2 {
  margin-bottom: 0;
  font-size: clamp(3.45rem, 6.5vw, 6.85rem);
  font-weight: 500;
  letter-spacing: -0.068em;
  line-height: 0.9;
}

.work__heading > p {
  margin-bottom: 0;
  color: rgba(250, 248, 241, 0.6);
  line-height: 1.7;
}

.work-record {
  position: relative;
  display: grid;
  padding-block: clamp(34px, 4vw, 58px);
  grid-template-columns: 72px minmax(260px, 0.85fr) minmax(330px, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  border-top: 1px solid rgba(250, 248, 241, 0.18);
  transition: border-color 240ms ease;
}

.work-record:last-child {
  border-bottom: 1px solid rgba(250, 248, 241, 0.18);
}

.work-record::before {
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  content: "";
  background: var(--signal);
  transition: width 600ms var(--ease);
}

.work-record:hover::before {
  width: 100%;
}

.work-record__number,
.work-record__kicker {
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.59rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.work-record__kicker {
  margin-bottom: 10px;
  color: rgba(250, 248, 241, 0.4);
}

.work-record h3 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 2.5vw, 2.65rem);
  font-weight: 560;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.work-record__detail > p {
  max-width: 680px;
  margin-bottom: 24px;
  color: rgba(250, 248, 241, 0.66);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.7;
}

.work-record__detail > .work-record__focus {
  margin-bottom: 22px;
  color: rgba(183, 207, 255, 0.92);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-transform: uppercase;
}

.work-record__focus span {
  display: inline-block;
  margin-right: 9px;
  color: var(--signal);
}

.proof-link {
  display: inline-block;
  margin: 0 0 26px;
  padding-bottom: 3px;
  color: #ffffff;
  border-bottom: 2px solid var(--signal);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: color 180ms ease, border-color 180ms ease;
}

.proof-link:hover {
  color: #b7cfff;
  border-color: #b7cfff;
}

.tag-list {
  display: flex;
  margin-bottom: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.tag-list li {
  padding: 6px 8px;
  color: rgba(183, 207, 255, 0.9);
  border: 1px solid rgba(167, 197, 255, 0.3);
  font-family: var(--mono);
  font-size: 0.53rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.approach {
  background-color: #dce7ff;
  background-image:
    linear-gradient(rgba(16, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
}

.approach__heading {
  max-width: 1140px;
  margin-bottom: clamp(78px, 9vw, 128px);
}

.principles {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid rgba(16, 23, 42, 0.4);
  border-bottom: 1px solid rgba(16, 23, 42, 0.4);
}

.principles li {
  min-height: 300px;
  padding: 22px clamp(18px, 2.2vw, 35px) 30px;
}

.principles li + li {
  border-left: 1px solid rgba(16, 23, 42, 0.25);
}

.principle__number {
  display: block;
  margin-bottom: clamp(70px, 9vw, 128px);
  color: #1749d2;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 700;
}

.principles h3 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.35vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.principles p {
  margin-bottom: 0;
  color: rgba(16, 23, 42, 0.67);
  font-size: 0.86rem;
  line-height: 1.65;
}

.foundations {
  background: var(--paper-bright);
}

.foundations__grid {
  display: grid;
  grid-template-columns: minmax(290px, 0.7fr) minmax(420px, 1.3fr);
  gap: clamp(60px, 10vw, 170px);
}

.foundations__heading h2 {
  max-width: 560px;
  margin-bottom: 27px;
  font-size: clamp(3rem, 5.8vw, 6rem);
  font-weight: 510;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.foundations__heading p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.ledger {
  margin-bottom: 0;
}

.ledger > div {
  display: grid;
  padding-block: 24px;
  grid-template-columns: minmax(160px, 0.72fr) minmax(240px, 1.28fr);
  gap: 32px;
  border-top: 1px solid var(--line);
}

.ledger > div:last-child {
  border-bottom: 1px solid var(--line);
}

.ledger dt {
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ledger dt span {
  display: block;
  margin-bottom: 7px;
  color: var(--signal-deep);
}

.ledger dd {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.85rem);
  line-height: 1.18;
}

.ledger dd small {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.02em;
}

.ledger dd a {
  text-decoration: underline;
  text-decoration-color: rgba(23, 73, 210, 0.38);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.ledger dd a:hover {
  color: var(--signal-deep);
  text-decoration-color: var(--signal);
}

.contact {
  position: relative;
  overflow: hidden;
  padding-top: clamp(105px, 13vw, 180px);
  color: var(--paper-bright);
  background-color: var(--night);
  background-image:
    linear-gradient(rgba(167, 197, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 197, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
}

.contact__glow {
  position: absolute;
  top: -35%;
  left: 58%;
  width: 60vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 85, 79, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 150px rgba(52, 101, 232, 0.11), 0 0 0 9vw rgba(52, 101, 232, 0.025);
}

.contact__inner {
  position: relative;
  z-index: 1;
}

.contact .section-index {
  margin-bottom: clamp(70px, 9vw, 120px);
}

.contact h2 {
  max-width: 1320px;
  margin-bottom: clamp(70px, 9vw, 124px);
}

.contact__lower {
  display: grid;
  padding-top: 28px;
  grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1.3fr);
  gap: clamp(50px, 12vw, 190px);
  border-top: 1px solid rgba(250, 248, 241, 0.18);
}

.contact__lower > p {
  max-width: 520px;
  margin-bottom: 0;
  color: rgba(250, 248, 241, 0.58);
  line-height: 1.7;
}

.contact__links a {
  display: block;
  padding-block: 18px;
  border-bottom: 1px solid rgba(250, 248, 241, 0.2);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3.8rem);
  line-height: 1;
  transition: color 200ms ease, padding 320ms var(--ease), border-color 200ms ease;
}

.contact__links a:first-child {
  border-top: 1px solid rgba(250, 248, 241, 0.2);
}

.contact__links a:hover {
  padding-left: 12px;
  color: var(--signal);
  border-color: var(--signal);
}

.site-footer {
  display: grid;
  margin-top: clamp(100px, 13vw, 180px);
  padding-block: 22px 26px;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(250, 248, 241, 0.18);
  color: rgba(250, 248, 241, 0.38);
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer p:nth-child(2) {
  text-align: center;
}

.site-footer a {
  justify-self: end;
  color: rgba(250, 248, 241, 0.68);
}

.error-page {
  display: grid;
  min-height: 100svh;
  padding: clamp(30px, 6vw, 90px);
  color: var(--paper-bright);
  background:
    linear-gradient(rgba(167, 197, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 197, 255, 0.055) 1px, transparent 1px),
    var(--night);
  background-size: 60px 60px;
}

.error-page main {
  align-self: center;
  max-width: 950px;
}

.error-page h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 520;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.error-page main > p:not(.eyebrow) {
  margin-bottom: 35px;
  color: rgba(250, 248, 241, 0.6);
}

.error-page footer {
  align-self: end;
  color: rgba(250, 248, 241, 0.4);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

@media (max-width: 1120px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 7.2vw, 6.15rem);
  }

  .manifesto__grid,
  .work__heading {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.55fr);
    gap: 60px;
  }

  .work-record {
    grid-template-columns: 48px minmax(230px, 0.8fr) minmax(300px, 1.2fr);
    gap: 28px;
  }

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

  .principles li:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(16, 23, 42, 0.25);
  }

  .principles li:nth-child(4) {
    border-top: 1px solid rgba(16, 23, 42, 0.25);
  }
}

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
    --page: min(90vw, 720px);
  }

  .brand__name {
    display: none;
  }

  .js .nav-toggle {
    position: relative;
    z-index: 102;
    display: block;
  }

  .js .primary-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    padding: 115px 5vw 42px;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    visibility: hidden;
    background: var(--night);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 280ms var(--ease), visibility 0s linear 280ms;
  }

  .js .primary-nav a {
    padding: 17px 0;
    color: rgba(250, 248, 241, 0.86);
    border-bottom: 1px solid rgba(250, 248, 241, 0.16);
    font-family: var(--serif);
    font-size: clamp(1.8rem, 9vw, 3.7rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    text-transform: none;
  }

  .js .primary-nav a::after {
    display: none;
  }

  .js .primary-nav .primary-nav__contact {
    margin-top: 20px;
    padding: 16px;
    color: #ffffff;
    border-bottom: 0;
    background: var(--signal);
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .nav-open .primary-nav {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .nav-open .nav-toggle__line:first-of-type {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-open .nav-toggle__line:last-of-type {
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero__grid {
    min-height: auto;
    padding-top: 135px;
    padding-bottom: 110px;
    grid-template-columns: 1fr;
    gap: 80px;
  }

  .hero h1 {
    max-width: 700px;
    font-size: clamp(3.5rem, 11.5vw, 6.3rem);
  }

  .systems-map {
    width: min(100%, 620px);
    min-height: 550px;
    justify-self: center;
  }

  .manifesto__grid,
  .work__heading,
  .foundations__grid,
  .contact__lower {
    grid-template-columns: 1fr;
  }

  .manifesto__grid,
  .work__heading {
    gap: 52px;
  }

  .manifesto__body {
    max-width: 600px;
  }

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

  .scope li,
  .scope li:not(:nth-child(4n + 1)) {
    padding: 15px 12px 14px 0;
    border-left: 0;
  }

  .scope li:nth-child(even) {
    padding-left: 12px;
    border-left: 1px solid var(--line);
  }

  .work-record {
    grid-template-columns: 38px 1fr;
    gap: 20px;
  }

  .work-record__detail {
    grid-column: 2;
  }

  .foundations__grid,
  .contact__lower {
    gap: 70px;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --page: calc(100vw - 36px);
  }

  .site-header {
    padding-inline: 18px;
  }

  .hero__grid {
    padding-top: 120px;
    gap: 66px;
  }

  .hero h1 {
    margin-bottom: 27px;
    font-size: clamp(3.25rem, 15.5vw, 5.15rem);
    letter-spacing: -0.07em;
  }

  .hero__lede {
    font-size: 0.98rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }

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

  .hero__facts div {
    display: grid;
    padding: 13px 0;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    border-bottom: 1px solid rgba(250, 248, 241, 0.14);
  }

  .hero__facts div + div {
    padding-left: 0;
    border-left: 0;
  }

  .hero__facts dt {
    margin-bottom: 0;
  }

  .systems-map {
    min-height: 470px;
  }

  .map-core {
    width: 45%;
    padding: 19px;
  }

  .map-core strong {
    font-size: 1.15rem;
  }

  .map-node {
    padding: 6px;
    font-size: 0.5rem;
  }

  .map-node--measure {
    right: 2%;
  }

  .hero__footer span:first-child,
  .hero__rule {
    display: none;
  }

  .hero__footer {
    justify-content: flex-end;
  }

  .section {
    padding-block: 96px;
  }

  .section-intro {
    margin-bottom: 70px;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-aside {
    justify-self: start;
    text-align: left;
  }

  .manifesto h2,
  .approach h2,
  .contact h2 {
    font-size: clamp(3rem, 14.4vw, 5rem);
  }

  .work__heading h2 {
    font-size: clamp(3.15rem, 14.5vw, 4.8rem);
  }

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

  .work-record__detail {
    grid-column: auto;
  }

  .work-record__number {
    margin-bottom: 0;
  }

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

  .principles li {
    min-height: auto;
    padding: 23px 0 30px;
  }

  .principles li + li {
    border-top: 1px solid rgba(16, 23, 42, 0.25);
    border-left: 0;
  }

  .principle__number {
    margin-bottom: 57px;
  }

  .principles p {
    max-width: 420px;
  }

  .ledger > div {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .scope ul {
    grid-template-columns: 1fr;
  }

  .scope li,
  .scope li:not(:nth-child(4n + 1)),
  .scope li:nth-child(even) {
    min-height: auto;
    padding: 14px 0;
    border-left: 0;
  }

  .contact__links a {
    font-size: 2.1rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer a {
    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;
  }
}

@media print {
  .site-header,
  .hero__footer,
  .systems-map,
  .contact__glow {
    display: none;
  }

  .hero,
  .work,
  .contact {
    color: #000;
    background: #fff;
  }

  .hero__grid {
    min-height: auto;
    padding-block: 50px;
    grid-template-columns: 1fr;
  }

  .section,
  .contact {
    padding-block: 50px;
  }

  a {
    text-decoration: underline;
  }
}
