:root {
  --navy: #052f50;
  --navy-deep: #031f35;
  --navy-black: #021725;
  --navy-panel: #062b46;
  --navy-panel-soft: #083856;
  --blue: #087dbe;
  --cyan: #26b9d5;
  --aqua: #6ed8df;
  --ink: #f3fbfd;
  --muted: #a5bbc5;
  --paper: #04243a;
  --white: #ffffff;
  --line: rgba(162, 224, 232, 0.14);
  --shadow: 0 24px 70px rgba(0, 8, 15, 0.3);
  --radius: 28px;
  --container: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--navy-black);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.section {
  padding: 120px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 86px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(2, 23, 37, 0.42);
  backdrop-filter: blur(12px);
  transition: background 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

.site-header.scrolled {
  height: 74px;
  background: rgba(3, 31, 53, 0.94);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 42px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  width: auto;
  min-width: 218px;
  padding: 7px 13px 7px 9px;
  border: 1px solid rgba(110, 216, 223, 0.18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(110,216,223,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 12px 35px rgba(0,0,0,.12);
}

.brand .brand-mark {
  width: 34px;
  height: 44px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,.18));
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  color: var(--white);
  font-size: 1.03rem;
  font-weight: 850;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.brand-copy strong span {
  color: var(--aqua);
}

.brand-copy small {
  margin-top: 5px;
  color: rgba(255,255,255,.52);
  font-size: .48rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.89rem;
  font-weight: 650;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: var(--aqua);
  transition: right 0.25s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}

.nav-cta {
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 700;
}

.nav-cta:hover {
  color: var(--navy-deep);
  background: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 820px;
  padding: 145px 0 90px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 36%, rgba(38, 185, 213, 0.18), transparent 28%),
    linear-gradient(125deg, #031f35 0%, #063f68 58%, #075b87 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(to right, transparent, black);
}

.hero-shape {
  position: absolute;
  border: 1px solid rgba(110, 216, 223, 0.16);
  border-radius: 50%;
}

.hero-shape-one {
  width: 660px;
  height: 660px;
  top: 50px;
  right: -220px;
}

.hero-shape-two {
  width: 400px;
  height: 400px;
  right: 10px;
  bottom: -210px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 75px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--aqua);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow.dark {
  color: var(--aqua);
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-size: clamp(3rem, 5vw, 5.35rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hero h1 em {
  display: block;
  color: var(--aqua);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-copy > p {
  max-width: 680px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-primary {
  color: var(--navy-deep);
  background: var(--aqua);
  box-shadow: 0 14px 35px rgba(34, 188, 210, 0.18);
}

.button-primary:hover {
  background: var(--white);
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-trust div {
  display: grid;
  gap: 5px;
}

.hero-trust strong {
  font-size: 1.25rem;
}

.hero-trust span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.75rem;
  line-height: 1.4;
}

.hero-visual {
  position: relative;
}

.visual-panel {
  position: relative;
  min-height: 500px;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 40px 6px 40px 6px;
  background:
    linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.02)),
    #064469;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.visual-panel::after {
  content: "";
  position: absolute;
  inset: auto -40px -100px 30%;
  height: 250px;
  border-radius: 50%;
  background: rgba(110, 216, 223, 0.12);
  filter: blur(2px);
  transform: rotate(-12deg);
}

.water-rings {
  position: absolute;
  inset: -20px -100px auto auto;
  width: 370px;
  height: 370px;
}

.water-rings span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(110, 216, 223, 0.22);
  border-radius: 43% 57% 52% 48%;
  animation: drift 12s linear infinite;
}

.water-rings span:nth-child(2) {
  inset: 45px;
  animation-duration: 9s;
  animation-direction: reverse;
}

.water-rings span:nth-child(3) {
  inset: 95px;
  animation-duration: 7s;
}

@keyframes drift {
  to { transform: rotate(360deg); }
}

.visual-content {
  position: absolute;
  z-index: 2;
  right: 44px;
  bottom: 44px;
  left: 44px;
}

.visual-kicker {
  color: var(--aqua);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.visual-content h2 {
  max-width: 420px;
  margin: 10px 0 30px;
  font-size: 2.1rem;
  line-height: 1.08;
}

.visual-content ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.visual-content li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
}

.visual-content li span {
  color: var(--aqua);
  font-size: 0.7rem;
  font-weight: 800;
}

.floating-card {
  position: absolute;
  right: -24px;
  bottom: -34px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 265px;
  padding: 20px;
  color: var(--white);
  border: 1px solid rgba(110,216,223,.18);
  border-radius: 12px;
  background: rgba(3,31,53,.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.floating-card div {
  display: grid;
}

.floating-card strong {
  font-size: 0.86rem;
}

.floating-card small {
  color: rgba(224,245,248,.55);
  font-size: 0.68rem;
}

.pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #28b77a;
  box-shadow: 0 0 0 7px rgba(40, 183, 122, 0.13);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue span {
  color: var(--aqua);
}

.partner-strip {
  border-bottom: 1px solid var(--line);
  background: #04263e;
}

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

.partner-grid span {
  padding: 26px 20px;
  color: rgba(220, 243, 247, 0.66);
  border-left: 1px solid var(--line);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.partner-grid span:last-child {
  border-right: 1px solid var(--line);
}

.about {
  background:
    radial-gradient(circle at 12% 20%, rgba(38,185,213,.08), transparent 26%),
    var(--navy-black);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 95px;
}

.section-intro h2,
.section-heading h2,
.lab-copy h2,
.clients-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.35rem, 4vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.about-copy .lead {
  margin: 0 0 22px;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--white);
}

.about-copy > p:not(.lead) {
  color: var(--muted);
}

.value-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 38px;
  margin-top: 48px;
}

.value-row article {
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.number {
  color: var(--aqua);
  font-size: 0.72rem;
  font-weight: 800;
}

.value-row h3 {
  margin: 13px 0 9px;
  font-size: 1.12rem;
}

.value-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.services {
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    var(--paper);
  background-size: 72px 72px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 0.62fr;
  align-items: end;
  gap: 80px;
  margin-bottom: 55px;
}

.section-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
}

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

.service-card {
  position: relative;
  min-height: 340px;
  padding: 40px;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(9,58,88,.96), rgba(4,36,58,.98));
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  border-color: rgba(110, 216, 223, 0.42);
  box-shadow: 0 24px 60px rgba(0, 8, 15, 0.3);
  transform: translateY(-5px);
}

.service-card.featured {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy), #075d88);
}

.service-card.featured::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -100px;
  bottom: -100px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--navy-deep);
  border-radius: 12px;
  background: var(--aqua);
}

