/* The Kunene's Family - GENERATED FILE. Do not edit: change css/src/*.css and run  php bin/build-assets.php */

/* =========================================================================
   00-tokens.css - Design tokens: colours, fonts, spacing, radii. Change the look of the whole site here first.
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
:root {
  --cream: #FAF6EE;
  --beige: #E8DCC4;
  --sand: #F1E9D8;            /* soft beige for large areas */
  --brown: #6B4F3A;
  --dark-brown: #3E2C20;
  --army-green: #4B5320;
  --army-green-dark: #3A4119;
  --paper: #FFFDF8;
  --ochre: #D9B26A;           /* warm highlight: active link, support button (contrast on dark-brown 6.7:1) */
  --ink: #2B1F17;            /* navigation bar */
  --olive-deep: #2E3314;      /* footer and hero depth */
  --line: rgba(107, 79, 58, .18);
  --shadow-sm: 0 1px 2px rgba(62, 44, 32, .06), 0 4px 14px rgba(62, 44, 32, .06);
  --shadow-md: 0 2px 4px rgba(62, 44, 32, .06), 0 14px 34px rgba(62, 44, 32, .12);
  --radius: 1.1rem;
  --radius-lg: 1.6rem;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --nav-h: 68px;

  /* map Bootstrap onto the palette */
  --bs-body-bg: var(--cream);
  --bs-body-color: var(--dark-brown);
  --bs-body-font-family: var(--font-sans);
  --bs-link-color: var(--army-green);
  --bs-link-hover-color: var(--army-green-dark);
  --bs-link-color-rgb: 75, 83, 32;
  --bs-link-hover-color-rgb: 58, 65, 25;
  --bs-border-color: var(--line);
  --bs-focus-ring-color: rgba(75, 83, 32, .35);
}
:root { --arches: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 440' fill='none' stroke='%23E8DCC4' stroke-width='1.5'%3E%3Cpath d='M20 440V200a180 180 0 0 1 360 0v240'/%3E%3Cpath d='M60 440V200a140 140 0 0 1 280 0v240'/%3E%3Cpath d='M100 440V200a100 100 0 0 1 200 0v240'/%3E%3Cpath d='M140 440V200a60 60 0 0 1 120 0v240'/%3E%3C/svg%3E"); }

/* =========================================================================
   05-fonts.css - Fonts are hosted inside the site (public/assets/fonts), so nothing is loaded from Google
   and the design looks the same offline on XAMPP. Both families are licensed under the SIL Open Font License.
   Headings: Cormorant Garamond.  Text and buttons: Inter.
   ========================================================================= */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* =========================================================================
   10-base.css - Base: element defaults, typography and small reusable helpers.
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--dark-brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5 { font-family: var(--font-serif); font-weight: 600; line-height: 1.1; color: var(--dark-brown); letter-spacing: -.005em; text-wrap: balance; }
a { text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--army-green); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 3000; background: var(--dark-brown); color: var(--cream); padding: .75rem 1.25rem; border-radius: 0 0 .5rem 0; }
.skip-link:focus { left: 0; }
.icon { width: 1.1em; height: 1.1em; vertical-align: -.16em; fill: currentColor; flex: none; }
.icon-sm { width: .9em; height: .9em; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.rot-90 { transform: rotate(90deg); }
.narrow { max-width: 820px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
mark.ph { background: #F3E3A0; color: var(--dark-brown); padding: .05em .35em; border-radius: .3em; font-style: normal; }
.text-muted-soft { color: var(--brown) !important; }
.eyebrow { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.3rem; color: var(--army-green); margin-bottom: .5rem; }
.eyebrow--light { color: var(--ochre); }
.display-title { font-size: clamp(2.6rem, 6.4vw, 4.6rem); margin-bottom: 1rem; }
.section-title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: 1.1rem; }
.display-title--sm { font-size: clamp(2.1rem, 4.8vw, 3.1rem); }
.lead { font-size: 1.2rem; color: var(--brown); font-weight: 400; }
.prose p { margin-bottom: 1.1rem; max-width: 68ch; }
.prose p:last-child { margin-bottom: 0; }
.small-prose { font-size: .98rem; line-height: 1.65; }
.meta { font-size: .9rem; color: var(--brown); letter-spacing: .01em; }
.lead-meta { font-size: 1rem; }
.scripture { font-family: var(--font-serif); font-style: italic; color: var(--army-green); }
.role { color: var(--army-green); font-weight: 600; font-size: .95rem; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-4 { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] { opacity: 1; transform: none; transition: none; } .btn, .card-soft { transition: none; } }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--army-green); }

/* Cormorant has a small x-height, so serif sizes run larger than a typical heading scale */
h3, .h3 { font-size: 1.75rem; }
h4, .h4 { font-size: 1.55rem; }
h5, .h5 { font-size: 1.35rem; }

