/* ==========================================================================
   Collective Grant Initiative
   Palette sampled from the official logo SVGs. Mobile-first.
   ========================================================================== */

:root {
  --sage:        #50664A;
  --sage-deep:   #34452F;
  --sage-ink:    #26331F;
  --sage-light:  #7C9174;
  --sage-mist:   #E7ECE3;
  --gold:        #DEAB42;
  --gold-deep:   #A97C22;
  --terracotta:  #B46040;
  --brown:       #5A3A1F;

  --paper:       #FAF9F5;
  --paper-warm:  #F2F0E8;
  --ink:         #25221C;
  --ink-soft:    #5A5448;
  --ink-faint:   #8A8274;
  --rule:        #DDD8CB;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --bleed: clamp(1.25rem, 5vw, 5rem);
  --gut:   clamp(1.25rem, 3.5vw, 3rem);
  --max:   1320px;
  --prose: 62ch;
  --head:  64px;
  --ease:  cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 1rem); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
body.nav-open { overflow: hidden; }

.skip { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--sage-deep); color: var(--paper); padding: .75rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.012em; margin: 0 0 .5em; color: var(--sage-deep); }
h1 { font-size: clamp(2.5rem, 8.5vw, 5.4rem); }
h2 { font-size: clamp(2rem, 5.6vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.75rem); line-height: 1.18; }
p  { margin: 0 0 1.1em; }
.eyebrow {
  font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 1.75rem; height: 1px; background: currentColor; opacity: .7; flex: none; }
.lede { font-size: clamp(1.06rem, 2.4vw, 1.3rem); line-height: 1.6; color: var(--ink-soft); }
.prose { max-width: var(--prose); }
.prose p { color: var(--ink-soft); }
.muted { color: var(--ink-faint); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--bleed); }
.section { padding-block: clamp(3.75rem, 10vw, 7.5rem); }
.section--flush-top { padding-top: 0; }
.section--mist { background: var(--sage-mist); }
.section--warm { background: var(--paper-warm); }
.section--deep { background: var(--sage-deep); color: rgba(250,249,245,.86); }
.section--deep h1, .section--deep h2, .section--deep h3 { color: var(--paper); }
.section--deep .lede, .section--deep .prose p { color: rgba(250,249,245,.78); }
.section--deep .eyebrow { color: var(--gold); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.25rem 2rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { margin: 0; max-width: 18ch; }
.section-head .lede { margin: 0; max-width: 46ch; }
.split { display: grid; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; } }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 100; height: var(--head); background: rgba(250,249,245,.92);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-head.is-scrolled { border-bottom-color: var(--rule); box-shadow: 0 6px 24px rgba(38,51,31,.05); }
.site-head__inner { max-width: var(--max); height: 100%; margin-inline: auto; padding-inline: var(--bleed); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; min-width: 0; }
.brand img { height: 34px; width: auto; flex: none; }
.brand__name { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--sage-deep); white-space: nowrap; }
@media (max-width: 360px) { .brand__name { font-size: 1rem; } }

.nav { display: none; }
.nav a {
  text-decoration: none; font-size: .76rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); padding-block: .35rem; border-bottom: 1.5px solid transparent; transition: color .2s, border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--sage); border-bottom-color: var(--gold); }
.nav .nav__cta { border: 1.5px solid var(--sage); border-radius: 999px; padding: .5rem 1.05rem; color: var(--sage); }
.nav .nav__cta:hover, .nav .nav__cta[aria-current="page"] { background: var(--sage); color: var(--paper); border-color: var(--sage); }
@media (min-width: 1020px) { .nav { display: flex; align-items: center; gap: clamp(1rem, 1.8vw, 1.75rem); } }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 44px; padding: 0 .35rem 0 .9rem;
  border: 0; background: none; cursor: pointer; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep);
}
.menu-btn__bars { position: relative; width: 22px; height: 12px; }
.menu-btn__bars span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn__bars span:first-child { top: 0; }
.menu-btn__bars span:last-child { top: 10px; }
body.nav-open .menu-btn__bars span:first-child { top: 5px; transform: rotate(45deg); }
body.nav-open .menu-btn__bars span:last-child { top: 5px; transform: rotate(-45deg); }
@media (min-width: 1020px) { .menu-btn { display: none; } }

