/* Community Grapevines — luxury refresh
   Palette: vine plum, leaf green, gilt brass, porcelain, ink */
:root {
  --ink: #1d1220;
  --plum: #3a1a45;
  --plum-deep: #24102c;
  --leaf: #1f3d31;
  --gilt: #b8935a;
  --gilt-soft: #d9c29a;
  --porcelain: #f2f2ee;
  --paper: #ffffff;
  --muted: #5d5462;

  --serif: "DM Serif Display", Georgia, serif;
  --sans: "Hanken Grotesk", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: 0; }
p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--gilt); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 8px 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border-radius: 2px;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--gilt { background: var(--gilt); color: var(--plum-deep); }
.btn--gilt:hover { background: var(--gilt-soft); }
.btn--ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.link {
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--gilt); padding-bottom: 2px;
}
.link:hover { color: var(--plum); border-bottom-width: 2px; }

/* Header */
.masthead {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  color: #fff;
}
.masthead.is-solid { position: fixed; background: var(--plum-deep); box-shadow: 0 1px 0 rgba(184,147,90,.35); }
.masthead__inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  padding: 18px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 50%; padding: 7px; }
.brand span { font-family: var(--serif); font-size: 1.05rem; line-height: 1.05; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 0.95rem; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--gilt); text-underline-offset: 6px; }
.nav__toggle { display: none; }

/* Hero */
.hero {
  position: relative; min-height: min(100vh, 920px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; background: var(--plum-deep);
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(36,16,44,.94) 0%, rgba(36,16,44,.75) 38%, rgba(36,16,44,.15) 75%),
    linear-gradient(0deg, rgba(36,16,44,.7) 0%, transparent 45%);
}
.hero__copy {
  position: relative; z-index: 2;
  max-width: 760px;
  padding: 160px var(--gutter) clamp(64px, 10vh, 120px);
  margin-left: max(0px, calc((100vw - 1400px) / 2));
}
.ribbon { width: 100vw; margin: 0 0 18px calc(-1 * var(--gutter) - max(0px, calc((100vw - 1400px) / 2))); overflow: hidden; background: rgba(242,242,238,.94); padding: 12px 0; }
.ribbon__track { display: flex; align-items: center; width: max-content; animation: ribbon-ltr 40s linear infinite; }
.ribbon__track img { margin-right: 48px; flex: none; }
.ribbon__word { height: clamp(26px, 3.2vw, 40px); width: auto; }
.ribbon__mark { height: clamp(30px, 3.6vw, 46px); width: auto; }
@keyframes ribbon-ltr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .ribbon__track { animation: none; } }
.hero__place { color: var(--gilt-soft); font-size: 0.95rem; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.9rem, 7vw, 6rem); margin-bottom: 28px; }
.hero__lede { font-size: 1.2rem; max-width: 34em; opacity: .9; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* The vine: one thin brass line that grows */
.vine path { fill: none; stroke: var(--gilt); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.vine--hero { position: absolute; right: 4vw; top: 110px; height: calc(100% - 110px); width: 38vw; z-index: 1; opacity: .8; }
.vine--hero path { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: grow 3.2s .3s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes grow { to { stroke-dashoffset: 0; } }

/* Creed */
.creed { background: var(--porcelain); padding: clamp(80px, 12vw, 160px) 0; }
.creed__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.creed__quote { font-family: var(--serif); font-style: italic; font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; color: var(--plum); margin: 0; }
.creed__body { max-width: 32em; font-size: 1.125rem; padding-top: 12px; }

/* Section heads */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); max-width: 16em; }

/* Programs as a vine */
.programs { padding: clamp(80px, 12vw, 150px) 0; }
.vine-list { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; }
.vine-list::before {
  content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px;
  width: 1px; background: var(--gilt);
  transform-origin: top; transform: scaleY(var(--grow, 1));
}
.vine-list li { position: relative; border-top: 1px solid #e4e0e6; }
.vine-list li:last-child { border-bottom: 1px solid #e4e0e6; }
.vine-list li::before {
  content: ""; position: absolute; left: -42px; top: 38px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--gilt);
}
.vine-list a {
  display: grid; grid-template-columns: minmax(240px, 1fr) 1.3fr; gap: 32px;
  padding: 30px 0; text-decoration: none;
}
.vine-list h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); color: var(--plum); }
.vine-list p { margin: 0; color: var(--muted); max-width: 36em; }
.vine-list a:hover h3 { text-decoration: underline; text-decoration-color: var(--gilt); text-decoration-thickness: 1px; text-underline-offset: 8px; }
.vine-list li:has(a:hover)::before { background: var(--gilt); }

