/* Zhiwei Starmap — a continuous canvas for signals, paths and decisions. */
@font-face {
  font-family: "ZWXT Display";
  src: url("fonts/zwxt-display.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #06101e;
  --surface: #10243a;
  --text: #f0f3f8;
  --body: #c5d4e6;
  --muted: #99adc7;
  --accent: #a6ceff;
  --offense: #f28a84;
  --defense: #9bc7ff;
  --line: #294561;
  --line-soft: #172e47;
  --signal-cyan: #c4d9fa;
  --context-blue: #a6c8ff;
  --reason-violet: #89a7d5;
  --page: min(1240px, calc(100% - 112px));
  --header-height: 80px;
  --section-space: 108px;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --display: "ZWXT Display", "PingFang SC", var(--font);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}
body {
  margin: 0;
  min-width: 320px;
  background: var(--ink);
  color: var(--text);
  font: 400 16px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
}
body.menu-open {
  overflow: hidden;
}
main {
  overflow: clip;
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}
figure {
  margin: 0;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--accent);
  color: var(--ink);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.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: 200;
  left: 20px;
  top: 16px;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.anchor-alias {
  position: absolute;
  top: 0;
}

/* Navigation */
.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(6, 16, 30, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.site-header.is-solid,
.site-header.is-menu-open {
  border-color: var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: var(--page);
  height: 100%;
  margin: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  flex-shrink: 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
}
.brand-name {
  font-size: 20px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: 0.08em;
}
.brand-name small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--body);
  font-size: 14px;
  white-space: nowrap;
  transition: color 160ms ease;
}
.main-nav a:hover,
.main-nav a[aria-current] {
  color: var(--text);
}
.main-nav a:last-child {
  padding: 0 17px;
  min-height: 38px;
  color: var(--text);
  border: 1px solid #394353;
  border-radius: 4px;
}
.main-nav a:last-child:hover {
  border-color: var(--accent);
}
.menu-button,
.nav-backdrop {
  display: none;
}
.menu-button {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  place-items: center;
}
.menu-icon {
  position: relative;
  width: 22px;
  height: 12px;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: var(--text);
}
.menu-icon::before {
  top: 2px;
}
.menu-icon::after {
  top: 10px;
}
.menu-button[aria-expanded="true"] .menu-icon::before {
  top: 6px;
  transform: rotate(45deg);
}
.menu-button[aria-expanded="true"] .menu-icon::after {
  top: 6px;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(900px, 100svh);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}
