/* Base */
:root {
  --navy: #203864;
  --navy-dark: #172a4c;
  --text: #4a4f57;
  --light: #f7f8fa;
  --max: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: #fff;
}
a { color: var(--navy); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
header img { display: block; height: 44px; width: auto; }
nav a {
  margin-left: 28px; text-decoration: none; font-weight: 600;
  text-transform: uppercase; font-size: .85rem; letter-spacing: .06em;
}
nav a:hover, nav a:focus-visible { text-decoration: underline; }

/* Small-caps style headings: bigger first letter */
.sc { text-transform: uppercase; font-weight: 400; letter-spacing: .02em; }
.sc::first-letter { font-size: 1.4em; font-weight: 600; }

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex; align-items: center;
  background-color: #b9bcc0;
  background-image: url("hero-1920.jpg");
  background-image: image-set(url("hero-1920.webp") type("image/webp"), url("hero-1920.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: 70% center;
}
.hero-band {
  width: 100%;
  background: rgba(70, 74, 80, .72);
  color: #fff;
  padding: 48px 0;
}
.hero h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.2; font-weight: 700; text-transform: uppercase; }
.hero .tagline { margin: 0 0 4px; font-size: 1.2rem; }
.hero ul { list-style: none; margin: 0 0 14px; padding: 0; font-size: 1.05rem; line-height: 1.6; }
.hero p.lead { margin: 0; max-width: 62ch; font-size: .98rem; }

/* Services */
.services { background: var(--light); padding: 72px 0; }
.services h2 { margin: 0 0 32px; font-size: 1.9rem; color: #555; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.services h3 { margin: 0 0 12px; font-size: 1.35rem; color: #555; }
.services h4 { margin: 22px 0 10px; font-size: 1.05rem; color: #555; }
.services p { margin: 0 0 14px; font-size: .95rem; }

/* Contact */
.contact { padding: 72px 0; text-align: center; }
.contact h2 { margin: 0 0 44px; font-size: 1.9rem; font-weight: 400; text-transform: uppercase; color: #333; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.contact-item svg { width: 56px; height: 56px; stroke: #333; fill: none; stroke-width: 1.6; margin-bottom: 14px; }
.contact-item a, .contact-item address { display: block; font-style: normal; font-size: 1rem; color: var(--text); text-decoration: none; }
.contact-item a:hover, .contact-item a:focus-visible { color: var(--navy); text-decoration: underline; }

/* Footer */
footer { background: var(--navy); color: #fff; font-size: .85rem; padding: 20px 0; text-align: center; }

/* Responsive */
@media (max-width: 960px) {
  .hero {
    background-image: url("hero-960.jpg");
    background-image: image-set(url("hero-960.webp") type("image/webp"), url("hero-960.jpg") type("image/jpeg"));
  }
  .grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  header .wrap { height: 64px; }
  header img { height: 34px; }
  nav a { margin-left: 16px; font-size: .75rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .services, .contact { padding: 52px 0; }
}
