:root {
  --green: #008038;
  --green-2: #78b820;
  --red: #d00018;
  --graphite: #1f2426;
  --grey: #585858;
  --line: rgba(31, 36, 38, 0.14);
  --paper: #f4f6f5;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(12, 18, 16, 0.2);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 34px);
}

body {
  margin: 0;
  color: var(--graphite);
  background: var(--white);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p,
a,
span,
strong,
button {
  min-width: 0;
}

h1,
h2,
h3,
p,
strong {
  overflow-wrap: break-word;
}

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

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-2), var(--red));
  transform-origin: left;
}

.site-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(31, 36, 38, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 36, 38, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 82%, transparent);
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 60;
  width: min(1180px, calc(100% - 32px));
  height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition:
    height 280ms var(--ease),
    top 280ms var(--ease),
    background 280ms var(--ease),
    border-color 280ms var(--ease);
}

.site-header.is-scrolled {
  top: 10px;
  height: 68px;
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(31, 36, 38, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  width: clamp(178px, 17vw, 258px);
  min-width: 168px;
  height: 100%;
  overflow: visible;
}

.brand img,
.site-footer img {
  width: 100%;
  height: auto;
}

.brand img {
  max-height: 56px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.3vw, 32px);
  color: rgba(31, 36, 38, 0.82);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 320ms var(--ease);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 4px;
  background: var(--graphite);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
  transition:
    background 240ms var(--ease),
    transform 240ms var(--ease);
}

.header-call:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 6px;
  border: 1px solid rgba(31, 36, 38, 0.14);
  background: rgba(31, 36, 38, 0.96);
  color: var(--white);
  cursor: pointer;
  place-items: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition:
    transform 240ms var(--ease),
    box-shadow 240ms var(--ease),
    border-color 240ms var(--ease);
}

.menu-toggle::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  opacity: 1;
  transition: opacity 260ms var(--ease);
}

.menu-toggle span {
  position: absolute;
  left: 14px;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 260ms var(--ease),
    opacity 260ms var(--ease),
    width 260ms var(--ease);
}

.menu-toggle span:first-child {
  top: 19px;
}

.menu-toggle span + span {
  top: 28px;
  width: 18px;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(31, 36, 38, 0.32);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.menu-toggle.is-open span:first-child {
  width: 22px;
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  width: 22px;
  transform: translateY(-5px) rotate(-45deg);
}

.menu-toggle.is-open::before {
  opacity: 0.18;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 24px;
  padding: calc(var(--header-h) + 44px) clamp(18px, 5vw, 34px) max(28px, env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, rgba(18, 23, 24, 0.98), rgba(24, 30, 31, 0.96)),
    radial-gradient(circle at 18% 12%, rgba(0, 128, 56, 0.22), transparent 32%);
  color: var(--white);
  opacity: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 320ms var(--ease),
    transform 320ms var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu nav {
  align-self: center;
  display: grid;
  gap: 10px;
  font-size: clamp(1.42rem, 7.2vw, 2.45rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
}

.mobile-menu nav a::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin-left: 18px;
  border-top: 2px solid rgba(255, 255, 255, 0.58);
  border-right: 2px solid rgba(255, 255, 255, 0.58);
  transform: rotate(45deg);
}

.mobile-menu__contact {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
}

.mobile-menu__contact span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 5px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}

.mobile-menu__cta::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

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

.section-light {
  color: var(--graphite);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(0, 1180px) minmax(24px, 1fr);
  align-items: center;
  overflow: hidden;
  padding: 148px 0 78px;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 48%;
  transform: scale(calc(1.03 + var(--hero-parallax, 0) * 0.03));
  filter: saturate(0.96) contrast(1.08);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(14, 20, 18, 0.92) 0%, rgba(14, 20, 18, 0.72) 40%, rgba(14, 20, 18, 0.3) 100%),
    linear-gradient(180deg, rgba(14, 20, 18, 0.32), rgba(14, 20, 18, 0.84));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(to bottom, transparent, var(--graphite));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  grid-column: 2;
  width: min(780px, 100%);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--green-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--red);
}

