@font-face {
  font-family: "Manrope";
  src: local("Bahnschrift"), local("Aptos Display");
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans SC";
  src: local("Microsoft YaHei UI"), local("PingFang SC"), local("Source Han Sans SC");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #f2f4f7;
  --muted: #9aa6b2;
  --dim: #66717d;
  --void: #05070a;
  --surface: #090d12;
  --surface-2: #0c1219;
  --line: #243241;
  --line-soft: rgba(242, 244, 247, 0.13);
  --energy: #57b8ff;
  --energy-deep: #1967d2;
  --max: 1600px;
  --gutter: clamp(20px, 3.25vw, 56px);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--void);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--energy);
  color: var(--void);
}

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

button,
input,
textarea {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--energy);
  color: var(--void);
  transition: top 180ms ease;
}

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

.site-header {
  position: fixed;
  inset: 0 auto auto 50%;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 64px;
  width: min(calc(100% - 48px), 1384px);
  padding: 0;
  transform: translateX(-50%);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, height 240ms ease;
}

.site-header.is-scrolled {
  height: 58px;
  background: rgba(5, 7, 10, 0.88);
  border-color: var(--line-soft);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.wordmark {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.wordmark-logo {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: clamp(20px, 2vw, 34px);
  margin-left: clamp(34px, 4vw, 72px);
  font-size: 12px;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--muted);
  transition: color 180ms ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--energy);
  transition: right 220ms ease;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--ink);
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  right: 0;
}

.header-action {
  justify-self: end;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--void);
}

.text-link,
.header-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
}

.text-link::after,
.header-action::after {
  content: "↗";
  font-family: "Manrope", sans-serif;
  transition: transform 180ms ease;
}

.text-link:hover::after,
.header-action:hover::after {
  transform: translate(3px, -3px);
}

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

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line-soft);
}

main > :not(.hero) {
  content-visibility: auto;
  contain-intrinsic-block-size: auto 900px;
}

.starfield,
.starfield-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.starfield {
  z-index: -2;
}

.starfield-fallback {
  z-index: -3;
  background: #05070a;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 50% 52%, transparent 0 24%, rgba(5, 7, 10, 0.08) 52%, rgba(5, 7, 10, 0.48) 100%);
  pointer-events: none;
}

.hero-inner {
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr auto;
  gap: 0 18px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 132px var(--gutter) 42px;
}

.astra-hero {
  min-height: 100svh;
  background: var(--void);
  cursor: grab;
}

.astra-hero:active {
  cursor: grabbing;
}

.astra-hero .starfield {
  touch-action: pan-y;
}

.hero .astra-title {
  --attract-left: clamp(72px, 22vw, 520px);
  --attract-right: clamp(-360px, -13.5vw, -84px);
  position: absolute;
  z-index: 2;
  inset: 50% var(--gutter) auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  max-width: none;
  transform: translateY(-50%);
  pointer-events: none;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-size: clamp(44px, 3.15vw, 64px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.hero .astra-title span {
  display: inline;
  color: var(--ink);
  animation: title-attract-left 10s ease-in-out infinite;
  will-change: transform;
}

.hero .astra-title span:last-child {
  text-align: right;
  animation-name: title-attract-right;
}

@keyframes title-attract-left {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(var(--attract-left)); }
}

@keyframes title-attract-right {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(var(--attract-right)); }
}

@keyframes title-attract-top {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(var(--attract-vertical)); }
}

@keyframes title-attract-bottom {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(calc(var(--attract-vertical) * -1)); }
}

.astra-orbit-label {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 25px;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(242, 244, 247, 0.54);
  font: 500 9px/1 "Manrope", sans-serif;
  letter-spacing: 0.19em;
  white-space: nowrap;
}

.starfield-control {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(242, 244, 247, 0.18);
  border-radius: 50%;
  background: rgba(242, 244, 247, 0.08);
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.starfield-control:hover,
.starfield-control:focus-visible {
  background: rgba(87, 184, 255, 0.22);
  transform: rotate(-18deg);
}

.starfield-control svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-panel {
  max-width: var(--max);
  min-height: 86svh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-content: center;
  gap: 18px;
  margin: 0 auto;
  padding: clamp(120px, 15vw, 240px) var(--gutter);
  border-bottom: 1px solid var(--line-soft);
}

.intro-panel > .section-index {
  grid-column: 1 / span 2;
  padding-top: 0.7em;
}

.intro-panel h2 {
  grid-column: 3 / span 8;
  margin: 0;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-size: clamp(54px, 8.3vw, 138px);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 0.93;
}

.intro-panel-copy {
  grid-column: 7 / span 5;
  margin-top: clamp(52px, 7vw, 100px);
}

.intro-panel-copy > p {
  max-width: 620px;
  margin: 0;
  color: #c7d0da;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.65;
}

.intro-panel-copy dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 46px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.intro-panel-copy dt {
  color: var(--dim);
  font: 500 10px/1 "Manrope", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-panel-copy dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 13px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--energy);
}

