:root {
  --ink: #102033;
  --ink-soft: #33475b;
  --paper: #f6f9fb;
  --surface: #ffffff;
  --mist: #e9f0f5;
  --muted: #6a7b8b;
  --line: rgba(20, 45, 70, 0.12);
  --blue: #1f67ff;
  --teal: #22b8b2;
  --navy: #0d253f;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(19, 50, 84, 0.16);
  --max: 1760px;
  --gutter: clamp(20px, 4.6vw, 76px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
  text-rendering: geometricPrecision;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

h1,
h2,
h3,
p,
dd {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 640px;
  color: var(--navy);
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 780;
  line-height: 0.98;
}

h1 span {
  display: block;
}

h2 {
  max-width: 980px;
  font-size: clamp(32px, 4.5vw, 66px);
  font-weight: 720;
  line-height: 1.03;
}

h3 {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 720;
  line-height: 1.13;
}

.section-dark {
  color: var(--white);
  background: var(--navy);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 17px var(--gutter);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(20, 45, 70, 0.1);
  backdrop-filter: blur(18px);
  transition: padding 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.site-header.scrolled {
  padding-block: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 30px rgba(22, 48, 70, 0.08);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(34, 184, 178, 0.72);
  color: var(--teal);
  background: rgba(34, 184, 178, 0.08);
  border-radius: 8px;
}

.brand-mark svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.brand small {
  margin-top: -2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.18em;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  color: #526477;
  font-size: 13px;
  font-weight: 740;
}

.site-nav a {
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.site-nav a:hover {
  color: var(--navy);
}

.nav-action {
  padding: 10px 16px;
  border: 1px solid rgba(31, 103, 255, 0.28);
  border-radius: 8px;
  color: var(--blue);
  background: rgba(31, 103, 255, 0.06);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(20, 45, 70, 0.18);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: min(820px, 94svh);
  overflow: hidden;
  padding: clamp(118px, 15vh, 156px) var(--gutter) 82px;
  background: var(--surface);
}

.hero-photo,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-wash {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 31%, rgba(255, 255, 255, 0.34) 56%, rgba(255, 255, 255, 0.02) 100%),
    linear-gradient(0deg, rgba(246, 249, 251, 0.66), rgba(246, 249, 251, 0) 38%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  min-width: 0;
  align-self: center;
}

.eyebrow,
.section-label {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-line {
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: clamp(20px, 2.2vw, 31px);
  font-weight: 680;
  line-height: 1.16;
}

.hero-text {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 760;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

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

.button-primary {
  color: var(--white);
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: 0 16px 42px rgba(31, 103, 255, 0.24);
}

.button-ghost {
  color: var(--ink);
  border-color: rgba(16, 32, 51, 0.18);
  background: rgba(255, 255, 255, 0.64);
}

.hero-ticker {
  position: absolute;
  right: var(--gutter);
  bottom: 28px;
  left: var(--gutter);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(20, 45, 70, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 48px rgba(30, 66, 100, 0.1);
  backdrop-filter: blur(12px);
}

.hero-ticker span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border-right: 1px solid rgba(20, 45, 70, 0.1);
  color: #576b80;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-ticker span:last-child {
  border-right: 0;
}

.studio,
.systems,
.workflow,
.company {
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--max);
  margin: 0 auto;
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(34px, 7vw, 112px);
  padding: clamp(72px, 9vw, 128px) 0;
  border-bottom: 1px solid var(--line);
}

.studio-copy {
  align-self: end;
}

.studio-copy p,
.systems-copy p,
.company-copy p,
.contact-inner p {
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
}

.text-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.capabilities {
  padding:
    clamp(74px, 10vw, 136px)
    max(var(--gutter), calc((100% - var(--max)) / 2));
  background:
    linear-gradient(180deg, #102033, #132b46);
}

.section-heading {
  margin-bottom: clamp(38px, 6vw, 72px);
}

.capability-list {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-row {
  display: grid;
  grid-template-columns: 86px minmax(220px, 0.52fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 66px);
  align-items: start;
  padding: clamp(24px, 4vw, 44px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.capability-row span {
  color: var(--cyan);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  font-weight: 850;
}

.capability-row p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(16px, 1.35vw, 20px);
}

.systems {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(280px, 0.7fr);
  gap: clamp(34px, 7vw, 112px);
  align-items: center;
  padding: clamp(76px, 10vw, 136px) 0;
}

.systems-visual {
  position: relative;
  min-height: clamp(420px, 44vw, 650px);
  overflow: hidden;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.systems-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
}

.systems-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(16, 32, 51, 0.08), transparent 48%);
}

.systems-copy p {
  max-width: 640px;
}

.workflow {
  padding: clamp(72px, 9vw, 126px) 0;
  border-top: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.workflow-step {
  min-height: 300px;
  padding: clamp(24px, 2.7vw, 38px);
  background: var(--surface);
}

.workflow-step span {
  display: block;
  margin-bottom: clamp(42px, 6vw, 78px);
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow-step p {
  color: var(--muted);
}

.company {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 112px);
  max-width: none;
  width: 100%;
  padding:
    clamp(76px, 10vw, 132px)
    max(var(--gutter), calc((100% - var(--max)) / 2));
  background: var(--navy);
}

.company-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.68);
}

.company-table {
  display: grid;
  margin: 0;
  align-self: start;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.company-table div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.company-table dd {
  color: rgba(255, 255, 255, 0.88);
}

dt {
  color: rgba(255, 255, 255, 0.52);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

dd {
  margin: 0;
}

.contact {
  padding: clamp(76px, 10vw, 136px) var(--gutter);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(34, 184, 178, 0.08), transparent 42%),
    var(--surface);
}

.contact-inner {
  max-width: 900px;
  margin: 0 auto;
}

.contact .button {
  margin-top: 28px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 30px var(--gutter);
  color: rgba(255, 255, 255, 0.58);
  background: #08131f;
  font-size: 13px;
}

.site-footer p {
  margin: 0;
}

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

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms ease, transform 620ms ease;
}

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

@keyframes scan {
  0%,
  100% {
    transform: scaleX(0.42);
    opacity: 0.5;
  }

  45% {
    transform: scaleX(1);
    opacity: 1;
  }
}

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

  .js-enabled .reveal,
  .button,
  .button {
    transition: none;
  }
}

@media (max-width: 1120px) {
  .studio,
  .systems,
  .company {
    grid-template-columns: 1fr;
  }

  .capability-row {
    grid-template-columns: 70px minmax(0, 1fr);
  }

  .capability-row p {
    grid-column: 2;
  }

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

@media (max-width: 760px) {
  .site-header {
    display: flex;
    padding: 14px 18px;
    backdrop-filter: none;
  }

  .site-header.scrolled {
    backdrop-filter: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 12px;
  }

  .nav-toggle {
    position: relative;
    z-index: 50;
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 92px 28px 48px;
    color: var(--white);
    background: rgba(8, 19, 31, 0.985);
    font-size: 22px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.nav-open .nav-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  body.nav-open .nav-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav .nav-action {
    min-width: 190px;
    text-align: center;
  }

  .hero {
    min-height: 100svh;
    padding: 104px 20px 86px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(38px, 10.8vw, 50px);
    line-height: 1;
  }

  h2 {
    font-size: 36px;
  }

  .hero-photo {
    object-position: 68% center;
  }

  .hero-wash {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78) 57%, rgba(255, 255, 255, 0.24)),
      linear-gradient(0deg, rgba(246, 249, 251, 0.78), rgba(246, 249, 251, 0.04) 52%);
  }

  .hero-copy {
    width: 100%;
    align-self: center;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-ticker {
    right: 20px;
    left: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-ticker span {
    min-height: 40px;
    font-size: 9px;
  }

  .studio,
  .systems,
  .workflow {
    width: calc(100% - 40px);
  }

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

  .capability-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .capability-row p {
    grid-column: auto;
  }

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

  .workflow-step {
    min-height: 230px;
  }

  .workflow-step span {
    margin-bottom: 30px;
  }

  .company-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

@media (max-width: 430px) {
  .brand-text {
    max-width: 170px;
  }

  h1 {
    font-size: 38px;
  }

  .hero-line {
    font-size: 22px;
  }
}
