:root {
  color-scheme: light;
  --paper: #faf7f2;
  --white: #fffdf9;
  --ink: #251e2b;
  --muted: #5f5363;
  --plum: #461f45;
  --accent: #84235f;
  --line: #e2d7de;
  --pink: #f4ddec;
  --lilac: #efe3f4;
  --display: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 var(--sans); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #5c2794; outline-offset: 4px; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { color: var(--plum); }
h1, h2 { font-family: var(--display); font-weight: 500; line-height: 1.04; letter-spacing: -.046em; }
h1 { font-size: clamp(3rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
h3 { line-height: 1.25; }
p + p { margin-top: 1rem; }
.wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; top: .75rem; left: .75rem; padding: .5rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); background: var(--white); }
.header-inner { min-height: 5.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand { position: relative; width: 6.4rem; height: 4.7rem; flex-shrink: 0; overflow: hidden; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform: scale(1.28); filter: brightness(1.07); mix-blend-mode: multiply; }
.desktop-nav { display: flex; align-items: center; gap: clamp(.85rem, 2.25vw, 2rem); }
.desktop-nav a, .mobile-nav a { text-decoration: none; font-weight: 650; font-size: .94rem; white-space: nowrap; }
.site-header a[aria-current="page"]:not(.nav-support) { color: var(--accent); text-decoration: underline; text-underline-offset: .3em; }
.desktop-nav .nav-support, .mobile-nav .nav-support {
  display: inline-flex; justify-content: center; padding: .55rem .95rem;
  border: 1px solid var(--plum); border-radius: 999px; color: var(--plum);
}
.nav-support:hover { background: var(--lilac); }
.mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(2rem, 5vw, 5.5rem); padding-block: clamp(2.75rem, 6vw, 5.5rem); }
.hero h1 { font-size: clamp(3.4rem, 6.3vw, 6.35rem); line-height: .98; letter-spacing: -.062em; text-wrap: balance; }
.hero-copy p { max-width: 31rem; margin-top: 1.65rem; font-size: clamp(1.05rem, 1.55vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.85rem; padding: .58rem 1.18rem; border-radius: 2rem; border: 1px solid transparent; font-size: .96rem; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
.button-primary { background: var(--plum); color: white; }
.button-primary:hover { background: #632957; color: white; }
.button-outline { background: transparent; border-color: var(--plum); color: var(--plum); }
.button-outline:hover { background: var(--lilac); color: var(--plum); }
.button-light { color: var(--plum); background: var(--white); }
.button-light:hover { background: var(--pink); color: var(--plum); }
.text-link { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .24em; width: fit-content; }

.hero-art { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 1.08; overflow: hidden; border-radius: 48% 48% 1.4rem 1.4rem; background: radial-gradient(ellipse at 20% 95%, #cfe7f4 0, transparent 63%), linear-gradient(150deg, #f8dae9, #e7d9f3 65%, #e9dcf3); }
.hero-art img { position: absolute; inset: 0; width: 86%; height: 86%; margin: auto; object-fit: contain; filter: brightness(1.07); mix-blend-mode: multiply; transform: translateY(3%); }
.hero-orbit { position: absolute; width: 77%; aspect-ratio: 1; border: 1px solid rgb(108 61 119 / 22%); border-radius: 50%; transform: translate(29%, 22%); }
.hero-orbit::before, .hero-orbit::after { position: absolute; inset: 5%; border: inherit; border-radius: inherit; content: ""; }
.hero-orbit::after { inset: 10%; }

.feature-section { background: #f0e6f2; padding-block: clamp(2.75rem, 6.5vw, 6rem); }
.feature-layout { display: grid; grid-template-columns: 1fr .83fr; gap: clamp(2rem, 6vw, 7rem); align-items: center; }
.feature-copy { padding-block: .7rem; }
.feature-copy h2 { margin: .45rem 0 1rem; max-width: 13ch; }
.feature-copy p:not(.eyebrow) { margin-bottom: 1.2rem; max-width: 36rem; }
.eyebrow { color: var(--accent); font-size: .82rem; font-weight: 800; letter-spacing: .085em; text-transform: uppercase; }
.feature-art, .feature-image { border-radius: 1.35rem; overflow: hidden; min-height: 18rem; }
.feature-image img { width: 100%; height: 100%; min-height: 18rem; aspect-ratio: 1.55; object-fit: cover; }
.feature-art { position: relative; isolation: isolate; display: flex; align-items: end; padding: clamp(1.5rem, 5vw, 3rem); aspect-ratio: 1.55; background: radial-gradient(ellipse at 86% 15%, #9d4e90, transparent 60%), #49234b; color: #fff6fc; }
.feature-circle { position: absolute; z-index: -1; top: -22%; right: -10%; width: 65%; aspect-ratio: 1; border-radius: 50%; border: 1px solid #d69ec6; box-shadow: 0 0 0 1.5rem #d69ec626, 0 0 0 3rem #d69ec625, 0 0 0 4.5rem #d69ec624; }
.feature-place { font-family: var(--display); line-height: .98; font-size: clamp(2.85rem, 6.2vw, 5.8rem); letter-spacing: -.055em; max-width: 10ch; }

.work-section { padding-block: clamp(3rem, 7.5vw, 6.5rem); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.65rem; }
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
.work-card { border-top: 2px solid #9f568b; padding: 1.1rem .1rem 0; }
.work-card:nth-child(2) { border-color: #9359a5; }
.work-card:nth-child(3) { border-color: #357e96; }
.work-card:nth-child(4) { border-color: #6754a4; }
.work-card h3 a { text-decoration: none; }
.work-card h3 a:hover { text-decoration: underline; }
.work-card p { margin-top: .58rem; color: var(--muted); }
.home-next { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: clamp(3rem, 7vw, 6rem); }
.next-card { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.35rem; }
.next-card p { margin: .65rem 0 1.2rem; }
.gallery-next { background: #eadff1; }
.involved-next { background: var(--plum); color: #f7ebf4; }
.involved-next h2 { color: white; }

.page-heading { padding-block: clamp(2.6rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem); }
.page-heading > p:not(.eyebrow) { max-width: 46rem; font-size: clamp(1.07rem, 2vw, 1.25rem); margin-top: 1.1rem; color: var(--muted); }
.page-heading > .eyebrow { margin-bottom: .65rem; }
.page-heading h1 { max-width: 19ch; }
.breadcrumb { display: inline-flex; margin-bottom: 1.05rem; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: clamp(3rem, 6vw, 6rem); }
.info-card, .story-card, .empty-state { background: var(--white); border: 1px solid var(--line); border-radius: 1.15rem; }
.info-card, .story-card-copy, .empty-state { padding: clamp(1.35rem, 3vw, 2.6rem); }
.info-card h2, .story-card h2, .empty-state h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
.info-card p, .story-card p, .empty-state h2 + a { margin-top: .75rem; }
.info-card .button { margin-top: 1rem; }
.info-card a + a { margin-top: .75rem; }
.story-card { overflow: hidden; }
.story-card img { aspect-ratio: 2; object-fit: cover; object-position: 50% 28%; width: 100%; }
.story-card h2 a { text-decoration: none; }
.story-card h2 a:hover { text-decoration: underline; text-underline-offset: .15em; }
.story-card h2 { margin-top: .55rem; }
.story-card .eyebrow { margin-top: 0; }
.empty-state h2 + a { display: inline-flex; }
.donation-note { grid-column: 1 / -1; padding: 1.7rem 0 0; }
.donation-note h2 { font-size: 2rem; }
.donation-note p { margin-top: .55rem; }
.focus-list { margin-bottom: clamp(3rem, 6vw, 6rem); }
.focus-item { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; border-top: 1px solid var(--line); padding-block: 1.8rem; scroll-margin-top: 1rem; }
.focus-item h2 { max-width: 18ch; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.focus-item a { display: block; margin-top: .65rem; }
.story-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.2rem; color: var(--muted); font-size: .95rem; }
.article { margin-bottom: clamp(3rem, 6vw, 5.5rem); }
.article-cover { margin-bottom: 2rem; }
.article-cover img { width: 100%; max-height: 34rem; object-fit: contain; background: var(--lilac); border-radius: 1rem; }
.prose { max-width: 46rem; font-size: 1.12rem; }
.article .gallery-grid { margin-top: 2rem; }
.story-albums { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.story-albums h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.story-albums ul { display: grid; gap: .35rem; padding-left: 1.25rem; }

.gallery-page { margin-bottom: clamp(3rem, 6vw, 6rem); }
.album-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.35rem; }
.album-filters a { border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem; text-decoration: none; font-weight: 650; font-size: .94rem; }
.album-filters a:hover { background: var(--lilac); }
.album-filters a[aria-current] { color: white; background: var(--plum); border-color: var(--plum); }
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.album-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 1rem; background: var(--white); }
.album-cover { display: block; }
.album-cover img { width: 100%; aspect-ratio: 1.58; object-fit: cover; object-position: 50% 28%; }
.album-copy { padding: 1.1rem 1.15rem 1.2rem; }
.album-copy h2 { margin: .35rem 0 .55rem; font-size: clamp(1.65rem, 2.8vw, 2.4rem); line-height: 1.1; }
.album-copy h2 a { text-decoration: none; }
.album-copy h2 a:hover { text-decoration: underline; text-underline-offset: .12em; }
.album-meta { display: flex; flex-wrap: wrap; column-gap: .9rem; margin-top: .6rem; color: var(--muted); font-size: .90rem; }
.gallery-more { margin: 2rem 0 1rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-item, .editor-media-tile { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: .9rem; background: var(--white); }
.gallery-item img, .gallery-item video, .editor-media-tile img, .video-tile { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item video { object-fit: contain; background: var(--ink); }
.gallery-image { display: block; }
.gallery-image:focus-visible { outline-offset: -5px; }
.gallery-image:hover img { filter: brightness(.92); }
figcaption { color: var(--muted); padding: .7rem 1rem; white-space: pre-line; }
.lightbox { width: min(100% - 1.5rem, 61rem); max-height: calc(100% - 1.5rem); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(.75rem, 2vw, 1.4rem); background: var(--white); color: var(--ink); }
.lightbox::backdrop { background: rgb(32 18 32 / 86%); }
.lightbox-top, .lightbox-controls { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.lightbox-top { margin-bottom: .75rem; }
.lightbox-top h2 { font-size: 1.3rem; }
.lightbox img { max-height: min(65vh, 38rem); object-fit: contain; margin-inline: auto; }
.lightbox button { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: .45rem; padding: .4rem .7rem; }

.site-footer { background: #352236; color: #f5eaf5; padding-block: 2.4rem; }
.footer-inner { display: grid; grid-template-columns: 1.15fr .85fr 1fr; align-items: start; gap: 1.8rem; }
.footer-name { font-family: var(--display); font-size: 1.85rem; text-decoration: none; line-height: 1.15; }
.site-footer a:hover { color: white; text-decoration: underline; }
.site-footer p { color: #e7d6e4; margin-top: .25rem; font-size: .93rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.site-footer nav a, .footer-contact a { font-size: .96rem; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.footer-contact a { overflow-wrap: anywhere; }

.form-layout { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 6rem); }
.form-card { border: 1px solid var(--line); border-radius: 1rem; background: var(--white); padding: clamp(1rem, 4vw, 2rem); }
.form-card > div + div { margin-top: 1rem; }
.form-card > .button { margin-top: 1.2rem; }
.form-card label { display: block; font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.form-card label:has(input[type="checkbox"]) { display: flex; align-items: center; gap: .65rem; }
.form-card input:not([type="checkbox"], [type="hidden"]), .form-card textarea, .form-card select {
  display: block; width: 100%; min-height: 2.7rem; padding: .52rem .7rem; color: var(--ink); background: #fff; border: 1px solid #ad9cae; border-radius: .38rem;
}
.form-card textarea { resize: vertical; }
.form-card .helptext { color: var(--muted); font-size: .92rem; margin-top: .26rem; }
.errorlist { margin: .5rem 0; padding: .55rem .75rem .55rem 1.8rem; border-radius: .4rem; background: #fbe4e6; color: #812137; }
.notice { padding: .85rem 1.05rem; background: #e8f0e2; border: 1px solid #cbdcc3; border-radius: .5rem; margin-bottom: 1rem; }
.preview-notice, .preview-bar { background: #f4e7ba; color: #523e16; border-color: #e3d1a1; }
.preview-bar { padding: .55rem 1rem; text-align: center; font-weight: 700; }
.preview-bar a { margin-left: .6rem; }

.editor-body { background: #f5f1f6; }
.editor-wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.editor-header { background: var(--white); border-bottom: 1px solid var(--line); }
.editor-header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; min-height: 4.4rem; padding-block: .55rem; }
.editor-brand { text-decoration: none; font-weight: 750; color: var(--plum); }
.editor-brand span { margin-left: .35rem; font-weight: 550; color: var(--muted); }
.editor-header nav { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.1rem; font-size: .92rem; }
.editor-header nav a { text-decoration: none; font-weight: 650; }
.quiet-button { background: transparent; padding: .4rem .2rem; border: 0; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; }
.editor-main { padding-block: 2rem 4rem; }
.editor-main h1 { font-size: clamp(2.1rem, 5vw, 3.85rem); }
.editor-main h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
.editor-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: .25rem 0 1.3rem; }
.editor-heading p, .editor-login p { color: var(--muted); margin-top: .45rem; }
.editor-columns { display: grid; grid-template-columns: 1.15fr .85fr; gap: 1rem; }
.editor-panel { background: var(--white); border: 1px solid var(--line); border-radius: 1rem; padding: 1.15rem 1.4rem; }
.editor-list { list-style: none; padding: 0; margin: .8rem 0 0; }
.editor-list li { display: flex; justify-content: space-between; gap: .5rem; border-top: 1px solid var(--line); padding-block: .6rem; }
.editor-list a { font-weight: 650; text-underline-offset: .2em; }
.item-status { color: var(--muted); font-size: .88rem; }
.editor-gallery-callout { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1rem; }
.editor-gallery-callout p { margin-top: .45rem; }
.editor-login { max-width: 29rem; margin: 2rem auto; }
.editor-login form, .editor-form { margin-top: 1rem; }
.editor-form { max-width: 50rem; }
.editor-section-heading { margin-top: .1rem; }
.upload-form { margin-bottom: 2rem; }
.album-editor-panel { margin-bottom: 1.1rem; }
.album-editor-panel .editor-heading { align-items: center; margin-bottom: .5rem; }
.editor-media-grid { margin-top: 1rem; }
.editor-media-tile a { display: block; text-decoration: none; }
.editor-media-tile a:hover strong { text-decoration: underline; }
.media-tile-copy { display: grid; padding: .65rem .8rem; overflow-wrap: anywhere; }
.video-tile { display: grid; place-items: center; color: var(--plum); background: var(--lilac); }
.media-editor-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 1rem; align-items: start; }

@media (max-width: 900px) {
  .hero { gap: 2rem; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 2rem, 76rem); }
  .header-inner { min-height: 4.2rem; }
  .brand { width: 5.5rem; height: 3.9rem; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: flex; align-items: center; gap: .6rem; color: var(--plum); font-weight: 700; cursor: pointer; list-style: none; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { display: grid; gap: .25rem; position: absolute; right: 0; top: calc(100% + .75rem); z-index: 3; min-width: 11.75rem; padding: .5rem; border: 1px solid var(--line); border-radius: .75rem; background: var(--white); box-shadow: 0 .5rem 1.5rem #3421351a; }
  .mobile-nav a { padding: .45rem .65rem; }
  .mobile-nav .nav-support { margin-top: .35rem; }
  .hero { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero h1 { font-size: clamp(3rem, 10vw, 5rem); max-width: 14ch; }
  .hero-art { width: min(100%, 27rem); }
  .feature-layout { grid-template-columns: 1fr; gap: 1.25rem; }
  .feature-art, .feature-image, .feature-image img { min-height: 13rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .footer-contact { grid-column: 1 / -1; }
  .gallery-grid, .album-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .section-heading, .editor-heading, .editor-gallery-callout { display: grid; justify-content: stretch; }
  .section-heading { align-items: start; }
  .editor-heading > .button, .editor-gallery-callout > .button { width: fit-content; }
  .content-grid, .home-next, .focus-item, .footer-inner, .editor-columns, .media-editor-layout, .album-grid { grid-template-columns: 1fr; }
  .focus-item { gap: .55rem; }
  .work-grid { grid-template-columns: 1fr; }
  .footer-contact { grid-column: auto; }
  .gallery-grid { gap: .65rem; }
  .gallery-item figcaption { font-size: .95rem; padding: .5rem .65rem; }
}
