:root {
  color-scheme: light;
  --ink: #132033;
  --muted: #40536a;
  --brand: #005dcc;
  --soft: #eff4fa;
  --line: #d9e3ef;
  font: 16px/1.65 system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: var(--brand); text-underline-offset: 0.2em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #1681ee;
  outline-offset: 3px;
}
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1180px; width: calc(100% - 2rem); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--line); }
.masthead .wrap, footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; padding-block: 1rem; }
.masthead img { width: min(200px, 45vw); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.3rem; }
nav a { color: var(--ink); font-weight: 650; }
nav a[aria-current="page"] { color: var(--brand); }
main { padding-block: clamp(1.8rem, 5vw, 4rem); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin: 0 0 1rem; }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1rem; }
.lede { font-size: 1.14rem; max-width: 58ch; }
.hero { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 16px; background: var(--ink); color: white; }
.hero-copy { padding: clamp(1.35rem, 5vw, 3.8rem); align-self: center; }
.hero img { width: 100%; height: 100%; object-fit: cover; }
.hero a { color: #fff; }
.button { display: inline-block; min-height: 44px; padding: 0.6rem 1rem; border: 1px solid var(--brand); border-radius: 7px; color: #fff; background: var(--brand); text-decoration: none; font: inherit; font-weight: 670; cursor: pointer; }
.hero .button { background: #fff; border-color: #fff; color: var(--ink); }
.section { margin-block: 2.75rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.card { border: 1px solid var(--line); border-radius: 12px; background: var(--soft); overflow: hidden; }
.card img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.card div { padding: 1.2rem; }
.card h3 { margin-top: 0; }
.card p, footer { color: var(--muted); }
.article { max-width: 75ch; margin-inline: auto; }
.article section, .article aside { margin-block: 1.9rem; }
.article figure { margin: 1.7rem 0; }
.article figure img { border-radius: 12px; }
.article figcaption { margin-top: 0.4rem; color: var(--muted); font-size: 0.9rem; }
.article .button { margin-bottom: 1rem; }
.contact-form { display: grid; gap: 0.85rem; margin-block: 1.5rem; }
label { font-weight: 620; }
input:not([type="checkbox"]), textarea { width: 100%; border: 1px solid #7d91a9; border-radius: 6px; padding: 0.7rem; font: inherit; display: block; color: var(--ink); }
textarea { resize: vertical; min-height: 9rem; }
.contact-form button { justify-self: start; }
.trap { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
footer { border-top: 1px solid var(--line); background: var(--soft); }
.standalone { width: min(70ch, calc(100% - 2rem)); margin-inline: auto; }
.standalone article { padding-block: 1rem; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.standalone .message { white-space: pre-wrap; }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; }
  .hero img { max-height: 310px; }
  .masthead .wrap { gap: 0.75rem; }
}
