/* Community Garden: JAOF's blue/cyan identity and the selected homepage layout. */
:root {
  --garden-surface: #f3f9ff;
  --garden-line: #d2e3f4;
  --garden-ink: #102c46;
}

html { scroll-padding-top: 150px; }
.site-header {
  padding-top: 22px;
  background: var(--garden-surface);
  border: 0;
}
.site-header .header-inner {
  position: relative;
  height: 112px;
  padding: 13px 29px;
  gap: 28px;
  border: 1px solid var(--garden-line);
  border-radius: 999px;
  background: #fff;
}
.site-header .brand,
.site-header .brand img { width: 150px; }
.site-header nav { gap: 25px; }
.site-header nav > a { font-size: 13px; }
.site-header .nav-donate {
  min-height: 46px;
  padding: 12px 22px;
  gap: 17px;
}
.garden-mobile-donate { display: none; }
.garden-hero {
  padding: 50px 0 0;
  background: var(--garden-surface);
}
.garden-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  line-height: 1.6;
  margin-bottom: 25px;
}
.garden-eyebrow::before {
  content: '';
  width: 23px;
  height: 2px;
  background: var(--cyan);
  flex-shrink: 0;
}
.garden-intro {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  margin-bottom: 37px;
}
.garden-intro h1 {
  max-width: 710px;
  color: var(--garden-ink);
  font-size: clamp(48px, 5.15vw, 78px);
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: -.065em;
  margin: 0;
}
.garden-intro h1 em { color: var(--blue); font-style: normal; }
.garden-copy { max-width: 460px; padding-top: 6px; }
.garden-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 23px;
}
.garden-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.garden-actions .button {
  min-height: 50px;
  padding: 13px 22px;
  gap: 27px;
  font-size: 13px;
}
.garden-actions .button > span:last-child {
  background: none;
  color: inherit;
  height: auto;
  width: auto;
  font-size: 22px;
}
.garden-link {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  min-height: 46px;
  padding: 10px 0;
  color: var(--blue);
  font-size: 13px;
  font-weight: 500;
}
.garden-link span { font-size: 22px; }
.garden-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.garden-image {
  position: relative;
  height: clamp(300px, 30vw, 450px);
  margin: 0;
  overflow: hidden;
  border-radius: 120px 15px 120px 15px;
  background: #d9eff7;
  isolation: isolate;
}
.garden-image > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}
.garden-image::after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(0deg, #052b4628, transparent);
}
.garden-image figcaption {
  position: absolute;
  z-index: 1;
  left: 32px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 29px;
  padding: 16px 18px 16px 23px;
  border-radius: 17px;
  background: #fff;
  color: var(--garden-ink);
  font-size: 12px;
  line-height: 1.7;
}
.garden-image figcaption strong { font-weight: 500; color: var(--blue); }
.garden-image figcaption a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--garden-surface);
  color: var(--blue);
  font-size: 25px;
}
.garden-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 25px 0 27px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}
.garden-footnote > img {
  width: 172px;
  height: auto;
  padding: 3px 7px;
  background: #fff;
  border-radius: 5px;
}
.garden-footnote > a { display: flex; align-items: center; gap: 20px; color: var(--blue); }
.garden-footnote > a > span { font-size: 21px; }
/* Keep the garden's soft geometry and clear identity throughout the existing pages. */
.purpose-new { padding-top: 95px; }
.possibility-focus { border-radius: 0 65px 0 0; }
.focus-story { border-radius: 12px 70px 12px 12px; }
.contribution { border-radius: 24px; }
.give-art { border-radius: 24px; }
.programme-card, .value-panel, .gallery-item { border-radius: 14px; }
.page-hero { background: var(--garden-surface); padding-top: 38px; }
.enquiry-form, .donation-card { border-radius: 20px; }
.hope-banner { border-radius: 65px 0 0 0; }