/* Paths */
.paths { background: var(--leaf); color: #fff; padding: clamp(80px, 12vw, 150px) 0; }
.paths h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 56px; }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.path { text-decoration: none; display: flex; flex-direction: column; }
.path img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 22px; }
.path__title { font-family: var(--serif); font-size: 1.7rem; margin-bottom: 8px; }
.path__text { opacity: .8; max-width: 26em; }
.path:hover .path__title { color: var(--gilt-soft); }

/* Voices */
.voices { background: var(--plum-deep); color: #fff; padding: clamp(90px, 13vw, 170px) 0; }
.voices__inner { max-width: 980px; text-align: center; }
.voice { margin: 0; display: none; }
.voice.is-active { display: block; }
.voice blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.25; }
.voice blockquote::before { content: "“"; display: block; font-size: 4rem; line-height: .6; color: var(--gilt); margin-bottom: 20px; }
.voice figcaption { color: var(--gilt-soft); }
.voices__controls { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 48px; }
.voices__btn { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; font: inherit; font-size: .9rem; padding: 10px 20px; cursor: pointer; border-radius: 2px; }
.voices__btn:hover { border-color: var(--gilt); }
.voices__count { font-size: .9rem; opacity: .7; min-width: 4em; }

/* Team */
.team { padding: clamp(80px, 12vw, 150px) 0; }
.founder { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; margin-bottom: 80px; }
.founder img { width: 100%; height: auto; }
.founder__name { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.1; margin-bottom: 6px; }
.founder__role { color: var(--gilt); font-weight: 600; margin-bottom: 20px; }
.founder__note { max-width: 30em; color: var(--muted); }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 40px 24px; }
.people a { text-decoration: none; display: block; }
.people img { aspect-ratio: 1; object-fit: cover; object-position: top; width: 100%; margin-bottom: 14px; filter: saturate(.85); }
.people b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.people span { font-size: .9rem; color: var(--muted); }
.people a:hover b { color: var(--plum); text-decoration: underline; text-decoration-color: var(--gilt); }

/* Journal */
.journal { background: var(--porcelain); padding: clamp(80px, 12vw, 150px) 0; }
.journal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.story { text-decoration: none; }
.story img { aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 12%; width: 100%; margin-bottom: 20px; }
.story time { font-size: .9rem; color: var(--muted); }
.story h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-top: 6px; }
.story:hover h3 { color: var(--plum); }

/* Closing band */
.close { background: var(--plum); color: #fff; padding: clamp(80px, 11vw, 140px) 0; }
.close__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; }
.close__line { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.1; margin: 0; max-width: 14em; }

/* Footer */
.foot { background: var(--ink); color: rgba(255,255,255,.78); padding: 80px 0 40px; font-size: .95rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gilt-soft); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.brand--foot { color: #fff; margin-bottom: 20px; }
.foot__mission { max-width: 22em; }
.foot__h { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--gilt-soft); margin-bottom: 14px; letter-spacing: 0; }
.foot__legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; opacity: .7; }
.foot__legal p { max-width: 70em; }