.hero-art {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-video {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 70%;
  height: 78%;
  object-fit: cover;
  opacity: 0.55;
  mix-blend-mode: screen;
  filter: contrast(1.08);
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 25%,
    #000 80%,
    transparent
  );
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      var(--ink) 0%,
      rgba(6, 16, 30, 0.9) 19%,
      rgba(6, 16, 30, 0.2) 50%,
      transparent 80%
    ),
    linear-gradient(
      0deg,
      var(--ink),
      transparent 22%,
      transparent 85%,
      var(--ink)
    );
}
.no-js .hero-video,
.hero.video-fallback .hero-video {
  display: none;
}
.hero-inner {
  width: var(--page);
  min-height: min(900px, 100svh);
  margin: auto;
  padding: calc(var(--header-height) + 115px) 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-copy {
  position: relative;
  max-width: 650px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 30px;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.08em;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.hero-identity {
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 27px;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.hero-identity .hero-company {
  color: var(--body);
}
.hero-identity .hero-business {
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}
.hero h1 {
  margin: 0;
  font: 700 clamp(3.4rem, 5.2vw, 5.1rem) / 1.26 var(--display);
  letter-spacing: -0.025em;
}
.hero h1 span {
  white-space: nowrap;
}
.hero-accent {
  color: var(--accent);
}
.hero-answer {
  margin: 26px 0 0;
  color: var(--body);
  font-size: 20px;
  letter-spacing: 0.06em;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 36px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.3;
}
.button-primary {
  background: var(--accent);
  color: var(--ink);
}
.button-primary:hover {
  background: #c4d9fa;
}
.button-secondary {
  padding-right: 0;
  padding-left: 0;
  color: var(--text);
}
.button-secondary::after {
  content: "↗";
  color: var(--accent);
  font-size: 18px;
}
.button-secondary:hover {
  color: var(--accent);
}
.hero-method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(660px, 100%);
  gap: 24px;
  margin-top: 90px;
}
.hero-stage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 18px 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid #344050;
  text-align: left;
}
.hero-stage strong {
  font-size: 18px;
  font-weight: 500;
  color: var(--body);
}
.hero-stage span {
  color: var(--muted);
  font-size: 12px;
}
.hero-stage[aria-pressed="true"] {
  border-color: var(--accent);
}
.hero-stage[aria-pressed="true"] strong {
  color: var(--accent);
}

/* Shared rhythm */
.section {
  position: relative;
  padding: var(--section-space) 0;
}
.section-inner {
  width: var(--page);
  margin: 0 auto;
}
.section-index {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.035em;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 64px;
}
.section-heading h2,
.story-copy h2,
.roadmap-copy h2,
.careers-copy h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2.5rem, 3.8vw, 3.5rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.section-heading > p {
  max-width: 22em;
  margin: 0 0 8px;
  color: var(--body);
  font-size: 16px;
}
.section p {
  text-wrap: pretty;
}
.story-copy > p:not(.section-index),
.roadmap-copy > p:not(.section-index),
.careers-intro {
  max-width: 29em;
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.72;
  color: var(--body);
}
.story,
.careers {
  background: #081728;
}
.story,
.capabilities,
.roadmap,
.careers,
.contact {
  border-top: 1px solid var(--line-soft);
}
.motion-window {
  position: relative;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16/10;
  isolation: isolate;
}
.section-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  filter: grayscale(0.8) saturate(0.5) brightness(1.55);
  mask-image: radial-gradient(
    ellipse at 50% 45%,
    #000 37%,
    rgba(0, 0, 0, 0.9) 63%,
    transparent 88%
  );
}
.capability-stage .section-video {
  filter: grayscale(0.8) saturate(0.5) brightness(1.7);
}
.motion-window figcaption {
  position: absolute;
  bottom: 12px;
  left: 28px;
  right: 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
.motion-window figcaption span {
  display: none;
}
.motion-window figcaption b {
  color: var(--body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

/* Philosophy and inspectable scenario */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-motion {
  aspect-ratio: 1.3;
}
.story-copy h2 {
  font: 700 clamp(3.5rem, 6vw, 5.25rem) / 1.18 var(--display);
  letter-spacing: -.035em;
}
.story-copy h2 .answer-line { display: block; white-space: nowrap; }
.story-copy h2 .answer-line-defense { margin-left: 1em; }
.story-copy h2 .answer-offense { color: var(--offense); }
.story-copy h2 .answer-defense { color: var(--defense); }
.tag-list {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--muted);
}
.blackboard-method {
  margin-top: 96px;
  padding-top: 80px;
  border-top: 1px solid var(--line);
}
.blackboard-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 44px;
}
.blackboard-lead .section-index {
  margin-bottom: 18px;
}
.blackboard-lead :is(h2, h3) {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 650;
  line-height: 1.3;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.blackboard-lead > p {
  max-width: 42em;
  margin: 0;
  color: var(--body);
  font-size: 17px;
  line-height: 1.72;
}
.blackboard-lead > p br { display: none; }
.scenario {
  margin-top: 88px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.scenario-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.scenario-heading .section-index {
  margin-bottom: 12px;
}
.scenario h3 {
  margin: 0;
  font-size: 28px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.scenario h3 span {
  display: inline-block;
}
.scenario-note {
  flex-shrink: 0;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 12px;
}
.scenario-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}
.scenario-steps button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 136px;
  padding: 24px 0;
  border: 0;
  border-top: 1px solid #394351;
  background: transparent;
  text-align: left;
}
.scenario-steps button > span {
  color: var(--muted);
  font: 400 12px/1.4 var(--font);
}
.scenario-steps strong {
  font-size: 18px;
  font-weight: 500;
  color: var(--body);
}
.scenario-steps small {
  font-size: 13px;
  color: var(--muted);
}
.scenario-ready .scenario-steps [aria-expanded="true"] {
  border-color: var(--accent);
}
.scenario-ready .scenario-steps [aria-expanded="true"] strong,
.scenario-steps button:hover strong {
  color: var(--accent);
}
.scenario-panels {
  margin-top: 12px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.scenario-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 80px;
}
.scenario-lens {
  color: var(--accent);
  font-size: 12px;
}
.scenario-panel h4 {
  grid-column: 1;
  margin: 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.6;
  text-wrap: balance;
}
.scenario-panel p {
  grid-column: 2;
  grid-row: 1/3;
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.72;
}
.scenario-panel > div {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}
.scenario-panel > div b {
  font-weight: 400;
  color: var(--body);
}
.scenario-panel + .scenario-panel {
  margin-top: 36px;
}
.scenario-ready .scenario-panel {
  margin-top: 0;
}
.scenario-footnote {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* Four capabilities, one open matrix */
.capabilities .section-heading h2 {
  white-space: nowrap;
  font-size: clamp(2.3rem, 3.6vw, 3.25rem);
}
.capability-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.6fr;
  gap: 72px;
  align-items: start;
}
.capability-stage {
  position: sticky;
  top: calc(var(--header-height) + 50px);
  margin-top: 36px;
  aspect-ratio: 1;
}
.capability-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px 40px;
}
.capability-card {
  min-width: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.capability-card.is-active {
  border-color: #9dbdeb;
}
.capability-card .capability-number,
.capability-card .capability-trigger,
.capability-card h3 {
  transition: color 300ms ease;
}
.capability-card.is-active .capability-number,
.capability-card.is-active .capability-trigger,
.capability-card.is-active h3 {
  color: var(--accent);
}
.capability-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.capability-number {
  color: var(--muted);
  font-size: 12px;
}
.capability-trigger {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--accent);
}
.capability-trigger:hover {
  background: var(--surface);
}
.capability-icon {
  width: 25px;
  height: 25px;
}
.capability-card h3 {
  margin: 18px 0 12px;
  font-size: 25px;
  font-weight: 550;
  letter-spacing: -0.02em;
}
.capability-card > p {
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.72;
}
.proof {
  margin-top: 24px;
}
.proof strong {
  color: var(--accent);
  font-size: 12px;
  font-weight: 400;
}
.proof p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}
.path-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 6px;
}
.path-hop {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.path-hop i {
  font-style: normal;
}

/* Three product rows */
.roadmap-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 80px;
}
.roadmap-motion {
  aspect-ratio: 1.75;
}
.roadmap-copy > p.roadmap-status-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--accent);
}
.roadmap-grid {
  margin-top: 68px;
}
.roadmap-card {
  display: grid;
  grid-template-columns: 95px 1fr 1.12fr;
  gap: 22px 44px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.roadmap-card:last-child {
  border-bottom: 1px solid var(--line);
}
.roadmap-top {
  grid-column: 1;
  grid-row: 1/3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.roadmap-number {
  font-family: var(--font);
  color: #8391a6;
  font-size: 60px;
  font-weight: 300;
  line-height: 1;
}
.status {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}
.roadmap-card h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: clamp(1.65rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.roadmap-layer {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 400;
}
.roadmap-card > p {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.72;
  max-width: 30em;
}
.product-outcome {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-outcome span {
  color: var(--muted);
  font-size: 12px;
}
.product-outcome b {
  color: var(--body);
  font-size: 14px;
  font-weight: 400;
}
.product-links {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.product-links a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-size: 14px;
  color: var(--accent);
  text-underline-offset: 7px;
}
.product-links a + a {
  color: var(--text);
}
.product-links a:hover {
  text-decoration: underline;
}

/* Vision */
.vision {
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}
.vision-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  color: var(--muted);
}
.vision-line b {
  color: var(--accent);
  font-weight: 400;
}
.vision-stage {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 450px;
  padding: 80px 0;
  text-align: center;
}
.vision h2 {
  margin: 0;
  font: 700 clamp(3rem, 5.4vw, 5.2rem) / 1.24 var(--display);
  letter-spacing: -0.03em;
}
.vision h2 span {
  display: block;
}
.vision h2 span:first-child {
  color: var(--accent);
}
.vision h2 span:last-child {
  color: var(--text);
}
.vision-motion {
  --reveal-opacity: 0.6;
  position: absolute;
  z-index: -1;
  inset: -15% 0;
  aspect-ratio: auto;
  opacity: 0.6;
  pointer-events: none;
}
.vision-motion figcaption {
  display: none;
}
.vision-explainer {
  max-width: 810px;
  margin: 0 auto;
  text-align: center;
}
.vision-explainer > p {
  margin: 0;
  color: var(--body);
  font-size: 18px;
  line-height: 1.72;
}
.vision-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 45px 0 0;
  list-style: none;
  text-align: center;
}
.vision-actions li {
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}
.vision-actions b {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.vision-actions span {
  display: block;
  margin-top: 9px;
  color: var(--text);
  font-size: 16px;
}

/* Culture */
.careers-lead {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.careers-motion {
  aspect-ratio: 1.85;
}
.careers-copy h2 br {
  display: none;
}
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
  margin-top: 60px;
}
.culture-column {
  min-width: 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.culture-column h3 {
  margin: 0 0 28px;
  font-size: 21px;
  font-weight: 500;
}
.culture-column ul,
.culture-column ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.culture-column li {
  display: grid;
  grid-template-columns: 4.1em 1fr;
  gap: 18px;
  padding: 13px 0;
  font-size: 15px;
  color: var(--body);
  line-height: 1.68;
}
.culture-column li strong {
  color: var(--muted);
  font-weight: 400;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 80px;
  align-items: center;
}
.contact-grid > .reveal:first-child {
  grid-column: 1;
  grid-row: 1;
}
.contact h2 br {
  display: none;
}
.contact-motion {
  --reveal-opacity: 0.8;
  grid-column: 1;
  grid-row: 2;
  max-width: 410px;
  aspect-ratio: 3.4;
  opacity: 0.8;
}
.contact-motion figcaption {
  display: none;
}
.contact-panel {
  grid-column: 2;
  grid-row: 1/3;
}
.meta-label {
  display: block;
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 18px;
}
.contact-panel p {
  color: var(--body);
  font-size: 18px;
  margin: 0 0 24px;
}
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--text);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.5;
}
.email-link::after {
  content: "↗";
  color: var(--accent);
  font-size: 0.75em;
}
.email-link:hover {
  color: var(--accent);
}
.contact-panel .contact-hint {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.copy-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--accent);
  font-size: 13px;
}
.copy-email:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.copy-feedback {
  font-size: 12px;
  color: var(--body);
  margin-left: 18px;
}
.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  width: var(--page);
  margin: auto;
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 40px;
}
.footer-brand {
  color: var(--body);
  font-size: 14px;
}
.footer-brand span {
  display: block;
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}
.footer-nav a {
  font-size: 12px;
  color: var(--body);
}
.footer-nav a:hover {
  color: var(--accent);
}
.footer-meta {
  margin-top: 18px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}
