:root {
  --navy-950: #061425;
  --navy-900: #071b33;
  --navy-800: #0b2a4c;
  --blue-700: #07588f;
  --blue-500: #0798c7;
  --cyan-400: #19bfe7;
  --lime-400: #d8eb22;
  --lime-300: #e6f456;
  --ink: #0c2137;
  --muted: #5d6c7c;
  --line: #dce4eb;
  --surface: #f3f6f8;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(7, 27, 51, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --container: 1180px;
}

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
video,
svg {
  display: block;
}

img,
video {
  max-width: 100%;
}

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

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

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--lime-400);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--navy-950);
  background: var(--lime-400);
  border-radius: 8px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  padding-block: 14px;
  border-bottom: 1px solid rgba(7, 27, 51, 0.1);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 28px rgba(7, 27, 51, 0.08);
  backdrop-filter: blur(14px);
  transition:
    padding 220ms ease,
    background 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  padding-block: 9px;
  background: var(--white);
  box-shadow: 0 10px 34px rgba(7, 27, 51, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 4px 0;
  background: var(--white);
  border-radius: 8px;
}

.brand img {
  width: auto;
  height: 44px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--navy-900);
  font-size: 0.92rem;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  transition: color 180ms ease;
}

.main-nav a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--lime-400);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue-700);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 11px 18px;
  color: var(--navy-950);
  background: var(--lime-400);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid rgba(7, 27, 51, 0.18);
  color: var(--navy-900);
  background: var(--surface);
  border-radius: 12px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  max-height: 980px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: grid;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity 700ms ease,
    visibility 700ms ease;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.hero-media,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  background: var(--navy-950);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 19, 35, 0.94) 0%, rgba(5, 19, 35, 0.8) 48%, rgba(5, 19, 35, 0.26) 100%),
    linear-gradient(0deg, rgba(5, 19, 35, 0.75) 0%, transparent 48%);
}

.hero-grid {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: linear-gradient(90deg, black, transparent 82%);
}

.hero-content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-top: 112px;
  padding-bottom: 150px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--lime-400);
}

.eyebrow-light > span {
  width: 28px;
  height: 2px;
  background: currentColor;
}

