@font-face {
  font-family: "Science Gothic";
  src: url("assets/fonts/science-gothic-variable.woff2") format("woff2-variations");
  font-style: oblique -10deg 0deg;
  font-weight: 100 900;
  font-stretch: 50% 200%;
  font-display: swap;
}

@font-face {
  font-family: "Commissioner";
  src: url("assets/fonts/commissioner-variable.woff2") format("woff2-variations");
  font-style: oblique -12deg 0deg;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #ece9e0;
  --paper-deep: #ded8cb;
  --paper-cool: #dfe4ff;
  --ink: #151815;
  --ink-soft: #3f453f;
  --muted: #646a64;
  --blue: #334de0;
  --blue-deep: #273bb6;
  --blue-soft: #6f83ff;
  --night: #151815;
  --night-soft: #202520;
  --night-ink: #f2efe6;
  --coral: #e4b6a8;
  --rule: rgba(21, 24, 21, 0.24);
  --rule-light: rgba(242, 239, 230, 0.22);
  --pad: clamp(20px, 4.4vw, 70px);
  --header: 76px;
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  scroll-behavior: auto;
  scroll-padding-top: calc(var(--header) + 18px);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Commissioner", Arial, sans-serif;
  font-size: 16px;
  font-weight: 410;
  font-variation-settings: "wght" 410, "FLAR" 8, "VOLM" 2, "slnt" 0;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::after {
  position: fixed;
  z-index: 90;
  inset: -30%;
  display: block;
  pointer-events: none;
  content: "";
  background-image: url("assets/grain.svg");
  background-repeat: repeat;
  background-size: 96px 96px;
  mix-blend-mode: multiply;
  opacity: 0.028;
}

body[data-motion="full"]::after {
  animation: grain-shift 0.32s steps(2, end) infinite;
}

body[data-performance="low"]::after {
  animation: none;
}

@keyframes grain-shift {
  0% { transform: translate3d(-1%, -1%, 0); }
  25% { transform: translate3d(1%, -2%, 0); }
  50% { transform: translate3d(-2%, 1%, 0); }
  75% { transform: translate3d(2%, 2%, 0); }
  100% { transform: translate3d(-1%, -1%, 0); }
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: "Science Gothic", "Arial Narrow", sans-serif;
  text-wrap: balance;
}

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

::selection {
  background: var(--blue);
  color: white;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.section-dark :focus-visible,
.section-blue :focus-visible {
  outline-color: var(--night-ink);
}

.skip-link {
  position: fixed;
  z-index: 140;
  top: -80px;
  left: 16px;
  padding: 11px 16px;
  background: var(--blue);
  color: white;
  font-weight: 650;
  text-decoration: none;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: var(--header);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--rule);
  background: rgba(236, 233, 224, 0.97);
}

.identity {
  display: flex;
  align-items: baseline;
  gap: 14px;
  text-decoration: none;
}

.identity strong {
  font-family: "Commissioner", Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  font-variation-settings: "wght" 700, "FLAR" 24, "VOLM" 4, "slnt" 0;
  letter-spacing: -0.02em;
}

.identity span {
  color: var(--muted);
  font-size: 13px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
  font-size: 14px;
  font-weight: 550;
}

.site-header nav a {
  position: relative;
  text-decoration: none;
}

.site-header nav > a:not(.header-action)::after,
.social-links a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.site-header nav > a:hover::after,
.site-header nav > a:focus-visible::after,
.social-links a:hover::after,
.social-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border: 1px solid var(--ink);
  transition: color 0.25s ease, background-color 0.25s ease;
}

.header-action:hover {
  background: var(--ink);
  color: var(--paper);
}

.header-action span,
.button span,
.offer-link span,
.project-link span,
.contact-email span {
  display: inline-block;
  will-change: transform;
}

.hero-scroll {
  background: var(--paper);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100svh;
  max-width: var(--max);
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: clamp(20px, 2.5vh, 26px);
  margin: 0 auto;
  padding: clamp(100px, 11.5vh, 118px) var(--pad) 22px;
  background: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: clamp(20px, 2.3vw, 36px);
}

.hero-portrait {
  grid-column: 1 / 5;
  align-self: center;
  margin-bottom: 0;
}

