:root {
  --ink: #061421;
  --ink-2: #0a1b2a;
  --paper: #f3f1ea;
  --paper-2: #e8e5dc;
  --lime: #dfff14;
  --lime-soft: #d6f61f;
  --black: #06080a;
  --line-dark: rgba(243, 241, 234, 0.25);
  --line-light: rgba(6, 20, 33, 0.25);
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 4.75rem);
  --header-height: 5.5rem;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

body.dialog-open {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

:where(a, button, input, select, dialog):focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--lime);
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  min-height: var(--header-height);
  padding: 0 var(--gutter);
  color: var(--paper);
  border-bottom: 1px solid rgba(223, 255, 20, 0.45);
  background: rgba(6, 20, 33, 0.22);
  backdrop-filter: blur(14px);
  transition: min-height 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  min-height: 4.35rem;
  background: rgba(6, 20, 33, 0.94);
}

.site-header::after {
  position: absolute;
  right: var(--gutter);
  bottom: -3px;
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: var(--lime);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  width: max-content;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
}

.wordmark span:last-of-type {
  color: var(--lime);
}

.wordmark b {
  color: var(--paper);
}

.primary-nav {
  display: flex;
  justify-self: center;
  gap: clamp(1.7rem, 3vw, 3.5rem);
  font-size: 0.86rem;
  font-weight: 600;
}

.primary-nav a {
  position: relative;
  padding: 0.5rem 0;
}

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

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-cta span {
  color: var(--lime);
  font-size: 1.1rem;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-height) + 1.5rem) var(--gutter) 1.5rem;
  overflow: hidden;
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 46%, rgba(223, 255, 20, 0.04), transparent 24rem),
    var(--ink);
}

.hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent 20%, black 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(32rem, 1.12fr);
  align-items: center;
  gap: 2vw;
  max-width: 100rem;
  min-height: calc(100svh - var(--header-height) - 3rem);
  margin: 0 auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 1rem;
}

.mobile-mascot {
  display: none;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.35rem;
  color: var(--lime);
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-brand::after {
  display: block;
  width: min(12vw, 10rem);
  height: 1px;
  content: "";
  background: var(--lime);
}

.hero-brand span {
  color: var(--paper);
  font-family: var(--body);
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.7rem, 7.45vw, 9.2rem);
  font-weight: 800;
  line-height: 0.77;
  text-transform: uppercase;
  letter-spacing: -0.045em;
}

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

.hero-summary {
  max-width: 34rem;
  margin: clamp(1.8rem, 4vh, 3.25rem) 0 0;
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.55;
}

.hero-summary::before {
  display: block;
  width: 4rem;
  height: 4px;
  margin-bottom: 1.25rem;
  content: "";
  background: var(--lime);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-width: 15rem;
  min-height: 3.8rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
  clip-path: polygon(0 0, calc(100% - 0.8rem) 0, 100% 0.8rem, 100% 100%, 0 100%);
}

.button svg {
  width: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  transition: transform 180ms ease;
}

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

.button:hover svg,
.button:focus-visible svg {
  transform: translateX(5px);
}

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

.button--lime:hover,
.button--lime:focus-visible {
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--lime);
  font-size: 0.88rem;
  font-weight: 700;
}

.text-link span {
  color: var(--lime);
  font-size: 1.05rem;
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translate(3px, 3px);
}

.hero-visual {
  position: relative;
  min-height: min(62vw, calc(100svh - var(--header-height) - 3rem), 46rem);
}

.mascot-frame {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(24vw, 24rem);
  min-width: 17rem;
  aspect-ratio: 0.69;
  overflow: hidden;
  border: 1px solid rgba(223, 255, 20, 0.6);
  background: #bda998;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -48%);
  clip-path: polygon(0 0, calc(100% - 2.5rem) 0, 100% 2.5rem, 100% 100%, 0 100%);
}

.mascot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.03);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.mascot-frame::after {
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  pointer-events: none;
  content: "";
  background: linear-gradient(transparent, rgba(6, 20, 33, 0.88));
}

.mascot-label {
  position: absolute;
  z-index: 2;
  right: 1.15rem;
  bottom: 1rem;
  left: 1.15rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--paper);
  text-transform: uppercase;
}

