:root {
  --navy: #0a1628;
  --navy-deep: #07111f;
  --navy-soft: #11213a;
  --paper: #f7f7f3;
  --paper-warm: #efefe9;
  --white: #f4f7ff;
  --ink: #10141a;
  --muted: #68717e;
  --line: rgba(16, 20, 26, 0.14);
  --line-light: rgba(244, 247, 255, 0.14);
  --mist: rgba(244, 247, 255, 0.64);
  --accent: #b9c9ee;
  --signal: #9cdaa9;
  --pad: clamp(20px, 5vw, 76px);
  --section-space: clamp(100px, 12vw, 176px);
  --max: 1440px;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--navy-deep);
}

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

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

button {
  border: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--white);
  color: var(--navy);
  font: 500 12px/1 var(--mono);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 2px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.site {
  width: 100%;
  overflow: clip;
}

.section-shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section {
  padding-block: var(--section-space);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
  color: var(--mist);
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
}

.eyebrow:has(.status-dot)::before {
  display: none;
}

.eyebrow--dark {
  color: #626a74;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 5px rgba(156, 218, 169, 0.09);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(48px, 10vw, 150px);
  align-items: end;
  margin-bottom: clamp(68px, 8vw, 112px);
}

.section-heading h2,
.process-intro h2,
.profile-copy h2,
.faq-intro h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5.8vw, 88px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading h2 em,
.process-intro h2 em,
.profile-copy h2 em,
.faq-intro h2 em,
.contact-copy h2 em {
  color: #727982;
  font-style: normal;
  font-weight: 300;
}

.section-heading > p {
  max-width: 44ch;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 300;
  line-height: 1.7;
}

.section-heading--light h2 {
  color: var(--white);
}

.section-heading--light h2 em {
  color: rgba(244, 247, 255, 0.46);
}

.section-heading--light > p {
  color: var(--mist);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 82px;
  padding: 20px var(--pad);
  color: var(--white);
  transition: min-height 300ms ease, background 300ms ease, border-color 300ms ease, backdrop-filter 300ms ease;
}

.site-header::after {
  position: absolute;
  inset: auto var(--pad) 0;
  height: 1px;
  background: var(--line-light);
  content: "";
  transition: inset 300ms ease, opacity 300ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(7, 17, 31, 0.84);
  border-bottom: 1px solid rgba(244, 247, 255, 0.08);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.site-header.is-scrolled::after {
  inset-inline: 0;
  opacity: 0;
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-self: start;
  white-space: nowrap;
}

.brand-mark {
  margin-right: 10px;
  color: var(--accent);
  font-size: 14px;
}

.brand-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-role {
  margin-left: 14px;
  padding-left: 14px;
  border-left: 1px solid var(--line-light);
  color: var(--mist);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  gap: clamp(22px, 3vw, 42px);
}

.desktop-nav a {
  position: relative;
  color: var(--mist);
  font: 400 11px/1 var(--mono);
  letter-spacing: 0.08em;
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  inset: auto 0 -9px;
  height: 1px;
  background: var(--white);
  content: "";
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform 240ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  color: var(--white);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-self: end;
  color: var(--white);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.07em;
}

.header-cta span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.header-cta:hover span {
  background: var(--white);
  color: var(--navy);
  transform: rotate(45deg);
}

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

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 142px var(--pad) 34px;
  background: var(--navy);
  color: var(--white);
  isolation: isolate;
}

.hero-grid,
.contact-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(244, 247, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 255, 0.035) 1px, transparent 1px);
  background-size: clamp(56px, 6.5vw, 96px) clamp(56px, 6.5vw, 96px);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 78%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 78%, transparent);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: min(54vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}

.hero-glow--one {
  top: -37%;
  right: -6%;
  background: radial-gradient(circle, rgba(133, 163, 222, 0.17), transparent 66%);
}