.hero-portrait img {
  width: 100%;
  max-height: min(42vh, 410px);
  aspect-ratio: 4 / 5;
  border-radius: 56% 44% 44% 56% / 42% 52% 48% 58%;
  background: #d0cfca;
  object-fit: cover;
  object-position: 50% 33%;
  filter: saturate(0.93) contrast(1.02);
}

.hero-portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.hero-portrait figcaption strong {
  color: var(--ink);
  font-weight: 650;
}

.hero-portrait figcaption span {
  text-align: right;
}

.hero-copy {
  grid-column: 5 / -1;
}

.hero h1 {
  max-width: 940px;
  margin-bottom: clamp(25px, 3.2vh, 36px);
  font-size: clamp(60px, 5.8vw, 92px);
  font-weight: 650;
  letter-spacing: -0.057em;
  line-height: 0.82;
}

.hero-line {
  display: block;
}

.hero-line-open {
  color: var(--ink-soft);
  font-variation-settings: "wght" 360, "wdth" 132, "CTRS" 18, "slnt" 0;
}

.hero-line-tight {
  margin-top: 0.16em;
  font-variation-settings: "wght" 760, "wdth" 82, "CTRS" 44, "slnt" 0;
}

.hero-line-result {
  margin-top: 0.1em;
  color: var(--blue);
  font-variation-settings: "wght" 760, "wdth" 113, "CTRS" 62, "slnt" 0;
}

.hero-lede {
  max-width: 780px;
  margin-bottom: clamp(26px, 3vh, 34px);
  color: var(--ink-soft);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.5;
}

.actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.button-primary {
  padding: 13px 20px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.button-primary:hover {
  border-color: var(--blue-deep);
  background: var(--blue-deep);
}

.button-secondary {
  padding: 13px 0 10px;
  border-bottom: 1px solid var(--ink);
}

.score {
  position: relative;
  min-height: clamp(138px, 16vh, 160px);
  margin: 0;
  overflow: hidden;
  background: var(--night);
}

.score-fallback,
.score > canvas {
  position: absolute;
  inset: 0 0 33px;
  width: 100%;
  height: calc(100% - 33px);
}

.score-fallback {
  background: var(--night);
}

.score > canvas,
.project-visual > canvas {
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.score[data-webgl-ready="true"] > canvas,
.project-visual[data-webgl-ready="true"] > canvas {
  opacity: 1;
}

.score-steps {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.1fr 1fr 0.8fr;
  gap: 10px;
  min-height: 33px;
  align-items: center;
  padding: 0 14px;
  border-top: 1px solid rgba(242, 239, 230, 0.22);
  background: var(--night);
  color: rgba(242, 239, 230, 0.68);
  font-size: 11px;
}

.score-steps span:nth-child(2),
.score-steps span:nth-child(3),
.score-steps span:nth-child(4) {
  text-align: center;
}

.score-steps span:last-child {
  text-align: right;
}

.hero-evidence {
  display: grid;
  grid-template-columns: 1fr 2.1fr;
  align-items: end;
  gap: 28px;
  padding-top: 16px;
  border-top: 4px solid var(--blue);
}

.hero-evidence > p {
  max-width: 360px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.hero-evidence dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0;
}

.hero-evidence dl div {
  padding: 0 18px;
}

.hero-evidence dl div + div {
  border-left: 1px solid var(--rule);
}

.hero-evidence dt,
.evidence-list dt,
.system-metrics dt {
  font-family: "Science Gothic", sans-serif;
  font-variant-numeric: tabular-nums lining-nums;
}

.hero-evidence dt {
  font-size: clamp(28px, 2.5vw, 40px);
  font-variation-settings: "wght" 710, "wdth" 92, "CTRS" 38, "slnt" 0;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-evidence dd {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
}

.section-paper,
.section-dark,
.section-blue {
  position: relative;
  overflow: clip;
  padding: clamp(100px, 11vw, 168px) var(--pad);
}

.section-paper {
  background: var(--paper);
  color: var(--ink);
}

.section-dark {
  background: var(--night);
  color: var(--night-ink);
}

.section-blue {
  background: var(--blue);
  color: white;
}

.section-sweep {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: none;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(111, 131, 255, 0.3), transparent 54%);
  clip-path: inset(0 100% 0 0);
}

.section-blue .section-sweep {
  background: linear-gradient(115deg, rgba(21, 24, 21, 0.2), transparent 58%);
}

body[data-motion="full"] .section-sweep {
  display: block;
}

.section-intro h2,
.operator-copy h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(58px, 7.5vw, 116px);
  font-weight: 650;
  font-variation-settings: "wght" 650, "wdth" 103, "CTRS" 52, "slnt" 0;
  letter-spacing: -0.06em;
  line-height: 0.87;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  align-items: end;
  gap: clamp(34px, 7vw, 112px);
}

.split-intro > p,
.work-intro > p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.58;
}

