/* CONARE — responsive homepage styles */
:root {
  --forest: #173f35;
  --forest-deep: #103129;
  --leaf: #b9d86b;
  --leaf-light: #e8f2cf;
  --cream: #fbfaf4;
  --paper: #f3f5e9;
  --ink: #1b2925;
  --muted: #63716b;
  --line: #dce4d5;
  --blue: #dfece5;
  --white: #fff;
  --shadow: 0 18px 48px rgba(16, 49, 41, .11);
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.7 "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid #8ab63c;
  outline-offset: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", "Public Sans", sans-serif;
  line-height: 1.08;
  letter-spacing: -.035em;
}

p {
  margin-top: 0;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* Hero carousel */
.hero.carousel {
  position: relative;
  display: block;
  min-height: min(760px, 82vh);
  overflow: hidden;
  color: var(--white);
  background: var(--forest-deep);
}

.slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: opacity .65s ease, visibility 0s linear .65s;
}

.slide.is-active {
  visibility: visible;
  opacity: 1;
  transition: opacity .65s ease;
}

.slide>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 34, 27, .82) 0%, rgba(8, 34, 27, .5) 52%, rgba(8, 34, 27, .08) 100%), linear-gradient(0deg, rgba(8, 34, 27, .48), transparent 55%);
}

.slide>.wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: end;
  gap: 48px;
  padding-top: 180px;
  padding-bottom: 82px;
}

.hero.carousel h1,
.hero.carousel h2 {
  max-width: 13ch;
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
}

.hero-copy p {
  max-width: 40ch;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1.08rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--forest-deep);
  background: var(--leaf);
}

.btn.primary:hover {
  background: #cce68c;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, .65);
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, .18);
}

.car-btn {
  position: absolute;
  top: 48%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  color: var(--white);
  background: rgba(16, 49, 41, .38);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .2s ease;
}

.car-btn:hover {
  background: var(--forest);
}

.car-btn.prev {
  left: 22px;
}

.car-btn.next {
  right: 22px;
}

.car-ctrl {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(16, 49, 41, .48);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid var(--white);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.dot.is-active {
  background: var(--leaf);
  border-color: var(--leaf);
}

.car-pause {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 0;
  color: var(--white);
  background: transparent;
  cursor: pointer;
}

.ico-pause {
  display: block;
  width: 9px;
  height: 12px;
  border-right: 3px solid currentColor;
  border-left: 3px solid currentColor;
}

.car-pause.paused .ico-pause {
  width: 0;
  height: 0;
  border: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}

.slide.split {
  background: linear-gradient(130deg, #32694d, var(--forest-deep));
}

.slide.split::after {
  background: linear-gradient(90deg, rgba(8, 34, 27, .3), rgba(8, 34, 27, .08));
}

.slide-note {
  position: absolute;
  top: 95px;
  left: max(24px, calc((100% - 1180px) / 2 + 48px));
  z-index: 2;
  max-width: 16ch;
  margin: 0;
  color: var(--white);
font: 16px/1.7 "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.slide.split .frame {
  position: absolute;
  top: 56px;
  right: max(24px, calc((100% - 1180px) / 2 + 48px));
  width: min(300px, 30vw);
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border: 4px solid var(--leaf);
  border-radius: 10px 78px 10px 78px;
  background: var(--blue);
}

.slide.split .frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About */
.about {
  padding: 104px 0 90px;
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.about h2 {
  max-width: 14ch;
  color: var(--forest);
  font-size: clamp(2.2rem, 4.3vw, 3.7rem);
}

.about .lede {
  max-width: 46ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.photo {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  margin: 0;
  border-radius: 12px 110px 12px 110px;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.statements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
}

.statements>div {
  padding: 28px 28px 0 0;
}

.statements>div+div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.statements h3 {
  color: var(--forest);
  font-size: 1.35rem;
}

.statements p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: .97rem;
}

/* Recognition */
.band {
  padding: 56px 0;
  color: var(--forest-deep);
  background: var(--leaf);
}

.band .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.band p {
  max-width: 31ch;
  margin: 0;
  text-align: center;
font: 16px/1.7 "Public Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;  letter-spacing: -.025em;
}

/* Programs */
.programs {
  padding: 100px 0;
  background: var(--paper);
}

.programs-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.programs h2,
.gallery h2 {
  color: var(--forest);
  font-size: clamp(2.2rem, 4.3vw, 3.5rem);
}

.programs-head p {
  max-width: 39ch;
  margin: 0;
  color: var(--muted);
}

.plist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plist li {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  gap: 17px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.plist svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 13px;
  color: var(--forest);
  background: var(--leaf-light);
}

.plist h3 {
  color: var(--forest-deep);
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -.015em;
}

.plist .tag {
  display: inline-block;
  margin-top: 10px;
  color: #5f7768;
  font-size: .82rem;
  font-weight: 700;
}

.more {
  margin: 36px 0 0;
}

/* Activity gallery */
.gallery {
  padding: 100px 0 96px;
}

.gallery .sub {
  max-width: 55ch;
  margin: 16px 0 38px;
  color: var(--muted);
}

.strip {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: repeat(2, 250px);
  gap: 16px;
}

.tile {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 16px;
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(16, 49, 41, .07);
}

.tile:first-child {
  grid-row: span 2;
}

.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.tile:hover img {
  transform: scale(1.05);
}

.tile::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(8, 34, 27, .78));
  pointer-events: none;
}

.tile figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 30px 18px 17px;
  color: var(--white);
  font-size: .98rem;
  font-weight: 700;
}