/* =========================================================================
   20-layout.css - Layout: section rhythm and spacing.
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
.section { padding: 3.75rem 0; }
@media (min-width: 768px) { .section { padding: 5.5rem 0; } }
.section--beige { background: var(--sand); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 2.5rem; }
@media (max-width: 575.98px) { .row.g-5 { --bs-gutter-x: 1.5rem; } .container { --bs-gutter-x: 2rem; } }
.section--sand { background: var(--sand); }
.section-head--left { max-width: 40rem; }
.section--update { padding-block: 3rem; background: var(--paper); border-block: 1px solid var(--line); }

/* =========================================================================
   30-header.css - Header: the dark navigation bar.
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
.site-header { background: var(--ink); border-bottom: 3px solid var(--army-green); z-index: 1030; transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(20, 12, 6, .35); }
.site-nav { --bs-navbar-color: #E9DFCC; --bs-navbar-hover-color: #fff; --bs-navbar-active-color: var(--ochre); --bs-navbar-brand-color: var(--cream); min-height: var(--nav-h); padding-block: .4rem; }
.navbar-brand { margin-right: 1rem; padding: 0; }
.site-nav .wordmark--light .wm-the { color: var(--ochre); }
.navbar-toggler { border-color: rgba(250, 246, 238, .45); }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(217, 178, 106, .45); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23FAF6EE' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }
.nav-link { position: relative; white-space: nowrap; color: #E9DFCC; font-weight: 500; font-size: .97rem; padding: .55rem .7rem !important; }
.nav-link:hover, .nav-link:focus-visible { color: #fff; }
.nav-link.active { color: var(--ochre); }
@media (min-width: 1200px) {
  .nav-link::after { content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--ochre); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
  .nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
}
.site-header :focus-visible { outline-color: var(--ochre); }
@media print { .site-header, .site-footer, .scroll-cue, .skip-link { display: none !important; } body { background: #fff; } }
@media (min-width: 1200px) { .site-nav .btn { white-space: nowrap; } }

/* ---- phone / tablet menu: slides in from the right (Bootstrap offcanvas, below 1200px) ---- */
.site-drawer { --bs-offcanvas-bg: var(--ink); --bs-offcanvas-color: #E9DFCC; --bs-offcanvas-width: min(86vw, 21rem); --bs-offcanvas-transition: transform .35s cubic-bezier(.22, .8, .24, 1); }
.offcanvas-backdrop { z-index: 1025; }           /* the header (z 1030) holds the drawer, so the dimmed backdrop must sit just below it */
.offcanvas-backdrop.show { opacity: .55; }
@media (max-width: 1199.98px) {
  .site-drawer { border-left: 3px solid var(--army-green); box-shadow: -18px 0 40px rgba(20, 12, 6, .4); }
  .site-drawer .offcanvas-header { padding: 1rem 1.25rem; border-bottom: 1px solid rgba(250, 246, 238, .12); }
  .site-drawer__title { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--ochre); }
  .site-drawer .offcanvas-body { padding: .5rem 1.25rem 2rem; }
  .site-drawer .navbar-nav { width: 100%; }
  .site-drawer .nav-link { font-size: 1.1rem; padding: .95rem .25rem !important; border-bottom: 1px solid rgba(250, 246, 238, .12); white-space: normal; }
  .site-drawer .nav-link.active { color: var(--ochre); }
  .site-drawer .nav-item:last-child { margin-top: 1.25rem; }
  .site-drawer .nav-item:last-child .btn { width: 100%; padding: .8rem 1rem; font-size: 1rem; }
  .site-drawer.showing .nav-item, .site-drawer.show .nav-item { animation: drawer-in .45s ease both; }
  .site-drawer.show .nav-item:nth-child(2) { animation-delay: .05s; } .site-drawer.show .nav-item:nth-child(3) { animation-delay: .1s; }
  .site-drawer.show .nav-item:nth-child(4) { animation-delay: .15s; } .site-drawer.show .nav-item:nth-child(5) { animation-delay: .2s; }
  .site-drawer.show .nav-item:nth-child(6) { animation-delay: .25s; } .site-drawer.show .nav-item:nth-child(7) { animation-delay: .3s; }
  .site-drawer.show .nav-item:nth-child(8) { animation-delay: .35s; }
}
@keyframes drawer-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .site-drawer { --bs-offcanvas-transition: none; } .site-drawer .nav-item { animation: none !important; } }

