@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/inter-400.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/inter-500.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/inter-600.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-500.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/space-grotesk-600.woff2") format("woff2");
}

:root {
  --charcoal: #0b1114;
  --charcoal-2: #111a1e;
  --charcoal-3: #17222a;
  --ink: #0b1114;
  --lime: #b7f34a;
  --lime-hover: #c7f86d;
  --lime-active: #a2dc36;
  --lime-dim: rgba(183, 243, 74, 0.14);
  --ivory: #f5f4ef;
  --ivory-2: #ecebe4;
  --slate: #8a929a;
  --quiet: #4a545b;
  --white: #ffffff;
  --mist: #d9dcd6;
  --line: rgba(11, 17, 20, 0.12);
  --line-strong: rgba(11, 17, 20, 0.22);
  --line-light: rgba(245, 244, 239, 0.12);
  --display: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --sans: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header: 4.5rem;
  --max: 78rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

img {
  height: auto;
}

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

em {
  font-style: normal;
}

::selection {
  background: var(--lime);
  color: var(--charcoal);
}

:focus {
  outline: none;
}

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

.band-light :focus-visible {
  outline-color: var(--ink);
}

.band-light .band-dark :focus-visible {
  outline-color: var(--lime);
}

.focus-target:focus,
section[tabindex="-1"]:focus {
  outline: none;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 80;
  transform: translateY(-150%);
  background: var(--lime);
  color: var(--charcoal);
  padding: 0.7rem 1rem;
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ---------- Bands & sections ---------- */

.band-dark {
  background: var(--charcoal);
  color: var(--ivory);
  color-scheme: dark;
}

.band-light {
  background: var(--ivory);
  color: var(--ink);
  color-scheme: light;
}

.section {
  position: relative;
  padding: clamp(5rem, 11vw, 9.5rem) 0;
}

.section[id],
.hero {
  scroll-margin-top: 4rem;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 50rem;
}

.section-head .lede {
  margin-top: 1.25rem;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  align-items: end;
  max-width: none;
}

.split-head .lede {
  margin-top: 0;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.section-head--center .display,
.section-head--center .lede {
  margin-inline: auto;
}

.section-head--center .eyebrow {
  justify-content: center;
}

/* ---------- Type ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

.eyebrow--center {
  justify-content: center;
}

.band-light .eyebrow {
  color: var(--quiet);
}

.eyebrow-mark {
  width: 1.6rem;
  height: 1px;
  background: var(--lime);
  flex: none;
}

.band-light .eyebrow-mark {
  background: var(--ink);
}

.eyebrow-sep {
  color: var(--lime);
}

.display {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.9vw, 4.4rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  max-width: 15ch;
  text-wrap: balance;
}

.display--wide {
  max-width: 20ch;
}

.display--xl {
  font-size: clamp(2.5rem, 6.2vw, 5.6rem);
  max-width: 16ch;
}

.band-dark .display {
  color: var(--white);
}

.lead,
.lede {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 38rem;
  text-wrap: pretty;
}

.band-dark .lede,
.band-dark .lead {
  color: var(--mist);
}

.band-light .lede {
  color: var(--quiet);
}

.band-light .lead {
  color: var(--ink);
}

.kicker {
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--quiet);
  margin-bottom: 1rem;
}

.note {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--slate);
  max-width: 48rem;
}

.band-light .note {
  color: var(--quiet);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.26rem 0.5rem;
  border: 1px solid currentColor;
  border-radius: 99px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.2;
}

.tag--lime {
  color: var(--lime);
  border-color: rgba(183, 243, 74, 0.6);
}

.band-dark .note .tag {
  color: var(--lime);
  border-color: rgba(183, 243, 74, 0.5);
}

.lime-stroke {
  stroke: var(--lime);
}

.lime-fill {
  fill: var(--lime);
}

.band-light .lime-stroke {
  stroke: #6f9a1f;
}

.band-light .lime-fill {
  fill: var(--lime);
  stroke: var(--ink);
  stroke-width: 1;
}

/* ---------- Brand ---------- */

.mark {
  width: 1.55rem;
  height: 1.55rem;
  flex: none;
  color: var(--lime);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.logo-word {
  display: inline-flex;
  align-items: center;
  gap: 0.02em;
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.22em;
  line-height: 1;
  margin-right: -0.22em;
}

.logo-a {
  display: inline-flex;
  width: 0.78em;
  height: 1em;
  margin: 0 0.02em;
  transform: translateY(-0.02em);
}

.logo-a svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.logo-descriptor {
  display: block;
  margin-top: 0.32rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.8rem 1.35rem;
  border-radius: 99px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.btn-arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--lime);
  color: var(--charcoal);
}

.btn-primary:hover {
  background: var(--lime-hover);
  box-shadow: 0 10px 30px -10px rgba(183, 243, 74, 0.55);
}

.btn-primary:active {
  background: var(--lime-active);
  transform: translateY(1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245, 244, 239, 0.3);
}

.btn-ghost:hover {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: var(--ivory);
}

.btn-small {
  min-height: 38px;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
}

.btn-outline-lime {
  background: transparent;
  color: var(--lime);
  border-color: rgba(183, 243, 74, 0.55);
}

.btn-outline-lime:hover {
  background: var(--lime-dim);
}

.btn-outline-lime[disabled] {
  opacity: 0.55;
  cursor: progress;
}

.btn-outline-lime .muted {
  color: var(--slate);
  font-weight: 400;
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.15rem;
  width: fit-content;
}

.text-link--light {
  color: var(--ivory);
}

.text-link:hover {
  color: var(--lime);
}

.band-light .text-link:not(.text-link--light):hover {
  color: var(--quiet);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  color: var(--ivory);
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.page-plain .site-header {
  background: rgba(11, 17, 20, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(245, 244, 239, 0.07);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  margin-right: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--slate);
  transition: color 0.2s ease;
}

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

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}

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

.header-cta {
  min-height: 40px;
  padding: 0.6rem 1.05rem;
  font-size: 0.86rem;
}

.nav-foot {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  padding: 0;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease), background-color 0.2s ease, top 0.25s var(--ease);
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}

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

.js .hero-in {
  opacity: 0;
  transform: translateY(18px);
  animation: hero-in 1s var(--ease) forwards;
  animation-delay: calc(120ms + var(--d, 0) * 110ms);
}

@keyframes hero-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: clip;
  padding-top: calc(var(--header) + 1.5rem);
  padding-bottom: 1.5rem;
  isolation: isolate;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(245, 244, 239, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 244, 239, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 65% 45%, #000 20%, transparent 75%);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 70vmax;
  height: 70vmax;
  right: -20vmax;
  top: -12vmax;
  background: radial-gradient(circle, rgba(183, 243, 74, 0.13) 0%, rgba(183, 243, 74, 0.04) 32%, transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(11, 17, 20, 0.85));
  pointer-events: none;
}

.hero-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  flex: 1;
}

.hero-copy {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.7rem, 5.6vw, 5.4rem);
  letter-spacing: -0.048em;
  line-height: 0.98;
  color: var(--white);
  text-wrap: balance;
}

