:root {
  --black: #050505;
  --dark: #111111;
  --gray: #6f6f6f;
  --white: #ffffff;
  --soft: #f7f7f4;
  --primary: #005582;
  --secondary: #0086ad;
  --support: #daeff8;
  --line: rgba(0, 0, 0, 0.1);
  --radius: 28px;
  --text: #111111;
  --text-muted: rgba(0, 0, 0, 0.64);
  --text-soft: rgba(0, 0, 0, 0.52);
  --content-max: 1380px;
  --wide-max: 1560px;
  --page-gutter: clamp(24px, 4.4vw, 76px);
  --content-pad: max(var(--page-gutter), calc((100vw - var(--wide-max)) / 2));
  --font-label: 12px;
  --font-nav: 13px;
  --font-body: 16px;
  --font-body-lg: 18px;
  --font-hero: 30px;
  --font-heading: 58px;
  --font-heading-tight: 52px;
  --font-card-title: 30px;
  --font-item-title: 22px;
  --font-contact-link: 26px;
  --header-height: 84px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --mobile-safe-top: max(var(--safe-top), 18px);
  --mobile-safe-bottom: max(var(--safe-bottom), 18px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --terrain-y: 0px;
  --terrain-line-y: 0px;
  --terrain-scale: 1;
  --terrain-opacity: 0.58;
  --contact-terrain-y: 0px;
  --contact-terrain-opacity: 0.78;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-size: var(--font-body);
  background: var(--soft);
  color: var(--text);
  overflow-x: hidden;
}

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

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

::selection {
  background: var(--primary);
  color: var(--white);
}

.page-progress {
  position: fixed;
  top: var(--safe-top);
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--primary);
  z-index: 9999;
}

/* Header */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--header-height) + var(--safe-top));
  padding: var(--safe-top) var(--content-pad) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease),
    background 0.45s var(--ease),
    height 0.45s var(--ease);
}

.site-header.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-header.scrolled {
  height: calc(68px + var(--safe-top));
  background: rgba(247, 247, 244, 0.86);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: clamp(116px, 10vw, 150px);
  height: clamp(36px, 4.2vw, 50px);
  overflow: visible;
  z-index: 1001;
}

.brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: left center;
  image-rendering: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 34px);
}

.site-nav a {
  position: relative;
  font-size: var(--font-nav);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.35s var(--ease);
}

.site-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--black);
  margin: 5px auto;
  transition: transform 0.3s var(--ease);
}

.menu-toggle.active span:first-child {
  transform: translateY(3.2px) rotate(45deg);
}

.menu-toggle.active span:last-child {
  transform: translateY(-3.2px) rotate(-45deg);
}

/* Hero */

.hero-scroll {
  position: relative;
  height: 195vh;
  background: var(--soft);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 100svh;
  background: var(--soft);
  overflow: hidden;
  display: grid;
  place-items: center;
  perspective: 1400px;
  transform-style: preserve-3d;
}

.hero-bg-grid {
  position: absolute;
  inset: -10vmax;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: var(--terrain-opacity, 0.9);
  transform:
    translate3d(0, var(--terrain-y, 0px), 0)
    scale(var(--terrain-scale, 1));
  transform-origin: center;
  will-change: transform, opacity;
  background:
    radial-gradient(ellipse at 50% 43%, rgba(233, 240, 242, 0.6) 0%, rgba(247, 247, 244, 0.48) 42%, transparent 72%),
    radial-gradient(ellipse at 82% 20%, rgba(92, 111, 120, 0.082) 0%, rgba(92, 111, 120, 0.036) 28%, transparent 58%),
    radial-gradient(ellipse at 16% 78%, rgba(74, 96, 108, 0.066) 0%, rgba(74, 96, 108, 0.028) 30%, transparent 62%),
    radial-gradient(ellipse at 58% 64%, rgba(58, 74, 82, 0.038) 0%, transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.38), transparent 46%, rgba(65, 82, 92, 0.038)),
    var(--soft);
}