@media (max-width: 1250px) {
  .site-header .header-inner { padding-inline: 24px; gap: 20px; }
  .site-header nav { gap: 19px; }
  .site-header nav > a { font-size: 12px; }
  .garden-intro { gap: 45px; }
  .garden-copy > p { font-size: 15px; }
  .garden-image { height: 350px; border-radius: 100px 14px 100px 14px; }
}
@media (max-width: 1100px) {
  .site-header .header-inner { height: 100px; gap: 17px; }
  .site-header .brand, .site-header .brand img { width: 135px; }
  .menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--garden-line);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 11px;
    flex-shrink: 0;
  }
  .menu-toggle span { width: 18px; }
  .garden-mobile-donate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-left: auto;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 20px 25px;
    border: 1px solid var(--garden-line);
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 15px 35px #102c4612;
  }
  .site-header nav.open { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .site-header nav > a { padding: 12px 0; font-size: 14px; }
  .site-header nav a[aria-current]::after { display: none; }
  .site-header nav .nav-donate { margin-top: 10px; padding: 12px 20px; justify-content: space-between; }
  .garden-hero { padding-top: 38px; }
  .garden-intro { grid-template-columns: 1.05fr 1fr; gap: 32px; }
  .garden-intro h1 { font-size: 58px; }
  .garden-actions { gap: 17px; }
  .garden-actions .button { font-size: 12px; padding-inline: 19px; gap: 19px; }
  .garden-link { font-size: 12px; gap: 13px; }
}
@media (max-width: 760px) {
  .garden-intro { gap: 25px; }
  .garden-intro h1 { font-size: 49px; }
  .garden-copy > p { font-size: 14px; line-height: 1.8; }
  .garden-actions { gap: 8px 15px; }
  .garden-image { height: 320px; border-radius: 80px 12px 80px 12px; }
  .garden-footnote > span { order: 3; width: 100%; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 122px; }
  .site-header { padding-top: 13px; }
  .site-header .header-inner { height: 93px; padding: 10px 17px; gap: 12px; border-radius: 24px; }
  .site-header .brand, .site-header .brand img { width: 125px; }
  .garden-mobile-donate { padding: 10px 14px; gap: 8px; font-size: 11px; }
  .site-header nav { border-radius: 20px; }
  .garden-hero { padding-top: 31px; }
  .garden-eyebrow { font-size: 9px; letter-spacing: .11em; margin-bottom: 23px; }
  .garden-intro { grid-template-columns: 1fr; gap: 23px; margin-bottom: 28px; }
  .garden-intro h1 { font-size: clamp(43px, 11.1vw, 66px); letter-spacing: -.06em; line-height: 1.06; max-width: 540px; }
  .garden-copy { padding: 0; max-width: 490px; }
  .garden-copy > p { font-size: 14px; line-height: 1.85; margin-bottom: 20px; }
  .garden-actions { gap: 20px; }
  .garden-actions .button { min-height: 48px; font-size: 12px; padding-inline: 19px; }
  .garden-link { font-size: 12px; }
  .garden-image { height: 350px; border-radius: 70px 10px 70px 10px; }
  .garden-image > img { object-position: 66% center; }
  .garden-image figcaption { left: 16px; right: 16px; bottom: 21px; padding: 12px 13px 12px 17px; justify-content: space-between; gap: 15px; border-radius: 15px; font-size: 11px; }
  .garden-image figcaption a { min-width: 42px; min-height: 42px; }
  .garden-footnote { padding: 21px 0 23px; gap: 14px; font-size: 10px; }
  .garden-footnote > img { width: 150px; }
  .garden-footnote > a { font-size: 10px; gap: 10px; }
  .garden-footnote > span { font-size: 11px; }
  .purpose-new { padding-top: 58px; }
  .possibility-focus { border-radius: 0 38px 0 0; }
  .focus-story { border-radius: 10px 48px 10px 10px; }
  .hope-banner { border-radius: 38px 0 0 0; }
  .page-hero { padding-top: 30px; }
}
@media (max-width: 380px) {
  .site-header .header-inner { height: 85px; padding: 10px 13px; gap: 8px; }
  .site-header .brand, .site-header .brand img { width: 107px; }
  .garden-mobile-donate { padding-inline: 11px; font-size: 11px; gap: 6px; }
  .menu-toggle { width: 40px; height: 40px; padding: 10px; }
  .garden-intro h1 { font-size: 42px; }
  .garden-actions { gap: 16px; }
  .garden-actions .button { font-size: 11px; padding-inline: 15px; gap: 15px; }
  .garden-link { font-size: 11px; gap: 9px; }
  .garden-image { height: 330px; }
  .garden-footnote { column-gap: 12px; }
  .garden-footnote > img { width: 134px; }
  .garden-footnote > a { font-size: 9px; gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .garden-actions .button:hover { transform: none; }
}
