:root {
    color-scheme: light;
    --paper: #f8f7f2;
    --canvas: #fffdf8;
    --ink: #163b40;
    --muted: #465b5d;
    --petrol: #00565f;
    --petrol-hover: #00444d;
    --dark: #103d44;
    --line: #d7e2df;
    --tint: #e6f0ee;
    --tint-strong: #d2e7e4;
    --line-accent: #6b898d;
    --footer-text: #dcebea;
    --clay: #f5e9de;
    --oat: #f1ede3;
    --urgent: #803a29;
    --serif: Lora, Georgia, serif;
    --sans: Manrope, system-ui, sans-serif;
    --round: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
main { min-height: 45vh; }
img { display: block; max-width: 100%; }
svg { display: inline-block; width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: inherit; }
summary, button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 5px; }
#main:focus { outline: none; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.044em; }
h2 { font-size: clamp(1.85rem, 3vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { color: var(--muted); }
.wrap { width: min(1240px, 100% - 104px); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: absolute; top: 12px; left: 12px; z-index: 10; padding: .7rem 1rem; background: #fff; }

.service-bar { background: var(--tint); border-bottom: 1px solid var(--line); }
.service-inner { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 10px 16px; font-size: .81rem; font-weight: 700; }
.service-inner a { display: inline-flex; gap: 7px; align-items: center; color: var(--urgent); white-space: nowrap; text-decoration: none; }
.service-inner a:hover { text-decoration: underline; }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; min-height: 83px; gap: clamp(14px, 2.4vw, 34px); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; line-height: 1.15; font-size: 1.04rem; text-decoration: none; }
.brand small { display: block; margin-top: 5px; font-size: .73rem; font-weight: 650; color: var(--muted); }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #fff9ec; background: var(--petrol); flex: none; }
.brand-mark svg { width: 27px; height: 27px; }
.nav { display: flex; gap: clamp(14px, 2vw, 29px); align-items: center; margin-left: auto; font-size: .88rem; font-weight: 750; }
.nav a, .nav summary { text-decoration: none; }
.nav .nav-book { display: none; }
.nav a:hover, .nav [aria-current], .nav .active { color: var(--petrol); text-decoration: underline; }
.more { position: relative; }
.more summary, .archive summary { display: flex; align-items: center; gap: 6px; list-style: none; }
summary::-webkit-details-marker { display: none; }
.more[open] summary svg, .archive[open] summary svg { transform: rotate(180deg); }
.more-menu { position: absolute; top: calc(100% + 14px); right: 0; z-index: 3; width: 249px; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--canvas); box-shadow: 0 12px 35px #163b4014; }
.more-menu a { display: block; padding: .62rem .75rem; border-radius: 8px; }
.more-menu a:hover { background: var(--tint); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: .62rem 1.12rem; background: var(--petrol); color: #fffdf8; border: 1px solid var(--petrol); border-radius: 9px; text-align: center; text-decoration: none; font-size: .9rem; font-weight: 800; line-height: 1.3; transition: background-color .16s, border-color .16s; }
.button:hover { background: var(--petrol-hover); border-color: var(--petrol-hover); }
.header-book { min-height: 43px; font-size: .82rem; white-space: nowrap; }
.button-outline { background: transparent; border-color: var(--line-accent); color: var(--petrol); }
.button-outline:hover { background: var(--tint); border-color: var(--petrol); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero { display: grid; grid-template-columns: 1fr 1.07fr; align-items: center; gap: clamp(22px, 5vw, 76px); padding-block: 41px 48px; }
.hero-copy { padding-block: 16px; }
.eyebrow { color: var(--petrol); display: flex; gap: 10px; align-items: center; margin-bottom: 21px; font-size: .77rem; font-weight: 850; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow span { order: -1; display: block; width: 24px; height: 2px; background: var(--petrol); }
.hero h1 { font-size: clamp(3.25rem, 6.35vw, 6.45rem); line-height: .99; letter-spacing: -.068em; }
.hero p { max-width: 395px; font-size: clamp(1rem, 1.65vw, 1.2rem); margin-block: 24px 27px; }
.hero-visual { position: relative; aspect-ratio: 1.34; border-radius: 20px 84px 20px 20px; overflow: hidden; background: var(--tint-strong); isolation: isolate; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::after { content: ''; position: absolute; inset: 12px; border: 1px solid #fff7e7a6; border-radius: 12px 73px 12px 12px; pointer-events: none; }
.audiences { padding-block: 10px 64px; }
.audiences h2, .home-resources h2 { margin-bottom: 24px; }
.audience-grid, .quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.audience-card { flex: 1; display: block; min-height: 168px; border: 1px solid var(--line); border-radius: var(--round); padding: 22px 24px; background: var(--tint); text-decoration: none; transition: box-shadow .18s, border-color .18s; }
.audience-card:hover { border-color: var(--line-accent); box-shadow: 0 5px 18px #163b4012; }
.audience-card.people { background: var(--clay); border-color: #e9dacf; }
.audience-card.people:hover { border-color: #b48068; }
.audience-card.book { background: var(--oat); border-color: #e4dece; }
.audience-card.book:hover { border-color: #958969; }
.card-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 14px; background: var(--tint-strong); border-radius: 50%; }
.card-icon svg { width: 23px; height: 23px; }
.people .card-icon { background: #edd9c9; color: #783d2a; }
.book .card-icon { background: #e8e0cd; color: #564c33; }
.audience-card p { margin-top: 8px; font-size: .91rem; }

.about { background: var(--tint); padding-block: 60px; border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: .92fr 1fr; gap: clamp(22px, 6vw, 87px); align-items: start; }
.about p { max-width: 475px; margin-block: 16px 21px; }
.text-link { font-weight: 800; }
.about-directions h3 { margin-top: .35rem; }
.about-directions ul { display: grid; gap: 11px; padding: 0; margin: 19px 0 0; list-style: none; }
.about-directions li { display: flex; gap: 11px; align-items: baseline; }
.about-directions svg { align-self: center; color: var(--petrol); }
.home-resources { padding-block: 59px 68px; }
.quick-card { display: flex; align-items: center; gap: 13px; min-height: 72px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--canvas); font-weight: 800; text-decoration: none; overflow-wrap: anywhere; }
.quick-card:hover { border-color: var(--line-accent); }
.quick-card svg { color: var(--petrol); width: 23px; height: 23px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 5px 11px; margin-block: 24px 30px; color: var(--muted); font-size: .82rem; font-weight: 680; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-intro { max-width: 1000px; padding-bottom: 29px; }
.page-intro h1 { font-size: clamp(2.3rem, 5vw, 4.5rem); overflow-wrap: anywhere; }
.page-intro p { margin-top: 15px; max-width: 740px; font-size: clamp(1rem, 1.65vw, 1.16rem); }
.page-body { padding-bottom: 72px; }
.resource-layout.with-sidebar { display: grid; align-items: start; grid-template-columns: 244px minmax(0, 1fr); gap: clamp(26px, 4vw, 60px); }
.section-index { position: sticky; top: 22px; padding: 19px 18px; background: var(--tint); border: 1px solid var(--line); border-radius: 14px; }
.section-index h2 { font: 800 .98rem/1.2 var(--sans); letter-spacing: 0; }
.section-index ul { padding: 0; margin: .65rem 0 0; list-style: none; }
.section-index a { display: block; padding-block: 5px; font-size: .87rem; text-decoration-color: var(--line-accent); }
.resource-content { min-width: 0; }
.resource-section + .resource-section { margin-top: 35px; }
.resource-section h2, .help-resources h2 { margin-bottom: 17px; font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.036em; }
.file-list { padding: 0; margin: 0; list-style: none; background: var(--canvas); border: 1px solid var(--line); border-radius: 14px; }
.file-list li + li { border-top: 1px solid var(--line); }
.file-list li:first-child .file-row { border-top-left-radius: 13px; border-top-right-radius: 13px; }
.file-list li:last-child .file-row { border-bottom-left-radius: 13px; border-bottom-right-radius: 13px; }
.file-row { display: flex; align-items: center; gap: 13px; padding: 13px 16px; min-height: 62px; text-decoration: none; font-weight: 750; line-height: 1.44; }
.file-row:hover { background: var(--tint); }
.file-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: none; border-radius: 10px; background: var(--tint); }
.file-name { overflow-wrap: anywhere; }
.file-name small { display: block; margin-top: 3px; color: var(--muted); font-size: .73rem; font-weight: 800; }
.file-download { margin-left: auto; color: var(--petrol); }
.file-search { margin-bottom: 23px; }
.file-search label { display: block; margin-bottom: 6px; font-weight: 800; }
.file-search input { display: block; width: min(100%, 520px); padding: 9px 13px; background: var(--canvas); color: var(--ink); border: 1px solid var(--line-accent); border-radius: 9px; }
.file-search [role=status]:not(:empty) { margin-top: 8px; font-size: .9rem; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.figure { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--canvas); font-size: .9rem; font-weight: 780; text-decoration: none; }
.figure:hover { border-color: var(--line-accent); }
.figure-image { display: grid; place-items: center; background: #fff; aspect-ratio: 1.5; border-bottom: 1px solid var(--line); overflow: hidden; }
.figure img { width: 100%; height: 100%; object-fit: contain; }
.figure > span { padding: 12px; }
.archive { margin-top: 19px; border: 1px solid var(--line); border-radius: 13px; background: var(--canvas); padding: 13px 16px; }
.archive summary { justify-content: space-between; font-weight: 800; }
.archive > :is(.gallery, p) { margin-top: 14px; }
.archive ul { margin-bottom: 3px; padding-left: 20px; color: var(--muted); }
.archive li + li { margin-top: 6px; }

.panel, .support-panel { padding: clamp(19px, 3vw, 32px); border: 1px solid var(--line); background: var(--canvas); border-radius: var(--round); }
.panel.narrow { max-width: 620px; }
.panel.narrow p, .support-panel p { margin-block: 9px 15px; }
.support-panel { margin-top: 31px; background: var(--tint); }
.support-panel h2 { font-size: clamp(1.35rem, 2.7vw, 2.1rem); }
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: start; }
.contact-card h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); }
.role { margin-top: 7px; }
.contact-list { margin-block: 20px 24px; }
.contact-list > div { display: grid; grid-template-columns: .84fr 1.16fr; gap: 8px 14px; padding-block: 9px; border-top: 1px solid var(--line); }
.contact-list dt { display: flex; gap: 8px; align-self: start; align-items: center; color: var(--muted); font-size: .89rem; }
.contact-list dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.school-photo { overflow: hidden; border-radius: var(--round); background: var(--tint); border: 1px solid var(--line); }
.school-photo img { width: 100%; aspect-ratio: 1.65; object-fit: cover; }
.school-photo figcaption { padding: 11px 16px; font-size: .9rem; font-weight: 750; }

.help-numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-bottom: 27px; }
.number-card { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--round); background: var(--canvas); padding: 20px 23px; }
.number-card h2 { font: 800 1rem/1.35 var(--sans); letter-spacing: 0; }
.number { display: inline-block; margin-block: 8px 5px; font-size: clamp(1.55rem, 3.5vw, 2.3rem); font-weight: 850; line-height: 1.15; text-decoration: none; }
.number:hover { text-decoration: underline; }
.number-card.emergency { background: #faebe3; border-color: #eed7cc; }
.emergency .number { color: var(--urgent); }
.source-link { margin-top: auto; padding-top: 8px; font-size: .85rem; }
.help-resources { margin-bottom: 29px; }

.site-footer :focus-visible { outline-color: var(--footer-text); }
.site-footer { background: var(--dark); color: #f6f6ee; padding-top: 35px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr 1fr; gap: 18px 27px; }
.site-footer .brand-mark { background: var(--tint-strong); color: var(--dark); }
.site-footer p, .site-footer a:not(.brand), .site-footer .brand small { color: var(--footer-text); }
.site-footer p { margin-top: 10px; font-size: .86rem; }
.site-footer h2 { font: 800 .9rem/1.3 var(--sans); letter-spacing: 0; margin-bottom: 9px; }
.site-footer nav a, .footer-contact a { display: block; margin-bottom: 4px; font-size: .87rem; text-decoration: none; }
.site-footer nav a:hover, .footer-contact a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 8px 20px; border-top: 1px solid #51777b; margin-top: 25px; padding-block: 13px 15px; color: var(--footer-text); font-size: .78rem; }
.cookie-settings { padding: 0; border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: .24em; }
.cookie-banner { position: fixed; z-index: 9; inset-inline-end: max(12px, env(safe-area-inset-right)); inset-block-end: max(12px, env(safe-area-inset-bottom)); width: min(440px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 20px; border: 1px solid var(--line); border-radius: var(--round); background: var(--canvas); box-shadow: 0 12px 35px #163b4026; font-size: .88rem; }
.cookie-banner h2 { margin-bottom: 8px; font-size: 1.45rem; }
.cookie-banner p { margin-bottom: 6px; }
.cookie-banner .actions { margin-top: 14px; }
.cookie-banner .button { flex: 1 1 auto; min-height: 44px; }

@media (max-width: 1100px) {
    .wrap { width: min(1240px, 100% - 64px); }
    .header-inner { gap: 17px; }
    .nav { gap: 16px; }
    .brand small { font-size: .67rem; }
}

@media (max-width: 900px) {
    .header-inner { min-height: 72px; flex-wrap: wrap; gap: 11px 16px; padding-block: 12px; }
    .menu-toggle:not([hidden]) { display: inline-flex; margin-left: auto; min-height: 42px; }
    .nav { order: 2; flex-basis: 100%; flex-wrap: wrap; margin: 0; padding-block: 9px 2px; border-top: 1px solid var(--line); }
    .nav .more-menu { right: auto; left: 0; }
    .header-book { margin-left: auto; }
    .menu-toggle:not([hidden]) ~ .header-book { margin-left: 0; }
    .hero { gap: 24px; }
    .hero-visual { aspect-ratio: 1.04; border-top-right-radius: 64px; }
    .hero-visual::after { border-top-right-radius: 53px; }
    .audience-card { padding-inline: 16px; }
    .resource-layout.with-sidebar { grid-template-columns: 185px minmax(0, 1fr); gap: 22px; }
    .resource-layout.with-sidebar .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: 1fr .8fr; }
    .contact-list > div { grid-template-columns: 1fr; gap: 1px; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 620px) {
    .wrap { width: calc(100% - 36px); }
    .service-inner { flex-wrap: wrap; padding-block: 7px; font-size: .74rem; }
    .service-inner > span { max-width: 54%; }
    .header-inner { gap: 10px; }
    .brand { font-size: .92rem; }
    .brand small { line-height: 1.25; }
    .brand-mark { width: 39px; height: 39px; }
    .header-book { display: none; }
    .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; }
    .nav > a, .nav summary { display: flex; min-height: 40px; align-items: center; }
    .nav .nav-book { display: flex; grid-column: 1 / -1; }
    .nav .more { grid-column: 1 / -1; }
    .nav .more-menu { position: static; width: auto; box-shadow: none; }
    .hero { grid-template-columns: 1fr; padding-block: 32px 30px; gap: 23px; }
    .hero-copy { padding: 0; }
    .eyebrow { margin-bottom: 14px; }
    .hero h1 { font-size: clamp(2.85rem, 10vw, 4.4rem); }
    .hero p { margin-block: 15px 19px; }
    .hero-visual { aspect-ratio: 1.48; border-top-right-radius: 50px; }
    .hero-visual::after { inset: 9px; border-top-right-radius: 43px; }
    .audiences { padding-block: 8px 38px; }
    .audiences h2, .home-resources h2 { margin-bottom: 16px; }
    .audience-grid, .quick-grid, .about-grid, .contact-grid, .help-numbers { grid-template-columns: 1fr; gap: 12px; }
    .audience-card { display: grid; grid-template-columns: auto 1fr; column-gap: 13px; align-items: center; min-height: 83px; padding: 14px 15px; }
    .card-icon { grid-row: span 2; margin: 0; }
    .audience-card h3 { align-self: end; }
    .audience-card p { margin-top: 2px; align-self: start; }
    .about { padding-block: 34px; }
    .about-grid { gap: 22px; }
    .home-resources { padding-block: 33px 42px; }
    .quick-card { min-height: 55px; }
    .breadcrumbs { margin-block: 16px 19px; }
    .page-intro { padding-bottom: 22px; }
    .page-body { padding-bottom: 43px; }
    .resource-layout.with-sidebar { grid-template-columns: 1fr; }
    .section-index { position: static; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .file-row { gap: 9px; padding-inline: 10px; }
    .file-icon { width: 34px; height: 34px; }
    .footer-grid { column-gap: 17px; }
    .footer-grid > :first-child, .footer-contact { grid-column: 1 / -1; }
    .footer-base { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