/* =========================================================================
   35-wordmark.css - Wordmark: "The Kunene's Family" logo built from live text (see wordmark() in app/render.php).
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
.wordmark { font-family: var(--font-serif); display: inline-flex; align-items: baseline; gap: .32em; line-height: 1; white-space: nowrap; }
.wordmark .wm-the { font-style: italic; font-weight: 500; font-size: .78em; color: var(--army-green); }
.wordmark .wm-name { font-weight: 700; font-size: 1.28em; color: var(--dark-brown); letter-spacing: -.01em; }
.wordmark .wm-family { font-weight: 500; font-size: .62em; letter-spacing: .24em; text-transform: uppercase; color: var(--brown); }
.wordmark--inline { font-size: 1.25rem; }
@media (min-width: 576px) { .wordmark--inline { font-size: 1.45rem; } }
@media (min-width: 992px) { .wordmark--inline { font-size: 1.65rem; } }
.wordmark--stacked { flex-direction: column; align-items: center; gap: 0; font-size: 1rem; white-space: normal; text-align: center; }
.wordmark--stacked .wm-the { font-size: 1.15em; }
.wordmark--stacked .wm-name { font-size: 3em; line-height: 1.1; margin-top: .05em; }
.wordmark--stacked .wm-family { font-size: .85em; margin-top: .55em; padding-left: .24em; }
.wordmark--stacked .wm-rule { display: block; position: relative; width: 78%; height: .9em; margin-top: .55em; color: var(--brown);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0l5 5-5 5-5-5z' fill='%234B5320'/%3E%3C/svg%3E") center / .55em .55em no-repeat; }
.wordmark--stacked .wm-rule::before, .wordmark--stacked .wm-rule::after { content: ""; position: absolute; top: 50%; height: 1px; background: currentColor; opacity: .8; }
.wordmark--stacked .wm-rule::before { left: 0; right: calc(50% + .8em); }
.wordmark--stacked .wm-rule::after { left: calc(50% + .8em); right: 0; }
.wordmark--light .wm-rule { color: var(--beige); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0l5 5-5 5-5-5z' fill='%23E8DCC4'/%3E%3C/svg%3E"); }
.wordmark--light .wm-the, .wordmark--light .wm-family { color: var(--beige); }
.wordmark--light .wm-name { color: var(--cream); }
.wordmark-img { display: block; width: auto; }
.wordmark-img--inline { height: 34px; }
.wordmark-img--stacked { height: 120px; max-width: 100%; }
@media (min-width: 992px) { .wordmark-img--inline { height: 42px; } }

/* =========================================================================
   40-buttons.css - Buttons and links.
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
.btn-support { background: var(--ochre); border-color: var(--ochre); color: var(--dark-brown); }
.btn-support:hover, .btn-support:focus-visible { background: #fff; border-color: #fff; color: var(--dark-brown); }
.btn { font-weight: 600; border-radius: 999px; padding: .62rem 1.35rem; letter-spacing: .005em; transition: transform .15s, box-shadow .2s, background-color .2s, color .2s; }
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .85rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1rem; font-size: .92rem; }
.btn-primary { --bs-btn-bg: var(--army-green); --bs-btn-border-color: var(--army-green); --bs-btn-color: var(--cream);
  --bs-btn-hover-bg: var(--army-green-dark); --bs-btn-hover-border-color: var(--army-green-dark); --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--army-green-dark); --bs-btn-active-border-color: var(--army-green-dark); --bs-btn-active-color: #fff;
  --bs-btn-focus-shadow-rgb: 75, 83, 32; --bs-btn-disabled-bg: var(--army-green); --bs-btn-disabled-border-color: var(--army-green); }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(75, 83, 32, .3); }
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--dark-brown); }
.btn-cream:hover { background: #fff; border-color: #fff; color: var(--dark-brown); box-shadow: 0 8px 22px rgba(0, 0, 0, .25); }
.btn-outline-cream { border: 2px solid var(--cream); color: var(--cream); background: transparent; }
.btn-outline-cream:hover { background: var(--cream); color: var(--dark-brown); }
.btn-outline-brown { border: 2px solid var(--brown); color: var(--brown); background: transparent; }
.btn-outline-brown:hover { background: var(--brown); color: var(--cream); }
.btn-link { color: var(--army-green); text-decoration: none; }
.btn-link:hover { color: var(--army-green-dark); text-decoration: underline; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow-back { text-decoration: none; font-weight: 600; }
.btn-filter { background: transparent; border: 1.5px solid var(--line); color: var(--dark-brown); padding: .45rem 1.1rem; font-size: .95rem; }
.btn-filter:hover { border-color: var(--army-green); color: var(--army-green); }
.btn-filter.active { background: var(--army-green); border-color: var(--army-green); color: var(--cream); }

/* =========================================================================
   50-hero.css - Hero, page banners, arch photo frames, breadcrumbs and the facts strip.
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
.page-hero { position: relative; overflow: hidden; padding: 3.5rem 0 3rem; background: var(--army-green); color: var(--cream); }
.page-hero::before { content: ""; position: absolute; right: -3rem; bottom: -2rem; width: min(26rem, 70vw); aspect-ratio: 400 / 440; background: var(--arches) center / contain no-repeat; opacity: .22; pointer-events: none; }
.page-hero .container { position: relative; }
.page-hero h1, .page-hero .display-title { color: var(--cream); max-width: 22ch; }
.page-hero .lead { color: #EFE6D2; max-width: 40rem; }
.page-hero .eyebrow { color: var(--ochre); }
.page-hero .meta, .page-hero a { color: #EFE6D2; }
.page-hero a:hover { color: #fff; }
.page-hero--tight { padding: 2.25rem 0 1.75rem; }
@media (min-width: 768px) { .page-hero { padding: 5.25rem 0 4.25rem; } .page-hero--tight { padding: 3rem 0 2.25rem; } }
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 4.5rem; background: radial-gradient(120% 90% at 85% 10%, #5b6528 0%, var(--army-green) 45%, var(--olive-deep) 100%); color: var(--cream); }
.hero::before { content: ""; position: absolute; right: -6%; bottom: -8%; width: min(46rem, 90vw); aspect-ratio: 400 / 440; background: var(--arches) center / contain no-repeat; opacity: .16; pointer-events: none; }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 2.75rem; align-items: center; }
@media (min-width: 992px) { .hero { padding: 5rem 0 6rem; } .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4rem; } }
.hero__eyebrow { font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; color: var(--ochre); margin-bottom: 1rem; }
.hero__title { margin: 0 0 1.25rem; font-size: 1rem; }
.hero__title .wordmark--stacked { align-items: flex-start; text-align: left; font-size: clamp(.85rem, 2.4vw, 1.1rem); }
.hero__title .wordmark--stacked .wm-rule { width: 100%; max-width: 19em; }
.hero__title .wordmark--stacked .wm-name { font-size: clamp(3.8rem, 13vw, 8.2rem); letter-spacing: -.025em; }
.hero__title .wordmark--stacked .wm-the { font-size: 1.6em; color: var(--ochre); }
.hero__title .wordmark--stacked .wm-family { font-size: 1.15em; }
.hero__names { font-family: var(--font-serif); font-size: clamp(1.3rem, 3vw, 1.75rem); color: var(--cream); margin-bottom: .6rem; }
.hero__lead { max-width: 34rem; font-size: 1.15rem; color: #EFE6D2; margin-bottom: 0; }
.hero__art { position: relative; justify-self: center; width: min(calc(100% - 2rem), 24rem); }
@media (min-width: 992px) { .hero__art { width: min(100%, 28rem); justify-self: end; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; } .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; } .hero__copy > :nth-child(5) { animation-delay: .32s; }
  .hero__art { animation: rise 1s .2s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.arch { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 1.1rem 1.1rem; background: var(--beige); box-shadow: 0 24px 50px rgba(20, 14, 6, .35); }
.arch::after { content: ""; position: absolute; inset: -.9rem; border: 2px solid var(--ochre); border-radius: 999px 999px 1.6rem 1.6rem; opacity: .85; pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.arch--sm { box-shadow: var(--shadow-md); }
.arch--sm::after { inset: -.55rem; border-color: var(--army-green); opacity: .5; }
.page-hero h1 em, .hero h1 em, .verse h2 em { color: var(--ochre); }
.hero__place { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem; padding: .3rem .9rem; border: 1px solid rgba(217, 178, 106, .6); border-radius: 999px; color: var(--ochre); font-size: .95rem; font-weight: 500; }
.hero--photo { min-height: min(820px, 92svh); display: flex; align-items: flex-end; padding-bottom: 6.5rem; }
.hero--photo::before { display: none; }
.hero--photo .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--photo .hero__bg { filter: saturate(1.1) contrast(1.05) brightness(1.04); }
/* Keep the picture bright: only a soft shade behind the words (left on wide screens, bottom on phones). */
.hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 22, 12, .82) 0%, rgba(30, 22, 12, .5) 38%, rgba(30, 22, 12, 0) 72%); }
@media (min-width: 992px) { .hero--photo::after { background: linear-gradient(90deg, rgba(30, 22, 12, .7) 0%, rgba(30, 22, 12, .5) 28%, rgba(30, 22, 12, .12) 50%, rgba(30, 22, 12, 0) 66%), linear-gradient(0deg, rgba(30, 22, 12, .45) 0%, rgba(30, 22, 12, 0) 34%); } }
.hero--photo .hero__grid { grid-template-columns: 1fr; width: 100%; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 3.9rem; transform: translateX(-50%); color: var(--cream); display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: 1.5px solid rgba(250, 246, 238, .5); border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { .scroll-cue { animation: bob 2.4s ease-in-out infinite; } }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
.facts { position: relative; z-index: 3; margin-top: -3rem; }
.facts__row { display: grid; grid-template-columns: 1fr 1fr; margin: 0; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--ochre); border-radius: .4rem .4rem 1.4rem 1.4rem; box-shadow: var(--shadow-md); overflow: hidden; }
.facts__item { padding: 1.4rem 1.25rem; border-bottom: 1px solid var(--line); }
.facts__item:nth-child(odd) { border-right: 1px solid var(--line); }
.facts__item:nth-last-child(-n+2) { border-bottom: 0; }
.facts dt { font-family: var(--font-serif); font-size: clamp(1.35rem, 3.2vw, 2rem); font-weight: 700; line-height: 1.15; color: var(--army-green); }
.facts dd { margin: .3rem 0 0; font-size: .92rem; line-height: 1.45; color: var(--brown); }
@media (min-width: 992px) {
  .facts__row { grid-template-columns: repeat(4, 1fr); }
  .facts__item { border-bottom: 0; border-right: 1px solid var(--line); padding: 1.7rem 1.6rem; }
  .facts__item:last-child { border-right: 0; }
}
@media (max-width: 767.98px) { .scroll-cue { display: none; } }
.page-hero { border-radius: 0 0 2.2rem 2.2rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: 1.1rem; font-size: .95rem; color: #D9CFB8; }
.crumbs a { color: var(--ochre); text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs [aria-current] { color: var(--cream); }
.page-hero h1 { margin-bottom: .9rem; }
.hero__role { margin: -.2rem 0 1rem; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--ochre); }
.arch--intro { width: min(100%, 21rem); }
.arch--side { width: min(100%, 19rem); }

/* keep faces in frame when a portrait photo is cropped */
.arch img { object-position: 50% 30%; }
.page-hero .btn-cream { color: var(--dark-brown); } .page-hero .btn-outline-cream { color: var(--cream); } .page-hero .btn-cream:hover { color: var(--dark-brown); } .page-hero .btn-outline-cream:hover { color: var(--dark-brown); }

/* =========================================================================
   60-components.css - Components: cards, callouts, verse band, family members, timeline.
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
.card-kicker { font-family: var(--font-serif); font-style: italic; font-size: 1.05rem; color: var(--brown); margin-bottom: .6rem; }
.card-soft { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--army-green); border-radius: .35rem .35rem var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.card-soft:hover { box-shadow: var(--shadow-md); }
.sermon-card:hover { transform: translateY(-3px); }
.card-soft .card-title a { color: var(--dark-brown); text-decoration: none; }
.card-soft .card-title a:hover { color: var(--army-green); }
.card-body { padding: 1.5rem; }
.card-green { background: linear-gradient(160deg, var(--army-green) 0%, var(--olive-deep) 100%); color: var(--cream); border-color: transparent; border-top-color: var(--ochre); }
.card-green .card-title, .card-green h2, .card-green h3 { color: var(--cream); }
.sermon-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--beige); overflow: hidden; }
.sermon-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sermon-card:hover .sermon-card__media img { transform: scale(1.04); }
.media-badge { position: absolute; left: .75rem; bottom: .75rem; background: rgba(62, 44, 32, .88); color: var(--cream); font-size: .78rem; font-weight: 600; padding: .25rem .7rem; border-radius: 999px; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font-size: .76rem; font-weight: 600; padding: .2rem .65rem; border-radius: 999px; background: rgba(75, 83, 32, .1); color: var(--army-green-dark); }
.tag--alt { background: var(--beige); color: var(--dark-brown); }
.photo-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 3; background: var(--beige); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.mini-grid a { display: block; aspect-ratio: 4 / 3; border-radius: .8rem; overflow: hidden; background: var(--beige); }
.mini-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mini-grid a:hover img { transform: scale(1.06); }
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--army-green); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.callout--soft { background: var(--sand); box-shadow: none; }
.verse { position: relative; overflow: hidden; background: var(--olive-deep); color: var(--cream); }
.verse::before { content: "\201C"; position: absolute; left: 50%; top: -.15em; transform: translateX(-50%); font-family: var(--font-serif); font-size: 16rem; line-height: 1; color: var(--ochre); opacity: .14; pointer-events: none; }
.verse__quote { margin: 0; }
.verse__quote p { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 3.6vw, 2.2rem); line-height: 1.4; color: var(--cream); margin-bottom: 1rem; }
.verse__quote footer, .verse__quote cite { font-style: normal; color: var(--ochre); font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.check-list { list-style: none; padding: 0; margin: 1.25rem 0; }
.check-list li { display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list .icon { color: var(--army-green); margin-top: .3em; }
.link-list { padding-left: 1.1rem; }
.link-list li { margin-bottom: .45rem; }
.contact-list li { display: flex; gap: .7rem; align-items: baseline; margin-bottom: .6rem; word-break: break-word; }
.contact-list .icon { color: var(--army-green); }
.family-single, .family-carousel { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--dark-brown); position: relative; }
.family-single img, .family-carousel img { aspect-ratio: 16 / 10; object-fit: cover; background: var(--beige); }
.carousel-caption-box { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1.5rem 1.2rem; background: linear-gradient(0deg, rgba(40, 30, 20, .88), transparent); color: var(--cream); font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; text-align: center; }
.carousel-caption-box .ph { background: rgba(243, 227, 160, .95); }
.family-carousel .carousel-indicators { margin-bottom: 4rem; }
.family-carousel .carousel-control-prev, .family-carousel .carousel-control-next { width: 4rem; color: var(--cream); opacity: .9; }
.family-carousel .carousel-control-prev .icon, .family-carousel .carousel-control-next .icon { background: rgba(40, 30, 20, .6); border-radius: 50%; padding: .5rem; width: 2.75rem; height: 2.75rem; }
.member { text-align: center; background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; }
.member:hover { box-shadow: none; }
.member .arch { width: min(100%, 15rem); margin: .6rem auto 1.6rem; }
.member .card-body { padding: 0 .5rem; }
.member .prose p { margin-inline: auto; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.6rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: .45rem; top: .4rem; bottom: .4rem; width: 2px; background: var(--brown); opacity: .35; }
.timeline__item { position: relative; padding: 0 0 2rem 1.4rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before { content: ""; position: absolute; left: -1.5rem; top: .45rem; width: .95rem; height: .95rem; background: var(--army-green); border: 3px solid var(--sand); border-radius: 50%; box-shadow: 0 0 0 1px var(--army-green); }
.timeline__when { display: inline-block; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; font-weight: 600; color: var(--army-green); margin-bottom: .2rem; }
.timeline__title { margin-bottom: .35rem; }
.verse .arch::after { border-color: var(--ochre); }
.prose--lead p:first-child { font-family: var(--font-serif); font-size: 1.55rem; font-weight: 500; line-height: 1.45; color: var(--dark-brown); }
.callout--dark { background: linear-gradient(160deg, var(--army-green) 0%, var(--olive-deep) 100%); color: #F1E9D8; border: 0; border-top: 4px solid var(--ochre); border-radius: .4rem .4rem 1.4rem 1.4rem; }
.callout--dark h2, .callout--dark h3 { color: var(--cream); }
.callout--dark a { color: var(--ochre); }
.callout--dark a:hover { color: #fff; }
.callout--dark .icon, .callout--dark .check-list .icon { color: var(--ochre); }
.callout--dark .check-list li { border-bottom-color: rgba(250, 246, 238, .18); }
.callout--dark .prose, .callout--dark .small, .callout--dark .meta { color: #F1E9D8; }
.callout--dark .ph, .callout--dark mark.ph { color: var(--dark-brown); }
.callout--dark .social-links a { border-color: rgba(250, 246, 238, .5); color: var(--cream); }
.members { display: grid; gap: 3rem 2rem; margin-inline: auto; }
.members--parents { max-width: 62rem; }
.members--kids { max-width: 56rem; }
@media (min-width: 768px) { .members--parents { grid-template-columns: 1fr 1fr; gap: 3rem 4rem; } .members--kids { grid-template-columns: repeat(3, 1fr); } }
.member { text-align: center; }
.member .arch { margin: .6rem auto 1.6rem; }
.member--lg .arch { width: min(100%, 17rem); }
.member--sm .arch { width: min(100%, 11rem); }
.member__name { font-size: 1.95rem; margin-bottom: .15rem; }
.member--sm .member__name { font-size: 1.55rem; }
.members__sub { margin: 4rem 0 2rem; font-size: 1.6rem; font-style: italic; font-weight: 500; color: var(--army-green); }
@media (min-width: 768px) {
  .timeline { padding-left: 0; }
  .timeline::before { left: 11.2rem; }
  .timeline__item { display: grid; grid-template-columns: 10rem 1fr; column-gap: 2.4rem; padding: 0 0 2.2rem 0; }
  .timeline__when { grid-row: 1 / span 4; text-align: right; font-size: 1.2rem; padding-top: .1rem; }
  .timeline__item::before { left: 10.7rem; top: .55rem; }
  .timeline__title, .timeline__item p, .timeline__item > ul { grid-column: 2; }
}
.sermon-card:hover, .card-soft.sermon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* "ways to stand with us": three plain columns separated by hairlines, not three boxed cards */
.ways { display: grid; gap: 2.25rem; }
@media (min-width: 768px) { .ways { grid-template-columns: repeat(3, 1fr); gap: 0; } .way { padding: 0 2rem; border-left: 1px solid var(--line); } .way:first-child { padding-left: 0; border-left: 0; } .way:last-child { padding-right: 0; } }
.way__icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 50% 50% .4rem .4rem; background: var(--army-green); color: var(--ochre); }
.way h3 { margin-bottom: .5rem; }
.way p { max-width: 30ch; }
.facts dt, .timeline__when { font-variant-numeric: lining-nums; }