.hero-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(4.8rem, 8.25vw, 6.55rem);
  font-weight: 950;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
}

@media (min-width: 1500px) {
  .hero-title {
    max-width: 900px;
    font-size: 7.35rem;
  }
}

.hero-copy {
  max-width: 590px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.65;
}

.hero-actions,
.maintenance-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  font-weight: 900;
  letter-spacing: 0.02em;
  transition:
    transform 240ms var(--ease),
    border-color 240ms var(--ease),
    background 240ms var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 42%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 680ms var(--ease);
}

.btn:hover::before {
  transform: translateX(120%);
}

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

.btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green), #006f31);
  color: var(--white);
  box-shadow: 0 18px 52px rgba(0, 128, 56, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #009845, var(--green));
  box-shadow: 0 22px 58px rgba(0, 128, 56, 0.34);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  color: currentColor;
  background: rgba(255, 255, 255, 0.08);
}

.section-light .btn-secondary {
  border-color: rgba(31, 36, 38, 0.16);
  background: rgba(31, 36, 38, 0.03);
}

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 78px;
  z-index: 3;
  width: min(386px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(12, 17, 16, 0.62);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.panel-label {
  margin-bottom: 18px;
  color: var(--green-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.panel-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.panel-row span {
  color: rgba(255, 255, 255, 0.62);
}

.panel-row strong {
  text-align: right;
}

.pulse-rail {
  position: relative;
  height: 3px;
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.pulse-rail span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, var(--red), var(--green-2));
  animation: railPulse 2.7s var(--ease) infinite;
}

@keyframes railPulse {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(280%);
  }
}

.hero-schematic {
  position: absolute;
  right: -9vw;
  top: 15%;
  z-index: 1;
  width: min(52vw, 820px);
  opacity: 0.58;
  mix-blend-mode: screen;
}

.hero-schematic path,
.hero-schematic circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.hero-schematic circle {
  fill: var(--green-2);
  stroke: rgba(255, 255, 255, 0.72);
}

.hero-schematic .green {
  stroke: var(--green-2);
}

.hero-schematic .red {
  stroke: var(--red);
  stroke-width: 4;
  filter: drop-shadow(0 0 16px rgba(208, 0, 24, 0.5));
  stroke-dasharray: 700;
  stroke-dashoffset: calc(700 - var(--hero-draw, 0) * 700);
}

.hero-schematic .grey {
  stroke: rgba(255, 255, 255, 0.34);
  stroke-dasharray: 900;
  stroke-dashoffset: calc(900 - var(--hero-draw, 0) * 900);
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  width: 1px;
  height: 68px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 28px;
  background: var(--red);
  animation: scrollCue 1.9s var(--ease) infinite;
}

@keyframes scrollCue {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateY(40px);
    opacity: 0;
  }
}

.trust-band {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 1px solid rgba(31, 36, 38, 0.12);
}

.trust-item {
  min-height: 172px;
  padding: clamp(22px, 4vw, 42px);
  border-right: 1px solid rgba(31, 36, 38, 0.1);
}

.trust-item strong {
  display: block;
  color: var(--green);
  font-size: clamp(2.2rem, 4.8vw, 4.9rem);
  font-weight: 950;
  line-height: 0.9;
}

.trust-item span:last-child {
  display: block;
  max-width: 260px;
  margin-top: 14px;
  color: rgba(31, 36, 38, 0.68);
  font-weight: 650;
}

.services,
.projects,
.team {
  padding: clamp(86px, 11vw, 150px) max(24px, calc((100vw - 1180px) / 2));
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(280px, 0.62fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
  margin-bottom: clamp(42px, 7vw, 86px);
}

.section-head.compact {
  grid-template-columns: minmax(0, 780px);
  margin-bottom: 52px;
}

.section-head h2,
.audience-copy h2,
.maintenance-copy h2,
.contact-content h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2.35rem, 4.9vw, 4.85rem);
  font-weight: 940;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}

.section-head h2 {
  max-width: 15ch;
}