.reveal-ready .reveal.is-visible {
  opacity: var(--reveal-opacity, 1);
  transform: none;
}

/* Tablet */
@media (min-width: 1600px) {
  .hero-inner {
    padding-top: 230px;
  }
  .hero-art {
    object-position: center 48%;
  }
}
@media (max-width: 1100px) {
  :root {
    --page: calc(100% - 64px);
    --section-space: 96px;
    --header-height: 72px;
  }
  .main-nav {
    gap: 20px;
  }
  .brand-name {
    font-size: 18px;
  }
  .hero,
  .hero-inner {
    min-height: 800px;
  }
  .hero-inner {
    padding-top: 190px;
  }
  .hero h1 {
    font-size: 60px;
  }
  .story-grid,
  .roadmap-intro,
  .careers-lead {
    gap: 44px;
  }
  .capability-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .capability-stage {
    position: relative;
    top: auto;
    width: 100%;
    height: 230px;
    margin: 0;
  }
  .capability-stage .section-video {
    object-fit: contain;
  }
  .capability-list {
    gap: 40px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin: 18px 0 0;
  }
  .roadmap-card {
    grid-template-columns: 70px 1fr 1.05fr;
    gap: 22px 28px;
  }
  .roadmap-number {
    font-size: 52px;
  }
  .roadmap-card h3 {
    font-size: 27px;
  }
  .culture-grid {
    gap: 30px;
  }
  .culture-column li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .contact-grid {
    gap: 30px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 28px;
  }
  .footer-nav {
    justify-content: flex-start;
  }
  .footer-meta {
    text-align: left;
  }
}
@media (min-width: 761px) and (max-width: 900px) {
  .brand-name small {
    display: none;
  }
  .main-nav {
    gap: 15px;
  }
  .main-nav a {
    font-size: 12px;
  }
  .hero h1 {
    font-size: 54px;
  }
  .story-copy h2,
  .roadmap-copy h2 {
    font-size: 38px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  :root {
    --page: calc(100% - 48px);
    --section-space: 72px;
    --header-height: 66px;
  }
  .header-inner {
    gap: 16px;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-name small {
    display: none;
  }
  .menu-button {
    display: grid;
    flex-shrink: 0;
  }
  .main-nav {
    position: fixed;
    z-index: 102;
    top: var(--header-height);
    right: 0;
    width: min(88vw, 380px);
    height: calc(100dvh - var(--header-height));
    padding: 25px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: start;
    gap: 0;
    border-left: 1px solid var(--line);
    background: var(--ink);
    transform: translateX(100%);
    visibility: hidden;
    overflow-y: auto;
    transition:
      transform 180ms ease,
      visibility 180ms ease;
  }
  .main-nav.open {
    visibility: visible;
    transform: none;
  }
  .main-nav a,
  .main-nav a:last-child {
    min-height: 60px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-size: 16px;
  }
  .nav-backdrop {
    display: block;
    position: fixed;
    z-index: 101;
    inset: var(--header-height) 0 0;
    height: calc(100dvh - var(--header-height));
    background: rgba(0, 0, 0, 0.6);
    padding: 0;
    border: 0;
    visibility: hidden;
    opacity: 0;
  }
  .nav-backdrop.open {
    visibility: visible;
    opacity: 1;
  }
  .hero,
  .hero-inner {
    min-height: max(730px, 100svh);
  }
  .hero-inner {
    display: grid;
    grid-template-rows: auto minmax(280px, 39svh) auto;
    padding-top: 118px;
    padding-bottom: 30px;
  }
  .hero-copy {
    max-width: 100%;
  }
  .eyebrow {
    margin-bottom: 26px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .hero-identity {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.5;
  }
  .hero-identity .hero-business {
    font-size: 16px;
  }
  .hero-identity::before {
    display: none;
  }
  .hero h1 {
    font-size: clamp(2.35rem, 9.8vw, 3.7rem);
    letter-spacing: -0.035em;
    line-height: 1.35;
  }
  .hero-answer {
    font-size: 16px;
    margin-top: 22px;
  }
  .hero-actions {
    margin-top: 28px;
    gap: 24px;
  }
  .button {
    padding: 0 19px;
    min-height: 46px;
    font-size: 13px;
  }
  .button-secondary {
    padding: 0;
  }
  .hero-media {
    top: 300px;
    bottom: 95px;
    left: -22%;
    right: -22%;
  }
  .hero-art {
    object-fit: cover;
    object-position: 72% center;
  }
  .hero-video {
    width: 100%;
    height: 100%;
    object-position: right center;
  }
  .hero-media::after {
    background: linear-gradient(
      180deg,
      var(--ink) 0%,
      rgba(6, 16, 30, 0.3) 24%,
      transparent 46%,
      var(--ink) 100%
    );
  }
  .hero-method {
    width: 100%;
    gap: 16px;
    margin-top: 0;
    grid-row: 3;
    align-self: end;
  }
  .hero-stage {
    padding-top: 15px;
    gap: 7px;
  }
  .hero-stage strong {
    font-size: 15px;
  }
  .hero-stage span {
    max-width: 8em;
    font-size: 11px;
    line-height: 1.7;
  }
  .section-index {
    font-size: 12px;
    margin-bottom: 22px;
  }
  .section-heading h2,
  .story-copy h2,
  .roadmap-copy h2,
  .careers-copy h2,
  .contact h2 {
    font-size: 35px;
    line-height: 1.25;
  }
  .section-heading {
    margin-bottom: 35px;
  }
  .story-copy h2 {
    font-size: clamp(2.9rem, 13vw, 3.8rem);
    line-height: 1.2;
  }
  .capabilities .section-heading h2 {
    font-size: clamp(1.5rem, 7.15vw, 2.6rem);
    letter-spacing: -0.035em;
  }
  .section-heading > p {
    font-size: 15px;
  }
  .story-grid,
  .roadmap-intro,
  .careers-lead {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .story-copy > p:not(.section-index),
  .roadmap-copy > p:not(.section-index),
  .careers-intro {
    font-size: 16px;
    margin-top: 24px;
  }
  .tag-list {
    gap: 9px 18px;
    margin-top: 25px;
  }
  .story-motion {
    height: 250px;
    aspect-ratio: auto;
  }
  .blackboard-method {
    margin-top: 54px;
    padding-top: 44px;
  }
  .blackboard-lead {
    gap: 18px;
    margin-bottom: 25px;
  }
  .blackboard-lead :is(h2, h3) {
    font-size: clamp(1.25rem, 6.35vw, 2.5rem);
  }
  .blackboard-lead > p {
    font-size: 16px;
  }
  .motion-window figcaption {
    bottom: 0;
    right: 10px;
    left: 10px;
  }
  .motion-window figcaption b {
    font-size: 12px;
  }
  .scenario {
    margin-top: 48px;
    padding-top: 35px;
  }
  .scenario-heading {
    display: block;
  }
  .scenario h3 {
    font-size: 24px;
  }
  .scenario-note {
    display: block;
    margin-top: 16px;
    font-size: 11px;
  }
  .scenario-steps {
    grid-template-columns: 1fr 1fr;
    gap: 12px 25px;
    margin-top: 30px;
  }
  .scenario-steps button {
    min-height: 128px;
    padding: 20px 0;
    gap: 8px;
  }
  .scenario-steps strong {
    font-size: 16px;
  }
  .scenario-steps small {
    font-size: 12px;
  }
  .scenario-panel {
    display: block;
  }
  .scenario-panel h4 {
    margin-top: 12px;
    font-size: 20px;
  }
  .scenario-panel p {
    margin-top: 18px;
    font-size: 15px;
  }
  .scenario-panel > div {
    margin-top: 22px;
    display: grid;
    gap: 7px;
    font-size: 12px;
  }
  .scenario-footnote {
    font-size: 11px;
  }
  .capability-stage {
    height: 180px;
  }
  .capability-layout {
    gap: 30px;
  }
  .capability-list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .capability-card {
    padding-top: 20px;
  }
  .capability-card h3 {
    margin-top: 8px;
    font-size: 25px;
  }
  .proof {
    margin-top: 18px;
  }
  .roadmap-motion {
    height: 190px;
    aspect-ratio: auto;
  }
  .roadmap-grid {
    margin-top: 34px;
  }
  .roadmap-card {
    grid-template-columns: 48px 1fr;
    gap: 20px;
    padding: 30px 0;
  }
  .roadmap-top {
    grid-column: 1;
    grid-row: 1/5;
    gap: 22px;
  }
  .roadmap-number {
    font-size: 42px;
  }
  .status {
    font-size: 11px;
  }
  .roadmap-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 25px;
    line-height: 1.45;
  }
  .roadmap-layer {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .roadmap-card > p {
    grid-column: 2;
    grid-row: 2;
    font-size: 15px;
  }
  .product-outcome {
    grid-column: 2;
    grid-row: 3;
  }
  .product-links {
    grid-column: 2;
    grid-row: 4;
    gap: 24px;
  }
  .product-links a {
    font-size: 13px;
    gap: 6px;
  }
  .vision-line > span {
    display: none;
  }
  .vision-stage {
    padding: 60px 0;
    min-height: 270px;
  }
  .vision h2 {
    font-size: clamp(2rem, 9.3vw, 3.4rem);
    letter-spacing: -0.04em;
    line-height: 1.38;
  }
  .vision h2 span:last-child {
    white-space: nowrap;
  }
  .vision-motion {
    inset: -8% -25%;
  }
  .vision-explainer > p {
    font-size: 16px;
    text-align: left;
  }
  .vision-actions {
    margin-top: 30px;
  }
  .vision-actions li {
    padding: 18px 4px;
  }
  .vision-actions span {
    font-size: 14px;
  }
  .careers-motion {
    height: 160px;
    aspect-ratio: auto;
  }
  .culture-grid {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-top: 38px;
  }
  .culture-column h3 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .culture-column li {
    grid-template-columns: 4.1em 1fr;
    gap: 18px;
    padding: 10px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .contact-grid > .reveal:first-child {
    grid-row: 1;
  }
  .contact-motion {
    grid-column: 1;
    grid-row: 2;
    height: 95px;
    width: 100%;
  }
  .contact-panel {
    grid-column: 1;
    grid-row: 3;
  }
  .contact-panel p {
    font-size: 16px;
  }
  .email-link {
    font-size: 25px;
  }
  .footer-inner {
    padding: 32px 0;
    gap: 26px;
  }
  .footer-nav {
    gap: 0 24px;
  }
  .footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-brand span {
    max-width: 28em;
    line-height: 1.7;
  }
  html:not(.nav-ready) .site-header {
    position: relative;
    height: auto;
  }
  html:not(.nav-ready) .header-inner {
    display: block;
    padding: 16px 0;
  }
  html:not(.nav-ready) .menu-button,
  html:not(.nav-ready) .nav-backdrop {
    display: none;
  }
  html:not(.nav-ready) .main-nav {
    position: static;
    width: 100%;
    height: auto;
    padding: 16px 0 0;
    transform: none;
    visibility: visible;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 24px;
    border: 0;
  }
  html:not(.nav-ready) .main-nav a {
    min-height: 44px;
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  :root {
    --page: calc(100% - 40px);
  }
  .hero,
  .hero-inner {
    min-height: max(650px, 100svh);
  }
  .hero-inner {
    grid-template-rows: auto minmax(210px, 32svh) auto;
    padding-top: 108px;
  }
  .hero-media {
    top: 250px;
    bottom: 70px;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-stage span {
    font-size: 10px;
  }
  .roadmap-card {
    grid-template-columns: 38px 1fr;
    gap: 16px;
  }
  .roadmap-number {
    font-size: 35px;
  }
  .roadmap-card h3 {
    font-size: 23px;
  }
  .product-links {
    gap: 14px;
  }
  .email-link {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .hero-video {
    display: none;
  }
  .reveal-ready .reveal {
    opacity: var(--reveal-opacity, 1);
    transform: none;
  }
}