.featured .service-icon {
  color: var(--navy);
  background: var(--aqua);
}

.service-icon svg {
  width: 25px;
  fill: currentColor;
}

.service-index {
  position: absolute;
  top: 38px;
  right: 40px;
  color: rgba(255,255,255,.42);
  font-size: 0.75rem;
  font-weight: 800;
}

.featured .service-index {
  color: rgba(255, 255, 255, 0.52);
}

.service-card h3 {
  margin: 48px 0 14px;
  font-size: 1.55rem;
}

.service-card p {
  max-width: 500px;
  color: rgba(220, 239, 243, 0.65);
  font-size: 0.92rem;
}

.featured p {
  color: rgba(255, 255, 255, 0.68);
}

.service-card a {
  position: absolute;
  bottom: 34px;
  left: 40px;
  display: inline-flex;
  gap: 15px;
  color: var(--aqua);
  font-size: 0.78rem;
  font-weight: 800;
}

.featured a {
  color: var(--aqua);
}

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

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

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 35px;
}

.project-tab {
  padding: 10px 17px;
  color: rgba(255,255,255,.65);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 700;
}

.project-tab:hover,
.project-tab.active {
  color: var(--navy-deep);
  border-color: var(--aqua);
  background: var(--aqua);
}

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

.project-card {
  min-height: 260px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.015));
  transition: border 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.project-card:hover {
  border-color: rgba(110, 216, 223, 0.5);
  transform: translateY(-4px);
}

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

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}