.section-head.compact h2 {
  max-width: 17ch;
}

.section-head p,
.audience-copy p,
.maintenance-copy p,
.contact-content p {
  margin: 0;
  color: rgba(31, 36, 38, 0.68);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.75;
}

.section-dark .section-head p,
.section-dark .audience-copy p,
.section-dark .maintenance-copy p,
.section-dark .contact-content p {
  color: rgba(255, 255, 255, 0.72);
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: stretch;
}

.service-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(31, 36, 38, 0.12);
  border: 1px solid rgba(31, 36, 38, 0.12);
}

.service-card {
  position: relative;
  min-height: 262px;
  padding: clamp(24px, 3vw, 36px);
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(0, 128, 56, 0.11), transparent 34%),
    var(--white);
  overflow: hidden;
  transition:
    transform 320ms var(--ease),
    background 320ms var(--ease),
    box-shadow 320ms var(--ease);
}

.service-card:nth-child(5) {
  grid-column: span 2;
  min-height: 220px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-2), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 340ms var(--ease);
}

.service-card:hover {
  z-index: 2;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  border: 1px solid rgba(31, 36, 38, 0.12);
  color: var(--green);
  background: rgba(0, 128, 56, 0.06);
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-card h3,
.project-card h3,
.audience-item h3,
.team-layout h3,
.process-step h3 {
  margin: 0;
  font-size: clamp(1.24rem, 2vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.service-card p,
.project-card p,
.audience-item p,
.team-layout p,
.process-step p {
  margin: 16px 0 0;
  color: rgba(31, 36, 38, 0.66);
}

.engineering-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--graphite);
}

.engineering-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08);
}

.engineering-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(31, 36, 38, 0.02), rgba(31, 36, 38, 0.78)),
    linear-gradient(90deg, rgba(0, 128, 56, 0.28), transparent);
}

.engineering-visual svg {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.draw-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.78);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  transition: stroke-dashoffset 1.5s var(--ease);
}

.draw-line.red {
  stroke: var(--red);
  stroke-width: 3;
}

.draw-line.green {
  stroke: var(--green-2);
}

.node {
  fill: var(--green-2);
  stroke: var(--white);
  stroke-width: 2;
  transform-origin: center;
  opacity: 0;
  transition: opacity 520ms var(--ease) 550ms;
}

.is-visible .draw-line,
.draw-line.is-visible {
  stroke-dashoffset: 0;
}

.is-visible .node {
  opacity: 1;
}

.maintenance {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: stretch;
  overflow: hidden;
  padding: clamp(86px, 11vw, 150px) max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.maintenance::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(0, 128, 56, 0.32), transparent 34%),
    radial-gradient(circle at 88% 72%, rgba(120, 184, 32, 0.14), transparent 32%),
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, auto, 84px 84px, 84px 84px;
  pointer-events: none;
}

.maintenance-copy,
.maintenance-panel {
  position: relative;
  z-index: 1;
}

.maintenance-copy {
  align-self: center;
}

.maintenance-copy h2 {
  max-width: 800px;
}

.maintenance-copy p {
  max-width: 660px;
  margin-top: 28px;
}

.maintenance-actions {
  margin-top: 34px;
}

.maintenance-panel {
  display: grid;
  gap: 1px;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.maintenance-panel article {
  min-height: 196px;
  padding: clamp(24px, 3vw, 34px);
  background: rgba(31, 36, 38, 0.88);
  backdrop-filter: blur(16px);
  transition:
    background 280ms var(--ease),
    transform 280ms var(--ease);
}

.maintenance-panel article:hover {
  background: rgba(0, 128, 56, 0.22);
  transform: translateX(-4px);
}

.maintenance-panel span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--green-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.maintenance-panel h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.28rem, 2.1vw, 1.95rem);
  line-height: 1.08;
}

.maintenance-panel p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.process {
  position: relative;
  overflow: hidden;
  padding: clamp(86px, 11vw, 150px) max(24px, calc((100vw - 1180px) / 2));
}

.process::before,
.audiences::before,
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  pointer-events: none;
}