.hero h1 em {
  color: var(--lime);
}

.hero-lead {
  max-width: 34rem;
  color: var(--mist);
  font-size: 1.12rem;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.1rem;
}

.actions--center {
  justify-content: center;
}

.hero-descriptors {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  margin-top: 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
  max-width: 34rem;
}

.hero-descriptors li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--mist);
}

.hero-descriptors svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--lime);
}

.hero-visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 640px;
  justify-self: center;
}

.hv-layer {
  position: absolute;
  will-change: transform;
}

.hv-rings {
  inset: 0;
}

.hv-rings svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.spin-slow {
  transform-origin: 300px 300px;
  animation: spin 80s linear infinite;
}

.orbit {
  stroke-dasharray: 60 900;
  animation: orbit 9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit {
  to {
    stroke-dashoffset: -960;
  }
}

.hv-bridge {
  width: 60%;
  right: -4%;
  top: 8%;
  opacity: 0.55;
  filter: blur(0.5px) brightness(0.75);
}

.hv-bridge img {
  width: 100%;
  transform: rotate(-8deg);
}

.hv-wire {
  width: 26%;
  left: 2%;
  top: 10%;
}

.hv-wire svg {
  width: 100%;
  animation: float 10s var(--ease-io) infinite alternate;
}

.hv-crown {
  width: 76%;
  left: 10%;
  top: 18%;
}

.hv-crown img {
  width: 100%;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 60px rgba(183, 243, 74, 0.08));
  animation: float 7s var(--ease-io) infinite alternate;
}

@keyframes float {
  from {
    transform: translateY(-8px) rotate(-1deg);
  }
  to {
    transform: translateY(10px) rotate(1deg);
  }
}

.hv-readout {
  position: absolute;
  right: 4%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line-light);
  background: rgba(17, 26, 30, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 99px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ivory);
}

.hv-readout-meta {
  color: var(--slate);
  padding-left: 0.55rem;
  border-left: 1px solid var(--line-light);
}

.hv-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(183, 243, 74, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

@keyframes pulse {
  to {
    box-shadow: 0 0 0 10px rgba(183, 243, 74, 0);
  }
}

.hero-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-light);
  color: var(--slate);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-foot > span:last-child {
  text-align: right;
}

.scroll-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--slate);
}

.scroll-line {
  position: relative;
  width: 1px;
  height: 34px;
  background: var(--line-light);
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform: translateY(-100%);
  animation: drip 2.4s var(--ease-io) infinite;
}

@keyframes drip {
  60%,
  100% {
    transform: translateY(100%);
  }
}

/* ---------- Big idea ---------- */

.idea-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.idea-copy .display {
  margin-bottom: 1.75rem;
}

.idea-copy > p + p {
  margin-top: 1rem;
  color: var(--quiet);
  max-width: 36rem;
}

.idea-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.idea-pillars div {
  padding-top: 0.9rem;
  border-top: 1px solid var(--line-strong);
}

.idea-pillars dt {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.idea-pillars dd {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--quiet);
}

.idea-figure {
  margin: 0;
}

.idea-frame {
  position: relative;
  background: var(--charcoal);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 50px 90px -40px rgba(11, 17, 20, 0.55);
}

.idea-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  transform: scale(1.04);
  transition: transform 1.6s var(--ease);
}

.idea-figure.is-visible .idea-frame img {
  transform: scale(1);
}

.idea-annot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.idea-annot .draw {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  transition: stroke-dashoffset 1.6s var(--ease) 0.4s;
}

.idea-figure.is-visible .draw,
html:not(.js) .draw {
  stroke-dashoffset: 0;
}

.frame-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--lime);
  border-style: solid;
}

.frame-corner.tl {
  top: 14px;
  left: 14px;
  border-width: 1px 0 0 1px;
}

.frame-corner.br {
  right: 14px;
  bottom: 14px;
  border-width: 0 1px 1px 0;
}

.idea-figure figcaption {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--quiet);
  max-width: 34rem;
}

/* ---------- Problem ---------- */

.problem {
  padding-top: 0;
}

.problem > .wrap {
  border-top: 1px solid var(--line);
  padding-top: clamp(4.5rem, 9vw, 8rem);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.pcard {
  position: relative;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  min-height: 22rem;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s ease;
}

.pcard--wide {
  grid-column: span 3;
}

.pcard:nth-child(2),
.pcard:nth-child(3) {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}

.pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(11, 17, 20, 0.35);
  border-color: var(--line-strong);
}