.hero-glow--two {
  bottom: -45%;
  left: -16%;
  background: radial-gradient(circle, rgba(104, 141, 198, 0.12), transparent 67%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(400px, 0.88fr);
  gap: clamp(50px, 6vw, 100px);
  align-items: center;
  width: min(100%, calc(var(--max) - (var(--pad) * 2)));
  min-height: calc(100svh - 260px);
  margin-inline: auto;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-copy .eyebrow {
  margin-bottom: clamp(30px, 4vw, 52px);
}

.hero-title {
  max-width: 920px;
  margin: 0;
  font-size: clamp(56px, 7.1vw, 112px);
  font-weight: 300;
  letter-spacing: -0.066em;
  line-height: 0.87;
}

.hero-title .title-indent {
  display: inline-block;
  margin-left: clamp(20px, 6vw, 90px);
}

.hero-title em {
  color: rgba(244, 247, 255, 0.48);
  font-style: normal;
  font-weight: 300;
}

.hero-title strong {
  color: var(--white);
  font-weight: 600;
}

.hero-lede {
  max-width: 60ch;
  margin: clamp(36px, 5vw, 62px) 0 0 clamp(20px, 6vw, 90px);
  color: var(--mist);
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 300;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 34px 0 0 clamp(20px, 6vw, 90px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 18px 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.button--light {
  background: var(--white);
  color: var(--navy-deep);
}

.button-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  transition: transform 220ms ease;
}

.button:hover .button-icon {
  transform: rotate(45deg);
}

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

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding-block: 7px;
  border-bottom: 1px solid var(--line-light);
  color: var(--mist);
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.05em;
  transition: border-color 180ms ease, color 180ms ease;
}

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

.text-link--dark {
  border-color: var(--line);
  color: var(--ink);
}

.text-link--dark:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.system-scene {
  position: relative;
  width: 100%;
  min-height: clamp(480px, 50vw, 670px);
  perspective: 1300px;
  transform-style: preserve-3d;
}

.scene-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(185, 201, 238, 0.16);
  border-radius: 50%;
  transform-style: preserve-3d;
}

.scene-orbit--outer {
  width: 104%;
  aspect-ratio: 1.85;
  transform: translate(-50%, -50%) rotateX(68deg) rotateZ(-12deg);
}

.scene-orbit--inner {
  width: 76%;
  aspect-ratio: 1.55;
  border-color: rgba(156, 218, 169, 0.18);
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(21deg);
}

.system-plane {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 1fr auto;
  width: clamp(270px, 29vw, 430px);
  aspect-ratio: 1.7;
  padding: 18px;
  border: 1px solid rgba(244, 247, 255, 0.22);
  background:
    linear-gradient(90deg, rgba(244, 247, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(244, 247, 255, 0.04) 1px, transparent 1px),
    rgba(9, 22, 40, 0.6);
  background-size: 28px 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  will-change: transform;
}

.system-plane::before,
.system-plane::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--accent);
  content: "";
}

