@font-face {
  font-family: "Neue Haas";
  src: url("../assets/fonts/neue-haas-display-roman.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Ruder";
  src: url("../assets/fonts/ruder-plakat-regular.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Lab Mono";
  src: url("../assets/fonts/lab-mono-regular.otf") format("opentype");
  font-display: swap;
}

:root {
  --navy: #00184b;
  --navy-deep: #000d2e;
  --lime: #c9ee32;
  --paper: #f2ece4;
  --testimonial-logo-height: clamp(52px, 4.2vw, 80px);
  --testimonial-logo-gap: clamp(1.75rem, 2.6vw, 2.75rem);
  --ice: #d0ddeb;
  --ink: #00184b;
  --line-dark: rgba(0, 24, 75, 0.24);
  --line-light: rgba(242, 236, 228, 0.28);
  --shell: min(92vw, 1710px);
  --pad-y: clamp(5rem, 7.5vw, 10.5rem);
  --radius: 0.5rem;
}

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

html {
  scroll-behavior: smooth;
  background: var(--navy);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--navy);
  font-family: "Neue Haas", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.2;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

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

.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;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  padding: 0.7rem 1rem;
  color: var(--navy);
  background: var(--lime);
  transform: translateY(-150%);
}

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

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

.mono,
.eyebrow,
.desktop-nav,
.mobile-menu {
  font-family: "Lab Mono", ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  line-height: 1.3;
}

.eyebrow--navy {
  color: var(--navy);
}

.display-heading,
.section-heading,
.transition h2,
.site-footer h2,
.hero h1,
.page-hero h1,
.team__heading,
.team__title,
.mission__heading,
.mission__item h3 {
  margin: 0;
  font-family: "Ruder", Impact, sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 14ch;
  font-size: clamp(3.2rem, 5vw, 6.5rem);
  line-height: 0.96;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  border: 1px solid currentColor;
  font-family: "Lab Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

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

.button--lime {
  border-color: var(--lime);
  color: var(--navy);
  background: var(--lime);
}

.button--lime:hover {
  color: var(--paper);
  background: transparent;
}

.button--ghost {
  color: var(--paper);
  background: transparent;
}

.button--ghost:hover {
  color: var(--navy);
  background: var(--paper);
}

.button--small {
  min-height: 2.65rem;
  padding-inline: 1rem;
}

/* Soft lime pill, matching the coming-soon badge rather than shouting like a solid fill. */
.button--pill {
  border-radius: 999px;
  border-color: rgba(201, 238, 50, 0.45);
  color: var(--lime);
  background: rgba(201, 238, 50, 0.07);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  padding-inline: 1.35rem;
}

.button--pill:hover {
  border-color: rgba(201, 238, 50, 0.85);
  background: rgba(201, 238, 50, 0.14);
  transform: none;
}

/* Navigation */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  min-height: 5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 2.24vw, 43px);
  color: var(--paper);
  background: linear-gradient(to bottom, rgba(0, 13, 46, 0.82), transparent);
  transition: min-height 200ms ease, background-color 200ms ease;
}

.site-header.is-scrolled {
  min-height: 4.25rem;
  background: rgba(0, 13, 46, 0.96);
  backdrop-filter: blur(10px);
}

.wordmark {
  position: relative;
  z-index: 2;
  display: block;
  line-height: 0;
}

.wordmark img {
  width: clamp(150px, 12.6vw, 242px);
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2vw, 2.5rem);
  font-size: 0.72rem;
}

.desktop-nav > a:not(.button) {
  padding-block: 0.8rem;
  text-decoration: none;
}

.desktop-nav > a:not(.button)::after {
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 0.25rem;
  background: var(--lime);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.desktop-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle,
.mobile-menu {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: max(720px, 100svh);
  overflow: hidden;
  color: var(--paper);
  background-color: var(--navy);
}

.hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: url("../assets/images/hero-opener.jpg");
  background-position: center;
  background-size: cover;
  filter: brightness(1.42) saturate(1.08) contrast(0.96);
  content: "";
}

