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

:root {
  --navy-950: #050b14;
  --navy-900: #07121f;
  --navy-800: #0b1a2c;
  --navy-700: #12243a;
  --ink: #101826;
  --paper: #f3f6f9;
  --paper-2: #e7edf3;
  --white: #ffffff;
  --blue: #2d6bff;
  --blue-deep: #1b4ed8;
  --cyan: #3ad4e0;
  --text: #182233;
  --muted: #5d6b7e;
  --muted-dark: #93a1b5;
  --line: rgba(16, 24, 38, 0.1);
  --line-strong: rgba(16, 24, 38, 0.16);
  --line-dark: rgba(232, 238, 246, 0.1);
  --display: 'Syne', 'Segoe UI', sans-serif;
  --sans: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  --container: 1180px;
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--text);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

body {
  background: var(--paper);
}

@media (min-width: 1101px) {
  body::before {
    content: '';
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--blue);
    z-index: 80;
    pointer-events: none;
  }
}

#root {
  min-height: 100svh;
  width: 100%;
}

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

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

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

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--blue);
  color: white;
  padding: 8px 14px;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 112px 0;
}

.section-dark {
  background: var(--navy-900);
  color: #e8eef6;
}

.section-label {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-heading.is-light .section-label {
  color: var(--cyan);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  max-width: 16ch;
}

.section-heading.is-light .section-title {
  color: #f4f7fb;
}

.section-copy {
  margin-top: 18px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 17px;
}

.section-heading.is-light .section-copy {
  color: var(--muted-dark);
}

.section-heading.is-center {
  text-align: center;
}

.section-heading.is-center .section-title,
.section-heading.is-center .section-copy {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-deep);
}

.btn-secondary {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn-secondary:hover {
  background: rgba(45, 107, 255, 0.12);
  border-color: var(--blue);
  color: var(--blue);
}

.section-dark .btn-secondary:hover,
.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  padding-inline: 0;
  min-height: auto;
  background: none;
  color: var(--blue);
}

.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(45, 107, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 107, 255, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, #000 40%, transparent 78%);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.logo-mark {
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--navy-900);
}

.nav.is-transparent .logo-mark {
  color: #0c1c31;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo-unit {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.62;
}

/* Navbar */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  height: var(--nav-h);
  color: #f4f7fb;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease), color 0.3s var(--ease);
}

.nav.is-top {
  background: linear-gradient(to bottom, rgba(5, 11, 20, 0.55), transparent);
}

.nav.is-scrolled {
  background: rgba(7, 18, 31, 0.92);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-dark);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-dark);
  position: relative;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: #fff;
}

.nav-links a.is-active::after {
  content: '';
  position: absolute;
  left: 11px;
  right: 11px;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: #fff;
  padding: 0;
  cursor: pointer;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  margin-inline: auto;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.menu-btn span::before,
.menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
}

.menu-btn span::before {
  top: -6px;
}

.menu-btn span::after {
  top: 6px;
}

.menu-btn.is-open span {
  background: transparent;
}

.menu-btn.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-btn.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - 0px);
  padding: 128px 0 72px;
  background: var(--navy-950);
  color: #f4f7fb;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 420px at 80% 20%, rgba(45, 107, 255, 0.18), transparent 60%),
    radial-gradient(600px 360px at 10% 80%, rgba(58, 212, 224, 0.08), transparent 55%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-kicker i {
  width: 28px;
  height: 1px;
  background: var(--cyan);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
  max-width: 11ch;
}

.hero h1 em {
  font-style: normal;
  color: #7ea4ff;
}

.hero-lead {
  margin-top: 24px;
  max-width: 46ch;
  color: var(--muted-dark);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  min-height: 460px;
}

.hero-frame {
  position: relative;
  height: 520px;
  border: 1px solid var(--line-dark);
  background: linear-gradient(180deg, rgba(18, 36, 58, 0.7), rgba(7, 18, 31, 0.4));
  overflow: hidden;
}

.hero-frame svg {
  width: 100%;
  height: 100%;
}

.float-panel {
  position: absolute;
  min-width: 148px;
  padding: 12px 14px;
  border: 1px solid rgba(45, 107, 255, 0.28);
  background: rgba(7, 18, 31, 0.78);
  backdrop-filter: blur(8px);
}

.float-panel strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.float-panel span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted-dark);
}