.section-dark .split-intro > p {
  color: rgba(242, 239, 230, 0.72);
}

.section-blue .split-intro > p {
  color: rgba(255, 255, 255, 0.79);
}

.proof-halves {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: clamp(70px, 8vw, 116px);
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}

.proof-half {
  padding: clamp(45px, 5vw, 76px) clamp(30px, 4vw, 62px) clamp(55px, 6vw, 88px) 0;
}

.proof-half + .proof-half {
  padding-right: 0;
  padding-left: clamp(30px, 4vw, 62px);
  border-left: 1px solid var(--rule-light);
}

.proof-half h3 {
  max-width: 620px;
  margin-bottom: 22px;
  font-size: clamp(39px, 4.1vw, 62px);
  font-variation-settings: "wght" 580, "wdth" 98, "CTRS" 38, "slnt" 0;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.proof-half > p {
  max-width: 640px;
  color: rgba(242, 239, 230, 0.74);
  font-size: 17px;
  line-height: 1.62;
}

.evidence-list {
  margin: 42px 0 0;
}

.evidence-list div {
  display: grid;
  grid-template-columns: minmax(152px, 0.7fr) 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--rule-light);
}

.evidence-list dt,
.system-metrics dt {
  color: var(--paper-cool);
  font-size: clamp(34px, 3.5vw, 54px);
  font-variation-settings: "wght" 690, "wdth" 87, "CTRS" 50, "slnt" 0;
  letter-spacing: -0.045em;
  line-height: 1;
}

.evidence-list dd,
.system-metrics dd {
  margin: 0;
  color: rgba(242, 239, 230, 0.67);
  font-size: 14px;
}

.system-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 42px 0 0;
}

.system-metrics div {
  padding: 16px 18px 22px 0;
  border-top: 1px solid var(--rule-light);
}

.system-metrics div:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--rule-light);
}

.system-metrics dt {
  margin-bottom: 7px;
}

.proof-detail {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-light);
}

.proof-conclusion {
  margin: clamp(58px, 7vw, 100px) 0 0;
  padding-top: 29px;
  border-top: 5px solid var(--blue-soft);
  font-family: "Science Gothic", sans-serif;
  font-size: clamp(36px, 5.4vw, 78px);
  font-variation-settings: "wght" 480, "wdth" 96, "CTRS" 38, "slnt" 0;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.capabilities {
  border-bottom: 1px solid var(--rule);
}

.capability-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(68px, 8vw, 112px) 0 0;
  padding: 0;
  border-top: 4px solid var(--blue);
  list-style: none;
  counter-reset: capability;
}

.capability-flow li {
  position: relative;
  min-height: 330px;
  padding: 54px clamp(20px, 2.5vw, 38px) 30px 0;
  counter-increment: capability;
}

.capability-flow li + li {
  padding-left: clamp(20px, 2.5vw, 38px);
  border-left: 1px solid var(--rule);
}

.capability-flow li::before {
  display: block;
  margin-bottom: 60px;
  color: var(--blue);
  content: counter(capability, decimal-leading-zero);
  font-family: "Science Gothic", sans-serif;
  font-size: 18px;
  font-variation-settings: "wght" 720, "wdth" 85, "CTRS" 35, "slnt" 0;
}

.capability-flow li:not(:last-child)::after {
  position: absolute;
  top: -9px;
  right: -9px;
  z-index: 2;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.capability-flow h3 {
  margin-bottom: 15px;
  font-size: clamp(28px, 2.4vw, 37px);
  font-variation-settings: "wght" 690, "wdth" 96, "CTRS" 38, "slnt" 0;
  letter-spacing: -0.035em;
  line-height: 1;
}

.capability-flow p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.work {
  padding-top: clamp(110px, 13vw, 190px);
}

.work-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.4fr);
  align-items: end;
  gap: clamp(40px, 8vw, 132px);
}

