:root {
  --sky: #c6ebf7;
  --sky-light: #edfaff;
  --pink: #f4b6d2;
  --green: #c6eeb5;
  --yellow: #ffefad;
  --ink: #365f86;
  --text: #243444;
  --muted: #66788a;
  --white: #ffffff;
  --border: rgba(54, 95, 134, 0.16);
  --shadow: 0 18px 45px rgba(48, 88, 122, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
}

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: .01em;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: #45637d;
}
.nav-links a:hover,
.nav-links a.active { background: var(--sky-light); color: var(--ink); }

.hero {
  background:
    radial-gradient(circle at 12% 24%, rgba(244,182,210,.45) 0 54px, transparent 55px),
    radial-gradient(circle at 88% 78%, rgba(255,239,173,.6) 0 68px, transparent 69px),
    linear-gradient(135deg, var(--sky-light), var(--sky));
  padding: 72px 0 78px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.75);
  color: var(--ink);
  border: 1px solid rgba(54,95,134,.12);
  border-radius: 999px;
  padding: 8px 13px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
  margin-top: 0;
  color: #233f59;
}

h1 { font-size: clamp(2.7rem, 6vw, 5rem); margin: 22px 0 20px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 16px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }

.hero p { font-size: 1.18rem; max-width: 650px; color: #3f5d74; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 25px rgba(54,95,134,.22); }
.btn-secondary { background: rgba(255,255,255,.82); color: var(--ink); border-color: rgba(54,95,134,.15); }

.hero-logo-card {
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 36px;
  padding: 22px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.hero-logo-card img { width: 100%; border-radius: 24px; }

.section { padding: 86px 0; }
.section-soft { background: #fbfdff; }
.section-intro { max-width: 740px; margin-bottom: 36px; }
.section-intro p { margin: 0; color: var(--muted); font-size: 1.08rem; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 28px;
  box-shadow: 0 12px 28px rgba(48,88,122,.07);
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.card:nth-child(1) .card-icon { background: #ffe2ee; }
.card:nth-child(2) .card-icon { background: #e1f6d8; }
.card:nth-child(3) .card-icon { background: #fff5ca; }
.card p { color: var(--muted); margin-bottom: 0; }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.story-panel {
  min-height: 390px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 30% 24%, var(--pink) 0 42px, transparent 43px),
    radial-gradient(circle at 70% 65%, var(--yellow) 0 34px, transparent 35px),
    radial-gradient(circle at 55% 22%, var(--green) 0 28px, transparent 29px),
    linear-gradient(145deg, var(--sky), #e9f8ff);
  display: grid;
  place-items: center;
  padding: 30px;
}
.story-panel img { width: min(330px, 85%); border-radius: 30px; box-shadow: var(--shadow); }

.event-highlight {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 30px;
  align-items: center;
  background: linear-gradient(135deg, #eefaff, #fff);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 24px;
}
.event-highlight img { border-radius: 20px; }
.event-highlight p { color: var(--muted); }

.page-hero {
  padding: 64px 0 54px;
  background: linear-gradient(135deg, var(--sky-light), #fff);
  border-bottom: 1px solid var(--border);
}
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.1rem; }

.prose { max-width: 780px; }
.prose p { font-size: 1.08rem; color: #50677a; }
.callout {
  background: #f1fbff;
  border-left: 5px solid var(--ink);
  border-radius: 0 18px 18px 0;
  padding: 22px 24px;
  margin: 28px 0;
}

.calendar-shell {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(48,88,122,.07);
  overflow: hidden;
}
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  background: var(--sky-light);
}
.calendar-header h2 { font-size: 1.7rem; margin: 0; }
.calendar-controls { display: flex; gap: 8px; }
.calendar-controls button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
}
.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.calendar-weekdays div {
  padding: 12px 8px;
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.calendar-day {
  min-height: 105px;
  padding: 10px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  background: #fff;
}
.calendar-day:nth-child(7n) { border-right: none; }
.calendar-day.muted { color: #b3bec7; background: #fbfcfd; }
.day-number { font-weight: 700; font-size: .9rem; }
.event-dot {
  margin-top: 8px;
  padding: 6px 8px;
  border-radius: 10px;
  background: #ffe7f2;
  color: #70405a;
  font-size: .76rem;
  line-height: 1.25;
}

.event-list { margin-top: 36px; display: grid; gap: 18px; }
.event-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 20px;
}
.event-date {
  border-radius: 18px;
  background: var(--sky-light);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px 6px;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.1;
}
.event-date strong { display:block; font-size: 1.8rem; font-family: Georgia, serif; }
.event-item h3 { margin: 0 0 5px; }
.event-item p { margin: 0; color: var(--muted); }
.empty-events {
  padding: 28px;
  border: 1px dashed rgba(54,95,134,.28);
  border-radius: 20px;
  color: var(--muted);
  background: #fcfeff;
}

.archive-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 30px;
  align-items: start;
}
.archive-grid img { border-radius: 22px; border: 1px solid var(--border); }

.site-footer {
  background: #274967;
  color: rgba(255,255,255,.86);
  padding: 46px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
.site-footer h3 { color: #fff; font-size: 1.2rem; }
.site-footer a { color: #fff; }
.footer-small {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.64);
  font-size: .9rem;
}

@media (max-width: 850px) {
  .hero-grid, .story-grid, .event-highlight, .archive-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-logo-card { max-width: 520px; margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .calendar-day { min-height: 84px; padding: 7px; }
  .event-dot { font-size: 0; width: 8px; height: 8px; padding: 0; border-radius: 50%; background: var(--pink); }
}

@media (max-width: 620px) {
  .container { width: min(100% - 26px, 1120px); }
  .nav-wrap { min-height: 68px; }
  .brand span { display: none; }
  .brand img { width: 48px; height: 48px; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 9px 9px; font-size: .9rem; }
  .section { padding: 64px 0; }
  .calendar-weekdays div { font-size: .68rem; padding: 9px 2px; }
  .calendar-day { min-height: 60px; padding: 5px; }
  .day-number { font-size: .78rem; }
  .event-item { grid-template-columns: 70px 1fr; gap: 14px; padding: 15px; }
}

/* Event images, event detail modal and owner admin */
.footer-admin-link {
  opacity: .58;
  text-decoration: none;
  font-size: .78rem;
}
.footer-admin-link:hover { opacity: 1; text-decoration: underline; }
.footer-admin-separator { opacity: .45; margin: 0 .3rem; }

.event-item.has-image {
  grid-template-columns: 86px 128px 1fr;
  align-items: stretch;
}
.event-card-image {
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  min-height: 118px;
  cursor: pointer;
}
.event-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-copy { min-width: 0; }
.event-description { margin-top: 7px !important; }
.text-button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0;
  margin-top: 8px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-button.danger { color: #9a3553; }

.calendar-day-events { display: grid; gap: 5px; margin-top: 7px; }
.event-dot {
  margin-top: 0;
  width: 100%;
  border: 0;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.event-dot img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  object-fit: cover;
  border-radius: 6px;
}
.event-dot span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.modal-open { overflow: hidden; }
.event-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 20px;
}
.event-modal.open { display: grid; }
.event-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 43, 61, .58);
  backdrop-filter: blur(5px);
}
.event-modal-card {
  width: min(620px, 100%);
  max-height: min(780px, calc(100vh - 40px));
  overflow: auto;
  position: relative;
  z-index: 1;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(19, 43, 63, .3);
}
.event-modal-image {
  width: 100%;
  max-height: 370px;
  object-fit: cover;
  background: var(--sky-light);
}
.event-modal-body { padding: 30px; }
.event-modal-body h2 { margin-top: 16px; }
.event-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(54,95,134,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(24,43,61,.12);
}

.admin-page { background: #f8fcfe; }
.admin-hero { padding-bottom: 44px; }
.admin-section { padding-top: 46px; }
.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
  gap: 26px;
  align-items: start;
}
.admin-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  box-shadow: 0 12px 32px rgba(48,88,122,.07);
}
.admin-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}
.admin-panel-heading h2 { font-size: 2rem; margin-bottom: 0; }
.admin-kicker {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.admin-notice {
  margin-bottom: 20px;
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--sky-light);
  color: #42637e;
  font-size: .92rem;
}
.admin-notice.success { background: #edf9e9; color: #35612d; }
.admin-notice.error { background: #fff0f4; color: #87364f; }
.admin-notice.preview { background: #fff7d9; color: #695825; }
.admin-form { display: grid; gap: 17px; }
.admin-form label {
  display: grid;
  gap: 7px;
  color: #36556f;
  font-weight: 700;
  font-size: .93rem;
}
.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid rgba(54,95,134,.22);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 400;
  padding: 12px 13px;
  outline: none;
}
.admin-form input:focus,
.admin-form textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(54,95,134,.09);
}
.admin-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-help { color: var(--muted); font-size: .8rem; font-weight: 400; }
.checkbox-row { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 9px !important; }
.checkbox-row input { width: auto; }
.admin-image-preview {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border-radius: 16px;
  background: var(--sky-light);
  color: var(--muted);
  font-size: .85rem;
}
.admin-image-preview img {
  width: 94px;
  height: 74px;
  object-fit: cover;
  border-radius: 12px;
}
.admin-event-list { display: grid; gap: 14px; }
.admin-event-item {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 15px;
  padding: 13px;
  border: 1px solid var(--border);
  border-radius: 18px;
}
.admin-event-item > img,
.admin-event-placeholder {
  width: 94px;
  height: 94px;
  object-fit: cover;
  border-radius: 14px;
}
.admin-event-placeholder {
  display: grid;
  place-items: center;
  background: var(--sky-light);
  font-size: 1.8rem;
}
.admin-event-copy h3 { font-size: 1.14rem; margin: 0 0 4px; }
.admin-event-copy p { margin: 0; color: var(--muted); font-size: .88rem; }
.admin-event-date { color: var(--ink) !important; font-weight: 800; }
.admin-event-actions { display: flex; gap: 14px; }

@media (max-width: 900px) {
  .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 850px) {
  .event-item.has-image { grid-template-columns: 74px 100px 1fr; }
  .event-card-image { min-height: 105px; }
  .event-dot img, .event-dot span { display: none; }
  .event-dot {
    width: 9px;
    height: 9px;
    min-height: 9px;
    border-radius: 50%;
    padding: 0;
    background: var(--pink);
  }
}

@media (max-width: 620px) {
  .event-item.has-image {
    grid-template-columns: 64px 86px 1fr;
    gap: 10px;
  }
  .event-card-image { min-height: 92px; }
  .event-description { display: none; }
  .event-modal-body { padding: 24px 20px; }
  .admin-panel { padding: 20px; border-radius: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .admin-event-item { grid-template-columns: 74px 1fr; }
  .admin-event-item > img, .admin-event-placeholder { width: 74px; height: 74px; }
}


.preset-picker {
  display: grid;
  gap: 10px;
}
.preset-picker-heading {
  color: #36556f;
  font-weight: 700;
  font-size: .93rem;
}
.preset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.preset-option {
  display: block;
}
.preset-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.preset-option-card {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid rgba(54,95,134,.18);
  border-radius: 18px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
  cursor: pointer;
  height: 100%;
}
.preset-option-card:hover {
  transform: translateY(-1px);
  border-color: rgba(54,95,134,.32);
}
.preset-option.is-selected .preset-option-card {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(54,95,134,.09);
  background: #fafdff;
}
.preset-option-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
}
.preset-option-copy {
  display: grid;
  gap: 3px;
}
.preset-option-copy strong {
  color: #274967;
  font-size: .92rem;
}
.preset-option-copy small {
  color: var(--muted);
  font-size: .79rem;
  line-height: 1.35;
}
.preset-option-empty {
  display: grid;
  place-items: center;
  min-height: 140px;
  border-radius: 14px;
  background: var(--sky-light);
  border: 1px dashed rgba(54,95,134,.22);
  color: var(--muted);
  font-weight: 700;
}
@media (max-width: 620px) {
  .preset-grid {
    grid-template-columns: 1fr;
  }
}


/* Donations and trustees pages */
.support-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(135deg, #f1fbff, #fff8fc);
  box-shadow: 0 12px 32px rgba(48,88,122,.07);
}
.support-panel h2 { margin-bottom: 12px; }
.support-panel p { color: var(--muted); }
.support-illustration {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    radial-gradient(circle at 25% 28%, rgba(244,182,210,.55) 0 38px, transparent 39px),
    radial-gradient(circle at 72% 64%, rgba(198,238,181,.65) 0 42px, transparent 43px),
    radial-gradient(circle at 64% 22%, rgba(255,239,173,.8) 0 26px, transparent 27px),
    linear-gradient(145deg, var(--sky), var(--sky-light));
}
.support-illustration img {
  width: min(250px, 72%);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.placeholder-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff7d9;
  color: #695825;
  font-size: .9rem;
}
.btn.is-disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.trustee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.trustee-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(48,88,122,.07);
}
.trustee-photo-placeholder {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(244,182,210,.55) 0 34px, transparent 35px),
    radial-gradient(circle at 72% 58%, rgba(255,239,173,.72) 0 30px, transparent 31px),
    linear-gradient(145deg, var(--sky-light), var(--sky));
  color: var(--ink);
  font-size: 2.8rem;
}
.trustee-copy { padding: 22px; }
.trustee-copy h3 { margin-bottom: 4px; }
.trustee-role {
  margin: 0 0 10px;
  color: var(--ink) !important;
  font-weight: 800;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.trustee-copy p { color: var(--muted); }

@media (max-width: 850px) {
  .support-panel { grid-template-columns: 1fr; }
  .trustee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .nav-wrap {
    padding: 8px 0 10px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
  }
  .brand { width: 100%; justify-content: center; }
  .brand img { width: 42px; height: 42px; }
  .nav-links {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2px;
  }
  .nav-links a { padding: 7px 8px; font-size: .84rem; }
  .trustee-grid { grid-template-columns: 1fr; }
  .support-panel { padding: 24px 20px; }
}


/* August content refresh: expanded work, support resources and inline trustees */
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.what-we-do-grid .card { height: 100%; }
.what-we-do-grid .card:nth-child(4) .card-icon { background: #e9f7ff; }
.what-we-do-grid .card:nth-child(5) .card-icon { background: #eef9e8; }
.what-we-do-grid .card:nth-child(6) .card-icon { background: #fff0f5; }

.about-photo-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}
.about-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-photo-caption {
  padding: 14px 18px;
  color: var(--muted);
  font-size: .88rem;
}

.trustee-grid-inline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.trustee-grid-inline .trustee-card { min-width: 0; }
.trustee-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--sky-light);
}
.trustee-grid-inline .trustee-copy { padding: 18px; }
.trustee-grid-inline .trustee-copy p:last-child { margin-bottom: 0; }

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.resource-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 12px 28px rgba(48,88,122,.06);
}
.resource-card h3 { margin-bottom: 8px; }
.resource-card p { margin-bottom: 0; color: var(--muted); }
.form-link-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 30px;
  background: linear-gradient(135deg, #f1fbff, #fff8fc);
  box-shadow: 0 12px 32px rgba(48,88,122,.07);
}
.form-link-panel p { color: var(--muted); }
.form-link-visual {
  min-height: 230px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  background:
    radial-gradient(circle at 26% 24%, rgba(244,182,210,.58) 0 36px, transparent 37px),
    radial-gradient(circle at 72% 68%, rgba(198,238,181,.7) 0 42px, transparent 43px),
    linear-gradient(145deg, var(--sky), var(--sky-light));
  color: var(--ink);
}
.form-link-visual strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.25;
}

@media (max-width: 900px) {
  .what-we-do-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trustee-grid-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .form-link-panel { grid-template-columns: 1fr; padding: 24px 20px; }
}
@media (max-width: 620px) {
  .what-we-do-grid,
  .trustee-grid-inline,
  .resource-grid { grid-template-columns: 1fr; }
}
