:root {
  color-scheme: light;
  --paper: #fbf9f3;
  --linen: #f1ede3;
  --white: #fffdf8;
  --ink: #202b23;
  --muted: #525b4f;
  --forest: #192922;
  --forest-light: #294238;
  --line: #dfdacd;
  --gold: #ebc77e;
  --rust: #7b472b;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-family: var(--sans);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.07; }
h2 { font-size: clamp(2.1rem, 4vw, 3.15rem); letter-spacing: -.036em; }
h3 { font-size: clamp(1.35rem, 2.3vw, 1.8rem); letter-spacing: -.021em; }
a { color: #3b5745; text-underline-offset: .2em; }
a:hover { color: var(--rust); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 3px solid #9a5a23; outline-offset: 4px; }
.hero :focus-visible, .meeting-panel :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
[id] { scroll-margin-top: 1.5rem; }

.container {
  width: min(100% - 6rem, 75rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 5;
  inset: .5rem auto auto .5rem;
  padding: .75rem 1rem;
  transform: translateY(-200%);
  color: var(--white);
  background: var(--forest);
}

.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 5.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); line-height: 1.13; text-decoration: none; white-space: nowrap; }
.brand img { width: 3rem; height: 3rem; object-fit: contain; }
.brand strong { display: block; font: 500 1.4rem/1.15 var(--serif); letter-spacing: -.025em; }
.brand small { display: block; margin-top: .25rem; color: var(--muted); font-size: .75rem; letter-spacing: .04em; }
.site-nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2rem); }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; }
.site-nav a:hover, .site-nav .active { color: var(--rust); }
.site-nav .active { text-decoration: underline; text-decoration-thickness: .1em; text-underline-offset: .35em; }
.menu-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 2.9rem;
  padding: .66rem 1.1rem;
  border: 1px solid transparent;
  border-radius: .22rem;
  text-decoration: none;
  font-size: .9rem;
  text-align: center;
  font-weight: 700;
  line-height: 1.35;
  transition: color .16s ease, background .16s ease, border-color .16s ease;
}