.hero h1,
.hero h2 {
  max-width: 830px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 5.8vw, 5.8rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero-lead {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 850;
  line-height: 1;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.button-accent {
  color: var(--navy-950);
  background: var(--lime-400);
  box-shadow: 0 12px 28px rgba(216, 235, 34, 0.2);
}

.button-accent:hover {
  background: var(--lime-300);
  box-shadow: 0 16px 34px rgba(216, 235, 34, 0.28);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.button-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.hero-facts {
  display: flex;
  max-width: 760px;
  gap: 0;
  margin-top: 58px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-facts div {
  display: grid;
  min-width: 0;
  gap: 2px;
  padding-right: 48px;
}

.hero-facts div + div {
  padding-left: 48px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-facts strong {
  color: var(--white);
  font-size: 1.25rem;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.8rem;
}

.hero-controls {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 28px;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.hero-tabs {
  display: flex;
  align-items: stretch;
  gap: 5px;
}

.hero-tabs button {
  display: grid;
  min-width: 150px;
  gap: 2px;
  padding: 13px 16px 10px;
  border: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.58);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.hero-tabs button:hover,
.hero-tabs button.is-active {
  border-color: var(--lime-400);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

.hero-tabs button > span {
  color: var(--lime-400);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.hero-tabs button > strong {
  font-size: 0.77rem;
}

.hero-nav {
  display: flex;
  gap: 8px;
  margin-right: 132px;
}

.hero-nav button {
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  background: rgba(6, 20, 37, 0.45);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.hero-nav button:hover {
  border-color: var(--lime-400);
  background: rgba(6, 20, 37, 0.76);
  transform: translateY(-2px);
}

.hero-nav svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

.scroll-cue {
  position: absolute;
  z-index: 6;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 20px;
  fill: none;
  stroke: var(--lime-400);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.capability-strip {
  color: var(--white);
  background: var(--blue-700);
}

.capability-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.capability-strip span {
  position: relative;
  padding: 22px 18px 22px 34px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.capability-strip span::before {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 7px;
  height: 7px;
  background: var(--lime-400);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.capability-strip span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.section {
  padding-block: 112px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.7fr);
  align-items: end;
  gap: 80px;
  margin-bottom: 52px;
}

.section-heading h2,
.about h2,
.contact h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 4.2rem);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.services {
  background:
    radial-gradient(circle at 100% 0%, rgba(7, 152, 199, 0.08), transparent 30%),
    var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.service-card:hover {
  z-index: 1;
  border-color: rgba(7, 152, 199, 0.55);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.service-card-featured {
  color: var(--white);
  border-color: var(--navy-900);
  background: var(--navy-900);
}

.service-number {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 24px;
  color: #9aa8b6;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.service-icon {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  margin-bottom: 54px;
  fill: none;
  stroke: var(--blue-500);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.service-watermark {
  position: absolute;
  z-index: 0;
  right: -30px;
  bottom: -38px;
  width: 172px;
  height: 172px;
  fill: none;
  opacity: 0.075;
  pointer-events: none;
  stroke: var(--blue-500);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 0.85;
  transform: rotate(-9deg);
  transition:
    opacity 220ms ease,
    transform 350ms ease;
}

.service-card:hover .service-watermark {
  opacity: 0.13;
  transform: rotate(-4deg) scale(1.04);
}

.service-card-featured .service-icon {
  stroke: var(--lime-400);
}

.service-card-featured .service-watermark {
  opacity: 0.09;
  stroke: var(--lime-400);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-size: 1.16rem;
  line-height: 1.25;
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-card-featured p {
  color: rgba(255, 255, 255, 0.66);
}

.capabilities {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.capabilities::before {
  position: absolute;
  top: -220px;
  left: 50%;
  width: 700px;
  height: 700px;
  background: rgba(7, 152, 199, 0.13);
  border-radius: 50%;
  content: "";
  filter: blur(120px);
}

.capabilities .container {
  position: relative;
}

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

.section-heading-light > p {
  color: rgba(255, 255, 255, 0.62);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 22px;
}

.feature-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
}

.feature-card > img,
.feature-card > video {
  width: 100%;
  height: 340px;
  object-fit: cover;
  background: #020912;
}

.feature-card > video {
  object-position: center;
}

.feature-copy {
  padding: 30px 32px 34px;
}

.feature-copy > span {
  color: var(--lime-400);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-copy h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.feature-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
}

.projects {
  background: var(--surface);
}

.project-grid {
  display: grid;
  grid-auto-rows: 290px;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.project-card {
  position: relative;
  grid-column: span 1;
  margin: 0;
  overflow: hidden;
  background: var(--navy-900);
  border-radius: 16px;
}

.project-card-wide {
  grid-column: span 2;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 16, 30, 0.92), transparent 65%);
  content: "";
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-card figcaption {
  position: absolute;
  z-index: 1;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: var(--white);
}

.project-card figcaption span {
  display: block;
  margin-bottom: 3px;
  color: var(--lime-400);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card figcaption strong {
  font-size: 1.05rem;
}

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: start;
  gap: 90px;
}

.about-lead {
  max-width: 710px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.value-list > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.value-list span {
  color: var(--blue-500);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.value-list p {
  display: grid;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.value-list strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 1rem;
}

.principles-card {
  position: sticky;
  top: 110px;
  padding: 42px;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(7, 152, 199, 0.2), transparent 55%),
    var(--navy-900);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.principles-card blockquote {
  margin: 0 0 32px;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.principles-card ul {
  display: flex;
  gap: 12px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.principles-card li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
  font-weight: 700;
}

.principles-card li svg {
  width: 17px;
  fill: none;
  stroke: var(--lime-400);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.sector-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sector-list span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  font-size: 0.72rem;
}

.contact {
  position: relative;
  overflow: hidden;
  padding-block: 104px;
  color: var(--white);
  background: var(--blue-700);
}

.contact::before {
  position: absolute;
  top: -280px;
  right: -220px;
  width: 650px;
  height: 650px;
  border: 130px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  content: "";
}

.contact-lines {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, transparent, black);
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.72fr);
  align-items: start;
  gap: 72px;
}

.contact h2 {
  max-width: 720px;
}

.contact-grid > div > p:not(.eyebrow) {
  max-width: 650px;
  margin: 25px 0 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.06rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-details {
  display: grid;
  max-width: 620px;
  margin: 42px 0 0;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-style: normal;
}

.contact-details > a,
.contact-details > div {
  display: grid;
  gap: 2px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-details a {
  transition: padding-left 180ms ease;
}

.contact-details a:hover {
  padding-left: 8px;
}

.contact-details span {
  color: var(--lime-400);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.contact-details strong {
  font-size: 1rem;
  font-weight: 700;
}

.contact-form {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 36px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(3, 20, 35, 0.24);
}

.contact-form-heading > span {
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form-heading h3 {
  margin: 6px 0 4px;
  color: var(--navy-950);
  font-size: clamp(1.5rem, 2.3vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.contact-form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

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

.form-field {
  display: grid;
  align-content: start;
  gap: 7px;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #ccd7e0;
  color: var(--ink);
  background: #f8fafb;
  border-radius: 12px;
  font: inherit;
  font-size: 0.94rem;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.form-field input {
  min-height: 50px;
  padding: 11px 13px;
}

.form-field textarea {
  min-height: 138px;
  padding: 12px 13px;
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: #aebfcd;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(7, 152, 199, 0.13);
}

.form-field input:user-invalid,
.form-field textarea:user-invalid,
.form-consent input:user-invalid {
  border-color: #c83f49;
}

.form-hint {
  color: var(--muted);
  font-size: 0.73rem;
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.76rem;
  line-height: 1.45;
}

.form-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--blue-700);
}

.contact-submit {
  width: 100%;
  color: var(--white);
  background: var(--navy-900);
  cursor: pointer;
}

.contact-submit:hover {
  background: var(--blue-700);
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-status {
  min-height: 1.5em;
  margin: -8px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #087443;
}

.form-status.is-error {
  color: #b4232d;
}

.site-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding-block: 48px;
}

.brand-footer img {
  height: 34px;
}

.footer-main p {
  max-width: 480px;
  margin: 0;
  font-size: 0.86rem;
}

.footer-main > a:last-child {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-block: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.73rem;
}

.footer-bottom p {
  max-width: 660px;
  margin: 0;
}

.contact-widget {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
}

.contact-widget-panel {
  position: absolute;
  right: 0;
  bottom: 82px;
  width: 370px;
  max-width: calc(100vw - 32px);
  overflow: hidden;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(7, 27, 51, 0.09);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(5, 20, 37, 0.28);
  animation: widget-enter 180ms ease-out;
}

@keyframes widget-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.widget-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  padding: 15px 54px 15px 16px;
  color: var(--white);
  background: #12836f;
}

.widget-avatar {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  overflow: hidden;
  background: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
}

.widget-avatar img {
  width: 32px;
  height: 32px;
}

.widget-agent {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.widget-agent strong {
  font-size: 1rem;
}

.widget-agent small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
}

.widget-close {
  position: absolute;
  top: 17px;
  right: 12px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--white);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.widget-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.widget-close svg,
.widget-message-form svg,
.widget-call svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.widget-body {
  display: grid;
  gap: 16px;
  padding: 24px 18px 18px;
  background:
    radial-gradient(circle at 10px 10px, rgba(7, 27, 51, 0.055) 2px, transparent 2.2px),
    #f3efe9;
  background-size: 38px 38px;
}

.widget-message {
  max-width: 92%;
  margin: 0;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 6px 16px 16px;
  box-shadow: 0 6px 18px rgba(7, 27, 51, 0.09);
  font-size: 0.9rem;
  line-height: 1.5;
}

.widget-message-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  background: var(--white);
  border: 1px solid rgba(7, 27, 51, 0.1);
  border-radius: 999px;
}

.widget-message-form input {
  min-width: 0;
  flex: 1;
  padding: 8px 7px 8px 10px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  outline: 0;
}

.widget-message-form:focus-within {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(7, 152, 199, 0.13);
}

.widget-message-form button {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--white);
  background: #22c55e;
  border-radius: 50%;
  cursor: pointer;
}

.widget-call {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 12px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(7, 27, 51, 0.09);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 800;
}

.widget-call:hover {
  color: var(--blue-700);
  background: var(--white);
}

.widget-footer {
  margin: 0;
  padding: 9px 12px;
  color: #84909a;
  background: #fafafa;
  border-top: 1px solid rgba(7, 27, 51, 0.06);
  font-size: 0.68rem;
  text-align: center;
}

.widget-launcher {
  display: grid;
  width: 64px;
  height: 64px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--white);
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 12px 34px rgba(5, 70, 30, 0.32);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.widget-launcher:hover {
  box-shadow: 0 16px 40px rgba(5, 70, 30, 0.42);
  transform: translateY(-3px) scale(1.03);
}

.widget-launcher svg {
  width: 36px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

@media (max-width: 1040px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 48px;
  }

  .contact-grid {
    gap: 54px;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    display: flex;
    width: min(84vw, 380px);
    height: 100dvh;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    padding: 105px 30px 40px;
    color: var(--navy-900);
    background: var(--white);
    box-shadow: -30px 0 70px rgba(7, 27, 51, 0.2);
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 220ms ease,
      opacity 220ms ease,
      visibility 220ms ease;
  }

  .main-nav.is-open {
    z-index: 0;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }

  .main-nav a {
    padding: 17px 6px;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .main-nav a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 20px;
    border: 0 !important;
    text-align: center;
  }

  .hero {
    min-height: 780px;
    height: 100svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 19, 35, 0.92), rgba(5, 19, 35, 0.64)),
      linear-gradient(0deg, rgba(5, 19, 35, 0.82), transparent 58%);
  }

  .hero h1,
  .hero h2 {
    max-width: 700px;
  }

  .hero-nav {
    margin-right: 0;
  }

  .contact-widget {
    bottom: 88px;
  }

  .hero-tabs button {
    min-width: 112px;
    padding-inline: 12px;
  }

  .hero-tabs button > strong {
    font-size: 0.7rem;
  }

  .scroll-cue {
    display: none;
  }

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

  .capability-strip span:nth-child(3) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .capability-strip span:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .section {
    padding-block: 86px;
  }

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

  .feature-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature-card > img,
  .feature-card > video {
    height: min(52vw, 420px);
  }

  .project-grid {
    grid-auto-rows: 270px;
    grid-template-columns: repeat(2, 1fr);
  }

  .principles-card {
    position: static;
  }
}

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

  .site-header {
    padding-block: 9px;
  }

  .brand {
    padding: 2px 0;
  }

  .brand img {
    height: 34px;
  }

  .hero {
    min-height: 860px;
    max-height: none;
  }

  .hero-content {
    padding-top: 92px;
    padding-bottom: 136px;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(2.3rem, 11.5vw, 3.7rem);
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 28px;
    padding-top: 18px;
  }

  .hero-facts div,
  .hero-facts div + div {
    padding: 0 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
  }

  .hero-facts div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .hero-facts strong {
    font-size: 1rem;
  }

  .hero-facts span {
    font-size: 0.68rem;
    line-height: 1.35;
  }

  .hero-controls {
    bottom: 12px;
    align-items: center;
    gap: 12px;
  }

  .hero-tabs {
    gap: 4px;
  }

  .hero-tabs button {
    min-width: 46px;
    min-height: 46px;
    place-items: center;
    padding: 8px;
    text-align: center;
  }

  .hero-tabs button > strong {
    display: none;
  }

  .hero-nav {
    gap: 6px;
  }

  .hero-nav button {
    width: 42px;
    height: 42px;
  }

  .capability-strip span {
    display: flex;
    min-height: 68px;
    align-items: center;
    padding: 15px 10px 15px 24px;
    font-size: 0.67rem;
    text-align: left;
  }

  .capability-strip span::before {
    left: 8px;
  }

  .section {
    padding-block: 72px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2,
  .about h2,
  .contact h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

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

  .service-card {
    min-height: 260px;
  }

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

  .feature-card > img,
  .feature-card > video {
    height: 230px;
  }

  .feature-copy {
    padding: 24px;
  }

  .project-grid {
    grid-auto-rows: 260px;
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card-wide {
    grid-column: span 1;
  }

  .about-grid {
    gap: 42px;
  }

  .principles-card {
    padding: 30px 24px;
  }

  .principles-card ul {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact {
    padding-block: 76px;
  }

  .contact-grid {
    gap: 52px;
  }

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

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

  .form-field-wide {
    grid-column: auto;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

  .contact-widget {
    right: 14px;
    bottom: 78px;
  }

  .contact-widget-panel {
    bottom: 72px;
    width: calc(100vw - 28px);
  }

  .widget-launcher {
    width: 58px;
    height: 58px;
  }

  .widget-launcher svg {
    width: 33px;
  }
}

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

  .contact-widget-panel {
    animation: none;
  }
}