.mascot-label span {
  color: var(--lime);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.mascot-label strong {
  font-family: var(--display);
  font-size: 2.2rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.orbit {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(243, 241, 234, 0.26);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: orbitSpin 24s linear infinite;
}

.orbit::after {
  position: absolute;
  top: 50%;
  right: -3px;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: var(--lime);
}

.orbit--one {
  width: 74%;
  aspect-ratio: 1;
}

.orbit--two {
  width: 96%;
  aspect-ratio: 1;
  animation-direction: reverse;
  animation-duration: 31s;
}

.orbit--three {
  width: 116%;
  aspect-ratio: 1;
  border-style: dashed;
  animation-duration: 42s;
}

.system-node {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-width: 7rem;
  padding: 0.7rem 0.8rem;
  border-left: 1px solid var(--lime);
  color: var(--paper);
  background: rgba(6, 20, 33, 0.72);
  backdrop-filter: blur(7px);
}

.system-node::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 1.5rem;
  height: 1px;
  content: "";
  background: var(--lime);
}

.system-node span {
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
}

.system-node b {
  font-family: var(--display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.system-node--strategy {
  top: 15%;
  left: 3%;
}

.system-node--systems {
  top: 16%;
  right: -1%;
}

.system-node--sales {
  right: -3%;
  bottom: 16%;
}

.system-node--growth {
  bottom: 12%;
  left: 2%;
}

.visual-cross {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
}

.visual-cross::before,
.visual-cross::after {
  position: absolute;
  content: "";
  background: var(--lime);
}

.visual-cross::before {
  top: 50%;
  width: 100%;
  height: 1px;
}

.visual-cross::after {
  left: 50%;
  width: 1px;
  height: 100%;
}

.visual-cross--one {
  top: 32%;
  left: 10%;
}

.visual-cross--two {
  right: 9%;
  bottom: 35%;
}

.hero-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  max-width: 100rem;
  margin: 1rem auto 0;
  color: rgba(243, 241, 234, 0.68);
  font-size: 0.63rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-footer span {
  flex: 1;
  height: 1px;
  background: rgba(223, 255, 20, 0.38);
}

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

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

.demos,
.systems,
.work,
.decks,
.about {
  content-visibility: auto;
  contain-intrinsic-size: 1px 1000px;
}

.demos {
  padding: clamp(6rem, 9vw, 9rem) var(--gutter);
}

.demos-heading {
  display: grid;
  grid-template-columns: 1fr minmax(17rem, 28rem);
  align-items: end;
  gap: 3rem;
  max-width: 100rem;
  margin: 0 auto 5rem;
}

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

.demos-heading .section-title {
  font-size: clamp(4rem, 7vw, 8rem);
}

.demos-intro {
  margin: 0 0 0.75rem;
  font-size: 0.92rem;
}

.demo-workbench {
  max-width: 100rem;
  margin: 0 auto;
  border: 1px solid var(--ink);
  background: var(--paper);
  clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 2rem, 100% 100%, 0 100%);
}

.demo-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ink);
}

.demo-tabs button {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 4.4rem;
  padding: 0.8rem 1.25rem;
  border: 0;
  border-right: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.demo-tabs button:last-child {
  border-right: 0;
}

.demo-tabs button[aria-selected="true"] {
  color: var(--ink);
  background: var(--lime);
}

.demo-tabs button[tabindex="-1"] {
  opacity: 0.82;
}

.demo-tabs button span {
  font-family: var(--display);
  font-size: 1.5rem;
}

.demo-panel {
  display: grid;
  grid-template-columns: minmax(20rem, 0.68fr) minmax(0, 1.32fr);
  min-height: 35rem;
}

.demo-panel[hidden] {
  display: none;
}

.demo-panel:focus-visible {
  outline-offset: -1px;
}

.demo-input-side {
  display: flex;
  flex-direction: column;
  padding: clamp(2rem, 4vw, 4rem);
  border-right: 1px solid var(--ink);
}

.micro-label--dark {
  color: #708500;
}

.demo-input-side h3 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 4.5vw, 5rem);
  font-weight: 700;
  line-height: 0.86;
  text-transform: uppercase;
}

.demo-input-side > p:not(.micro-label) {
  max-width: 31rem;
  margin: 1.4rem 0 2.4rem;
  font-size: 0.85rem;
}

.demo-input-side label {
  margin: 1rem 0 0.45rem;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.demo-input-side input,
.demo-input-side select {
  width: 100%;
  min-height: 3.5rem;
  padding: 0 1rem;
  border: 1px solid rgba(6, 20, 33, 0.5);
  border-radius: 0;
  color: var(--ink);
  outline: none;
  background: transparent;
  font: 500 0.82rem var(--body);
}

.demo-input-side input:focus,
.demo-input-side select:focus {
  border-color: var(--ink);
  box-shadow: inset 4px 0 var(--lime);
}

.demo-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.demo-input-row .button {
  min-width: 10rem;
}

.demo-run {
  min-width: 0;
  margin-top: 1.5rem;
}

.demo-input-row .demo-run {
  margin-top: 0;
}

.demo-output {
  min-width: 0;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--paper);
  background:
    linear-gradient(rgba(243, 241, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 241, 234, 0.035) 1px, transparent 1px),
    var(--ink);
  background-size: 32px 32px;
}

.agent-status {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--lime);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.agent-status p {
  margin: 0;
}

