/* LRCHG: photographic exhibition, quiet typography, clear preservation choices. */
:root {
  --navy: #112638; --gold: #dcc083; --green: #215944; --red: #923c36;
  --forest: var(--navy); --color-bg: #fffdf9; --color-text: var(--navy);
  --color-divider: #d9dcd7; --color-accent: var(--green);
  --paper: #fffdf9; --muted: #52606a; --line: #d9dcd7;
}
*, *::before, *::after { box-sizing: border-box; }
body { background: var(--paper); color: var(--navy); font-size: 1.0625rem; }
h1, h2, h3 { font-weight: 400; letter-spacing: -.035em; text-wrap: balance; }
p { text-wrap: pretty; }
.eyebrow { font-size: .8125rem !important; letter-spacing: .13em; }
a, button { -webkit-tap-highlight-color: #dcc08340; }
.button { min-height: 50px; font-size: 1rem; border-radius: 3px; gap: 16px; line-height: 1.4; }
.button.gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.button.gold:hover { background: #ebd5a6; }
.button.outline { border-color: #87988d; color: var(--navy); }
.button.outline:hover { color: white; }
.text-link { white-space: normal; font-size: .9375rem; line-height: 1.65; display: inline-block; text-underline-offset: 5px; }
.site-header { height: auto; min-height: 108px; padding: 9px 4%; gap: 22px; background: var(--paper); border-top-width: 3px; border-bottom: 1px solid var(--line); box-shadow: 0 3px 14px #11263806; }
.site-header .brand img { width: 86px; height: 86px; flex: 0 0 86px; }
.brand > span { font-size: 1.875rem; letter-spacing: -.025em; max-width: none; }
.brand small { font-size: .75rem; line-height: 1.4; letter-spacing: .055em; max-width: 220px; }
.site-header nav { gap: 18px; }
.site-header nav a { font-size: .875rem; }
.site-header nav .nav-support { padding: 12px 18px; }
.mobile-support { display: none; }
.site-footer { background: #0c1d2c; padding-top: 65px; }
.footer-brand { color: #fff; }
.footer-note { border-color: #ffffff26; }

/* Three genuine photographs retain their own proportions. */
.heritage-home .hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); min-height: 0; gap: 5%; padding: 64px 6% 54px; background: var(--navy); }
.heritage-home .hero-copy { padding: 0; justify-content: center; min-width: 0; }
.heritage-home .hero h1 { font-size: clamp(2.75rem, 4.6vw, 4.75rem); line-height: 1.08; margin: 0 0 23px; letter-spacing: -.045em; }
.heritage-home .hero h1 em { color: #e7cf9a; }
.heritage-home .hero-copy .eyebrow { font-size: .8125rem !important; max-width: 36ch; line-height: 1.65 !important; margin: 0 0 24px; }
.heritage-home .hero-copy > p:not(.eyebrow) { max-width: 40ch; font-size: 1.0625rem; line-height: 1.8; margin: 0 0 25px; color: #dce3e8; }
.heritage-home .hero-copy > .hero-subjects { color: #fff; font-size: 1.0625rem; letter-spacing: .055em; margin-bottom: 14px; }
.heritage-home .hero-copy > .hero-signature { padding-top: 23px; border-top: 1px solid #ffffff2c; font-size: .875rem; color: #b7c7cc; margin: 4px 0 0; }
.heritage-home .hero-actions { gap: 12px 22px; margin-bottom: 24px; }
.hero-explore { font-size: .9375rem; line-height: 1.6; }
.heritage-home .hero-places { padding: 0; background: transparent; height: auto; grid-template-columns: .92fr 1.08fr; grid-template-rows: auto auto; gap: 22px; align-items: start; }
.heritage-home .heritage-view { display: block; border: 0; background: transparent; overflow: visible; min-width: 0; }
.heritage-home .heritage-view > div { display: block; height: auto; min-height: 0; overflow: hidden; background: #1d3442; }
.heritage-home .heritage-view img { display: block; width: 100%; height: auto; cursor: zoom-in; object-fit: contain; transition: filter .35s; }
.heritage-home .heritage-view img:hover { filter: brightness(1.055); }
.heritage-home .heritage-view-church { grid-column: 1; grid-row: 1 / 3; margin-top: 40px; }
.heritage-home .heritage-view-church > div { aspect-ratio: .9; }
.heritage-home .heritage-view-church img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.heritage-home .heritage-view-school { grid-column: 2; grid-row: 1; }
.heritage-home .heritage-view-cemetery { grid-column: 2; grid-row: 2; }
.heritage-home .heritage-view figcaption { display: block; padding: 13px 0 0; color: #fff; background: transparent; font-size: 1rem; line-height: 1.5; }
.heritage-home .heritage-view figcaption > span { font-size: .75rem; letter-spacing: .12em; color: #dfc58e; margin: 0 0 6px; }
.heritage-view figcaption a { display: flex; align-items: start; justify-content: space-between; gap: 12px; text-decoration: none; padding-bottom: 11px; border-bottom: 1px solid #ffffff2c; }
.heritage-view figcaption a:hover { color: var(--gold); }
.heritage-view figcaption a span { display: inline; margin: 0; color: var(--gold); font-size: 1.125rem; }
.heritage-home .heritage-strip { padding: 21px 6%; border-bottom: 1px solid var(--line); gap: 15px; background: #f1f3ed; font-size: .8125rem; letter-spacing: .08em; }

/* Alternate spacious stories and compact invitations. */
.heritage-home .story-section { padding: 85px 6%; gap: 7%; background: var(--paper); grid-template-columns: 1.15fr 1fr; align-items: center; }
.heritage-home .story-section figure { padding: 12px 12px 0; margin: 0; border: 1px solid #d8d4c9; background: #f6f3ec; box-shadow: 0 16px 36px #1126380b; }
.heritage-home .story-section figure img { height: auto; width: 100%; display: block; cursor: zoom-in; }
.heritage-home .story-section figcaption { padding: 14px 4px; font-size: .875rem; line-height: 1.6; color: #53606a; }
.heritage-home .story-section h2 { font-size: clamp(2.125rem, 3.2vw, 3.25rem); margin: 0 0 25px; }
.heritage-home .story-section h2 em { color: var(--green); }
.heritage-home .story-section p:not(.eyebrow) { font-size: 1.0625rem; color: var(--muted); }
.heritage-home .home-section { padding: 76px 6%; }
.heritage-home .chapter-discovery { border-top: 1px solid var(--line); padding-top: 60px; }
.heritage-home .section-heading { margin-bottom: 34px; }
.heritage-home .section-heading h2 { font-size: clamp(2.125rem, 3.3vw, 3.5rem); }
.heritage-home .family-chapter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid var(--line); }
.heritage-home .family-chapter-card { padding: 27px 24px; border: 0; border-top: 3px solid var(--navy); border-right: 1px solid var(--line); background: transparent; display: flex; flex-direction: column; }
.heritage-home .family-chapter-card:last-child { border-right: 0; }
.heritage-home .family-chapter-card.travers { border-top-color: #b49045; }
.heritage-home .family-chapter-card.phillips { border-top-color: var(--green); }
.heritage-home .family-chapter-card.bowley { border-top-color: var(--red); }
.heritage-home .family-chapter-card:hover { background: #f2f4ee; transform: none; box-shadow: none; }
.heritage-home .family-chapter-card h3 { font-size: 2.375rem; line-height: 1.15; margin: 23px 0 16px; }
.heritage-home .family-chapter-card p { margin: 0 0 28px; font-size: 1rem; }
.heritage-home .family-chapter-card b { font-size: .875rem; margin-top: auto; display: flex; justify-content: space-between; gap: 12px; }

/* Listening controls work directly on the homepage. */
.heritage-home .home-listen.listening-preview { margin: 0; padding: 76px 6%; background: #edf1ed; border-top: 0; color: var(--navy); }
.listening-preview-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; max-width: none; margin-bottom: 22px; }
.listening-preview-intro > div { max-width: 660px; }
.heritage-home .listening-preview-intro h2 { font-size: clamp(2.25rem, 3.5vw, 3.5rem); color: var(--navy); margin: 0 0 20px; }
.heritage-home .listening-preview-intro h2 em { color: var(--green); }
.heritage-home .listening-preview-intro p { color: var(--muted); }
.heritage-home .listening-preview-intro .eyebrow { color: var(--green); }
.heritage-home .home-listen > .illustration-note { color: var(--muted); font-size: .875rem; margin: 0 0 28px; }
.home-podcast-preview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-episode.podcast-card { display: flex; color: var(--navy); background: var(--paper); border: 1px solid #d0d9d1; border-radius: 3px; box-shadow: 0 8px 24px #11263806; }
.podcast-card { border-radius: 3px; box-shadow: 0 8px 24px #11263806; }
.podcast-thumbnail { aspect-ratio: 3 / 2; border-bottom: 3px solid var(--gold); }
.podcast-thumbnail .cover-series { top: 12px; left: 12px; background: #112638ed; font-size: .75rem; letter-spacing: .075em; }
.cover-play { background: var(--gold); color: var(--navy); }
.podcast-details { padding: 25px; }
.podcast-details h2, .podcast-details h3 { font-size: 1.75rem; line-height: 1.22; margin: 10px 0 16px; color: var(--navy); }
.podcast-details > .podcast-summary { font-size: 1rem; line-height: 1.7; color: var(--muted); margin: 0 0 24px; }
.podcast-details > .episode-meta { color: var(--green); font-size: .875rem; }
.home-episode .audio-actions { display: none; }
.home-episode:hover { transform: none; }
.podcast-toolbar input { min-height: 54px; border-radius: 3px; }
.chapter-page[data-page="library"] .chapter-layout { max-width: 1600px; }
.chapter-page[data-page="library"] .podcast-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Giving uses specific priorities instead of repeating the opening photos. */
.heritage-home .home-giving { background: var(--navy); padding: 85px 6% 50px; border: 0; }
.heritage-home .home-giving-heading { gap: 8%; margin-bottom: 48px; }
.heritage-home .home-giving h2 { font-size: clamp(2.5rem, 4vw, 4.25rem); }
.heritage-home .home-giving-heading .pledge-caption { font-size: .875rem; line-height: 1.7; color: #b9c8d0; margin: 15px 0 0; max-width: 48ch; }
.preservation-priorities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #dfc58e70; }
.preservation-priority { display: flex; flex-direction: column; padding: 32px 32px 18px; border-right: 1px solid #ffffff25; min-width: 0; }
.preservation-priority:first-child { padding-left: 0; }
.preservation-priority:last-child { padding-right: 0; border-right: 0; }
.priority-number { font-size: .8125rem; color: var(--gold); letter-spacing: .1em; text-transform: uppercase; }
.preservation-priority h3 { font-size: clamp(1.875rem, 2.5vw, 2.5rem); color: white; line-height: 1.15; margin: 24px 0 20px; }
.preservation-priority p { font-size: 1rem; line-height: 1.85; color: #d0dce3; margin: 0 0 25px; }
.priority-details { display: flex; justify-content: space-between; gap: 12px; color: var(--gold); text-decoration: none; font-size: .9375rem; padding: 14px 0; margin-top: auto; }
.priority-details:hover, .priority-pledge:hover { color: white; }
.priority-pledge { font-size: .875rem; color: #e8edf0; text-underline-offset: 5px; padding: 10px 0; }
.preservation-other { padding-top: 25px; margin-top: 22px; border-top: 1px solid #ffffff25; color: #b9c8d0; font-size: .9375rem; }
.preservation-other a { color: var(--gold); text-underline-offset: 4px; }

/* Archival images remain uncropped and can be opened at their original size. */
.archive-preview-grid { display: grid; grid-template-columns: 1.2fr 1fr; align-items: start; gap: 40px; }
.archive-preview-grid figure { margin: 0; padding: 18px 18px 0; background: #f1eee7; border: 1px solid #ded9ce; }
.archive-preview-grid img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.archive-preview-grid figcaption { padding: 18px 0; font: 1.25rem/1.5 Georgia, serif; color: var(--navy); }
.archive-preview-grid figcaption span { display: block; font: .8125rem/1.6 Archivo, Arial, sans-serif; letter-spacing: .06em; color: #616b67; margin-bottom: 5px; }
.heritage-home .participate { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); gap: 30px; }
.heritage-home .participate h3 { font-size: 1.75rem; margin: 0 0 8px; line-height: 1.25; }
.heritage-home .participate p { margin: 0; max-width: 60ch; font-size: 1rem; }
.heritage-home .participate .button { flex-shrink: 0; }
.heritage-home .home-share { grid-template-columns: 126px minmax(0, 1fr); background: #edf1ed; color: var(--navy); border-top: 1px solid var(--line); border-bottom: 0; padding: 38px 6%; gap: 36px; }
.heritage-home .home-share-code { width: 126px; }
.heritage-home .home-share-code a { padding: 5px; }
.heritage-home .home-share h2 { color: var(--navy); font-size: 2rem; }
.heritage-home .home-share .eyebrow, .heritage-home .home-share-print { color: var(--green); }
.heritage-home .home-share-copy > p:not(.eyebrow) { color: var(--muted); }
.heritage-home .home-share-actions { gap: 10px 24px; }
.community-gallery { gap: 36px; }
.community-gallery figure { background: var(--paper); border-radius: 2px; box-shadow: none; }
.community-gallery img { object-fit: contain; height: auto; max-height: 420px; background: #f1eee7; padding: 18px; display: block; }
.community-gallery figcaption { padding: 24px; border-top: 1px solid var(--line); }
.community-gallery h2 { font-size: 1.75rem; }
.community-gallery span { font-size: .8125rem; }
img[data-gallery]:focus-visible { outline-offset: -4px; }
#photo-dialog { max-width: min(1200px, 96vw); border: 1px solid #e0c78e; border-radius: 4px; }
#photo-dialog::backdrop { background: #061420e8; }
#viewer-caption { font-size: 1rem; line-height: 1.6; }

/* Consistent interior pages and clearer paths into the existing forms. */
.chapter-header { background: var(--navy); border-bottom: 2px solid var(--gold); padding: 58px 7%; }
.chapter-header h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
.chapter-deck { font-size: 1.1875rem; line-height: 1.75; }
.chapter-aside .eyebrow { font-size: .8125rem !important; }
.chapter-aside a { font-size: .9375rem; }
.chapter-body p { font-size: 1.0625rem; line-height: 1.85; }
.chapter-photo { border-radius: 2px; }
.place-tabs { background: #f1f3ed; }
.giving-page .community-form { border-radius: 3px; padding: clamp(22px, 4vw, 38px); box-shadow: 0 12px 30px #11263806; }
.giving-page .community-form input:not([type="checkbox"]), .giving-page .community-form select, .giving-page .community-form textarea { border-radius: 3px; border-color: #9facaa; background: #fff; }
.giving-page .community-form input:not([type="checkbox"]), .giving-page .community-form select { min-height: 52px; }
.giving-page .giving-form-links { gap: 12px; }
.giving-page .giving-form-links a { border-radius: 3px; }
.giving-page .giving-form-links a:first-child { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.giving-page .giving-introduction { padding-bottom: 15px; }
.giving-page .giving-project-photo { background: #f1eee7; border-color: #d7d1c1; }
.giving-page .giving-project-photo figcaption { color: #576657; font-size: .875rem; }
.giving-page .giving-project .button { margin-top: 18px; }
.giving-page #pledge-form > button { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.giving-page .giving-qr { background: #f1f3ed; border-color: var(--line); grid-template-columns: 136px minmax(0, 1fr); }
.giving-page .giving-qr img { width: 136px; height: 136px; }
.audio-actions button:focus-visible, .audio-actions select:focus-visible { outline-color: var(--gold); }

@media (max-width: 1300px) {
  .site-header { gap: 16px; }
  .site-header .brand { margin-right: auto; }
  .site-header nav { top: 100%; max-height: calc(100dvh - 110px); background: var(--paper); }
  .mobile-support { display: inline-flex; align-items: center; justify-content: center; padding: 12px 16px; background: var(--gold); font-size: .9375rem; font-weight: 600; text-decoration: none; border-radius: 3px; min-height: 46px; }
  .heritage-home .hero { gap: 4%; padding: 50px 5%; grid-template-columns: .9fr 1.1fr; }
  .heritage-home .hero-places { gap: 18px; }
  .heritage-home .family-chapter-card { padding: 25px 20px; }
  .heritage-home .family-chapter-card h3 { font-size: 2.125rem; }
}
@media (max-width: 1000px) {
  .heritage-home .hero { grid-template-columns: 1fr; gap: 38px; }
  .heritage-home .hero-copy { max-width: 720px; }
  .heritage-home .hero h1 { font-size: clamp(2.75rem, 6vw, 4rem); }
  .heritage-home .hero-copy > p:not(.eyebrow) { max-width: 54ch; }
  .heritage-home .hero-copy > .hero-signature { display: none; }
  .heritage-home .hero-places { grid-template-columns: .9fr 1.1fr; grid-template-rows: auto auto; gap: 24px; max-width: 740px; }
  .heritage-home .heritage-view-church { margin-top: 24px; }
  .heritage-home .family-chapter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .heritage-home .family-chapter-card:nth-child(2) { border-right: 0; }
  .home-podcast-preview { grid-template-columns: 1fr; }
  .home-episode.podcast-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .home-episode .podcast-thumbnail { align-self: start; }
  .preservation-priority { padding: 25px 20px 15px; }
  .heritage-home .home-giving-heading { grid-template-columns: 1fr; gap: 28px; }
  .listening-preview-intro { align-items: start; flex-direction: column; gap: 15px; }
}
@media (max-width: 800px) {
  .site-header { min-height: 94px; padding: 7px 5%; }
  .site-header .brand img { width: 72px; height: 72px; flex-basis: 72px; }
  .brand > span, .site-header .brand > span { font-size: 1.625rem; max-width: 190px; }
  .brand small { font-size: .75rem; max-width: 175px; }
  .site-header nav { top: 100%; max-height: calc(100dvh - 94px); }
  .heritage-home .hero { padding: 36px 6% 42px; }
  .heritage-home .hero-copy .eyebrow { margin-bottom: 17px; }
  .heritage-home .hero h1 { margin-bottom: 18px; }
  .heritage-home .hero-copy > p:not(.eyebrow) { margin-bottom: 18px; }
  .heritage-home .hero-actions { margin-bottom: 0; }
  .heritage-home .hero-actions .button { width: auto; }
  .heritage-home .heritage-strip { font-size: .75rem; line-height: 1.7; flex-wrap: wrap; }
  .heritage-home .story-section { grid-template-columns: 1fr; padding: 52px 6%; gap: 34px; }
  .heritage-home .home-section, .heritage-home .home-listen.listening-preview { padding: 52px 6%; }
  .heritage-home .home-giving { padding: 56px 6% 32px; }
  .preservation-priorities { grid-template-columns: 1fr; }
  .preservation-priority, .preservation-priority:first-child, .preservation-priority:last-child { padding: 28px 0; border-right: 0; border-bottom: 1px solid #ffffff25; }
  .preservation-priority:last-child { border-bottom: 0; }
  .preservation-priority h3 { margin: 16px 0; }
  .preservation-priority p { max-width: 65ch; }
  .preservation-other { margin-top: 0; }
  .archive-preview-grid { gap: 24px; }
  .heritage-home .participate { align-items: start; flex-direction: column; }
  .chapter-page[data-page="library"] .podcast-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .heritage-home .hero { gap: 30px; }
  .heritage-home .hero h1 { font-size: clamp(2.375rem, 8.8vw, 3.125rem); }
  .heritage-home .hero-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.75; }
  .heritage-home .hero-copy .eyebrow { max-width: 40ch; font-size: .75rem !important; }
  .heritage-home .hero-actions { flex-direction: row; align-items: center; gap: 8px 18px; }
  .heritage-home .hero-actions .button { font-size: .9375rem; padding: 13px 16px; }
  .heritage-home .hero-places { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 20px 15px; }
  .heritage-home .heritage-view-church { grid-column: 1; grid-row: 1; margin-top: 0; }
  .heritage-home .heritage-view-school { grid-column: 2; grid-row: 1; }
  .heritage-home .heritage-view-church > div { aspect-ratio: .9; }
  .heritage-home .heritage-view-school > div { aspect-ratio: .9; display: flex; align-items: center; background: #183343; }
  .heritage-home .heritage-view-cemetery { grid-column: 1 / -1; grid-row: 2; }
  .heritage-home .heritage-view figcaption { font-size: .9375rem; }
  .heritage-home .heritage-view figcaption > span { font-size: .75rem; letter-spacing: .06em; }
  .heritage-home .heritage-view-cemetery figcaption { display: flex; align-items: center; gap: 15px; }
  .heritage-home .heritage-view-cemetery figcaption a { flex: 1; padding-bottom: 0; border: 0; }
  .heritage-home .heritage-view-cemetery figcaption > span { margin: 0; }
  .heritage-home .family-chapter-card { padding: 23px 18px; }
  .heritage-home .family-chapter-card h3 { font-size: 1.9375rem; }
  .home-episode.podcast-card { display: flex; }
  .archive-preview-grid { grid-template-columns: 1fr; }
  .heritage-home .home-share { grid-template-columns: 100px minmax(0, 1fr); padding: 32px 6%; gap: 20px; align-items: start; }
  .heritage-home .home-share-code { width: 100px; }
  .heritage-home .home-share-copy { text-align: left; }
  .heritage-home .home-share h2 { font-size: 1.75rem; }
  .heritage-home .home-share-actions { justify-content: start; }
  .giving-page .giving-qr { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .site-header { gap: 8px; padding: 8px 4%; min-height: 84px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand img { width: 56px; height: 56px; flex-basis: 56px; }
  .site-header .brand > span { font-size: 1.25rem; max-width: 112px; }
  .brand small { font-size: .75rem; text-transform: none; letter-spacing: 0; line-height: 1.25; }
  .mobile-support { min-height: 44px; padding: 10px; font-size: .875rem; }
  #menu-toggle { min-width: 44px; min-height: 44px; padding: 8px; font-size: .875rem; }
  .site-header nav { max-height: calc(100dvh - 84px); }
  .heritage-home .family-chapter-grid { grid-template-columns: 1fr; }
  .heritage-home .family-chapter-card { border-right: 0; padding: 25px; }
  .heritage-home .family-chapter-card h3 { margin-top: 15px; }
  .heritage-home .family-chapter-card p { margin-bottom: 20px; }
  .heritage-home .home-share { grid-template-columns: 1fr; }
  .heritage-home .home-share-code { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .motion-ready .reveal-pending { opacity: 1; transform: none; }
}
.hero-qr{grid-column:1/-1;display:flex;align-items:center;gap:1.25rem;background:#fff;color:#112638;padding:1rem;border:1px solid #dcc083;border-radius:12px}.hero-qr img{display:block;width:140px;height:140px;max-width:none}.hero-qr p{margin:.35rem 0}.hero-qr a{color:inherit}.hero-qr strong{font-size:1.15rem}.hero-qr a:focus-visible{outline:3px solid #dcc083;outline-offset:4px}@media(max-width:480px){.hero-qr{gap:.75rem}.hero-qr img{width:112px;height:112px}.hero-qr div{font-size:.875rem}}