.float-panel.a {
  top: 28px;
  right: 22px;
  animation: floatY 7s ease-in-out infinite;
}

.float-panel.b {
  left: 18px;
  bottom: 84px;
  animation: floatY 8s ease-in-out infinite reverse;
}

.float-panel.c {
  right: 40px;
  bottom: 28px;
  animation: floatY 6.5s 0.4s ease-in-out infinite;
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.pulse-node {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 3.2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.18);
  }
}

.dash-flow {
  stroke-dasharray: 6 10;
  animation: dash 18s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -320;
  }
}

/* Value strip */
.value-strip {
  background: var(--navy-800);
  color: #d7e0ec;
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.value-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 8px;
  min-height: 76px;
  border-right: 1px solid var(--line-dark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.value-item:last-child {
  border-right: 0;
}

.value-item svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
  flex: none;
}

/* About */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: start;
}

.about-statement {
  position: sticky;
  top: 108px;
}

.about-statement p {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.about-statement p span {
  display: block;
  color: var(--blue);
}

.about-visual {
  margin-top: 36px;
  height: 160px;
  border: 1px solid var(--line);
  background: var(--navy-900);
  overflow: hidden;
}

.about-visual svg {
  width: 100%;
  height: 100%;
}

.about-body .section-copy {
  margin-top: 0;
}

.principle-list {
  margin-top: 36px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.principle-list article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.principle-list b {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.principle-list p {
  color: var(--muted);
}

.principle-index {
  font-family: var(--display);
  color: var(--blue);
  font-size: 14px;
}

/* Services */
.services {
  background: var(--paper);
}

.service-board {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  background: var(--line-strong);
  border: 1px solid var(--line-strong);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  color: inherit;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.service-card.featured {
  min-height: 340px;
}

.service-card.wide {
  grid-column: 1 / -1;
  min-height: 180px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.service-card.full {
  grid-column: 1 / -1;
  background: var(--navy-900);
  color: #e8eef6;
}

.service-card:hover {
  background: var(--navy-900);
  color: #fff;
}

.service-card.full:hover {
  background: #0a1c33;
}

.service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.service-num {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--blue);
}

.service-card svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}

.service-card h3 {
  margin-top: 36px;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.03em;
}

.service-card.wide h3,
.service-card.full h3 {
  margin-top: 0;
}

.service-card p {
  margin-top: 10px;
  max-width: 42ch;
  color: var(--muted);
}

.service-card:hover p,
.service-card.full p {
  color: var(--muted-dark);
}

.service-arrow {
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  color: var(--blue);
  transition: transform 0.25s var(--ease);
}

.service-card:hover .service-arrow {
  transform: translateX(6px);
}

.service-grid-rest {
  display: contents;
}

/* Solutions */
.solutions {
  overflow: hidden;
}

.solution-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.solution-panel {
  position: relative;
  min-height: 280px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line-dark);
  background: #0a1829;
  color: #f4f7fb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s var(--ease), transform 0.35s var(--ease);
}

.solution-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 180px at 90% 0%, rgba(45, 107, 255, 0.2), transparent 60%),
    linear-gradient(160deg, transparent 40%, rgba(58, 212, 224, 0.05));
  opacity: 0.55;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.solution-panel:hover {
  border-color: rgba(45, 107, 255, 0.55);
  transform: translateY(-4px);
}

.solution-panel:hover::before {
  opacity: 1;
  transform: scale(1.08);
}

.solution-panel header,
.solution-panel p,
.solution-panel footer {
  position: relative;
}

.solution-panel header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: transform 0.35s var(--ease);
}

.solution-panel:hover header {
  transform: translateY(-4px);
}

.solution-panel h3 {
  font-family: var(--display);
  font-size: 30px;
  letter-spacing: -0.03em;
}

.solution-panel p {
  max-width: 38ch;
  color: var(--muted-dark);
}

.solution-panel footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--cyan);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.solution-panel footer svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}

.solution-panel:hover footer svg {
  transform: translateX(6px);
}

/* Industries */
.industries {
  background: var(--white);
}

.industry-layout {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
}

.industry-visual {
  min-height: 420px;
  border-right: 1px solid var(--line);
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.industry-visual svg {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.industry-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  color: #fff;
  font-family: var(--display);
  font-size: 28px;
}

.industry-list button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 8px 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--text);
}

