:root {
  --canvas: #fff8f1;
  --ink: #006b4f;
  --ink-soft: #0e5e8f;
  --muted: #5f7673;
  --accent: #117c79;
  --accent-dark: #006b4f;
  --secondary: #ef3b6a;
  --sun: #f3a11a;
  --sage: #7cb342;
  --sand: #e9e9e9;
  --cream: #fff8f1;
  --paper: #ffffff;
  --shadow: 0 18px 45px rgba(17, 67, 58, 0.16);
  --radius: 20px;
  --radius-lg: 28px;
  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --space-1: 0.5rem;
  --space-2: 0.85rem;
  --space-3: 1.25rem;
  --space-4: 1.75rem;
  --space-5: 2.5rem;
  --space-6: 3.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: #333333;
  background: var(--canvas);
  line-height: 1.65;
  position: relative;
  -ms-overflow-style: none;
}

html {
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  width: 0;
  height: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(239, 59, 106, 0.12), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(17, 124, 121, 0.14), transparent 45%),
    radial-gradient(circle at 70% 80%, rgba(243, 161, 26, 0.1), transparent 35%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.img-top {
  object-position: center top;
}

section {
  scroll-margin-top: 110px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  line-height: 1.2;
  transition: color 0.2s ease;
}

h1 {
  color: var(--ink);
}

h2,
h3 {
  color: #e0176a;
}

h4 {
  color: #333333;
}

h1:hover,
h2:hover,
h3:hover,
h4:hover {
  color: var(--ink);
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  z-index: 200;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(255, 248, 241, 0.92);
  border-bottom: 1px solid rgba(17, 124, 121, 0.12);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(17, 67, 58, 0.12);
}

.nav-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.brand img {
  width: auto;
  height: 86px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.brand-text {
  display: none;
}

.brand-title {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.brand-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  background: var(--paper);
  border: 1px solid rgba(27, 45, 42, 0.2);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a:focus::after,
.site-nav a.is-active::after {
  width: 100%;
}

.site-nav a.is-active {
  color: var(--accent-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(17, 67, 58, 0.14);
}

.btn-static {
  cursor: default;
  pointer-events: none;
}

.btn-static:hover {
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--paper);
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
}

.btn-small {
  padding: 0.6rem 1.2rem;
  background: var(--ink);
  color: var(--paper);
}

.hero {
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 59, 106, 0.2) 0%, rgba(239, 59, 106, 0) 70%);
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
}

.hero::after {
  background: radial-gradient(circle, rgba(17, 124, 121, 0.2) 0%, rgba(17, 124, 121, 0) 70%);
  width: 360px;
  height: 360px;
  top: auto;
  bottom: -200px;
  left: -140px;
}

.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-5);
  align-items: start;
  position: relative;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.7rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  line-height: 1.05;
}

.page-hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.5rem, 4vw, 3.6rem);
  line-height: 1.1;
}

.lead {
  font-size: 1.1rem;
  max-width: 520px;
}

.hero-inline-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 0.85rem;
  margin: 1.35rem 0 1.2rem;
}

.hero-inline-media img {
  width: 100%;
  height: 140px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-actions,
.page-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.5rem;
}

.hero-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.info-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
  display: grid;
  gap: 0.4rem;
  min-width: 0;
}

.info-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-card span {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  border: 1px solid rgba(27, 45, 42, 0.08);
  flex-wrap: wrap;
}

.hero-badges img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  padding: 0.4rem;
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(27, 45, 42, 0.18);
}

.tag {
  display: inline-block;
  background: rgba(239, 59, 106, 0.12);
  color: var(--secondary);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.7rem;
  width: fit-content;
  justify-self: start;
  align-self: start;
}

.mini {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-media {
  display: grid;
  gap: 1.5rem;
}

.hero-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 70px;
  gap: 0.75rem;
}

.hero-img {
  border-radius: 18px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-img--main {
  grid-column: 1 / span 6;
  grid-row: 1 / span 4;
}

.hero-img--side {
  grid-column: 1 / span 3;
  grid-row: 5 / span 3;
}

.hero-img--portrait {
  grid-column: 4 / span 3;
  grid-row: 5 / span 3;
}

.hero-img--activity {
  grid-column: 2 / span 4;
  grid-row: 8 / span 3;
}

.hero-note {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
  display: grid;
  gap: 0.6rem;
}

.hero-note h3 {
  font-family: "Fraunces", "Times New Roman", serif;
}

.page-hero {
  padding: 4.5rem 0 3.5rem;
}

.page-hero.compact-hero {
  padding: 3.2rem 0 3rem;
}

.faq-hero {
  padding-bottom: 2rem;
}

.page-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-5);
  align-items: center;
}

.page-hero-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
  display: grid;
  gap: 0.6rem;
}

.page-hero-media {
  display: grid;
  gap: 1rem;
}

.page-hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-media-fill {
  align-self: start;
  justify-self: stretch;
  height: clamp(280px, 40vw, 420px);
}

.hero-media-fill img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.text-link {
  font-weight: 600;
  color: var(--ink-soft);
}

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.faq-section {
  padding-top: 2rem;
}