.hero__scrim {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(120% 85% at 50% 45%, rgba(0, 13, 46, 0.28) 0%, rgba(0, 13, 46, 0.44) 55%, rgba(0, 13, 46, 0.6) 100%),
    linear-gradient(0deg, rgba(0, 13, 46, 0.5) 0%, transparent 42%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: max(720px, 100svh);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8.5rem 0 6rem;
}

.hero__copy {
  width: min(1260px, 100%);
  text-align: center;
}

.hero .eyebrow {
  margin-bottom: 1.75rem;
  color: var(--lime);
}

.hero h1 {
  font-size: clamp(2.9rem, 4.7vw, 5.625rem);
  line-height: 0.95;
  letter-spacing: 0.088em;
}

.hero h1 span {
  display: block;
  color: var(--lime);
}

.hero__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  margin-top: 2.75rem;
  font-size: clamp(1.05rem, 1.35vw, 1.575rem);
  line-height: 1.2;
}

.hero__body p {
  max-width: 46ch;
  margin: 0;
}

.hero__status {
  position: absolute;
  bottom: 2rem;
  left: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
}

.hero__status img {
  filter: brightness(0) invert(1);
}

.frame-marks {
  --mark-size: 7px;
  --mark-pitch: 15px;

  position: absolute;
  z-index: 2;
  inset: 14.5% 6.6% 17%;
  pointer-events: none;
}

/* Each mark is an L of three blocks: the anchor plus one arm right and one arm down.
   Corner rotations below swap the arms so the L always opens inward. */
.frame-marks i {
  position: absolute;
  width: var(--mark-size);
  height: var(--mark-size);
  background: rgba(242, 236, 228, 0.88);
}

.frame-marks i::before,
.frame-marks i::after {
  position: absolute;
  width: var(--mark-size);
  height: var(--mark-size);
  background: inherit;
  content: "";
}

.frame-marks i::before {
  top: 0;
  left: var(--mark-pitch);
}

.frame-marks i::after {
  top: var(--mark-pitch);
  left: 0;
}

.frame-marks i:nth-child(1) { top: 0; left: 0; }
.frame-marks i:nth-child(2) { top: 0; right: 0; transform: rotate(90deg); }
.frame-marks i:nth-child(3) { bottom: 0; left: 0; transform: rotate(-90deg); }
.frame-marks i:nth-child(4) { right: 0; bottom: 0; transform: rotate(180deg); }

/* Interior page hero (About, Fire) */
.page-hero {
  position: relative;
  min-height: max(620px, 100svh);
  overflow: hidden;
  color: var(--paper);
  background-color: var(--navy);
}

/* The image is set per page below: a relative url() passed through a custom
   property would resolve against this stylesheet's folder, not the document. */
.page-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: brightness(var(--page-hero-brightness, 1.3)) saturate(1.05);
  content: "";
}

.page-hero--about {
  --page-hero-brightness: 1.35;
}

.page-hero--about::before {
  background-image: url("../assets/images/about-hero.jpg");
}

.page-hero--fire::before {
  background-image: url("../assets/images/hero-bg.jpg");
}

.page-hero__scrim {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    radial-gradient(120% 85% at 50% 45%, rgba(0, 13, 46, 0.16) 0%, rgba(0, 13, 46, 0.32) 55%, rgba(0, 13, 46, 0.5) 100%),
    linear-gradient(0deg, rgba(0, 13, 46, 0.45) 0%, transparent 44%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: max(620px, 100svh);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8.5rem 0 6rem;
  text-align: center;
}

.page-hero__copy {
  width: min(72ch, 100%);
}

.page-hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 5rem);
  letter-spacing: 0.06em;
  line-height: 0.95;
}

.page-hero h1 span {
  display: block;
  color: var(--lime);
}

/* Secondary display line: half the h1 so it reads as part of the title stack. */
.page-hero__tagline {
  margin: 1.35rem 0 0;
  font-family: "Ruder", Impact, sans-serif;
  font-size: clamp(1.45rem, 2.1vw, 2.5rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.page-hero__lead {
  max-width: 34ch;
  margin: 1.75rem auto 0;
  font-size: clamp(1.05rem, 1.2vw, 1.4rem);
  line-height: 1.2;
}

.page-hero__tagline + .page-hero__lead {
  max-width: 52ch;
  margin-top: 1.1rem;
  font-size: clamp(1.35rem, 1.65vw, 2rem);
}

.page-hero__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.75rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--lime);
  border-radius: 999px;
  color: var(--lime);
  font-size: 0.72rem;
}

.page-hero__actions {
  margin-top: 2.5rem;
}

/* Privacy */
.privacy {
  min-height: 100svh;
  padding: 8.5rem 0 5rem;
  color: var(--paper);
  background: var(--navy);
}

.privacy__inner {
  width: min(62ch, 92vw);
  margin-inline: auto;
}