.pcard-art {
  flex: 1;
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
  color: var(--ink);
  min-height: 9rem;
}

.pcard:nth-child(2) .pcard-art,
.pcard:nth-child(3) .pcard-art {
  color: var(--ivory);
}

.pcard:nth-child(2) .lime-fill,
.pcard:nth-child(3) .lime-fill {
  stroke: none;
}

.pcard-art svg {
  width: 100%;
  max-height: 11rem;
  transition: transform 0.8s var(--ease);
}

.pcard:hover .pcard-art svg {
  transform: scale(1.04);
}

.pcard-num {
  font-family: var(--display);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  color: var(--slate);
  margin-bottom: 0.6rem;
}

.pcard h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

.pcard p {
  font-size: 0.96rem;
  color: var(--quiet);
  max-width: 30rem;
}

.pcard:nth-child(2) p,
.pcard:nth-child(3) p {
  color: var(--slate);
}

/* ---------- Solution / process ---------- */

.solution {
  overflow: clip;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(183, 243, 74, 0.07), transparent 70%),
    var(--charcoal);
}

.solution .display {
  max-width: 18ch;
}

.process {
  position: relative;
  --progress: 0;
}

.process-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1px;
  background: var(--line-light);
}

.process-fill,
.timeline-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(183, 243, 74, 0.3), var(--lime));
  transform-origin: left center;
  transform: scaleX(var(--progress, 0));
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
}

.pstep {
  position: relative;
  padding-top: 2.25rem;
}

.pstep-node,
.phase-node {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--charcoal);
  border: 1px solid var(--slate);
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.pstep.is-active .pstep-node,
.phase.is-active .phase-node {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 5px rgba(183, 243, 74, 0.15);
}

.pstep-art {
  height: 7.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--line-light);
  border-radius: 6px;
  background:
    linear-gradient(rgba(245, 244, 239, 0.03) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(245, 244, 239, 0.03) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--charcoal-2);
  display: grid;
  place-items: center;
  color: var(--mist);
  transition: border-color 0.4s ease;
}

.pstep:hover .pstep-art {
  border-color: rgba(183, 243, 74, 0.4);
}

.pstep-art svg {
  width: 74%;
  height: 90%;
}

.pstep--feature .pstep-art {
  border-color: rgba(183, 243, 74, 0.35);
  background:
    radial-gradient(circle at 50% 60%, rgba(183, 243, 74, 0.12), transparent 60%),
    var(--charcoal-2);
}

.crown-form {
  stroke-dasharray: 240;
  stroke-dashoffset: 240;
  animation: form 4.5s var(--ease-io) infinite;
}

@keyframes form {
  0% {
    stroke-dashoffset: 240;
    fill-opacity: 0;
  }
  55% {
    stroke-dashoffset: 0;
    fill-opacity: 0;
  }
  80%,
  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}

.scanline {
  animation: scan 3s var(--ease-io) infinite alternate;
}

@keyframes scan {
  from {
    transform: translateY(-14px);
  }
  to {
    transform: translateY(32px);
  }
}

.pstep-num {
  display: block;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--lime);
  margin-bottom: 0.4rem;
}

.pstep h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.pstep p {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--slate);
}

.pstep-list {
  margin-top: 0.9rem;
  display: grid;
  gap: 0.3rem;
}

.pstep-list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.8rem;
  color: var(--mist);
}

.pstep-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 1px;
  background: var(--lime);
}

.transform {
  margin: clamp(4rem, 8vw, 6rem) 0 0;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(245, 244, 239, 0.025), transparent);
}

.transform-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.transform-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.transform-item img {
  width: min(100%, 220px);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.5));
}

.transform-item:first-child img {
  filter: brightness(0.75) drop-shadow(0 0 18px rgba(183, 243, 74, 0.15));
  opacity: 0.85;
}

.transform-item span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.transform-arrow {
  width: 60px;
  color: var(--lime);
}

.transform .note {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
  max-width: none;
}

/* ---------- Product workspace (CAD) ---------- */

.product {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 100%);
}

.cad {
  margin: 0;
  --cad-bg: #0d1418;
  --cad-panel: #121b20;
  --cad-panel-2: #172228;
  --cad-line: rgba(245, 244, 239, 0.09);
  --cad-text: #dfe3e0;
  --cad-dim: #8a929a;
}

.cad-frame {
  background: var(--cad-bg);
  color: var(--cad-text);
  border: 1px solid #05090b;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.4;
  color-scheme: dark;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 90px 140px -60px rgba(11, 17, 20, 0.6),
    0 30px 60px -30px rgba(11, 17, 20, 0.45);
}

.cad-frame :focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 1px;
}

.cad-titlebar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.6rem 0.9rem;
  background: #0a1013;
  border-bottom: 1px solid var(--cad-line);
}

.cad-dots {
  display: flex;
  gap: 6px;
}

.cad-dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a353b;
}

.cad-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: auto;
  min-width: 0;
  font-family: var(--display);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
}

.cad-title .mark {
  width: 0.95rem;
  height: 0.95rem;
}

.cad-doc {
  color: var(--cad-dim);
  font-family: var(--sans);
  font-size: 0.76rem;
  padding-left: 0.6rem;
  margin-left: 0.15rem;
  border-left: 1px solid var(--cad-line);
  overflow: hidden;
  text-overflow: ellipsis;
}

.cad-menubar {
  display: flex;
  gap: 1.2rem;
  padding: 0.35rem 0.9rem;
  border-bottom: 1px solid var(--cad-line);
  color: var(--cad-dim);
  font-size: 0.74rem;
  user-select: none;
}

.cad-menubar-meta {
  margin-left: auto;
  letter-spacing: 0.08em;
}