.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-header {
  max-width: 680px;
  margin-bottom: var(--space-4);
}

.section-header h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(2.1rem, 3.3vw, 3rem);
}

.section-header p:last-child {
  margin-bottom: 0;
}

.split {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split-media--about img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.media-card {
  margin-top: 1.5rem;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.3rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
  display: grid;
  gap: 0.6rem;
}

.milestone-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-top: 2rem;
}

.milestone {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
  display: grid;
  gap: 0.3rem;
}

.milestone-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.milestone-value {
  font-size: 1.2rem;
  font-weight: 700;
}

.milestone-note {
  font-size: 0.9rem;
  color: var(--muted);
}

.memorial {
  background: var(--sand);
}

.dates {
  font-weight: 600;
  color: var(--ink-soft);
}

.section-sand {
  background: var(--sand);
}

.section-sage {
  background: linear-gradient(120deg, rgba(17, 124, 121, 0.12), rgba(243, 161, 26, 0.14));
}

.section-ink {
  background: #1f2f2a;
  color: var(--paper);
}

.section-ink .section-header .eyebrow,
.section-ink .section-header p {
  color: rgba(255, 255, 255, 0.72);
}

.section-ink h1,
.section-ink h2,
.section-ink h3,
.section-ink h4 {
  color: var(--paper);
}

.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: var(--paper);
}

.section-ink .btn-ghost {
  border-color: var(--paper);
  color: var(--paper);
}

.section-ink .page-hero-card {
  color: var(--ink);
}

.section-cream {
  background: var(--cream);
}

.news-section {
  position: relative;
}

.news-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(27, 45, 42, 0.08);
}

.card-grid,
.news-grid,
.schedule-grid,
.pricing-grid,
.space-grid,
.faq-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
  display: grid;
  gap: 0.6rem;
  height: 100%;
  align-content: start;
}

.card > .text-link {
  margin-top: auto;
}

.schedule-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.schedule-status {
  grid-column: 1 / -1;
}

.admin-login {
  margin-top: 1rem;
}

.schedule-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.schedule-media {
  margin: -1.5rem -1.5rem 0;
}

.schedule-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px) calc(var(--radius) - 4px) 0 0;
}

.day-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 124, 121, 0.1);
  color: var(--accent-dark);
  font-weight: 600;
  border-radius: 999px;
  padding: 0 0.8rem;
  font-size: 0.75rem;
  line-height: 1;
  height: 28px;
  width: max-content;
  justify-self: start;
  align-self: start;
  white-space: nowrap;
}

.schedule-card h3 {
  margin: 0;
  line-height: 1.25;
}

.schedule-card p {
  margin: 0;
}

.schedule-card .time {
  margin-top: 0.1rem;
}

.time {
  font-weight: 600;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 2rem;
}

.pricing-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.6rem;
}

.space-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.space-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
}

.space-card figcaption {
  padding: 1rem 1.2rem 1.4rem;
  display: grid;
  gap: 0.4rem;
}

.list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  gap: 0.75rem;
}

.list li {
  position: relative;
  padding-left: 1.8rem;
}

.list li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.news-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.news-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
  display: flex;
  align-items: stretch;
  gap: 0;
  color: var(--ink);
  overflow: hidden;
}

.news-card:nth-child(even) {
  flex-direction: row-reverse;
}

.news-card img {
  border-radius: 0;
  width: min(38%, 360px);
  min-width: 280px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  flex-shrink: 0;
}

.news-card-body {
  display: grid;
  gap: 0.75rem;
  padding: 1.8rem;
  align-content: start;
  flex: 1;
}

.news-card h3 {
  margin: 0;
  line-height: 1.25;
}

.news-card p {
  margin: 0;
}

.news-card p + p {
  margin-top: 0.65rem;
}

.news-card .card-meta {
  margin-bottom: 0.25rem;
}

.news-callout {
  display: grid;
  gap: 0.8rem;
}

.card-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.callout {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(27, 45, 42, 0.08);
}

.faq-grid {
  gap: 1rem;
}