.privacy h1 {
  margin: 0 0 2rem;
  font-size: clamp(2.3rem, 4.2vw, 5rem);
  letter-spacing: 0.06em;
  line-height: 0.95;
}

.privacy__body {
  margin: 0;
  font-size: clamp(1.1rem, 1.4vw, 1.6875rem);
  line-height: 1.2;
}

.privacy__reach {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-light);
}

.privacy__reach h2 {
  margin: 0 0 0.85rem;
  font-family: "Lab Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.privacy__reach .footer__email {
  display: block;
  margin-top: 0;
}

/* Our investors */
/* Sits on the same ice background as the mission block, so it only needs to
   clear that section's bottom padding rather than add a full band of its own. */
.investors {
  padding-block: clamp(0.5rem, 1.2vw, 1.5rem) clamp(4rem, 6.6vw, 7.5rem);
}

.investors__inner {
  width: min(56.25rem, 92vw);
  margin-inline: auto;
  color: var(--navy);
  text-align: center;
}

.investors__heading {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
}

.investors__row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: clamp(2.25rem, 3.4vw, 3.5rem) 0 0;
  padding: clamp(2rem, 3vw, 3rem) 0 0;
  border-top: 1px solid var(--line-dark);
  gap: clamp(2.5rem, 7vw, 7rem);
  list-style: none;
}

/* Hairline between the marks, matching the rules used elsewhere on the page. */
.investors__item + .investors__item {
  position: relative;
}

.investors__item + .investors__item::before {
  position: absolute;
  top: 50%;
  left: calc(clamp(2.5rem, 7vw, 7rem) / -2);
  height: 2.4em;
  border-left: 1px solid var(--line-dark);
  content: "";
  transform: translateY(-50%);
}

.investors__logo {
  display: block;
  width: auto;
  object-fit: contain;
}

/* Sized per mark so the two wordmarks read at the same optical weight. */
.investors__logo--eclipse {
  height: clamp(30px, 2.9vw, 46px);
}

.investors__logo--8vc {
  height: clamp(22px, 2.1vw, 34px);
}

/* Our team */
.team {
  padding-block: clamp(3.5rem, 5vw, 6rem) clamp(2.5rem, 3.4vw, 4rem);
}

.team__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 1.7vw, 2rem);
}

.team__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3.4vw, 4rem);
  margin-bottom: clamp(1.5rem, 2.5vw, 3rem);
  color: var(--navy);
  text-align: center;
}

.team__heading {
  max-width: 17ch;
  font-size: clamp(2.6rem, 5vw, 6rem);
  line-height: 1;
}

.team__title {
  max-width: 38ch;
  font-size: clamp(1.85rem, 2.5vw, 3rem);
  line-height: 0.9;
}

/* Our mission */
.mission {
  padding-block: clamp(1.5rem, 1.7vw, 2rem) clamp(4rem, 6.6vw, 8rem);
}

.mission__inner {
  width: min(56.25rem, 92vw);
  margin-inline: auto;
  color: var(--navy);
  text-align: center;
}

.mission__heading {
  font-size: clamp(2.6rem, 5vw, 6rem);
  line-height: 1;
}

.mission__body {
  max-width: 48ch;
  margin: 1rem auto 0;
  font-size: clamp(1.1rem, 1.05vw, 1.25rem);
  line-height: 1.2;
}

/* 1px gaps over the navy backdrop draw the hairline grid between cells. */
.mission__grid {
  display: grid;
  width: var(--shell);
  margin: clamp(2.5rem, 4vw, 4.8rem) auto 0;
  gap: 1px;
  background: var(--navy);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mission__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(1.75rem, 1.9vw, 2.25rem) clamp(1rem, 2.8vw, 3.375rem) clamp(2.25rem, 2.8vw, 3.375rem);
  color: var(--navy);
  background: var(--ice);
  text-align: center;
}

.mission__label {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
}

.mission__item h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 1.9vw, 2.25rem);
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.mission__text {
  max-width: 46ch;
  margin: 0;
  font-size: 0.8rem;
}

/* Disaster transition */
.transition {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--navy-deep);
}

.transition__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: clamp(4rem, 7vw, 8rem);
}

/* Tiles overlap by 4vw per side, mirroring the Webflow gallery's negative margins. */
.transition__tile {
  position: relative;
  flex: 0 0 auto;
  margin: 0 -4vw;
  overflow: hidden;
  border-radius: clamp(6px, 0.6vw, 12px);
  aspect-ratio: 2 / 3;
}