.legal {
  margin-top: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .58);
  font-size: .85rem;
}

/* Secondary pages */
.page-head {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-head h1 {
  color: var(--forest);
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.page-head p {
  max-width: 56ch;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.inner .about {
  padding-top: 64px;
}

.inner .programs {
  padding-top: 56px;
  background: var(--cream);
}

.inner .gallery {
  padding-top: 56px;
}

.docs,
.contact {
  padding: 64px 0 100px;
}

.doc-block+.doc-block {
  margin-top: 64px;
}

.doc-block h2,
.empty h2 {
  margin-bottom: 14px;
  color: var(--forest);
  font-size: 1.6rem;
}

.empty {
  max-width: 640px;
  padding: 28px 32px;
  border: 1px dashed #b7c7b7;
  border-radius: 16px;
  color: var(--muted);
  background: var(--paper);
}

.empty p {
  margin: 0;
}

.empty code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--leaf-light);
}

.doclist {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.doclist a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  background: var(--white);
}

.doclist a:hover {
  background: var(--leaf-light);
}

.doclist span {
  color: var(--muted);
  font-size: .9rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 860px;
}

.card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(16, 49, 41, .05);
}

.card h2 {
  color: var(--forest);
  font-size: 1.6rem;
}

.card p {
  margin: 10px 0 22px;
  color: var(--muted);
}


@media (max-width: 860px) {
  .hero.carousel {
    min-height: 670px;
  }

  .slide>.wrap {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 170px;
    padding-bottom: 58px;
  }

  .hero.carousel h1,
  .hero.carousel h2 {
    max-width: 12ch;
    font-size: clamp(2.8rem, 8vw, 4.6rem);
  }

  .hero-copy p {
    max-width: 48ch;
  }

  .slide-note {
    top: 76px;
    max-width: 12ch;
    font-size: 1.5rem;
  }

  .slide.split .frame {
    top: 66px;
    width: 145px;
    right: 28px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about h2 {
    max-width: 18ch;
  }

  .statements {
    grid-template-columns: 1fr;
  }

  .statements>div,
  .statements>div+div {
    padding: 22px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .plist {
    column-gap: 34px;
  }

  .strip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 230px;
  }

  .tile:first-child {
    grid-row: auto;
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .wrap {
    width: min(100% - 32px, 1180px);
  }

  .brand {
    font-size: 1.18rem;
  }

  .brand img {
    height: 38px;
  }

  .call {
    display: none;
  }

  .hero.carousel {
    min-height: 680px;
  }

  .slide>.wrap {
    padding-top: 150px;
    padding-bottom: 46px;
  }

  .hero.carousel h1,
  .hero.carousel h2 {
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .car-btn {
    top: 42%;
    width: 38px;
    height: 38px;
  }

  .car-btn.prev {
    left: 10px;
  }

  .car-btn.next {
    right: 10px;
  }

  .car-ctrl {
    top: 16px;
  }

  .slide-note {
    top: 76px;
    left: 20px;
    max-width: 11ch;
    font-size: 1.25rem;
  }

  .slide.split .frame {
    top: 70px;
    right: 18px;
    width: 118px;
    border-radius: 8px 45px 8px 45px;
  }

  .about,
  .programs,
  .gallery {
    padding: 70px 0;
  }

  .photo {
    border-radius: 10px 70px 10px 70px;
  }

  .programs-head {
    display: block;
    margin-bottom: 28px;
  }

  .programs-head p {
    margin-top: 15px;
  }

  .plist {
    grid-template-columns: 1fr;
  }

  .plist li {
    grid-template-columns: 42px 1fr;
    gap: 13px;
    padding: 22px 0;
  }

  .strip {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .tile:first-child {
    grid-column: auto;
  }

  .legal {
    margin-top: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}