:root {
  --ink: #17131f;
  --ink-soft: #292330;
  --paper: #fffdf7;
  --cream: #f5f0e4;
  --yellow: #ffd84a;
  --pink: #f33d87;
  --blue: #66d8ff;
  --green: #2ce09a;
  --violet: #7a4cff;
  --red: #ff5b49;
  --line: rgba(23,19,31,.18);
  --shadow: 0 24px 80px rgba(23,19,31,.18);
  --radius: 1.25rem;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.6; }
body::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; left: 1rem; top: -5rem; background: var(--yellow); padding: .75rem 1rem; font-weight: 800; border-radius: 0 0 .5rem .5rem; }
.skip-link:focus { top: 0; }
.spectrum { height: .55rem; background: linear-gradient(90deg, #ed1c24 0 16.6%, #ff8c00 16.6% 33.2%, #f7df1e 33.2% 49.8%, #21a366 49.8% 66.4%, #2585d9 66.4% 83%, #7b2cbf 83%); }

.site-header { position: sticky; z-index: 30; top: 0; min-height: 13rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem clamp(1rem, 4vw, 4rem) .75rem; background: rgba(255,253,247,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { width: 100%; min-width: 0; display: inline-flex; align-items: center; gap: 1.5rem; text-decoration: none; }
.brand img { width: 10.5rem; height: 10.5rem; flex: 0 0 auto; object-fit: contain; border-radius: 1rem; background: #fff; }
.brand span { display: grid; line-height: 1.05; letter-spacing: -.02em; }
.brand strong { font-size: clamp(1.8rem, 3.4vw, 3rem); white-space: nowrap; }
.brand small { font-size: 1.12rem; margin-top: .25rem; font-weight: 700; }
.brand-host { font-family: "Brush Script MT", "Segoe Script", cursive; font-size: clamp(1.2rem, 2.27vw, 2rem); font-weight: 600; line-height: 1.1; letter-spacing: .01em; }
.site-nav { width: 100%; display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 1.7vw, 1.65rem); padding-top: .7rem; border-top: 1px solid var(--line); }
.site-nav a { text-decoration: none; font-size: .86rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .45rem; }
.site-nav .nav-donate { padding: .75rem 1rem; color: #fff; background: var(--ink); border-radius: 999px; }
.site-nav .nav-donate:hover { color: var(--ink); background: var(--yellow); text-decoration: none; }
.menu-toggle { display: none; width: 3rem; height: 3rem; align-items: center; justify-content: center; flex-direction: column; gap: .45rem; border: 0; border-radius: 50%; color: #fff; background: var(--ink); }
.menu-toggle span:not(.sr-only) { width: 1.35rem; height: 2px; background: currentColor; }

.shell { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.eyebrow { margin: 0 0 .8rem; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.display { margin: 0; font-size: clamp(3.2rem, 9vw, 8rem); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; }
.rainbow-text { color: transparent; background: linear-gradient(90deg, #ff4f6d 0%, #ff9d3f 20%, #ffe34f 39%, #66d978 57%, #58bfff 76%, #c48aff 100%); background-clip: text; -webkit-background-clip: text; }
.display .outline { color: transparent; -webkit-text-stroke: 2px currentColor; }
.lede { max-width: 44rem; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.45; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .85rem 1.2rem; border: 2px solid var(--ink); border-radius: 999px; color: #fff; background: var(--ink); font-size: .9rem; font-weight: 900; letter-spacing: .02em; text-decoration: none; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); color: var(--ink); background: var(--yellow); }
.button.light { border-color: #fff; color: var(--ink); background: #fff; }
.button.light:hover { background: var(--yellow); border-color: var(--yellow); }
.button.ghost { color: var(--ink); background: transparent; }
.text-link { font-weight: 900; text-underline-offset: .25rem; }

.hero { min-height: calc(100svh - 13.55rem); display: grid; align-items: end; padding: clamp(2rem, 7vw, 6.5rem) 0; color: #fff; background-image: linear-gradient(90deg, rgba(23,19,31,.87) 0%, rgba(23,19,31,.46) 58%, rgba(23,19,31,.2) 100%), url('/assets/images/community.jpg'); background-size: cover; background-position: center; background-attachment: fixed; }
.hero-card { max-width: 58rem; padding: clamp(1.4rem, 4vw, 3rem); background: rgba(23,19,31,.9); box-shadow: var(--shadow); clip-path: polygon(0 0, 94% 0, 100% 16%, 100% 100%, 0 100%); }
.hero .date-line { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; margin: 1.6rem 0 0; font-weight: 800; }
.hero .date-line span { display: inline-flex; align-items: center; gap: .5rem; }
.hero .date-line span::before { content: ''; width: .6rem; height: .6rem; border-radius: 50%; background: var(--yellow); }

.marquee { overflow: hidden; border-block: 1px solid var(--ink); background: linear-gradient(90deg, #ff6b78 0%, #ffad5c 18%, #ffe55c 36%, #69d58a 54%, #58c7ff 72%, #b795ff 90%, #ff6b78 100%); background-size: 200% 100%; animation: rainbow-flow 18s linear infinite; }
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { padding: .8rem 1.8rem; font-size: 1rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.marquee-track span::after { content: '✦'; margin-left: 3.6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes rainbow-flow { to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .marquee, .marquee-track { animation: none; } }

.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section.dark { color: #fff; background: var(--ink); }
.section.cream { background: var(--cream); }
.section.pink { background: var(--pink); }
.section.yellow { background: var(--yellow); }
.section-head { display: grid; grid-template-columns: minmax(0, .9fr) minmax(18rem, .55fr); gap: 3rem; align-items: end; margin-bottom: 3rem; }
.section-head h2, .card h2, .card h3 { margin: 0; line-height: .98; letter-spacing: -.045em; }
.section-head h2 { font-size: clamp(2.7rem, 6vw, 5.75rem); }
.section-head p { margin: 0; font-size: 1.12rem; }

.action-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.25rem; }
.card { position: relative; overflow: hidden; min-height: 22rem; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.card h2 { font-size: clamp(2.4rem, 5vw, 4.7rem); }
.card h3 { font-size: clamp(1.55rem, 3vw, 2.35rem); }
.card p { max-width: 38rem; }
.card-dark { color: #fff; background: var(--ink); border-color: transparent; }
.card-photo { min-height: 32rem; display: flex; align-items: flex-end; color: #fff; background-position: center; background-size: cover; }
.card-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,19,31,.92), rgba(23,19,31,.05) 75%); }
.card-photo > * { position: relative; z-index: 1; }
.card-photo.joy { background-image: url('/assets/images/joy.jpg'); }
.card-photo.stage { background-image: url('/assets/images/stage.jpg'); }
.card-photo.pride-2025-297 { background-image: url('/assets/images/Pride-Marysville2025-297.jpg'); }
.card .kicker { display: inline-block; margin-bottom: 5rem; padding: .4rem .65rem; color: var(--ink); background: var(--yellow); border-radius: .4rem; font-size: .72rem; font-weight: 900; text-transform: uppercase; }

.newsletter-form { display: grid; gap: .85rem; margin-top: 2.5rem; }
.newsletter-submit-row { display: grid; grid-template-columns: 1fr auto; gap: .7rem; }
.newsletter-form input, .form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 2px solid var(--ink); border-radius: .7rem; background: #fff; padding: .9rem 1rem; color: var(--ink); }
.newsletter-form button { cursor: pointer; }
.consent-field { display: grid; grid-template-columns: 1.15rem 1fr; gap: .7rem; align-items: start; font-size: .88rem; line-height: 1.4; cursor: pointer; }
.consent-field input { width: 1.15rem; height: 1.15rem; margin: .1rem 0 0; padding: 0; accent-color: var(--pink); }
.website-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status { min-height: 1.5em; margin: .15rem 0 0; font-size: .86rem; font-weight: 800; }
.form-status:empty { display: none; }
.form-status.is-pending { opacity: .78; }
.form-status.is-success { color: var(--green); }
.form-status.is-error { color: #ff8d80; }
.form-grid .form-status.is-success { color: #087a51; }
.form-grid .form-status.is-error { color: #b42318; }
.button:disabled { cursor: wait; opacity: .65; transform: none; }
.form-note { margin-top: .75rem; font-size: .78rem; opacity: .72; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.image-frame { position: relative; }
.image-frame::before { content: ''; position: absolute; inset: 1rem -1rem -1rem 1rem; z-index: 0; background: var(--yellow); border-radius: var(--radius); }
.image-frame img { position: relative; z-index: 1; width: 100%; height: clamp(26rem, 55vw, 43rem); object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.split-copy h2 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.6rem); line-height: .92; letter-spacing: -.055em; }
.split-copy p { font-size: 1.1rem; }

.donate-panel { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.donate-panel h2 { margin: 0; max-width: 13ch; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .85; letter-spacing: -.06em; text-transform: uppercase; }
.qr-card { width: min(100%, 21rem); padding: 1rem; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--ink); }
.qr-card img { width: 100%; image-rendering: auto; }
.qr-card p { margin: .75rem .25rem .2rem; font-weight: 900; text-align: center; }

.page-hero { position: relative; min-height: 31rem; display: flex; align-items: end; color: #fff; background-size: cover; background-position: center; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,19,31,.93), rgba(23,19,31,.25)); }
.page-hero > .shell { position: relative; z-index: 1; padding-block: clamp(4rem, 9vw, 7rem); }
.page-hero.about { background-image: url('/assets/images/welcome.jpg'); background-position: center 42%; }
.page-hero.event { background-image: url('/assets/images/stage.jpg'); }
.page-hero.yearround { background-image: url('/assets/images/joy.jpg'); background-position: center 42%; }
.page-hero.resources { background-image: url('/assets/images/community.jpg'); }
.page-hero.gallery { min-height: 24rem; background-image: url('/assets/images/Pride-Marysville2025-44.jpg'); background-position: center 44%; }
.page-hero.news { background-image: url('/assets/images/performance.jpg'); background-position: center 32%; }
.page-hero h1 { max-width: 12ch; margin: 0; font-size: clamp(3.7rem, 9vw, 8rem); line-height: .82; letter-spacing: -.07em; text-transform: uppercase; }
.page-hero p { max-width: 40rem; margin: 1.5rem 0 0; font-size: 1.2rem; }

.mission-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 7vw, 7rem); }
.mission-grid h2 { position: sticky; top: 8rem; margin: 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .94; letter-spacing: -.05em; }
.purpose-list { counter-reset: purpose; display: grid; gap: 1rem; }
.purpose { counter-increment: purpose; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.purpose::before { content: counter(purpose, upper-alpha); display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: 50%; color: #fff; background: var(--ink); font-weight: 900; }
.purpose h3 { margin: 0 0 .4rem; font-size: 1.35rem; }
.purpose p { margin: 0; }

.fact-strip { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.fact { padding: clamp(1.5rem, 4vw, 2.5rem); background: #fff; }
.fact + .fact { border-left: 2px solid var(--ink); }
.fact small { display: block; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.fact strong { display: block; margin-top: .5rem; font-size: clamp(1.5rem, 3vw, 2.7rem); line-height: 1; letter-spacing: -.04em; }
.status-pill { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; padding: .45rem .7rem; border-radius: 999px; background: var(--cream); font-size: .8rem; font-weight: 850; }
.status-pill::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: var(--violet); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.resource-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile { min-height: 18rem; display: flex; flex-direction: column; justify-content: space-between; padding: 1.7rem; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; transition: transform .2s, box-shadow .2s; }
.tile:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--ink); }
.tile-icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: .8rem; color: #fff; background: var(--ink); font-weight: 950; }
.tile h3 { margin: 2.5rem 0 .5rem; font-size: 1.6rem; line-height: 1.05; }
.tile p { margin: 0; }
.tile .coming { margin-top: 1.5rem; font-size: .76rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.resource-category-wide { grid-column: 1 / -1; min-height: 0; }
.resource-category-wide > div { width: 100%; }
.resource-listings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.resource-listing { padding: 1.35rem; border: 2px solid var(--ink); border-radius: 1rem; background: var(--cream); }
.resource-listing h4 { margin: 0 0 1.1rem; font-size: 1.25rem; line-height: 1.15; }
.resource-details { display: grid; gap: .85rem; margin: 0; }
.resource-details > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: .75rem; align-items: start; }
.resource-details dt { font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.resource-details dd { min-width: 0; margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.resource-details a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.resource-details a:hover { color: var(--violet); }
.resource-link-separator { padding: 0 .2rem; }
.resource-verified { margin-top: 1.2rem !important; padding-top: .85rem; border-top: 1px solid rgba(23,19,31,.2); color: rgba(23,19,31,.7); font-size: .82rem; font-weight: 750; }
.resource-disclaimer { margin-top: 1.5rem; padding: 1.25rem 1.4rem; border: 2px solid var(--ink); border-radius: 1rem; background: rgba(255,255,255,.6); font-size: .92rem; line-height: 1.55; }
.resource-disclaimer + .button-row { margin-top: 1.5rem; }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; }
.contact-card { padding: 2rem; border-radius: var(--radius); color: #fff; background: var(--ink); }
.contact-card a { display: block; margin: 1rem 0; font-weight: 850; overflow-wrap: anywhere; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: grid; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 850; }
.form-grid textarea { min-height: 10rem; resize: vertical; }
.form-grid .button { cursor: pointer; justify-self: start; }
.idea-dialog { width: min(44rem, calc(100% - 2rem)); max-height: calc(100svh - 2rem); margin: auto; padding: 0; border: 0; border-radius: var(--radius); color: var(--ink); background: transparent; box-shadow: var(--shadow); }
.idea-dialog::backdrop { background: rgba(23,19,31,.78); backdrop-filter: blur(5px); }
.idea-dialog-card { position: relative; padding: clamp(1.5rem, 5vw, 3rem); background: var(--paper); border: 3px solid var(--ink); border-radius: var(--radius); }
.idea-dialog-card h2 { margin: 0; font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: .92; letter-spacing: -.05em; }
.idea-dialog-card > p:not(.eyebrow) { margin: 1rem 0 1.75rem; }
.idea-dialog-close { position: absolute; top: .8rem; right: .8rem; width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; color: #fff; background: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.idea-dialog-close:hover { color: var(--ink); background: var(--yellow); }
.optional { font-size: .85em; font-weight: 500; opacity: .72; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.news-card { min-height: 22rem; display: flex; flex-direction: column; padding: 1.75rem; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; }
.news-card.featured { grid-column: span 2; color: #fff; background: var(--violet); }
.news-card .tag { align-self: flex-start; padding: .35rem .6rem; border-radius: 999px; color: var(--ink); background: var(--yellow); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.news-card h2 { margin: auto 0 .75rem; font-size: clamp(2rem, 4vw, 3.8rem); line-height: .95; letter-spacing: -.045em; }
.news-card h3 { margin: auto 0 .75rem; font-size: 1.7rem; line-height: 1.05; }
.event-news-card { min-width: 0; }
.event-news-card h3 { margin: 1.2rem 0 1rem; }
.event-cube-scene { min-height: 15.5rem; perspective: 1100px; }
.event-cube { position: relative; width: 100%; height: 15.5rem; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.2,.75,.25,1); }
.event-cube::before, .event-cube::after { content: ''; position: absolute; top: 0; bottom: 0; width: 1.2rem; background: linear-gradient(180deg, var(--pink), var(--yellow), var(--green), var(--blue), var(--violet)); opacity: .78; }
.event-cube::before { left: -.6rem; transform: rotateY(90deg); }
.event-cube::after { right: -.6rem; transform: rotateY(-90deg); }
.event-cube-face { position: absolute; inset: 0; display: flex; align-items: stretch; overflow: hidden; padding: 1.15rem; border: 2px solid var(--ink); border-radius: .9rem; background: var(--cream); backface-visibility: hidden; box-shadow: 5px 5px 0 var(--yellow); }
.event-cube-front { transform: rotateY(0deg) translateZ(.6rem); }
.event-cube-back { transform: rotateY(180deg) translateZ(.6rem); }
.event-cube-content { width: 100%; display: flex; flex-direction: column; justify-content: center; }
.event-cube-content h4, .event-calendar-item h4 { margin: .35rem 0 .7rem; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.05; }
.event-date { margin: 0; color: #5b2a86; font-size: .77rem; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.event-cube-content .text-link { margin-top: .4rem; }
.event-location { margin: .15rem 0 .55rem; font-size: .9rem; line-height: 1.35; }
.event-empty { margin: auto; font-weight: 800; line-height: 1.45; }
.event-card-actions { display: flex; flex-wrap: wrap; gap: .55rem 1rem; margin-top: 1rem; }
.event-link-button { padding: 0; border: 0; color: inherit; background: transparent; font: inherit; cursor: pointer; }
.events-dialog { width: min(52rem, calc(100% - 2rem)); }
.events-dialog-card { min-height: min(42rem, calc(100svh - 2rem)); }
.events-month-nav { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; margin: 2rem 0 1.25rem; padding-block: 1rem; border-block: 2px solid var(--ink); }
.events-month-title { margin: 0; font-size: clamp(1.45rem, 4vw, 2.35rem); line-height: 1; text-align: center; }
.events-month-arrow { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; color: #fff; background: var(--ink); font-size: 1.25rem; font-weight: 950; cursor: pointer; }
.events-month-arrow:hover { color: var(--ink); background: var(--yellow); }
.events-month-list { display: grid; gap: 1rem; }
.event-calendar-item { padding: 1.25rem; border: 2px solid var(--ink); border-radius: .9rem; background: var(--cream); }
.event-calendar-item p { margin: .45rem 0 0; }
.event-calendar-item .text-link { display: inline-block; margin-top: .8rem; }
.event-speakers { font-size: .92rem; }

.gallery-directory { padding: clamp(3rem, 7vw, 6rem) 0; }
.gallery-parent + .gallery-parent { margin-top: clamp(5rem, 10vw, 9rem); padding-top: clamp(4rem, 8vw, 7rem); border-top: 2px solid var(--ink); }
.gallery-parent-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: end; margin-bottom: 2.5rem; }
.gallery-parent-head h2 { margin: 0; font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; }
.gallery-parent-head p { margin: 0 0 .35rem; font-weight: 850; }
.gallery-subsections { display: grid; gap: clamp(3rem, 7vw, 6rem); }
.gallery-subsection { display: grid; grid-template-columns: minmax(11rem, .28fr) minmax(0, 1fr); gap: clamp(1.3rem, 4vw, 3.5rem); align-items: start; }
.gallery-subsection-head { padding-top: .4rem; }
.gallery-subsection-head h3 { margin: 0; font-size: clamp(1.7rem, 3.5vw, 3.2rem); line-height: .95; letter-spacing: -.04em; }
.gallery-subsection-head p { margin: .7rem 0 0; font-weight: 850; }
.slideshow { min-width: 0; overflow: hidden; border: 2px solid var(--ink); border-radius: var(--radius); background: var(--ink); box-shadow: 10px 10px 0 var(--yellow); }
.gallery-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0c0910; }
.gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: none; }
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; background: #0c0910; }
.gallery-slide.is-current { z-index: 1; opacity: 1; }
.gallery-slide.entering, .gallery-slide.leaving { transition: transform .9s cubic-bezier(.22,.75,.22,1), opacity .9s ease; }
.gallery-slide.entering { z-index: 2; }
.gallery-slide.leaving { z-index: 1; opacity: 1; }
.gallery-slide.entering.motion-left { opacity: .2; transform: translateX(22%); }
.gallery-slide.entering.motion-up { opacity: .2; transform: translateY(18%); }
.gallery-slide.entering.motion-zoom { opacity: 0; transform: scale(1.12); }
.gallery-slide.entering.motion-swing { opacity: 0; transform: rotate(3deg) scale(1.06); }
.gallery-slide.entering.is-active { opacity: 1; transform: none; }
.gallery-slide.leaving.motion-left.is-active { opacity: 0; transform: translateX(-22%); }
.gallery-slide.leaving.motion-up.is-active { opacity: 0; transform: translateY(-18%); }
.gallery-slide.leaving.motion-zoom.is-active { opacity: 0; transform: scale(.9); }
.gallery-slide.leaving.motion-swing.is-active { opacity: 0; transform: rotate(-3deg) scale(.94); }
.gallery-controls { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem 1.2rem; align-items: center; padding: .9rem 1rem; color: #fff; background: var(--ink); }
.gallery-buttons { display: flex; gap: .45rem; }
.gallery-control { width: 2.55rem; height: 2.55rem; display: grid; place-items: center; cursor: pointer; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; background: transparent; font-weight: 900; }
.gallery-control:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.gallery-counter { min-width: 5.5rem; font-variant-numeric: tabular-nums; font-size: .84rem; font-weight: 850; text-align: right; }
.gallery-progress { height: .35rem; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.22); }
.gallery-progress span { display: block; width: 100%; height: 100%; background: var(--yellow); transform-origin: left; animation: gallery-timer 8s linear forwards; }
.slideshow.is-paused .gallery-progress span { animation-play-state: paused; }
@keyframes gallery-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.gallery-credit { padding: 0 0 clamp(4rem, 8vw, 7rem); }
.photo-credit { position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 2.5rem); border: 2px solid var(--ink); border-radius: var(--radius); background: var(--cream); box-shadow: 10px 10px 0 var(--violet); }
.photo-credit::before { content: ''; position: absolute; inset: 0 0 auto; height: .55rem; background: linear-gradient(90deg, #ed1c24, #ff8c00, #f7df1e, #21a366, #2585d9, #7b2cbf); }
.photo-credit .eyebrow { margin-top: .4rem; color: var(--violet); }
.photo-credit > p:last-child { max-width: 68rem; margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.65; }
.photo-credit a { font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: .22rem; }
.photo-credit a:hover { color: var(--violet); }

.site-footer { padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 4vw, 4rem) 1.5rem; color: #fff; background: var(--ink); }
.footer-lead { display: flex; align-items: center; gap: 1.5rem; }
.footer-lead img { width: 7rem; height: 7rem; object-fit: contain; border-radius: 1rem; background: #fff; }
.footer-call { margin: 0; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .82; letter-spacing: -.055em; text-transform: uppercase; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 5rem 0; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.2); }
.footer-links > div { display: grid; align-content: start; gap: .55rem; }
.footer-links a { width: fit-content; text-decoration-thickness: 1px; text-underline-offset: .25rem; }
.footer-label { margin: 0 0 .5rem; color: var(--yellow); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.2); font-size: .82rem; }
.footer-bottom p { margin: 0; }

@media (min-width: 981px) {
  .page-hero.gallery { background-position: center 20%; }
}

@media (max-width: 980px) {
  .site-header { flex-wrap: wrap; gap: .3rem 1.5rem; padding-bottom: .35rem; }
  .menu-toggle { display: none; }
  .site-nav, .site-nav.open { position: static; display: flex; width: 100%; min-width: 0; justify-content: flex-start; align-items: center; gap: 1.25rem; padding: .55rem .1rem .7rem; overflow-x: auto; background: transparent; border-top: 1px solid var(--line); border-bottom: 0; box-shadow: none; scrollbar-width: none; }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: 0 0 auto; padding: .2rem 0; font-size: .9rem; }
  .site-nav .nav-donate { margin: 0; padding: .55rem .9rem; text-align: center; }
  .action-grid, .section-head, .mission-grid, .contact-layout { grid-template-columns: 1fr; }
  .mission-grid h2 { position: static; }
  .tiles, .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-card.featured { grid-column: span 2; }
  .gallery-subsection { grid-template-columns: 1fr; }
  .gallery-subsection-head { display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
}

@media (max-width: 700px) {
  .site-header { min-height: 9rem; }
  .brand { min-width: 0; gap: .7rem; }
  .brand img { width: 6.5rem; height: 6.5rem; }
  .brand span { display: grid; }
  .brand strong { font-size: clamp(1rem, 4vw, 1.25rem); }
  .brand small { font-size: .95rem; }
  .brand-host { font-size: clamp(.67rem, 2.67vw, .83rem); }
  .hero { min-height: 44rem; background-attachment: scroll; background-position: 54% center; }
  .hero-card { clip-path: polygon(0 0, 91% 0, 100% 8%, 100% 100%, 0 100%); }
  .action-grid, .split, .donate-panel, .tiles, .news-grid, .footer-links, .fact-strip, .form-grid { grid-template-columns: 1fr; }
  .resource-listings { grid-template-columns: 1fr; }
  .resource-details > div { grid-template-columns: 1fr; gap: .2rem; }
  .split.reverse > :first-child { order: initial; }
  .card-photo { min-height: 27rem; }
  .newsletter-submit-row { grid-template-columns: 1fr; }
  .qr-card { justify-self: start; }
  .fact + .fact { border-left: 0; border-top: 2px solid var(--ink); }
  .news-card.featured { grid-column: auto; }
  .event-cube-scene, .event-cube { min-height: 17rem; height: 17rem; }
  .event-card-actions { align-items: flex-start; flex-direction: column; }
  .events-dialog-card { padding-top: 3.6rem; }
  .gallery-parent-head { grid-template-columns: 1fr; }
  .gallery-subsection-head { display: block; }
  .gallery-controls { grid-template-columns: auto 1fr auto; gap: .6rem; }
  .gallery-stage { aspect-ratio: 4 / 3; }
  .form-field.full { grid-column: auto; }
  .footer-lead { align-items: flex-start; }
  .footer-lead img { width: 5rem; height: 5rem; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .event-cube { transition: none; }
  .gallery-slide.entering, .gallery-slide.leaving { transition: opacity .2s linear; transform: none !important; }
  .gallery-progress span { animation: none; transform: scaleX(1); }
}