.process-map {
  position: relative;
}

.process-map > svg {
  width: 100%;
  height: 260px;
  margin-bottom: -78px;
}

.process-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 2;
}

.process-track.live {
  stroke: var(--red);
  stroke-width: 3;
  filter: drop-shadow(0 0 14px rgba(208, 0, 24, 0.42));
}

.process-steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.process-step {
  min-height: 260px;
  padding: clamp(22px, 3vw, 32px);
  background: rgba(31, 36, 38, 0.9);
  backdrop-filter: blur(12px);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 52px;
  color: var(--green-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.process-step p {
  color: rgba(255, 255, 255, 0.68);
}

.projects {
  overflow: hidden;
}

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

.project-card {
  position: relative;
  min-height: 470px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: 8px;
  color: var(--white);
  background: var(--graphite);
  box-shadow: 0 18px 58px rgba(31, 36, 38, 0.14);
}

.project-card.large {
  grid-row: span 2;
  min-height: 760px;
}

.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translateY(calc(var(--local-parallax, 0) * -34px)) scale(1.02);
  filter: saturate(0.88) contrast(1.06);
  transition: transform 700ms var(--ease);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 18%, rgba(31, 36, 38, 0.2) 42%, rgba(31, 36, 38, 0.92)),
    linear-gradient(90deg, rgba(0, 128, 56, 0.18), transparent 52%);
}

.project-card div {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 42px);
}

.project-card span,
.team-layout span,
.contact-details span {
  display: block;
  margin-bottom: 12px;
  color: var(--green-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-card p {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.72);
}

.audiences {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1fr);
  gap: clamp(32px, 5.4vw, 70px);
  padding: clamp(86px, 11vw, 150px) max(24px, calc((100vw - 1180px) / 2));
  overflow: hidden;
}

.audience-copy,
.audience-grid {
  position: relative;
  z-index: 1;
}

.audience-copy h2 {
  max-width: 16ch;
  font-size: clamp(2.35rem, 3.85vw, 3.9rem);
  line-height: 1.04;
  hyphens: manual;
}

.audience-copy h2 span {
  display: block;
  overflow-wrap: normal;
  word-break: normal;
}

.audience-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.audience-item {
  min-height: 150px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: clamp(28px, 4vw, 42px);
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 280ms var(--ease),
    transform 280ms var(--ease);
}

.audience-item:hover {
  background: rgba(0, 128, 56, 0.16);
  transform: translateX(6px);
}

.audience-item p {
  max-width: 36ch;
  margin: 12px auto 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.58;
  text-wrap: pretty;
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.56fr);
  gap: 22px;
}

.team-lead,
.team-mini {
  overflow: hidden;
  border: 1px solid rgba(31, 36, 38, 0.12);
  border-radius: 8px;
  background: var(--paper);
}

.team-lead {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  min-height: 520px;
}

.team-lead img,
.team-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.03);
}

.team-lead div {
  display: grid;
  align-content: end;
  min-width: 0;
  padding: clamp(30px, 5vw, 56px);
}

.team-lead h3 {
  margin: 0;
  font-size: clamp(2.2rem, 3.9vw, 3.8rem);
  line-height: 0.98;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.team-side {
  display: grid;
  gap: 22px;
}

.team-mini {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 248px;
}

.team-mini div {
  display: grid;
  align-content: end;
  min-width: 0;
  padding: 28px;
}

.team-mini h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.06;
  overflow-wrap: normal;
  word-break: normal;
}

.team-page-main {
  background: var(--white);
}

.team-page-hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(0, 1180px) minmax(24px, 1fr);
  align-items: end;
  overflow: hidden;
  padding: 156px 0 82px;
}

.team-page-hero__media,
.team-page-hero__media img {
  position: absolute;
  inset: 0;
}

.team-page-hero__media {
  z-index: 0;
}

.team-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(0.88) contrast(1.05);
}

.team-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(14, 20, 18, 0.98) 0%, rgba(14, 20, 18, 0.82) 48%, rgba(14, 20, 18, 0.46) 100%),
    linear-gradient(180deg, rgba(14, 20, 18, 0.24), rgba(14, 20, 18, 0.92));
  pointer-events: none;
}

