:root {
  color-scheme: light;
  --ink: #173442;
  --body: #30444b;
  --muted: #5c7076;
  --accent-blue: #7ea9da;
  --accent-blue-dark: #446b9a;
  --button-blue: #7ea9da;
  --button-blue-hover: #6f9bcf;
  --teal: #28716d;
  --line: #d5e0df;
  --paper: #f5f8f6;
  --mist: #eaf1ef;
  --white: #fff;
  --content-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font: 1rem/1.7 "Trebuchet MS", Arial, sans-serif;
}

a { color: var(--teal); }

a:hover { color: var(--accent-blue-dark); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent-blue);
  outline-offset: 3px;
}

h1, h2, h3, p, figure { margin-top: 0; }

h1, h2, h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
}

h1 { max-width: 13ch; margin-bottom: 1.1rem; font-size: clamp(2.7rem, 5vw, 4.5rem); }
h2 { margin-bottom: 0.8rem; font-size: clamp(1.8rem, 3vw, 2.55rem); }
h3 { margin-bottom: 0.7rem; font-size: 1.45rem; }

.page-width { width: min(var(--content-width), calc(100% - 3rem)); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--line); background: var(--white); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem 2rem;
  width: min(var(--content-width), calc(100% - 3rem));
  min-height: 105px;
  margin-inline: auto;
}

.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand img { display: block; width: 219px; max-width: 100%; height: auto; }

.header-phone {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--ink);
  line-height: 1.3;
  text-decoration: none;
}

.header-phone span { color: var(--muted); font-size: 0.77rem; }
.header-phone strong { color: var(--accent-blue-dark); font-size: 1.1rem; }

.primary-nav {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-top: 1px solid var(--line);
}

.primary-nav a {
  padding: 0.55rem 0.8rem 0.65rem;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
}

.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--accent-blue-dark); border-bottom-color: var(--accent-blue); }

.nav-toggle { display: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: clamp(3.5rem, 7vw, 6.8rem);
}