.work-intro h2 {
  max-width: 1120px;
}

.project-list {
  margin-top: clamp(80px, 10vw, 150px);
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(42px, 7vw, 112px);
  padding: clamp(70px, 8vw, 118px) 0;
  border-top: 1px solid var(--rule);
}

.project:last-child {
  border-bottom: 1px solid var(--rule);
}

.project-reverse .project-visual {
  order: 2;
}

.project-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--night);
  isolation: isolate;
}

.project-visual::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(21, 24, 21, 0.16);
  content: "";
}

.project-visual > svg,
.project-visual > canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-visual > svg {
  z-index: 1;
}

.project-copy {
  max-width: 650px;
}

.project-copy header {
  margin-bottom: 30px;
}

.project-copy h3 {
  margin-bottom: 8px;
  font-size: clamp(46px, 5vw, 76px);
  font-variation-settings: "wght" 700, "wdth" 99, "CTRS" 46, "slnt" 0;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.project-copy h3 a {
  text-decoration-thickness: 2px;
  text-decoration-color: var(--blue);
  text-underline-offset: 8px;
}

.project-copy header > p {
  margin-bottom: 0;
  color: var(--blue);
  font-weight: 620;
}

.project-copy > p {
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.project-facts {
  margin-bottom: 0;
  border-top: 1px solid var(--rule);
}

.project-facts div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}

.project-facts dt {
  color: var(--ink);
  font-size: 13px;
  font-weight: 670;
}

.project-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.offer-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(70px, 8vw, 114px);
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.offer-list article {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 40px clamp(20px, 2.5vw, 38px) 32px 0;
}

.offer-list article + article {
  padding-left: clamp(20px, 2.5vw, 38px);
  border-left: 1px solid rgba(255, 255, 255, 0.45);
}

.offer-list h3 {
  min-height: 2.1em;
  margin-bottom: 28px;
  font-size: clamp(29px, 2.8vw, 42px);
  font-variation-settings: "wght" 650, "wdth" 96, "CTRS" 38, "slnt" 0;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.offer-price {
  margin-bottom: 18px;
  font-family: "Science Gothic", sans-serif;
  font-size: clamp(21px, 1.8vw, 28px);
  font-variation-settings: "wght" 710, "wdth" 90, "CTRS" 52, "slnt" 0;
}

.offer-list article > p:not(.offer-price) {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.82);
}

.offer-link {
  align-self: flex-start;
  margin-top: auto;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-weight: 650;
  text-decoration: none;
}

.engagement-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 36px;
}

.engagement-cta p {
  margin-bottom: 0;
  font-family: "Science Gothic", sans-serif;
  font-size: clamp(26px, 3vw, 44px);
  font-variation-settings: "wght" 480, "wdth" 105, "CTRS" 32, "slnt" 0;
  letter-spacing: -0.03em;
}

.button-light {
  flex: 0 0 auto;
  padding: 13px 20px;
  border: 1px solid white;
  background: white;
  color: var(--blue);
}

.operator-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(48px, 9vw, 145px);
}

.operator-portrait {
  margin-bottom: 0;
}

.operator-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #d0cfca;
  object-fit: cover;
  object-position: 50% 33%;
  filter: saturate(0.72) contrast(1.05);
}

.operator-copy h2 {
  margin-bottom: 38px;
  font-size: clamp(54px, 6.3vw, 96px);
}

.operator-lede {
  max-width: 790px;
  margin-bottom: 24px;
  color: var(--ink-soft);
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.48;
}

.operator-copy > p:not(.operator-lede) {
  max-width: 750px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.65;
}

.credential-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 48px 0 0;
  border-top: 1px solid var(--rule);
}

.credential-grid div {
  padding: 18px 20px 22px 0;
  border-bottom: 1px solid var(--rule);
}

.credential-grid div:nth-child(even) {
  padding-left: 20px;
  border-left: 1px solid var(--rule);
}

.credential-grid dt {
  margin-bottom: 8px;
  font-family: "Science Gothic", sans-serif;
  font-size: 20px;
  font-variation-settings: "wght" 700, "wdth" 92, "CTRS" 40, "slnt" 0;
}

.credential-grid dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.5fr);
  gap: clamp(48px, 10vw, 155px);
}