/* Responsive */
@media (max-width: 960px) {
  .nav__toggle {
    display: inline-block; background: none; border: 1px solid rgba(255,255,255,.5);
    color: inherit; font: inherit; font-size: .9rem; padding: 8px 14px; border-radius: 2px; cursor: pointer;
  }
  .nav ul {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: var(--plum-deep); padding: 8px var(--gutter) 24px;
  }
  .nav ul.is-open { display: flex; }
  .nav li a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .masthead > .masthead__inner > .btn { min-height: 40px; padding: 0 18px; }
  .creed__grid, .founder, .journal__grid { grid-template-columns: 1fr; }
  .paths__grid { grid-template-columns: 1fr; gap: 48px; }
  .path img { aspect-ratio: 16 / 10; }
  .vine-list a { grid-template-columns: 1fr; gap: 10px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .vine--hero { width: 60vw; opacity: .45; }
}
@media (max-width: 560px) {
  .brand span { display: none; }
  .section-head { flex-direction: column; margin-bottom: 40px; }
  .foot__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-top: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vine--hero path { animation: none; stroke-dashoffset: 0; }
  .vine-list::before { transform: none; }
}

/* ===== Inner pages ===== */
.nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--gilt); text-underline-offset: 6px; }
.btn--plum { background: var(--plum); color: #fff; border: 0; cursor: pointer; }
.btn--plum:hover { background: var(--plum-deep); }
.btn--line { border: 1px solid var(--plum); color: var(--plum); }
.btn--line:hover { background: var(--plum); color: #fff; }
.section-lede { color: var(--muted); max-width: 38em; margin-bottom: 32px; }
.section-head--gap { margin-top: 96px; margin-bottom: 16px; }
.wrap-narrow { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.tag { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--plum); border: 1px solid var(--gilt); padding: 2px 10px; border-radius: 2px; }
.tag--light { color: var(--gilt-soft); border-color: var(--gilt-soft); margin: 0 0 16px; display: table; }
.ticks { list-style: none; padding: 0; margin: 24px 0; }
.ticks li { padding: 10px 0 10px 28px; border-top: 1px solid #e4e0e6; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--gilt); }

/* Page hero */
.page-hero { position: relative; background: var(--plum-deep); color: #fff; overflow: hidden; padding: 190px 0 clamp(64px, 9vw, 110px); }
.page-hero--img { min-height: 560px; display: flex; align-items: flex-end; }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,16,44,.95) 0%, rgba(36,16,44,.78) 45%, rgba(36,16,44,.3) 100%); }
.page-hero:not(.page-hero--img) .page-hero__shade { background: radial-gradient(ellipse at 85% 0%, rgba(184,147,90,.18), transparent 55%); }
.page-hero__copy { position: relative; z-index: 2; width: 100%; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 14em; margin-bottom: 24px; }
.page-hero__lede { font-size: 1.2rem; max-width: 34em; opacity: .9; margin: 0; }

/* About */
.areas { background: var(--porcelain); padding: clamp(80px, 12vw, 150px) 0; }
.areas__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.areas__list li { border-top: 1px solid var(--gilt); padding-top: 20px; }
.areas__list h3 { font-size: 1.5rem; color: var(--plum); margin-bottom: 10px; }
.areas__list p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { padding: clamp(80px, 12vw, 150px) 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.faq__list details { border-top: 1px solid #e4e0e6; }
.faq__list details:last-child { border-bottom: 1px solid #e4e0e6; }
.faq__list summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: 1.3rem; position: relative; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 1.4rem; color: var(--gilt); }
.faq__list details[open] summary::after { content: "–"; }
.faq__list details p { color: var(--muted); padding-bottom: 22px; max-width: 40em; margin: 0; }
.faq__list a { color: var(--plum); }
.faq__list--tight summary { font-size: 1.1rem; padding: 16px 36px 16px 0; }

/* Programs page */
.programs-page { padding: clamp(80px, 12vw, 150px) 0; }
.prog-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 96px; }
.prog { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.prog:nth-child(even) > a { order: 2; }
.prog img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.prog h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 16px; }
.prog h2 a { text-decoration: none; color: var(--plum); }
.prog p { color: var(--muted); max-width: 30em; }
.prog .tag { color: var(--plum); margin-bottom: 14px; }
.gives { background: var(--leaf); color: #fff; padding: clamp(80px, 12vw, 150px) 0; }
.gives h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 20px; }
.gives .section-lede { color: rgba(255,255,255,.8); }
.gives__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; margin-bottom: 80px; }
.gives__list { list-style: none; margin: 0; padding: 0; }
.gives__list li { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(217,194,154,.35); }
.gives__list b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--gilt-soft); }
.gives__list span { opacity: .85; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--gilt); }
.stat { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 6px; }
.stat__n { font-family: var(--serif); font-size: clamp(2.8rem, 5vw, 4.4rem); line-height: 1; }
.stat__l { opacity: .8; max-width: 14em; }
.impact { padding: clamp(80px, 10vw, 120px) 0 0; }
.impact .stat__n { color: var(--plum); }
.impact .stat__l { color: var(--muted); opacity: 1; }