.drawer {
  position: fixed; top: var(--head); left: 0; right: 0; bottom: 0; z-index: 99; background: var(--sage-deep); color: var(--paper);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(1.5rem, 6vw, 3rem) var(--bleed) calc(2rem + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s; overflow-y: auto;
}
body.nav-open .drawer { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  font-family: var(--serif); font-size: clamp(1.9rem, 8.5vw, 2.7rem); line-height: 1.15; color: var(--paper); text-decoration: none;
  padding: .6rem 0; border-bottom: 1px solid rgba(250,249,245,.12); display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s;
}
.drawer nav a::after { content: "\2192"; font-family: var(--sans); font-size: 1rem; color: var(--gold); opacity: .8; }
.drawer nav a[aria-current="page"] { color: var(--gold); }
body.nav-open .drawer nav a { opacity: 1; transform: none; }
body.nav-open .drawer nav a:nth-child(2) { transition-delay: .04s; }
body.nav-open .drawer nav a:nth-child(3) { transition-delay: .08s; }
body.nav-open .drawer nav a:nth-child(4) { transition-delay: .12s; }
body.nav-open .drawer nav a:nth-child(5) { transition-delay: .16s; }
body.nav-open .drawer nav a:nth-child(6) { transition-delay: .2s; }
.drawer__foot { margin-top: 2.5rem; font-size: .85rem; color: rgba(250,249,245,.7); }
.drawer__foot a { color: var(--gold); text-decoration: none; }
@media (min-width: 1020px) { .drawer { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.6rem;
  border-radius: 999px; border: 1.5px solid var(--sage); background: var(--sage); color: var(--paper);
  font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--sage); }
.btn--ghost:hover { background: var(--sage); color: var(--paper); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--sage-ink); }
.btn--gold:hover { background: var(--paper); border-color: var(--paper); color: var(--sage-ink); }
.btn--light { background: transparent; border-color: rgba(250,249,245,.55); color: var(--paper); }
.btn--light:hover { background: var(--paper); border-color: var(--paper); color: var(--sage-deep); }
.btn svg { width: 16px; height: 16px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 520px) { .actions .btn { flex: 1 1 100%; } }
.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--sage); text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .25rem;
}
.link-arrow:hover { color: var(--gold-deep); }
.section--deep .link-arrow { color: var(--paper); }

/* ---------- Home hero ---------- */
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(2.25rem, 8vw, 6rem); }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr 1fr; } }
.hero__mark { width: 58px; margin-bottom: 1.5rem; }
.hero h1 { max-width: 13ch; }
.hero .lede { max-width: 48ch; margin: 1.25rem 0 2rem; }
.hero__media { position: relative; margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 959px) { .hero__media { margin-inline: calc(var(--bleed) * -1); } .hero__media img { aspect-ratio: 4 / 3; } }
.hero__media figcaption {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem; color: var(--paper); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 600; text-shadow: 0 1px 12px rgba(0,0,0,.5);
}

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(2.5rem, 8vw, 5.5rem) clamp(2rem, 5vw, 3.5rem); }
.page-hero h1 { font-size: clamp(2.4rem, 7.5vw, 4.4rem); max-width: 16ch; }
.page-hero .lede { max-width: 54ch; margin-top: 1.1rem; }
.banner { position: relative; overflow: hidden; background: var(--sage-ink); margin: 0; }
.banner img { width: 100%; height: clamp(260px, 58vw, 620px); object-fit: cover; }

/* ---------- Pillars ---------- */
.pillars { display: grid; border-top: 1px solid var(--rule); }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: var(--gut); } }
.pillar { padding: 1.5rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 1rem; }
@media (min-width: 820px) { .pillar { display: block; border-bottom: 0; border-top: 2px solid var(--gold); padding: 1.5rem 0 0; } }
.pillar__no { font-family: var(--serif); font-size: 1.35rem; color: var(--gold-deep); line-height: 1.3; grid-row: span 2; }
@media (min-width: 820px) { .pillar__no { display: block; margin-bottom: .65rem; } }
.pillar h3 { margin-bottom: .4rem; }
.pillar p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ---------- Beneficiary cards ---------- */
.ben-cards { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 760px) { .ben-cards { grid-template-columns: repeat(3, 1fr); } }
.ben-card {
  display: flex; flex-direction: column; text-decoration: none; background: var(--paper); border: 1px solid var(--rule); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.ben-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(38,51,31,.1); border-color: transparent; }