.transition__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.transition__tile--small {
  z-index: 2;
  width: 21vw;
}

.transition__tile--big {
  z-index: 3;
  width: 26.25vw;
}

.transition__tile--center {
  z-index: 4;
  width: 30.73vw;
}

/* Centred with flex rather than a translate, so the .reveal transform can animate freely. */
.transition__copy {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.45);
}

.transition__copy > * {
  width: min(96vw, 1541px);
}

.transition h2 {
  font-size: clamp(2rem, 4.22vw, 5.06rem);
  letter-spacing: 0.088em;
  line-height: 1;
}

.transition h2 span {
  display: block;
  color: var(--lime);
}

.transition__copy p {
  margin: 1.5vw 0 0;
  font-size: clamp(0.95rem, 1.31vw, 1.575rem);
}

/* Problem */
.section-light {
  background: var(--ice);
}

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

.problem {
  padding-block: clamp(3.5rem, 5.6vw, 6.75rem) clamp(2.5rem, 3.75vw, 4.5rem);
}

.problem__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 1.875vw, 2.25rem);
}

.problem__rule {
  height: 1px;
  background: var(--navy);
}

.problem__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.display-heading {
  flex: 1 1 47.4%;
  max-width: 47.4%;
  font-size: clamp(2.2rem, 5.625vw, 6.75rem);
  line-height: 1;
}

.problem__body {
  flex: 0 1 36.8%;
  max-width: 33.3%;
  margin: 12.19vw 3.75vw 0 0;
  color: var(--navy);
  font-size: clamp(0.95rem, 1.4vw, 1.6875rem);
  font-weight: 300;
  line-height: 1.08;
}

.problem__media {
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1vw, 1.2rem);
}

.problem__row {
  display: flex;
  gap: clamp(0.75rem, 1vw, 1.2rem);
}

.media-frame {
  flex: 1 1 0;
  margin: 0;
  overflow: hidden;
  border-radius: clamp(6px, 0.6vw, 12px);
  aspect-ratio: 743 / 452;
}

/* flex:none so the aspect ratio (not a zero flex-basis) sets the height in the column. */
.media-frame--wide {
  flex: none;
  width: 100%;
  aspect-ratio: 1500 / 667;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(.2, .8, .2, 1);
}

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

/* Platform stack: interactive isometric layer diagram (deck slide ID40) */
.platform-stack {
  --plate-w: clamp(210px, 22vw, 420px);
  --plate-h: calc(var(--plate-w) * 0.643);
  /* Projected footprint of a plate rotated to rotateX(60deg) rotateZ(-45deg). */
  --plate-span: calc(var(--plate-w) * 1.162);
  --plate-rise: calc(var(--plate-w) * 0.581);
  /* Floored so a two-line description never crowds the label below it. */
  --plate-step: max(6.75rem, calc(var(--plate-w) * 0.21));
  --plate-lift: clamp(8px, 0.8vw, 14px);
  --legend-gap: clamp(2.5rem, 4vw, 5rem);
  padding: clamp(2.25rem, 3.6vw, 4.25rem) clamp(1.25rem, 3vw, 3.5rem) clamp(2.5rem, 4vw, 4.75rem);
  border-radius: clamp(6px, 0.6vw, 12px);
  background: var(--navy-deep);
  color: var(--paper);
}

.platform-stack__head {
  width: min(70rem, 92%);
  margin-inline: auto;
  text-align: center;
}

