:root {
  --navy: #0a2342;
  --red: #c8102e;
  --white: #ffffff;
  --steel: #eef2f6;
  --ink: #4a5a6e;

  --navy-90: rgba(10, 35, 66, 0.9);
  --navy-70: rgba(10, 35, 66, 0.7);
  --line: rgba(10, 35, 66, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;

  --radius: 6px;
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0.005em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy);
}

.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 1rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px -16px rgba(10, 35, 66, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header-h);
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  position: relative;
  display: block;
  padding: 10px 14px;
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}

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

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-list a[aria-current="page"] {
  color: var(--red);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background: var(--navy);
  color: var(--white);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bars {
  position: relative;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: background-color 0.2s;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px 20px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(10, 35, 66, 0.4);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  }

  .main-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
  }

  .nav-list a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.375rem;
  }

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

/* ---------- Eyebrow / Section heads ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.section {
  padding-block: 88px;
}

.section-steel {
  background: var(--steel);
}

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

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  text-transform: uppercase;
}

.section-head p {
  color: var(--ink);
  font-size: 1.125rem;
}

.section-navy .section-head p {
  color: rgba(255, 255, 255, 0.75);
}

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

.section-navy .eyebrow::before {
  background: var(--red);
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 820px);
  padding-block: 96px 120px;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: hero-zoom 14s var(--ease) forwards;
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-90) 38%, rgba(10, 35, 66, 0.35) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 720px;
}

.hero .eyebrow {
  color: var(--white);
}

.hero .eyebrow::before {
  background: var(--red);
}

.hero h1 {
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  text-transform: uppercase;
  line-height: 0.95;
}

.hero h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-lead {
  max-width: 580px;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
}

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

/* Signature: hull draft marks */
.draft-marks {
  position: absolute;
  top: 0;
  bottom: 0;
  right: max(20px, calc((100vw - var(--container)) / 2 + 20px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--red);
  pointer-events: none;
}

.draft-marks span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.75rem;
  line-height: 1;
  opacity: 0;
  transform: translateX(16px);
  animation: draft-in 0.7s var(--ease) forwards;
}

.draft-marks span::after {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--white);
}

.draft-marks span:nth-child(odd)::after {
  width: 34px;
}

.draft-marks span:nth-child(1) { animation-delay: 0.3s; }
.draft-marks span:nth-child(2) { animation-delay: 0.4s; }
.draft-marks span:nth-child(3) { animation-delay: 0.5s; }
.draft-marks span:nth-child(4) { animation-delay: 0.6s; }
.draft-marks span:nth-child(5) { animation-delay: 0.7s; }
.draft-marks span:nth-child(6) { animation-delay: 0.8s; }
.draft-marks span:nth-child(7) { animation-delay: 0.9s; }

@keyframes draft-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .draft-marks {
    display: none;
  }
}

.hero-enter > * {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.9s var(--ease) forwards;
}

.hero-enter > *:nth-child(1) { animation-delay: 0.1s; }
.hero-enter > *:nth-child(2) { animation-delay: 0.22s; }
.hero-enter > *:nth-child(3) { animation-delay: 0.34s; }
.hero-enter > *:nth-child(4) { animation-delay: 0.46s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Stats strip ---------- */

.stats {
  position: relative;
  z-index: 2;
  margin-top: -64px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgba(10, 35, 66, 0.4);
  overflow: hidden;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat-value {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}

.stat-value sup {
  font-size: 0.5em;
  color: var(--red);
  vertical-align: super;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--ink);
}

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

  .stat:nth-child(2) {
    border-right: 0;
  }

  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- Core services (home) ---------- */

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

.division-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  text-decoration: none;
}

.division-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.division-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 35, 66, 0.1) 20%, var(--navy) 92%);
  transition: background-color 0.4s;
}

.division-card:hover img {
  transform: scale(1.08);
}