.ben-card__img { position: relative; aspect-ratio: 16 / 10; background: var(--sage-mist); }
.ben-card__img > img { width: 100%; height: 100%; object-fit: cover; }
.ben-card__logo {
  position: absolute; left: 1.1rem; bottom: -28px; width: 58px; height: 58px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; padding: 9px; box-shadow: 0 4px 16px rgba(0,0,0,.14);
}
.ben-card__logo img { width: 100%; height: 100%; object-fit: contain; }
.ben-card__body { padding: 2.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.ben-card__meta { font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .55rem; }
.ben-card h3 { font-size: 1.35rem; margin-bottom: .55rem; }
.ben-card p { font-size: .93rem; color: var(--ink-soft); margin: 0 0 1.25rem; }
.ben-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Collection ---------- */
.filters-wrap {
  position: sticky; top: var(--head); z-index: 20; background: rgba(250,249,245,.95);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid var(--rule); margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.filters {
  display: flex; gap: .5rem; padding-block: .8rem; padding-right: 2.5rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent);
}
.filters::-webkit-scrollbar { display: none; }
@media (min-width: 1020px) { .filters { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; padding-right: 0; } }
.filter {
  flex: none; scroll-snap-align: start; background: transparent; border: 1px solid var(--rule); border-radius: 999px; min-height: 38px;
  padding: .42rem 1rem; font-size: .78rem; font-weight: 500; color: var(--ink-soft); cursor: pointer; transition: .18s; white-space: nowrap;
}
.filter:hover { border-color: var(--sage-light); color: var(--sage); }
.filter[aria-pressed="true"] { background: var(--sage); border-color: var(--sage); color: var(--paper); }
.filter__count { opacity: .6; margin-left: .3rem; font-variant-numeric: tabular-nums; }

.lots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
@media (min-width: 700px) { .lots { gap: 2.75rem 1.75rem; } }
@media (min-width: 1020px) { .lots { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3.5rem 2.5rem; } }
.lots--rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; margin-inline: calc(var(--bleed) * -1); padding-inline: var(--bleed); padding-bottom: .5rem; scrollbar-width: none; }
.lots--rail::-webkit-scrollbar { display: none; }
.lots--rail .lot { flex: 0 0 min(70vw, 300px); scroll-snap-align: start; }
@media (min-width: 1020px) { .lots--rail { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: 2.5rem; } }

.lot { text-decoration: none; display: block; min-width: 0; }
.lot__frame { position: relative; background: var(--paper-warm); aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; margin-bottom: .9rem; }
.lot__frame img { max-width: 78%; max-height: 78%; width: auto; height: auto; object-fit: contain; box-shadow: 0 10px 26px rgba(0,0,0,.14); transition: transform .6s var(--ease); }
.lot:hover .lot__frame img { transform: scale(1.035); }
.lot__tag {
  position: absolute; top: .65rem; left: .65rem; font-size: .58rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .32rem .6rem; border-radius: 999px; background: rgba(250,249,245,.95);
}
.lot__tag--available { color: var(--sage); }
.lot__tag--sold { color: var(--terracotta); }
.lot__tag::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: .4rem; vertical-align: 1px; }
.lot__artist { font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .25rem; }
.lot__title { font-family: var(--serif); font-size: clamp(1.1rem, 3.6vw, 1.4rem); color: var(--sage-deep); line-height: 1.18; margin-bottom: .35rem; }
.lot__meta { font-size: .8rem; color: var(--ink-faint); margin: 0 0 .45rem; }
.lot__bid { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.lot__bid strong { color: var(--sage-deep); font-weight: 600; }
@media (max-width: 480px) { .lot__meta { display: none; } .lot__bid { font-size: .78rem; } }
.empty { display: none; color: var(--ink-faint); padding-block: 2rem; }

/* ---------- Artwork detail ---------- */
.crumbs { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; padding-block: 1.1rem; }
.crumbs a { color: var(--sage); text-decoration: none; }
.crumbs span { color: var(--ink-faint); margin-inline: .4rem; }
.work { display: grid; gap: clamp(1.75rem, 5vw, 4.5rem); }
@media (min-width: 900px) { .work { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.work__image { background: var(--paper-warm); padding: clamp(1.75rem, 7vw, 3.5rem); display: grid; place-items: center; margin: 0 calc(var(--bleed) * -1); }
@media (min-width: 900px) { .work__image { position: sticky; top: calc(var(--head) + 1.5rem); margin: 0; } }
.work__image img { max-height: min(68vh, 760px); width: auto; object-fit: contain; box-shadow: 0 16px 44px rgba(0,0,0,.16); cursor: zoom-in; }
.work__lot { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .75rem; }
.work h1 { font-size: clamp(2.1rem, 7vw, 3.2rem); margin-bottom: .3rem; }
.work__artist { font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--ink-soft); margin-bottom: 1.6rem; }
.spec { display: grid; grid-template-columns: 7.2rem 1fr; margin: 0 0 2rem; border-top: 1px solid var(--rule); }
.spec dt, .spec dd { padding: .8rem 0; margin: 0; border-bottom: 1px solid var(--rule); font-size: .9rem; }
.spec dt { font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); padding-top: 1rem; }
.bidbox { background: var(--sage-mist); border-left: 3px solid var(--sage); padding: 1.5rem 1.5rem 1.6rem; margin-bottom: 2rem; }
.bidbox--sold { background: var(--paper-warm); border-left-color: var(--terracotta); }
.bidbox__label { font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .35rem; }
.bidbox__amount { font-family: var(--serif); font-size: clamp(2rem, 7vw, 2.6rem); color: var(--sage-deep); line-height: 1; margin-bottom: .5rem; }
.bidbox__sold { font-family: var(--serif); font-size: 1.7rem; color: var(--terracotta); margin-bottom: .35rem; line-height: 1.1; }
.bidbox__note { font-size: .86rem; color: var(--ink-soft); margin: 0 0 1.2rem; }
.bio { border-top: 1px solid var(--rule); padding-top: 1.6rem; }
.bio h3 { font-size: 1.15rem; }
.bio p { font-size: .95rem; color: var(--ink-soft); }
.workpager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; border-top: 1px solid var(--rule); padding-top: 1.5rem; margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.workpager a { text-decoration: none; display: block; min-width: 0; }
.workpager a:last-child { text-align: right; }
.workpager small { display: block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .25rem; }
.workpager span { font-family: var(--serif); font-size: 1.1rem; color: var(--sage-deep); }

.bidbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .7rem var(--bleed) calc(.7rem + env(safe-area-inset-bottom)); background: rgba(250,249,245,.97);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--rule); box-shadow: 0 -8px 24px rgba(38,51,31,.06);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.bidbar.is-visible { transform: none; }
.bidbar__label { font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); display: block; }
.bidbar__amount { font-family: var(--serif); font-size: 1.35rem; color: var(--sage-deep); line-height: 1.1; }
.bidbar .btn { min-height: 44px; padding: .55rem 1.25rem; }
body.has-bidbar { padding-bottom: 80px; }
@media (min-width: 900px) { .bidbar { display: none; } body.has-bidbar { padding-bottom: 0; } }

