:root {
    --navy: #1B2E4A;
    --teal: #0B6E72;
    --text: #1F2933;
    --muted: #4B5560;
    --tint: #F4F6F8;
    --white: #FFFFFF;
    --header-height: 64px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    line-height: 1.65;
    font-size: 17px;
    background: var(--white);
}

a {
    color: var(--teal);
}

a:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 20;
    background: var(--white);
    color: var(--navy);
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.skip-link:focus {
    top: 16px;
}

main:focus {
    outline: none;
}

.wrap {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.masthead {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.masthead__bar {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.masthead__name {
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}

.masthead__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
}

.masthead__nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.masthead__nav a:hover,
.masthead__nav a:focus-visible {
    border-bottom-color: var(--white);
}

.masthead__name:focus-visible,
.masthead__nav a:focus-visible,
.site-footer a:focus-visible {
    outline-color: var(--white);
}

.block {
    padding: 56px 0;
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.block--intro {
    background: var(--navy);
    color: var(--white);
    padding: 64px 0 72px;
}

.block--intro h1 {
    color: var(--white);
}

.block--tinted {
    background: var(--tint);
}

.eyebrow {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

h1 {
    font-size: 32px;
    line-height: 1.25;
    color: var(--navy);
    margin-bottom: 16px;
}

h2 {
    font-size: 24px;
    color: var(--navy);
    margin-bottom: 16px;
}

p + p {
    margin-top: 12px;
}

.services {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px 32px;
}

.services strong {
    display: block;
    color: var(--navy);
}

.contact {
    margin-bottom: 20px;
}

.contact address {
    font-style: normal;
    margin-bottom: 8px;
}

.map {
    display: block;
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 8px;
    margin-bottom: 16px;
}

.note {
    color: var(--muted);
    font-size: 15px;
}

.site-footer {
    background: var(--navy);
    color: var(--white);
    padding: 28px 0;
    font-size: 15px;
}

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

.site-footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.social {
    list-style: none;
    display: flex;
    gap: 14px;
}

.social a {
    display: block;
    line-height: 0;
}

.social img {
    display: block;
}

.social__square {
    border-radius: 4px;
}