.project-top span {
  color: var(--aqua);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-top strong {
  font-size: 1.75rem;
}

.project-card h3 {
  max-width: 270px;
  margin: 55px 0 10px;
  font-size: 1.28rem;
  line-height: 1.25;
}

.project-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.51);
  font-size: 0.78rem;
}

.project-card small {
  display: block;
  margin-top: 22px;
  color: rgba(255,255,255,.32);
}

.laboratory {
  background:
    radial-gradient(circle at 88% 50%, rgba(38,185,213,.08), transparent 28%),
    #031f35;
}

.lab-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 90px;
}

.lab-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  color: var(--white);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 70% 25%, rgba(110,216,223,.2), transparent 28%),
    linear-gradient(145deg, var(--navy), #0876a1);
  overflow: hidden;
}

.lab-panel::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
}

.lab-panel > span {
  position: absolute;
  right: 40px;
  bottom: 35px;
  left: 40px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lab-symbol {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 160px;
  height: 160px;
  color: var(--navy);
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 22px rgba(110, 216, 223, 0.08);
}

.lab-symbol svg {
  width: 75px;
  fill: currentColor;
}

.lab-orbit {
  position: absolute;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}

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

.orbit-two {
  width: 500px;
  height: 500px;
}

.lab-copy > p {
  max-width: 610px;
  margin: 25px 0 32px;
  color: var(--muted);
}

.lab-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}

.lab-list div {
  display: flex;
  gap: 14px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
}

.lab-list span {
  color: var(--aqua);
  font-size: 0.68rem;
  font-weight: 800;
}

.lab-list strong {
  font-size: 0.83rem;
}

.text-link {
  display: inline-flex;
  gap: 20px;
  color: var(--aqua);
  font-size: 0.82rem;
  font-weight: 800;
}

.clients {
  padding: 95px 0;
  border-top: 1px solid var(--line);
  background: #04283f;
}

.clients-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  align-items: end;
  gap: 50px;
}

.clients-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.client-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 55px;
  gap: 12px;
}