.cad-stepbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.75rem;
  background: var(--cad-panel);
  border-bottom: 1px solid var(--cad-line);
}

.cad-steps {
  display: flex;
  gap: 2px;
  margin-right: auto;
  overflow-x: auto;
  scrollbar-width: none;
}

.cad-steps::-webkit-scrollbar {
  display: none;
}

.cad-steps button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 34px;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--cad-dim);
  font-size: 0.78rem;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cad-steps button span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(138, 146, 154, 0.5);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.cad-steps button:hover {
  color: var(--cad-text);
  background: rgba(245, 244, 239, 0.04);
}

.cad-steps [aria-current="step"] {
  color: var(--white);
  background: rgba(183, 243, 74, 0.1);
  border-color: rgba(183, 243, 74, 0.35);
}

.cad-steps [aria-current="step"] span {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--charcoal);
}

.cad-auto {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(183, 243, 74, 0.5);
  border-radius: 6px;
  background: rgba(183, 243, 74, 0.08);
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.cad-auto svg {
  width: 13px;
  height: 13px;
}

.cad-auto span {
  color: var(--cad-dim);
  font-weight: 400;
}

.cad-auto:hover {
  background: rgba(183, 243, 74, 0.16);
}

.cad-auto[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.cad-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 270px;
  min-height: 600px;
}

.cad-left,
.cad-right {
  background: var(--cad-panel);
  display: flex;
  flex-direction: column;
}

.cad-left {
  border-right: 1px solid var(--cad-line);
}

.cad-right {
  border-left: 1px solid var(--cad-line);
}

.cad-group {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--cad-line);
}

.cad-heading {
  margin: 0 0 0.6rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cad-dim);
}

.cad-heading span {
  color: var(--lime);
}

.cad-tree {
  display: grid;
  gap: 1px;
}

.cad-tree button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 30px;
  padding: 0.25rem 0.35rem;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--cad-dim);
  text-align: left;
  font-size: 0.78rem;
}

.cad-tree button:hover {
  background: rgba(245, 244, 239, 0.04);
}

.cad-tree button[aria-pressed="true"] {
  color: var(--cad-text);
}

.cad-tree .eye {
  width: 14px;
  height: 9px;
  border: 1.2px solid currentColor;
  border-radius: 50% / 60%;
  position: relative;
  flex: none;
  opacity: 0.5;
}

.cad-tree .eye::after {
  content: "";
  position: absolute;
  inset: 1.5px 3.5px;
  border-radius: 50%;
  background: currentColor;
}

.cad-tree [aria-pressed="true"] .eye {
  opacity: 1;
}

.cad-tree [aria-pressed="false"] .eye::before {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 3px;
  height: 1.2px;
  background: currentColor;
  transform: rotate(-30deg);
}

.swatch {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  flex: none;
}

.swatch--jaw { background: #c9c2b3; }
.swatch--prep { background: #d6bc8c; }
.swatch--crown { background: #f4f1ea; }
.swatch--lime { background: var(--lime); }

.cad-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.cad-chart span {
  display: grid;
  place-items: center;
  height: 22px;
  border: 1px solid var(--cad-line);
  border-radius: 3px;
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
  color: var(--cad-dim);
}

.cad-chart span:nth-child(-n + 7) {
  border-bottom-color: rgba(245, 244, 239, 0.25);
}

.cad-chart .is-key {
  background: var(--lime);
  border-color: var(--lime) !important;
  color: var(--charcoal);
  font-weight: 600;
}

.cad-chart span:nth-child(1),
.cad-chart span:nth-child(3) {
  border-color: rgba(183, 243, 74, 0.55);
  color: var(--cad-text);
}

.cad-chart-key {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.55rem;
  font-size: 0.68rem;
  color: var(--cad-dim);
}

.cad-chart-key i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
}

.cad-chart-key i + i,
.cad-chart-key .k-adj {
  margin-left: 0.5rem;
}

.k-crown { background: var(--lime); }
.k-adj { border: 1px solid rgba(183, 243, 74, 0.55); }

.cad-step-info {
  border-bottom: 0;
  margin-top: auto;
}

.cad-step-info p {
  color: var(--cad-dim);
  font-size: 0.76rem;
  line-height: 1.5;
}

.cad-viewport {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 70% at 50% 42%, #2a363d 0%, #172127 45%, #0b1114 100%);
}

.cad-viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 244, 239, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 244, 239, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 60%, #000 30%, transparent 75%);
  pointer-events: none;
}

#cad-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.cad.is-ready #cad-canvas {
  opacity: 1;
}

.cad.is-dragging #cad-canvas {
  cursor: grabbing;
}

.cad-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cad-label {
  position: absolute;
  left: 0;
  top: 0;
  margin: -10px 0 0 -14px;
  min-width: 28px;
  padding: 0.12rem 0.35rem;
  border: 1px solid rgba(245, 244, 239, 0.18);
  border-radius: 4px;
  background: rgba(11, 17, 20, 0.72);
  color: var(--cad-text);
  font-size: 0.66rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
  white-space: nowrap;
  will-change: transform;
}

.cad-label.is-key {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--charcoal);
  font-weight: 600;
}

.cad-label.is-callout {
  margin-left: 0;
  border-color: rgba(183, 243, 74, 0.5);
  color: var(--lime);
  letter-spacing: 0.06em;
}

.cad-label.is-pin {
  min-width: 0;
  width: 20px;
  height: 20px;
  padding: 0;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  line-height: 18px;
  font-weight: 600;
}

.cad-ai {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--cad-line);
  border-radius: 99px;
  background: rgba(11, 17, 20, 0.75);
  color: var(--cad-dim);
  font-size: 0.72rem;
  pointer-events: none;
}

.cad-ai-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--cad-dim);
}

