/* Alton Cemetery: parchment, evergreen, and quiet editorial typography.
   Layout is usable without JavaScript. Breakpoints respond to content width. */
:root {
    --paper: #f7f4ec;
    --white: #fffdf8;
    --green: #294c3b;
    --deep: #1d372c;
    --sage: #5b6b4e;
    --gold: #a38148;
    --ink: #273c30;
    --muted: #576153;
    --line: #d8d5c7;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Open Sans', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.8 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
a, p, li, h1, h2, h3, h4 { overflow-wrap: break-word; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
:target { scroll-margin-top: 18px; }
figure, p { margin: 0 0 20px; }
h1, h2, h3, h4 { margin: 0 0 22px; font-family: var(--serif); font-weight: 400; line-height: 1.16; }
h2 { font-size: clamp(2.4rem, 4vw, 3.8rem); letter-spacing: -.035em; }
h3 { font-size: clamp(1.9rem, 3vw, 2.9rem); letter-spacing: -.025em; }
h4 { font-size: 1.4rem; }
em { color: var(--sage); font-weight: 400; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.section { padding-block: 104px; }
.section-label, .eyebrow { margin-bottom: 20px; font-size: .68rem; font-weight: 700; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; color: var(--sage); }
.section-label::before { content: ''; display: inline-block; vertical-align: middle; width: 24px; height: 1px; background: var(--gold); margin-right: 12px; }
.sr-only, .form-honeypot { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: 8px; left: 8px; padding: 10px 20px; background: var(--white); z-index: 100; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 13px 22px; min-height: 49px; border: 1px solid transparent; text-decoration: none; font-size: .8rem; font-weight: 700; transition: background .2s, color .2s; }
.button span[aria-hidden] { font-size: 1.1rem; }
.button-light { background: var(--paper); color: var(--green); border-color: var(--paper); }
.button-light:hover { background: #e7dfc9; border-color: #e7dfc9; }
.button-dark { background: var(--green); color: var(--white); }
.button-dark:hover { background: var(--deep); }
.button-outline { background: transparent; color: var(--white); border-color: #b4baa5; }
.button-outline:hover { background: var(--paper); color: var(--green); }
.text-link { display: inline-flex; align-items: center; gap: 16px; padding-block: 5px; font-size: .78rem; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); }
.text-link:hover { color: var(--sage); border-bottom-color: var(--green); }

/* Header: expanded navigation is the default; JS enhances the mobile disclosure. */
.utility-bar { background: var(--green); color: #eceee3; font-size: .65rem; letter-spacing: .055em; }
.utility-bar .wrap { display: flex; justify-content: space-between; gap: 20px; padding-block: 8px; }
.utility-bar a { text-decoration: none; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 102px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 72px; height: 72px; object-fit: contain; }
.brand > span { font: 25px/1.2 var(--serif); }
.brand small { display: block; font: .6rem/1.4 var(--sans); letter-spacing: .1em; margin-top: 8px; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 25px; }
.site-nav a { padding: 12px 0; font-size: .72rem; font-weight: 600; text-decoration: none; }
.site-nav a:hover { color: var(--sage); text-decoration: underline; }
.site-nav .nav-contact { background: var(--green); color: var(--white); padding: 12px 18px; }
.nav-contact span { margin-left: 18px; }
.nav-toggle { display: none; }

/* Image-led hero; imagery is decorative, all text remains real accessible HTML. */
.hero { position: relative; min-height: 650px; display: flex; align-items: center; overflow: hidden; background: var(--deep); color: var(--white); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Frame the lower grounds so the headstones remain prominent beneath the tree canopy. */
.hero-image { object-fit: cover; object-position: center 80%; }
.hero-shade { background: linear-gradient(90deg, rgba(15,35,24,.88), rgba(15,35,24,.62) 45%, rgba(15,35,24,.12)), linear-gradient(0deg, rgba(15,35,24,.6), transparent 25%); }
.hero-content { position: relative; padding-block: 84px 110px; }
.eyebrow { color: #e7d8b8; letter-spacing: .2em; }
.hero h1 { max-width: 850px; margin-bottom: 28px; font-size: clamp(3rem, 5.35vw, 5rem); line-height: 1.1; letter-spacing: -.035em; }
.hero h1 em { color: #e6d5ac; }
.hero-intro { color: #f1f0e6; font-size: .97rem; line-height: 1.8; margin-bottom: 32px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 32px; }
.hero-link { padding-block: 10px; font-size: .8rem; text-decoration: none; border-bottom: 1px solid #babca7; }
.hero-link span { margin-left: 16px; }
.hero-bottom { position: absolute; bottom: 25px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .68rem; color: #eeecdf; }
.image-disclosure { font-size: .6rem; }

/* Practical information sits immediately below the welcome. */
.visit-strip { background: #eeeade; border-bottom: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: 1.08fr 1.2fr 1.05fr .95fr; padding-block: 39px; gap: 30px; }
.visit-grid > div + div { border-left: 1px solid #cecdbd; padding-left: 30px; }
.visit-grid h2 { font-size: 2.4rem; margin: 0; }
.visit-grid .section-label { font-size: .58rem; margin-bottom: 12px; }
.visit-grid h3 { font: 700 .75rem/1.4 var(--sans); letter-spacing: .03em; margin-bottom: 11px; }
.visit-grid p { font-size: .79rem; margin: 0 0 8px; }
.visit-grid .text-link { font-size: .69rem; }
.history-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.history-text { padding-top: 5px; color: var(--muted); }
.lead { font: 1.45rem/1.55 var(--serif); color: var(--ink); }
.history-rule { display: flex; align-items: center; gap: 28px; margin-block: 45px; color: var(--sage); }
.history-rule > span { font: 5.2rem/1 var(--serif); color: #a4ab90; }
.history-rule p { font-size: .7rem; margin: 0; line-height: 1.6; }
.history-rule::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.notable-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.notable-heading h3 { font-size: 1.55rem; margin: 0; }
.notable-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.notable-grid article { border-top: 1px solid var(--gold); padding-top: 17px; }
.small-number { font-size: .65rem; color: var(--sage); letter-spacing: .08em; }
.notable-grid h4 { margin: 15px 0 13px; font-size: 1.2rem; line-height: 1.3; }
.notable-grid p { font-size: .8rem; color: var(--muted); margin: 0; }

/* Client grounds photograph; focus the wide crop on the headstones below the sky. */
.history-photo { margin: 40px 0 0; }
.history-photo img { width: 100%; height: clamp(260px, 35vw, 440px); object-fit: cover; object-position: center 65%; }
.history-photo figcaption { padding-top: 12px; font-size: .7rem; color: var(--muted); }

/* Landmarks: client mausoleum photography paired with the existing history. */
.features { background: #ebece1; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 70px; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { width: 350px; max-width: 100%; color: var(--muted); margin: 0 0 5px; font-size: .87rem; }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.mausoleum { background: var(--white); }
.mausoleum-visual { background: var(--green); }
.mausoleum-visual > img { width: 100%; height: auto; }
.mausoleum-panel { display: flex; flex-direction: column; justify-content: space-between; padding: 30px; color: var(--paper); background: var(--green); border: 12px double #819077; }
.mausoleum-panel .small-number { color: #d4d8c2; }
.mausoleum-panel h3 { margin-block: 24px; font-size: clamp(2.6rem, 3.5vw, 3.4rem); }
.mausoleum-panel em { color: #ddcdac; }
.mausoleum-years { display: flex; gap: 25px; align-items: center; border-top: 1px solid #7f8e74; padding-top: 25px; }
.mausoleum-years > span { font: 2rem/1.2 var(--serif); }
.mausoleum-years small { display: block; max-width: 130px; margin-top: 8px; font: .6rem/1.6 var(--sans); color: #e1e1d1; }
.feature-copy { padding: 52px; align-self: center; }
.feature-copy p:not(.section-label) { font-size: .88rem; color: var(--muted); }
.feature-copy h4 { font-size: 2.1rem; }
.lovejoy { margin-top: 60px; gap: 60px; }
.lovejoy .feature-copy { padding: 28px 0; }
.landmark-photo { margin: 0; max-width: 465px; }
.landmark-photo img { width: 100%; max-height: 565px; object-fit: contain; background: #d4d7cb; }
.landmark-photo figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: .63rem; padding-top: 12px; }
.feature-stat { display: flex; align-items: center; gap: 25px; margin-top: 30px; border-top: 1px solid #c5cab9; padding-top: 23px; }
.feature-stat strong { font: 3.2rem/1 var(--serif); color: var(--sage); }
.feature-stat span { font-size: .7rem; color: var(--muted); }
.national-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 75px; margin-top: 70px; padding: 45px 50px; border: 1px solid #bbc4ae; background: #e2e6d7; }
.national-panel h3 { font-size: 2.5rem; }
.national-panel p { font-size: .86rem; }
.national-distinction { font-weight: 600; color: var(--green); }

/* Gallery has two actual landmark photos, original files and visible attribution. */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.gallery-grid figure { margin: 0; }
.gallery-link { display: block; position: relative; overflow: hidden; background: #e1e2d8; }
.gallery-link img { width: 100%; height: 365px; object-fit: cover; transition: transform .3s; }
.gallery-grid figure:first-child img { object-position: center 36%; }
.gallery-link:hover img { transform: scale(1.025); }
.gallery-link > span { position: absolute; right: 14px; bottom: 14px; padding: 8px 14px; background: var(--paper); color: var(--green); font-size: .7rem; }
.gallery-grid figcaption { font: 1.1rem/1.5 var(--serif); padding-top: 17px; }
.gallery-grid figcaption span { font: .65rem/1 var(--sans); color: var(--sage); margin-right: 15px; }
.photo-credits { font-size: .66rem; color: var(--muted); margin: 30px 0 0; }
.gallery-dialog { border: 0; padding: 20px; width: min(920px, calc(100% - 30px)); max-height: calc(100dvh - 30px); color: var(--paper); background: var(--deep); }
.gallery-dialog::backdrop { background: rgba(12,25,18,.9); }
.gallery-dialog figure { margin: 0; }
.gallery-dialog figure img { max-height: 68dvh; width: 100%; object-fit: contain; }
.gallery-dialog figcaption { padding-block: 14px; font-size: .78rem; }
.gallery-close { display: block; margin: 0 0 16px auto; }
.gallery-dialog button { background: transparent; color: var(--paper); border: 1px solid #929c86; padding: 8px 15px; min-height: 44px; font-size: .8rem; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: .75rem; }
body.gallery-open { overflow: hidden; }

/* Community and stewardship use real text and names supplied in the intake. */
.involved { background: #eeebdf; }
.involved-intro { max-width: 820px; margin: 0 auto 45px; text-align: center; }
.involved-intro p:last-child { max-width: 600px; margin-inline: auto; color: var(--muted); }
.involved-tabs { display: flex; justify-content: center; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid #cbcebd; }
.involved-tabs a { padding-block: 8px; font-size: .8rem; text-decoration: none; border-bottom: 1px solid var(--gold); }
.involved-tabs span { margin-left: 25px; }
.friends { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; padding-block: 65px; }
.friends > div > p:not(.section-label) { color: var(--muted); }
.friends .button { margin-top: 12px; }
.volunteer-list > div { display: flex; align-items: baseline; gap: 25px; padding: 23px 0; border-bottom: 1px solid #cbcebd; }
.volunteer-list > div:first-child { padding-top: 0; }
.volunteer-list > div > span { font-size: .7rem; color: var(--sage); }
.volunteer-list h4 { margin-bottom: 12px; }
.volunteer-list p { margin: 0; font-size: .85rem; color: var(--muted); }
.board { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; padding-top: 55px; border-top: 1px solid #cbcebd; }
.board > div > p:not(.section-label) { font-size: .85rem; color: var(--muted); }
.board-directory h4 { margin-bottom: 20px; font: 700 .65rem/1.5 var(--sans); letter-spacing: .15em; text-transform: uppercase; }
.board-directory ul { list-style: none; padding: 0; margin: 0 0 27px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 25px; font-size: .83rem; }
.officers strong { display: block; font-weight: 600; }
.officers span { font-size: .72rem; color: var(--muted); }
.trustees span { font-size: .7rem; }
.emeritus { border-top: 1px solid #cbcebd; padding-top: 18px; font-size: .72rem; }
.emeritus strong { margin-left: 18px; }
.support { background: var(--green); color: var(--paper); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.support .section-label { color: #ded7bd; }
.support h2 em { color: #d4c49f; }
.support p { color: #e1e5d7; font-size: .9rem; }
.giving-note { border-top: 1px solid #7a8871; padding-top: 20px; margin-top: 28px; }
.giving-note .section-label { display: block; margin-bottom: 14px; }
.giving-note .section-label::before { display: none; }
.giving-note strong { color: var(--white); }
.support-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.practical-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: start; }
.practical-grid > div > p:not(.section-label) { color: var(--muted); font-size: .9rem; }
.visit-notes { padding: 38px; border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.visit-notes h3 { font-size: 2rem; }

/* Contact: native validation plus matching server validation and honest availability. */
.contact { background: #e8ebdf; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-grid > div > p:not(.section-label) { color: var(--muted); font-size: .9rem; }
.contact-details { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border-top: 1px solid #c2cab8; padding-top: 28px; margin-top: 28px; }
.contact-details h3 { font: 700 .68rem/1.5 var(--sans); margin-bottom: 10px; }
.contact-details address { font-style: normal; font-size: .83rem; }
.contact-details a { display: block; width: fit-content; margin-top: 8px; font-size: .83rem; }
.contact-details p { font-size: .8rem; margin: 8px 0; }
.map-card { display: flex; gap: 22px; background: #dbe1cf; padding: 26px; margin-top: 34px; border: 1px solid #c2cab8; }
.map-card h3 { font-size: 1.4rem; margin-bottom: 7px; }
.map-card p { font-size: .78rem; margin: 0 0 6px; }
.map-marker { display: grid; place-items: center; width: 35px; height: 35px; flex-shrink: 0; border: 1px solid var(--sage); border-radius: 50%; font-size: 1.3rem; }
.contact-form-panel { padding: 40px; background: var(--green); color: var(--white); }
.contact-form-panel .section-label { color: #d6d9c4; }
.contact-form-panel h3 { font-size: 2rem; }
.contact-form-panel p.contact-availability { background: #365943; padding: 15px 18px; border-left: 2px solid #c9b788; color: var(--white); font-size: .82rem; }
.contact-availability a { font-weight: 700; white-space: nowrap; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 17px; }
.form-field label { display: block; margin-bottom: 7px; font-size: .73rem; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; max-width: 100%; border: 1px solid #c6cbb9; border-radius: 0; background: var(--white); color: var(--ink); padding: 10px 12px; font-size: 16px; min-height: 46px; }
.form-field textarea { resize: vertical; }
.form-field [aria-invalid=true] { border: 2px solid #efaa93; }
.form-field :disabled { background: #e3e6d8; opacity: .8; cursor: not-allowed; }
fieldset:disabled .button { background: #b9c3ad; border-color: #b9c3ad; color: var(--deep); opacity: .8; }
.form-note { color: #e1e5d7; font-size: .68rem; line-height: 1.7; margin: 18px 0 0; }
.form-status { background: #365943; border-left: 3px solid #dfcda5; padding: 16px; margin-bottom: 22px; font-size: .84rem; }
.form-status.error { border-left-color: #efaa93; }
.form-status p { margin-bottom: 8px; font-weight: 600; }
.form-status ul { margin: 0; padding-left: 20px; }
.field-error { display: block; color: #ffe2d5; font-size: .73rem; margin-top: 7px; }
.region { padding-block: 46px; text-align: center; }
.region h2 { font-size: 1.65rem; margin-bottom: 13px; letter-spacing: 0; }
.region p { max-width: 850px; margin: 0 auto; color: var(--muted); font-size: .8rem; }
.site-footer { padding-block: 44px 25px; background: var(--deep); color: #e3e7da; }
.footer-main, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 35px; }
.footer-main { padding-bottom: 30px; }
.footer-brand { font: 1.9rem/1.2 var(--serif); }
.footer-brand span { display: block; font: .66rem/1.5 var(--sans); margin-top: 10px; color: #c1cbb6; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 25px; font-size: .73rem; }
.footer-main nav a { text-decoration: none; }
.footer-bottom { border-top: 1px solid #50624f; padding-top: 22px; font-size: .64rem; color: #cad1be; }
.footer-bottom p { margin: 0; }

/* No animation is required to reveal content, and no third-party JS is needed. */
@media (max-width: 1100px) {
    .wrap { width: calc(100% - 48px); }
    .site-nav { gap: 17px; }
    .brand > span { font-size: 21px; }
    .brand img { width: 62px; height: 62px; }
    .history-intro, .friends, .board, .support-grid, .practical-grid, .contact-grid { gap: 50px; }
    .feature-copy, .mausoleum-panel { padding: 35px; }
    .mausoleum-panel { border-width: 8px; }
    .national-panel { gap: 40px; }
    .visit-grid { gap: 20px; }
    .visit-grid > div + div { padding-left: 20px; }
    .contact-form-panel { padding: 28px; }
}
@media (max-width: 900px) {
    html { scroll-padding-top: 100px; }
    .nav-shell { min-height: 85px; flex-wrap: wrap; padding-block: 8px; gap: 0; }
    .site-nav { width: 100%; flex-wrap: wrap; gap: 10px 24px; padding-bottom: 10px; }
    .nav-enhanced .site-nav { display: none; }
    .nav-enhanced .site-nav.open { display: flex; padding-top: 16px; }
    .nav-enhanced .nav-toggle { display: inline-flex; align-items: center; gap: 10px; padding: 10px; min-height: 44px; border: 1px solid var(--line); background: transparent; font-size: .75rem; color: var(--green); }
    .menu-icon { width: 17px; height: 11px; border-block: 1px solid currentColor; }
    .hero { min-height: 600px; }
    .hero h1 { font-size: clamp(3rem, 6vw, 4rem); }
    .visit-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
    .visit-grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
    .visit-grid > div:nth-child(n+3) { border-top: 1px solid #cecdbd; padding-top: 22px; }
    .section { padding-block: 75px; }
    .history-intro { gap: 40px; }
    .notable-grid { grid-template-columns: 1fr 1fr; }
    .notable-heading { align-items: flex-start; }
    .section-heading { gap: 35px; }
    .section-heading > p { width: 290px; }
    .feature-row { grid-template-columns: 1fr; }
    .mausoleum-panel { min-height: 0; }
    .mausoleum-panel h3 { margin-block: 35px; }
    .mausoleum-years { justify-content: space-between; }
    .lovejoy { grid-template-columns: .9fr 1.1fr; gap: 35px; }
    .national-panel { grid-template-columns: 1fr; gap: 12px; padding: 32px; }
    .national-panel h3 br { display: none; }
    .gallery-link img { height: 300px; }
    .friends, .board, .support-grid, .practical-grid, .contact-grid { grid-template-columns: 1fr; }
    .friends, .board { gap: 38px; }
    .friends > div:first-child, .support-grid > div:first-child { max-width: 650px; }
    .contact-form-panel { padding: 38px; }
    .footer-main { align-items: flex-start; }
    .footer-main nav { max-width: 300px; justify-content: flex-end; }
}
@media (max-width: 600px) {
    .wrap { width: calc(100% - 36px); }
    .utility-bar .wrap { justify-content: center; padding-block: 7px; }
    .utility-bar .wrap > span { display: none; }
    .brand img { width: 58px; height: 58px; }
    .brand > span { font-size: 20px; }
    .brand small { font-size: .51rem; }
    .site-nav { align-items: stretch; }
    .site-nav a { width: calc(50% - 12px); padding: 11px 0; }
    .site-nav a.nav-contact { padding: 11px 14px; }
    .hero { min-height: 610px; }
    .hero-image { object-position: 72% 80%; }
    .hero-shade { background: linear-gradient(90deg, rgba(15,35,24,.88), rgba(15,35,24,.52)), linear-gradient(0deg, rgba(15,35,24,.7), transparent 40%); }
    .hero-content { padding-block: 65px 110px; }
    .hero h1 { font-size: clamp(2.7rem, 10.1vw, 3.7rem); line-height: 1.15; }
    .eyebrow { font-size: .59rem; letter-spacing: .15em; }
    .hero-intro { font-size: .87rem; }
    .hero-intro br { display: none; }
    .hero-actions { gap: 15px 25px; }
    .hero-bottom { align-items: flex-start; flex-direction: column; gap: 5px; bottom: 20px; }
    .visit-grid { gap: 22px 16px; padding-block: 28px; }
    .visit-grid > div + div { padding-left: 16px; }
    .visit-grid h2 { font-size: 2rem; }
    .visit-grid .section-label { font-size: .52rem; }
    .visit-grid .section-label::before { display: none; }
    .visit-grid h3 { font-size: .69rem; }
    .visit-grid p { font-size: .74rem; }
    .section { padding-block: 60px; }
    h2 { font-size: 2.55rem; }
    .history-intro { grid-template-columns: 1fr; gap: 13px; }
    .history-rule { margin-block: 30px; gap: 18px; }
    .history-rule > span { font-size: 4rem; }
    .notable-heading { flex-direction: column; gap: 14px; }
    .notable-grid { gap: 28px 20px; }
    .notable-grid h4 { font-size: 1.08rem; }
    .notable-grid p { font-size: .77rem; }
    .section-heading { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 30px; }
    .section-heading > p { width: auto; }
    .mausoleum-panel { padding: 28px; }
    .mausoleum-panel h3 { font-size: 2.6rem; }
    .feature-copy { padding: 28px; }
    .feature-copy h4 { font-size: 1.8rem; }
    .mausoleum-years { gap: 15px; }
    .mausoleum-years small { max-width: 115px; }
    .lovejoy { grid-template-columns: 1fr; gap: 10px; margin-top: 38px; }
    .landmark-photo { max-width: none; }
    .landmark-photo img { max-height: 500px; }
    .national-panel { padding: 27px; margin-top: 30px; }
    .national-panel h3 { font-size: 2.1rem; }
    .gallery-grid { grid-template-columns: 1fr; gap: 30px; }
    .gallery-link img { height: 320px; }
    .involved-intro { text-align: left; }
    .involved-tabs { justify-content: flex-start; flex-wrap: wrap; gap: 15px 30px; }
    .friends { padding-block: 40px; }
    .board { padding-top: 40px; }
    .board-directory ul { font-size: .76rem; column-gap: 18px; }
    .board-directory .trustees { grid-template-columns: 1fr; gap: 7px; }
    .emeritus strong { margin-left: 8px; }
    .support-grid, .practical-grid, .contact-grid { gap: 30px; }
    .visit-notes { padding: 26px; }
    .contact-details { grid-template-columns: 1fr; }
    .map-card { padding: 22px; gap: 15px; }
    .map-marker { display: none; }
    .contact-form-panel { padding: 26px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-main, .footer-bottom { flex-direction: column; align-items: flex-start; gap: 25px; }
    .footer-main nav { justify-content: flex-start; gap: 18px; }
    .gallery-dialog { padding: 15px; }
    .gallery-controls { gap: 8px; }
    .gallery-dialog button { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
    .utility-bar, .site-nav, .nav-toggle, .hero-image, .hero-shade, .gallery-dialog, .contact-form-panel { display: none !important; }
    .site-header { position: static; }
    .hero { min-height: 0; color: #000; background: #fff; }
    .hero-content { padding-block: 30px; }
    .hero p, .hero em { color: #000; }
    .hero-bottom { display: none; }
    .section { padding-block: 30px; }
}

/* Fixed map dimensions prevent the starter's percentage-height collapse. */
.location-map { display: block; width: 100%; height: 240px; margin-top: 30px; border: 1px solid #c2cab8; background: #dbe1cf; }
.location-map + .map-card { margin-top: 0; border-top: 0; }
@media print { .location-map { display: none; } }

/* Availability copy must override the generic light-panel paragraph color. */
.contact-grid > .contact-form-panel > p.contact-availability { color: var(--white); }
.form-honeypot input { width: 1px; }

/* Keep the entire monument visible in its gallery thumbnail. */
.gallery-grid figure:first-child img { object-fit: contain; object-position: center; }
@media (max-width: 900px) { html:not(.nav-enhanced) .site-header { position: static; } }