.team-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 100%);
  pointer-events: none;
}

.team-page-hero__content,
.team-page-hero__facts {
  position: relative;
  z-index: 2;
  grid-column: 2;
}

.team-page-hero__content {
  max-width: 860px;
}

.team-page-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.1rem, 6.3vw, 6.2rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.team-page-hero p:last-child {
  max-width: 720px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  line-height: 1.72;
}

.team-page-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.14);
}

.team-page-hero__facts div {
  min-height: 132px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(31, 36, 38, 0.56);
  backdrop-filter: blur(12px);
}

.team-page-hero__facts strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.14rem, 1.8vw, 1.55rem);
  line-height: 1.08;
}

.team-page-hero__facts span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.team-directory {
  scroll-margin-top: calc(var(--header-h) + 34px);
  padding: clamp(86px, 11vw, 150px) max(24px, calc((100vw - 1180px) / 2));
  overflow: hidden;
}

#team-directory-title {
  scroll-margin-top: calc(var(--header-h) + 34px);
}

.team-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.team-person {
  position: relative;
  min-height: 520px;
  display: grid;
  align-content: end;
  overflow: hidden;
  border: 1px solid rgba(31, 36, 38, 0.12);
  border-radius: 8px;
  color: var(--white);
  background: var(--graphite);
  box-shadow: 0 18px 54px rgba(31, 36, 38, 0.13);
}

.team-person::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent 24%, rgba(31, 36, 38, 0.22) 48%, rgba(31, 36, 38, 0.94)),
    linear-gradient(90deg, rgba(0, 128, 56, 0.18), transparent 58%);
}

.team-person::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-2), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms var(--ease);
}

.team-person:hover::after {
  transform: scaleX(1);
}

.team-person img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.92) contrast(1.04);
  transition: transform 520ms var(--ease);
}

.team-person:hover img {
  transform: scale(1.025);
}

.team-person div {
  position: relative;
  z-index: 3;
  min-width: 0;
  padding: clamp(24px, 3.4vw, 36px);
}

.team-person span {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  color: var(--green-2);
  background: rgba(31, 36, 38, 0.72);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.25;
  text-transform: uppercase;
}

.team-person h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.team-person--lead,
.team-person--technical {
  border-color: rgba(0, 128, 56, 0.36);
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
  overflow: hidden;
  padding: clamp(86px, 11vw, 150px) max(24px, calc((100vw - 1180px) / 2));
}

.contact-media {
  position: relative;
  z-index: 1;
  min-height: 670px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.32);
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.05);
}

.contact-content,
.contact-details {
  position: relative;
  z-index: 1;
}

.contact-content p {
  max-width: 680px;
  margin-top: 26px;
}

.contact-details {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

.contact-details div {
  min-height: 146px;
  padding: clamp(20px, 3vw, 30px);
  background: rgba(255, 255, 255, 0.045);
}

.contact-details strong {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.55fr);
  gap: clamp(32px, 5vw, 76px);
  padding: 64px max(24px, calc((100vw - 1180px) / 2)) 28px;
  color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(0, 128, 56, 0.18), transparent 34%),
    var(--graphite);
  border-top: 4px solid var(--green);
  font-weight: 750;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 22px;
}

.footer-brand img {
  width: min(220px, 100%);
  padding: 14px;
  border-radius: 6px;
  background: var(--white);
}

.footer-brand p {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 34px);
}

.footer-menu div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-menu h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-menu a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 800;
  transition:
    color 220ms var(--ease),
    transform 220ms var(--ease);
}

.footer-menu a:hover,
.footer-bottom a:hover {
  color: var(--green-2);
  transform: translateX(2px);
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
}

.mobile-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.mobile-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 4px;
  color: var(--white);
  background: var(--graphite);
  font-weight: 900;
}

