/* Hanover Diabetes Support Group — site styles
   Ported from the Claude Design export "Homepage redesign with gallery". */

:root {
  --bg: #f7f6f1;
  --surface: #ffffff;
  --ink: #1e2a22;
  --ink-soft: #3a4a40;
  --ink-muted: #5a6a60;
  --line: #e3e6df;
  --line-soft: #e8ebe4;
  --green: #137a35;
  --green-dark: #0c5a26;
  --green-deep: #123f22;
  --green-night: #0b2e17;
  --green-footer: #0d2e19;
  --green-tint: #eef4ee;
  --mint: #b9cdbd;
  --mint-soft: #c9dccd;
  --mint-muted: #8fb59a;
  --gold: #f2d21b;
  --gold-hover: #ffe14a;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Public Sans', Helvetica, Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 28px);
  --section-pad: clamp(56px, 8vw, 96px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--green); }
a:hover { color: var(--green-dark); }
img { display: block; max-width: 100%; }
button { font: inherit; }
main { flex: 1; }
[hidden] { display: none !important; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section--white { background: var(--surface); }
.section--deep { background: var(--green-deep); color: #fff; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
}
.section--deep .eyebrow, .eyebrow--gold { color: var(--gold); }

.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(28px, 3vw, 34px); }
.lede {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}