.hero-copy {
  grid-column: 1 / span 8;
  align-self: end;
  padding-bottom: clamp(50px, 9vh, 118px);
}

.hero h1 {
  max-width: 1040px;
  margin: 0;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-size: clamp(56px, 8.4vw, 142px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.91;
}

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

.hero-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
  align-items: end;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}

.hero-intro {
  max-width: 620px;
  margin: 0;
  color: #cbd0cb;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.55;
}

.meta-cell {
  justify-self: end;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meta-cell strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.page-hero {
  min-height: 72svh;
}

.page-hero .hero-inner {
  min-height: 72svh;
  padding-bottom: 32px;
}

.page-hero .hero-copy {
  grid-column: 1 / span 10;
  padding-bottom: clamp(32px, 7vh, 82px);
}

.page-hero h1 {
  font-size: clamp(60px, 10vw, 160px);
}

.section {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 190px) var(--gutter);
}

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

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  margin-bottom: clamp(58px, 9vw, 128px);
}

.section-index {
  grid-column: 1 / span 2;
  color: var(--energy);
  font: 500 11px/1.2 "Manrope", sans-serif;
  letter-spacing: 0.15em;
}

.section-title {
  grid-column: 3 / span 8;
  max-width: 900px;
  margin: -0.1em 0 0;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-size: clamp(40px, 6vw, 92px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
}

.section-lead {
  grid-column: 7 / span 5;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 20px);
}

.signal-band {
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: var(--surface);
}

.signal-track {
  display: flex;
  width: max-content;
  animation: drift 28s linear infinite;
}

.signal-track span {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  color: var(--muted);
  font: 500 11px/1 "Manrope", "Noto Sans SC", sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.signal-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--energy);
  box-shadow: 0 0 15px var(--energy);
}

@keyframes drift {
  to { transform: translateX(-50%); }
}

.service-list,
.role-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-item {
  display: grid;
  grid-template-columns: 2fr 4fr 5fr 1fr;
  gap: 18px;
  align-items: start;
  padding: 36px 0 40px;
  border-top: 1px solid var(--line-soft);
  transition: color 180ms ease, background 180ms ease;
}

.service-item:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.service-number {
  color: var(--dim);
  font: 500 12px/1.4 "Manrope", sans-serif;
}