.contact h2 {
  max-width: 1020px;
  font-size: clamp(62px, 8vw, 122px);
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 15px;
}

.contact-email {
  margin-bottom: 22px;
  color: var(--paper-cool);
  font-family: "Science Gothic", sans-serif;
  font-size: clamp(23px, 2.3vw, 34px);
  font-variation-settings: "wght" 600, "wdth" 92, "CTRS" 42, "slnt" 0;
  text-underline-offset: 7px;
}

.button-dark-secondary {
  padding: 13px 0 10px;
  border-bottom: 1px solid var(--night-ink);
}

.social-links {
  grid-column: 1 / -1;
  display: flex;
  gap: 32px;
  padding-top: clamp(65px, 9vw, 130px);
  font-weight: 600;
}

.social-links a {
  position: relative;
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px var(--pad);
  border-top: 1px solid var(--rule);
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
}

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

.site-footer p:first-child {
  color: var(--ink);
  font-weight: 650;
}

.cursor {
  position: fixed;
  z-index: 130;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  pointer-events: none;
  color: white;
  mix-blend-mode: difference;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 0.2s ease;
}

.cursor::before,
.cursor span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.cursor::before {
  width: 34px;
  height: 34px;
  border: 1px solid currentColor;
}

.cursor span {
  width: 5px;
  height: 5px;
  background: currentColor;
}

body[data-cursor="ready"] .cursor {
  opacity: 1;
}

body[data-cursor="ready"],
body[data-cursor="ready"] a,
body[data-cursor="ready"] button {
  cursor: none;
}

@media (min-width: 961px) and (min-height: 720px) {
  html[data-pointer="fine"] body[data-motion="full"] .hero-scroll {
    height: 172svh;
  }

  html[data-pointer="fine"] body[data-motion="full"] .hero {
    position: sticky;
    top: 0;
    height: 100svh;
  }
}

@media (max-width: 1100px) {
  .site-header nav > a:not(.header-action) {
    display: none;
  }

  .hero h1 {
    font-size: clamp(58px, 7.5vw, 88px);
  }

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

  .capability-flow li:nth-child(3) {
    border-left: 0;
  }

  .capability-flow li:nth-child(n + 3) {
    border-top: 1px solid var(--rule);
  }

  .capability-flow li:nth-child(2)::after {
    display: none;
  }

  .offer-list {
    grid-template-columns: 1fr 1fr;
  }

  .offer-list article:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-left: 0;
  }

  .offer-list article:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.45);
  }
}

