/* Building blocks of the public pages: condensed headings, flat fields, isometric drawings.
   Parts are separated by space and background colour rather than rules. */
.landing { font-size: 1.0625rem; }
.landing section[id] { scroll-margin-top: 96px; }
.landing h1 { margin-bottom: 1.25rem; font-size: clamp(2.1rem, 3.6vw, 3.4rem); font-stretch: 74%; font-weight: 800; line-height: 1.12; }
.landing h2 { max-width: 20em; margin-bottom: .75rem; font-size: clamp(1.7rem, 2.5vw, 2.35rem); font-stretch: 74%; line-height: 1.18; }
.landing h3 { font-size: 1.3rem; }
.section { padding: clamp(48px, 8vh, 80px) 0; }
.section-lead { max-width: 36em; margin-bottom: 2rem; font-size: 1.1rem; }
.section-source { margin: 1.25rem 0 0; color: var(--muted); font-size: .9rem; }
.field-wash { background: var(--brand-soft); }
.field-navy { background: var(--brand-primary); color: #fff; }
.field-navy h2, .field-navy h3 { color: #fff; }
.field-navy :focus-visible { outline-color: #fff; }

/* Drawings. */
.art { display: block; width: 150px; max-width: 100%; height: auto; }
.art-sm { width: 96px; }
.art-hero { width: 100%; max-width: 380px; margin: 0 auto; }

/* Opening of a page: statement beside a photograph or a large drawing. */
.opening { padding: clamp(32px, 6vh, 64px) 0; background: var(--brand-soft); }
.opening p { max-width: 32em; margin-bottom: 1.75rem; font-size: 1.125rem; }
.opening-photo { display: block; width: 100%; height: 100%; min-height: 240px; max-height: 480px; object-fit: cover; }

/* A drawing with a title and a short text: beside it on phones, above it from tablets up. */
.feature { display: flex; align-items: flex-start; gap: 1rem; height: 100%; }
.feature .art { flex: none; width: 96px; }
.feature h3 { margin-bottom: .35rem; }
.feature p { margin: 0; }
@media (min-width: 768px) {
    .feature { flex-direction: column; gap: .75rem; }
    .feature .art { width: 160px; }
}

/* Numbered steps, used only for real sequences. */
.steps { counter-reset: step; }
.steps li { counter-increment: step; }
.steps .feature h3::before { content: counter(step) ". "; }

/* Questions. */
.faq { --bs-accordion-border-width: 0; --bs-accordion-btn-padding-x: 1.1rem; --bs-accordion-body-padding-x: 1.1rem; --bs-accordion-bg: transparent; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--brand-primary); --bs-accordion-btn-focus-box-shadow: none; }
.faq .accordion-item { margin-bottom: .5rem; background: var(--brand-soft); }
.faq .accordion-button { color: var(--brand-primary); font-size: 1.15rem; font-stretch: 82%; font-weight: 750; line-height: 1.3; box-shadow: none; }
.faq .accordion-button:focus-visible { outline: 3px solid #2f6fd6; outline-offset: 0; }
.faq .accordion-body { padding-top: 0; }

/* Closing invitation: a navy panel with a drawing. */
.closing { padding: clamp(32px, 6vh, 64px) 0; }
.closing-panel { padding: clamp(24px, 4vw, 48px); background: var(--brand-primary); color: #fff; }
.closing-panel h2 { margin-bottom: .5rem; color: #fff; }
.closing-panel p { margin: 0; }
.closing-panel :focus-visible { outline-color: #fff; }

/* A link block with a drawing, used to pick a kind of facility. */
.pick { display: flex; flex-direction: column; align-items: center; gap: .5rem; height: 100%; padding: 1rem .75rem 1.1rem; border: 2px solid transparent; background: #fff; color: var(--brand-primary); font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; transition: border-color .15s ease; }
.pick .art { width: 128px; }
.pick:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.pick i { margin-left: .35rem; }