.hero-copy { max-width: 600px; }
.eyebrow { margin-bottom: 0.8rem; color: var(--accent-blue-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.hero-lede, .heading-lede { max-width: 58ch; color: var(--ink); font-size: 1.25rem; line-height: 1.55; }
.hero-copy > p:not(.eyebrow):not(.hero-lede) { max-width: 58ch; }

.action-row, .contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem 1.2rem; margin-top: 1.6rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary { background: var(--button-blue); color: var(--ink); }
.button-primary:hover { background: var(--button-blue-hover); color: var(--ink); }
.text-link { color: var(--teal); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

.hero-figure { position: relative; margin: 0; }
.hero-figure img { display: block; width: 100%; max-height: 510px; aspect-ratio: 1.22; object-fit: cover; border-radius: 3px; }
.hero-figure figcaption { margin-top: 0.65rem; color: var(--muted); font-size: 0.84rem; }

.proof-band { padding-block: 3.5rem; background: var(--ink); color: #edf4f2; }
.proof-inner { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 0.5rem 3rem; align-items: start; }
.proof-inner .eyebrow { grid-column: 1; margin: 0; color: #9fc5ef; }
.proof-inner h2 { grid-column: 2; grid-row: 1 / span 2; max-width: 18ch; margin-bottom: 0; color: var(--white); }
.proof-inner > p:last-child { grid-column: 2; max-width: 62ch; margin-bottom: 0; color: #d1e0de; }

.service-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-intro { max-width: 680px; margin-bottom: 2.5rem; }
.section-intro > p:last-child { max-width: 62ch; }
.service-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service-item { padding: 1.8rem 2.5rem 0 0; }
.service-item + .service-item { padding-left: 2.5rem; border-left: 1px solid var(--line); }
.section-number { display: inline-block; margin-bottom: 0.8rem; color: var(--accent-blue-dark); font-size: 0.8rem; font-weight: 800; }
.service-item p { max-width: 54ch; }

.page-heading {
  padding-block: clamp(3rem, 6vw, 5.3rem);
  background-color: var(--paper);
  background-image: repeating-linear-gradient(135deg, transparent 0, transparent 32px, rgba(40, 113, 109, 0.045) 32px, rgba(40, 113, 109, 0.045) 33px);
  border-bottom: 1px solid var(--line);
}

.page-heading h1 { max-width: 20ch; margin-bottom: 0.8rem; font-size: clamp(2.5rem, 5vw, 4rem); }
.page-heading .heading-lede { margin-bottom: 0; }
.audience-note { max-width: 70ch; margin: 1.1rem 0 0; padding: 0.75rem 1rem; border-left: 3px solid var(--accent-blue); background: var(--white); color: var(--ink); font-size: 0.94rem; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr); gap: clamp(2.5rem, 6vw, 6rem); padding-block: clamp(3rem, 6vw, 5rem); }
.article-copy { max-width: 72ch; }
.article-copy h2 { margin-top: 2rem; }
.article-copy p { margin-bottom: 1.2rem; }
.check-list, .plain-list { padding-left: 1.2rem; }
.check-list li, .plain-list li { margin-bottom: 0.45rem; padding-left: 0.2rem; }
.check-list li::marker { color: var(--teal); }

.side-feature { align-self: start; padding: 1rem; background: var(--paper); border-top: 4px solid var(--teal); }
.side-feature img { display: block; width: 100%; height: auto; margin-bottom: 1.2rem; }
.image-feature { width: 100%; }
.image-feature img { width: 100%; }
.side-feature h2 { font-size: 1.8rem; }
.side-feature .eyebrow { margin-bottom: 0.45rem; }
.side-feature figcaption { color: var(--muted); font-size: 0.85rem; }

.notice-band { padding-block: 1.5rem; background: var(--mist); color: var(--ink); }
.notice-band p { max-width: 85ch; margin: 0; }

.benefit-band { padding-block: clamp(3rem, 6vw, 5rem); background: var(--paper); border-block: 1px solid var(--line); }
.benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.benefit-grid article { padding-top: 1rem; border-top: 2px solid var(--teal); }
.benefit-grid h2 { font-size: 1.85rem; }

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); gap: clamp(2.5rem, 8vw, 8rem); padding-block: clamp(3.5rem, 7vw, 6rem); }
.contact-primary { max-width: 650px; }
.contact-primary h2 { max-width: 17ch; font-size: clamp(2rem, 3.5vw, 3rem); }
.contact-address { display: flex; flex-direction: column; align-items: flex-start; gap: 0.3rem; padding: 1.6rem; background: var(--paper); border-left: 4px solid var(--accent-blue); font-style: normal; }
.contact-address strong { margin-bottom: 0.35rem; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; font-weight: 500; }
.contact-address a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.address-rule { width: 100%; margin-block: 0.8rem; border-top: 1px solid var(--line); }

.site-footer { padding-block: 2.5rem; background: #102b37; color: #e2ecea; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; align-items: start; }
.site-footer strong { color: var(--white); }
.site-footer p { margin: 0.45rem 0 0; }
.site-footer a { color: #c4e0dc; text-underline-offset: 0.18em; }
.site-footer a:hover { color: var(--white); }
.footer-note { justify-self: end; color: #bdcfcc; }

@media (min-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr; }
  .brand { grid-column: 1; grid-row: 1; }
  .header-phone { grid-column: 2; grid-row: 1; }
  .primary-nav { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .header-inner { min-height: 88px; grid-template-columns: 1fr auto auto; gap: 0.75rem; }
  .brand { grid-column: 1; grid-row: 1; }
  .brand img { width: 175px; }
  .header-phone { grid-column: 2; grid-row: 1; }
  .header-phone span { display: none; }
  .header-phone strong { font-size: 0.95rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; min-height: 44px; padding: 0.4rem 0.65rem; border: 1px solid var(--line); border-radius: 3px; background: var(--white); color: var(--ink); font: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 0.55rem max(1.5rem, calc((100% - var(--content-width)) / 2)); background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 18px rgba(23, 52, 66, 0.12); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 0.65rem 0.2rem; border-bottom: 1px solid var(--line); }
  .primary-nav a[aria-current="page"] { border-bottom-color: var(--accent-blue); }
  .primary-nav a:last-child { border-bottom: 0; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr); gap: 2rem; }
  .content-layout { grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr); gap: 2rem; }
}

@media (max-width: 640px) {
  .page-width, .header-inner { width: min(100% - 2rem, var(--content-width)); }
  .header-inner { min-height: 76px; grid-template-columns: 1fr auto; }
  .brand img { width: 150px; }
  .header-phone { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 2.8rem 3rem; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 1.45; max-height: 340px; }
  .proof-band { padding-block: 2.7rem; }
  .proof-inner { display: block; }
  .proof-inner .eyebrow { margin-bottom: 0.8rem; }
  .proof-inner h2 { margin-bottom: 0.9rem; }
  .service-section { padding-block: 3rem; }
  .service-columns, .content-layout, .contact-layout, .benefit-grid { grid-template-columns: 1fr; }
  .service-item { padding: 1.5rem 0; }
  .service-item + .service-item { padding: 1.5rem 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .content-layout { gap: 1.5rem; padding-block: 2.5rem; }
  .side-feature { padding: 1rem; }
  .contact-layout { gap: 1.5rem; padding-block: 2.8rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .footer-note { grid-column: 1 / -1; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}