.system-plane::before {
  top: -1px;
  left: -1px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.system-plane::after {
  right: -1px;
  bottom: -1px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.system-plane--one {
  z-index: 4;
  border-color: rgba(185, 201, 238, 0.52);
  transform: translate(-50%, -50%) rotateX(61deg) rotateZ(-9deg) translateZ(112px);
}

.system-plane--two {
  z-index: 3;
  transform: translate(-50%, -50%) rotateX(61deg) rotateZ(-9deg) translateZ(40px);
}

.system-plane--three {
  z-index: 2;
  transform: translate(-50%, -50%) rotateX(61deg) rotateZ(-9deg) translateZ(-32px);
}

.system-plane--four {
  z-index: 1;
  transform: translate(-50%, -50%) rotateX(61deg) rotateZ(-9deg) translateZ(-104px);
}

.plane-index {
  color: var(--accent);
  font: 500 10px/1 var(--mono);
}

.plane-name {
  justify-self: end;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plane-meta {
  grid-column: 1 / -1;
  color: var(--mist);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.scene-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 8;
  display: grid;
  width: 90px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(185, 201, 238, 0.38);
  border-radius: 50%;
  background: rgba(185, 201, 238, 0.08);
  box-shadow: 0 0 60px rgba(185, 201, 238, 0.18);
  transform: translate(-50%, -50%);
}

.scene-core::before,
.scene-core::after {
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(185, 201, 238, 0.17);
  border-radius: 50%;
  content: "";
}

.scene-core::after {
  inset: -30px;
  border-style: dashed;
}

.scene-core span {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 26px rgba(185, 201, 238, 0.78);
}

.scene-caption {
  position: absolute;
  right: 0;
  bottom: 2%;
  display: flex;
  gap: 14px;
  margin: 0;
  color: var(--mist);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scene-caption span {
  color: var(--accent);
}

.hero-foot {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  width: min(100%, calc(var(--max) - (var(--pad) * 2)));
  margin: 16px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.hero-foot > p {
  margin: 0;
  color: var(--mist);
  font: 400 9px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-tags {
  display: flex;
  gap: 22px;
  color: var(--mist);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-tags span + span::before {
  margin-right: 22px;
  color: rgba(244, 247, 255, 0.28);
  content: "/";
}

.scroll-cue {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-self: end;
  color: var(--mist);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 14px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
}

/* Signal strip */
.signal-strip {
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid rgba(10, 22, 40, 0.1);
  border-bottom: 1px solid rgba(10, 22, 40, 0.1);
  background: var(--accent);
  color: var(--navy-deep);
}

.signal-track {
  display: flex;
  width: max-content;
  gap: 28px;
  align-items: center;
  margin: 0;
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-track i {
  font-style: normal;
  font-size: 10px;
}

/* Services */
.services,
.process,
.profile,
.faq {
  background: var(--paper);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 58px minmax(260px, 0.9fr) minmax(280px, 1.05fr) minmax(180px, 0.6fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  padding: clamp(36px, 4vw, 58px) 0;
  border-bottom: 1px solid var(--line);
}

.service-number {
  margin: 6px 0 0;
  color: #858b93;
  font: 400 10px/1 var(--mono);
}

.service-title-wrap {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.service-title-wrap svg {
  flex: 0 0 42px;
  width: 42px;
  fill: none;
  stroke: #7d8590;
  stroke-width: 1;
}

.service-row h3 {
  max-width: 13ch;
  margin: 4px 0 0;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.service-row > p:nth-of-type(2) {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: clamp(15px, 1.15vw, 17px);
  font-weight: 300;
  line-height: 1.7;
}

.service-row ul {
  display: grid;
  gap: 10px;
  margin: 3px 0 0;
  padding: 0;
  color: #4c535c;
  font: 400 10px/1.45 var(--mono);
  letter-spacing: 0.05em;
  list-style: none;
}

.service-row li {
  display: flex;
  gap: 9px;
}

.service-row li::before {
  color: #9097a0;
  content: "↳";
}

/* Cases */
.cases {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
}

.cases::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(244, 247, 255, 0.022) 1px, transparent 1px);
  background-size: 25% 100%;
  content: "";
  pointer-events: none;
}

.case-browser {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.32fr) minmax(0, 1fr);
  min-height: 740px;
  border: 1px solid var(--line-light);
  background: rgba(10, 22, 40, 0.46);
}

.case-tabs {
  border-right: 1px solid var(--line-light);
}

.case-tabs button {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 25%;
  padding: 24px clamp(20px, 2.5vw, 38px);
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  color: var(--mist);
  text-align: left;
  cursor: pointer;
  transition: background 240ms ease, color 240ms ease;
}

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

.case-tabs button::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--accent);
  content: "";
  transform: scaleY(0);
  transition: transform 280ms ease;
}

.case-tabs button:hover,
.case-tabs button[aria-selected="true"] {
  background: rgba(244, 247, 255, 0.045);
  color: var(--white);
}

.case-tabs button[aria-selected="true"]::before {
  transform: scaleY(1);
}

.case-tab-index {
  color: rgba(244, 247, 255, 0.4);
  font: 400 9px/1 var(--mono);
}

.case-tabs button > span:nth-child(2) {
  display: grid;
  gap: 7px;
}

.case-tabs strong {
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.case-tabs small {
  color: var(--mist);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-tabs i {
  font-style: normal;
  transition: transform 240ms ease;
}

.case-tabs button[aria-selected="true"] i {
  transform: rotate(45deg);
}

.case-stage {
  position: relative;
  min-width: 0;
}

.case-panel {
  display: grid;
  grid-template-rows: auto minmax(440px, 1fr) auto;
  height: 100%;
  min-height: 900px;
  padding: clamp(28px, 3vw, 48px);
}

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

.case-panel-top {
  display: flex;
  justify-content: space-between;
  color: var(--mist);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-panel-top p {
  margin: 0;
}

.case-status {
  display: flex;
  gap: 9px;
  align-items: center;
}

.case-status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 14px rgba(156, 218, 169, 0.7);
}

.case-visual {
  position: relative;
  display: grid;
  min-height: 440px;
  overflow: clip;
  place-items: center;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.case-visual::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(74%, 520px);
  aspect-ratio: 1;
  border: 1px solid rgba(185, 201, 238, 0.09);
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%) rotateX(68deg);
}

.visual-badge {
  position: absolute;
  right: 4%;
  bottom: 16%;
  padding: 8px 10px;
  border: 1px solid rgba(185, 201, 238, 0.3);
  background: var(--navy-deep);
  color: var(--accent);
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.11em;
}

.doc-sheet {
  position: absolute;
  width: min(47%, 320px);
  aspect-ratio: 0.78;
  padding: 26px;
  border: 1px solid rgba(244, 247, 255, 0.25);
  background: rgba(17, 33, 58, 0.88);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
  transform-style: preserve-3d;
}

.doc-sheet--back {
  transform: translate3d(-18%, -5%, -90px) rotateY(11deg) rotateZ(-6deg);
  opacity: 0.38;
}

.doc-sheet--front {
  transform: translate3d(10%, 4%, 30px) rotateY(-10deg) rotateZ(4deg);
}

.doc-sheet p {
  margin-bottom: 32px;
  color: var(--accent);
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.13em;
}

.doc-sheet > span {
  display: block;
  height: 1px;
  margin: 17px 0;
  background: rgba(244, 247, 255, 0.18);
}

.doc-sheet > span:nth-of-type(2) {
  width: 73%;
}

.doc-sheet > span:nth-of-type(3) {
  width: 88%;
}

.voice-wave {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 52px;
  margin-top: 30px;
  padding: 0 14px;
  border: 1px solid rgba(185, 201, 238, 0.18);
}

.voice-wave i {
  flex: 1;
  height: var(--wave, 40%);
  background: var(--accent);
}

.voice-wave i:nth-child(2), .voice-wave i:nth-child(6) { --wave: 72%; }
.voice-wave i:nth-child(3), .voice-wave i:nth-child(5) { --wave: 44%; }
.voice-wave i:nth-child(4) { --wave: 90%; }

.tablet-frame {
  position: relative;
  width: min(70%, 490px);
  aspect-ratio: 1.45;
  padding: 20px;
  border: 1px solid rgba(244, 247, 255, 0.3);
  border-radius: 18px;
  background: rgba(17, 33, 58, 0.92);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.34);
  transform: rotateX(5deg) rotateY(-11deg) rotateZ(2deg);
}

.tablet-head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-light);
}

.tablet-head span {
  width: 28%;
  height: 6px;
  background: rgba(244, 247, 255, 0.32);
}

.tablet-head i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.patient-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.patient-slots span {
  padding: 12px;
  border: 1px solid var(--line-light);
  color: var(--mist);
  font: 400 8px/1 var(--mono);
}

.patient-slots span:first-child {
  border-color: rgba(185, 201, 238, 0.55);
  background: rgba(185, 201, 238, 0.09);
  color: var(--white);
}

.stepper {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.stepper > * {
  display: grid;
  min-height: 76px;
  place-items: center;
  border: 1px solid var(--line-light);
  background: transparent;
  color: var(--white);
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.08em;
}

.stepper strong {
  font-size: 11px;
  font-weight: 500;
}

.case-visual--flow svg {
  position: absolute;
  width: min(76%, 580px);
  fill: none;
  stroke: rgba(185, 201, 238, 0.48);
  stroke-width: 1;
}

.flow-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 84px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(244, 247, 255, 0.25);
  background: var(--navy-soft);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.08em;
}

.flow-node--one { left: 13%; top: 40%; transform: rotate(-7deg); }
.flow-node--two { left: 50%; top: 29%; transform: translateX(-50%) scale(1.18); border-color: rgba(185, 201, 238, 0.55); color: var(--accent); }
.flow-node--three { right: 13%; top: 40%; transform: rotate(7deg); }

.browser-card {
  position: absolute;
  width: min(62%, 460px);
  aspect-ratio: 1.4;
  padding: 24px;
  border: 1px solid rgba(244, 247, 255, 0.26);
  background: rgba(17, 33, 58, 0.92);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
}

.browser-card--back {
  transform: translate3d(-18%, -4%, -80px) rotateY(10deg) rotateZ(-5deg);
  opacity: 0.38;
}

.browser-card--front {
  transform: translate3d(9%, 5%, 20px) rotateY(-10deg) rotateZ(3deg);
}

.browser-card span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 13px 0 rgba(244, 247, 255, 0.22), 26px 0 rgba(244, 247, 255, 0.12);
}

.browser-card h4 {
  margin: 46px 0 28px;
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.browser-card i {
  display: block;
  width: 62%;
  height: 1px;
  margin-top: 11px;
  background: rgba(244, 247, 255, 0.18);
}

.browser-card i:nth-of-type(2) { width: 82%; }
.browser-card i:nth-of-type(3) { width: 48%; }

.case-copy {
  display: grid;
  grid-template-columns: 0.42fr minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(24px, 3vw, 54px);
  align-items: start;
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
}

.case-kicker {
  margin: 7px 0 0;
  color: var(--accent);
  font: 500 8px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-copy h3 {
  margin: 0;
  font-size: clamp(28px, 3.1vw, 45px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.case-project-link {
  display: flex;
  gap: 8px;
  align-items: center;
  width: max-content;
  margin-top: 22px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(244, 247, 255, 0.34);
  color: var(--accent);
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 180ms ease, color 180ms ease;
}

.case-project-link:hover {
  border-color: var(--white);
  color: var(--white);
}

.case-facts {
  display: grid;
  gap: 19px;
}

.case-facts div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
}

.case-facts span {
  padding-top: 4px;
  color: rgba(244, 247, 255, 0.42);
  font: 400 8px/1.2 var(--mono);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.case-facts p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
}

.case-stack {
  grid-column: 3;
  margin: 7px 0 0 96px;
  color: rgba(244, 247, 255, 0.4);
  font: 400 8px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Process */
.process {
  background: var(--paper-warm);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(500px, 1.2fr);
  gap: clamp(70px, 12vw, 190px);
}

.process-intro {
  align-self: start;
  position: sticky;
  top: 120px;
}

.process-intro h2 {
  margin-bottom: 32px;
}

.process-intro > p:not(.eyebrow) {
  max-width: 43ch;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
}

.process-steps {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-step {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: clamp(22px, 3vw, 46px);
  padding: clamp(34px, 4vw, 54px) 0;
  border-bottom: 1px solid var(--line);
}

.process-step > span {
  margin-top: 5px;
  color: #858b93;
  font: 400 9px/1 var(--mono);
}

.process-step h3 {
  margin: 0 0 13px;
  font-size: clamp(25px, 2.6vw, 38px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.process-step p {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.process-step small {
  margin-top: 7px;
  color: #777e87;
  font: 400 8px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Principles */
.principles {
  position: relative;
  padding-block: var(--section-space);
  background: var(--navy);
  color: var(--white);
}

.principles::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 50%, rgba(185, 201, 238, 0.1), transparent 38%);
  content: "";
}

.principle-list {
  position: relative;
  border-top: 1px solid var(--line-light);
}

.principle {
  display: grid;
  grid-template-columns: 60px minmax(260px, 0.8fr) minmax(300px, 1fr);
  gap: clamp(30px, 7vw, 110px);
  align-items: baseline;
  padding: clamp(36px, 5vw, 68px) 0;
  border-bottom: 1px solid var(--line-light);
}

.principle > span {
  color: var(--accent);
  font: 400 9px/1 var(--mono);
}

.principle h3 {
  margin: 0;
  font-size: clamp(36px, 5.2vw, 78px);
  font-weight: 300;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.principle p {
  max-width: 54ch;
  margin: 0;
  color: var(--mist);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 300;
  line-height: 1.7;
}

/* Profile */
.profile-grid {
  display: grid;
  grid-template-columns: minmax(380px, 0.88fr) minmax(430px, 1.12fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: center;
}

.portrait-scene {
  position: relative;
  min-height: min(70vw, 760px);
  perspective: 1200px;
  transform-style: preserve-3d;
}

.portrait-frame {
  position: absolute;
  inset: 5% 8%;
  overflow: hidden;
  background: #243247;
  box-shadow: 0 45px 90px rgba(10, 22, 40, 0.17);
  transform-style: preserve-3d;
  will-change: transform;
}

.portrait-bg,
.portrait-fg {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  object-fit: cover;
  will-change: transform;
}

.portrait-fg {
  z-index: 3;
  /* Slightly closer than the background layer to hide cut-out edge doubling. */
  inset: -4.59%;
  width: 109.18%;
  height: 109.18%;
}

.portrait-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(244, 247, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 255, 0.09) 1px, transparent 1px);
  background-size: 25% 25%;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 70%);
}

.portrait-light {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.2), transparent 26%, transparent 68%, rgba(10, 22, 40, 0.14));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.portrait-label {
  position: absolute;
  z-index: 6;
  display: grid;
  gap: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--ink);
  font-family: var(--mono);
}

.portrait-label--top {
  top: 0;
  left: 0;
}

.portrait-label--bottom {
  right: 0;
  bottom: 0;
  text-align: right;
  border-right: 1px solid var(--ink);
  border-left: 0;
  padding-right: 12px;
  padding-left: 0;
}

.portrait-label span {
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.portrait-label strong {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.portrait-label small {
  color: var(--muted);
  font: 400 8px/1.35 var(--mono);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.profile-copy h2 {
  margin-bottom: 40px;
}

.profile-copy > p:not(.eyebrow) {
  max-width: 59ch;
  color: var(--muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
}

.profile-copy .profile-lede {
  color: var(--ink);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.55;
}

.profile-facts {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.profile-facts div {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.profile-facts span {
  color: #7d848d;
  font: 400 8px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-facts strong {
  font-size: 14px;
  font-weight: 500;
}

.profile-links {
  display: flex;
  gap: 28px;
  margin-top: 30px;
}

.profile-links a {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--line);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* FAQ */
.faq {
  padding-top: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(500px, 1.25fr);
  gap: clamp(70px, 12vw, 190px);
}

.faq-intro h2 {
  font-size: clamp(38px, 4.8vw, 68px);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  width: 100%;
  padding: 27px 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.faq-item button i {
  position: relative;
  width: 17px;
  height: 17px;
}

.faq-item button i::before,
.faq-item button i::after {
  position: absolute;
  top: 8px;
  left: 2px;
  width: 13px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: transform 220ms ease;
}

.faq-item button i::after {
  transform: rotate(90deg);
}

.faq-item button[aria-expanded="true"] i::after {
  transform: rotate(0deg);
}

.faq-answer {
  overflow: hidden;
}

.faq-answer > div {
  padding: 0 54px 28px 0;
}

.faq-answer p {
  max-width: 63ch;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
}

/* Contact */
.contact {
  position: relative;
  padding-block: var(--section-space);
  background: var(--navy-deep);
  color: var(--white);
  isolation: isolate;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(500px, 1.1fr);
  gap: clamp(70px, 10vw, 160px);
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 38px;
}

.contact-copy h2 em {
  color: rgba(244, 247, 255, 0.44);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 52ch;
  color: var(--mist);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.75;
}

.contact-mail {
  display: flex;
  justify-content: space-between;
  max-width: 430px;
  margin-top: 45px;
  padding: 17px 0;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  font: 400 clamp(16px, 1.6vw, 22px)/1 var(--mono);
  letter-spacing: -0.02em;
}

.contact-mail span {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 26px;
  padding: clamp(28px, 4vw, 54px);
  border: 1px solid var(--line-light);
  background: rgba(17, 33, 58, 0.64);
  backdrop-filter: blur(14px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--mist);
  font: 400 9px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form label > span {
  color: rgba(244, 247, 255, 0.34);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-light);
  border-radius: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font: 300 15px/1.5 var(--sans);
  text-transform: none;
  transition: border-color 180ms ease;
}

.contact-form input {
  height: 46px;
}

.contact-form textarea {
  min-height: 112px;
  padding: 11px 0;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(244, 247, 255, 0.32);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.form-submit {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 4px;
}

.form-submit p {
  margin: 0;
  color: rgba(244, 247, 255, 0.36);
  font: 400 8px/1.6 var(--mono);
  letter-spacing: 0.03em;
}

.form-status {
  min-height: 1.4em;
  margin: -10px 0 0;
  color: var(--accent);
  font: 400 9px/1.4 var(--mono);
}

/* Footer */
.site-footer {
  padding: 58px var(--pad) 28px;
  background: var(--navy-deep);
  color: var(--white);
}

.footer-top,
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100%, calc(var(--max) - (var(--pad) * 2)));
  margin-inline: auto;
}

.footer-top {
  padding-bottom: 52px;
}

.footer-top > p {
  margin: 0;
  color: var(--mist);
  font-size: 14px;
}

.footer-top > a:last-child {
  display: flex;
  gap: 10px;
  justify-self: end;
  color: var(--mist);
  font: 400 9px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  color: rgba(244, 247, 255, 0.38);
  font: 400 8px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom > p:last-child {
  justify-self: end;
}

.footer-bottom > div {
  display: flex;
  gap: 24px;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  }

  .hero-title {
    font-size: clamp(54px, 7.6vw, 92px);
  }

  .service-row {
    grid-template-columns: 42px minmax(230px, 0.9fr) minmax(260px, 1fr);
  }

  .service-row ul {
    grid-column: 3;
    margin-top: -18px;
  }

  .case-copy {
    grid-template-columns: 0.35fr 1fr;
  }

  .case-facts {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
  }

  .case-stack {
    grid-column: 1 / -1;
    margin-left: 0;
  }
}

@media (min-width: 981px) and (max-height: 800px) {
  .hero {
    padding-top: 108px;
    padding-bottom: 24px;
  }

  .hero-inner {
    min-height: calc(100svh - 205px);
  }

  .hero-copy .eyebrow {
    margin-bottom: 24px;
  }

  .hero-title {
    font-size: clamp(52px, 6.1vw, 82px);
  }

  .hero-lede {
    margin-top: 28px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .system-scene {
    min-height: 460px;
  }

  .hero-foot {
    margin-top: 2px;
    padding-top: 17px;
  }
}

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

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

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line-light);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span {
    position: absolute;
    width: 15px;
    height: 1px;
    background: var(--white);
    transition: transform 240ms ease;
  }

  .menu-toggle span:first-child {
    transform: translateY(-3px);
  }

  .menu-toggle span:last-child {
    transform: translateY(3px);
  }

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

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

  .mobile-menu {
    position: fixed;
    inset: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    padding: 130px var(--pad) 42px;
    background: var(--navy-deep);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-menu nav {
    display: grid;
    align-content: center;
  }

  .mobile-menu nav a {
    display: grid;
    grid-template-columns: 42px 1fr;
    padding: 18px 0;
    border-bottom: 1px solid var(--line-light);
    font-size: clamp(30px, 7vw, 54px);
    font-weight: 300;
    letter-spacing: -0.04em;
  }

  .mobile-menu nav a span {
    margin-top: 8px;
    color: var(--accent);
    font: 400 8px/1 var(--mono);
  }

  .mobile-menu > p {
    margin: 0;
    color: var(--mist);
    font: 400 9px/1.7 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .hero {
    padding-top: 132px;
  }

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

  .hero-title {
    max-width: 850px;
    font-size: clamp(58px, 11.5vw, 104px);
  }

  .hero-lede {
    max-width: 53ch;
  }

  .system-scene {
    min-height: 550px;
    margin-top: -20px;
  }

  .system-plane {
    width: min(54vw, 460px);
  }

  .scene-caption {
    right: 7%;
  }

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

  .hero-tags {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .case-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line-light);
  }

  .case-tabs button {
    grid-template-columns: 1fr;
    gap: 11px;
    min-height: 120px;
    padding: 18px;
    border-right: 1px solid var(--line-light);
    border-bottom: 0;
  }

  .case-tabs button::before {
    inset: auto 0 0;
    width: auto;
    height: 2px;
    transform: scaleX(0);
  }

  .case-tabs button[aria-selected="true"]::before {
    transform: scaleX(1);
  }

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

  .case-tabs i {
    display: none;
  }

  .case-panel {
    min-height: 720px;
  }

  .process-grid,
  .profile-grid,
  .faq-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .process-intro {
    position: static;
  }

  .process-grid,
  .faq-grid {
    gap: 70px;
  }

  .profile-grid,
  .contact-shell {
    gap: 90px;
  }

  .portrait-scene {
    width: min(100%, 660px);
    min-height: 760px;
    margin-inline: auto;
  }

  .profile-copy {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  :root {
    --section-space: 92px;
  }

  .site-header {
    min-height: 72px;
    padding-block: 15px;
  }

  .site-header::after {
    inset-inline: var(--pad);
  }

  .brand-role {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 118px var(--pad) 28px;
  }

  .hero-inner {
    gap: 10px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 28px;
  }

  .hero-title {
    font-size: clamp(48px, 15vw, 74px);
    line-height: 0.91;
  }

  .hero-title .title-indent,
  .hero-lede,
  .hero-actions {
    margin-left: 0;
  }

  .hero-title .title-indent {
    margin-top: 4px;
  }

  .hero-lede {
    margin-top: 36px;
    font-size: 16px;
  }

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

  .system-scene {
    min-height: 410px;
    margin-top: 18px;
  }

  .system-plane {
    width: min(72vw, 340px);
    padding: 13px;
  }

  .system-plane--one { transform: translate(-50%, -50%) rotateX(61deg) rotateZ(-9deg) translateZ(84px); }
  .system-plane--two { transform: translate(-50%, -50%) rotateX(61deg) rotateZ(-9deg) translateZ(28px); }
  .system-plane--three { transform: translate(-50%, -50%) rotateX(61deg) rotateZ(-9deg) translateZ(-28px); }
  .system-plane--four { transform: translate(-50%, -50%) rotateX(61deg) rotateZ(-9deg) translateZ(-84px); }

  .scene-core {
    width: 66px;
  }

  .scene-caption {
    right: 0;
    bottom: 0;
  }

  .hero-foot > p {
    max-width: 22ch;
  }

  .section-heading h2,
  .process-intro h2,
  .profile-copy h2,
  .contact-copy h2 {
    font-size: clamp(42px, 12.5vw, 66px);
  }

  .service-row {
    grid-template-columns: 30px 1fr;
    gap: 24px;
  }

  .service-title-wrap,
  .service-row > p:nth-of-type(2),
  .service-row ul {
    grid-column: 2;
  }

  .service-row ul {
    margin-top: 0;
  }

  .service-title-wrap {
    display: grid;
    gap: 17px;
  }

  .service-title-wrap svg {
    width: 36px;
  }

  .case-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-tabs button {
    min-height: 105px;
    border-bottom: 1px solid var(--line-light);
  }

  .case-tabs button:nth-child(2) {
    border-right: 0;
  }

  .case-tabs button:nth-child(3),
  .case-tabs button:nth-child(4) {
    border-bottom: 0;
  }

  .case-panel {
    grid-template-rows: auto minmax(300px, auto) auto;
    min-height: 0;
    padding: 24px 18px 30px;
  }

  .case-visual {
    min-height: 340px;
  }

  .doc-sheet {
    width: min(60%, 270px);
    padding: 18px;
  }

  .tablet-frame {
    width: 84%;
  }

  .flow-node--one { left: 4%; }
  .flow-node--three { right: 4%; }

  .browser-card {
    width: 76%;
  }

  .visual-badge {
    right: 0;
    bottom: 9%;
  }

  .case-copy {
    grid-template-columns: 1fr;
  }

  .case-facts {
    grid-column: 1;
    grid-template-columns: 1fr;
  }

  .case-stack {
    grid-column: 1;
  }

  .process-step {
    grid-template-columns: 26px 1fr;
  }

  .process-step small {
    grid-column: 2;
  }

  .principle {
    grid-template-columns: 30px 1fr;
    gap: 20px;
  }

  .principle p {
    grid-column: 2;
  }

  .portrait-scene {
    min-height: min(125vw, 680px);
  }

  .portrait-frame {
    inset: 5% 4%;
  }

  .profile-facts div {
    grid-template-columns: 0.42fr 1fr;
  }

  .faq-grid,
  .profile-grid,
  .contact-shell {
    gap: 68px;
  }

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

  .contact-form {
    padding: 26px 20px;
  }

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr auto;
  }

  .footer-top > p {
    display: none;
  }

  .footer-bottom > div {
    grid-row: 2;
    margin-top: 18px;
  }

  .footer-bottom > p:last-child {
    align-self: start;
  }
}

@media (max-width: 440px) {
  .hero-title {
    font-size: clamp(44px, 14.1vw, 62px);
  }

  .hero-title .title-indent {
    margin-left: 10px;
  }

  .system-scene {
    min-height: 360px;
  }

  .system-plane {
    width: 76vw;
  }

  .plane-meta {
    display: none;
  }

  .scene-caption {
    display: none;
  }

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

  .scroll-cue span {
    display: none;
  }

  .case-tabs strong {
    font-size: 14px;
  }

  .case-tabs small {
    font-size: 7px;
  }

  .case-visual {
    min-height: 300px;
  }

  .doc-sheet {
    width: 64%;
  }

  .tablet-frame {
    width: 94%;
    padding: 13px;
  }

  .stepper > * {
    min-height: 58px;
  }

  .flow-node {
    width: 66px;
  }

  .case-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .principle h3 {
    font-size: 36px;
  }

  .profile-facts div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .profile-links {
    flex-wrap: wrap;
  }

  .contact-mail {
    font-size: 15px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-bottom > p:last-child {
    justify-self: start;
  }

  .footer-bottom > div {
    grid-row: auto;
    margin: 0;
  }
}

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

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

/* ============================================================
   v2 — Forward Deployed Strategist
   ============================================================ */

/* Hero proof strip (ersetzt hero-tags) */
.hero-foot {
  grid-template-columns: 1fr auto;
  gap: 24px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
}

.proof-item {
  display: grid;
  gap: 8px;
  align-content: start;
}

.proof-item strong {
  color: var(--white);
  font: 600 clamp(17px, 1.8vw, 24px)/1 var(--sans);
  letter-spacing: -0.01em;
}

.proof-item span {
  max-width: 300px;
  color: var(--mist);
  font: 400 9px/1.6 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* FDS-Sektion */
.fds {
  position: relative;
  background: var(--navy);
  color: var(--white);
}

.fds-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 28px);
  margin-top: clamp(40px, 5vw, 72px);
}

.fds-card {
  position: relative;
  padding: clamp(24px, 2.6vw, 38px);
  border: 1px solid var(--line-light);
  background: rgba(17, 33, 58, 0.5);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.fds-card:hover {
  border-color: rgba(185, 201, 238, 0.45);
  background: rgba(17, 33, 58, 0.85);
}

.fds-card > span {
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font: 500 10px/1 var(--mono);
  letter-spacing: 0.14em;
}

.fds-card h3 {
  margin: 0 0 14px;
  font: 500 clamp(19px, 1.7vw, 23px)/1.25 var(--sans);
  letter-spacing: -0.01em;
}

.fds-card p {
  margin: 0;
  color: var(--mist);
  font-size: 15px;
  line-height: 1.65;
}

.fds-note {
  max-width: 760px;
  margin: clamp(36px, 4vw, 56px) 0 0;
  padding: 22px 26px;
  border-left: 1px solid var(--accent);
  background: rgba(185, 201, 238, 0.06);
  color: var(--mist);
  font-size: 15px;
  line-height: 1.7;
}

.fds-note i {
  color: var(--white);
  font-style: italic;
}

/* Case-Visual: Mail-Autonomie */
.case-visual--mail .mail-inbox,
.case-visual--mail .mail-draft {
  position: absolute;
  padding: 24px;
  border: 1px solid rgba(244, 247, 255, 0.25);
  background: rgba(17, 33, 58, 0.88);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
  transform-style: preserve-3d;
}

.case-visual--mail .mail-inbox {
  width: min(46%, 300px);
  transform: translate3d(-32%, -8%, -70px) rotateY(9deg) rotateZ(-4deg);
  opacity: 0.55;
}

.case-visual--mail .mail-draft {
  width: min(48%, 320px);
  transform: translate3d(22%, 6%, 30px) rotateY(-9deg) rotateZ(3deg);
}

.case-visual--mail .mail-inbox p,
.case-visual--mail .mail-draft p {
  margin: 0 0 22px;
  color: var(--accent);
  font: 500 8px/1 var(--mono);
  letter-spacing: 0.13em;
}

.mail-row {
  display: grid;
  grid-template-columns: 8px 1fr 34%;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid rgba(244, 247, 255, 0.14);
}

.mail-row i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.mail-row.is-read i {
  background: rgba(244, 247, 255, 0.25);
}

.mail-row span {
  display: block;
  height: 1px;
  background: rgba(244, 247, 255, 0.22);
}

.mail-row.is-read span {
  background: rgba(244, 247, 255, 0.12);
}

.mail-draft > span {
  display: block;
  height: 1px;
  margin: 15px 0;
  background: rgba(244, 247, 255, 0.18);
}

.mail-draft > span:nth-of-type(2) { width: 82%; }
.mail-draft > span:nth-of-type(3) { width: 64%; }

.mail-approve {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 26px;
  padding: 11px 14px;
  border: 1px solid rgba(156, 218, 169, 0.5);
  background: rgba(156, 218, 169, 0.1);
  color: var(--signal);
  font: 500 9px/1 var(--mono);
  letter-spacing: 0.12em;
}

.mail-approve b {
  font-weight: 500;
}

/* Legal-Seiten (Impressum / Datenschutz) */
.legal-main {
  min-height: 60vh;
  padding: 140px var(--pad) var(--section-space);
  background: var(--paper);
}

.legal-shell {
  max-width: 720px;
  margin-inline: auto;
}

.legal-shell h1 {
  margin: 0 0 12px;
  font: 300 clamp(34px, 5vw, 52px)/1.1 var(--sans);
  letter-spacing: -0.02em;
}

.legal-shell h2 {
  margin: 44px 0 12px;
  font: 500 20px/1.3 var(--sans);
}

.legal-shell p,
.legal-shell li {
  color: rgba(16, 20, 26, 0.78);
  font-size: 15px;
  line-height: 1.7;
}

.legal-shell a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  margin-top: 56px;
  color: var(--muted);
  font: 400 10px/1.4 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-todo {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed #b0413e;
  color: #b0413e;
  font: 500 13px/1.6 var(--mono);
}

/* Responsive v2 */
@media (max-width: 980px) {
  .hero-foot {
    grid-template-columns: 1fr;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .proof-item {
    grid-template-columns: minmax(72px, auto) 1fr;
    gap: 14px;
    align-items: baseline;
  }

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

  .case-visual--mail .mail-inbox {
    transform: translate3d(-26%, -10%, -70px) rotateY(9deg) rotateZ(-4deg);
  }

  .case-visual--mail .mail-draft {
    transform: translate3d(16%, 8%, 30px) rotateY(-9deg) rotateZ(3deg);
  }
}

@media (max-width: 640px) {
  .case-visual--mail .mail-inbox {
    width: 62%;
    transform: translate3d(-18%, -12%, -40px) rotateZ(-3deg);
  }

  .case-visual--mail .mail-draft {
    width: 68%;
    transform: translate3d(12%, 10%, 20px) rotateZ(2deg);
  }

  .legal-main {
    padding-top: 120px;
  }
}