.status-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(223, 255, 20, 0.5);
}

.agent-status.is-running .status-dot {
  animation: statusPulse 1.1s infinite;
}

.agent-steps {
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

.agent-steps li {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  align-items: center;
  min-height: 4rem;
  border-bottom: 1px solid var(--line-dark);
  opacity: 0.46;
  transition: opacity 220ms ease, color 220ms ease;
}

.agent-steps li.is-running,
.agent-steps li.is-done {
  opacity: 1;
}

.agent-steps li.is-running {
  color: var(--lime);
}

.agent-steps li > span {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
}

.agent-steps li p {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
}

.agent-steps li b {
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.agent-result {
  padding: 1.3rem;
  border: 1px solid var(--lime);
  background: rgba(223, 255, 20, 0.05);
}

.agent-result p,
.agent-result span {
  margin: 0;
  color: var(--lime);
  font-size: 0.56rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.agent-result strong {
  display: block;
  margin: 0.55rem 0 1rem;
  font-size: 0.88rem;
}

.email-toolbar {
  display: flex;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--lime);
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.email-toolbar button {
  padding: 0;
  border: 0;
  color: var(--lime);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.email-draft {
  max-width: 43rem;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  margin: 2rem auto 0;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.email-draft.is-generating {
  opacity: 0.4;
  transform: translateY(0.5rem);
}

.email-draft p {
  margin: 0 0 1rem;
  font-size: 0.78rem;
}

.email-draft p:first-child {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-light);
  font-weight: 800;
}

.trend-output {
  display: grid;
  grid-template-columns: minmax(15rem, 0.9fr) minmax(16rem, 1.1fr);
  align-items: center;
  gap: 2rem;
}

.radar-chart {
  position: relative;
  width: min(100%, 25rem);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid rgba(223, 255, 20, 0.35);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(223, 255, 20, 0.24) 50%, transparent 50.2%),
    linear-gradient(transparent 49.8%, rgba(223, 255, 20, 0.24) 50%, transparent 50.2%);
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(223, 255, 20, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring--one {
  width: 67%;
}

.radar-ring--two {
  width: 34%;
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 47%;
  height: 2px;
  background: linear-gradient(90deg, var(--lime), transparent);
  transform-origin: left center;
  animation: radarSweep 4s linear infinite;
}

.radar-chart i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 1.1rem rgba(223, 255, 20, 0.7);
}

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

.trend-list li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.8rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-dark);
  transition: opacity 180ms ease, transform 180ms ease;
}

.trend-list.is-refreshing li {
  opacity: 0;
  transform: translateX(1rem);
}

.trend-list li > span {
  color: var(--lime);
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
}

.trend-list strong {
  font-size: 0.75rem;
}

.trend-list p {
  margin: 0.2rem 0 0;
  color: rgba(243, 241, 234, 0.55);
  font-size: 0.6rem;
}

.systems {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 33vw);
  min-height: 62rem;
}

.systems-main {
  padding: clamp(6rem, 10vw, 10rem) clamp(2rem, 6vw, 7rem) 7rem var(--gutter);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.section-label span {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  font-size: 0.72rem;
}

.section-label p {
  margin: 0;
}

.section-label::after {
  width: 4rem;
  height: 1px;
  content: "";
  background: var(--lime);
}

.section-label--dark {
  color: var(--paper);
}

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 7.2vw, 8rem);
  font-weight: 700;
  line-height: 0.83;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.section-title--light {
  color: var(--paper);
}

.capability-list {
  margin-top: clamp(4rem, 7vw, 7rem);
  border-top: 1px solid var(--line-light);
}

.capability {
  display: grid;
  grid-template-columns: 7rem minmax(15rem, 1fr) minmax(10rem, 15rem);
  align-items: center;
  gap: 2rem;
  min-height: 9.5rem;
  border-bottom: 1px solid var(--line-light);
}

.capability-number {
  font-family: var(--display);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
}

.capability h3 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: 2rem;
  line-height: 1;
  text-transform: uppercase;
}

.capability p {
  max-width: 31rem;
  margin: 0;
  font-size: 0.94rem;
}

.capability-note {
  position: relative;
  padding-left: 2.4rem;
  color: #87a000;
  font-size: 0.66rem !important;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.capability-note::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 1.8rem;
  height: 1px;
  content: "";
  background: var(--lime-soft);
}

.process-panel {
  position: relative;
  padding: clamp(6rem, 10vw, 10rem) clamp(2rem, 4vw, 4rem) 5rem;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  clip-path: polygon(0 0, calc(100% - 3rem) 0, 100% 3rem, 100% 100%, 0 100%);
}

.process-panel::after {
  position: absolute;
  top: 10rem;
  right: 2rem;
  bottom: 7rem;
  width: 1px;
  content: "";
  background: linear-gradient(var(--lime), rgba(223, 255, 20, 0));
}