.division-card h3 {
  font-size: 1.875rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.division-card p {
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
}

.division-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.division-link svg {
  width: 18px;
  height: 18px;
  color: var(--red);
  transition: transform 0.3s var(--ease);
}

.division-card:hover .division-link svg {
  transform: translateX(6px);
}

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

@media (max-width: 600px) {
  .division-grid {
    grid-template-columns: 1fr;
  }

  .division-card {
    min-height: 340px;
  }
}

/* ---------- Split (image + text) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.split-badge {
  position: absolute;
  right: -20px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 220px;
  padding: 22px 24px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
}

.split-badge strong {
  font-family: var(--font-head);
  font-size: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.split-badge span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.split-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.split-body h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  text-transform: uppercase;
}

.split-body p {
  color: var(--ink);
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  list-style: none;
  margin: 4px 0 8px;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.check-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--red);
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split-media img {
    aspect-ratio: 4 / 3;
  }

  .split-badge {
    right: 16px;
    bottom: -24px;
  }
}

@media (max-width: 520px) {
  .check-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Industries ---------- */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.industry {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  transition: background-color 0.3s;
}

.industry:hover {
  background: rgba(255, 255, 255, 0.05);
}

.industry svg {
  width: 36px;
  height: 36px;
  color: var(--red);
}

.industry h3 {
  font-size: 1.625rem;
  text-transform: uppercase;
}

.industry p {
  font-size: 0.975rem;
  color: rgba(255, 255, 255, 0.72);
}

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

@media (max-width: 560px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Features (why choose) ---------- */

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

.feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 24px 40px -24px rgba(10, 35, 66, 0.45);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  transition: background-color 0.3s;
}

.feature:hover .feature-icon {
  background: var(--red);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature h3 {
  font-size: 1.625rem;
  text-transform: uppercase;
}

.feature p {
  color: var(--ink);
  font-size: 0.975rem;
}

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

@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Testimonials ---------- */

.testimonials {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}

.slider {
  position: relative;
}

.slides {
  display: grid;
}

.slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 40px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -28px rgba(10, 35, 66, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.slide-quote-mark {
  width: 44px;
  height: 44px;
  color: var(--red);
}

.slide blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--navy);
}

.slide figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
}

.slide cite {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.slide cite strong {
  font-size: 1.0625rem;
}

.slide cite span {
  font-size: 0.925rem;
  color: var(--ink);
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.slider-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.slider-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
}

.slider-dots {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: var(--line);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.3s var(--ease), background-color 0.3s;
}

.slider-dot[aria-current="true"] {
  width: 30px;
  background: var(--red);
}

@media (max-width: 900px) {
  .testimonials {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .testimonials .section-head {
    margin-bottom: 0;
  }

  .slide {
    padding: 28px;
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  isolation: isolate;
  padding-block: 96px;
  color: var(--white);
  overflow: hidden;
}

.cta-band > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy-90);
}

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

.cta-inner h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  text-transform: uppercase;
  max-width: 680px;
}

.cta-inner p {
  margin-top: 16px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  padding-block: 112px 96px;
  color: var(--white);
  overflow: hidden;
}

.page-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--navy) 10%, var(--navy-70) 100%);
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-hero .eyebrow {
  color: var(--white);
}

.page-hero .eyebrow::before {
  background: var(--red);
}

.page-hero h1 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  text-transform: uppercase;
  max-width: 820px;
}

.page-hero p {
  max-width: 620px;
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: var(--red);
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--white);
}

/* ---------- About: mission / vision ---------- */

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mv-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 44px 40px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.mv-card.is-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.mv-card .eyebrow::before {
  display: none;
}

.mv-card h3 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  text-transform: uppercase;
}

.mv-card p {
  color: var(--ink);
  font-size: 1.125rem;
}

.mv-card.is-navy p {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 800px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .mv-card {
    padding: 32px 28px;
  }
}

/* ---------- About: values ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.value {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 32px;
  background: var(--white);
  transition: background-color 0.35s, color 0.35s;
}

.value svg {
  width: 32px;
  height: 32px;
  color: var(--red);
}

.value h3 {
  font-size: 1.75rem;
  text-transform: uppercase;
}

.value p {
  color: var(--ink);
  font-size: 0.975rem;
  transition: color 0.35s;
}

.value:hover {
  background: var(--navy);
  color: var(--white);
}

.value:hover p {
  color: rgba(255, 255, 255, 0.75);
}

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

@media (max-width: 560px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- About: why list ---------- */

.why-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
}