.button-group { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.button-primary { color: var(--white); background: var(--forest); }
.button-primary:hover { color: var(--white); background: var(--forest-light); }
.button-outline, .header-donate { color: var(--forest); border-color: #66766a; }
.button-outline:hover, .site-nav .header-donate:hover { color: var(--white); background: var(--forest); border-color: var(--forest); }
.button-gold { color: #29291e; background: var(--gold); }
.button-gold:hover { color: #29291e; background: #f7dca4; }
.button-light-outline { color: var(--white); border-color: #b8bcb0; }
.button-light-outline:hover { color: var(--forest); background: var(--white); border-color: var(--white); }
.eyebrow { color: var(--rust); font-size: .76rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }

.hero { min-height: 35.25rem; display: grid; align-items: center; position: relative; isolation: isolate; color: var(--white); background: var(--forest); }
.hero-photo { position: absolute; z-index: -1; inset: 0 0 0 32%; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }
.hero-photo::after { position: absolute; content: ''; inset: 0; background: linear-gradient(90deg, var(--forest) 0%, rgba(25, 41, 34, .96) 7%, rgba(25, 41, 34, .42) 39%, transparent 68%), linear-gradient(0deg, rgba(13, 22, 17, .55), transparent 28%); }
.hero-photo figcaption { position: absolute; z-index: 1; bottom: 1.15rem; right: clamp(1.25rem, 5vw, 4.5rem); color: white; font-size: .76rem; text-shadow: 0 1px 4px #111; }
.hero-content { padding-block: 4.75rem 5.25rem; }
.hero .eyebrow, .meeting-panel .eyebrow { color: var(--gold); }
.hero .eyebrow { display: flex; gap: .75rem; align-items: center; }
.hero .eyebrow::before { content: ''; width: 1.7rem; height: 1px; background: currentColor; }
.hero h1 { margin: .75rem 0 1.25rem; font-size: clamp(3.65rem, 6.1vw, 6.5rem); line-height: .99; letter-spacing: -.065em; }
.hero-summary { max-width: 25rem; color: #efefe6; font-size: clamp(1rem, 1.45vw, 1.18rem); }
.hero .button-group { margin-top: 1.8rem; }

.section { padding-block: clamp(3.4rem, 6.15vw, 6rem); }
.section-tinted { background: var(--linen); }
.section-heading { display: flex; justify-content: space-between; gap: 1.25rem; align-items: end; margin-bottom: 1.7rem; }
.section-heading p { color: var(--muted); margin-top: .55rem; }
.section-heading > .text-link { flex-shrink: 0; }
.text-link { font-weight: 700; font-size: .925rem; text-decoration-color: #a3957f; text-underline-offset: .3em; }
.text-link span { margin-left: .2em; font-size: 1.2em; line-height: .9; }

.card-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.card-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: .28rem; }
.upcoming-grid > .feature-card:only-child { grid-column: 1 / -1; max-width: 36rem; }
.next-meeting-card { align-self: start; gap: .9rem; padding: clamp(1.25rem, 3vw, 2rem); background: var(--linen); }
.next-meeting-card .button { align-self: flex-start; }
.card-link { display: flex; flex: 1; flex-direction: column; overflow: hidden; border-radius: inherit; color: var(--ink); text-decoration: none; }
.card-link:hover { color: var(--ink); }
.card-media { overflow: hidden; aspect-ratio: 1.8; background: #e9e4d8; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.card-link:hover .card-media img { transform: scale(1.025); }
.card-media.artwork, .editorial-photo.artwork { display: grid; place-items: center; background: #eae6d8; }
.card-media.artwork img { width: auto; max-width: 67%; height: 74%; object-fit: contain; mix-blend-mode: multiply; }
.card-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; padding: clamp(1rem, 2.5vw, 1.65rem); }
.card-content > p:not(.eyebrow) { color: var(--muted); margin-bottom: .35rem; }
.card-content .text-link { margin-top: auto; color: #3b5745; }
.card-action { padding: 0 clamp(1rem, 2.5vw, 1.65rem) clamp(1rem, 2.5vw, 1.65rem); }
.card-link:hover .text-link { text-decoration: underline; }

.notice-section { padding-block: 1.7rem; background: #f0e3ca; }
.notice { padding: .25rem 0 .25rem 1.15rem; border-left: 2px solid var(--rust); }
.notice + .notice { margin-top: 1.25rem; }
.notice h2 { font-size: clamp(1.55rem, 3vw, 2rem); margin-bottom: .35rem; }

.meeting-panel { padding-block: 3.6rem; background: var(--forest-light); color: var(--white); }
.meeting-inner { display: flex; gap: 1.75rem; align-items: center; justify-content: space-between; }
.meeting-inner h2 { margin: .25rem 0 .65rem; }
.meeting-inner p:not(.eyebrow) { color: #e6eadf; max-width: 44rem; }
.meeting-inner .button { flex-shrink: 0; }

.page-lead { padding: clamp(3.1rem, 7vw, 6rem) 0 clamp(2.65rem, 6vw, 4.5rem); background: var(--linen); border-bottom: 1px solid var(--line); }
.page-lead h1 { max-width: 19ch; font-size: clamp(2.9rem, 6.5vw, 5.15rem); letter-spacing: -.05em; }
.page-lead .eyebrow { margin-bottom: .55rem; }
.page-intro { margin-top: 1rem; max-width: 45rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.25rem); }
.back-link { display: inline-block; margin-bottom: 1.05rem; font-size: .9rem; font-weight: 650; }
.prose { max-width: 49rem; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: clamp(1.9rem, 3.8vw, 2.65rem); }
.prose h2:not(:first-child) { margin-top: 2rem; }
.prose p, .prose li { max-width: 67ch; }
.prose ul, .prose ol { padding-inline-start: 1.3rem; }
.prose li + li { margin-top: .35rem; }
.prose .button-group, .prose > .button { margin-top: 1.5rem; }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.editorial-photo img { width: 100%; max-height: 32rem; object-fit: cover; border-radius: .2rem; }
.editorial-photo.artwork img { width: auto; max-width: 68%; max-height: 19rem; object-fit: contain; margin-block: 2rem; mix-blend-mode: multiply; }
.editorial-photo figcaption { margin-top: .6rem; font-size: .875rem; color: var(--muted); }
.feature-story .editorial-photo img { aspect-ratio: 4 / 3; }
.namesake { grid-template-columns: minmax(11rem, 17rem) 1fr; }
.namesake .editorial-photo img { aspect-ratio: 1; }
.officer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 2.25rem; }
.officer-grid div { padding-block: .85rem; border-top: 1px solid var(--line); }
.officer-grid dt { font-size: .875rem; color: var(--muted); }
.officer-grid dd { font: 500 1.55rem/1.2 var(--serif); margin-top: .35rem; }
.project-row + .project-row { border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 3rem; }
.project-row:not(:has(.artwork)) .editorial-photo img { aspect-ratio: 4 / 3; }
.event-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.event-cover img { max-height: 34rem; object-fit: contain; background: var(--linen); }
.event-copy { align-self: center; }
.gallery-section { margin-top: 3rem; }
.gallery-section h2 { margin-bottom: 1.2rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 20rem)); gap: 1rem; }
.gallery-image { display: block; }
.gallery-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .2rem; }
.project-gallery { margin-top: clamp(1.8rem, 4vw, 2.7rem); }
.project-gallery h3 { margin-bottom: 1rem; }
.project-gallery .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 1rem; }
.project-gallery .prose + .gallery { margin-top: 1.15rem; }
.project-gallery figcaption { margin-top: .45rem; font-size: .875rem; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.contact-box { padding: clamp(1.25rem, 3vw, 2rem); background: var(--white); border: 1px solid var(--line); border-radius: .25rem; }
.contact-box h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: .7rem; }
.contact-box p + .button-group { margin-top: 1rem; }

.site-footer { background: var(--forest); color: #eceadf; padding-block: 2.6rem; }
.footer-inner { display: grid; grid-template-columns: 1.25fr 1fr auto; gap: 1.45rem; align-items: start; }
.site-footer a { color: #f2eee2; text-decoration-color: #9eaa97; }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-name { font: 500 1.6rem/1.15 var(--serif); text-decoration: none; }
.site-footer p, .site-footer address, .footer-contact, .footer-credit { font-size: .875rem; }
.site-footer p, .site-footer address { margin-top: .55rem; }
.site-footer address { font-style: normal; }
.footer-contact { display: grid; justify-items: start; gap: .35rem; }

@media (max-width: 970px) {
  .container { width: min(100% - 3.5rem, 75rem); }
  .header-inner { min-height: 4.65rem; }
  .site-nav { gap: .9rem; }
  .site-nav a { font-size: .83rem; }
  .hero-photo { left: 28%; }
  .hero { min-height: 32rem; }
}

@media (max-width: 750px) {
  .project-gallery .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .container { width: calc(100% - 2.5rem); }
  .header-inner { flex-wrap: wrap; gap: 0 .6rem; padding-block: .67rem; }
  .brand img { width: 2.6rem; height: 2.6rem; }
  .brand strong { font-size: 1.25rem; }
  .site-nav { width: 100%; flex-wrap: wrap; align-items: flex-start; padding: .85rem 0 .25rem; }
  .site-nav a { font-size: 1rem; padding-block: .4rem; }
  .site-nav .header-donate { min-height: 2.55rem; padding-inline: 1rem; }
  .menu-enhanced .menu-toggle { display: inline-flex; color: var(--forest); background: transparent; border: 1px solid #66766a; border-radius: .22rem; min-height: 2.75rem; align-items: center; padding-inline: .8rem; font-weight: 650; }
  .menu-enhanced .site-nav { display: none; flex-direction: column; gap: .2rem; }
  .menu-enhanced .site-nav.is-open { display: flex; }
  .menu-enhanced .site-nav a { display: flex; width: 100%; padding-block: .55rem; }
  .menu-enhanced .site-nav .header-donate { margin-top: .25rem; width: fit-content; }
  .hero { min-height: auto; grid-template-rows: auto auto; }
  .hero-content { padding-block: 3.05rem 1.65rem; grid-row: 1; }
  .hero h1 { font-size: clamp(3rem, 10vw, 4.5rem); max-width: 12ch; margin-bottom: .95rem; }
  .desktop-break { display: none; }
  .hero-photo { position: relative; inset: auto; min-height: 15.5rem; max-height: 21rem; aspect-ratio: 1.65; width: 100%; grid-row: 2; }
  .hero-photo::after { background: linear-gradient(180deg, var(--forest), transparent 29%, transparent 72%, rgba(10, 18, 13, .6)); }
  .hero-photo figcaption { bottom: .65rem; right: 1.25rem; }
  .hero .button-group { margin-top: 1.25rem; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .card-grid-three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .event-detail { gap: 1.35rem; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 500px) {
  .card-grid-two, .card-grid-three, .contact-grid, .split, .event-detail, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .meeting-inner { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
  .officer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.1rem; }
  .namesake .editorial-photo { max-width: 14rem; }
  .event-cover img { max-height: 24rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
