:root {
  color-scheme: light;
  --ink: #172b3e;
  --muted: #465c6d;
  --blue: #164b73;
  --line: #c8d5df;
  font: 100%/1.65 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fff; color: var(--ink); }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #2877ad; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.2; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.2rem; }
.wrap { width: min(68rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; padding: .5rem 1rem; background: white; transform: translateY(-150%); z-index: 1; }
.skip:focus { transform: none; }
.header, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.2rem; }
.header { border-bottom: 1px solid var(--line); }
.header img { object-fit: contain; }
nav, .actions { display: flex; align-items: center; gap: .8rem 1.6rem; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3rem, 7vw, 6rem); }
.eyebrow { color: var(--blue); font-size: .9rem; font-weight: 700; margin-bottom: 1rem; }
.intro { color: var(--muted); font-size: 1.15rem; max-width: 34rem; margin-block: 1.4rem 1.8rem; }
.button { display: inline-block; padding: .7rem 1.2rem; color: white; background: var(--blue); font-weight: 650; text-decoration: none; }
.button:hover { background: #103a5a; }
.portrait { max-width: 24rem; }
.portrait img { width: 100%; height: auto; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: center 23%; }
.portrait figcaption { display: grid; padding-top: .7rem; font-size: .95rem; }
.portrait figcaption span { color: var(--muted); }
.services { background: #edf3f7; padding-block: clamp(3rem, 6vw, 5rem); }
.services h2 { max-width: 45rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.cards article { border-top: 2px solid var(--blue); padding-top: 1.2rem; }
.cards p, .contact p:not(.eyebrow) { color: var(--muted); margin-top: .75rem; }
.contact { padding-block: clamp(3rem, 6vw, 5rem); }
.contact > div { max-width: 40rem; }
address { display: grid; gap: .4rem; margin-top: 1.4rem; font-style: normal; font-weight: 650; overflow-wrap: anywhere; }
footer { background: #173d5a; color: #fff; }
@media (max-width: 46rem) {
  .hero, .cards { grid-template-columns: 1fr; }
  .portrait { max-width: 22rem; }
}
@media (max-width: 25rem) {
  .wrap { width: calc(100% - 2rem); }
}