.industry-list button h3 {
  font-size: 18px;
  font-weight: 600;
}

.industry-list button p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.industry-list button.is-active h3,
.industry-list button:hover h3 {
  color: var(--blue);
}

.industry-index {
  font-family: var(--display);
  color: var(--muted);
}

.industry-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* Why */
.why {
  background: var(--paper);
}

.why-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
}

.why-rail {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.why-item {
  padding: 28px 24px 28px 0;
  border-top: 1px solid var(--line);
}

.why-item:nth-child(even) {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.why-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.12em;
}

.why-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.why-item p {
  color: var(--muted);
}

.why-aside {
  position: sticky;
  top: 108px;
}

.why-quote {
  margin-top: 28px;
  padding: 28px;
  background: var(--navy-900);
  color: #e8eef6;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.why-quote p {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* Architecture */
.architecture {
  overflow: hidden;
}

.arch-copy {
  max-width: 54ch;
}

.arch-track {
  margin-top: 64px;
  position: relative;
  overflow: hidden;
}

.arch-line {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 28px;
  height: 2px;
  background: rgba(45, 107, 255, 0.18);
  overflow: hidden;
}

.arch-line span {
  display: block;
  width: 28%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--blue));
  animation: rail 4.8s ease-in-out infinite;
}

@keyframes rail {
  0% {
    transform: translateX(-40%);
  }
  100% {
    transform: translateX(380%);
  }
}

.arch-nodes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
}

.arch-node {
  text-align: center;
  padding-top: 8px;
}

.arch-node i {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy-800);
  border: 2px solid var(--blue);
  box-shadow: 0 0 0 6px rgba(45, 107, 255, 0.12);
}

.arch-node strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.arch-node span {
  display: block;
  margin-top: 6px;
  color: var(--muted-dark);
  font-size: 13px;
}

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

.process-list {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-step {
  padding: 32px 28px 36px 0;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 230px;
}

.process-step:nth-child(3n) {
  border-right: 0;
  padding-right: 0;
}

.process-step:nth-child(n + 4) {
  padding-left: 28px;
}

.process-step:nth-child(4) {
  padding-left: 0;
}

.process-step span {
  font-family: var(--display);
  color: var(--blue);
  letter-spacing: 0.12em;
  font-size: 13px;
}

.process-step h3 {
  margin: 16px 0 10px;
  font-family: var(--display);
  font-size: 28px;
}

.process-step p {
  color: var(--muted);
  max-width: 34ch;
}

.process-progress {
  margin-top: 8px;
  height: 2px;
  background: var(--paper-2);
}

.process-progress b {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--blue);
  transform-origin: left;
}

/* Technologies */
.tech {
  background: var(--paper);
}

.tech-shell {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid var(--line);
  background: var(--white);
}

.tech-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.tech-tabs button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--muted);
  font-weight: 600;
}

.tech-tabs button.is-active {
  color: var(--navy-900);
  background: var(--paper);
  box-shadow: inset 3px 0 0 var(--blue);
}

.tech-panel {
  padding: 36px;
}

.tech-panel h3 {
  font-family: var(--display);
  font-size: 28px;
  margin-bottom: 8px;
}

.tech-disclaimer {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
  max-width: 62ch;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-chips span {
  min-width: 120px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.tech-chips span:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(45, 107, 255, 0.05);
}

/* Impact */
.impact-list {
  margin-top: 48px;
  border-top: 1px solid var(--line-dark);
}

.impact-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--display);
  font-size: clamp(26px, 4vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.impact-item small {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--cyan);
}

/* Showcase */
.showcase {
  background: var(--white);
}