.hero-bg-grid::before,
.hero-bg-grid::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-bg-grid::before {
  inset: -58% -60%;
  transform: rotate(-38deg) translate3d(calc(var(--terrain-line-y, 0px) + 118px), 0, 0);
  transform-origin: center;
  will-change: transform;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.38) 0%, rgba(230, 238, 241, 0.17) 30%, rgba(88, 108, 118, 0.058) 58%, rgba(58, 74, 82, 0.038) 100%) 16% 0 / 10% 100% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0%, rgba(230, 238, 241, 0.18) 34%, rgba(88, 108, 118, 0.078) 60%, rgba(58, 74, 82, 0.058) 100%) 34% 0 / 10% 100% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0%, rgba(230, 238, 241, 0.15) 34%, rgba(88, 108, 118, 0.064) 60%, rgba(58, 74, 82, 0.046) 100%) 52% 0 / 10% 100% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(230, 238, 241, 0.17) 34%, rgba(88, 108, 118, 0.074) 60%, rgba(58, 74, 82, 0.056) 100%) 70% 0 / 10% 100% no-repeat;
  filter:
    drop-shadow(0 24px 48px rgba(58, 74, 82, 0.048))
    drop-shadow(0 64px 120px rgba(58, 74, 82, 0.036));
  animation: diagonal-layers-drift 26s ease-in-out infinite alternate;
}

.hero-bg-grid::after {
  inset: 0;
  background:
    radial-gradient(ellipse 34% 28% at 50% 43%, rgba(247, 247, 244, 0.72) 0%, rgba(247, 247, 244, 0.36) 48%, rgba(247, 247, 244, 0.055) 72%, transparent 100%),
    radial-gradient(ellipse at 78% 28%, rgba(230, 238, 241, 0.3) 0%, transparent 38%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, transparent 34%, rgba(58, 74, 82, 0.018) 74%, transparent 100%),
    radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.018) 0 1px, transparent 1.4px),
    radial-gradient(circle at 70% 66%, rgba(0, 0, 0, 0.014) 0 1px, transparent 1.5px),
    linear-gradient(to bottom, rgba(247, 247, 244, 0.05), transparent 34%, rgba(247, 247, 244, 0.09) 92%);
  background-size: auto, auto, auto, 34px 34px, 46px 46px, auto;
}

@keyframes diagonal-layers-drift {
  from {
    transform: rotate(-38deg) translate3d(calc(var(--terrain-line-y, 0px) + 106px), 0, 0);
  }

  to {
    transform: rotate(-38deg) translate3d(calc(var(--terrain-line-y, 0px) + 130px), -8px, 0);
  }
}

.hero-intro {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  display: grid;
  gap: 20px;
  place-items: center;
  text-align: center;
  isolation: isolate;
  transform:
    translate3d(
      0,
      calc(var(--hero-y, 0) * 1px),
      calc(var(--hero-z, 0) * 1px)
    )
    translateY(-2vh)
    scale(var(--hero-scale, 1));
  opacity: var(--hero-opacity, 1);
  filter: blur(calc(var(--hero-blur, 0) * 1px));
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.hero-logo-wrap {
  position: relative;
  z-index: 1;
  width: clamp(210px, 22vw, 300px);
  margin-bottom: 0;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 44px rgba(0, 0, 0, 0.1));
}

.hero-statement {
  position: relative;
  left: auto;
  top: auto;
  z-index: 2;
  width: min(560px, 82vw);
  max-width: 560px;
  transform: none;
  pointer-events: auto;
}

.hero-statement .eyebrow {
  margin-bottom: 12px;
}

.hero-headline {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  font-size: clamp(22px, 2.1vw, 36px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-transform: none;
}

.hero-headline span {
  display: block;
}

.hero-headline span + span {
  font-size: 0.58em;
  line-height: 1.28;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: rgba(0, 0, 0, 0.62);
}

.eyebrow,
.section-label {
  font-size: var(--font-label);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
}

.about h2,
.section-head h2,
.why h2,
.cta h2,
.contact h2 {
  font-size: var(--font-heading);
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--text);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.section-head h2 {
  justify-self: start;
  max-width: 980px;
  white-space: normal;
  font-size: var(--font-heading-tight);
}

.services .section-head {
  gap: clamp(34px, 3vw, 42px);
  justify-items: center;
  text-align: center;
}

.services .section-head h2 {
  justify-self: center;
  margin-inline: auto;
}

@media (min-width: 1200px) {
  .services .section-head h2 {
    max-width: 1200px;
    white-space: nowrap;
  }
}

.scroll-hint {
  position: fixed;
  left: 50%;
  bottom: 32px;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  transform: translateX(-50%);
  opacity: var(--scroll-opacity, 1);
  will-change: transform, opacity;
  cursor: pointer;
  transition:
    color 0.3s var(--ease),
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}

.scroll-text {
  display: block;
}

.scroll-arrow {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition:
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

.scroll-hint:hover {
  color: var(--primary);
  transform: translateX(-50%) translateY(-4px);
  animation: scroll-hint-float 2s ease-in-out infinite;
}

.scroll-hint:hover .scroll-arrow {
  animation: scroll-arrow-float 1.6s ease-in-out infinite;
}

@keyframes scroll-hint-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -7px;
  }
}