.faq-item {
  background: var(--paper);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.4rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.faq-item summary::after {
  content: "\25be";
  margin-left: auto;
  font-size: 1.4rem;
  color: currentColor;
  transition: transform 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item::marker {
  display: none;
}

.faq-item[open] summary {
  margin-bottom: 0.6rem;
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-answer {
  display: grid;
  gap: 0.6rem;
  max-height: 0;
  opacity: 0;
  transform: translateY(-14px);
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.7s ease, opacity 0.55s ease, transform 0.7s ease, visibility 0s linear 0.7s;
}

.faq-item[open] .faq-answer {
  max-height: 800px;
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: max-height 0.7s ease, opacity 0.55s ease, transform 0.7s ease, visibility 0s;
  animation: faq-reveal 0.7s ease;
}

.faq-item:not([open]) > .faq-answer {
  display: grid;
}

@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-answer p {
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: start;
}

.map-section .section-header {
  margin-bottom: var(--space-3);
}

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
  background: var(--paper);
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-info,
.contact-form {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.8rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.contact-form {
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}

input,
textarea {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(27, 45, 42, 0.2);
  background: #fafafa;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(17, 124, 121, 0.28);
  border-color: rgba(17, 124, 121, 0.55);
}

.subscribe {
  background: linear-gradient(120deg, rgba(239, 59, 106, 0.08), rgba(17, 124, 121, 0.14));
}

.subscribe-inner {
  display: grid;
  gap: 1.5rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.subscribe-form {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.subscribe-form input {
  flex: 1 1 220px;
}

.subscribe-form .form-note {
  flex-basis: 100%;
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
  display: none;
}

form.is-submitted .form-note {
  display: block;
}

.site-footer {
  background: #0f5d4d;
  color: var(--paper);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: start;
}

.site-footer a {
  color: var(--paper);
  display: block;
  margin-top: 0.4rem;
}

.footer-legal {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 2rem;
}

.footer-admin {
  display: grid;
  gap: 0.15rem;
  align-content: start;
  justify-items: start;
}

.footer-charity {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
  margin: 0 0 0.6rem 0;
}

.footer-admin .admin-login {
  display: inline-flex;
  align-self: start;
}

.footer-admin .admin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1rem;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  text-decoration: none;
  line-height: 1;
  height: auto;
  width: fit-content;
  margin-top: 0;
}

.admin-pill:hover {
  box-shadow: none;
  transform: none;
  color: var(--paper);
  border-color: var(--paper);
  text-decoration: underline;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .btn {
    transition: none;
  }

  .faq-answer,
  .faq-item[open] .faq-answer {
    transition: none;
    animation: none;
  }
}

@media (max-width: 1024px) {
  .hero-inner,
  .page-hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    grid-auto-rows: 60px;
  }

  .hero-img--activity {
    grid-row: 7 / span 3;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: var(--gutter);
    left: var(--gutter);
    background: var(--paper);
    border-radius: 18px;
    padding: 1rem 1.2rem;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    max-height: calc(100vh - 5.5rem);
    overflow: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    max-height: 0;
    transition: max-height 0.35s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    max-height: calc(100vh - 5.5rem);
  }

  .site-nav a {
    width: 100%;
    padding: 0.35rem 0;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 3.75rem 0 3.25rem;
  }

  .hero-info {
    grid-template-columns: 1fr;
  }

  .hero-collage {
    grid-auto-rows: 50px;
  }

  .split-media--about img {
    aspect-ratio: 4 / 3;
  }

  .hero-inline-media {
    grid-template-columns: 1fr;
  }

  .callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-card,
  .news-card:nth-child(even) {
    flex-direction: column;
  }

  .news-card img {
    width: 100%;
    min-width: 0;
    aspect-ratio: 16 / 10;
  }
}

/* Trustee profile rows */
.trustee-list {
  display: grid;
  gap: 3rem;
}

.trustee-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2.5rem;
  align-items: start;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 45, 42, 0.08);
}

.trustee-row.reverse {
  grid-template-columns: 1fr 220px;
}

.trustee-row.reverse .trustee-photo {
  order: 2;
}

.trustee-row.reverse .trustee-body {
  order: 1;
}

.trustee-photo {
  display: flex;
  justify-content: center;
}

.trustee-photo img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 4px solid rgba(17, 124, 121, 0.15);
}

.trustee-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--muted);
  box-shadow: var(--shadow);
  border: 4px solid rgba(27, 45, 42, 0.1);
}

.trustee-body {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.trustee-body h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 1.5rem;
  margin: 0;
}

.trustee-role {
  color: #e0176a;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
}

.trustee-body p {
  color: #333333;
  margin: 0;
}

.trustee-coming-soon {
  color: var(--muted);
  font-style: italic;
}

.charity-notice {
  border: 1px solid rgba(17, 124, 121, 0.25);
  background: rgba(17, 124, 121, 0.06);
  border-radius: var(--radius);
  padding: 1rem 1.4rem;
  font-size: 0.88rem;
  color: #444;
  margin-top: 2rem;
}

.charity-notice p {
  margin: 0;
}

@media (max-width: 600px) {
  .nav-shell {
    padding: 0.75rem var(--gutter);
    gap: 1rem;
  }

  .brand {
    gap: 0;
  }

  .brand img {
    width: auto;
    height: 62px;
  }

  .hero-actions .btn,
  .page-hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-note {
    padding: 1.2rem;
  }

  .hero-collage {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 110px;
  }

  .hero-img--main {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }

  .hero-img--portrait {
    grid-column: 1 / span 2;
    grid-row: 3 / span 2;
  }

  .hero-img--side,
  .hero-img--activity {
    display: none;
  }

  .img-top {
    object-position: 50% 15%;
  }
}

@media (max-width: 720px) {
  .trustee-row,
  .trustee-row.reverse {
    grid-template-columns: 1fr;
  }

  .trustee-row .trustee-photo,
  .trustee-row.reverse .trustee-photo {
    order: 0;
    justify-content: flex-start;
  }

  .trustee-row .trustee-body,
  .trustee-row.reverse .trustee-body {
    order: 1;
  }
}