@media (max-width: 900px) {
  :root {
    --header: 66px;
  }

  .site-header {
    padding-right: 18px;
    padding-left: 18px;
  }

  .identity span {
    display: none;
  }

  .header-action {
    min-height: 38px;
    padding: 7px 11px;
    font-size: 12px;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 28px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy {
    order: 1;
  }

  .hero-portrait {
    order: 2;
    width: min(86vw, 430px);
    margin: 54px 0 44px auto;
  }

  .hero-portrait img {
    max-height: none;
  }

  .hero h1 {
    margin-bottom: 28px;
    font-size: clamp(48px, 13.5vw, 68px);
    letter-spacing: -0.055em;
    line-height: 0.87;
  }

  .hero-line-open {
    font-variation-settings: "wght" 370, "wdth" 116, "CTRS" 18, "slnt" 0;
  }

  .hero-line-result {
    font-variation-settings: "wght" 750, "wdth" 101, "CTRS" 58, "slnt" 0;
  }

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

  .actions {
    display: block;
  }

  .actions .button {
    width: 100%;
  }

  .actions .button-secondary {
    width: auto;
    margin-top: 9px;
  }

  .score {
    min-height: 178px;
  }

  .score-steps {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 0 10px;
    font-size: 10px;
  }

  .score-steps span:nth-child(2),
  .score-steps span:nth-child(4) {
    display: none;
  }

  .hero-evidence {
    display: block;
    margin-top: 24px;
  }

  .hero-evidence > p {
    margin-bottom: 24px;
  }

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

  .hero-evidence dl div {
    padding: 0 12px 18px 0;
  }

  .hero-evidence dl div:nth-child(2) {
    padding-left: 14px;
    border-left: 1px solid var(--rule);
  }

  .hero-evidence dl div:nth-child(3) {
    grid-column: 1 / -1;
    padding-top: 18px;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .section-paper,
  .section-dark,
  .section-blue {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .split-intro,
  .work-intro,
  .contact-inner {
    display: block;
  }

  .section-intro h2,
  .operator-copy h2,
  .contact h2 {
    margin-bottom: 30px;
    font-size: clamp(50px, 13.7vw, 69px);
    letter-spacing: -0.057em;
    line-height: 0.9;
  }

  .split-intro > p,
  .work-intro > p {
    font-size: 18px;
  }

  .proof-halves {
    display: block;
    margin-top: 64px;
  }

  .proof-half,
  .proof-half + .proof-half {
    padding: 48px 0 58px;
    border-left: 0;
  }

  .proof-half + .proof-half {
    border-top: 1px solid var(--rule-light);
  }

  .proof-half h3 {
    font-size: 41px;
  }

  .evidence-list div {
    grid-template-columns: 138px 1fr;
  }

  .proof-conclusion {
    font-size: clamp(34px, 9vw, 49px);
  }

  .capability-flow {
    display: block;
  }

  .capability-flow li,
  .capability-flow li + li {
    min-height: 0;
    padding: 34px 0 38px;
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .capability-flow li:first-child {
    border-top: 0;
  }

  .capability-flow li::before {
    margin-bottom: 22px;
  }

  .capability-flow li::after {
    display: none;
  }

  .project-list {
    margin-top: 68px;
  }

  .project,
  .project.project-reverse {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    padding: 70px 0;
  }

  .project-reverse .project-visual {
    order: initial;
  }

  .project-visual {
    width: 100%;
  }

  .project-copy h3 {
    font-size: clamp(44px, 12vw, 63px);
  }

  .project-copy > p {
    font-size: 16px;
  }

  .offer-list {
    display: block;
    margin-top: 62px;
  }

  .offer-list article,
  .offer-list article + article {
    min-height: 300px;
    padding: 35px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-left: 0;
  }

  .offer-list article:first-child {
    border-top: 0;
  }

  .offer-list h3 {
    min-height: 0;
    margin-bottom: 20px;
  }

  .engagement-cta {
    display: block;
  }

  .engagement-cta p {
    margin-bottom: 24px;
  }

  .operator-grid {
    display: flex;
    flex-direction: column;
    gap: 58px;
  }

  .operator-portrait {
    width: min(88vw, 470px);
    margin-right: auto;
  }

  .operator-copy h2 {
    font-size: clamp(50px, 13vw, 69px);
  }

  .operator-lede {
    font-size: 20px;
  }

  .contact-actions {
    margin-top: 48px;
  }

  .social-links {
    padding-top: 70px;
  }

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

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

@media (max-width: 440px) {
  .identity strong {
    font-size: 15px;
  }

  .hero,
  .section-paper,
  .section-dark,
  .section-blue {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero h1 {
    font-size: clamp(45px, 12.7vw, 56px);
  }

  .hero-portrait {
    width: 90%;
  }

  .hero-portrait figcaption {
    display: block;
  }

  .hero-portrait figcaption span {
    display: block;
    margin-top: 2px;
    text-align: left;
  }

  .score {
    min-height: 150px;
  }

  .evidence-list div {
    grid-template-columns: 121px 1fr;
    gap: 14px;
  }

  .system-metrics dt,
  .evidence-list dt {
    font-size: 36px;
  }

  .project-facts div {
    display: block;
  }

  .project-facts dt {
    margin-bottom: 8px;
  }

  .credential-grid {
    display: block;
  }

  .credential-grid div,
  .credential-grid div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .contact-email {
    font-size: 21px;
  }
}

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

  body::after {
    animation: none;
  }

  .score > canvas,
  .project-visual > canvas,
  .cursor {
    display: none !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  body::after {
    display: none;
  }

  .site-header {
    background: var(--paper);
  }
}

@media (forced-colors: active) {
  body::after,
  .score > canvas,
  .project-visual > canvas,
  .section-sweep,
  .cursor {
    display: none !important;
  }

  body[data-cursor="ready"],
  body[data-cursor="ready"] a,
  body[data-cursor="ready"] button {
    cursor: auto;
  }

  .hero-portrait img {
    border-radius: 0;
  }
}