/* Buttons */
.btn {
  text-decoration: none;
  font-weight: 600;
  padding: 15px 26px;
  border-radius: 999px;
  font-size: 16px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  transition: background .2s, transform .2s, color .2s;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-hover); color: var(--ink); transform: translateY(-1px); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,0.6); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn--deep { background: var(--green-deep); color: #fff; }
.btn--deep:hover { background: var(--green-dark); color: #fff; }
.text-link {
  align-self: flex-start;
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 2px;
  font-size: 16px;
}

/* Header */
.site-header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header__inner {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand__logo { width: 56px; height: 56px; object-fit: contain; flex: none; }
.brand__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.15;
}
.brand__tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.site-nav { display: flex; gap: 4px; margin-left: auto; }
.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: var(--ink);
  white-space: nowrap;
}
.site-nav { flex-wrap: wrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: var(--green-tint);
  color: var(--green-dark);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--green-night);
  color: #fff;
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.6s ease, transform 0s linear;
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.08);
  transition: opacity 1.6s ease, transform var(--hero-zoom, 8s) linear;
}
.hero__shade { position: absolute; inset: 0; pointer-events: none; }
.hero__shade--v { background: linear-gradient(180deg, rgba(11,46,23,0.25) 0%, rgba(11,46,23,0.45) 40%, rgba(11,46,23,0.93) 100%); }
.hero__shade--h { background: linear-gradient(90deg, rgba(11,46,23,0.55) 0%, rgba(11,46,23,0) 70%); }
.hero__content {
  position: relative;
  width: 100%;
  padding-top: clamp(120px, 18vh, 200px);
  padding-bottom: clamp(40px, 6vh, 64px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vh, 32px);
}
.hero__badge { display: flex; align-items: center; gap: 14px; animation: hdsg-rise .8s ease both; }
.hero__logo {
  width: clamp(64px, 8vw, 96px);
  height: clamp(64px, 8vw, 96px);
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.hero__kicker {
  font-size: clamp(12px, 1.3vw, 14px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(38px, 7.5vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 14ch;
  text-wrap: balance;
  animation: hdsg-rise .9s .1s ease both;
}
.hero__lede {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: #e4ede5;
  max-width: 56ch;
  text-wrap: pretty;
  animation: hdsg-rise .9s .2s ease both;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; animation: hdsg-rise .9s .3s ease both; }
.hero__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.22);
}
.hero__dots { display: flex; gap: 8px; }
.hero__dot {
  all: unset;
  cursor: pointer;
  height: 44px;
  width: 14px;
  border-radius: 999px;
  background: linear-gradient(rgba(255,255,255,0.45), rgba(255,255,255,0.45)) center / 100% 5px no-repeat;
  transition: width .4s ease;
}
.hero__dot.is-active { width: 40px; background-image: linear-gradient(var(--gold), var(--gold)); }
.hero__caption { font-size: 13px; color: var(--mint); letter-spacing: 0.06em; }

/* Mission */
.mission {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.mission__head { display: flex; flex-direction: column; gap: 14px; }
.mission__rule { width: 48px; height: 5px; background: var(--gold); border-radius: 3px; }
.mission__text {
  margin: 0;
  grid-column: span 2;
  font-family: var(--serif);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.55;
  text-wrap: pretty;
}
@media (max-width: 640px) { .mission__text { grid-column: auto; } }

/* Who we are */
.who {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.who__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.who__stack { display: flex; flex-direction: column; gap: 14px; }
.who__photo { width: 100%; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(18,63,34,0.14); }
.who__photo--tall { aspect-ratio: 3 / 4; }
.who__photo--square { aspect-ratio: 1 / 1; }
.who__stat {
  background: var(--green-deep);
  color: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.who__stat-num { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1; }
.who__stat-label { font-size: 13px; color: var(--mint); letter-spacing: 0.06em; text-transform: uppercase; }
.who__copy { display: flex; flex-direction: column; gap: 18px; }

/* Upcoming events */
.events__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
.events__copy { display: flex; flex-direction: column; gap: 18px; }
.events__lede { color: var(--mint-soft); }
.events__note { margin: 0; font-size: 14px; line-height: 1.6; color: var(--mint-muted); }
.events__note a { color: #fff; font-weight: 600; }
.events__note a:hover { color: var(--gold); }
.events__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.events__empty { margin: 0; font-size: 17px; line-height: 1.6; color: var(--mint-soft); }
.events__empty a { color: #fff; font-weight: 600; }

/* "Next up" summary */
.events__next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(242,210,27,0.1);
  border: 1px solid rgba(242,210,27,0.35);
  border-left: 4px solid var(--gold);
}
.events__next-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.events__next-title { font-family: var(--serif); font-size: 20px; line-height: 1.25; color: #fff; }
.events__next-when { font-size: 14px; color: #a9d1b3; }

/* Filter chips */
.events__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.events__chip {
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.28);
  background: transparent;
  color: var(--mint-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  min-height: 40px;
  border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.events__chip:hover { border-color: #fff; color: #fff; }
.events__chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.events__chip:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Event cards */
.event {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease, opacity .6s ease;
  opacity: 0;
  transform: translateY(16px);
  transition-delay: 0s, 0s, 0s, 0s, calc(var(--i, 0) * 80ms);
}
.event.is-visible { opacity: 1; transform: none; }
.event:hover, .event.is-open { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }
.event:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.25); }
.event.is-visible.is-open:hover { transform: none; }
.event--next { border-color: rgba(242,210,27,0.55); background: rgba(242,210,27,0.06); }
.event--next:hover, .event--next.is-open { background: rgba(242,210,27,0.09); border-color: var(--gold); }

.event__head {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 18px;
  padding: 20px 20px 20px 18px;
  cursor: pointer;
  align-items: start;
}
.event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  transition: background .3s, transform .3s;
}
.event:hover .event__date { background: rgba(255,255,255,0.14); transform: scale(1.04); }
.event--next .event__date { background: var(--gold); border-color: var(--gold); }
.event--next .event__day, .event--next .event__month { color: var(--ink); }
.event__day { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--gold); font-weight: 600; }
.event__month { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #a9d1b3; }
.event__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.event__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.event__tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.event__tag--meeting { background: rgba(169,209,179,0.18); color: #cfe8d6; border-color: rgba(169,209,179,0.35); }
.event__tag--clinic { background: rgba(242,210,27,0.18); color: #ffe57a; border-color: rgba(242,210,27,0.4); }
.event__tag--fair { background: rgba(120,190,255,0.16); color: #bfe0ff; border-color: rgba(120,190,255,0.35); }
.event__tag--other { background: rgba(255,255,255,0.1); color: #e6efe8; border-color: rgba(255,255,255,0.2); }
.event__countdown { font-size: 12px; letter-spacing: 0.06em; color: #a9d1b3; }
.event--next .event__countdown { color: var(--gold); font-weight: 600; }
.event__title { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.3; color: #fff; }
.event__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; letter-spacing: 0.02em; color: #a9d1b3; }
.event__meta-item { display: inline-flex; align-items: center; gap: 6px; }
.event__meta-item::before {
  content: '';
  width: 14px; height: 14px; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center/contain no-repeat;
}
.event__meta-item--place::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 0 0-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 0 0-14 0c0 4.8 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E");
}
.event__desc { margin: 0; font-size: 15px; line-height: 1.65; color: var(--mint-soft); text-wrap: pretty; }

.event__toggle {
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  min-height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, border-color .2s;
  align-self: start;
}
.event__toggle:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.event__toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.event__chevron {
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .3s ease;
}
.event.is-open .event__chevron { transform: rotate(-135deg) translateY(-2px); }

.event__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}
.event.is-open .event__panel { grid-template-rows: 1fr; }
.event__panel-inner { overflow: hidden; min-height: 0; }
.event__details {
  margin: 0;
  padding: 0 20px 18px 108px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--mint-soft);
  text-wrap: pretty;
}
.event__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 20px 20px 108px;
}
.event__action {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 9px 14px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: background .2s, border-color .2s, color .2s;
}
.event__action:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }
.event__action--primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.event__action--primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--ink); }

@media (max-width: 560px) {
  .event__head { grid-template-columns: 60px 1fr; gap: 14px; padding: 16px; }
  .event__toggle { grid-column: 2; justify-self: start; }
  .event__day { font-size: 26px; }
  .event__details, .event__actions { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .event { opacity: 1; transform: none; transition: none; }
  .event:hover { transform: none; }
  .event__panel { transition: none; }
}

/* Activities */
.activities { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.activities__head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.activities__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 16px;
}
.activity {
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 120px;
  border-left: 4px solid var(--gold);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.activity:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(18,63,34,0.12); border-color: #cfe0d3; border-left-color: var(--gold); }
.activity__label { font-size: 17px; font-weight: 500; line-height: 1.4; text-wrap: pretty; }

/* Featured gallery */
.featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.featured__copy { display: flex; flex-direction: column; gap: 22px; order: 1; }
.featured__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.featured__thumb {
  all: unset;
  cursor: pointer;
  width: clamp(44px, 6vw, 64px);
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  flex: none;
  opacity: 0.55;
  outline: 3px solid transparent;
  outline-offset: 2px;
  transition: opacity .3s, outline-color .3s;
}
.featured__thumb img { width: 100%; height: 100%; object-fit: cover; }
.featured__thumb.is-active { opacity: 1; outline-color: var(--gold); }
.featured__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-height: 760px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--green-deep);
  box-shadow: 0 30px 60px rgba(18,63,34,0.18);
  order: 2;
}
.featured__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.4s ease, transform 0s linear;
}
.featured__slide.is-active { opacity: 1; transform: scale(1.06); transition: opacity 1.4s ease, transform 7s linear; }
.featured__counter {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #fff;
  background: rgba(11,46,23,0.7);
  backdrop-filter: blur(6px);
  padding: 7px 12px;
  border-radius: 999px;
}

/* About page */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head__inner {
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
}
.cards {
  padding-top: 56px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 22px; }
.card p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-soft); text-wrap: pretty; }

.leadership { padding-top: 56px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 28px; }
.leaders {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px 32px;
}
.leader { display: flex; flex-direction: column; gap: 4px; border-top: 1px solid #3f7a52; padding-top: 14px; }
.leader__role { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #a9d1b3; }
.leader__name { font-family: var(--serif); font-size: 19px; }

.projects { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 32px; }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px 40px;
}
.project { display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--gold); padding-top: 16px; }
.project h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 20px; line-height: 1.3; }
.project p { margin: 0; font-size: 16px; line-height: 1.7; color: var(--ink-soft); text-wrap: pretty; }

.fundraising {
  padding-top: 64px;
  padding-bottom: 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 40px;
  align-items: start;
}
.fundraising ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.fundraising li { display: flex; flex-direction: column; gap: 4px; }
.fundraising strong { font-size: 19px; font-weight: 600; }
.fundraising span { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }

.numbered { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.numbered li {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: 18px;
}
.numbered li:last-child { border-bottom: 1px solid rgba(255,255,255,0.18); }
.numbered__n { font-family: var(--serif); font-size: 22px; color: var(--gold); flex: none; }

.closing {
  padding-top: 64px;
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.closing__logo { width: 88px; height: 88px; object-fit: contain; }

/* Gallery page */
.gallery {
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.gallery__head { display: flex; flex-direction: column; gap: 10px; }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 14px;
}
.gallery__item {
  all: unset;
  cursor: pointer;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--line);
}
.gallery__item:hover, .gallery__item:focus-visible { outline: 3px solid var(--gold); }
.gallery__item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Contact page */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }
.contact__form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 22px;
}
.field label { font-weight: 600; font-size: 15px; }
.field__req { color: var(--green); }
.field__opt { font-weight: 400; color: var(--ink-muted); font-size: 14px; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  min-height: 48px;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%231e2a22' stroke-width='1.8' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
.field select:invalid { color: var(--ink-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(19,122,53,0.15);
}
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: #b3261e; }
.field__hint { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.field__error { margin: 0; font-size: 14px; color: #b3261e; font-weight: 500; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact__privacy { margin: 0; font-size: 14px; color: var(--ink-muted); }
.contact__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact__actions .btn { border: none; cursor: pointer; }
.contact__actions .btn:disabled { opacity: .6; cursor: default; }
.contact__status { font-size: 14px; color: var(--ink-muted); }
.contact__result { border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.contact__result h2 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 22px; }
.contact__result p { margin: 0; font-size: 16px; line-height: 1.6; }
.contact__result--ok { background: var(--green-tint); border: 1px solid #cfe0d3; color: var(--green-dark); }
.contact__result--ok a { color: var(--green-dark); }
.contact__result--err { background: #fbecea; border: 1px solid #f0c6c1; color: #7a1c15; }
.contact__result--err a { color: #7a1c15; }
.contact__aside { display: flex; flex-direction: column; gap: 18px; }
.contact__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact__card p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.contact__card--deep { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.contact__card--deep p { color: var(--mint-soft); }
.contact__card--deep a { color: #fff; font-weight: 600; }
.contact__card--deep a:hover { color: var(--gold); }
.contact__details { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact__details div { display: flex; flex-direction: column; gap: 3px; }
.contact__details dt { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); }
.contact__details dd { margin: 0; font-size: 17px; line-height: 1.5; }
.contact__details a { text-decoration: none; font-weight: 600; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(10,20,14,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 40px);
}
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox__btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__btn--close { top: 12px; right: 12px; background: #fff; }
.lightbox__btn--prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 999px;
}
body.lightbox-open { overflow: hidden; }

/* Footer */
.site-footer { background: var(--green-footer); color: var(--mint-soft); }
.site-footer__inner {
  padding-top: clamp(40px, 6vw, 64px);
  padding-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 36px 48px;
  align-items: start;
}
.site-footer__col { display: flex; flex-direction: column; gap: 14px; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__brand img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; flex: none; }
.site-footer__brand span { font-family: var(--serif); font-size: 18px; line-height: 1.2; color: #fff; }
.site-footer__blurb { margin: 0; font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.site-footer__head { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.site-footer__links { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer__links a { color: #fff; text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.site-footer__links a:hover { color: var(--gold); }
.site-footer__links small { font-size: 12px; color: var(--mint-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--mint-muted);
}

@keyframes hdsg-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero__badge, .hero__title, .hero__lede, .hero__actions { animation: none; }
  .hero__slide, .featured__slide { transition: opacity .3s ease; transform: none !important; }
}