/* ---------- Galleries ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; grid-auto-flow: dense; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: .8rem; } }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--sage-mist); aspect-ratio: 1; }
.gallery figure.is-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); cursor: zoom-in; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem .85rem .7rem; color: #fff; font-size: .72rem; line-height: 1.35;
  background: linear-gradient(transparent, rgba(0,0,0,.62)); pointer-events: none;
}

.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px); gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--bleed) * -1); padding-inline: var(--bleed); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: start; }
@media (min-width: 900px) { .strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; gap: .9rem; } }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(18,22,16,.95); display: none; align-items: center; justify-content: center; padding: 3.5rem 1rem 3rem; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close { position: absolute; top: .6rem; right: .6rem; width: 48px; height: 48px; border: 0; background: none; color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__cap { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; text-align: center; color: rgba(255,255,255,.8); font-size: .82rem; }

/* ---------- Beneficiary page ---------- */
.ben-hero { position: relative; background: var(--sage-ink); overflow: hidden; }
.ben-hero__bg { width: 100%; height: clamp(320px, 66vw, 640px); object-fit: cover; opacity: .8; }
.ben-hero__content { position: absolute; left: 0; right: 0; bottom: 0; padding-block: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3.25rem); background: linear-gradient(transparent, rgba(20,28,17,.86)); }
.ben-hero__content .eyebrow { color: var(--gold); }
.ben-hero__content h1 { color: var(--paper); font-size: clamp(2.1rem, 7vw, 4.2rem); max-width: 18ch; margin: 0; }
.ben-intro { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 900px) { .ben-intro { grid-template-columns: 1.3fr .9fr; } }
.ben-logo { width: 116px; height: 116px; background: #fff; border: 1px solid var(--rule); border-radius: 50%; display: grid; place-items: center; padding: 18px; margin-bottom: 1.5rem; }
.ben-logo img { width: 100%; height: 100%; object-fit: contain; }
.facts { background: var(--sage-mist); padding: clamp(1.4rem, 3vw, 2rem); }
.facts h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.facts dl { margin: 0; }
.facts dt { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); padding-top: .85rem; border-top: 1px solid rgba(80,102,74,.2); }
.facts dt:first-child { border-top: 0; padding-top: 0; }
.facts dd { margin: .2rem 0 .85rem; font-size: .95rem; color: var(--ink); }
.ben-section { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) { .ben-section.has-image { grid-template-columns: 1fr 1fr; } }
.ben-section figure { margin: 0; }
.ben-section img { width: 100%; }
.quote-photo { margin: 0; }
.quote-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.quote-photo figcaption { font-size: .8rem; color: var(--ink-faint); margin-top: .7rem; }
.ben-nav { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
@media (min-width: 760px) { .ben-nav { grid-template-columns: repeat(2, 1fr); } }
.ben-nav a { background: var(--paper); padding: 1.4rem var(--bleed); text-decoration: none; display: flex; align-items: center; gap: 1rem; transition: background .2s; }
.ben-nav a:hover { background: var(--sage-mist); }
.ben-nav img { width: 46px; height: 46px; object-fit: contain; flex: none; }
.ben-nav small { display: block; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }
.ben-nav span { font-family: var(--serif); font-size: 1.2rem; color: var(--sage-deep); }

/* ---------- Catalogue ---------- */
.catalogue { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--paper); border: 1px solid var(--rule); padding: clamp(1.1rem, 3vw, 2rem); }
@media (min-width: 820px) { .catalogue { grid-template-columns: 1.15fr 1fr; } }
.catalogue img { width: 100%; box-shadow: 0 14px 34px rgba(0,0,0,.12); }
.catalogue h3 { margin-bottom: .5rem; }
.catalogue p { color: var(--ink-soft); font-size: .95rem; }
.catalogue__meta { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 1.2rem; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1rem; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 1px solid rgba(250,249,245,.18); padding-top: 1rem; }
.stat__num { font-family: var(--serif); font-size: clamp(1.45rem, 4.4vw, 2.1rem); color: var(--gold); line-height: 1.12; margin-bottom: .3rem; }
.stat__label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(250,249,245,.62); }