/* field updates list + email sign-up */
.update-list { list-style: none; margin: 0; padding: 0; }
.update-item { display: grid; gap: .4rem 2rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.update-item:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 576px) { .update-item { grid-template-columns: 8.5rem 1fr; } }
.update-item__date { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 600; color: var(--army-green); font-variant-numeric: lining-nums; }
.update-item__title { font-size: 1.75rem; margin-bottom: .4rem; }
.update-item__title a { color: var(--dark-brown); text-decoration: none; }
.update-item__title a:hover { color: var(--army-green); text-decoration: underline; }
.subscribe__row { display: flex; flex-wrap: wrap; gap: .6rem; }
.subscribe__row .form-control { flex: 1 1 12rem; }
.subscribe .btn-primary { --bs-btn-bg: var(--ochre); --bs-btn-border-color: var(--ochre); --bs-btn-color: var(--dark-brown); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-hover-color: var(--dark-brown); }
.subscribe .alert { margin-bottom: 1rem; }
.latest-update { display: grid; gap: 1.25rem 3rem; align-items: center; }
@media (min-width: 768px) { .latest-update { grid-template-columns: 1fr auto; } }
.latest-update h2 { margin-bottom: .4rem; }

/* =========================================================================
   Journey map (About page). No frame: the land floats on the page in 3D.
   Without JavaScript the finished map is simply shown (nothing is hidden by CSS alone).
   ========================================================================= */
