/* A reading page: everything inside the content width, a text column with the page contents beside it. */
.about-head { padding: 20px 0 clamp(32px, 5vh, 56px); background: var(--sky); }
.about-head .breadcrumb { margin-bottom: 1.25rem; font-size: .9rem; }
.about-head .breadcrumb-item { padding-top: .35rem; padding-bottom: .35rem; }
.about-head .breadcrumb a { display: inline-block; margin: -.35rem 0; padding: .35rem 0; }
.page .about-head h1 { margin-bottom: 1rem; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.15; }
.about-lead { max-width: 34em; margin-bottom: 1.5rem; font-size: 1.15rem; }

.about-body { padding-top: clamp(32px, 6vh, 64px); padding-bottom: clamp(24px, 4vh, 48px); }
.about-text { line-height: 1.75; }
.about-text section + section, .about-text section + .about-figure, .about-figure + section { margin-top: clamp(40px, 6vh, 64px); }
.about-text section { scroll-margin-top: 96px; }
.page .about-text h2 { margin-bottom: 1rem; font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.page .about-text h3 { margin-bottom: .35rem; font-size: 1.3rem; }
.about-text h3 + p { margin-bottom: 1.25rem; }
.about-text p a, .about-checked a { font-weight: 600; text-underline-offset: 3px; }
.about-figure { margin-bottom: 0; }
.about-photo { aspect-ratio: 21 / 9; }

.about-box { height: 100%; padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--mist); }
.page .about-text .about-box h3 { font-size: 1.2rem; }

/* Numbered like kilometre markers down the side of the text. */
.about-steps { counter-reset: step; }
.about-steps li { position: relative; min-height: 56px; padding-left: 4.25rem; counter-increment: step; }
.about-steps li::before { position: absolute; top: 0; left: 0; display: flex; align-items: flex-end; justify-content: center; width: 44px; height: 52px; padding-bottom: 6px; border: 2px solid var(--ink); border-radius: 22px 22px 6px 6px; background: linear-gradient(var(--red) 0 42%, var(--ink) 42% 46%, #fff 46%); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 800; line-height: 1; content: counter(step); }
.about-steps p { margin-bottom: 1.25rem; }
.about-steps li:last-child p { margin-bottom: .75rem; }

.about-documents { display: grid; gap: .6rem; }
.about-documents li { padding: .85rem 1.1rem; border-radius: var(--radius); background: var(--sky); }
.about-documents a { display: inline-flex; align-items: center; gap: .5rem; min-height: 32px; font-weight: 700; }
.about-documents span { display: block; font-size: .98rem; line-height: 1.6; }
.about-checked { margin-bottom: 0; color: var(--muted); font-size: .95rem; }

.about-promises { display: grid; gap: 1rem; }
.about-promises li { display: flex; gap: .9rem; }
.about-promises i { color: var(--leaf); font-size: 1.25rem; line-height: 1.5; }

/* Page contents on a blue sign that stays in view on wide screens. */
.about-toc { padding: 1.1rem 1.25rem; border-radius: var(--radius); background: #0b55a8; color: #fff; }
.page .about-toc h2 { margin-bottom: .35rem; color: #fff; font-size: 1.3rem; }
.about-toc a { display: block; padding: .45rem 0; color: #fff; font-weight: 600; text-decoration: none; }
.about-toc a:hover { text-decoration: underline; text-underline-offset: 4px; }
.about-toc :focus-visible { outline-color: #ffd23f; }
.about-ask { margin-top: 1rem; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--sky); }
.about-ask p { margin-bottom: .6rem; font-weight: 700; }
@media (min-width: 992px) {
    .about-aside { position: sticky; top: 100px; }
}
@media (max-width: 991.98px) {
    .about-toc ol { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
    .about-toc a { display: flex; align-items: center; min-height: 44px; padding: .2rem 0; font-size: .95rem; line-height: 1.35; }
}
@media (max-width: 575.98px) {
    .about-photo { aspect-ratio: 16 / 9; }
    .about-steps li { padding-left: 3.5rem; }
}
