:root {
  --ink: #07111f;
  --ink-soft: #0c1a2c;
  --ink-lighter: #12243a;
  --paper: #f3f4ef;
  --paper-bright: #fbfcf7;
  --paper-deep: #e7e9e2;
  --text-on-dark: #f5f8f3;
  --muted-on-dark: #9aa9b8;
  --text: #102033;
  --muted: #5c6b72;
  --line-dark: rgba(213, 229, 236, 0.14);
  --line-light: rgba(14, 38, 57, 0.13);
  --cyan: #76e5e6;
  --cyan-deep: #2fbbc2;
  --lime: #c6f06a;
  --violet: #a79bff;
  --coral: #ff9a81;
  --shadow: 0 24px 65px rgba(1, 10, 20, 0.17);
  --shell: min(1180px, calc(100vw - 48px));
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at 20% -10%, rgba(72, 189, 203, 0.13), transparent 31rem),
    radial-gradient(circle at 90% 9%, rgba(135, 103, 238, 0.12), transparent 28rem),
    var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  background-image:
    linear-gradient(rgba(180, 220, 227, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180, 220, 227, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%);
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  color: inherit;
  font: inherit;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--cyan);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.light-section {
  color: var(--text);
  background:
    radial-gradient(circle at 80% 20%, rgba(116, 224, 224, 0.11), transparent 24rem),
    var(--paper);
}

.eyebrow,
.micro-label {
  color: var(--cyan-deep);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 28px;
  height: 1px;
  margin: 0 8px 4px;
  background: currentColor;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, var(--cyan) 4%, var(--lime) 91%);
  -webkit-background-clip: text;
  background-clip: text;
}

.page-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.03);
}

.page-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--lime));
}

.ambient-orb {
  position: fixed;
  z-index: -2;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  opacity: 0.13;
  filter: blur(80px);
  pointer-events: none;
}

.ambient-orb-one {
  top: 13vh;
  left: -10rem;
  background: var(--cyan);
}

.ambient-orb-two {
  right: -10rem;
  bottom: 15vh;
  background: var(--violet);
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  width: 100%;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid transparent;
  transition:
    min-height 220ms ease,
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  background: rgba(5, 15, 27, 0.82);
  border-color: var(--line-dark);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 35px;
  height: 35px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  border-radius: 10px;
  font-size: 0.7rem;
  letter-spacing: -0.05em;
  place-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a {
  color: #bbc8d0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 180ms ease;
}

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

.site-nav .nav-cta {
  padding: 9px 15px;
  color: var(--text-on-dark);
  border: 1px solid rgba(167, 222, 225, 0.28);
  border-radius: 999px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--ink);
  background: var(--cyan);
}

.menu-toggle {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 34px 50px;
  min-height: calc(100vh - 76px);
  min-height: calc(100svh - 76px);
  align-items: center;
  padding-block: 72px 46px;
}

.hero-copy {
  max-width: 680px;
}

.hero h1 {
  max-width: 710px;
  margin-bottom: 24px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(3.8rem, 6.2vw, 6.65rem);
  font-weight: 700;
  letter-spacing: -0.084em;
  line-height: 0.98;
}

.hero-summary {
  max-width: 650px;
  margin-bottom: 30px;
  color: #b9c7d0;
  font-size: clamp(1rem, 1.9vw, 1.14rem);
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: var(--cyan);
  box-shadow: 0 12px 28px rgba(74, 200, 205, 0.19);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--lime);
  box-shadow: 0 14px 34px rgba(183, 232, 82, 0.18);
}

.button-ghost {
  color: #d2dce0;
  border-color: rgba(213, 229, 236, 0.18);
  background: rgba(255, 255, 255, 0.025);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--cyan);
  border-color: rgba(113, 224, 225, 0.45);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 23px;
}

.hero-note p {
  margin: 0;
  color: #8295a5;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(193, 238, 106, 0.1);
}

.hero-system {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(187, 219, 228, 0.16);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 54%),
    rgba(7, 20, 34, 0.84);
  border-radius: 26px;
  box-shadow: 0 30px 75px rgba(0, 4, 11, 0.29);
}

.hero-system::before,
.visual-construction::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(161, 211, 220, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(161, 211, 220, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
}

.system-topbar,
.system-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 20px;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(3, 11, 21, 0.35);
}

.system-topbar p {
  margin: 4px 0 0;
  color: #c9d6dd;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.94rem;
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #b8c7d0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-pill i {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--lime);
}

.system-map {
  position: relative;
  min-height: 375px;
}