.mobile-cta a:last-child {
  background: var(--green);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  clip-path: inset(12% 0 0 0);
  transition:
    transform 720ms var(--ease),
    clip-path 720ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
}

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

  .site-header {
    grid-template-columns: auto minmax(0, 1fr) 54px;
  }

  .header-call {
    display: none;
  }

  .menu-toggle {
    display: grid;
    grid-column: 3;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    grid-column: 2;
    margin-top: 42px;
  }

  .hero {
    align-content: center;
  }

  .hero-schematic {
    width: 86vw;
    right: -32vw;
    top: 18%;
  }

  .hero-title {
    max-width: 760px;
    font-size: clamp(4.3rem, 9vw, 5.45rem);
    line-height: 0.88;
  }

  .trust-band,
  .contact-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head,
  .services-layout,
  .maintenance,
  .audiences,
  .contact {
    grid-template-columns: 1fr;
  }

  .engineering-visual {
    min-height: 520px;
  }

  .process-map > svg {
    display: none;
  }

  .maintenance-panel {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    min-height: auto;
  }

  .process-step span {
    margin-bottom: 28px;
  }

  .team-layout,
  .team-lead {
    grid-template-columns: 1fr;
  }

  .team-page-hero {
    min-height: 660px;
    padding-bottom: 64px;
  }

  .team-page-hero h1 {
    max-width: 13ch;
  }

  .team-page-hero__facts {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

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

  .team-lead img {
    aspect-ratio: 1.1;
  }

  .team-lead h3 {
    font-size: clamp(2.35rem, 8vw, 4.35rem);
  }

  .contact-media {
    min-height: 480px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  :root {
    --header-h: 62px;
  }

  body {
    padding-bottom: 78px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) 50px;
    padding: 6px 6px 6px 10px;
    border-radius: 6px;
    gap: 8px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.16);
  }

  .site-header.is-scrolled {
    top: 8px;
    height: var(--header-h);
  }

  .brand {
    flex: 0 1 178px;
    width: clamp(142px, 46vw, 178px);
    min-width: 0;
    max-width: calc(100vw - 92px);
  }

  .brand img {
    max-height: 44px;
  }

  .menu-toggle {
    display: inline-grid !important;
    flex: 0 0 50px;
    margin-left: auto;
    position: relative;
    z-index: 5;
    width: 50px;
    height: 50px;
    justify-self: end;
  }

  .header-call {
    display: none;
  }

  .hero {
    min-height: auto;
    display: block;
    padding: 96px 16px 30px;
    overflow: hidden;
  }

  .hero-media img {
    height: 68%;
    object-position: 54% 22%;
    transform: scale(1.02);
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(14, 20, 18, 0.28) 0%, rgba(14, 20, 18, 0.78) 44%, rgba(14, 20, 18, 0.98) 100%),
      linear-gradient(90deg, rgba(14, 20, 18, 0.88), rgba(14, 20, 18, 0.56));
  }

  .hero::after {
    height: 55%;
  }

  .hero-schematic {
    width: 74vw;
    right: -34vw;
    top: 282px;
    opacity: 0.22;
    pointer-events: none;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-top: clamp(76px, 17svh, 138px);
  }

  .hero-title {
    max-width: 100%;
    font-size: clamp(2.42rem, 10.9vw, 3.02rem);
    line-height: 0.91;
    overflow-wrap: anywhere;
  }

  .hero-copy {
    max-width: 100%;
    margin-top: 18px;
    font-size: 0.98rem;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .hero .eyebrow {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: 0.64rem;
    letter-spacing: 0.11em;
  }

  .hero .eyebrow::before,
  .section-kicker::before {
    width: 28px;
  }

  .hero-actions,
  .maintenance-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
    gap: 10px;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 0 18px;
    white-space: nowrap;
  }

  .hero-panel {
    display: none;
  }

  .panel-row {
    display: grid;
    gap: 4px;
  }

  .panel-row strong {
    text-align: left;
  }

  .hero-scroll {
    display: none;
  }

  .trust-band,
  .project-grid,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: auto;
    padding: 24px 20px;
  }

  .trust-item strong {
    font-size: 2.45rem;
  }

  .trust-item span:last-child {
    max-width: none;
    margin-top: 8px;
  }

  .services,
  .projects,
  .team,
  .team-directory,
  .maintenance,
  .process,
  .audiences,
  .contact {
    padding: 78px 20px;
  }

  .section-head {
    gap: 22px;
    margin-bottom: 38px;
  }

  .section-head h2,
  .audience-copy h2,
  .maintenance-copy h2,
  .contact-content h2 {
    max-width: 100%;
    font-size: clamp(2rem, 9.6vw, 3.05rem);
    line-height: 0.96;
  }

  .section-head.compact h2 {
    max-width: 100%;
  }

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

  .service-card,
  .service-card:nth-child(5) {
    grid-column: auto;
    min-height: auto;
    padding: 24px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 26px;
  }

  .maintenance-copy p {
    margin-top: 22px;
  }

  .maintenance-panel article {
    min-height: auto;
    padding: 24px;
  }

  .maintenance-panel span {
    margin-bottom: 24px;
  }

  .engineering-visual {
    min-height: 360px;
    border-radius: 6px;
  }

  .project-card,
  .project-card.large {
    min-height: 430px;
    border-radius: 6px;
  }

  .project-card img {
    height: 104%;
    transform: scale(1.01);
  }

  .project-card div {
    padding: 22px;
  }

  .audience-item:hover {
    transform: none;
  }

  .audience-item {
    min-height: auto;
    padding: 24px 20px;
  }

  .team-mini {
    grid-template-columns: 104px 1fr;
    min-height: 164px;
  }

  .team-mini div {
    padding: 20px;
  }

  .team-layout {
    gap: 18px;
  }

  .team-page-hero {
    min-height: auto;
    display: block;
    padding: 116px 20px 58px;
  }

  .team-page-hero__content,
  .team-page-hero__facts {
    grid-column: auto;
  }

  .team-page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10.7vw, 3.05rem);
    line-height: 0.94;
    overflow-wrap: normal;
  }

  .team-page-hero::before {
    background:
      linear-gradient(90deg, rgba(14, 20, 18, 0.98) 0%, rgba(14, 20, 18, 0.86) 62%, rgba(14, 20, 18, 0.58) 100%),
      linear-gradient(180deg, rgba(14, 20, 18, 0.38), rgba(14, 20, 18, 0.94));
  }

  .team-page-hero p:last-child {
    margin-top: 22px;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .team-page-hero__facts {
    margin-top: 34px;
  }

  .team-page-hero__facts div {
    min-height: auto;
    padding: 20px;
  }

  .team-directory-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-person {
    min-height: 430px;
  }

  .team-person div {
    padding: 22px;
  }

  .team-person h3 {
    font-size: clamp(1.6rem, 8vw, 2.15rem);
  }

  .team-lead {
    min-height: 0;
  }

  .team-lead div {
    padding: 24px;
  }

  .team-lead h3 {
    font-size: clamp(2.2rem, 11vw, 3.05rem);
  }

  .team-layout span {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  .contact-media {
    min-height: 340px;
    border-radius: 6px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 44px 20px 104px;
  }

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

  .footer-brand p {
    max-width: none;
    font-size: 0.95rem;
  }

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

  .footer-menu h2 {
    font-size: 0.74rem;
  }

  .footer-menu a {
    font-size: 0.93rem;
  }

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

  .mobile-cta {
    display: grid;
    left: 10px;
    right: auto;
    bottom: 10px;
    width: calc(100vw - 20px);
    max-width: calc(100vw - 20px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 7px;
    padding: 7px;
    border-radius: 7px;
  }

  .mobile-cta a {
    min-width: 0;
    min-height: 48px;
    padding: 0 10px;
    overflow: hidden;
    font-size: 0.95rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 2.18rem;
  }

  .brand {
    width: 138px;
  }

  .brand img {
    max-height: 40px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
  }

  .footer-menu {
    grid-template-columns: 1fr;
  }

  .mobile-cta a {
    font-size: 0.88rem;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }

  .draw-line {
    stroke-dashoffset: 0;
  }
}