@keyframes scroll-arrow-float {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 5px;
  }
}

/* Sections */

.section {
  position: relative;
  min-height: 86vh;
  padding: 104px var(--content-pad);
}

.section > :where(.section-label, .section-head, .about-grid, .services-grid, .why-layout, .cta-inner, .contact-grid) {
  width: min(100%, var(--content-max));
  margin-inline: auto;
}

.services,
.why,
.contact {
  background: var(--soft);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--black);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--support);
  border-color: var(--support);
  color: var(--primary);
}

/* About */

.about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
  background: transparent;
  min-height: 94vh;
  margin-top: -100vh;
  padding-top: 96px;
  padding-bottom: 104px;
  overflow: hidden;
  perspective: 1500px;
  transform-style: preserve-3d;
}

.about-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(68px, 7vw, 112px);
  align-items: flex-start;
}

.about .section-label.reveal,
.about .about-title.reveal,
.about .about-copy.reveal {
  opacity: var(--about-opacity, 0);
  transition:
    opacity 0.25s linear,
    transform 0.25s linear;
  will-change: transform, opacity;
}

.about .section-label.reveal {
  transform: translate3d(0, calc(var(--about-label-y, -90) * 1px), 0);
}

.about .about-title.reveal {
  transform:
    translate3d(
      calc(var(--about-title-x, -220) * 1px),
      calc(var(--about-title-y, 60) * 1px),
      calc(var(--about-title-z, -520) * 1px)
    )
    rotateY(calc(var(--about-rotate, 12) * -1deg))
    scale(var(--about-title-scale, 0.92));
}

.about .about-copy.reveal {
  transform:
    translate3d(
      calc(var(--about-copy-x, 220) * 1px),
      calc(var(--about-copy-y, 90) * 1px),
      calc(var(--about-copy-z, -520) * 1px)
    )
    rotateY(calc(var(--about-rotate, 12) * 1deg))
    scale(var(--about-copy-scale, 0.92));
}

.about-copy p {
  font-size: var(--font-body-lg);
  line-height: 1.68;
  color: var(--text-muted);
}

.stats {
  margin-top: 48px;
  display: grid;
  gap: 14px;
}

.stats div {
  padding: 14px 0;
  transition:
    transform 0.3s var(--ease),
    padding-left 0.3s var(--ease),
    color 0.3s var(--ease);
}

.stats div:hover {
  padding-left: 12px;
  transform: translateX(4px);
}

.stats span {
  font-size: var(--font-body-lg);
  font-weight: 800;
  transition: color 0.3s var(--ease);
}

.stats div:hover span {
  color: var(--primary);
}

/* Services */