.platform-stack__eyebrow {
  margin: 0;
  color: rgba(242, 236, 228, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.platform-stack__title {
  margin: 0.9rem 0 0;
  font-family: "Ruder", Impact, sans-serif;
  font-size: clamp(1.85rem, 3.1vw, 3.75rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.platform-stack__stage {
  position: relative;
  width: 100%;
  height: calc(var(--plate-step) * 5 + var(--plate-rise));
  margin: clamp(2.5rem, 4vw, 4.5rem) auto 0;
}

.platform-stack__layers {
  position: absolute;
  inset: 0;
}

/* The button only positions; hit-testing belongs to the rotated plate itself.
   The plate column is centred on the stage; the legend runs off to its right. */
.platform-stack__layer {
  position: absolute;
  left: calc(50% - var(--plate-span) / 2);
  top: calc(var(--i) * var(--plate-step));
  width: var(--plate-span);
  height: var(--plate-rise);
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  pointer-events: none;
}

.platform-stack__plate {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: calc(10 - var(--i));
  width: var(--plate-w);
  height: var(--plate-h);
  overflow: hidden;
  border: 1px solid rgba(242, 236, 228, 0.3);
  border-radius: 6px;
  background: rgba(242, 236, 228, 0.06);
  box-shadow: 0 22px 30px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-45deg);
  transition: top 260ms cubic-bezier(.2, .8, .2, 1), border-color 220ms ease,
    box-shadow 220ms ease, opacity 220ms ease;
}

.platform-stack__art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(0.95) brightness(0.88) contrast(1.02);
  object-fit: cover;
}

/* Payloads read white on the dark deck, long axis parallel to the plane. */
.platform-stack__art--payloads {
  filter: invert(1) grayscale(1) brightness(0.95) contrast(1.1);
  transform: rotate(70deg) scale(1.05);
}

/* The simulations chart is drawn on white, so it is inverted to sit on the deck. */
.platform-stack__art--chart {
  filter: invert(0.93) hue-rotate(15deg) saturate(1.3) brightness(1.02);
}

.platform-stack__shade,
.platform-stack__tint {
  position: absolute;
  inset: 0;
  transition: opacity 220ms ease;
}

.platform-stack__shade {
  background: linear-gradient(135deg, rgba(10, 12, 16, 0.06) 0%, rgba(10, 12, 16, 0.32) 100%);
}

.platform-stack__tint {
  background: radial-gradient(circle at 52% 55%, rgba(255, 90, 31, 0.85) 0%, rgba(255, 90, 31, 0.25) 45%, transparent 70%);
  mix-blend-mode: color;
}

/* The active plate pops above the rest of the stack so its edge stays readable. */
.platform-stack__layer.is-active .platform-stack__plate {
  top: calc(50% - var(--plate-lift));
  z-index: 15;
  border-color: var(--lime);
  box-shadow: 0 22px 34px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 238, 50, 0.55);
}

.platform-stack__layer.is-active .platform-stack__shade {
  opacity: 0.4;
}

.platform-stack__layers.has-active .platform-stack__layer:not(.is-active) .platform-stack__plate {
  opacity: 0.6;
}

.platform-stack__layer:focus-visible {
  outline: none;
}

.platform-stack__layer:focus-visible .platform-stack__plate {
  border-color: var(--lime);
}

/* Legend: one line per plate, aligned to the plate it names. */
.platform-stack__legend {
  margin: 0;
  padding: 0;
  list-style: none;
}

.platform-stack__item {
  position: absolute;
  left: calc(50% + var(--plate-span) / 2 + var(--legend-gap));
  top: calc(var(--i) * var(--plate-step) + var(--plate-rise) / 2 - 0.7rem);
  z-index: 20;
  width: calc(50% - var(--plate-span) / 2 - var(--legend-gap));
  cursor: pointer;
  transition: opacity 220ms ease;
}

.platform-stack__item::before,
.platform-stack__item::after {
  position: absolute;
  content: "";
  transition: background 220ms ease;
}

.platform-stack__item::before {
  left: calc(var(--legend-gap) * -1 + 0.9rem);
  top: 0.62rem;
  width: calc(var(--legend-gap) - 1.5rem);
  height: 1px;
  background: rgba(242, 236, 228, 0.32);
}

.platform-stack__item::after {
  left: calc(var(--legend-gap) * -1 + 0.55rem);
  top: 0.43rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(242, 236, 228, 0.45);
}

.platform-stack__name {
  display: block;
  color: rgba(242, 236, 228, 0.86);
  font-family: "Lab Mono", ui-monospace, monospace;
  font-size: clamp(0.72rem, 0.92vw, 1rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 220ms ease;
}

.platform-stack__item[data-layer="1"] .platform-stack__name {
  letter-spacing: 0.08em;
}

/* Held in the layout at all times so revealing it never shifts the legend. */
.platform-stack__desc {
  display: block;
  margin-top: 0.55rem;
  color: rgba(242, 236, 228, 0.78);
  font-size: clamp(0.9rem, 1.02vw, 1.15rem);
  font-weight: 300;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 220ms ease;
}

.platform-stack__item.is-active .platform-stack__name {
  color: var(--lime);
}

.platform-stack__item.is-active .platform-stack__desc {
  opacity: 1;
}

.platform-stack__item.is-active::before {
  background: rgba(201, 238, 50, 0.75);
}

.platform-stack__item.is-active::after {
  background: var(--lime);
}

.platform-stack__legend.has-active .platform-stack__item:not(.is-active) {
  opacity: 0.5;
}

@media (max-width: 1099px) {
  /* Stack the sketch over a plain legend list; touch has no hover to reveal with. */
  .platform-stack__stage {
    height: auto;
  }

  .platform-stack__layers {
    position: relative;
    inset: auto;
    height: calc(var(--plate-step) * 5 + var(--plate-rise));
    margin-inline: auto;
    width: var(--plate-span);
  }

  .platform-stack__legend {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: clamp(2rem, 5vw, 3rem);
  }

  .platform-stack__item {
    position: static;
    width: auto;
  }

  .platform-stack__item::before,
  .platform-stack__item::after {
    display: none;
  }

  .platform-stack__desc {
    max-width: none;
    opacity: 1;
  }

  .platform-stack__legend.has-active .platform-stack__item:not(.is-active) {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .platform-stack__plate,
  .platform-stack__name,
  .platform-stack__desc,
  .platform-stack__item {
    transition: none;
  }
}

/* Consequences */
.consequences {
  padding-block: clamp(4rem, 5.625vw, 6.75rem) clamp(6rem, 8.9vw, 10.7rem);
  overflow: hidden;
}

.consequences__inner {
  position: relative;
}

.consequences__head {
  display: flex;
  justify-content: center;
  padding-inline: 2.35vw;
}

.consequences__head h2 {
  width: min(68vw, 1040px);
  min-width: 0;
  margin: 0;
  font-family: "Ruder", Impact, sans-serif;
  font-size: clamp(2.5rem, 3.55vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.96;
  text-align: center;
  text-transform: uppercase;
}

.consequences__head h2 span {
  display: block;
  margin-top: 0.42em;
  font-size: clamp(1.2rem, 1.7vw, 2.05rem);
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.consequences__viewport {
  margin-top: clamp(2.5rem, 2.8vw, 3.4rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.consequences__viewport::-webkit-scrollbar {
  display: none;
}

.consequences__track {
  display: flex;
  width: max-content;
  gap: clamp(1rem, 1.4vw, 1.7rem);
  padding-inline: clamp(1.25rem, 2.23vw, 2.7rem);
}

.impact-card {
  position: relative;
  flex: 0 0 min(35.625vw, 684px);
  overflow: hidden;
  border-radius: clamp(8px, 0.7vw, 14px);
  aspect-ratio: 684 / 433;
  color: var(--paper);
  background: var(--navy);
  scroll-snap-align: start;
}

.impact-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact-card p {
  position: absolute;
  z-index: 1;
  right: 29%;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 0 clamp(1.25rem, 1.875vw, 2.25rem) clamp(1.25rem, 1.875vw, 2.25rem);
  font-size: clamp(0.95rem, 1.11vw, 1.34rem);
  line-height: 1.08;
}

/* Testimonials */
.testimonials {
  padding-block: clamp(3.5rem, 5.6vw, 6.75rem) clamp(4rem, 6.6vw, 7.9rem);
}

.testimonials__inner {
  width: min(92vw, 1012px);
  margin-inline: auto;
}

.testimonials__title {
  max-width: 88%;
  margin: 0 auto;
  font-family: "Ruder", Impact, sans-serif;
  font-size: clamp(2rem, 3.75vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

/* Live homepage ships the heading before quotes are final. */
.testimonials--heading-only {
  padding-bottom: clamp(3.5rem, 5.6vw, 6.75rem);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 4.7vw, 5.625rem);
  margin-top: clamp(3rem, 6.6vw, 7.9rem);
}

/* Column layout keeps the rule and attribution aligned across both quotes. */
.testimonial {
  display: flex;
  flex-direction: column;
  margin: 0;
}

.testimonial figcaption {
  margin-top: auto;
}

.testimonial blockquote {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.1rem, 1.64vw, 1.97rem);
  font-weight: 300;
  line-height: 1.08;
  text-align: center;
}

.testimonial__line {
  display: block;
  height: 1px;
  margin-block: 1rem;
  background: var(--navy);
}

.testimonial__name {
  display: block;
  color: #333;
  font-size: clamp(0.78rem, 0.76vw, 0.915rem);
  line-height: 1.1;
}

/* Fixed height with auto width keeps the wide CoE wordmark legible. */
.testimonial__logo {
  width: auto;
  max-width: 70%;
  height: var(--testimonial-logo-height);
  margin: var(--testimonial-logo-gap) auto 0;
  object-fit: contain;
  object-position: center;
}

/* Reserve the logo's footprint on the quote without one, so both attributions stay on the same line. */
.testimonial:not(:has(.testimonial__logo))::after {
  display: block;
  height: var(--testimonial-logo-height);
  margin-top: var(--testimonial-logo-gap);
  content: "";
}

/* Footer */
.site-footer {
  padding-top: clamp(3rem, 2.8vw, 3.4rem);
  color: var(--paper);
  background: var(--navy);
}

.footer__brand-mark {
  width: 54px;
  height: 43px;
  margin: 0 auto clamp(4.5rem, 5.625vw, 6.75rem);
}

/* Interior pages drop the briefing block, so the mark needs less clearance. */
.site-footer--slim .footer__brand-mark {
  margin-bottom: clamp(1.5rem, 2.2vw, 2.5rem);
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-bottom: 1px solid var(--line-light);
}

.footer__intro,
.footer__contact {
  min-height: min(39.4vw, 756px);
}

.footer__intro {
  padding: 0 clamp(3rem, 5.625vw, 6.75rem) clamp(5rem, 9.375vw, 11.25rem);
}

.site-footer h2 {
  max-width: none;
  font-size: clamp(2rem, 1.875vw, 2.25rem);
  letter-spacing: 0.07em;
  line-height: 1;
}

.footer__intro h2 {
  margin: 1.1rem 0 clamp(2rem, 2.35vw, 2.8rem);
}

.footer__intro > p:last-child {
  max-width: none;
}

.footer__intro > p {
  max-width: 586px;
  margin: 0;
  font-size: clamp(1.1rem, 1.4vw, 1.6875rem);
  line-height: 1.15;
}

.footer__intro > p + p {
  margin-top: 1.1rem;
}

.footer__audience {
  max-width: 431px;
  margin-top: clamp(2.5rem, 3.75vw, 4.5rem);
  font-family: "Lab Mono", ui-monospace, monospace;
  font-size: clamp(0.72rem, 0.76vw, 0.915rem);
  line-height: 1.1;
  text-transform: uppercase;
}

.footer__audience h3,
.footer__audience p {
  margin: 0;
  font: inherit;
}

.footer__audience h3 {
  margin-bottom: 1rem;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
  padding-left: clamp(3rem, 5.625vw, 6.75rem);
  border-left: 1px solid var(--line-light);
}

.footer__contact h2 {
  margin: 0 0 clamp(2rem, 3vw, 3.6rem);
  font-size: clamp(3rem, 3.75vw, 4.5rem);
  letter-spacing: 0.04em;
}

.footer__email {
  font-size: clamp(1.15rem, 1.4vw, 1.7rem);
  text-underline-offset: 0.3em;
}

.footer__email-button,
.ghost-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(242, 236, 228, 0.55);
  border-radius: 999px;
  font-family: "Lab Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.footer__email-button:hover,
.ghost-button:hover {
  border-color: var(--lime);
  color: var(--navy);
  background: var(--lime);
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding-block: 3rem;
}

.footer__mark {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer__mark img {
  width: clamp(150px, 11.2vw, 215px);
  height: auto;
}

.footer__bottom nav {
  display: flex;
  gap: 1.5rem;
  font-family: "Lab Mono", ui-monospace, monospace;
  font-size: 0.67rem;
}

.footer__bottom nav a,
.social-links a {
  text-underline-offset: 0.35em;
}

.social-links {
  justify-self: end;
  font-family: "Lab Mono", ui-monospace, monospace;
  font-size: 0.67rem;
}

.footer__legal {
  margin: 0;
  padding: 1rem 0 2rem;
  border-top: 1px solid var(--line-light);
  color: rgba(242, 236, 228, 0.55);
  font-size: 0.6rem;
}

/* Scroll reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 750ms ease, transform 750ms cubic-bezier(.2, .8, .2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .hero h1 {
    font-size: clamp(3.4rem, 7.2vw, 6rem);
  }

  .impact-card {
    flex-basis: min(64vw, 684px);
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(90vw, 1710px);
    --pad-y: 5rem;
  }

  body {
    font-size: 16px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: flex;
    width: 2.75rem;
    height: 2.75rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0;
    border: 1px solid rgba(242, 236, 228, 0.6);
    color: var(--paper);
    background: transparent;
  }

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

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

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

  .mobile-menu {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
    padding: 8vw;
    color: var(--paper);
    background: var(--navy-deep);
    font-family: "Ruder", Impact, sans-serif;
    font-size: clamp(2.8rem, 12vw, 5rem);
    line-height: 0.95;
  }

  .mobile-menu[hidden] {
    display: none;
  }

  .mobile-menu a {
    text-decoration: none;
  }

  .hero__inner {
    padding-top: 7rem;
  }

  .hero__copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 8.6vw, 3.2rem);
    letter-spacing: 0.06em;
  }

  .hero__body {
    gap: 1.1rem;
    font-size: 1.05rem;
  }

  .hero__status {
    display: none;
  }

  .frame-marks {
    --mark-size: 5px;
    --mark-pitch: 11px;

    inset: 12% 7% 12%;
  }

  .transition__stage {
    padding-block: 4rem;
  }

  .transition__tile {
    margin: 0 -5vw;
  }

  .transition__tile--center {
    width: 52vw;
  }

  .transition__tile--big {
    width: 30vw;
  }

  .transition__tile--small {
    display: none;
  }

  .transition h2 {
    font-size: clamp(1.6rem, 7.6vw, 3rem);
    letter-spacing: 0.06em;
  }

  .transition__copy p {
    margin-top: 0.9rem;
    font-size: 0.95rem;
  }

  .problem__top {
    flex-direction: column;
    gap: 1.75rem;
  }

  .page-hero__inner {
    padding-top: 7rem;
  }

  .page-hero h1 {
    font-size: clamp(1.9rem, 8vw, 3rem);
    letter-spacing: 0.05em;
  }

  .page-hero__tagline {
    font-size: clamp(1.2rem, 5.2vw, 1.75rem);
  }

  .page-hero__lead {
    max-width: none;
    font-size: 1.05rem;
  }

  .page-hero__tagline + .page-hero__lead {
    max-width: none;
    font-size: 1.25rem;
  }

  .team__heading,
  .mission__heading {
    max-width: none;
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .team__title {
    max-width: none;
    font-size: clamp(1.5rem, 6.4vw, 2.2rem);
  }

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

  /* Stack the marks and turn the divider horizontal. */
  .investors__row {
    flex-direction: column;
    gap: 2.25rem;
  }

  .investors__item + .investors__item::before {
    top: -1.125rem;
    left: 50%;
    width: 3rem;
    height: 0;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
    transform: translateX(-50%);
  }

  .display-heading,
  .problem__body {
    max-width: none;
    flex: 0 0 auto;
  }

  .display-heading {
    font-size: clamp(2.1rem, 9.4vw, 3.4rem);
  }

  .problem__body {
    margin: 0;
    font-size: 1rem;
  }

  .problem__row {
    flex-direction: column;
  }

  /* Stacked column: a zero flex-basis would win over aspect-ratio and collapse the frame. */
  .problem__row .media-frame {
    flex: none;
    width: 100%;
  }

  .consequences__head h2 {
    width: 86vw;
    font-size: clamp(2.1rem, 8.2vw, 2.7rem);
  }

  .consequences__head h2 span {
    margin-top: 0.5em;
    font-size: clamp(1.05rem, 4.2vw, 1.3rem);
  }

  .consequences__track {
    gap: 1rem;
    padding-inline: 5vw;
  }

  .impact-card {
    flex-basis: 86vw;
  }

  .impact-card p {
    right: 5%;
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }

  .testimonials__title {
    max-width: none;
    font-size: clamp(1.9rem, 8.4vw, 3rem);
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .testimonial blockquote {
    font-size: 1.15rem;
  }

  .testimonial__logo {
    margin-top: 1.5rem;
  }

  /* Single column: no sibling to align with, so drop the reserved space. */
  .testimonial:not(:has(.testimonial__logo))::after {
    display: none;
  }

  .footer__top,
  .footer__bottom {
    grid-template-columns: 1fr;
  }

  .footer__intro,
  .footer__contact {
    min-height: 0;
    padding: 2.5rem 5vw 4rem;
  }

  .footer__contact {
    border-top: 1px solid var(--line-light);
    border-left: 0;
  }

  .site-footer h2 {
    font-size: 2rem;
  }

  .footer__contact h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .footer__bottom nav {
    flex-wrap: wrap;
  }

  .social-links {
    justify-self: start;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