/* Program detail */
.detail { padding: clamp(72px, 10vw, 130px) 0; }
.detail__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.detail__body h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--plum); margin: 0 0 12px; }
.detail__body h2:not(:first-child) { margin-top: 48px; }
.detail__body p { font-size: 1.125rem; max-width: 34em; }
.detail__aside { border-top: 1px solid var(--gilt); padding-top: 24px; display: grid; gap: 14px; position: sticky; top: 110px; }
.aside__h { font-family: var(--serif); font-size: 1.4rem; margin: 0 0 4px; }
.aside__small { font-size: .9rem; color: var(--muted); margin: 6px 0 0; }
.aside__small a { color: var(--plum); }
.more { background: var(--porcelain); padding: 72px 0; }
.more h2 { font-size: 1.8rem; margin-bottom: 24px; }
.more__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 32px; }
.more__list a { display: block; padding: 16px 0; border-top: 1px solid #ddd8de; text-decoration: none; font-family: var(--serif); font-size: 1.2rem; color: var(--plum); }
.more__list a:hover { text-decoration: underline; text-decoration-color: var(--gilt); }

/* Help and forms */
.help { padding: clamp(72px, 10vw, 130px) 0; }
.help__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.help__form h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.help__aside { display: grid; gap: 20px; position: sticky; top: 110px; }
.aside-card { border-top: 1px solid var(--gilt); padding-top: 20px; }
.aside-card a { color: var(--plum); }
.aside-card--alert { background: var(--porcelain); border-top: 0; border-left: 2px solid var(--plum); padding: 18px 20px; }
.big-link { font-family: var(--serif); font-size: 2rem; text-decoration: none; }
.form { display: grid; gap: 22px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea {
  font: inherit; font-weight: 400; padding: 12px 14px; border: 1px solid #cfc8d2; border-radius: 2px; background: #fff; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--plum); outline: 2px solid rgba(58,26,69,.15); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__group { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form__group legend, .form__label { font-weight: 500; font-size: .95rem; margin-bottom: 10px; padding: 0; }
.form__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: -12px; }
.form__groups .form__group { flex-direction: column; gap: 6px; }
.form__groups legend { font-family: var(--serif); font-size: 1.15rem; color: var(--plum); }
.form .opt { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; cursor: pointer; }
.form__group:not(.form__groups .form__group) > .opt { border: 1px solid #cfc8d2; padding: 8px 14px; border-radius: 999px; align-items: center; }
.form__group:not(.form__groups .form__group) > .opt:has(input:checked) { border-color: var(--plum); background: #f6f1f8; }
.opt input { accent-color: var(--plum); width: 18px; height: 18px; margin: 2px 0 0; flex: none; }
.form__trap { position: absolute; left: -9999px; }
.form .btn { justify-self: start; }

/* Donation closet */
.closet { background: var(--porcelain); padding: clamp(72px, 10vw, 130px) 0; }
.closet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.closet h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.closet h3 { font-size: 1.6rem; margin-bottom: 20px; color: var(--plum); }

/* Get involved */
.roles { padding: clamp(80px, 12vw, 150px) 0 0; }
.roles__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.roles__list li { border-top: 1px solid var(--gilt); padding-top: 20px; }
.roles__list h3 { font-size: 1.5rem; color: var(--plum); margin-bottom: 8px; }
.roles__list p { color: var(--muted); margin: 0; }
.partners { padding: 0 0 clamp(80px, 12vw, 150px); }
.partners h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 32px; }
.partners__list { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.partners__list li { background: #fff; border: 1px solid #ebe7ec; display: grid; place-items: center; padding: 20px; aspect-ratio: 4 / 3; }
.partners__list img { width: 100%; height: 100%; max-height: 150px; object-fit: contain; }

/* Events */
.weekly { padding: clamp(80px, 12vw, 150px) 0 40px; }
.weekly__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.weekly__item { background: var(--plum-deep); color: #fff; padding: clamp(32px, 4vw, 56px); }
.weekly__day { color: var(--gilt-soft); margin-bottom: 8px; }
.weekly__item h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 16px; }
.weekly__item p:last-child { opacity: .85; margin: 0; }
.weekly a, .upcoming a { color: var(--plum); }
.upcoming { padding: 40px 0 clamp(80px, 12vw, 150px); }
.empty { border: 1px dashed #cfc8d2; padding: 32px; color: var(--muted); max-width: 46em; }

/* Gallery */
.gallery { padding: clamp(80px, 12vw, 150px) 0; }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery__grid img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.gallery__grid li:nth-child(1), .gallery__grid li:nth-child(6) { grid-column: span 2; grid-row: span 2; }

/* Journal + posts */
.journal--page { background: var(--paper); }
.post { padding: 170px 0 clamp(80px, 10vw, 130px); }
.post__meta { color: var(--muted); }
.post h1 { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--plum); margin-bottom: 48px; }
.post__img { display: block; width: auto; max-width: min(620px, calc(100% - 2 * var(--gutter))); height: auto; margin: 0 auto 56px; }
.post__body p { font-size: 1.15rem; line-height: 1.75; }
.post__body p:first-child { font-family: var(--serif); font-size: 1.6rem; color: var(--plum); }
.post__foot { border-top: 1px solid var(--gilt); margin-top: 56px; padding-top: 32px; display: grid; gap: 24px; }
.post__foot .link { justify-self: start; }

/* Team member */
.person { padding: 170px 0 clamp(80px, 10vw, 130px); }
.person__grid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.person__img { width: 100%; height: auto; position: sticky; top: 110px; }
.person h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 32px; }
.person__body p:not(.founder__role) { font-size: 1.1rem; max-width: 36em; }
.team--more { background: var(--porcelain); }

/* Header on light pages: posts and team pages have no dark hero */
body:has(.post, .person) .masthead { position: fixed; background: var(--plum-deep); }

@media (max-width: 1180px) {
  .nav__toggle { display: inline-block; background: none; border: 1px solid rgba(255,255,255,.5); color: inherit; font: inherit; font-size: .9rem; padding: 8px 14px; border-radius: 2px; cursor: pointer; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--plum-deep); padding: 8px var(--gutter) 24px; }
  .nav ul.is-open { display: flex; }
  .nav li a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 960px) {
  .areas__list, .roles__list { grid-template-columns: 1fr 1fr; }
  .faq__grid, .prog, .gives__grid, .detail__grid, .help__grid, .closet__grid, .weekly__grid, .person__grid { grid-template-columns: 1fr; }
  .prog:nth-child(even) > a { order: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 0 24px; }
  .detail__aside, .help__aside, .person__img { position: static; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .person__img { max-width: 420px; }
}
@media (max-width: 560px) {
  .areas__list, .roles__list, .form__row, .form__groups { grid-template-columns: 1fr; }
  .gives__list li { grid-template-columns: 1fr; gap: 4px; }
  .page-hero { padding-top: 150px; }
}

/* Lala's photo file is squeezed sideways. Stretch it back to its true width (about 10%). */
img.lala-fix { aspect-ratio: 1238 / 1402; object-fit: fill; height: auto; }
.people img.lala-fix { aspect-ratio: 1; object-fit: cover; transform: scaleX(1.1); }
.people a { overflow: hidden; }