/* ---------- Trustees ---------- */
.trustees { display: grid; gap: clamp(2.25rem, 5vw, 3rem); }
@media (min-width: 720px) { .trustees { grid-template-columns: repeat(2, 1fr); } }
.trustee img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; margin-bottom: 1.2rem; background: var(--sage-mist); }
.trustee__role { font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .35rem; }
.trustee h3 { margin-bottom: .6rem; }
.trustee p { font-size: .94rem; color: var(--ink-soft); }

/* ---------- Panels ---------- */
.panel { background: var(--paper); border: 1px solid var(--rule); padding: clamp(1.4rem, 3.5vw, 2.25rem); }
.panel h3 { margin-bottom: 1.1rem; }
.kv { margin: 0; }
.kv dt { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); padding-top: .9rem; border-top: 1px solid var(--rule); }
.kv dt:first-child { border-top: 0; padding-top: 0; }
.kv dd { margin: .25rem 0 .9rem; font-size: .96rem; overflow-wrap: anywhere; }
.acct { font-family: var(--serif); font-size: clamp(1.5rem, 5.5vw, 1.8rem); color: var(--sage-deep); letter-spacing: .03em; display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; line-height: 1.2; }
.copy-btn {
  font-family: var(--sans); font-size: .64rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--rule);
  background: var(--paper); border-radius: 999px; padding: .35rem .85rem; cursor: pointer; color: var(--sage); min-height: 34px;
}
.copy-btn:hover { border-color: var(--sage); }

/* ---------- Forms ---------- */
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .4rem; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: .8rem .95rem; font: inherit; font-size: 16px; background: var(--paper);
  border: 1px solid var(--rule); border-radius: 2px; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--sage) 50%), linear-gradient(135deg, var(--sage) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.5rem;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--sage-light); outline-offset: 1px; border-color: var(--sage-light); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--ink-faint); margin-top: .85rem; }

.cta { text-align: center; }
.cta .eyebrow { justify-content: center; }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta .lede { max-width: 50ch; margin: 0 auto 2rem; }
.cta .actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-foot { background: var(--sage-ink); color: rgba(250,249,245,.72); padding-block: clamp(3rem, 8vw, 5rem) calc(1.75rem + env(safe-area-inset-bottom)); font-size: .88rem; }
.site-foot a { color: rgba(250,249,245,.9); text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.site-foot h4 { font-family: var(--sans); font-size: .64rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 1rem; }
.foot-grid { display: grid; gap: 2.25rem; margin-bottom: 2.75rem; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .foot-grid { grid-template-columns: 1.7fr 1fr 1fr 1.1fr; } }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: .55rem; }
.foot-brand img { width: 50px; margin-bottom: 1rem; }
.foot-brand p { max-width: 40ch; }
.foot-legal { border-top: 1px solid rgba(250,249,245,.14); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .74rem; color: rgba(250,249,245,.5); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