.cad-ai[data-state="running"] {
  color: var(--lime);
  border-color: rgba(183, 243, 74, 0.45);
}

.cad-ai[data-state="running"] .cad-ai-dot {
  border-color: var(--lime);
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}

.cad-ai[data-state="done"] .cad-ai-dot,
.cad-ai[data-state="idle"] .cad-ai-dot {
  background: var(--lime);
  border-color: var(--lime);
}

.cad-views {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--cad-line);
  border-radius: 8px;
  background: rgba(11, 17, 20, 0.78);
}

.cad-views button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 30px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--cad-text);
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 500;
}

.cad-views button svg {
  width: 16px;
  height: 16px;
}

.cad-views button:hover {
  background: rgba(245, 244, 239, 0.08);
}

.cad-views button[aria-pressed="true"] {
  background: var(--lime);
  color: var(--charcoal);
}

.cad-views-sep {
  height: 1px;
  margin: 2px 4px;
  background: var(--cad-line);
}

.cad-gizmo {
  position: absolute;
  right: 0.75rem;
  bottom: 2.4rem;
  width: 74px;
  height: 74px;
  pointer-events: none;
}

.cad-legend {
  position: absolute;
  left: 0.75rem;
  bottom: 2.4rem;
  width: 210px;
  padding: 0.55rem 0.65rem 0.5rem;
  border: 1px solid var(--cad-line);
  border-radius: 6px;
  background: rgba(11, 17, 20, 0.82);
}

.cad-legend p {
  margin-bottom: 0.4rem;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: var(--cad-text);
}

.cad-legend-bar {
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d9363e 0%, #f2a33a 22%, #58c46b 33%, #3fb6d6 56%, #3e63dd 100%);
}

.cad-legend-scale {
  position: relative;
  height: 1rem;
  margin-top: 0.2rem;
  font-size: 0.6rem;
  color: var(--cad-dim);
  font-variant-numeric: tabular-nums;
}

.cad-legend-scale span {
  position: absolute;
  transform: translateX(-50%);
}

.cad-legend-scale span:nth-child(1) { left: 0; transform: none; }
.cad-legend-scale span:nth-child(2) { left: 22%; }
.cad-legend-scale span:nth-child(3) { left: 33%; }
.cad-legend-scale span:nth-child(4) { left: 56%; }
.cad-legend-scale span:nth-child(5) { right: 0; left: auto; transform: none; }

.cad-hint-drag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  text-align: center;
  font-size: 0.66rem;
  color: rgba(138, 146, 154, 0.85);
  pointer-events: none;
}

.cad-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  align-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
  color: var(--cad-dim);
}

.cad-fallback img {
  width: min(60%, 280px);
}

.cad.no-webgl .cad-fallback {
  display: grid;
}

.cad.no-webgl #cad-canvas,
.cad.no-webgl .cad-views,
.cad.no-webgl .cad-gizmo,
.cad.no-webgl .cad-hint-drag,
.cad.no-webgl .cad-ai {
  display: none;
}

.cad-props {
  display: grid;
  gap: 0.45rem;
}

.cad-props div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  min-height: 1.5rem;
}

.cad-props dt {
  color: var(--cad-dim);
}

.cad-props dd {
  color: var(--cad-text);
  text-align: right;
}

.cad-props--num dd {
  font-variant-numeric: tabular-nums;
}

.cad-props select {
  max-width: 9.5rem;
  min-height: 28px;
  padding: 0.2rem 1.4rem 0.2rem 0.5rem;
  border: 1px solid var(--cad-line);
  border-radius: 4px;
  background: var(--cad-panel-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238A929A' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 0.45rem center / 9px 6px;
  -webkit-appearance: none;
  appearance: none;
  color: var(--cad-text);
  font-size: 0.76rem;
  cursor: pointer;
}

.cad-thick.is-warn dd {
  color: #f2a33a;
}

.cad-flag {
  margin-top: 0.55rem;
  padding-left: 0.9rem;
  position: relative;
  font-size: 0.7rem;
  color: var(--cad-dim);
}

.cad-flag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #58c46b;
}

.cad:has(.cad-thick.is-warn) .cad-flag {
  color: #f2a33a;
}

.cad:has(.cad-thick.is-warn) .cad-flag::before {
  background: #f2a33a;
}

.cad-param + .cad-param {
  margin-top: 0.55rem;
}

.cad-param-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.cad-param-row label {
  color: var(--cad-text);
}

.cad-param-row output {
  color: var(--lime);
  font-variant-numeric: tabular-nums;
}

.cad-export {
  margin-top: auto;
  padding: 0.9rem;
}

.cad-export .btn {
  min-height: 42px;
  border-radius: 6px;
  font-size: 0.84rem;
}

.cad-export-note {
  margin-top: 0.55rem;
  color: var(--lime);
  font-size: 0.7rem;
  line-height: 1.45;
}

.cad[data-step="export"] .cad-export .btn {
  box-shadow: 0 0 0 3px rgba(183, 243, 74, 0.25);
}

.cad-statusbar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0.9rem;
  background: #0a1013;
  border-top: 1px solid var(--cad-line);
  color: var(--cad-dim);
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.cad-statusbar > span:first-child {
  color: var(--cad-text);
}

.cad figcaption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--quiet);
  max-width: 60rem;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 24px;
  background: transparent;
  margin: 0.1rem 0 0;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--lime) var(--fill, 50%), rgba(245, 244, 239, 0.16) var(--fill, 50%));
}

input[type="range"]::-moz-range-track {
  height: 3px;
  border-radius: 3px;
  background: rgba(245, 244, 239, 0.16);
  border: 0;
}

input[type="range"]::-moz-range-progress {
  height: 3px;
  background: var(--lime);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5.5px;
  border-radius: 50%;
  background: var(--ivory);
  border: 3px solid var(--lime);
}

