/* The fixed masthead shares its backdrop with the section underneath it. */
:root {
  --paper: #eee9dd;
  --sage: #dce1d1;
  --ink: #23392e;
  --muted: #48594d;
  --rule: #b8c0ac;
  --green: #38583f;
  --header-height: 76px;
  --serif: Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 16px); }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--green); }
:focus-visible { outline: 2px solid #405e37; outline-offset: 3px; }
.skip-link { position: fixed; left: 10px; top: -150px; padding: 8px 16px; background: var(--paper); z-index: 12; }
.skip-link:focus { top: 6px; }
.wrap, .nav-wrap { width: min(1180px, 100%); padding-inline: clamp(20px, 4vw, 52px); margin-inline: auto; }
#site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  background-color: rgb(255 255 255 / 70%);
  border-bottom: 1px solid rgb(42 66 47 / 22%);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-height); }
.brand { flex-shrink: 0; text-decoration: none; color: var(--ink); }
.brand-name { display: block; font: 700 1.65rem/.98 var(--serif); }
.brand-name small { display: block; margin-top: 5px; font: 700 .62rem/1.1 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .18em; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 26px); }
.nav-links a, .nav-links summary, .menu-toggle { font: 650 .83rem/1.3 system-ui, sans-serif; }
.nav-links a { text-decoration: none; }
.nav-links > a[aria-current], .nav-group:has([aria-current]) summary, .nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-group { position: relative; }
.nav-group summary { display: flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; padding-block: 12px; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-1px) rotate(45deg); }
.nav-group[open] summary::after { transform: translateY(2px) rotate(225deg); }
.nav-panel { position: absolute; inset: 100% auto auto 0; min-width: 245px; max-height: calc(100dvh - var(--header-height)); overflow: auto; padding: 6px; border: 1px solid var(--rule); background: var(--paper); box-shadow: 0 9px 16px rgb(36 54 41 / 12%); }
.nav-group:last-of-type .nav-panel { left: auto; right: 0; }
.nav-panel a { display: block; padding: 11px 12px; }
.nav-panel a:hover, .nav-panel a:focus-visible { background: var(--sage); }
.button, .nav-donate { display: inline-block; border-radius: 3px; padding: 12px 18px; background: #14243b; color: #fff; text-decoration: none; font-weight: 650; }
.button:hover, .nav-donate:hover { background: #354b22; color: #fff; }
.menu-toggle { display: none; border: 1px solid var(--muted); border-radius: 3px; padding: 8px 11px; background: transparent; color: var(--ink); }
.lead {
  padding-block: calc(var(--header-height) + clamp(44px, 7vw, 90px)) clamp(48px, 7vw, 92px);
  background: linear-gradient(112deg, #eae2ce 8%, #e2e0ce 51%, #a7bba0 100%);
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 5.4vw, 4.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); letter-spacing: -.025em; }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lead h1 + p { margin-top: 24px; }
.lead .wrap > p:not(.kicker) { max-width: 64ch; }
.kicker { color: var(--green); font-size: .76rem; font-weight: 700; letter-spacing: .08em; }
.home-grid, .split { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(32px, 6vw, 80px); }
.home-grid { align-items: center; }
.home h1 em { color: var(--green); font-weight: 400; }
.opening { padding-left: 24px; border-left: 1px solid #8b9db3; }
.opening p { font-size: 1.13rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.inline-link, .button { font-size: .92rem; font-weight: 650; }
.block { padding-block: clamp(36px, 5.4vw, 72px); border-top: 1px solid var(--rule); }
.tinted { background: var(--sage); }
.split { grid-template-columns: minmax(0,.85fr) minmax(0,1.3fr); }
.prose { max-width: 65ch; }
.prose h3 { margin-bottom: 1em; }
.ruled { list-style: none; margin: 0; padding: 0; }
.ruled li { padding: 10px 0; border-bottom: 1px solid var(--rule); }
.ruled li:first-child { padding-top: 0; }
.ruled li:last-child { border: 0; padding-bottom: 0; }
.ruled a { display: block; }
.site-footer { border-top: 1px solid #a4af97; background: #c9d2be; }
.footer-content { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 26px; padding-block: 42px; font-size: .9rem; }
.footer-content address { font-style: normal; }
.footer-content address a, .footer-content nav a { display: block; }
@media (max-width: 1000px) {
  :root { --header-height: 65px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; inset: 100% 0 auto; background: var(--paper); padding: 12px 22px 20px; max-height: calc(100dvh - var(--header-height)); overflow-y: auto; border-bottom: 1px solid var(--rule); }
  .nav-links.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > a, .nav-links summary { padding: 13px 4px; }
  .nav-links summary { justify-content: space-between; }
  .nav-links .nav-donate { margin-top: 8px; text-align: center; }
  .nav-panel { position: static; min-width: 0; max-height: none; border: 0; box-shadow: none; background: var(--sage); }
}
@media (max-width: 700px) {
  .home-grid, .split { grid-template-columns: 1fr; gap: 22px; }
  .opening { padding-left: 0; border: 0; }
  .footer-content { flex-direction: column; }
}
.news-item { padding-block: 1.5rem; border-block-start: 1px solid var(--rule); overflow-wrap: anywhere; }
.news-item time { color: var(--muted); font-size: .9rem; }
.news-item h3 { margin: .5rem 0 1rem; }
.news-item img { display: block; max-width: 100%; max-height: 34rem; margin-bottom: 1rem; }
.news-text { white-space: pre-line; }
.editor main { max-width: 820px; padding-block: 40px; }
.editor h1 { font-size: clamp(2rem,5vw,3.6rem); margin: 1rem 0 2rem; }
.editor nav { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.editor label { display: block; margin: 1rem 0; font-weight: 600; }
.editor input:not([type=checkbox]), .editor textarea { display: block; width: 100%; padding: .7rem; margin-top: .3rem; border: 1px solid var(--rule); background: #faf8f0; color: var(--ink); font: inherit; }
.editor button { cursor: pointer; border: 0; border-radius: 3px; background: #14243b; color: white; padding: .7rem 1rem; font: inherit; }
:root { --ink:#14243b; --green:#263f5b; --sage:#f1f4f8; --paper:#fff; --rule:#ccd2d7; }
.lead { background:linear-gradient(110deg,#14243b,#263f5b); color:white; }
.lead .kicker { color:#b7db69; }
.home h1 em { color:#fff; }

.site-footer { background:#14243b; color:white; }
.nav-donate { background:#b7db69; color:#14243b; }
.theme-switch { position:fixed; bottom:20px; right:20px; z-index:15; background:var(--paper); color:var(--ink); border:1px solid var(--rule); border-radius:24px; padding:9px 12px; font:inherit; font-size:.88rem; cursor:pointer; }
body:has(#site-header) .theme-switch { z-index:8; }
.home-news-shortcut {
  position:fixed; bottom:20px; left:20px; z-index:8;
  display:inline-flex; align-items:center; gap:8px; padding:9px 14px;
  border:1px solid var(--rule); border-radius:24px; background:var(--paper);
  color:var(--ink); text-decoration:none; font-size:.88rem; font-weight:650;
}
.home-news-shortcut:hover { background:#b7db69; color:#14243b; }
body:has(#site-header)::before {
  content:''; position:fixed; inset:0; z-index:9; pointer-events:none;
  background:rgb(10 20 35 / 44%); opacity:0; transition:opacity 180ms ease;
}
body:has(#site-header .nav-group[open])::before { opacity:1; }
@media (prefers-reduced-motion:reduce) { body:has(#site-header)::before { transition:none; } }
[data-theme=dark] { color-scheme:dark; --paper:#111d2b; --ink:#f0f3f7; --muted:#bcc8d5; --rule:#48586a; --sage:#192b40; --green:#d3deeb; }

[data-theme=dark] #site-header { background:rgb(14 28 45 / 65%); }
[data-theme=dark] .nav-panel,[data-theme=dark] .nav-links.is-open { background:#17283d; }
[data-theme=dark] .editor input,[data-theme=dark] .editor textarea { background:#17283d; }
.page-photo { margin:0; overflow:hidden; height:440px; background:#14243b; }
.page-photo img { width:100%; height:115%; object-fit:cover; animation:photo-drift 16s ease-in-out infinite alternate; }
@keyframes photo-drift { to { transform:translateY(-10%); } }
@media(prefers-reduced-motion:reduce) { .page-photo img { animation:none; height:100%; } }

/* Control colours stay paired when the document text colour changes. */
.lead .button, [data-theme=dark] .button,
[data-theme=dark] .editor button {
  background: #b7db69;
  color: #14243b;
}
.lead .button:hover, [data-theme=dark] .button:hover,
[data-theme=dark] .editor button:hover {
  background: #d0e99d;
  color: #14243b;
}
.nav-donate:hover { background: #d0e99d; color: #14243b; }
.lead a:not(.button):hover, .site-footer a:hover { color: #b7db69; }
[data-theme=dark] :focus-visible { outline-color: #b7db69; }
.page-editor main { max-width:1500px; }
.editing-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:40px; margin-top:32px; align-items:start; }
.page-preview { position:sticky; top:20px; }
.page-preview iframe { width:100%; height:70vh; border:1px solid var(--rule); background:white; }
.editor fieldset { margin:24px 0; border:1px solid var(--rule); }
.editor nav [aria-current] { font-weight:800; text-decoration-thickness:3px; }
.home-slideshow { position:relative; margin-top:var(--header-height); overflow:hidden; background:#14243b; }
.slide-track { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.slide-track img { flex:0 0 100%; width:100%; height:clamp(260px,48vw,600px); object-fit:cover; scroll-snap-align:start; }
.slideshow-toggle { position:absolute; right:20px; bottom:20px; padding:10px 15px; background:#14243b; color:white; border:1px solid white; border-radius:3px; cursor:pointer; }
@media(max-width:850px) { .editing-layout { grid-template-columns:1fr; } .page-preview { position:static; } }


/* Navy and white surfaces carry the page; accents stay on small controls. */
.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-block: clamp(24px, 4vw, 44px);
}
.news-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: none;
  object-fit: cover;
  border-radius: 8px;
  margin: 8px 0 22px;
}
.news-item h3 { line-height: 1.2; }
.news-text { line-height: 1.8; }
.block:has(#news) > .split { grid-template-columns: 1fr; gap: 28px; }
.block:has(#news) .prose { max-width: none; }
@media(min-width:850px) {
  .news-item:has(img) {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    column-gap: clamp(24px, 4vw, 56px);
    align-content: start;
  }
  .news-item:has(img) img {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin: 0;
    align-self: start;
  }
  .news-item:has(img) time, .news-item:has(img) h3, .news-item:has(img) .news-text { grid-column: 2; }
  .news-item:has(img) time { grid-row: 1; }
  .news-item:has(img) h3 { grid-row: 2; }
  .news-item:has(img) .news-text { grid-row: 3; }
}

.photo-description { display:grid; grid-template-columns:100px minmax(0,1fr); gap:16px; align-items:center; margin-block:16px; }
.photo-description img { width:100px; height:75px; object-fit:cover; border-radius:4px; }


/* Canva reference DAHb85YZSYA: strong sans-serif headings and rounded surfaces. */
:root { --serif: 'Segoe UI', Arial, sans-serif; }
h1,h2,h3 { font-weight:750; letter-spacing:-.045em; }
h1 { line-height:1.03; font-size:clamp(2.8rem,5.5vw,5.2rem); }
h2 { line-height:1.14; }
.brand-name { font-family:'Segoe UI',Arial,sans-serif; font-size:1.3rem; letter-spacing:-.04em; }
.lead { color:var(--ink); background:linear-gradient(125deg,var(--sage),var(--paper) 75%); }
.lead .kicker { color:var(--muted); display:flex; align-items:center; gap:14px; }
.lead .kicker::before { content:''; display:block; width:28px; height:2px; background:#b69a49; }
.home h1 em { color:inherit; font-style:normal; }
.home-grid { grid-template-columns:1.05fr .95fr; gap:clamp(32px,5vw,72px); }
.opening { border:0; padding:30px; background:var(--paper); border-radius:24px; box-shadow:0 12px 40px rgb(20 36 59 / 6%); }
.button,.nav-donate { border-radius:30px; }
.lead .button { background:#14243b; color:#fff; }
[data-theme=dark] .lead .button { background:#b7db69; color:#14243b; }
.block { border:0; }
.block + .block { border-top:1px solid var(--rule); }
.ruled li { padding-block:17px; }
.news-item img { border-radius:20px; }
.home-slideshow { border-radius:26px; margin:calc(var(--header-height) + 28px) auto 0; width:calc(100% - 48px); max-width:1320px; }
.home-slideshow + .lead.home { padding-top:55px; }
[data-theme=dark] .opening { background:#1b2e45; }
@media(max-width:700px) {
 .home-grid { grid-template-columns:1fr; }
 .opening { padding:24px; }
 .home-slideshow { width:calc(100% - 28px); border-radius:18px; }
}

.editor .current-photo { display:block; width:100%; max-width:240px; height:150px; object-fit:cover; border-radius:10px; margin-bottom:10px; }
.current-slides { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:16px; }

/* Official supplied logo retains its white background in both themes. */
.brand-logo { display:block; width:104px; height:104px; object-fit:contain; background:#fff; border-radius:8px; }
.site-header .brand { padding-block:6px; }
:root { --header-height:76px; }
.site-header .brand-logo { width:64px; height:64px; }
.nav-panel, [data-theme=dark] .nav-panel {
  background:#14243b; color:#fff; border-radius:10px;
}
[data-theme=dark] .nav-panel { background:#f0f3f7; color:#14243b; }
.nav-panel a:hover, .nav-panel a:focus-visible { background:#b7db69; color:#14243b; border-radius:5px; }
.site-footer .brand-logo { width:156px; height:156px; }
@media (max-width:1000px) {
  :root { --header-height:64px; }
  .site-header .brand-logo { width:52px; height:52px; }
}

/* Story photographs sit within the text column, without cropping uniforms. */
.uniform-gallery.home-slideshow { width:100%; max-width:280px; margin:16px 0 0; border-radius:12px; overflow:hidden; background:transparent; box-shadow:none; }
.uniform-gallery .slide-track { height:clamp(220px,75vw,310px); border-radius:12px; }
.uniform-gallery .slideshow-toggle { display:none; }
.education-categories { display:grid; gap:8px; width:min(100%, 460px); }
.education-categories details { border:1px solid var(--rule); border-radius:10px; background:var(--paper); }
.education-categories summary { cursor:pointer; padding:9px 12px; font-size:.92rem; font-weight:650; }
.education-categories details[open] { padding:0 12px 12px; }
.education-categories details[open] summary { padding-inline:0; }
.education-story-description { margin:0; padding-inline-start:1.2rem; }
.education-story-description p { margin:0; }

/* The portrait fills the right side of the hero, with the copy over navy. */
.lead.home {
  --hero-photo:url('/home-community.jpg');
  position:relative;
  isolation:isolate;
  color:#fff;
  background:#14243b;
}
.lead.home::before {
  content:'';
  position:absolute;
  z-index:-1;
  inset:0;
  background:
    linear-gradient(90deg, #14243b 0%, #14243b 38%, transparent 66%) center / cover no-repeat,
    var(--hero-photo) right 65% / 62% auto no-repeat #14243b;
}
.home .home-grid { grid-template-columns:minmax(0, 53%) minmax(0, 1fr); gap:24px; }
.home .home-grid > * { grid-column:1; }
.home .kicker { color:#e1ebf5; }
.home .opening { padding:0; background:transparent; box-shadow:none; }
.home .opening p { max-width:43ch; }
.lead.home .button { background:#b7db69; color:#14243b; }
.lead.home .button:hover { background:#d6eda8; }

.block:has(#educational-support) { background:var(--paper); }
.split:has(.education-tabs) { grid-template-columns:minmax(0, 1fr); gap:18px; }
.split:has(.education-tabs) > .prose { max-width:none; min-width:0; }
.education-tabs {
  --education-media:clamp(220px, 26vw, 320px);
  display:grid; grid-template-columns:var(--education-media) minmax(0,1fr); gap:0; width:100%;
  border-block:1px solid var(--rule);
}
.education-tablist { grid-column:2; grid-row:1; z-index:1; align-self:start; display:flex; padding-inline:clamp(16px,3vw,36px); }
.education-tablist button {
  flex:0 1 auto; min-height:46px; padding:8px 14px; border:0; border-bottom:2px solid transparent;
  background:transparent; color:var(--muted); font:inherit; font-weight:650; cursor:pointer;
}
.education-tablist button[aria-selected=true] { border-color:#92b249; color:var(--ink); }
.education-tablist button:focus-visible { outline-offset:-4px; }
.education-panel {
  grid-column:1 / -1; grid-row:1; display:grid;
  grid-template-columns:var(--education-media) minmax(0,1fr); color:var(--ink);
}
.education-panel[hidden] { display:none; }
.education-panel-copy { grid-column:2; grid-row:1; padding:66px clamp(16px,3vw,36px) 20px; }
.education-panel-copy h3 { font-size:clamp(1.25rem,2.1vw,1.75rem); margin-bottom:10px; }
.education-panel .uniform-gallery { grid-column:1; grid-row:1; margin:12px 0 0; max-width:none; background:transparent; }
.education-panel .slide-track { height:clamp(220px,24vw,300px); border-radius:8px; }
.education-panel .slide-track img { background:transparent; }
.education-panel .gallery-controls { padding:8px 0; }
.gallery-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap:16px; max-width:880px; margin-block:20px; }
.gallery-grid img { display:block; width:100%; height:clamp(180px,28vw,320px); object-fit:contain; border-radius:8px; }
.impact-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:12px; margin-block:20px; }
.impact-grid img, .impact-grid video { display:block; width:100%; aspect-ratio:4 / 5; object-fit:contain; background:var(--sage); border-radius:10px; }
.impact-grid figure { margin:0; min-width:0; }
.impact-grid figcaption { margin-top:8px; color:var(--muted); font-size:.88rem; }
@media (max-width:700px) { .impact-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); } }

@media(max-width:700px) {
  .lead.home {
    position:relative;
    isolation:isolate;
    padding-top:calc(var(--header-height) + min(62vw, 300px));
    background:#14243b;
  }
  .lead.home::before {
    content:'';
    position:absolute;
    z-index:-1;
    inset:var(--header-height) 0 auto;
    height:min(76vw, 370px);
    background:linear-gradient(180deg, transparent 60%, #14243b), var(--hero-photo) center 61% / cover no-repeat;
  }
  .home .home-grid { grid-template-columns:minmax(0, 1fr); }
  .education-tabs, .education-panel { grid-template-columns:minmax(0, 1fr); }
  .education-tablist { grid-column:1; grid-row:1; }
  .education-panel { grid-row:2; }
  .education-panel-copy { grid-column:1; grid-row:1; padding:14px 16px 4px; }
  .education-panel .uniform-gallery { grid-row:2; margin-top:8px; }
  .education-panel .slide-track { height:min(72vw, 270px); }
}
.family-donation { margin-top:28px; }
.family-donation h3 { margin-bottom:12px; }
.family-donation img { display:block; width:100%; max-width:520px; height:auto; border-radius:12px; }
.christmas-event .event-posters { display:grid; grid-template-columns:repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap:12px; }
.christmas-event .event-posters img { display:block; width:100%; height:auto; aspect-ratio:auto; object-fit:contain; }


.story-slideshow { margin-block:20px; max-width:540px; }
.story-slide img, .story-slide video {
  display:block; width:100%; height:clamp(235px,45vw,420px); object-fit:contain;
  background:transparent; border-radius:8px;
}
.story-slide:not([hidden]) { animation:story-fade 240ms ease-out; }
@keyframes story-fade { from { opacity:.35; transform:translateY(3px); } to { opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion:reduce) { .story-slide:not([hidden]) { animation:none; } }
.story-slide figure { margin:0; }
.story-slide figcaption { margin-top:8px; color:var(--muted); font-size:.92rem; }
.story-slide-controls { display:flex; align-items:center; justify-content:center; gap:16px; margin-top:12px; }
.story-slide-controls button { padding:7px 12px; border:1px solid var(--rule); border-radius:20px; background:var(--paper); color:var(--ink); cursor:pointer; }
.story-slide-controls button:disabled { opacity:.55; cursor:default; }
.uniform-gallery .slide-track img { width:100%; height:100%; object-fit:contain; flex:0 0 100%; background:var(--sage); }
.uniform-gallery .gallery-controls { display:flex; align-items:center; justify-content:center; gap:10px; padding:12px; }
.uniform-gallery .gallery-controls button { position:static; transform:none; margin:0; background:var(--paper); color:var(--ink); border:1px solid var(--rule); border-radius:24px; padding:8px 14px; cursor:pointer; font:inherit; font-size:.85rem; }

.founder-profile{display:grid;grid-template-columns:minmax(200px,320px) 1fr;gap:clamp(24px,5vw,72px);align-items:start}.founder-profile>img{width:100%;height:auto;border-radius:8px}.founder-profile h2{margin-top:0}.family-categories .impact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.family-categories img,.family-categories video{width:100%;max-height:300px;object-fit:contain}.family-categories figure{margin:0}.family-categories .family-donation img{max-width:480px}.family-categories details{margin-bottom:12px}@media(max-width:700px){.founder-profile{grid-template-columns:1fr}.founder-profile>img{max-width:280px}.family-categories .impact-grid{grid-template-columns:1fr}}

.family-categories .education-panel{display:block}.family-categories .education-panel-copy{max-width:none}.family-categories .impact-grid{margin-top:16px}
.family-categories .education-panel[hidden]{display:none}.family-categories .education-panel-copy{grid-column:1 / -1}

.donation-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px}.donation-method{padding:24px;border:1px solid var(--rule);border-radius:12px;background:var(--paper)}.donation-method h3{margin-top:0}.donation-method dt{font-weight:700;margin-top:12px}.donation-method dd{margin:4px 0;overflow-wrap:anywhere}@media(max-width:760px){.donation-methods{grid-template-columns:1fr}}

.contact-social-links{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center}

.bank-name-note{border-left:4px solid var(--lime,#b4d968);padding:12px 16px;background:var(--sage,#eef3e7);border-radius:4px}

.donation-chooser{max-width:560px;padding:28px;background:var(--paper);border:1px solid var(--rule);border-radius:16px;margin:28px 0}
.donation-chooser fieldset{border:0;padding:0;margin:0 0 24px}.donation-chooser legend{font-weight:700;margin-bottom:12px}
.donation-chooser label{display:inline-block;margin:8px 16px 8px 0}.donation-amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.donation-amounts button,.donation-back{padding:12px;border:1px solid var(--rule);border-radius:6px;background:var(--paper);color:var(--ink);font:inherit;cursor:pointer}
.donation-amounts button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
#donation-amount{display:block;width:100%;padding:14px;border:1px solid var(--rule);border-radius:6px;font:inherit;background:var(--paper);color:var(--ink)}
.donation-continue{width:100%;padding:16px;background:#b4d968;color:#14263e;font:inherit;font-weight:700;border:0;border-radius:8px;cursor:pointer}
.donation-dialog{width:min(680px,calc(100% - 32px));max-height:85vh;padding:36px;border:0;border-radius:16px;background:var(--paper);color:var(--ink)}
.donation-dialog::backdrop{background:rgba(10,25,44,.65)}.donation-close{float:right;font-size:30px;border:0;background:transparent;color:inherit;cursor:pointer}
.donation-dialog-methods details{border:1px solid var(--rule);border-radius:8px;padding:16px;margin:12px 0}.donation-dialog-methods summary{font-weight:700;cursor:pointer}.donation-dialog-methods dd{margin-left:0;overflow-wrap:anywhere}.donation-dialog-methods dt{font-weight:700;margin-top:12px}
@media(max-width:480px){.donation-chooser,.donation-dialog{padding:20px}.donation-amounts{grid-template-columns:repeat(2,1fr)}}

body > #payment-methods{padding:0;background:transparent}body > #payment-methods > .wrap > p,body > #payment-methods > .wrap > .donation-methods{display:none}.donation-dialog .donation-chooser{border:0;padding:0;margin:20px 0;max-width:none}.donation-dialog [hidden]{display:none!important}

.contact-social-links a{display:inline-flex;align-items:center;gap:8px}.social-icon{width:22px;height:22px;flex:0 0 22px}.contact-social-links a:hover .social-icon{opacity:.8}

@view-transition{navigation:auto}
::view-transition-old(root){animation:page-out 140ms ease both}
::view-transition-new(root){animation:page-in 220ms ease both}
@keyframes page-out{to{opacity:0}}
@keyframes page-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.nav-donate{position:relative;isolation:isolate;overflow:hidden}
.button-glow{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);pointer-events:none;opacity:0;z-index:-1}
.nav-donate,.donation-continue,.donation-amounts button,.inline-link,.gallery-controls button{transition:transform 180ms ease,box-shadow 180ms ease}
@media(hover:hover){.nav-donate:hover,.donation-continue:hover,.donation-amounts button:hover,.gallery-controls button:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgb(15 35 55 / 15%)}.inline-link:hover{transform:translateX(3px)}}
@media(prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}.nav-donate,.donation-continue,.donation-amounts button,.inline-link,.gallery-controls button{transition:none}}

body[data-page=home] main>section:first-child{position:relative;isolation:isolate}
.community-background{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.5;z-index:0}
body[data-page=home] main>section:first-child>.wrap{position:relative;z-index:1}
.programme-depth{transform-style:preserve-3d;transition:transform 200ms ease,box-shadow 200ms ease}
.programme-depth:hover{box-shadow:0 12px 26px rgb(10 25 45 / 12%)}
.gallery-depth-image{transition:transform 350ms ease,filter 350ms ease}
@media(hover:hover){.gallery-grid a:hover .gallery-depth-image{transform:scale(1.025);filter:brightness(1.04)}}
.donation-progress{height:5px;background:var(--rule);border-radius:8px;margin:0 38px 24px 0;overflow:hidden}
.donation-progress span{display:block;height:100%;width:40%;background:#8eaf42;transition:width 350ms ease}
.payment-step-active .donation-progress span{width:100%}
@media(max-width:760px){body[data-page=home] main>section:first-child{background-blend-mode:normal}.community-background{display:none}}
@media(prefers-reduced-motion:reduce){.community-background{display:none}.programme-depth,.gallery-depth-image,.donation-progress span{transition:none!important;transform:none!important}}

body[data-page=gallery] .lead{padding-bottom:32px}
.gallery-filters{display:flex;flex-wrap:wrap;gap:8px;padding-block:12px 28px}
.gallery-filters button{font:inherit;font-size:.88rem;border:1px solid var(--rule);border-radius:24px;padding:10px 16px;background:var(--paper);color:var(--ink);cursor:pointer}
.gallery-filters button[aria-pressed=true]{background:var(--ink);color:var(--paper)}
body[data-page=gallery] .gallery-album{padding-block:32px}
body[data-page=gallery] .gallery-album[hidden]{display:none}
.gallery-album h2{font-size:clamp(1.3rem,2.3vw,1.8rem);margin-bottom:20px}
.gallery-album .gallery-grid{max-width:none;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0 0 18px}
.gallery-tile{display:block;overflow:hidden;border-radius:10px;background:var(--sage);aspect-ratio:4/3}
.gallery-album .gallery-grid img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover;border-radius:0}
.gallery-viewer{width:min(1000px,calc(100% - 24px));max-height:92vh;padding:24px;border:0;border-radius:14px;background:var(--paper);color:var(--ink)}
.gallery-viewer::backdrop{background:rgb(5 15 25 / 85%)}
.gallery-viewer figure{margin:20px 0 0}.gallery-viewer img{display:block;width:100%;height:65vh;object-fit:contain}
.gallery-viewer figcaption{text-align:center;padding:14px}
.gallery-viewer-close{float:right;font-size:30px;background:transparent;border:0;color:inherit;cursor:pointer}
.gallery-viewer-controls{display:flex;justify-content:center;gap:16px}
.gallery-viewer-controls button{border:1px solid var(--rule);background:var(--paper);color:var(--ink);border-radius:50%;width:44px;height:44px;font-size:22px;cursor:pointer}
@media(max-width:900px){.gallery-album .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.gallery-album .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-filters{gap:6px}.gallery-filters button{padding:8px 12px}.gallery-viewer{padding:16px}.gallery-viewer img{height:55vh}}
body[data-page=home] main>section:first-child{overflow:clip}

.creator-credit{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;border-top:1px solid rgb(255 255 255 / 20%);padding-block:20px;font-size:.85rem}.creator-credit details{text-align:right}.creator-credit summary{cursor:pointer}.creator-credit img{display:block;width:160px;height:160px;margin:12px 0 0 auto;background:white;border-radius:4px}@media(max-width:600px){.creator-credit{flex-direction:column}.creator-credit details{text-align:left}.creator-credit img{margin-left:0}}

.intake{max-width:760px;padding-block:32px}.intake label{display:block;margin:16px 0}.intake input:not([type=checkbox]),.intake textarea{display:block;width:100%;padding:12px;font:inherit;border:1px solid var(--rule);border-radius:6px}.intake-consent{display:flex!important;gap:12px;align-items:start}.intake-trap{position:absolute;left:-10000px}.submission-message{white-space:pre-wrap}.gallery-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.gallery-video-grid figure{margin:0}.gallery-video-grid video{width:100%;aspect-ratio:4/3;background:#14263e;object-fit:contain}@media(max-width:700px){.gallery-video-grid{grid-template-columns:1fr}}

.editor .admin-nav{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:20px 0;margin-bottom:24px;border-bottom:1px solid var(--rule)}
.editor .admin-nav>a,.editor .admin-nav button,.editor a.button,.editor button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:8px;border:1px solid var(--rule);font:inherit;line-height:1.4;min-height:44px}
.editor .admin-nav form{margin:0 0 0 auto}.admin-publication{padding:20px;border:1px solid var(--rule);border-radius:12px;margin-bottom:28px}.admin-publication p{margin-top:0}.editor form label{display:block;margin:16px 0}.editor form label input:not([type=checkbox]),.editor form label textarea{display:block;width:100%;padding:12px;font:inherit;border:1px solid var(--rule);border-radius:6px}.admin-password{max-width:640px;padding-block:40px}.editor .news-item{padding:20px;border-bottom:1px solid var(--rule)}
@media(max-width:600px){.editor .admin-nav{display:grid;grid-template-columns:1fr 1fr}.editor .admin-nav form{margin:0}.editor .admin-nav form button{width:100%}}

.password-eye{margin-top:8px!important;padding:6px 12px!important;min-height:36px!important}.intake .donation-method{margin-block:20px}.intake .donation-method form{margin-top:16px}

.section-photo{max-width:720px;margin:24px auto 0;padding-inline:24px}.section-photo img{display:block;max-width:100%;max-height:480px;width:auto;height:auto;margin:auto;object-fit:contain;border-radius:10px}.editor select{display:block;width:100%;padding:12px;font:inherit;border:1px solid var(--rule);border-radius:6px}

.admin-picture-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin-picture-list img{width:100%;height:140px;object-fit:contain;background:var(--sage)}.admin-picture-list label{border:1px solid var(--rule);padding:12px;border-radius:8px}.admin-picture-list span{display:block;margin-top:10px}@media(max-width:650px){.admin-picture-list{grid-template-columns:1fr 1fr}}