.process-list {
  padding: 0;
  margin: 4.5rem 0 0;
  list-style: none;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 1.2rem;
  min-height: 10rem;
}

.process-list li:not(:last-child)::after {
  position: absolute;
  top: 3.8rem;
  bottom: 1rem;
  left: 1.15rem;
  width: 1px;
  content: "";
  background: rgba(243, 241, 234, 0.6);
}

.process-list li::before {
  position: absolute;
  z-index: 1;
  top: 3.25rem;
  left: 0.8rem;
  width: 0.75rem;
  height: 0.75rem;
  content: "";
  border: 1px solid var(--paper);
  border-radius: 50%;
  background: var(--ink);
}

.process-list li:first-child::before {
  border-color: var(--lime);
  background: var(--lime);
}

.process-list li > span {
  color: var(--paper);
  font-family: var(--display);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 0.9;
}

.process-list li:first-child > span {
  color: var(--lime);
}

.process-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 2.3rem;
  line-height: 1;
  text-transform: uppercase;
}

.process-list p {
  max-width: 18rem;
  margin: 0.9rem 0 0;
  color: rgba(243, 241, 234, 0.7);
  font-size: 0.8rem;
}

.process-direction {
  position: absolute;
  right: -5.5rem;
  bottom: 12rem;
  margin: 0;
  color: var(--lime);
  font-family: var(--display);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  transform: rotate(90deg);
}

.work {
  padding: clamp(6rem, 9vw, 9rem) var(--gutter) 4rem;
  background:
    radial-gradient(circle at 72% 36%, rgba(223, 255, 20, 0.05), transparent 24rem),
    var(--ink);
}

.work-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  max-width: 100rem;
  margin: 0 auto 5rem;
}

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

.work-heading .section-title {
  font-size: clamp(4.2rem, 7.5vw, 8.5rem);
}

.work-heading .text-link {
  margin-bottom: 0.75rem;
}

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

.featured-work {
  display: grid;
  grid-template-columns: minmax(19rem, 0.62fr) minmax(0, 1.38fr);
  gap: 4vw;
  max-width: 100rem;
  padding: 3rem 0 4.5rem;
  margin: 0 auto;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.micro-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  color: var(--lime);
  font-family: var(--display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.micro-label::after {
  width: 5rem;
  height: 1px;
  content: "";
  background: var(--lime);
}

.featured-copy h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 5.3vw, 6.4rem);
  font-weight: 700;
  line-height: 0.8;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

.featured-copy > p:not(.micro-label) {
  max-width: 30rem;
  margin: 2rem 0 2.4rem;
  color: rgba(243, 241, 234, 0.75);
}

.featured-copy dl {
  margin: 0;
}

.featured-copy dl div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line-dark);
}