.why-list li {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-light);
}

.why-list h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-transform: uppercase;
}

.why-list h3::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  background: var(--red);
}

.why-list p {
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 800px) {
  .why-list li {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ---------- Services page ---------- */

.service-tabs-wrap {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.service-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-tabs::-webkit-scrollbar {
  display: none;
}

.service-tabs a {
  position: relative;
  display: block;
  padding: 18px 18px;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  transition: color 0.25s;
}

.service-tabs a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.service-tabs a:hover,
.service-tabs a.is-active {
  color: var(--navy);
}

.service-tabs a.is-active::after {
  transform: scaleX(1);
}

.service-category {
  padding-block: 80px;
  scroll-margin-top: calc(var(--header-h) + 60px);
}

.service-category:nth-of-type(even) {
  background: var(--steel);
}

.category-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
}

.category-head > div {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

.category-head h2 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  text-transform: uppercase;
}

.category-head p {
  color: var(--ink);
}

.category-count {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (max-width: 700px) {
  .category-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

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

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 44px -28px rgba(10, 35, 66, 0.5);
}

.service-card-media {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--steel);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-card:hover .service-card-media img {
  transform: scale(1.07);
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 26px 26px 28px;
}

.service-card h3 {
  font-size: 1.625rem;
  text-transform: uppercase;
}

.service-card p {
  flex: 1;
  color: var(--ink);
  font-size: 0.975rem;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: 8px;
}

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

@media (max-width: 620px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.3s;
}

.info-card:hover {
  border-color: var(--red);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
}

.info-icon svg {
  width: 22px;
  height: 22px;
}

.info-card h2 {
  font-size: 1.375rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.info-card a,
.info-card address {
  display: block;
  font-style: normal;
  color: var(--ink);
  text-decoration: none;
}

.info-card a:hover {
  color: var(--red);
}

.contact-form-card {
  padding: 44px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -32px rgba(10, 35, 66, 0.45);
  border: 1px solid var(--line);
}

.contact-form-card > h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-form-card > p {
  color: var(--ink);
  margin-bottom: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field label .req {
  color: var(--red);
}

.field label .opt {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--navy);
  background: var(--steel);
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.2s, background-color 0.2s;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a2342' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: var(--white);
  border-color: var(--navy);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
  background-color: var(--white);
}

.field-error {
  display: none;
  font-size: 0.875rem;
  color: var(--red);
}

.field.has-error .field-error {
  display: block;
}

.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: var(--steel);
  border: 1.5px dashed rgba(10, 35, 66, 0.3);
  border-radius: var(--radius);
  transition: border-color 0.2s, background-color 0.2s;
}

.file-drop.is-dragging,
.file-drop:focus-within {
  border-color: var(--navy);
  background: var(--white);
}

.file-drop input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  opacity: 0;
  cursor: pointer;
}

.file-drop svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--red);
}

.file-drop-text {
  display: flex;
  flex-direction: column;
  font-size: 0.95rem;
}

.file-drop-text strong {
  font-weight: 600;
}

.file-drop-text span {
  color: var(--ink);
  font-size: 0.875rem;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.form-note {
  font-size: 0.875rem;
  color: var(--ink);
}

.form-status {
  display: none;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--steel);
  font-weight: 500;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  background: var(--red);
  color: var(--white);
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-form-card {
    padding: 28px 20px;
  }

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

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 440px;
  border: 0;
  filter: grayscale(0.3);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.975rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 72px 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo {
  align-self: flex-start;
  padding: 10px 14px;
  background: var(--white);
  border-radius: var(--radius);
}

.footer-logo img {
  height: 40px;
  width: auto;
}

.site-footer h2 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.site-footer address {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
}

.site-footer address a {
  text-decoration: none;
}

.site-footer address a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ---------- Scroll reveal ---------- */

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--red);
  color: var(--white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s, background-color 0.25s;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-to-top:hover {
  background: var(--navy);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 600px) {
  .section {
    padding-block: 64px;
  }

  .hero {
    min-height: auto;
    padding-block: 72px 112px;
  }

  .page-hero {
    padding-block: 80px 64px;
  }

  .service-category {
    padding-block: 60px;
  }
}

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

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