.map-node {
  position: absolute;
  z-index: 2;
  display: flex;
  width: 174px;
  align-items: center;
  gap: 9px;
  padding: 11px;
  border: 1px solid rgba(160, 211, 219, 0.2);
  background: rgba(9, 29, 46, 0.91);
  border-radius: 12px;
  box-shadow: 0 11px 23px rgba(0, 7, 15, 0.26);
  animation: node-float 5s ease-in-out infinite;
}

.map-node p {
  margin: 0 0 2px;
  color: #e3eff0;
  font-size: 0.68rem;
  font-weight: 800;
}

.map-node small {
  display: block;
  color: #8094a3;
  font-size: 0.52rem;
  line-height: 1.35;
}

.node-icon {
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: var(--cyan);
  background: rgba(117, 225, 226, 0.08);
  border: 1px solid rgba(117, 225, 226, 0.24);
  border-radius: 8px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.59rem;
  font-style: normal;
  font-weight: 700;
  place-items: center;
}

.node-icon.accent {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}

.node-intake {
  top: 74px;
  left: 25px;
}

.node-ai {
  top: 184px;
  left: calc(50% - 87px);
  animation-delay: -1.4s;
}

.node-team {
  top: 62px;
  right: 22px;
  animation-delay: -2.4s;
}

.node-update {
  right: 38px;
  bottom: 24px;
  animation-delay: -3.6s;
}

.map-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(112, 224, 226, 0.1), rgba(112, 224, 226, 0.82), rgba(112, 224, 226, 0.1));
  transform-origin: left center;
}

.map-line::after {
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  content: "";
  animation: line-travel 3.3s linear infinite;
}

.map-line-one {
  top: 139px;
  left: 183px;
  width: 145px;
  transform: rotate(38deg);
}

.map-line-two {
  top: 144px;
  left: 337px;
  width: 136px;
  transform: rotate(-40deg);
}

.map-line-two::after {
  animation-delay: -1.1s;
}

.map-line-three {
  top: 247px;
  left: 310px;
  width: 158px;
  transform: rotate(27deg);
}

.map-line-three::after {
  animation-delay: -1.9s;
}

.map-line-four {
  top: 132px;
  left: 118px;
  width: 180px;
  transform: rotate(60deg);
}

.map-line-four::after {
  animation-delay: -2.4s;
}

.map-line-five {
  top: 126px;
  right: 93px;
  width: 180px;
  transform: rotate(76deg);
}

.map-line-five::after {
  animation-delay: -0.7s;
}

.system-footer {
  border-top: 1px solid var(--line-dark);
  border-bottom: 0;
}