.featured-copy dt {
  color: var(--lime);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.featured-copy dd {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.system-map {
  position: relative;
  display: grid;
  grid-template-columns: minmax(7rem, 0.8fr) minmax(19rem, 1.6fr) minmax(8rem, 0.9fr);
  align-items: center;
  gap: 1.2rem;
  min-height: 32rem;
  padding: 3rem 2.2rem;
  border: 1px solid rgba(243, 241, 234, 0.35);
  background-image: radial-gradient(rgba(243, 241, 234, 0.12) 0.7px, transparent 0.7px);
  background-size: 8px 8px;
  clip-path: polygon(2rem 0, 100% 0, 100% calc(100% - 2rem), calc(100% - 2rem) 100%, 0 100%, 0 2rem);
}

.map-column {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.map-column p {
  margin: 0 0 0.5rem;
  color: rgba(243, 241, 234, 0.5);
  font-size: 0.58rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.map-column span,
.engine-feature {
  display: grid;
  min-height: 3.5rem;
  padding: 0.75rem;
  place-items: center;
  border: 1px solid rgba(243, 241, 234, 0.35);
  color: rgba(243, 241, 234, 0.83);
  background: rgba(6, 20, 33, 0.75);
  font-size: 0.6rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.map-engine {
  position: relative;
  min-height: 21rem;
  border: 1px solid var(--lime);
  background: rgba(223, 255, 20, 0.02);
  clip-path: polygon(1.2rem 0, calc(100% - 1.2rem) 0, 100% 1.2rem, 100% calc(100% - 1.2rem), calc(100% - 1.2rem) 100%, 1.2rem 100%, 0 calc(100% - 1.2rem), 0 1.2rem);
}

.engine-core {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 9rem;
  height: 7rem;
  border: 2px solid var(--lime);
  color: var(--lime);
  text-align: center;
  background: var(--ink);
  transform: translate(-50%, -50%);
  clip-path: polygon(24% 0, 76% 0, 100% 50%, 76% 100%, 24% 100%, 0 50%);
}

.engine-core span {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.engine-core strong {
  max-width: 6rem;
  margin: 0.35rem auto 0;
  font-family: var(--display);
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.engine-feature {
  position: absolute;
  width: 8rem;
}

.engine-feature--one {
  top: 1.2rem;
  left: 1.2rem;
}

.engine-feature--two {
  top: 1.2rem;
  right: 1.2rem;
}

.engine-feature--three {
  bottom: 1.2rem;
  left: 1.2rem;
}

.engine-feature--four {
  right: 1.2rem;
  bottom: 1.2rem;
}

.decks {
  padding: clamp(5rem, 8vw, 8rem) var(--gutter) clamp(7rem, 10vw, 11rem);
}

.decks-header {
  display: grid;
  grid-template-columns: 1fr minmax(17rem, 30rem);
  align-items: end;
  gap: 4rem;
  max-width: 100rem;
  margin: 0 auto 5rem;
}

.decks-header .section-title {
  font-size: clamp(4rem, 6.7vw, 7.7rem);
}

.decks-intro {
  margin: 0 0 0.8rem;
  color: rgba(243, 241, 234, 0.72);
  font-size: 0.94rem;
}

.deck-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 3vw, 3rem);
  max-width: 100rem;
  margin: 0 auto;
}

.deck-item:nth-child(1) {
  transform: rotate(-1.8deg);
}

.deck-item:nth-child(2) {
  transform: translateY(1.25rem) rotate(0.8deg);
}

.deck-item:nth-child(3) {
  transform: rotate(-1.1deg);
}

.deck-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 1.32;
  padding: clamp(1.3rem, 2.5vw, 2.3rem);
  overflow: hidden;
  border: 1px solid rgba(243, 241, 234, 0.45);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.24);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms ease;
}

.deck-item:hover .deck-cover,
.deck-cover:focus-visible {
  z-index: 2;
  box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, 0.4);
  transform: translateY(-0.75rem) rotate(0.8deg);
}

.deck-cover--navy {
  color: var(--paper);
  background: #071827;
}

.deck-cover--light {
  color: var(--black);
  background: var(--paper);
}

.deck-cover--black {
  color: var(--paper);
  background: #080a0b;
}

.deck-index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.deck-mark {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  margin-bottom: auto;
  place-items: center;
  color: var(--ink);
  background: var(--lime);
  font-family: var(--display);
  font-weight: 900;
}

.deck-cover h3 {
  position: relative;
  z-index: 2;
  margin: 1.5rem 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4.8rem);
  font-weight: 700;
  line-height: 0.82;
  text-transform: uppercase;
  letter-spacing: -0.035em;
}

.deck-cover p {
  position: relative;
  z-index: 2;
  max-width: 15rem;
  margin: 0;
  font-size: clamp(0.58rem, 0.8vw, 0.72rem);
}

.deck-author {
  position: relative;
  z-index: 2;
  margin-top: 1.5rem;
  color: var(--lime);
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.deck-radar {
  position: absolute;
  top: 20%;
  right: -12%;
  width: 64%;
  aspect-ratio: 1;
  border: 1px solid rgba(223, 255, 20, 0.25);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 19%, rgba(223, 255, 20, 0.2) 20%, transparent 21%, transparent 39%, rgba(223, 255, 20, 0.18) 40%, transparent 41%, transparent 59%, rgba(223, 255, 20, 0.16) 60%, transparent 61%),
    linear-gradient(90deg, transparent 49.7%, rgba(223, 255, 20, 0.25) 50%, transparent 50.3%),
    linear-gradient(transparent 49.7%, rgba(223, 255, 20, 0.25) 50%, transparent 50.3%);
}

.deck-radar::after {
  position: absolute;
  top: 49%;
  left: 49%;
  width: 0.6rem;
  height: 0.6rem;
  content: "";
  border-radius: 50%;
  background: var(--lime);
}

.deck-radar--offset {
  top: 27%;
  right: -5%;
  opacity: 0.8;
}

.deck-growth-line {
  position: absolute;
  right: 8%;
  bottom: 16%;
  width: 37%;
  height: 2px;
  background: var(--lime);
  transform: rotate(-24deg);
}

.deck-growth-line::before,
.deck-growth-line::after {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  content: "";
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.deck-growth-line::before {
  top: -0.75rem;
  left: 0;
}

.deck-growth-line::after {
  top: -0.75rem;
  right: 0;
  background: var(--lime);
}

.deck-preview {
  display: inline-flex;
  gap: 0.65rem;
  padding: 1rem 0 0.25rem;
  border: 0;
  border-bottom: 1px solid var(--lime);
  color: var(--lime);
  background: transparent;
  font-size: 0.82rem;
  cursor: pointer;
}

.deck-preview span {
  transition: transform 180ms ease;
}

.deck-preview:hover span,
.deck-preview:focus-visible span {
  transform: translate(3px, -3px);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 0.8fr);
  gap: clamp(3rem, 7vw, 8rem);
  padding: clamp(6rem, 10vw, 10rem) var(--gutter);
}

.about-copy {
  max-width: 52rem;
}

.about-lead {
  max-width: 44rem;
  padding-top: 2rem;
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--line-light);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
}

