:root {
    --paper: #f6fbfd;
    --mist: #e9f4f7;
    --line: #bdd4df;
    --ink: #284c64;
    --muted: #4d7082;
    --teal: #147d8b;
    --blue: #426f98;
    --coral: #dd5d68;
    --lime: #c4e382;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: #d8eaf1;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a { color: inherit; text-decoration: none; font-weight: 400; }
a:hover { color: #0c6976; }
a:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

p { margin: 0 0 17px; font-size: 16px; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 { font-weight: 400; line-height: 1.2; }
h1 { margin: 0 0 24px; font-size: 40px; }
h2 { margin: 0 0 20px; font-size: 28px; }
h3 { margin: 0 0 12px; font-size: 21px; }

main p a {
    color: #126f80;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

main p a:hover { border-bottom-color: currentColor; }

.site {
    width: min(1340px, 100%);
    margin: 0 auto;
    background: var(--paper);
    border-inline: 1px solid #aecbd8;
    min-height: 100vh;
}

.site-head {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: #eef8fb;
}

.mark {
    display: flex;
    align-items: center;
    padding: 20px 27px;
    background: var(--teal);
    color: #fff;
    font-size: 20px;
    letter-spacing: .03em;
    white-space: nowrap;
}

.mark:hover { color: #fff; background: #116a76; }

.head-nav { display: flex; align-items: stretch; }

.head-nav a {
    display: flex;
    align-items: center;
    padding: 16px 25px;
    border-left: 1px solid var(--line);
    color: var(--ink);
    white-space: nowrap;
}

.head-nav a:hover, .head-nav a[aria-current="page"] {
    color: #116a76;
    background: #d8edf2;
}

.head-nav .head-accent { background: var(--lime); }
.head-nav .head-accent:hover { background: #b3d66a; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
    border-bottom: 1px solid var(--line);
}

.hero-copy { padding: 48px 53px 47px; }

.eyebrow {
    display: block;
    margin-bottom: 15px;
    color: var(--teal);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .15em;
}

.hero-copy > p { max-width: 740px; }

.report-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    margin-top: 10px;
    padding: 13px 28px;
    border-radius: 6px;
    border: 2px solid #ac3b4f;
    background: #ce475b;
    color: #fff;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: .04em;
    box-shadow: 0 5px 0 #a63649;
    text-align: center;
}

.report-cta:hover {
    background: #b93c51;
    color: #fff;
    transform: translateY(2px);
    box-shadow: 0 3px 0 #8e2e40;
}

.hero-art {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    padding: 30px 26px;
    background: var(--teal);
    color: #f7fcfd;
    border-left: 1px solid #82b8c5;
}

.hero-art--blue { background: var(--blue); }
.hero-art--coral { background: var(--coral); }

.machine {
    position: relative;
    width: 170px;
    height: 197px;
    border: 8px solid #eaf8fb;
    border-radius: 12px;
    background: #b7d8e2;
    box-shadow: 10px 11px 0 #286b7c;
}

.hero-art--blue .machine { box-shadow: 10px 11px 0 #315b7e; }
.hero-art--coral .machine { box-shadow: 10px 11px 0 #bb4b5e; }

.machine-controls {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 38px;
    padding: 0 13px;
    border-bottom: 3px solid #87b0c0;
}

.machine-controls span:first-child {
    width: 17px;
    height: 17px;
    border: 3px solid var(--blue);
    border-radius: 50%;
}

.machine-controls span:nth-child(2) {
    width: 39px;
    height: 7px;
    border-radius: 2px;
    background: #6f9db0;
}

.machine-controls span:last-child {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: auto;
    background: var(--coral);
}

.machine-door {
    position: absolute;
    top: 49px;
    left: 17px;
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
    border: 10px solid #f5fbfc;
    border-radius: 50%;
    background: #658da5;
    box-shadow: 0 0 0 3px #416d85;
}

.machine-door::before {
    content: "";
    width: 73px;
    height: 73px;
    border: 6px solid #8ebdcc;
    border-radius: 43% 57% 52% 48%;
    transform: rotate(-25deg);
    background: #d2ebf1;
    box-shadow: inset -12px -7px 0 #b2d7e1;
}

.art-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.art-footer span {
    padding: 5px 11px;
    border: 1px solid rgba(255,255,255,.65);
    font-size: 12px;
    letter-spacing: .04em;
}

.band {
    display: flex;
    flex-wrap: wrap;
    background: var(--lime);
    border-bottom: 1px solid #9ebd71;
}

.band span {
    flex: 1 1 180px;
    padding: 13px 24px;
    text-align: center;
    border-right: 1px solid #a8c477;
    color: #365967;
    font-size: 14px;
}

.band span:last-child { border-right: 0; }

.content-section { padding: 42px 53px 46px; border-bottom: 1px solid var(--line); }
.content-section--mist { background: var(--mist); }
.content-section--accent { background: #e1f1f4; }
.section-intro { max-width: 980px; margin-bottom: 24px; }

.region-grid, .detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.region-grid article, .detail-grid article { padding: 25px 27px 27px 0; }
.region-grid article + article, .detail-grid article + article {
    border-left: 1px solid var(--line);
    padding-left: 27px;
}

.region-name {
    display: inline-block;
    margin-bottom: 14px;
    color: #116f80;
    font-size: 23px;
    line-height: 1.25;
}

.region-name:hover { color: #dd5d68; }

.region-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.region-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 10px 13px;
    border: 1px solid #a8cbd6;
    background: #f8fcfd;
    color: #24657a;
    font-size: 15px;
    text-align: center;
}

.region-links a:hover { background: #d8edf2; color: #116a76; }

.province-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.province-grid article {
    min-width: 0;
    padding: 22px 24px 24px;
    border: 1px solid #b4d0d9;
    background: #f8fcfd;
}

.province-grid h3 { margin: 0 0 12px; }
.province-grid h3 a { color: #116f80; }
.province-grid h3 a:hover { color: #d45164; }

.province-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 17px;
}

.province-cities a {
    display: flex;
    flex: 1 1 130px;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 13px;
    border: 1px solid #80b3c0;
    background: #e1f1f4;
    color: #16687a;
    font-size: 15px;
    text-align: center;
}

.province-cities a:hover { background: var(--lime); color: var(--ink); }

.city-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.city-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 190px;
    min-height: 54px;
    padding: 12px 17px;
    border: 1px solid #78a9bb;
    background: #f8fcfd;
    color: #116f80;
    font-size: 16px;
    text-align: center;
}

.city-links a:hover { background: var(--lime); color: #284c64; }

.city-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.city-grid article {
    padding: 22px 26px 24px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.city-grid h3 a { color: #116f80; }
.city-grid h3 a:hover { color: #d45164; }

.field-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding: 0;
    margin: 20px 0 0;
    list-style: none;
}

.field-list li {
    padding: 7px 12px;
    border: 1px solid #a9cbd5;
    background: #f8fcfd;
    color: #41667b;
    font-size: 15px;
}

.local-reference { margin-top: 18px; color: var(--muted); }

.vertical-flow { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }

.vertical-flow article {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 17px;
    padding: 19px 0;
    border-bottom: 1px solid var(--line);
}

.flow-index {
    color: var(--coral);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: .07em;
}

.vertical-flow h3 { margin: 0 0 7px; }

.specialist {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    border-bottom: 1px solid var(--line);
    background: #d8eff3;
}

.specialist-intro, .specialist-detail { padding: 38px 53px 40px; }
.specialist-intro { background: #c6e5eb; }
.specialist-detail { border-left: 1px solid var(--line); }
.specialist h2 { margin-bottom: 16px; }

.pathway {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 21px;
}

.pathway a {
    padding: 10px 16px;
    border: 1px solid #78a9bb;
    background: #f8fcfd;
    color: #24657a;
    font-size: 15px;
}

.pathway a:hover { background: var(--lime); }

.local-intro { margin-bottom: 22px; max-width: 1000px; }

.site-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
    background: #2c6880;
    color: #f3fafc;
}

.foot-name { padding: 22px 27px; font-size: 15px; }
.foot-links { display: flex; flex-wrap: wrap; }
.foot-links a { padding: 22px 19px; color: #f3fafc; font-size: 15px; }
.foot-links a:hover { background: #1f5970; color: #fff; }

@media (max-width: 950px) {
    .region-links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero { grid-template-columns: minmax(0, 1fr) 300px; }
    .hero-copy { padding: 38px 37px; }
    .content-section { padding: 35px 37px 39px; }
    .specialist-intro, .specialist-detail { padding: 35px 37px; }
    .head-nav a { padding: 14px 17px; }
}

@media (max-width: 760px) {
    .region-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .province-grid { grid-template-columns: 1fr; }
    .site-head { flex-wrap: wrap; }
    .mark { flex: 1 1 100%; padding: 16px 21px; }
    .head-nav { width: 100%; flex-wrap: wrap; }
    .head-nav a { flex: 1 1 auto; justify-content: center; border-top: 1px solid var(--line); }
    .hero, .specialist { display: block; }
    .hero-art { border-left: 0; border-top: 1px solid var(--line); padding: 28px 24px; }
    .machine { transform: scale(.87); margin: -9px 0; }
    .region-grid, .detail-grid, .city-grid { display: block; }
    .city-grid article { padding: 22px; }
    .region-grid article, .detail-grid article { padding: 21px 0; }
    .region-grid article + article, .detail-grid article + article {
        padding: 21px 0;
        border-left: 0;
        border-top: 1px solid var(--line);
    }
    .specialist-detail { border-left: 0; border-top: 1px solid var(--line); }
}

@media (max-width: 490px) {
    .region-links { grid-template-columns: 1fr; }
    .hero-copy, .content-section, .specialist-intro, .specialist-detail { padding: 27px 22px 30px; }
    h1 { font-size: 40px; }
    h2 { font-size: 28px; }
    p { font-size: 16px; }
    .head-nav a { padding: 13px 12px; font-size: 14px; }
    .band span { padding: 10px 13px; text-align: left; }
    .foot-name, .foot-links a { padding: 16px 20px; }
    .vertical-flow article { grid-template-columns: 39px minmax(0, 1fr); gap: 11px; }
}
