:root {
  --ink: #10202f;
  --muted: #5e6f7c;
  --navy: #183b2d;
  --navy-dark: #102d25;
  --blue: #2f6b3f;
  --cyan: #c8a84e;
  --cream: #f6f4ed;
  --paper: #fbfaf6;
  --line: #d6dfdf;
  --gold: #cba84c;
  --green: #2f6b3f;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(16, 32, 47, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.96rem;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link,
.visually-hidden {
  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:focus {
  z-index: 1000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--white);
  background: var(--navy-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: var(--navy-dark);
  box-shadow: 0 8px 24px rgba(16, 32, 47, 0.18);
}

.topline {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.18rem clamp(1rem, 4vw, 4.5rem);
  color: #d9f4ff;
  background: #0b2339;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.topline a {
  color: var(--cyan);
  text-decoration: none;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.56rem clamp(1rem, 4vw, 4.5rem);
}

.brand {
  display: flex;
  align-items: center;
  max-width: min(430px, 68vw);
  padding: 0.12rem 0;
}

.brand img {
  width: 350px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
  background: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--cyan);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
  color: var(--white);
  background: transparent;
}

.menu-button span:not(.visually-hidden) {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(760px, 86vh);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--navy);
}

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

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 35, 58, 0.95) 0%, rgba(13, 47, 76, 0.84) 42%, rgba(13, 47, 76, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 31, 51, 0.75) 0%, rgba(10, 31, 51, 0.08) 46%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(780px, 100%);
  padding: clamp(4rem, 11vh, 8rem) clamp(1.2rem, 6vw, 5rem) clamp(4rem, 9vh, 6rem);
}

.district-label,
.eyebrow,
.card-kicker {
  margin: 0 0 0.75rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 12ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.75rem, 14vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: #e7f5fb;
  font-size: clamp(1rem, 1.85vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.1rem;
  border: 2px solid currentColor;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.button.primary {
  color: var(--navy-dark);
  background: var(--cyan);
  border-color: var(--cyan);
}

.button.secondary {
  color: var(--white);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--navy-dark);
  color: var(--white);
}

.quick-links a {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 0.2rem;
  padding: 1.15rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
}

.quick-links span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-links strong {
  font-size: clamp(0.96rem, 1.85vw, 1.25rem);
  line-height: 1.15;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 6vw, 5rem);
}

.section-grid h2,
.updates-heading h2,
.contact-panel h2 {
  margin: 0;
  color: var(--navy-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.95rem, 4.65vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.welcome-copy {
  display: grid;
  gap: 1rem;
  color: var(--muted);
  font-size: clamp(0.96rem, 1.5vw, 1.1rem);
}

.welcome-copy p {
  margin: 0;
}

.services-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(1.2rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem);
}

.service-card {
  display: grid;
  grid-template-rows: 220px 1fr;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(16, 32, 47, 0.08);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  padding: 1.35rem;
}

.service-card h3,
.proof-list h3,
.updates-grid h3 {
  margin: 0 0 0.55rem;
  color: var(--navy-dark);
  font-size: clamp(1.12rem, 1.85vw, 1.45rem);
  line-height: 1.1;
}

.service-card p:last-child,
.proof-list p,
.updates-grid p,
.contact-panel p {
  margin: 0;
  color: #304453;
}

.proof {
  background: var(--cream);
}

.proof-list {
  display: grid;
  gap: 1rem;
}

.proof-list article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.proof-list span {
  color: var(--gold);
  font-weight: 950;
}

.proof-list h3,
.proof-list p {
  grid-column: 2;
}

.updates {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 6vw, 5rem);
}

.updates-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.updates-grid article {
  min-height: 245px;
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 6px;
}

.updates-grid time {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-section {
  padding: 0 clamp(1.2rem, 6vw, 5rem) clamp(4rem, 8vw, 6.5rem);
}

.interest-section {
  padding-bottom: clamp(2.2rem, 5vw, 4rem);
}

.interest-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.35rem, 4vw, 2.25rem);
  background:
    linear-gradient(135deg, rgba(24, 59, 45, 0.96), rgba(16, 45, 37, 0.98)),
    var(--navy-dark);
  border: 1px solid rgba(203, 168, 76, 0.38);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.interest-panel h2 {
  max-width: 740px;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.interest-panel p:not(.eyebrow) {
  max-width: 790px;
  margin: 0;
  color: #dbe9f0;
}

.interest-button {
  min-width: 220px;
  white-space: nowrap;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.2rem, 4vw, 2.3rem);
  color: var(--white);
  background: var(--navy-dark);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.contact-panel img {
  width: 100%;
  background: transparent;
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel p {
  max-width: 620px;
  margin: 0.9rem 0 1.3rem;
  color: #dbe9f0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1.2rem, 6vw, 5rem);
  color: var(--white);
  background: #071a2c;
}

.site-footer div {
  display: grid;
  gap: 0.12rem;
}

.site-footer span {
  color: #b9c9d4;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 980px) {
  .menu-button {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem clamp(1rem, 4vw, 4.5rem) 1rem;
    background: var(--navy-dark);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.95rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
  }

  .quick-links,
  .services-band,
  .updates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-grid,
  .contact-panel,
  .interest-panel {
    grid-template-columns: 1fr;
  }

  .interest-button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .topline {
    align-items: center;
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav-shell {
    padding-block: 0.46rem;
  }

  .brand img {
    width: min(285px, calc(100vw - 94px));
    max-height: 58px;
  }

  .brand {
    max-width: calc(100vw - 90px);
  }

  .hero {
    min-height: 600px;
  }

  .hero-media::after {
    background:
      linear-gradient(0deg, rgba(9, 35, 58, 0.95) 0%, rgba(13, 47, 76, 0.82) 60%, rgba(13, 47, 76, 0.4) 100%);
  }

  .hero-content {
    padding-top: 4.25rem;
    padding-bottom: 3.5rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 17vw, 4.9rem);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .quick-links,
  .services-band,
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .quick-links a {
    min-height: 96px;
  }

  .section-grid,
  .updates,
  .contact-section {
    padding-inline: 1rem;
  }

  .service-card {
    display: flex;
    flex-direction: column;
    grid-template-rows: none;
  }

  .service-card img {
    flex: 0 0 auto;
    width: 100%;
    height: clamp(210px, 54vw, 260px);
    object-fit: cover;
  }

  .service-card div {
    position: relative;
    z-index: 1;
    padding: 1.25rem;
    background: var(--white);
  }

  .service-card p:last-child {
    color: #243947;
    font-size: 0.95rem;
    line-height: 1.55;
  }
}