.availability {
  display: grid;
  grid-template-columns: 3rem 1fr;
  align-items: center;
  max-width: 42rem;
  margin: 3rem 0 0;
  font-size: 0.86rem;
  font-weight: 700;
}

.availability span {
  font-size: 2rem;
}

.about-visual {
  align-self: center;
}

.about-image {
  height: clamp(26rem, 47vw, 42rem);
  overflow: hidden;
  background: #bda998;
  clip-path: polygon(0 0, calc(100% - 3rem) 0, 100% 3rem, 100% 100%, 0 100%);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8);
}

.about-caption {
  padding: 1.4rem 0 0;
  border-top: 4px solid var(--lime);
}

.about-caption p {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.about-caption p span {
  color: #789000;
  font-weight: 800;
}

.about-caption strong {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  text-transform: uppercase;
}

.origin-note {
  max-width: 31rem;
  margin-top: 1rem !important;
  color: rgba(6, 20, 33, 0.62);
  font-family: var(--body);
  font-size: 0.65rem !important;
  line-height: 1.5;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.contact {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4rem;
  padding: clamp(4rem, 7vw, 7rem) var(--gutter);
  color: var(--ink);
  background: var(--lime);
}

.contact-copy > p {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 7.5vw, 8.4rem);
  font-weight: 700;
  line-height: 0.82;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 19rem;
}

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

.button--navy:hover,
.button--navy:focus-visible {
  color: var(--ink);
  background: var(--paper);
}

.button--outline-dark {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button--outline-dark:hover,
.button--outline-dark:focus-visible {
  color: var(--paper);
  background: var(--ink);
}

.button:disabled,
.demo-tabs button:disabled,
.dialog-controls button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 3rem;
  padding: 2.5rem var(--gutter);
  color: var(--paper);
  background: var(--ink);
}

.wordmark--footer {
  font-size: 2.4rem;
}

.site-footer p {
  margin: 0;
  color: rgba(243, 241, 234, 0.64);
  font-size: 0.68rem;
}

.site-footer > div > p {
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.deck-dialog {
  width: min(90vw, 80rem);
  max-width: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(223, 255, 20, 0.65);
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 3rem 9rem rgba(0, 0, 0, 0.7);
}

.deck-dialog::backdrop {
  background: rgba(1, 7, 12, 0.86);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 0.6rem;
  right: 1rem;
  border: 0;
  color: var(--paper);
  background: transparent;
  font-family: var(--display);
  font-size: 2.3rem;
  cursor: pointer;
}

.dialog-topline {
  display: flex;
  justify-content: space-between;
  padding: 1.4rem 4rem 1.2rem 2rem;
  border-bottom: 1px solid var(--line-dark);
  color: var(--lime);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.dialog-topline p {
  margin: 0;
}

.slide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  min-height: min(62vh, 38rem);
}

.slide-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.slide-kicker {
  margin: 0 0 1.2rem;
  color: var(--lime);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.slide-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.8rem, 7vw, 7rem);
  font-weight: 700;
  line-height: 0.8;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.slide-copy > p:not(.slide-kicker) {
  max-width: 38rem;
  margin: 1.6rem 0 0;
  color: rgba(243, 241, 234, 0.72);
}

.slide-copy ul {
  display: grid;
  gap: 0.7rem;
  padding: 1.6rem 0 0;
  margin: 1.6rem 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.slide-copy li {
  display: flex;
  gap: 0.8rem;
  font-size: 0.8rem;
}

.slide-copy li::before {
  color: var(--lime);
  content: "↗";
}

.slide-visual {
  position: relative;
  min-height: 26rem;
  overflow: hidden;
  border-left: 1px solid var(--line-dark);
  background:
    radial-gradient(circle at center, rgba(223, 255, 20, 0.13), transparent 36%),
    linear-gradient(rgba(243, 241, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 241, 234, 0.035) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
}

.slide-visual::before,
.slide-visual::after {
  position: absolute;
  top: 50%;
  left: 50%;
  content: "";
  border: 1px solid var(--lime);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.slide-visual::before {
  width: 62%;
  aspect-ratio: 1;
}

.slide-visual::after {
  width: 35%;
  aspect-ratio: 1;
  border-style: dashed;
}

.slide-visual[data-visual="funnel"]::before {
  width: 62%;
  height: 65%;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 68% 100%, 32% 100%);
}

.slide-visual[data-visual="growth"]::before {
  width: 65%;
  height: 2px;
  border: 0;
  border-radius: 0;
  background: var(--lime);
  transform: translate(-50%, -50%) rotate(-30deg);
}

.slide-visual[data-visual="network"]::before {
  width: 55%;
  border-radius: 0;
  transform: translate(-50%, -50%) rotate(45deg);
}

.slide-visual[data-visual="cadence"]::before {
  width: 62%;
  height: 42%;
  border-radius: 0;
  background: repeating-linear-gradient(90deg, transparent 0 24%, rgba(223, 255, 20, 0.16) 24% 25%);
}

.slide-visual[data-visual="roadmap"]::before {
  width: 70%;
  height: 1px;
  border: 0;
  border-radius: 0;
  background: var(--lime);
}

.dialog-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border-top: 1px solid var(--line-dark);
}

.dialog-controls button {
  border: 0;
  color: var(--paper);
  background: transparent;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.dialog-controls button:hover,
.dialog-controls button:focus-visible {
  color: var(--lime);
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.slide-dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 1px solid var(--lime);
  border-radius: 50%;
}

.slide-dots button.is-active {
  background: var(--lime);
}

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

@keyframes statusPulse {
  70% {
    box-shadow: 0 0 0 0.65rem rgba(223, 255, 20, 0);
  }
}

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

@media (max-width: 1180px) {
  .header-cta {
    display: none;
  }

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

  .primary-nav {
    justify-self: end;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(27rem, 1.1fr);
  }

  .hero h1 {
    font-size: clamp(4.2rem, 7.6vw, 7rem);
  }

  .system-node--systems,
  .system-node--sales {
    right: 0;
  }

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

  .capability-note {
    display: none;
  }

  .system-map {
    grid-template-columns: 0.7fr 1.7fr 0.8fr;
    padding: 2rem 1.25rem;
  }

  .engine-feature {
    width: 6.7rem;
    font-size: 0.52rem;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 4.7rem;
  }

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

  .menu-toggle {
    position: relative;
    z-index: 102;
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0;
    place-content: center;
    gap: 0.4rem;
    border: 0;
    color: var(--paper);
    background: transparent;
  }

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

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

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

  .primary-nav {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    padding: var(--gutter);
    visibility: hidden;
    opacity: 0;
    background: var(--ink);
    transform: translateY(-1rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

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

  .primary-nav a {
    font-family: var(--display);
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 3rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
  }

  .hero h1 {
    max-width: 9.5ch;
    font-size: clamp(4.3rem, 14.5vw, 8rem);
  }

  .hero-summary {
    max-width: 31rem;
  }

  .hero-visual {
    min-height: min(115vw, 43rem);
  }

  .mascot-frame {
    width: min(54vw, 24rem);
  }

  .system-node--strategy,
  .system-node--growth {
    left: 7%;
  }

  .system-node--systems,
  .system-node--sales {
    right: 7%;
  }

  .hero-footer {
    margin-top: 2rem;
  }

  .systems {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .demos-heading {
    grid-template-columns: 1fr;
  }

  .demo-panel {
    grid-template-columns: 1fr;
  }

  .demo-input-side {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .systems-main {
    padding-right: var(--gutter);
  }

  .process-panel {
    padding-right: var(--gutter);
    padding-left: var(--gutter);
    clip-path: polygon(0 0, calc(100% - 2rem) 0, 100% 2rem, 100% 100%, 0 100%);
  }

  .process-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 2rem;
  }

  .process-list li {
    min-height: 8rem;
  }

  .process-list li::after,
  .process-list li::before,
  .process-direction,
  .process-panel::after {
    display: none;
  }

  .work-heading,
  .decks-header {
    grid-template-columns: 1fr;
  }

  .work-heading .text-link {
    width: max-content;
    margin-top: 2rem;
  }

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

  .featured-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 2rem;
  }

  .featured-copy .micro-label,
  .featured-copy h3 {
    grid-column: 1 / -1;
  }

  .system-map {
    min-height: 29rem;
  }

  .decks-intro {
    max-width: 37rem;
  }

  .deck-rail {
    grid-template-columns: 1fr 1fr;
  }

  .deck-item:nth-child(3) {
    grid-column: 1 / -1;
    width: calc(50% - 1rem);
    margin: 2rem auto 0;
  }

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

  .about-visual {
    display: grid;
    grid-template-columns: minmax(18rem, 0.85fr) 1fr;
    align-items: end;
    gap: 2rem;
  }

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

  .contact-actions {
    flex-direction: row;
  }

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

  .site-footer > p:last-child {
    grid-column: 2;
  }

  .slide {
    grid-template-columns: 1fr;
    max-height: 72vh;
    overflow-y: auto;
  }

  .slide-visual {
    min-height: 20rem;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 1.15rem;
  }

  .hero {
    padding-bottom: 1.4rem;
  }

  .hero-brand {
    flex-wrap: wrap;
    row-gap: 0.25rem;
    max-width: 13rem;
  }

  .hero-brand span {
    display: none;
  }

  .hero-brand::after {
    width: 4rem;
  }

  .mobile-mascot {
    position: absolute;
    top: -0.75rem;
    right: 0;
    display: block;
    width: 4.7rem;
    height: 5.7rem;
    overflow: hidden;
    border: 1px solid var(--lime);
    background: #bda998;
    clip-path: polygon(0 0, calc(100% - 0.7rem) 0, 100% 0.7rem, 100% 100%, 0 100%);
  }

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

  .mobile-mascot span {
    position: absolute;
    right: 0.25rem;
    bottom: 0.15rem;
    color: var(--paper);
    font-family: var(--display);
    font-size: 0.68rem;
    font-weight: 800;
  }

  .hero h1 {
    padding-top: 1rem;
    font-size: clamp(4rem, 21vw, 6.3rem);
    line-height: 0.77;
  }

  .hero-summary {
    font-size: 0.95rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.4rem;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 35rem;
    margin: 0 -1.15rem;
  }

  .mascot-frame {
    width: 15.7rem;
    min-width: 0;
  }

  .orbit--one {
    width: 92%;
  }

  .orbit--two {
    width: 120%;
  }

  .orbit--three {
    display: none;
  }

  .system-node {
    min-width: 5.5rem;
    padding: 0.55rem;
  }

  .system-node span {
    font-size: 1.2rem;
  }

  .system-node b {
    font-size: 0.86rem;
  }

  .system-node--strategy {
    top: 9%;
    left: 2%;
  }

  .system-node--systems {
    top: 12%;
    right: 2%;
  }

  .system-node--sales {
    right: 2%;
    bottom: 11%;
  }

  .system-node--growth {
    bottom: 8%;
    left: 2%;
  }

  .hero-footer p:first-child {
    display: none;
  }

  .section-title,
  .work-heading .section-title,
  .decks-header .section-title,
  .contact h2 {
    font-size: clamp(3.6rem, 17vw, 5.6rem);
  }

  .demos {
    padding-top: 5.5rem;
  }

  .demos-heading {
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .demo-tabs {
    grid-template-columns: 1fr;
  }

  .demo-tabs button {
    min-height: 3.6rem;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .demo-tabs button:last-child {
    border-bottom: 0;
  }

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

  .demo-input-row .demo-run {
    margin-top: 0.8rem;
  }

  .trend-output {
    grid-template-columns: 1fr;
  }

  .systems-main {
    padding-top: 5.5rem;
    padding-bottom: 5rem;
  }

  .capability-list {
    margin-top: 3.5rem;
  }

  .capability {
    grid-template-columns: 3.5rem 1fr;
    gap: 1rem;
    min-height: 8.5rem;
  }

  .capability-number {
    font-size: 3.3rem;
  }

  .capability h3 {
    font-size: 1.7rem;
  }

  .capability p {
    font-size: 0.8rem;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 3rem;
  }

  .process-list li {
    min-height: auto;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line-dark);
  }

  .work {
    padding-top: 5.5rem;
  }

  .work-heading {
    margin-bottom: 3rem;
  }

  .featured-copy {
    display: block;
  }

  .featured-copy h3 {
    font-size: 4rem;
  }

  .system-map {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: auto;
  }

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

  .map-column p {
    grid-column: 1 / -1;
  }

  .map-engine {
    min-height: 22rem;
  }

  .engine-feature {
    width: 6.3rem;
  }

  .decks {
    padding-top: 5rem;
  }

  .decks-header {
    gap: 2rem;
    margin-bottom: 3rem;
  }

  .deck-rail {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .deck-item,
  .deck-item:nth-child(1),
  .deck-item:nth-child(2),
  .deck-item:nth-child(3) {
    grid-column: auto;
    width: 100%;
    margin: 0;
    transform: none;
  }

  .deck-cover h3 {
    font-size: 3.4rem;
  }

  .about {
    padding-top: 5.5rem;
  }

  .about-visual {
    display: block;
  }

  .about-image {
    height: 34rem;
  }

  .about-caption {
    margin-top: 1rem;
  }

  .contact-actions {
    flex-direction: column;
    min-width: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.4rem;
  }

  .site-footer > p:last-child {
    grid-column: auto;
  }

  .deck-dialog {
    width: 96vw;
    max-height: 90vh;
  }

  .dialog-topline {
    padding-left: 1rem;
  }

  .slide-copy {
    padding: 3rem 1.3rem;
  }

  .slide-copy h2 {
    font-size: 4rem;
  }

  .slide-visual {
    min-height: 16rem;
  }

  .dialog-controls {
    padding: 1rem;
  }
}

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

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

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