input[type="range"]::-moz-range-thumb {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ivory);
  border: 3px solid var(--lime);
}

@media (max-width: 1180px) {
  .cad-body {
    grid-template-columns: minmax(0, 1fr) 260px;
  }

  .cad-left {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-top: 1px solid var(--cad-line);
  }

  .cad-left .cad-group {
    border-bottom: 0;
    border-right: 1px solid var(--cad-line);
  }

  .cad-step-info {
    margin-top: 0;
    border-right: 0 !important;
  }

  .cad-viewport {
    min-height: 560px;
  }
}

@media (max-width: 860px) {
  .cad-body {
    grid-template-columns: 1fr;
  }

  .cad-viewport {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .cad-right {
    border-left: 0;
    border-top: 1px solid var(--cad-line);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cad-right .cad-group:nth-child(odd) {
    border-right: 1px solid var(--cad-line);
  }

  .cad-export {
    grid-column: 1 / -1;
  }

  .cad-left {
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
  }

  .cad-step-info {
    grid-column: 1 / -1;
    border-top: 1px solid var(--cad-line);
  }

  .cad-menubar span:not(.cad-menubar-meta) {
    display: none;
  }

  .cad-stepbar {
    flex-wrap: wrap;
  }

  .cad-steps {
    width: 100%;
  }

  .cad-auto {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .cad-doc,
  .cad-menubar,
  .cad-hint-drag {
    display: none;
  }

  .cad-viewport {
    aspect-ratio: 4 / 5;
  }

  .cad-right,
  .cad-left {
    grid-template-columns: 1fr;
  }

  .cad-right .cad-group:nth-child(odd),
  .cad-left .cad-group {
    border-right: 0;
  }

  .cad-left .cad-group + .cad-group {
    border-top: 1px solid var(--cad-line);
  }

  .cad-legend {
    width: 170px;
    bottom: 0.75rem;
  }

  .cad-gizmo {
    bottom: 0.5rem;
    width: 60px;
    height: 60px;
  }

  .cad-statusbar span:nth-child(2) {
    display: none;
  }
}

/* ---------- Technology vision ---------- */

.tech {
  background:
    radial-gradient(ellipse 50% 60% at 50% 55%, rgba(183, 243, 74, 0.06), transparent 70%),
    var(--charcoal);
}

.pipeline {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding-bottom: 4.5rem;
}

.pipe-io {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0.55rem;
  border: 1px dashed rgba(245, 244, 239, 0.25);
  border-radius: 99px;
  font-size: 0.78rem;
  color: var(--mist);
  white-space: nowrap;
}

.pipe-io span {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
}

.pipe-nodes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.pnode {
  position: relative;
  padding: 1.25rem 1.1rem 1.4rem;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(245, 244, 239, 0.04), rgba(245, 244, 239, 0.01));
  transition: border-color 0.4s ease, transform 0.5s var(--ease), background-color 0.4s ease;
}

.pnode:hover {
  border-color: rgba(183, 243, 74, 0.45);
  transform: translateY(-4px);
}

.pnode:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.85rem;
  width: 0.85rem;
  height: 1px;
  background: var(--lime);
  opacity: 0.6;
}

.pnode--core {
  border-color: rgba(183, 243, 74, 0.5);
  background:
    radial-gradient(circle at 50% 0%, rgba(183, 243, 74, 0.14), transparent 70%),
    rgba(245, 244, 239, 0.03);
}

.pnode-idx {
  display: block;
  font-family: var(--display);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--slate);
  margin-bottom: 1rem;
}

.pnode svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--ivory);
  margin-bottom: 1rem;
}

.pnode h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.pnode p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--slate);
}

.pipe-loop {
  position: absolute;
  left: 3.5rem;
  right: 3.5rem;
  bottom: 1rem;
  width: calc(100% - 7rem);
  height: 3.4rem;
}

.pipe-loop-label {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  padding: 0 0.75rem;
  background: var(--charcoal);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--mist);
  white-space: nowrap;
}

/* ---------- Why now ---------- */

.whynow {
  padding-bottom: 0;
}

.whynow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.whynow-head {
  position: sticky;
  top: calc(var(--header) + 2rem);
}

.whynow-head .lede {
  margin-top: 1.4rem;
}

.trends li {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line-strong);
}

.trends li:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.trend-num {
  font-family: var(--display);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--ink);
  transition: color 0.4s ease;
}

.trends li:hover .trend-num {
  color: var(--ink);
}

.trends h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.trends p {
  color: var(--quiet);
  max-width: 34rem;
}

.cinema {
  position: relative;
  margin: clamp(4.5rem, 9vw, 8rem) 0 0;
  background: var(--charcoal);
  overflow: hidden;
}

.cinema img {
  width: 100%;
  height: clamp(320px, 52vw, 720px);
  object-fit: cover;
  object-position: 55% 55%;
}

.cinema::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 30%;
  background: linear-gradient(to bottom, var(--ivory), transparent);
  opacity: 0.08;
  pointer-events: none;
}

.cinema figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  padding: 1.25rem max(1.25rem, calc((100% - var(--max)) / 2));
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}

/* ---------- Origin ---------- */

.origin-head {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}

.portrait {
  margin: 0;
  position: sticky;
  top: calc(var(--header) + 2rem);
}

.portrait img {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  filter: grayscale(1) contrast(1.05);
  box-shadow: 0 40px 80px -40px rgba(11, 17, 20, 0.35);
}

.portrait figcaption {
  margin-top: 0.9rem;
  color: var(--quiet);
  font-size: 0.76rem;
  line-height: 1.5;
}

.portrait a {
  text-underline-offset: 0.15em;
}