.system-metric {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.system-metric strong {
  color: var(--cyan);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.06em;
}

.system-metric span {
  color: #778a99;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
}

.hero-bottom p {
  max-width: 430px;
  margin: 0;
  color: #8497a6;
  font-size: 0.73rem;
  line-height: 1.6;
}

.hero-bottom ul,
.tools-row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.hero-bottom li,
.tools-row li {
  padding: 7px 10px;
  border: 1px solid rgba(184, 211, 217, 0.14);
  color: #afbec7;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.intro,
.problems,
.toolkit {
  padding-block: 118px;
}

.section-heading {
  max-width: 730px;
}

.section-heading h2,
.about-copy h2,
.contact-card h2,
.case-dialog h2 {
  margin-bottom: 20px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  letter-spacing: -0.075em;
  line-height: 1.01;
}

.section-heading p:last-child {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-heading-dark p:last-child {
  color: var(--muted-on-dark);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 52px;
}

.service-card {
  position: relative;
  min-height: 354px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.48);
  border-radius: var(--radius-md);
  transition:
    transform 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 21px 46px rgba(16, 44, 52, 0.09);
  transform: translateY(-7px);
}

.card-number {
  position: absolute;
  top: 19px;
  right: 19px;
  color: rgba(26, 59, 70, 0.38);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-icon {
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 49px;
  background: #dff7f1;
  border-radius: 16px;
}

.service-icon span {
  display: block;
  width: 7px;
  height: 7px;
  background: var(--cyan-deep);
  border-radius: 50%;
}

.service-icon span:nth-child(2) {
  width: 14px;
  height: 14px;
  background: #11546c;
}

.service-icon-flow {
  background: #e7e4fc;
}

.service-icon-flow span {
  width: 9px;
  height: 9px;
  background: var(--violet);
  border-radius: 2px;
  transform: rotate(45deg);
}

.service-icon-flow span:nth-child(2) {
  width: 17px;
  height: 17px;
  background: #6756c2;
}

.service-icon-prototype {
  background: #edf3ce;
}

.service-icon-prototype span {
  width: 6px;
  height: 21px;
  background: #8eb93a;
  border-radius: 3px;
}

.service-icon-prototype span:nth-child(2) {
  width: 6px;
  height: 32px;
  background: #4d711b;
}

.service-card h3,
.toolkit-card h3 {
  margin-bottom: 12px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.28rem;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.service-card p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.84rem;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.service-card li {
  padding: 5px 8px;
  color: #41626a;
  background: #e7efea;
  border-radius: 999px;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.work {
  padding-block: 121px 126px;
}

.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 40px 0 18px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-button {
  padding: 8px 11px;
  color: #98a9b4;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.is-active {
  color: var(--ink);
  background: var(--cyan);
  border-color: var(--cyan);
}

.work-toolbar p {
  margin: 0;
  color: #8194a1;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-toolbar p span {
  color: var(--cyan);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: rgba(13, 31, 50, 0.8);
  border-radius: var(--radius-md);
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    opacity 240ms ease;
}

.project-card:hover {
  border-color: rgba(117, 225, 226, 0.34);
  box-shadow: 0 26px 56px rgba(0, 4, 10, 0.2);
  transform: translateY(-7px);
}

.project-card.is-hidden {
  display: none;
}

.project-card-featured {
  grid-column: 1 / -1;
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 242px;
  overflow: hidden;
  background: #11243a;
  place-items: center;
}

.project-card-featured .project-visual {
  min-height: 330px;
}

.project-content {
  padding: 22px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #8295a4;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-status {
  padding: 4px 7px;
  color: var(--lime);
  border: 1px solid rgba(196, 239, 105, 0.24);
  background: rgba(196, 239, 105, 0.06);
  border-radius: 999px;
}

.project-card h3 {
  margin-bottom: 10px;
  color: #edf5f3;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.54rem;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

.project-card p {
  margin-bottom: 21px;
  color: #9fb0bb;
  font-size: 0.85rem;
}

.project-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 13px;
}

.project-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.project-footer li {
  color: #8195a3;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-footer li + li::before {
  margin-right: 6px;
  color: var(--cyan);
  content: "/";
}

.text-button {
  flex: 0 0 auto;
  padding: 0;
  color: var(--cyan);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

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

.visual-maintenance {
  background:
    radial-gradient(circle at 78% 15%, rgba(114, 225, 226, 0.18), transparent 25rem),
    #0f2237;
}

.visual-window {
  width: min(82%, 680px);
  overflow: hidden;
  border: 1px solid rgba(175, 215, 223, 0.19);
  background: #0c1b2b;
  border-radius: 12px;
  box-shadow: 0 21px 45px rgba(0, 3, 9, 0.3);
  transform: rotate(-2deg);
}

.visual-header {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 6px;
  padding-inline: 12px;
  border-bottom: 1px solid rgba(164, 203, 211, 0.14);
}

.visual-header span {
  width: 6px;
  height: 6px;
  background: rgba(179, 211, 216, 0.27);
  border-radius: 50%;
}

.visual-header small {
  margin-left: auto;
  color: #6f8998;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.09em;
}

.visual-maintenance-body {
  display: grid;
  grid-template-columns: 45px 1fr;
  min-height: 188px;
}

.visual-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 15px;
  background: rgba(3, 10, 19, 0.25);
  border-right: 1px solid rgba(164, 203, 211, 0.11);
}

.visual-sidebar i {
  width: 11px;
  height: 11px;
  background: #2c495c;
  border-radius: 4px;
}

.visual-sidebar i:nth-child(2) {
  background: var(--cyan-deep);
}

.visual-panel {
  padding: 16px;
}

.mini-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bcd0d7;
}

.mini-title span {
  width: 20px;
  height: 20px;
  background: rgba(118, 229, 230, 0.13);
  border: 1px solid rgba(118, 229, 230, 0.31);
  border-radius: 6px;
}

.mini-message {
  width: 73%;
  margin: 13px 0 10px;
  padding: 9px 10px;
  color: #b5c6cf;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 7px;
  font-size: 0.62rem;
}

.mini-ai-row {
  display: flex;
  max-width: 82%;
  gap: 7px;
  padding: 9px 10px;
  color: #a8bdc6;
  border: 1px solid rgba(190, 235, 115, 0.16);
  background: rgba(190, 235, 115, 0.05);
  border-radius: 7px;
  font-size: 0.54rem;
}

.mini-ai-row b {
  color: var(--lime);
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 13px;
}

.mini-tags i {
  padding: 4px 6px;
  color: #78909d;
  border: 1px solid rgba(155, 195, 203, 0.15);
  border-radius: 999px;
  font-size: 0.45rem;
  font-style: normal;
}

.visual-intake {
  background:
    linear-gradient(135deg, rgba(117, 225, 226, 0.1), transparent 64%),
    #132c3f;
}

.phone-shell {
  width: 175px;
  margin-top: 34px;
  padding: 8px 12px 17px;
  background: #eef3ec;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 10px 30px rgba(0, 4, 11, 0.2);
}

.phone-top {
  display: flex;
  justify-content: center;
  padding: 3px 0 13px;
}

.phone-top span {
  width: 38px;
  height: 4px;
  background: #c5cec8;
  border-radius: 999px;
}

.phone-shell small {
  color: #4a747d;
  font-size: 0.44rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.phone-shell h4 {
  margin: 2px 0 12px;
  color: #152d38;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.94rem;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.intake-option {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 5px;
  padding: 7px;
  color: #5a7177;
  border: 1px solid #dae1da;
  background: #fafcf8;
  border-radius: 6px;
  font-size: 0.47rem;
  font-weight: 700;
}

.intake-option i {
  width: 7px;
  height: 7px;
  border: 1px solid #adc1c0;
  border-radius: 50%;
}

.intake-option.active {
  color: #1f5a61;
  border-color: #9cd6d3;
}

.intake-option.active i {
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
  box-shadow: inset 0 0 0 2px #fafcf8;
}

.phone-button {
  margin-top: 12px;
  padding: 7px;
  color: #092026;
  background: var(--cyan);
  border-radius: 999px;
  font-size: 0.49rem;
  font-weight: 800;
  text-align: center;
}

.visual-podcast {
  background: radial-gradient(circle, rgba(167, 155, 255, 0.18), transparent 50%), #161d39;
}

.podcast-orbit {
  position: absolute;
  border: 1px solid rgba(176, 163, 255, 0.2);
  border-radius: 50%;
}

.orbit-one {
  width: 188px;
  height: 188px;
}

.orbit-two {
  width: 126px;
  height: 126px;
  border-color: rgba(117, 225, 226, 0.22);
}

.podcast-center {
  z-index: 1;
  display: flex;
  width: 66px;
  height: 66px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: linear-gradient(135deg, var(--violet), var(--cyan-deep));
  border-radius: 50%;
  box-shadow: 0 0 38px rgba(167, 155, 255, 0.37);
}

.podcast-center span {
  width: 3px;
  height: 19px;
  background: white;
  border-radius: 4px;
}

.podcast-center span:nth-child(2),
.podcast-center span:nth-child(4) {
  height: 29px;
}

.podcast-center span:nth-child(3) {
  height: 39px;
}

.podcast-chip {
  position: absolute;
  padding: 5px 8px;
  color: #d2ccfc;
  border: 1px solid rgba(177, 166, 255, 0.28);
  background: rgba(22, 29, 57, 0.9);
  border-radius: 999px;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.chip-brief {
  top: 43px;
  left: 24%;
}

.chip-script {
  top: 72px;
  right: 17%;
}

.chip-audio {
  right: 27%;
  bottom: 39px;
}

.visual-construction {
  background: #142639;
}

.construction-grid {
  position: relative;
  width: 360px;
  height: 200px;
}

.build-card {
  position: absolute;
  z-index: 2;
  display: flex;
  width: 88px;
  flex-direction: column;
  padding: 10px;
  border: 1px solid rgba(147, 196, 204, 0.18);
  background: rgba(13, 32, 48, 0.92);
  border-radius: 7px;
  box-shadow: 0 12px 20px rgba(0, 3, 9, 0.2);
}

.build-card b {
  color: var(--cyan);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.79rem;
}

.build-card small {
  color: #91a5af;
  font-size: 0.51rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.build-one {
  top: 24px;
  left: 3px;
}

.build-two {
  top: 112px;
  left: 93px;
}

.build-three {
  top: 34px;
  right: 84px;
  border-color: rgba(190, 235, 115, 0.28);
}

.build-three b {
  color: var(--lime);
}

.build-four {
  right: 0;
  bottom: 19px;
}

.build-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: var(--cyan-deep);
  transform-origin: left;
}

.line-a {
  top: 70px;
  left: 84px;
  width: 83px;
  transform: rotate(53deg);
}

.line-b {
  top: 137px;
  left: 177px;
  width: 98px;
  transform: rotate(-52deg);
}

.line-c {
  top: 79px;
  left: 267px;
  width: 91px;
  transform: rotate(53deg);
}

.line-d {
  top: 62px;
  left: 86px;
  width: 174px;
  background: rgba(118, 229, 230, 0.27);
}

.visual-crm {
  background:
    radial-gradient(circle at 80% 20%, rgba(118, 229, 230, 0.14), transparent 17rem),
    #102539;
}

.crm-shell {
  width: 81%;
  overflow: hidden;
  border: 1px solid rgba(163, 209, 215, 0.17);
  background: #102236;
  border-radius: 9px;
  box-shadow: 0 13px 27px rgba(0, 4, 11, 0.23);
  transform: rotate(2deg);
}

.crm-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px;
  border-bottom: 1px solid rgba(163, 209, 215, 0.12);
  color: #87a3af;
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.crm-top i {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 2px;
}

.crm-top b {
  margin-left: auto;
  padding: 3px 5px;
  color: var(--lime);
  border: 1px solid rgba(195, 239, 105, 0.23);
  border-radius: 999px;
  font-size: 0.42rem;
}

.crm-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 123px;
}

.crm-columns div {
  display: flex;
  flex-direction: column;
  padding: 13px;
}

.crm-columns div + div {
  border-left: 1px solid rgba(163, 209, 215, 0.12);
  background: rgba(195, 239, 105, 0.035);
}

.crm-columns small {
  color: #738d9b;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.crm-columns strong {
  margin: 6px 0 10px;
  color: #c4d4d8;
  font-size: 0.66rem;
}

.crm-columns span {
  width: 70%;
  height: 4px;
  margin-top: 6px;
  background: #284657;
  border-radius: 2px;
}

.crm-columns em {
  align-self: start;
  padding: 4px 6px;
  color: var(--lime);
  border: 1px solid rgba(195, 239, 105, 0.2);
  border-radius: 4px;
  font-size: 0.47rem;
  font-style: normal;
  font-weight: 800;
}

.visual-mirth {
  background:
    linear-gradient(135deg, rgba(255, 154, 129, 0.2), transparent 58%),
    #24302b;
}

.mirth-card {
  width: 230px;
  padding: 15px;
  border: 1px solid rgba(255, 229, 197, 0.2);
  background: #eff0d9;
  border-radius: 5px;
  box-shadow: 9px 9px 0 rgba(8, 17, 16, 0.18);
  text-align: center;
  transform: rotate(-3deg);
}

.mirth-mark {
  display: grid;
  width: 34px;
  height: 34px;
  margin: auto;
  color: #eff0d9;
  background: #374c42;
  border-radius: 50%;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.71rem;
  font-weight: 700;
  place-items: center;
}

.mirth-card p {
  margin: 9px 0 0;
  color: #6e7d62;
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.mirth-arrow {
  color: #cf745e;
  font-size: 1.4rem;
}

.mirth-output-row {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.mirth-output-row span {
  padding: 5px;
  color: #455b4a;
  border: 1px solid #c5ceb4;
  font-size: 0.45rem;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.problems-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 67px;
}

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

.problem-list details {
  border-bottom: 1px solid var(--line-light);
}

.problem-list summary {
  display: grid;
  grid-template-columns: 27px 1fr 16px;
  gap: 11px;
  align-items: center;
  padding: 18px 0;
  color: #1b3543;
  cursor: pointer;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  list-style: none;
}

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

.problem-list summary span {
  color: var(--cyan-deep);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 0.61rem;
  letter-spacing: 0.08em;
}

.problem-list summary i {
  position: relative;
  width: 15px;
  height: 15px;
}

.problem-list summary i::before,
.problem-list summary i::after {
  position: absolute;
  top: 7px;
  left: 2px;
  width: 11px;
  height: 1px;
  background: #51717a;
  content: "";
  transition: transform 180ms ease;
}

.problem-list summary i::after {
  transform: rotate(90deg);
}

.problem-list details[open] summary i::after {
  transform: rotate(0);
}

.problem-list details p {
  margin: -4px 32px 19px 38px;
  color: var(--muted);
  font-size: 0.85rem;
}

.process {
  padding-block: 123px;
}

.process-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 21px;
  margin-top: 43px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  width: 100%;
  align-items: center;
  padding: 15px;
  color: #b2c0c9;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.022);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.process-step:hover,
.process-step:focus-visible {
  border-color: rgba(118, 229, 230, 0.36);
  transform: translateX(4px);
}

.process-step.is-active {
  border-color: rgba(118, 229, 230, 0.42);
  background: rgba(118, 229, 230, 0.09);
}

.process-step > span {
  color: var(--cyan);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.03rem;
  font-weight: 700;
}

.process-step strong,
.process-step small {
  display: block;
}

.process-step strong {
  color: #d9e5e7;
  font-size: 0.82rem;
}

.process-step small {
  margin-top: 2px;
  color: #7f929f;
  font-size: 0.68rem;
}

.process-display {
  position: relative;
  min-height: 360px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(169, 211, 217, 0.18);
  background:
    radial-gradient(circle at 92% 13%, rgba(121, 226, 228, 0.12), transparent 16rem),
    rgba(12, 29, 47, 0.74);
  border-radius: var(--radius-md);
}

.process-display h3 {
  max-width: 490px;
  margin: 11px 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 2rem;
  letter-spacing: -0.068em;
  line-height: 1.03;
}

.process-display > p:not(.micro-label) {
  max-width: 580px;
  color: #a1b3be;
  font-size: 0.86rem;
}

.process-diagram {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 27px 0 20px;
}

.process-diagram span {
  padding: 7px 9px;
  color: var(--cyan);
  border: 1px solid rgba(118, 229, 230, 0.22);
  background: rgba(118, 229, 230, 0.05);
  border-radius: 6px;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.process-diagram span:last-child {
  color: var(--lime);
  border-color: rgba(195, 239, 105, 0.23);
  background: rgba(195, 239, 105, 0.05);
}

.process-diagram i {
  width: 33px;
  height: 1px;
  background: #3a6772;
}

.process-display ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
}

.process-display li {
  padding: 5px 8px;
  color: #9eb1bc;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 50px;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: var(--line-light);
  border-radius: var(--radius-md);
}

.toolkit-card {
  min-height: 240px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.62);
  transition: background 180ms ease;
}

.toolkit-card:hover {
  background: var(--paper-bright);
}

.toolkit-card span {
  color: var(--cyan-deep);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.toolkit-card h3 {
  margin-top: 71px;
}

.toolkit-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.tools-row {
  display: grid;
  grid-template-columns: 216px 1fr;
  gap: 20px;
  align-items: start;
  margin-top: 21px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.tools-row p {
  margin: 5px 0 0;
  color: #37545e;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tools-row li {
  color: #46626b;
  border-color: rgba(23, 58, 70, 0.16);
  background: rgba(255, 255, 255, 0.24);
}

.about {
  padding-block: 123px 102px;
}

.about-card {
  display: grid;
  grid-template-columns: 0.39fr 0.61fr;
  gap: 45px;
  align-items: center;
  padding: 27px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.026);
  border-radius: var(--radius-lg);
}

.about-monogram {
  position: relative;
  display: grid;
  min-height: 410px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(118, 229, 230, 0.14), rgba(167, 155, 255, 0.11)),
    #10243a;
  border-radius: 17px;
  place-items: center;
}

.about-monogram::before,
.about-monogram::after {
  position: absolute;
  width: 17rem;
  height: 17rem;
  border: 1px solid rgba(118, 229, 230, 0.16);
  border-radius: 50%;
  content: "";
}

.about-monogram::after {
  width: 12rem;
  height: 12rem;
  border-color: rgba(194, 238, 106, 0.15);
}

.about-monogram span {
  z-index: 1;
  color: var(--cyan);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 7rem;
  font-weight: 700;
  letter-spacing: -0.18em;
  transform: translateX(-0.1em);
}

.about-monogram i {
  position: absolute;
  z-index: 1;
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(194, 238, 106, 0.1), 0 0 28px var(--lime);
  transform: translate(80px, -75px);
}

.about-monogram small {
  position: absolute;
  right: 18px;
  bottom: 15px;
  color: #7793a0;
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.about-copy {
  padding-right: 21px;
}

.about-copy h2 {
  color: #edf4f3;
  font-size: clamp(2.16rem, 4vw, 3.55rem);
}

.about-copy > p:not(.eyebrow) {
  color: #9cadb8;
  font-size: 0.9rem;
}

.about-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 27px;
}

.about-principles span {
  padding: 7px 9px;
  color: var(--cyan);
  border: 1px solid rgba(118, 229, 230, 0.18);
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.contact {
  padding-block: 0 31px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 31px;
  padding: 38px;
  color: #152b36;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.22), transparent 15rem),
    linear-gradient(120deg, #79e1df, #bee978);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-card .eyebrow {
  color: #286872;
}

.contact-card h2 {
  max-width: 640px;
  margin-bottom: 12px;
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

.contact-card p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: #315e62;
  font-size: 0.91rem;
}

.contact-actions {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.contact-actions .button {
  width: 100%;
}

.button-light {
  color: #e6fbf4;
  background: #10283a;
}

.button-light:hover,
.button-light:focus-visible {
  color: var(--cyan);
  box-shadow: 0 10px 23px rgba(9, 35, 48, 0.18);
}

.button-outline-light {
  color: #214c51;
  border-color: rgba(18, 72, 76, 0.3);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  color: #e4fbf4;
  background: #1e5960;
}

.packet-link {
  align-self: center;
  padding: 5px;
  color: #2c5e60;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.packet-link:hover,
.packet-link:focus-visible {
  color: #183f43;
  text-decoration: underline;
}

.packet-link span {
  margin-left: 5px;
  padding: 3px 5px;
  border: 1px solid rgba(24, 70, 75, 0.28);
  border-radius: 999px;
  font-size: 0.52rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding-block: 17px 26px;
}

.site-footer p {
  margin: 0;
  color: #7f929f;
  font-size: 0.68rem;
}

.case-dialog {
  width: min(720px, calc(100vw - 30px));
  max-height: min(88vh, 860px);
  padding: 31px;
  overflow-y: auto;
  color: #dce8e8;
  border: 1px solid rgba(159, 208, 216, 0.24);
  background:
    radial-gradient(circle at 91% 4%, rgba(118, 229, 230, 0.12), transparent 17rem),
    #0c1d30;
  border-radius: 20px;
  box-shadow: 0 28px 84px rgba(0, 4, 10, 0.5);
}

.case-dialog::backdrop {
  background: rgba(1, 7, 14, 0.72);
  backdrop-filter: blur(8px);
}

.case-dialog h2 {
  max-width: 590px;
  margin: 11px 0 13px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  color: #a8b8c0;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  place-items: center;
}

.dialog-close:hover,
.dialog-close:focus-visible {
  color: var(--ink);
  background: var(--cyan);
}

.dialog-summary {
  max-width: 620px;
  color: #9cafb9;
  font-size: 0.91rem;
}

.dialog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 23px;
}

.dialog-grid div,
.dialog-output {
  padding: 16px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 11px;
}

.case-dialog h3 {
  margin-bottom: 6px;
  color: var(--cyan);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 0.81rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-dialog p,
.case-dialog li {
  color: #9cafb9;
  font-size: 0.81rem;
}

.dialog-grid p {
  margin-bottom: 0;
}

.dialog-output {
  margin-top: 12px;
}

.dialog-output ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}

.dialog-output li {
  padding: 6px 8px;
  color: #b9d0d4;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dialog-note {
  margin: 17px 0 0;
  color: #8298a5 !important;
  font-size: 0.74rem !important;
  font-style: italic;
}

.toast {
  position: fixed;
  z-index: 110;
  right: 20px;
  bottom: 20px;
  display: grid;
  max-width: 340px;
  gap: 2px;
  padding: 14px 16px;
  color: #c9d8db;
  border: 1px solid rgba(136, 222, 221, 0.24);
  background: rgba(7, 24, 39, 0.96);
  border-radius: 12px;
  box-shadow: 0 15px 36px rgba(0, 4, 10, 0.35);
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

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

.toast strong {
  color: var(--cyan);
  font-size: 0.78rem;
}

.toast span {
  color: #91a4ae;
  font-size: 0.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 580ms ease,
    transform 580ms ease;
}

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

@keyframes node-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes line-travel {
  from {
    left: 0;
  }
  to {
    left: calc(100% - 7px);
  }
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: 1fr;
    padding-block: 82px 38px;
  }

  .hero-copy {
    max-width: 770px;
  }

  .hero-system {
    min-height: 490px;
  }

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

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin-bottom: 31px;
  }

  .problems-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .about-card {
    grid-template-columns: 0.45fr 0.55fr;
    gap: 30px;
  }

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

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 30px, 680px);
  }

  html {
    scroll-padding-top: 70px;
  }

  .site-header {
    min-height: 66px;
    padding: 12px 15px;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--line-dark);
    background: rgba(255, 255, 255, 0.025);
    border-radius: 9px;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 16px;
    height: 1px;
    background: #b8c8cf;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-of-type(3) {
    opacity: 0;
  }

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

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: flex;
    max-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    background: rgba(5, 16, 28, 0.97);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(18px);
    transition:
      max-height 240ms ease,
      border-color 240ms ease;
  }

  .site-nav.is-open {
    max-height: 350px;
    border-color: var(--line-dark);
  }

  .site-nav a {
    padding: 13px 16px;
    border-top: 1px solid rgba(190, 221, 224, 0.07);
  }

  .site-nav .nav-cta {
    margin: 9px 15px 15px;
    padding: 10px 13px;
    text-align: center;
  }

  .hero {
    display: block;
    min-height: auto;
    padding-block: 66px 34px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 5.3rem);
  }

  .hero-system {
    min-height: 399px;
    margin-top: 45px;
  }

  .system-map {
    min-height: 270px;
  }

  .system-topbar {
    padding: 14px;
  }

  .system-topbar p {
    font-size: 0.78rem;
  }

  .live-pill {
    font-size: 0.51rem;
  }

  .map-node {
    width: 135px;
    padding: 8px;
  }

  .map-node p {
    font-size: 0.56rem;
  }

  .map-node small {
    font-size: 0.45rem;
  }

  .node-icon {
    width: 25px;
    height: 25px;
    font-size: 0.51rem;
  }

  .node-intake {
    top: 38px;
    left: 12px;
  }

  .node-ai {
    top: 128px;
    left: calc(50% - 67px);
  }

  .node-team {
    top: 36px;
    right: 10px;
  }

  .node-update {
    right: 18px;
    bottom: 20px;
  }

  .map-line-one {
    top: 83px;
    left: 119px;
    width: 98px;
  }

  .map-line-two {
    top: 84px;
    left: 220px;
    width: 92px;
  }

  .map-line-three {
    top: 169px;
    left: 201px;
    width: 104px;
  }

  .map-line-four {
    top: 83px;
    left: 80px;
    width: 122px;
  }

  .map-line-five {
    top: 83px;
    right: 56px;
    width: 121px;
  }

  .system-footer {
    padding: 14px;
  }

  .system-metric strong {
    font-size: 0.98rem;
  }

  .system-metric span {
    font-size: 0.46rem;
  }

  .hero-bottom {
    display: block;
    margin-top: 28px;
  }

  .hero-bottom ul {
    margin-top: 15px;
  }

  .intro,
  .problems,
  .toolkit,
  .work,
  .process,
  .about {
    padding-block: 86px;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: clamp(2.15rem, 12vw, 3.48rem);
  }

  .service-grid {
    margin-top: 35px;
  }

  .work-toolbar {
    align-items: start;
    flex-direction: column;
  }

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

  .project-card-featured {
    grid-column: auto;
  }

  .project-card-featured .project-visual {
    min-height: 245px;
  }

  .visual-window {
    width: 92%;
  }

  .visual-maintenance-body {
    min-height: 163px;
  }

  .mini-message {
    width: 85%;
  }

  .mini-ai-row {
    max-width: 95%;
  }

  .project-footer {
    align-items: start;
    flex-direction: column;
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .process-display {
    min-height: auto;
    padding: 21px;
  }

  .process-diagram {
    align-items: stretch;
    flex-direction: column;
  }

  .process-diagram i {
    width: 1px;
    height: 14px;
    margin-left: 31px;
  }

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

  .toolkit-card {
    min-height: auto;
  }

  .toolkit-card h3 {
    margin-top: 35px;
  }

  .tools-row {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .about-card {
    grid-template-columns: 1fr;
    padding: 15px;
  }

  .about-monogram {
    min-height: 260px;
  }

  .about-monogram span {
    font-size: 5.5rem;
  }

  .about-copy {
    padding: 2px 5px 10px;
  }

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

  .contact-card h2 {
    font-size: clamp(2.25rem, 12vw, 3.42rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-top: 4px;
  }

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

@media (max-width: 410px) {
  .hero-system {
    min-height: 386px;
  }

  .system-topbar {
    align-items: start;
    flex-direction: column;
    gap: 7px;
  }

  .system-map {
    min-height: 252px;
  }

  .map-node {
    width: 123px;
  }

  .node-intake {
    top: 27px;
    left: 8px;
  }

  .node-team {
    top: 27px;
    right: 7px;
  }

  .node-ai {
    top: 113px;
    left: calc(50% - 61px);
  }

  .node-update {
    right: 10px;
  }

  .map-line {
    opacity: 0.8;
  }

  .map-line-one {
    top: 66px;
    left: 105px;
    width: 90px;
  }

  .map-line-two {
    top: 66px;
    left: 200px;
    width: 82px;
  }

  .map-line-three {
    top: 150px;
    left: 182px;
    width: 100px;
  }

  .map-line-four {
    top: 68px;
    left: 71px;
    width: 113px;
  }

  .map-line-five {
    top: 68px;
    right: 49px;
    width: 109px;
  }

  .system-metric span {
    max-width: 71px;
  }

  .construction-grid {
    transform: scale(0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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