.journey { display: grid; gap: 2.5rem; }
@media (min-width: 992px) { .journey { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; } .journey__map { position: sticky; top: calc(var(--nav-h) + 1.5rem); } }
.journey-stage { position: relative; width: min(100%, 24rem); margin: 0 auto; }
.journey-map { position: relative; margin: 0; width: 100%; aspect-ratio: 560 / 760; perspective: 1100px; }
.journey-map__tilt { position: absolute; inset: 0; transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .3s ease-out; filter: drop-shadow(0 22px 18px rgba(62, 44, 32, .28)); }
.journey-map__land { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(ellipse 70% 64% at 50% 50%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 70% 64% at 50% 50%, #000 58%, transparent 100%); }
.journey-map__route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey__route { fill: none; stroke: var(--army-green); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.journey__route--3 { stroke: var(--brown); }
.journey__stop { cursor: pointer; outline: none; transform-box: fill-box; transform-origin: center; }
.journey__hit { fill: transparent; stroke: none; }
.journey__dot { fill: var(--ochre); stroke: var(--dark-brown); stroke-width: 3.5; transform-box: fill-box; transform-origin: center; transition: transform .2s, fill .2s; }
.journey__pulse { fill: var(--ochre); opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.journey__stop:hover .journey__dot, .journey__stop.is-active .journey__dot { transform: scale(1.5); fill: #fff; }
.journey__stop:focus-visible .journey__hit { stroke: var(--army-green); stroke-width: 3; }
.journey__name { font-family: var(--font-serif); font-size: 27px; font-weight: 700; fill: var(--dark-brown); paint-order: stroke; stroke: rgba(250, 246, 238, .75); stroke-width: 5px; stroke-linejoin: round; }
.journey__sub { font-family: var(--font-sans); font-size: 16px; fill: var(--dark-brown); paint-order: stroke; stroke: rgba(250, 246, 238, .75); stroke-width: 4px; stroke-linejoin: round; }
.journey__year { font-family: var(--font-serif); font-size: 24px; font-weight: 700; font-style: italic; fill: var(--dark-brown); paint-order: stroke; stroke: rgba(250, 246, 238, .75); stroke-width: 5px; stroke-linejoin: round; }

/* place names under the map: the same hover / click targets, easy to find with a mouse, finger or keyboard */
.journey-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1.1rem; }
.journey-chip { font: inherit; font-size: .9rem; font-weight: 600; color: var(--dark-brown); background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .95rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.journey-chip:hover, .journey-chip:focus-visible, .journey-chip.is-active { background: var(--army-green); border-color: var(--army-green); color: #fff; }
.journey-hint { font-size: .85rem; color: var(--brown); margin: .6rem 0 0; text-align: center; }

/* detail cards */
.journey-cards { margin-top: 1rem; }
.journey-card { background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--ochre); border-radius: .8rem; padding: .85rem 1.05rem; margin-bottom: .8rem; box-shadow: var(--shadow-md); }
.journey-card__when { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--army-green); margin: 0 0 .1rem; }
.journey-card__name { margin: 0 0 .4rem; }
.journey-card p { font-size: .9rem; line-height: 1.5; }
.journey-card__link { font-weight: 600; font-size: .9rem; color: var(--army-green); }
.journey-card__link svg { width: .85em; height: .85em; vertical-align: -.1em; }
/* with JavaScript a card pops up next to the pin (position is set in app.js) and ignores the pointer until it is pinned by a click */
.js .journey-cards { position: absolute; inset: 0; margin: 0; z-index: 5; pointer-events: none; }
.js .journey-card { display: none; position: absolute; left: 0; top: 0; width: min(17.5rem, 90vw); margin: 0; pointer-events: none; background: rgba(250, 246, 238, .98); }
.js .journey-cards.is-pinned .journey-card { pointer-events: auto; }
.js .journey-card.is-active { display: block; animation: journey-card-in .22s ease; }
@keyframes journey-card-in { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }

/* entrance: only when JavaScript armed it and the visitor has not asked for less motion */
@media (prefers-reduced-motion: no-preference) {
  .journey-stage.is-armed .journey-map__tilt { opacity: 0; }
  .journey-stage.is-armed .journey__route { stroke-dashoffset: 1; }
  .journey-stage.is-armed .journey__stop, .journey-stage.is-armed .journey__year { opacity: 0; }
  .journey-stage.is-drawn .journey-map__tilt { animation: journey-land-in .9s cubic-bezier(.2, .8, .25, 1) both; }
  .journey-stage.is-drawn .journey__route { animation: journey-draw .85s cubic-bezier(.45, .05, .25, 1) both; }
  .journey-stage.is-drawn .journey__route--1 { animation-delay: .7s; }
  .journey-stage.is-drawn .journey__route--2 { animation-delay: 1.6s; }
  .journey-stage.is-drawn .journey__route--3 { animation-delay: 2.5s; }
  .journey-stage.is-drawn .journey__stop { animation: journey-pin .7s cubic-bezier(.3, 1.6, .5, 1) both; }
  .journey-stage.is-drawn .journey__stop--1 { animation-delay: .5s; }
  .journey-stage.is-drawn .journey__stop--2 { animation-delay: 1.45s; }
  .journey-stage.is-drawn .journey__stop--3 { animation-delay: 3.25s; }
  .journey-stage.is-drawn .journey__year { animation: journey-fade .5s ease both; }
  .journey-stage.is-drawn .journey__year--1 { animation-delay: 1.2s; }
  .journey-stage.is-drawn .journey__year--2 { animation-delay: 2.1s; }
  .journey-stage.is-drawn .journey__pulse { animation: journey-pulse 2.4s ease-out 4s infinite; }
  .journey-stage.is-drawn .journey__stop--1 .journey__pulse { animation-delay: 1.2s; }
  .journey-stage.is-drawn .journey__stop--2 .journey__pulse { animation-delay: 2.1s; }
}
@keyframes journey-land-in { from { opacity: 0; transform: rotateX(72deg) translateY(50px) scale(.8); } to { opacity: 1; transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, 0deg)); } }
@keyframes journey-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes journey-pin { 0% { opacity: 0; transform: scale(0) translateY(-30px); } 60% { opacity: 1; transform: scale(1.3) translateY(0); } 100% { opacity: 1; transform: scale(1); } }
@keyframes journey-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes journey-pulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
@media (prefers-reduced-motion: reduce) { .journey-map__tilt { transition: none; } }

/* =========================================================================
   Family profile page (/about/prudence)
   ========================================================================= */
.profile-hero { padding-bottom: 5.5rem; }
.profile-hero__role { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--ochre); margin: 0 0 .4rem; }
.profile-hero__lead { font-size: 1.15rem; line-height: 1.6; max-width: 38rem; color: #F1E9D8; margin: 1rem 0 0; }
.profile-hero__photo { width: min(100%, 17rem); margin-left: auto; }
.profile-tags { list-style: none; margin: .9rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.profile-tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem; font-size: .9rem; font-weight: 500; color: var(--dark-brown); }
.profile-where { font-weight: 600; color: var(--army-green); margin: 0 0 .5rem; }
.profile-points { margin: 0; padding-left: 1.15rem; }
.profile-points li { margin-bottom: .35rem; }
.profile-more { margin-top: 2rem; }
.profile-more summary { cursor: pointer; font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--army-green); padding: .4rem 0; }
.profile-more .timeline { margin-top: 1.2rem; }
.profile-edu { height: 100%; background: var(--cream); border: 1px solid var(--line); border-top: 4px solid var(--ochre); border-radius: .4rem .4rem 1.2rem 1.2rem; padding: 1.3rem 1.4rem; box-shadow: var(--shadow-md); }
.profile-edu__when { font-family: var(--font-serif); font-style: italic; font-weight: 600; color: var(--army-green); margin: 0 0 .3rem; }
.profile-cta { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 992px) { .profile-cta { grid-template-columns: 1fr auto; } }
.member__more { margin: 1rem 0 0; }

/* =========================================================================
   70-gallery.css - Gallery, lightbox, video modal, players and empty states.
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
.filter-buttons { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.5rem 0 2rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; padding: 0; margin: 0; }
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1200px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-grid--video { grid-template-columns: 1fr; }
@media (min-width: 576px) { .gallery-grid--video { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .gallery-grid--video { grid-template-columns: repeat(3, 1fr); } }
.gallery-item[hidden] { display: none; }
.gallery-link { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--beige); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.gallery-link--video { aspect-ratio: 16 / 9; cursor: pointer; }
.gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-link:hover img { transform: scale(1.06); }
.gallery-cap { position: absolute; inset: auto 0 0 0; padding: 1.6rem .9rem .7rem; text-align: left; color: var(--cream); font-size: .9rem; font-weight: 500; background: linear-gradient(0deg, rgba(40, 30, 20, .85), transparent); opacity: 0; transition: opacity .25s; }
.gallery-link:hover .gallery-cap, .gallery-link:focus-visible .gallery-cap { opacity: 1; }
.gallery-link--video .gallery-cap { opacity: 1; }
.play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 3.6rem; height: 3.6rem; display: grid; place-items: center; border-radius: 50%; background: rgba(250, 246, 238, .94); color: var(--army-green); box-shadow: 0 6px 20px rgba(0, 0, 0, .3); transition: transform .2s; }
.gallery-link--video:hover .play-badge { transform: translate(-50%, -50%) scale(1.1); }
.empty-state { text-align: center; padding: 2.5rem 1rem; color: var(--brown); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; background: rgba(30, 22, 15, .95); padding: 3.5rem 1rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lightbox__img { max-height: 78vh; max-width: 100%; border-radius: .6rem; background: var(--beige); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox__caption { color: var(--cream); margin-top: .9rem; font-size: 1rem; }
.lightbox__btn { position: absolute; background: rgba(250, 246, 238, .14); color: var(--cream); border: 0; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; }
.lightbox__btn:hover { background: rgba(250, 246, 238, .3); }
.lightbox__close { top: .8rem; right: .8rem; }
.lightbox__prev { left: .6rem; top: 50%; }
.lightbox__next { right: .6rem; top: 50%; }
@media (min-width: 768px) { .lightbox__prev { left: 1.5rem; } .lightbox__next { right: 1.5rem; } }
.video-modal { background: var(--dark-brown); color: var(--cream); border: 0; border-radius: var(--radius-lg); overflow: hidden; }
.video-modal .modal-title { color: var(--cream); }
.video-modal video, .video-modal iframe { border-radius: .7rem; background: #000; }
.player { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); background: #000; }
.audio-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow-sm); }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery-tag { position: absolute; top: .65rem; left: .65rem; z-index: 1; padding: .2rem .7rem; border-radius: 999px; background: rgba(43, 31, 23, .82); color: var(--cream); font-size: .76rem; font-weight: 600; }

/* =========================================================================
   80-forms.css - Forms, filters, pagination, alerts, the deputation schedule table.
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
.filter-bar { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.1rem 1.2rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; }
.form-label { font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.form-label .req { color: #8A2E1F; }
.form-label .opt { font-weight: 400; color: var(--brown); font-size: .85em; }
.form-control, .form-select { border: 1.5px solid #C9B99C; border-radius: .75rem; padding: .65rem .9rem; background-color: #fff; color: var(--dark-brown); }
.form-control:focus, .form-select:focus { border-color: var(--army-green); box-shadow: 0 0 0 .22rem rgba(75, 83, 32, .22); }
.form-text { color: var(--brown); }
.invalid-feedback { color: #8A2E1F; font-weight: 500; }
.form-control.is-invalid, .was-validated .form-control:invalid { border-color: #A8402F; background-image: none; }
.was-validated .form-control:valid { border-color: #C9B99C; background-image: none; }
.form-card .card-body { padding: 1.75rem; }
.results-count { color: var(--brown); font-size: .95rem; margin-bottom: 1.25rem; }
.pagination { --bs-pagination-color: var(--army-green); --bs-pagination-hover-color: var(--army-green-dark); --bs-pagination-active-bg: var(--army-green); --bs-pagination-active-border-color: var(--army-green); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(75, 83, 32, .25); --bs-pagination-bg: var(--paper); --bs-pagination-border-color: var(--line); --bs-pagination-disabled-bg: var(--paper); --bs-pagination-disabled-color: #7a6a5c; }
.alert { border-radius: var(--radius); }
.alert-success { background: #E7EDD1; border-color: #BCC98A; color: #2E3513; }
.alert-danger { background: #F6DFD9; border-color: #E2B3A8; color: #6E2216; }
.schedule { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.schedule .table { --bs-table-bg: transparent; margin: 0; }
.schedule th { font-weight: 600; white-space: nowrap; }
.schedule thead th { background: var(--army-green); color: var(--cream); font-size: .92rem; font-weight: 600; border: 0; }
.status { display: inline-block; font-size: .8rem; font-weight: 600; padding: .22rem .75rem; border-radius: 999px; }
.status--confirmed { background: #DDE7BF; color: #2E3513; }
.status--tentative { background: #F3E3A0; color: #4A3A0B; }
.status--completed { background: var(--beige); color: var(--dark-brown); }
.status--cancelled { background: #F0D2CB; color: #6E2216; }
.filter-bar { border-top: 4px solid var(--ochre); border-radius: .4rem .4rem var(--radius) var(--radius); }
.form-card { border-top: 4px solid var(--army-green); }
@media (max-width: 575.98px) {
  .table-stack thead { position: absolute; left: -9999px; }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack th, .table-stack td { display: block; width: 100%; }
  .table-stack tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
  .table-stack tr:last-child { border-bottom: 0; }
  .table-stack th, .table-stack td { border: 0; padding: .15rem 0; background: transparent; }
  .table-stack th[scope="row"] { font-family: var(--font-serif); font-size: 1.15rem; color: var(--army-green); }
  .table-stack td[data-label="City"]::before { content: "City: "; color: var(--brown); }
}
.cal-links { white-space: nowrap; font-size: .9rem; }
.cal-links a + a::before { content: "\00b7"; margin: 0 .5rem; color: var(--brown); }

/* =========================================================================
   90-footer.css - Footer and social icons.
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
.site-footer { background: var(--olive-deep); border-top: 3px solid var(--ochre); color: #E9DFCC; padding: 4rem 0 2rem; }
.site-footer a { color: var(--cream); text-decoration-color: rgba(250, 246, 238, .4); }
.site-footer a:hover { color: #fff; text-decoration-color: #fff; }
.footer-brand { text-decoration: none !important; display: inline-block; }
.footer-brand .wordmark--stacked { align-items: flex-start; text-align: left; font-size: .85rem; }
.footer-brand .wordmark--stacked .wm-rule { width: 100%; }
.footer-heading { font-family: var(--font-serif); font-size: 1.5rem; color: var(--ochre); margin-bottom: 1rem; font-weight: 600; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-affil { color: #E9DFCC; max-width: 30rem; }
.footer-rule { border-color: rgba(250, 246, 238, .2); margin: 2.5rem 0 1.25rem; opacity: 1; }
.footer-legal { font-size: .85rem; color: #D8CBB2; margin: 0; }
.social-links a { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 1.5px solid rgba(250, 246, 238, .45); color: var(--cream); transition: background-color .2s, color .2s; }
.social-links a:hover { background: var(--cream); color: var(--dark-brown); }
.social-links--dark a { border-color: var(--brown); color: var(--brown); }
.social-links--dark a:hover { background: var(--brown); color: var(--cream); }
.text-cream-link { color: var(--cream) !important; }
.site-footer .btn-cream, .site-footer .btn-cream:hover { color: var(--dark-brown); text-decoration: none; }

/* long email addresses must wrap on very narrow phones */
.footer-links a, .contact-list a { overflow-wrap: anywhere; }

/* =========================================================================
   99-utilities.css - Utilities: scroll-reveal animation, reduced motion, print.
   (Edit files in css/src/, then run:  php bin/build-assets.php)
   ========================================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* installer page (app/installer.php) */
.install-body { background: var(--cream); }
.install-main { max-width: 720px; }