.years {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.45rem;
  font-family: var(--display);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.origin-copy > p {
  color: var(--quiet);
  max-width: 38rem;
}

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

.origin-copy .lead {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  color: var(--ink);
}

.dropcap::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.6em;
  line-height: 0.82;
  margin: 0.06em 0.12em 0 0;
  color: var(--ink);
}

cite {
  font-style: italic;
  color: var(--ink);
}

.origin-statement {
  margin: 2.5rem 0;
  padding: 2rem 0 2rem 1.75rem;
  border-left: 2px solid var(--lime);
}

.origin-statement p {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
  max-width: 22ch;
}

.eras {
  display: grid;
  grid-template-columns: auto minmax(2rem, 1fr) auto;
  align-items: end;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line-strong);
}

.era {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.era-year {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.era-label {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--quiet);
}

.era--now {
  position: relative;
  align-items: flex-end;
  text-align: right;
}

.era--now img {
  width: 7rem;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 18px 20px rgba(11, 17, 20, 0.25));
}

.era-line {
  height: 1px;
  margin-bottom: 1.6rem;
  background: linear-gradient(90deg, var(--ink), var(--lime));
}

/* ---------- Roadmap ---------- */

.roadmap {
  overflow: clip;
}

.timeline {
  position: relative;
  --progress: 0;
}

.timeline-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1px;
  background: var(--line-light);
}

.timeline ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.phase {
  position: relative;
  padding: 2.5rem 1.5rem 0 0;
}

.phase-tag {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.phase.is-current .phase-tag {
  color: var(--lime);
}

.phase.is-current .phase-node {
  background: var(--lime);
  border-color: var(--lime);
}

.phase.is-current .phase-node::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(183, 243, 74, 0.5);
  animation: ring 2.4s ease-out infinite;
}

@keyframes ring {
  from {
    transform: scale(0.6);
    opacity: 1;
  }
  to {
    transform: scale(1.8);
    opacity: 0;
  }
}

.phase h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.phase p {
  color: var(--slate);
  font-size: 0.95rem;
  max-width: 18rem;
}

/* ---------- Investment ---------- */

.thesis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.thesis-item {
  padding: 2rem 1.75rem 2.25rem 0;
}

.thesis-item + .thesis-item {
  padding-left: 1.75rem;
  border-left: 1px solid var(--line);
}

.thesis-num {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 2.5rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.9rem;
}

.thesis-item h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.thesis-item p {
  color: var(--quiet);
  font-size: 0.95rem;
}

.tick-list {
  margin-top: 0.6rem;
  display: grid;
  gap: 0.3rem;
}

.tick-list li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.92rem;
}

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 5px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}

.building {
  margin: clamp(4rem, 8vw, 6.5rem) 0;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.building-statement {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  max-width: 24ch;
  text-wrap: balance;
}

.building-statement em {
  background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 92%, transparent 92%);
  padding: 0 0.05em;
}

.invest-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.75rem);
  border-radius: 10px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 50% 90% at 100% 50%, rgba(183, 243, 74, 0.14), transparent 70%),
    linear-gradient(rgba(245, 244, 239, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(245, 244, 239, 0.035) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--charcoal);
}

.invest-cta h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 0.9rem;
}

.invest-cta p {
  color: var(--mist);
  max-width: 32rem;
}

.invest-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.invest-cta-art {
  position: absolute;
  z-index: -1;
  right: -4%;
  bottom: -30%;
  width: 34%;
  opacity: 0.25;
  transform: rotate(-10deg);
  pointer-events: none;
}

/* ---------- Finale & contact ---------- */

.finale {
  overflow: clip;
  isolation: isolate;
  padding-top: clamp(4rem, 8vw, 6rem);
}

.finale-glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: 90vmax;
  height: 90vmax;
  transform: translate(-50%, -45%);
  background: radial-gradient(circle, rgba(183, 243, 74, 0.12), transparent 55%);
  pointer-events: none;
}

.finale-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.finale-visual {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: -1.5rem;
}

.finale-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.finale-visual img {
  position: relative;
  width: 72%;
  filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.6));
  animation: float 8s var(--ease-io) infinite alternate;
}

.display--finale {
  font-size: clamp(2.6rem, 6.4vw, 6rem);
  max-width: 14ch;
  margin-bottom: 1.25rem;
}

.finale .lede {
  margin-inline: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: clamp(5rem, 10vw, 8rem);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line-light);
}

.contact-intro h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--white);
}

.contact-intro p {
  color: var(--slate);
  max-width: 26rem;
}

.contact-direct {
  margin-top: 1.5rem;
  font-size: 0.92rem;
}

.contact-direct a {
  color: var(--lime);
  text-underline-offset: 0.2em;
}

.form-note,
.optional {
  color: var(--slate);
  font-size: 0.78rem;
  line-height: 1.45;
}

.form-note {
  margin-bottom: 1.25rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 244, 239, 0.25);
  border-radius: 0;
  padding: 0.75rem 0;
  transition: border-color 0.2s ease;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%238A929A' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
  background-size: 12px 8px;
  padding-right: 1.5rem;
  cursor: pointer;
}

.field select option {
  background: var(--charcoal);
  color: var(--ivory);
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-bottom-color: rgba(245, 244, 239, 0.45);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-bottom-color: var(--lime);
}

.field-error {
  margin-top: 0.35rem;
  color: #f0c7bc;
  font-size: 0.82rem;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-bottom-color: #f0c7bc;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#contact-form .btn {
  margin-top: 0.5rem;
}

.form-success {
  border-top: 1px solid var(--lime);
  padding-top: 1.25rem;
  max-width: 36rem;
}

.form-success h3 {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.form-success p {
  color: var(--mist);
  margin-bottom: 1.25rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line-light);
  background: var(--charcoal);
  color: var(--ivory);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
}