.service-name {
  margin: 0;
  font-size: clamp(25px, 2.4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.service-copy {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-arrow {
  justify-self: end;
  color: var(--energy);
  font: 400 24px/1 "Manrope", sans-serif;
  transition: transform 180ms ease;
}

a.service-item:hover .service-arrow {
  transform: translate(5px, -5px);
}

.manifesto {
  position: relative;
  min-height: 86svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-block: 1px solid var(--line-soft);
  background: var(--surface-2);
}

.manifesto::before {
  content: "";
  position: absolute;
  width: min(72vw, 980px);
  aspect-ratio: 1;
  border: 1px solid rgba(87, 184, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 120px rgba(25, 103, 210, 0.18), inset 0 0 80px rgba(25, 103, 210, 0.08);
}

.manifesto-copy {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - var(--gutter) * 2));
  margin: 0;
  text-align: center;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-size: clamp(40px, 6.5vw, 102px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.manifesto-copy em {
  color: var(--energy);
  font-style: normal;
}

.metric-grid,
.team-grid,
.partner-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

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

.metric {
  grid-column: auto;
  min-height: 230px;
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
}

.metric strong {
  display: block;
  margin-bottom: 72px;
  font: 400 clamp(46px, 5.5vw, 84px)/1 "Manrope", sans-serif;
  letter-spacing: -0.05em;
}

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

.feature {
  grid-column: span 4;
  padding: 26px 0 48px;
  border-top: 1px solid var(--line-soft);
}

.feature.wide {
  grid-column: span 6;
}

.feature-kicker {
  display: block;
  margin-bottom: 55px;
  color: var(--energy);
  font: 500 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.13em;
}

.feature h3 {
  margin: 0 0 18px;
  font-size: clamp(22px, 2vw, 33px);
  font-weight: 400;
  line-height: 1.25;
}

.feature p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.quote-block {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  padding: clamp(80px, 10vw, 150px) var(--gutter);
  border-top: 1px solid var(--line-soft);
}

.quote-block blockquote {
  grid-column: 3 / span 8;
  margin: 0;
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-size: clamp(34px, 4.5vw, 70px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.quote-block cite {
  grid-column: 9 / span 3;
  margin-top: 28px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.team-card,
.partner-card {
  grid-column: span 4;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line-soft);
  background: rgba(12, 18, 25, 0.32);
  transition: border-color 200ms ease, transform 200ms ease, background 200ms ease;
}

.team-card:hover,
.partner-card:hover {
  border-color: rgba(87, 184, 255, 0.52);
  background: rgba(12, 18, 25, 0.68);
  transform: translateY(-4px);
}

.team-card span,
.partner-card span {
  color: var(--energy);
  font: 500 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.13em;
}

.team-card h3,
.partner-card h3 {
  margin: 70px 0 20px;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 400;
  line-height: 1.25;
}

.team-card p,
.partner-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.partner-card {
  grid-column: span 6;
  min-height: 330px;
}

.client-band {
  padding: clamp(80px, 10vw, 150px) var(--gutter);
  background: #dfe8f0;
  color: var(--void);
}

.client-band-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.client-band .section-head {
  margin-bottom: clamp(44px, 7vw, 92px);
}

.client-band .section-index {
  color: var(--energy-deep);
}

.client-band .section-lead {
  color: #455360;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(5, 8, 7, 0.25);
  border-left: 1px solid rgba(5, 8, 7, 0.25);
}

.client-logo {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 30px;
  border-right: 1px solid rgba(5, 8, 7, 0.25);
  border-bottom: 1px solid rgba(5, 8, 7, 0.25);
  transition: background 200ms ease;
}

.client-logo:hover {
  background: rgba(255, 255, 255, 0.38);
}

.client-logo img {
  width: auto;
  max-width: 82%;
  max-height: 76px;
  object-fit: contain;
}

.product-cluster {
  margin-bottom: clamp(100px, 14vw, 190px);
}

.product-cluster:last-child {
  margin-bottom: 0;
}

.cluster-header {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 32px;
}

.cluster-header span {
  grid-column: 1 / span 2;
  color: var(--energy);
  font: 500 11px/1 "Manrope", sans-serif;
  letter-spacing: 0.13em;
}

.cluster-header h2 {
  grid-column: 3 / span 8;
  margin: 0;
  font-size: clamp(38px, 5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.role {
  border-top: 1px solid var(--line-soft);
}

.role:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.role summary {
  display: grid;
  grid-template-columns: 2fr 8fr 2fr;
  gap: 18px;
  align-items: center;
  padding: 28px 0;
  cursor: pointer;
  list-style: none;
}

.role summary::-webkit-details-marker {
  display: none;
}

.role-id {
  color: var(--dim);
  font: 500 11px/1 "Manrope", sans-serif;
}

.role-title {
  font-size: clamp(24px, 2.6vw, 42px);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.role-toggle {
  justify-self: end;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  color: var(--energy);
  transition: transform 240ms ease, background 240ms ease;
}

.role[open] .role-toggle {
  transform: rotate(45deg);
  background: var(--energy);
  color: var(--void);
}

.role-body {
  display: grid;
  grid-template-columns: 2fr 5fr 5fr;
  gap: 18px;
  padding: 12px 0 54px;
}

.role-body > div:first-child {
  grid-column: 2;
}

.role-body h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.role-body p,
.role-body li {
  color: var(--muted);
  font-size: 14px;
}

.role-body ol {
  margin: 0;
  padding-left: 1.4em;
}

.role-body li + li {
  margin-top: 9px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}

.contact-statement {
  grid-column: 1 / span 7;
  margin: 0;
  font-size: clamp(40px, 5.5vw, 86px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.contact-details {
  grid-column: 9 / span 4;
  margin: 10px 0 0;
}

.contact-details > div {
  padding: 20px 0 24px;
  border-top: 1px solid var(--line-soft);
}

.contact-details dt {
  margin-bottom: 9px;
  color: var(--dim);
  font: 500 10px/1 "Manrope", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
}

.contact-details a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}

.contact-details a:hover {
  text-decoration-color: var(--energy);
}

.cta-band {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  align-items: end;
  padding: clamp(86px, 11vw, 160px) var(--gutter);
  border-top: 1px solid var(--line-soft);
  background: var(--energy);
  color: var(--void);
}

.cta-band h2 {
  grid-column: 1 / span 9;
  margin: 0;
  font: 400 clamp(42px, 7.4vw, 118px)/0.95 "Manrope", "Noto Sans SC", sans-serif;
  letter-spacing: -0.055em;
}

.cta-band a {
  grid-column: 10 / span 3;
  justify-self: end;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  font-weight: 500;
}

.site-footer {
  padding: 40px var(--gutter) 28px;
  background: var(--void);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}

.footer-brand {
  font: 500 15px/1.2 "Manrope", sans-serif;
}

.footer-links {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 58px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: 66px;
  }

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-toggle {
    justify-self: end;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .menu-toggle span,
  .menu-toggle::before {
    content: "";
    position: absolute;
    width: 23px;
    height: 1px;
    background: currentColor;
    transition: transform 200ms ease;
  }

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

  .mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    align-content: end;
    padding: 110px var(--gutter) 42px;
    background: var(--energy);
    color: var(--void);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
  }

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

  .mobile-panel nav {
    display: grid;
  }

  .mobile-panel a {
    padding: 10px 0;
    font: 400 clamp(34px, 10vw, 64px)/1.1 "Manrope", "Noto Sans SC", sans-serif;
    letter-spacing: -0.04em;
  }

  .mobile-panel small {
    margin-top: 38px;
    font-size: 11px;
  }

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

  .hero h1 {
    font-size: clamp(53px, 14vw, 98px);
  }

  .hero .astra-title {
    inset-inline: var(--gutter);
    font-size: clamp(38px, 6.4vw, 56px);
  }

  .intro-panel > .section-index { grid-column: 1 / span 2; }
  .intro-panel h2 { grid-column: 3 / -1; }
  .intro-panel-copy { grid-column: 5 / -1; }

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

  .hero-intro {
    grid-column: 1 / -1;
    margin-bottom: 26px;
  }

  .meta-cell {
    justify-self: start;
  }

  .section-index { grid-column: 1 / span 2; }
  .section-title { grid-column: 3 / -1; }
  .section-lead { grid-column: 3 / -1; }

  .service-item {
    grid-template-columns: 1fr 5fr auto;
  }

  .service-copy {
    grid-column: 2 / -1;
  }

  .metric-grid { grid-template-columns: repeat(12, 1fr); }
  .metric { grid-column: span 6; }
  .feature, .feature.wide { grid-column: span 6; }
  .team-card { grid-column: span 6; }
  .partner-card { grid-column: span 12; }
  .client-grid { grid-template-columns: repeat(2, 1fr); }

  .quote-block blockquote { grid-column: 1 / span 10; }
  .quote-block cite { grid-column: 8 / -1; }

  .contact-statement { grid-column: 1 / -1; }
  .contact-details { grid-column: 6 / -1; margin-top: 70px; }

  .cta-band h2 { grid-column: 1 / -1; }
  .cta-band a { grid-column: 1 / -1; justify-self: start; margin-top: 40px; }
}

@media (max-width: 600px) {
  .wordmark { font-size: 13px; }
  .hero-inner { padding-top: 104px; }
  .hero-copy { padding-bottom: 44px; }
  .hero-meta { grid-template-columns: 1fr; }
  .meta-cell:last-child { display: none; }

  .astra-hero {
    min-height: 100svh;
  }

  .astra-orbit-label {
    bottom: 22px;
    max-width: calc(100% - 120px);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .starfield-control {
    right: 18px;
    bottom: 16px;
  }

  .intro-panel {
    display: block;
    min-height: auto;
  }

  .intro-panel > .section-index {
    display: block;
    margin-bottom: 38px;
  }

  .intro-panel h2 {
    font-size: clamp(44px, 12vw, 58px);
    letter-spacing: -0.045em;
    line-height: 1.12;
  }

  .intro-panel-copy {
    margin-top: 58px;
  }

  .page-hero,
  .page-hero .hero-inner { min-height: 64svh; }

  .page-hero h1 { font-size: clamp(52px, 17vw, 86px); }

  .section-head { display: block; }
  .section-index { display: block; margin-bottom: 24px; }
  .section-title { font-size: clamp(38px, 12vw, 60px); }
  .section-lead { margin-top: 24px; }

  .service-item {
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    padding: 27px 0 32px;
  }

  .service-copy { grid-column: 2 / -1; }

  .metric,
  .feature,
  .feature.wide,
  .team-card,
  .partner-card {
    grid-column: 1 / -1;
  }

  .metric { min-height: 190px; }
  .metric strong { margin-bottom: 48px; }
  .team-card, .partner-card { min-height: 260px; }

  .cluster-header { display: block; }
  .cluster-header span { display: block; margin-bottom: 22px; }

  .role summary { grid-template-columns: 42px 1fr auto; gap: 10px; }
  .role-body { display: block; padding-left: 52px; }
  .role-body > div + div { margin-top: 34px; }

  .quote-block blockquote,
  .quote-block cite,
  .contact-details {
    grid-column: 1 / -1;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .client-logo { min-height: 130px; padding: 18px; }
  .client-logo img { max-width: 92%; max-height: 58px; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 30px; }
  .footer-legal { display: grid; margin-top: 42px; }
}

@media (max-width: 699px) {
  .hero .astra-title {
    --attract-vertical: clamp(72px, 22svh, 210px);
    inset: 19% 20px 15%;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    transform: none;
    font-size: clamp(36px, 11vw, 50px);
  }

  .hero .astra-title span {
    text-align: center;
    animation-name: title-attract-top;
  }

  .hero .astra-title span:last-child {
    text-align: center;
    animation-name: title-attract-bottom;
  }
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}