.showcase-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case-card {
  border: 1px solid var(--line);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.case-visual {
  height: 220px;
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}

.case-visual svg {
  width: 100%;
  height: 100%;
}

.case-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.case-body span {
  color: var(--blue);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.case-body h3 {
  font-family: var(--display);
  font-size: 26px;
}

.case-body p {
  color: var(--muted);
}

.case-tags {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 16px;
}

.case-tags li {
  list-style: none;
  font-size: 12px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.case-tags {
  padding-left: 0;
  margin-bottom: 0;
}

.showcase-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

/* CTA */
.cta {
  padding: 96px 0;
  overflow: hidden;
}

.cta-box {
  position: relative;
  padding: 72px 56px;
  border: 1px solid var(--line-dark);
  overflow: hidden;
  background: #081525;
}

.cta-box .grid-lines {
  opacity: 0.8;
}

.cta-box h2 {
  position: relative;
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 60px);
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.cta-box p {
  position: relative;
  margin: 18px 0 32px;
  max-width: 48ch;
  color: var(--muted-dark);
  font-size: 18px;
}

.cta-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Contact */
.contact {
  background: var(--white);
}

.contact-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
}

.contact-aside {
  padding: 32px;
  background: var(--navy-900);
  color: #e8eef6;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-aside h3 {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.03em;
}

.contact-aside p {
  color: var(--muted-dark);
}

.contact-meta {
  margin-top: auto;
  display: grid;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.contact-meta span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}

.contact-meta a {
  color: #e8eef6;
}

.contact-meta a:hover {
  color: var(--cyan);
}

.form {
  padding: 8px 4px 8px 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--text);
  padding: 12px 12px;
  border-radius: 2px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  grid-column: 1 / -1;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.form-status .btn {
  margin-top: 16px;
}

.form-status h3 {
  font-family: var(--display);
  font-size: 24px;
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background: var(--navy-950);
  color: #d5deea;
  padding: 72px 0 28px;
  border-top: 1px solid var(--line-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 0.8fr;
  gap: 36px;
}

.footer .logo-mark {
  color: #10233a;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 32ch;
  color: var(--muted-dark);
}

.footer-contact {
  display: grid;
  gap: 6px;
  max-width: 36ch;
}

.footer-contact a,
.footer-contact span {
  display: block;
  color: var(--muted-dark);
}

.footer-contact a:hover {
  color: #fff;
}

.footer h3 {
  margin: 8px 0 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  color: #fff;
}

.socials a svg {
  width: 16px;
  height: 16px;
}

.footer-base {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line-dark);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted-dark);
  font-size: 13px;
}

.legal {
  background: var(--white);
  padding: 140px 0 80px;
}

.legal-content {
  max-width: 72ch;
}

.legal-content h1 {
  font-family: var(--display);
  font-size: 42px;
  margin-bottom: 16px;
}

.legal-content p {
  color: var(--muted);
  margin-bottom: 14px;
}

.legal-content a {
  color: var(--blue);
  font-weight: 600;
}

section[id],
#home {
  scroll-margin-top: 76px;
}

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .nav .nav-cta .btn {
    display: none;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(5, 11, 20, 0.97);
    padding: 28px 20px 40px;
    transform: translateX(100%);
    transition: transform 0.32s var(--ease);
    z-index: 40;
  }

  .mobile-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav:not(.is-open) {
    visibility: hidden;
    pointer-events: none;
  }

  .mobile-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--display);
    font-size: 28px;
  }

  .mobile-nav .btn {
    display: inline-flex;
    margin-top: 24px;
  }

  .hero-grid,
  .about-grid,
  .why-layout,
  .industry-layout,
  .contact-grid,
  .tech-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: unset;
  }

  .industry-visual {
    border-right: 0;
    min-height: 240px;
  }

  .industry-visual svg {
    min-height: 240px;
  }

  .about-statement {
    position: static;
  }

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

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

  .solution-grid,
  .showcase-grid,
  .process-list,
  .why-rail,
  .value-row,
  .arch-nodes {
    grid-template-columns: 1fr 1fr;
  }

  .process-step,
  .process-step:nth-child(3n),
  .process-step:nth-child(n + 4),
  .process-step:nth-child(4) {
    padding: 28px 20px 28px 0;
    border-right: 0;
  }

  .process-step:nth-child(odd) {
    padding-right: 20px;
    border-right: 1px solid var(--line);
  }

  .arch-line {
    display: none;
  }

  .footer-base {
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 110px 0 56px;
  }

  .hero-visual,
  .hero-frame {
    min-height: 320px;
    height: 340px;
  }

  .value-row,
  .solution-grid,
  .showcase-grid,
  .process-list,
  .why-rail,
  .form,
  .arch-nodes {
    grid-template-columns: 1fr;
  }

  .value-item,
  .process-step:nth-child(odd) {
    border-right: 0;
  }

  .cta-box {
    padding: 40px 22px;
  }

  .float-panel.c {
    display: none;
  }

  .why-item:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 36px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    display: grid;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