.services {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-grid {
  max-width: 1180px;
  margin-top: clamp(64px, 5vw, 76px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 300px;
  padding: clamp(34px, 3.4vw, 48px);
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 8px;
  background: rgba(249, 250, 248, 0.78);
  box-shadow: 0 18px 48px rgba(0, 85, 130, 0.045);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 18px;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease);
}

.service-card::after {
  content: "";
  position: absolute;
  left: clamp(34px, 3.4vw, 48px);
  right: clamp(34px, 3.4vw, 48px);
  bottom: 28px;
  height: 1px;
  background: rgba(0, 85, 130, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition:
    background 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.service-card:hover {
  border-color: rgba(0, 85, 130, 0.18);
  background: rgba(250, 251, 249, 0.9);
  box-shadow: 0 24px 64px rgba(0, 85, 130, 0.055);
  transform: translateY(-5px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card h3 {
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.1;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: rgba(8, 36, 49, 0.88);
  transition:
    color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.service-card p {
  min-height: 4.95em;
  margin: 0 auto;
  max-width: 360px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  font-size: var(--font-body);
  line-height: 1.65;
  color: rgba(17, 43, 55, 0.6);
  transition:
    color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.service-card:hover h3,
.service-card:hover p {
  transform: translateY(-4px);
}

.service-card:hover p {
  color: rgba(13, 48, 65, 0.68);
}

/* Why */

.why {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-layout {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(68px, 7vw, 112px);
}

.why-list {
  display: grid;
}

.why-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 30px;
  padding: 38px 28px;
  border-top: 1px solid var(--line);
  border-radius: 22px;
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.why-item:hover {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  transform: translateX(10px);
  border-color: transparent;
}

.why-item:last-child {
  border-bottom: 1px solid var(--line);
}

.why-item > span {
  width: 18px;
  height: 18px;
  margin-top: 8px;
  background: var(--primary);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  transition:
    background 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.why-item:hover > span {
  background: var(--support);
  transform: rotate(90deg);
}

.why-item h3 {
  font-size: var(--font-item-title);
  text-transform: uppercase;
  letter-spacing: 0;
}

.why-item p {
  max-width: 600px;
  margin-top: 12px;
  font-size: var(--font-body);
  line-height: 1.65;
  color: var(--text-muted);
  transition: color 0.35s var(--ease);
}

.why-item:hover p {
  color: rgba(255, 255, 255, 0.72);
}

/* CTA */

.cta {
  min-height: 80vh;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.cta h2 {
  margin: 22px auto 38px;
  color: rgba(255, 255, 255, 0.94);
}

.cta .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

/* Contact */

.contact {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.contact::before {
  content: "";
  position: absolute;
  inset: -72% -86%;
  z-index: 1;
  opacity: var(--contact-terrain-opacity, 0.88);
  pointer-events: none;
  transform:
    rotate(-38deg)
    translate3d(calc(var(--contact-terrain-y, 0px) + 120px), 0, 0)
    scale(1.08);
  transform-origin: center;
  will-change: transform, opacity;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.38) 0%, rgba(230, 238, 241, 0.17) 30%, rgba(88, 108, 118, 0.058) 58%, rgba(58, 74, 82, 0.038) 100%) 14% 0 / 10% 100% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0%, rgba(230, 238, 241, 0.18) 34%, rgba(88, 108, 118, 0.078) 60%, rgba(58, 74, 82, 0.058) 100%) 32% 0 / 10% 100% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0%, rgba(230, 238, 241, 0.15) 34%, rgba(88, 108, 118, 0.064) 60%, rgba(58, 74, 82, 0.046) 100%) 50% 0 / 10% 100% no-repeat,
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 0%, rgba(230, 238, 241, 0.17) 34%, rgba(88, 108, 118, 0.074) 60%, rgba(58, 74, 82, 0.056) 100%) 68% 0 / 10% 100% no-repeat;
  filter:
    drop-shadow(0 24px 48px rgba(58, 74, 82, 0.048))
    drop-shadow(0 64px 120px rgba(58, 74, 82, 0.036));
  animation: contact-diagonal-layers-drift 30s ease-in-out infinite alternate;
}

.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.68;
  background:
    radial-gradient(ellipse at 74% 48%, rgba(233, 240, 242, 0.6) 0%, rgba(247, 247, 244, 0.48) 42%, transparent 72%),
    radial-gradient(ellipse at 86% 18%, rgba(92, 111, 120, 0.082) 0%, transparent 46%),
    radial-gradient(ellipse at 16% 78%, rgba(74, 96, 108, 0.066) 0%, transparent 52%),
    radial-gradient(ellipse at 58% 64%, rgba(58, 74, 82, 0.038) 0%, transparent 48%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.18) 0%, transparent 34%, rgba(58, 74, 82, 0.018) 74%, transparent 100%),
    radial-gradient(circle at 22% 34%, rgba(0, 0, 0, 0.018) 0 1px, transparent 1.4px),
    radial-gradient(circle at 76% 66%, rgba(0, 0, 0, 0.014) 0 1px, transparent 1.5px),
    linear-gradient(to bottom, var(--soft) 0%, rgba(247, 247, 244, 0.52) 48%, var(--soft) 100%);
  background-size: auto, auto, auto, auto, auto, 34px 34px, 46px 46px, auto;
  pointer-events: none;
}

@keyframes contact-diagonal-layers-drift {
  from {
    transform:
      rotate(-38deg)
      translate3d(calc(var(--contact-terrain-y, 0px) + 104px), 0, 0)
      scale(1.08);
  }

  to {
    transform:
      rotate(-38deg)
      translate3d(calc(var(--contact-terrain-y, 0px) + 136px), -8px, 0)
      scale(1.105);
  }
}

.contact-grid {
  position: relative;
  z-index: 2;
  width: min(100%, var(--content-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(68px, 7vw, 112px);
  align-items: end;
}

.contact-logo-wrap {
  width: clamp(104px, 11vw, 150px);
  margin-bottom: 34px;
}

.contact-logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.contact-info p {
  max-width: 620px;
  margin-top: 28px;
  font-size: var(--font-body-lg);
  line-height: 1.65;
  color: var(--text-muted);
}

.contact-details {
  display: grid;
  width: min(100%, 620px);
  justify-self: end;
}

.contact-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 32px;
  padding: 34px 0;
  align-items: center;
}

.contact-row span {
  font-size: var(--font-label);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.contact-row a,
.contact-row p {
  font-size: var(--font-contact-link);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.contact-row a {
  position: relative;
  color: var(--text);
  width: fit-content;
  transition: color 0.3s var(--ease);
}


.contact-row a:hover {
  color: var(--primary);
}


/* Footer */

.site-footer {
  padding: 28px var(--content-pad) calc(28px + var(--safe-bottom));
  width: 100%;
  max-width: calc(var(--content-max) + (var(--content-pad) * 2));
  margin-inline: auto;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--font-nav);
  color: var(--text-muted);
  background: var(--soft);
}

.site-footer a {
  font-weight: 800;
  color: var(--primary);
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

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

.service-card.reveal.active:hover {
  transform: translateY(-5px);
}

/* Responsive */

@media (max-width: 1100px) {
  :root {
    --font-hero: 28px;
    --font-heading: 48px;
    --font-heading-tight: 44px;
    --font-card-title: 28px;
    --font-contact-link: 24px;
  }

  .about-grid,
  .section-head,
  .why-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-details {
    justify-self: start;
  }

  .section-head h2 {
    justify-self: start;
    white-space: normal;
    max-width: 900px;
  }

  .section {
    min-height: 92vh;
    padding: 104px var(--page-gutter);
  }

  .about {
    min-height: 96vh;
    padding-top: 96px;
    padding-bottom: 104px;
  }

  .cta {
    min-height: 88vh;
  }

  .contact {
    min-height: 92vh;
  }

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

  .hero-scroll {
    height: 185vh;
  }

  .hero-sticky {
    perspective: 1000px;
  }

  .hero-logo-wrap {
    width: clamp(190px, 28vw, 270px);
  }

  .hero-statement h1 {
    font-size: clamp(20px, 4vw, 30px);
    line-height: 1.06;
    letter-spacing: -0.035em;
  }

  .brand {
    width: clamp(112px, 12vw, 138px);
    height: clamp(36px, 4.8vw, 48px);
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .section {
    min-height: 76vh;
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .about {
    min-height: 78vh;
    padding-top: 76px;
    padding-bottom: 82px;
  }

  .services-grid,
  .why-layout {
    margin-top: 50px;
  }

  .services-grid {
    margin-top: 64px;
  }

  .cta {
    min-height: 72vh;
  }

  .contact {
    min-height: 76vh;
  }
}

@media (max-width: 760px) {
  :root {
    --page-gutter: 28px;
    --font-body: 15px;
    --font-body-lg: 17px;
    --font-hero: 21px;
    --font-heading: 40px;
    --font-heading-tight: 38px;
    --font-card-title: 25px;
    --font-item-title: 20px;
    --font-contact-link: 22px;
  }

  .site-header {
    height: calc(86px + var(--mobile-safe-top));
    padding: var(--mobile-safe-top) var(--page-gutter) 0;
  }

  .site-header.scrolled {
    height: calc(76px + var(--mobile-safe-top));
  }

  .brand {
    width: clamp(100px, 29vw, 124px);
    height: clamp(34px, 9.5vw, 43px);
  }

  .menu-toggle {
    display: block;
    width: 50px;
    height: 50px;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--mobile-safe-top, var(--safe-top)) + 86px);
    right: 20px;
    left: auto;
    bottom: auto;
    width: min(260px, calc(100vw - 40px));
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(247, 247, 244, 0.94);
    backdrop-filter: blur(20px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.96);
    transform-origin: top right;
    transition:
      opacity 0.3s var(--ease),
      transform 0.3s var(--ease);
  }

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

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  .site-nav a:hover {
    background: rgba(0, 85, 130, 0.08);
  }

  .hero-scroll {
    height: 156vh;
  }

  .hero-bg-grid::before {
    inset: -62% -92%;
    opacity: 0.66;
  }

  .hero-sticky {
    perspective: 760px;
  }

  .hero-intro {
    width: min(480px, calc(100% - 56px));
    gap: 22px;
  }

  .hero-logo-wrap {
    width: clamp(160px, 46vw, 205px);
  }

  .hero-statement {
    width: min(360px, 82vw);
  }

  .hero-statement h1 {
    font-size: clamp(18px, 6vw, 26px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }

  .about {
    margin-top: -42vh;
    padding-top: 108px;
    padding-bottom: 122px;
  }

  .about .section-label.reveal,
  .about .about-title.reveal,
  .about .about-copy.reveal {
    opacity: var(--about-opacity, 0);
  }

  .about h2,
  .section-head h2,
  .why h2,
  .cta h2,
  .contact h2 {
    line-height: 1.14;
  }

  .section-head h2 {
    white-space: normal;
    justify-self: start;
  }

  .section {
    min-height: 106vh;
    padding: 128px var(--page-gutter);
  }

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

  .service-card {
    min-height: 220px;
    justify-content: center;
    padding: 30px 24px;
  }

  .service-card h3 {
    min-height: 2.2em;
  }

  .service-card p {
    min-height: 4.95em;
    max-width: 100%;
  }

  .why-item {
    padding: 32px 20px;
  }

  .why-item:hover {
    transform: translateY(-4px);
  }

  .stats div {
    padding: 14px 0;
  }

  .stats div:hover {
    padding-left: 8px;
    transform: translateX(2px);
  }

  .contact-grid {
    gap: 58px;
    align-items: start;
  }

  .contact::before {
    inset: -82% -132%;
    opacity: 0.58;
  }

  .contact-logo-wrap {
    width: clamp(110px, 34vw, 150px);
    margin-bottom: 28px;
  }

  .contact-details {
    width: 100%;
    justify-self: stretch;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 28px 0;
    align-items: start;
  }

  .contact-row a,
  .contact-row p {
    font-size: var(--font-contact-link);
  }

  .site-footer {
    flex-direction: column;
    padding: 24px var(--page-gutter) calc(24px + var(--mobile-safe-bottom));
  }
}

@media (max-width: 420px) {
  :root {
    --page-gutter: 24px;
    --font-hero: 19px;
    --font-heading: 34px;
    --font-heading-tight: 32px;
    --font-card-title: 23px;
    --font-contact-link: 20px;
  }

  .hero-logo-wrap {
    width: min(48vw, 180px);
  }

  .hero-scroll {
    height: 148vh;
  }

  .hero-statement {
    width: min(310px, 86vw);
  }

  .hero-statement h1 {
    font-size: clamp(17px, 5.5vw, 23px);
  }

  .about h2,
  .section-head h2,
  .why h2,
  .cta h2,
  .contact h2 {
    line-height: 1.14;
  }

  .scroll-hint {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-grid,
  .hero-bg-grid::before,
  .contact::before {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .contact::before {
    transform: rotate(-38deg);
  }

  .hero-bg-grid::before {
    transform: rotate(-38deg);
  }

  .about .section-label.reveal,
  .about .about-title.reveal,
  .about .about-copy.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