.footer-tag {
  margin-top: 1.25rem;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--slate);
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0.7rem 2.5rem;
}

.footer-nav a,
.legal a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.legal a:hover {
  color: var(--ivory);
}

.legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-light);
  color: var(--slate);
  font-size: 0.82rem;
}

.legal ul {
  display: flex;
  gap: 1.5rem;
}

.legal a {
  font-size: 0.82rem;
}

/* ---------- Plain pages ---------- */

.page-plain {
  background: var(--ivory);
  color: var(--ink);
}

.page-plain main {
  padding: calc(var(--header) + 3.5rem) 0 4rem;
  min-height: calc(100dvh - 8rem);
}

.page-plain .eyebrow {
  color: var(--quiet);
}

.page-plain .eyebrow-mark {
  background: var(--ink);
}

.policy code {
  font-family: var(--sans);
  font-size: 0.92em;
}

.policy {
  max-width: 40rem;
}

.policy h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0.4rem 0 1.25rem;
}

.policy h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  margin: 2rem 0 0.6rem;
}

.policy p + p {
  margin-top: 1rem;
}

.policy p,
.policy li {
  color: var(--quiet);
}

.policy .text-link {
  margin-top: 2rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .site-nav ul {
    gap: 1.2rem;
  }

  .process-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 3rem;
  }

  .process-track {
    display: none;
  }

  .pipe-nodes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pnode:nth-child(3)::after {
    display: none;
  }

  .pipe-loop,
  .pipe-loop-label {
    display: none;
  }

  .pipeline {
    padding-bottom: 0;
  }

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

  .thesis-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

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

@media (max-width: 980px) {
  .split-head,
  .hero-layout,
  .idea-grid,
  .whynow-grid,
  .origin-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    max-width: 520px;
    order: -1;
    margin-top: -1rem;
    margin-bottom: -2rem;
  }

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

  .pcard,
  .pcard--wide {
    grid-column: span 1;
  }

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

  .pipe-io {
    writing-mode: horizontal-tb;
    transform: none;
    justify-self: start;
    padding: 0.5rem 1rem;
  }

  .whynow-head,
  .portrait {
    position: static;
  }

  .portrait {
    max-width: 22rem;
  }

  .timeline ol {
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }

  .timeline-track {
    display: none;
  }

  .invest-cta {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header);
    padding-block: 0.7rem;
  }

  .site-header {
    height: auto;
  }

  .nav-toggle {
    display: inline-grid;
  }

  .site-nav {
    flex-basis: 100%;
    order: 4;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.4rem 0 1rem;
  }

  .site-nav a {
    font-family: var(--display);
    font-size: 1.9rem;
    letter-spacing: -0.03em;
    color: var(--ivory);
    padding: 0.3rem 0;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-foot {
    display: block;
    padding-bottom: 1rem;
  }

  .header-cta {
    display: none;
  }

  .js .site-header {
    height: var(--header);
  }

  .js .header-inner {
    flex-wrap: nowrap;
    height: 100%;
    padding-block: 0;
  }

  .js .site-nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    flex-basis: auto;
    order: 0;
    background: var(--charcoal);
    padding: 1.5rem 1.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .js .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  body.nav-open .site-header {
    background: var(--charcoal);
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 2rem, var(--max));
  }

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

  .hero-foot > span:last-child {
    display: none;
  }

  .scroll-cue {
    justify-self: end;
  }

  .idea-pillars {
    grid-template-columns: 1fr;
  }

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

  .pcard {
    min-height: 0;
  }

  .process-steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .pstep {
    padding: 0 0 2.5rem 2.25rem;
    border-left: 1px solid var(--line-light);
    margin-left: 7px;
  }

  .pstep:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
  }

  .pstep-node {
    left: -8px;
  }

  .transform-row {
    grid-template-columns: 1fr;
  }

  .transform-arrow {
    transform: rotate(90deg);
    justify-self: center;
    width: 40px;
  }

  .transform-item img {
    width: 160px;
  }

  .pipe-nodes {
    grid-template-columns: 1fr;
  }

  .pnode::after {
    display: none;
  }

  .trends li {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .trend-num {
    font-size: 1.6rem;
  }

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

  .era-line {
    display: none;
  }

  .era--now {
    align-items: flex-start;
    text-align: left;
  }

  .timeline ol {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  .phase {
    padding: 0 0 2.5rem 2.25rem;
    border-left: 1px solid var(--line-light);
    margin-left: 7px;
  }

  .phase:last-child {
    border-left-color: transparent;
    padding-bottom: 0;
  }

  .phase-node {
    left: -8px;
  }

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

  .thesis-item,
  .thesis-item + .thesis-item {
    padding: 1.75rem 0;
    border-left: 0;
  }

  .thesis-item + .thesis-item {
    border-top: 1px solid var(--line);
  }

  .thesis-num {
    margin-bottom: 1.25rem;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-nav ul {
    grid-template-columns: repeat(2, auto);
    justify-content: start;
  }

  .logo-descriptor {
    display: none;
  }

  .footer-brand .logo-descriptor {
    display: block;
  }

  .cinema figcaption {
    padding-inline: 1rem;
  }
}

@media (max-width: 420px) {
  .actions .btn,
  .nav-foot .btn,
  .invest-cta .btn,
  #contact-form .btn {
    width: 100%;
  }

  .hero-descriptors {
    flex-direction: column;
  }
}

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

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

  .js .reveal,
  .js .hero-in {
    opacity: 1;
    transform: none;
  }

  .crown-form {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}

@media (forced-colors: active) {
  .btn-primary,
  .btn-ghost,
  .cad-steps [aria-current="step"],
  .cad-views [aria-pressed="true"] {
    border: 1px solid ButtonText;
  }
}
