/* CONARE Activities — responsive page styles */
:root {
  --ink: #202b24;
  --muted: #69746d;
  --green: #365c42;
  --green-deep: #172d22;
  --lime: #d7ed7c;
  --cream: #f6f7f1;
  --line: #dfe5dc;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Bricolage Grotesque", "Public Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  font: 16px/1.7 "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  z-index: 100;
  background: white;
  padding: .6rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.hero {
  min-height: 540px;
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
  background: #293b31 url("https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=2000&q=90") center 48%/cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 35, 24, .89) 0%, rgba(20, 39, 28, .76) 49%, rgba(19, 37, 27, .45) 100%);
}

.hero-inner {
  position: relative;
  width: min(1180px, 90%);
  margin: 0 auto;
  padding: 76px 0 40px;
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
}

.eyebrow-light {
  color: rgba(255, 255, 255, .82);
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #9ab65c;
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  margin: 23px 0 20px;
  font: 700 clamp(4.5rem, 3.2vw, 2.5rem) "Bricolage Grotesque", sans-serif;
  letter-spacing: -.065em;
  max-width: 850px;
}

.hero h1 span,
.section-heading h2 span,
.contact-inner h2 span {
  color: var(--lime);
}

.hero-inner>p {
  max-width: 610px;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.75;
  margin: 0 0 27px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  min-height: 49px;
  padding: 0 20px;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s, background .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-lime {
  background: var(--lime);
  color: #1e3323;
}

.button-lime:hover {
  background: #e4f59b;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 57px;
  color: rgba(255, 255, 255, .78);
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero-note i {
  width: 26px;
  height: 1px;
  background: rgba(255, 255, 255, .42);
}

.section-shell {
  width: min(1180px, 88%);
  margin: 0 auto;
}

.overview {
  padding-top: 100px;
  padding-bottom: 92px;
}

.overview-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 8%;
  align-items: start;
  margin-top: 20px;
}

.overview h2,
.section-heading h2,
.fdp-inner h2 {
  font: 800 clamp(35px, 4vw, 53px)/1.12 "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: -.06em;
  margin: 0;
  color: var(--ink);
}

.overview h2 em {
  color: var(--green);
  font-style: normal;
}

.overview-copy p {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 15px;
}

.principles {
  border-top: 1px solid var(--line);
  margin-top: 49px;
  padding-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.principles>div {
  padding-right: 18px;
}

.principle-no {
  display: block;
  color: #8da65c;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.principles strong {
  font: 700 15px var(--font-display);
}

.principles p {
  color: var(--muted);
  font-size: 16px;
  margin: 7px 0 0;
}

.activities-section {
  background: var(--cream);
  padding: 91px 0 100px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 45px;
}

.section-heading h2 {
  margin-top: 17px;
}

.section-heading h2 span {
  color: #8ea750;
}

.section-intro {
  max-width: 440px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 14px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.activity-card {
  background: white;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid #edf0e9;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-featured {
  grid-row: span 1;
  background: var(--green-deep);
  color: white;
  border-color: var(--green-deep);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.card-number {
  color: #91aa5a;
  font-size: 16px;
  font-weight: 700;
}

.card-tag {
  border: 1px solid var(--line);
  color: #718071;
  padding: 5px 9px;
  border-radius: 30px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.card-featured .card-tag {
  border-color: rgba(255, 255, 255, .2);
  color: #d3dfd4;
}

.activity-card h3 {
  letter-spacing: -.045em;
  margin: 21px 0 12px;
}

.card-lead {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 20px;
}

.card-featured .card-lead {
  color: #d0dbd1;
}

.subsection {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 12px;
}

.card-featured .subsection {
  border-color: rgba(255, 255, 255, .17);
}

.subsection h4 {
  font-size: 16px;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--green);
}

.card-featured .subsection h4 {
  color: var(--lime);
}

.subsection ul {
  margin: 0;
  padding-left: 17px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.subsection li {
  padding-left: 2px;
  margin: 3px 0;
}

.card-featured .subsection ul {
  color: #d5dfd6;
}

.subsection strong {
  color: var(--ink);
}

.card-featured .subsection strong {
  color: white;
}

.subsection.present {
  margin-top: auto;
  padding-top: 16px;
}

.stat-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  align-items: center;
  background: rgba(255, 255, 255, .08);
  padding: 16px;
  margin: 4px 0 5px;
}

.stat-callout strong {
  font: 800 25px var(--font-display);
  color: var(--lime);
  letter-spacing: -.05em;
  white-space: nowrap;
}

.stat-callout span {
  color: #d5dfd6;
  font-size: 10px;
  line-height: 1.6;
}

.gallery-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.gallery-heading {
  margin-bottom: 38px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 14px;
}

.photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #dfe5dc;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.photo:hover img {
  transform: scale(1.04);
}

.photo::after {
  content: "";
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(12, 29, 19, .75));
  pointer-events: none;
}

.photo figcaption {
  position: absolute;
  bottom: 17px;
  left: 18px;
  z-index: 1;
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.photo-tall {
  grid-row: span 2;
}

.photo-wide {
  grid-column: span 2;
}

.gallery-note {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  padding: 15px 18px;
  background: #f6f7f1;
  border-left: 3px solid #9ab65c;
}

.note-icon {
  flex: 0 0 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e3edc7;
  font-size: 16px;
  font-weight: 700;
}

.gallery-note p {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.fdp-section {
  background: #f6f7f1;
  padding: 82px 0;
}

.fdp-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 8%;
}

.fdp-inner h2 {
  margin: 17px 0;
}

.fdp-inner h2 span {
  color: #8ea750;
}

.fdp-inner>div:first-child>p {
  color: var(--muted);
  max-width: 390px;
  font-size: 14px;
}

.fdp-list {
  border-top: 1px solid var(--line);
}

.fdp-list>div {
  display: grid;
  grid-template-columns: 35px 1fr;
  gap: 4px 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.fdp-list>div>span {
  color: #8da65c;
  font-size: 16px;
  font-weight: 700;
  grid-row: span 2;
  padding-top: 3px;
}

.fdp-list strong {
  font: 700 14px var(--font-display);
}

.fdp-list small {
  color: var(--muted);
  font-size: 16px;
}

.contact-strip {
  background: var(--green-deep);
  color: white;
  padding: 73px 0;
}

.contact-inner {
  width: min(1180px, 88%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.contact-inner h2 {
  font: 800 clamp(30px, 4vw, 48px)/1.13 var(--font-display);
  letter-spacing: -.06em;
  margin: 17px 0 12px;
}

.contact-inner p {
  color: #c7d3c9;
  font-size: 16px;
  margin: 0;
}

.contact-inner .button {
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .activity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .overview-grid {
    gap: 5%;
  }

  .photo-grid {
    grid-auto-rows: 190px;
  }
}

@media (max-width: 720px) {

  .hero {
    min-height: 510px;
  }

  .hero-inner {
    padding: 65px 0 32px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 62px);
  }

  .hero-note {
    margin-top: 42px;
    flex-wrap: wrap;
    gap: 9px;
  }

  .hero-note i {
    width: 14px;
  }

  .overview {
    padding-top: 69px;
    padding-bottom: 67px;
  }

  .overview-grid,
  .fdp-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .overview h2,
  .section-heading h2,
  .fdp-inner h2 {
    font-size: 39px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 32px;
  }

  .principles>div {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 0 8px;
    padding: 0;
  }

  .principle-no {
    grid-row: span 2;
    margin: 1px 0 0;
  }

  .principles p {
    margin-top: 3px;
  }

  .activities-section {
    padding: 68px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 30px;
  }

  .section-intro {
    margin-top: 20px;
  }

  .activity-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .activity-card {
    padding: 25px;
  }

  .gallery-section {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 170px;
    gap: 9px;
  }

  .photo-tall {
    grid-row: span 2;
  }

  .photo-wide {
    grid-column: span 2;
  }

  .photo figcaption {
    left: 11px;
    bottom: 11px;
    font-size: 10px;
  }

  .fdp-section {
    padding: 65px 0;
  }

  .fdp-inner {
    gap: 25px;
  }

  .contact-strip {
    padding: 58px 0;
  }

  .contact-inner {
    display: block;
  }

  .contact-inner .button {
    margin-top: 25px;
  }

}

@media (max-width: 390px) {
  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .photo-grid {
    grid-auto-rows: 140px;
  }

  .stat-callout {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .stat-callout strong {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* Original CONARE field galleries */
.field-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: row;
  gap: 22px;
  margin-top: 38px;
  align-items: start;
}

.field-gallery {
  min-width: 0;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 45, 34, .045);
}

.field-gallery-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 16px;
  min-height: 76px;
}

.field-gallery-head h3 {
  font: 700 15px/1.35 var(--font-display);
  margin: 0;
  flex: 1;
}

.gallery-index {
  color: var(--green);
  font: 800 12px var(--font-display);
}

.gallery-count {
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.slider {
  position: relative;
  background: #edf0e9;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}

.gallery-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 12px 10px;
  color: #fff;
  font-size: 10px;
  line-height: 1.35;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65));
}

.slider-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--green-deep);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px #0002;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slider-arrow:hover {
  background: var(--lime);
}

.slider-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 14px 13px;
}

.slide-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.slide-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d0d8ce;
  cursor: pointer;
}

.slide-dot.is-active {
  background: var(--green);
  transform: scale(1.2);
}

.slide-position {
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
}

.fdp-section {
  padding: 82px 0;
  background: var(--cream);
}

@media (max-width: 980px) {
  .field-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .field-gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .field-gallery-head {
    min-height: 64px;
  }

  .fdp-section {
    padding: 56px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-slide {
    transition: none;
  }
}


/* Additional original CONARE photos: four across on desktop, side-by-side on smaller screens. */
.archive-photos {
  padding-top: 28px;
  padding-bottom: 72px;
}

.archive-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.archive-photo-grid figure {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1.12 / 1;
  background: #edf0e9;
}

.archive-photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.archive-photo-grid figure:hover img {
  transform: scale(1.035);
}

@media (max-width: 980px) {
  .archive-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .archive-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .archive-photos {
    padding-bottom: 48px;
  }
}


/* Match the reference layout: community photos first, then the FDP galleries. */
.archive-photos {
  padding-top: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.archive-photo-grid {
  margin-top: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gallery-section {
  padding-top: 20px;
}

.gallery-heading {
  display: block;
  text-align: center;
  margin: 0 auto 28px;
}

.gallery-heading h2 {
  font-family: "Bricolage Grotesque", "Public Sans", sans-serif;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.25;
  color: var(--green-deep);
  margin: 0;
}

@media (max-width: 980px) {
  .archive-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .archive-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}