.client-list span {
  display: grid;
  place-items: center;
  min-height: 118px;
  padding: 22px 18px;
  color: #f1fbfd;
  border: 1px solid rgba(110, 216, 223, 0.2);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(110,216,223,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.45;
  text-align: center;
  text-shadow: 0 1px 12px rgba(0,0,0,.3);
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.client-list span:hover {
  color: var(--white);
  border-color: rgba(110, 216, 223, 0.52);
  background: linear-gradient(145deg, rgba(110,216,223,.13), rgba(255,255,255,.055));
  transform: translateY(-3px);
}

.contact {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(38, 185, 213, 0.15), transparent 24%),
    linear-gradient(135deg, #052f50, #073f63);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
  gap: 90px;
}

.contact-copy > p {
  max-width: 520px;
  margin: 26px 0 45px;
  color: rgba(255, 255, 255, 0.64);
}

.contact-details {
  display: grid;
  gap: 22px;
}

.contact-details a,
.contact-details div {
  display: grid;
  gap: 3px;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.contact-details small {
  color: var(--aqua);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-details strong {
  max-width: 470px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 44px;
  color: var(--white);
  border: 1px solid rgba(110,216,223,.16);
  border-radius: 18px;
  background: linear-gradient(145deg, #073a59, #04263e);
  box-shadow: 0 30px 90px rgba(0,0,0,.2);
}

.form-heading,
.contact-form label:nth-of-type(4),
.contact-form .button,
.form-note {
  grid-column: 1 / -1;
}

.form-heading {
  display: grid;
  margin-bottom: 5px;
}

.form-heading span {
  color: var(--aqua);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.form-heading strong {
  font-size: 1.8rem;
}

.contact-form label {
  display: grid;
  gap: 7px;
}

.contact-form label > span {
  color: rgba(224, 245, 248, 0.72);
  font-size: 0.72rem;
  font-weight: 750;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--white);
  border: 1px solid rgba(167, 221, 229, 0.19);
  border-radius: 7px;
  outline: none;
  background: rgba(1, 20, 33, 0.55);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(110,216,223,.1);
}

.contact-form option {
  color: var(--white);
  background: var(--navy-deep);
}

.contact-form textarea {
  resize: vertical;
}

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

.form-note {
  margin: -5px 0 0;
  color: rgba(224, 245, 248, 0.48);
  font-size: 0.68rem;
  text-align: center;
}

.site-footer {
  padding: 75px 0 25px;
  color: rgba(255, 255, 255, 0.65);
  background: #021725;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 65px;
}

.footer-brand img {
  width: 38px;
}

.footer-brand p {
  max-width: 330px;
  margin: 24px 0 0;
  font-size: 0.82rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 13px 16px 13px 12px;
  border: 1px solid rgba(110,216,223,.18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,.065), rgba(110,216,223,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.footer-logo img {
  width: 40px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,.14));
}

.footer-logo > span {
  display: grid;
  line-height: 1;
}

.footer-logo strong {
  margin: 0;
  color: var(--white);
  font-size: 1.18rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-logo strong span {
  color: var(--aqua);
}

.footer-logo small {
  margin-top: 6px;
  color: rgba(255,255,255,.48);
  font-size: .5rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid strong {
  margin-bottom: 10px;
  color: var(--white);
  font-size: 0.78rem;
}

.footer-grid a {
  font-size: 0.75rem;
}

.footer-grid a:hover {
  color: var(--aqua);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 65px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.68rem;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 1050px) {
  :root {
    --container: min(100% - 36px, 920px);
  }

  .main-nav {
    gap: 20px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-bottom: 115px;
  }

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

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

  .hero-visual {
    max-width: 650px;
  }

  .about-grid,
  .lab-grid,
  .contact-grid {
    gap: 55px;
  }

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

  .client-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 35px;
  }
}

@media (max-width: 820px) {
  :root {
    --container: calc(100% - 32px);
  }

  .section {
    padding: 90px 0;
  }

  .site-header,
  .site-header.scrolled {
    height: 70px;
    background: rgba(3, 31, 53, 0.96);
  }

  .brand {
    min-width: 210px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    inset: 70px 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 26px 24px;
    background: #031f35;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease;
  }

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

  .main-nav a {
    padding: 17px 4px;
    border-bottom: 1px solid rgba(255,255,255,.09);
    font-size: 1rem;
  }

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

  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: clamp(3rem, 11vw, 4.6rem);
  }

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

  .hero-trust div {
    grid-template-columns: 120px 1fr;
    align-items: center;
  }

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

  .partner-grid span:nth-child(3),
  .partner-grid span:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .about-grid,
  .lab-grid,
  .contact-grid,
  .section-heading,
  .clients-heading {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .brand {
    min-width: 0;
    padding-right: 10px;
  }

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

  .brand-copy strong {
    font-size: .9rem;
  }

  .brand-copy small {
    font-size: .4rem;
  }

  .section {
    padding: 74px 0;
  }

  .hero {
    padding-bottom: 90px;
  }

  .hero h1 {
    font-size: 2.95rem;
  }

  .hero-copy > p {
    font-size: 0.96rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-trust div {
    grid-template-columns: 96px 1fr;
  }

  .visual-panel {
    min-height: 430px;
    padding: 28px;
    border-radius: 24px 5px;
  }

  .visual-content {
    right: 28px;
    bottom: 28px;
    left: 28px;
  }

  .visual-content h2 {
    font-size: 1.65rem;
  }

  .floating-card {
    right: -6px;
    bottom: -42px;
    width: 230px;
  }

  .scroll-cue {
    display: none;
  }

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

  .partner-grid span {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .value-row,
  .lab-list,
  .project-grid,
  .client-list,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 360px;
    padding: 30px;
  }

  .service-index {
    top: 30px;
    right: 30px;
  }

  .service-card a {
    left: 30px;
  }

  .lab-panel {
    min-height: 430px;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .contact-form label,
  .form-heading,
  .contact-form label:nth-of-type(4),
  .contact-form .button,
  .form-note {
    grid-column: 1;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

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

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

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