/* Inclusive Communities Consulting — static rebuild.
   Sizes below are measured off the live site at a 1440px viewport:
   960px content column, 80px section padding, H1 72/86.4, H2 60/72, body 20/32 Jost. */

:root {
  --green: #176336;
  --green-section: #1b743f;
  --green-dark: #104224;
  --green-bright: #2ab260;
  --ink: #322f2f;
  --ink-2: #1b1818;
  --muted: #7d7373;
  --mint: #d5f1e0;
  --mint-50: #f4fbf7;
  --gray-50: #f8f7f7;
  --line: #e9e7e7;
  --white: #fff;
  --on-dark: #f8f7f7;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --col: 960px;          /* content column */
  --pad-x: 16px;         /* section side padding */
  --section-y: 80px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 20px;
  line-height: 1.6;          /* 32px */
  letter-spacing: -0.02em;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
}

h1 { font-size: clamp(40px, 5vw, 72px); line-height: 1.2; letter-spacing: -0.033em; }
h2 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.2; letter-spacing: -0.04em; }
h3 { font-size: clamp(24px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -0.04em; }

p, figure, blockquote { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--green-bright); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: calc(var(--col) + var(--pad-x) * 2);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.container--wide { max-width: 1200px; padding-inline: 0; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
  font-size: 18px;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 500;
  line-height: 30.6px;
  letter-spacing: -0.02em;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--dark { background: var(--ink-2); color: var(--white); }
.btn--dark svg { color: var(--green-bright); }
.btn--dark:hover { background: #000; }

.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); }

.btn--bright { background: var(--green-bright); color: var(--white); }
.btn--bright:hover { background: var(--green); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-size: 18px;
  font-weight: 500;
}
.link-more svg { width: 15px; height: 15px; }
.link-more:hover { color: var(--green-dark); text-decoration: underline; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 24px 0 auto;
  z-index: 50;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1200px, calc(100% - 32px));
  height: 67px;
  margin-inline: auto;
  padding: 8px 8px 8px 16px;
  background: rgba(247, 247, 247, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span {
  font-size: 20px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--green);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 18px;
  font-weight: 500;
  line-height: 30.6px;
}
.nav-links > li { position: relative; }
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--green); }

.has-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.has-dropdown > button svg { width: 14px; height: 14px; transition: transform .2s ease; }
.has-dropdown[data-open="true"] > button svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
  display: none;
}
.has-dropdown[data-open="true"] .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 18px; }
.dropdown a:hover { background: var(--mint-50); color: var(--green); }

.nav-cta { padding: 10px 24px; }

.nav-toggle {
  display: none;
  width: 51px;
  height: 51px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; margin-inline: auto; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 675px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 109px;
  background: #2c2c2c center/cover no-repeat;
  color: var(--on-dark);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, .16) 45%, rgba(0, 0, 0, .34) 100%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { margin-bottom: 10px; }
.hero p { margin-bottom: 20px; }

/* Inner-page hero: translucent title card anchored to the bottom of the photo */
.hero--card {
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  color: var(--ink);
}
.hero--card::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, .16) 0%, rgba(0, 0, 0, .04) 60%, rgba(0, 0, 0, .1) 100%);
}
.hero-card {
  position: relative;
  z-index: 1;
  width: var(--card-w, 517px);
  max-width: calc(100% - 48px);
  margin-inline: auto;
  padding: 32px;
  text-align: center;
  background: rgba(255, 255, 255, .74) url("../img/tree-card.png") center/cover no-repeat;
  background-blend-mode: soft-light;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 40px 40px 0 0;
}
.hero-card h1 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.2; letter-spacing: -0.04em; }
.hero-card p { font-size: 18px; line-height: 30.6px; margin: 12px 0 0; color: var(--ink); }

/* ---------- Sections ---------- */

.section { padding: var(--section-y) 0; }
.section--tight { padding: 40px 0; }
.section--flush-top { padding-top: 0; }
.section--gray { background: var(--gray-50); }
.section--mint { background: var(--mint-50); }
.section--green { background: var(--green-section); color: var(--white); }

.section-head { text-align: center; margin-bottom: 36px; }
.section-head p { margin-top: 8px; }

.section-lead { max-width: 600px; margin-top: 12px; color: var(--ink); }
.section--green .section-lead { color: var(--white); }

/* Intro block with the thin green rule */
.intro {
  margin-left: 160px;
  max-width: 680px;
  padding-left: 18px;
  border-left: 2px solid var(--green-bright);
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}


/* Home contact tiles */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 358px);
  gap: 5px 4px;
  justify-content: center;
  margin-top: 32px;
}
.info-grid { margin-block: 48px 0; }
.info-grid > div {
  background: var(--mint-50);
  border-radius: 12px;
  padding: 16px;
}
.info-grid dt { font-weight: 500; }
.info-grid dd { margin: 0; font-size: 18px; line-height: 30.6px; }
.info-grid a:hover { color: var(--green); }

/* Hope | Motivation | Change */
.values {
  background: var(--mint-50);
  padding: 80px 0 40px;
}
.values ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 8vw, 125px);
  flex-wrap: wrap;
}
.values li {
  position: relative;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.2;
  letter-spacing: -0.04em;
  color: var(--green);
}
.values li + li::before {
  content: "";
  position: absolute;
  left: clamp(-16px, -4vw, -62px);
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 52px;
  background: var(--green-bright);
}

/* ---------- Card grid (services, respite offer) ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--gray-50);
  border-radius: 36px;
  overflow: hidden;
}
.service-card {
  min-height: 332px;
  padding: 32px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-card:nth-child(2n) { border-right: 0; }
.service-card:nth-last-child(-n+2) { border-bottom: 0; }
.service-card .icon { display: block; color: var(--muted); margin: 0 auto 20px; width: 40px; height: 40px; }
.service-card h3 { margin-bottom: 14px; }
.service-card p { font-size: 18px; line-height: 30.6px; color: var(--muted); margin-bottom: 20px; }

/* ---------- Lists ---------- */

.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex;
  gap: 16px;
  font-size: 18px;
  line-height: 30.6px;
}
.check-list svg { width: 18px; height: 18px; flex: none; margin-top: 6px; color: var(--green-bright); }

.dot-list { display: grid; gap: 20px 28px; }
.dot-list li { display: flex; gap: 16px; font-weight: 500; }
.dot-list li::before {
  content: "";
  width: 12px;
  height: 12px;
  margin-top: 10px;
  border-radius: 50%;
  background: var(--green-bright);
  flex: none;
}

/* ---------- Two-column blocks ---------- */

.split {
  display: grid;
  grid-template-columns: 450px 450px;
  justify-content: space-between;
  gap: 60px;
  align-items: center;
}
.split--media { grid-template-columns: 409px 1fr; gap: 64px; }
.split--media > .media { aspect-ratio: 409 / 440; }
.split--media .media--soft { aspect-ratio: 409 / 292; }
.split__body { display: flex; flex-direction: column; gap: 24px; }
.split__body h2 + p { margin-top: -16px; }
.split__body > .btn { align-self: flex-start; }
.split__body p { color: var(--muted); }
.split__body .btn { margin-top: 12px; }
.split img { width: 100%; height: 100%; object-fit: cover; }

.media { overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--corner { border-radius: 0 200px 0 70px; }
.media--mission { border-radius: 120px 0; aspect-ratio: 450 / 630; }
.media--impact { border-radius: 120px 0 80px; aspect-ratio: 450 / 557; }
.media--benefit { border-radius: 0 120px 0 80px; }
.media--soft { border-radius: 16px; }
.media--band { aspect-ratio: 960 / 405; }

.lede { font-family: var(--serif); font-size: 22px; line-height: 33px; letter-spacing: -0.02em; color: var(--ink); }
.lede--sm { font-size: 24px; line-height: 28.8px; }

.mission-statement > * + * { margin-top: 8px; }
.mission-details { align-items: start; margin-top: 40px; }

/* ---------- Facility grid ---------- */

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 88px;
}
.facility-card {
  background: var(--mint);
  border-radius: 16px;
  padding: 16px;
}
.facility-card .spark { color: var(--green-bright); width: 20px; height: 20px; margin-bottom: 28px; }
.facility-card h3 { font-size: 38px; line-height: 53.2px; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 8px; }
.facility-card p { color: var(--ink); }
.facility-grid > .facility-photo:first-child { height: 277px; }
.facility-grid > .facility-photo:last-child { height: 309px; }
.facility-photo {
  grid-column: span 2;
  background: var(--mint);
  border-radius: 16px;
  padding: 8px;
}
.facility-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* ---------- Quote ---------- */

.quote {
  position: relative;
  padding: 48px 120px;
  background: var(--mint-50);
  border-radius: 48px;
  overflow: hidden;
}
.quote blockquote {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 53.2px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.quote::after {
  content: "\201D";
  position: absolute;
  top: -70px;
  right: 60px;
  font-family: var(--serif);
  font-size: 300px;
  line-height: 1;
  color: rgba(50, 47, 47, .07);
}

/* ---------- Tabs ---------- */

.tabs { display: flex; flex-wrap: wrap; gap: 2px; margin: 68px 0 42px; }
.tab {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, .62);
  background: transparent;
  border: 0;
  padding: 6px 18px;
  border-radius: 100px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.tab[aria-selected="true"] { background: var(--green); color: var(--white); }
.tab:hover { color: var(--white); }

.tab-panel { display: none; }
.tab-panel[data-active="true"] { display: block; }
.tab-panel ul { grid-template-columns: repeat(3, 1fr); }

/* ---------- Feature cards (employment, specialized) ---------- */

.feature-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.feature-card {
  width: 368px;
  min-height: 400px;
  padding: 32px;
  background: var(--gray-50) url("../img/tree-pattern.png") right -60px bottom -40px / 420px auto no-repeat;
  border-radius: 32px;
}
.feature-grid .feature-card:nth-child(2),
.feature-grid .feature-card:nth-child(3) { width: 576px; }
.feature-card h3 { text-align: center; margin-bottom: 24px; }

/* ---------- Reviews ---------- */

.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.review-col { display: grid; gap: 16px; align-content: start; }
.review-card { background: var(--mint); border-radius: 12px; padding: 24px; }
.review-card p { font-size: 16px; line-height: 27.2px; }
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 28px;
  letter-spacing: -0.02em;
}
.review-card .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green-bright);
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.review-card .avatar svg { width: 18px; height: 18px; }

/* ---------- Contact ---------- */

.contact-card {
  display: grid;
  grid-template-columns: 1fr 432px;
  gap: 60px;
  padding: 36px;
  background: var(--gray-50);
  border-radius: 16px;
}
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-details li { display: flex; gap: 14px; align-items: center; }
.contact-details svg { width: 22px; height: 22px; color: var(--ink); flex: none; }
.contact-details a:hover { color: var(--green); }

.contact-form { display: flex; flex-direction: column; gap: 8px; }
.contact-form input,
.contact-form textarea {
  font: 400 18px/1.5 var(--sans);
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 8px 16px;
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-radius: 4px;
  width: 100%;
}
.contact-form input { height: 44px; }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #a39b9b; }
.contact-form button {
  justify-content: center;
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  background: var(--green-dark);
  margin-top: 8px;
}
.form-note { font-size: 16px; line-height: 27.2px; color: var(--muted); min-height: 27px; }
.form-note[data-state="error"] { color: #b3261e; }
.form-note[data-state="ok"] { color: var(--green); }

.map { margin-top: 24px; border-radius: 16px; overflow: hidden; height: 436px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- CTA card ---------- */

.cta {
  position: relative;
  background: var(--ink);
  border-radius: 48px;
  padding: 80px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.cta::before {                      /* three concentric rings, as on the live site */
  content: "";
  position: absolute;
  left: 50%;
  top: 15%;
  width: 324px;
  height: 324px;
  margin: -162px 0 0 -162px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .02);
  box-shadow: 0 0 0 107px rgba(255, 255, 255, .02), 0 0 0 224px rgba(255, 255, 255, .02);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta .btn { padding: 20px 28px; }
.cta h2 { margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, .92); margin-bottom: 32px; }
.cta a:hover { color: #fff; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--mint-50);
  padding: 80px 0 24px;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/tree-pattern.png") center/cover no-repeat;
  pointer-events: none;
}
.site-footer > * { position: relative; }

.footer-top { display: grid; grid-template-columns: 1fr auto auto; gap: 48px; }
.footer-brand img { width: 124px; margin-bottom: 10px; }
.footer-brand p { font-size: 16px; line-height: 27.2px; max-width: 252px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--green-bright);
  border-radius: 50%;
  color: var(--green);
}
.footer-social a:hover { background: var(--green); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 30.6px;
}
.footer-nav:nth-of-type(1) { width: 118px; }
.footer-nav:nth-of-type(2) { width: 174px; }
.footer-nav a:hover,
.footer-nav a[aria-current="page"] { color: var(--green); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 56px;
  margin-top: 64px;
  font-size: 14px;
  font-weight: 500;
  line-height: 23.8px;
  color: var(--green);
}
.footer-bottom a:hover { color: var(--green-dark); }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .split,
  .split--media { grid-template-columns: 1fr; gap: 40px; justify-content: stretch; }
  .feature-card,
  .feature-grid .feature-card:nth-child(2),
  .feature-grid .feature-card:nth-child(3) { width: 100%; min-height: 0; }
  .quote { padding: 40px 48px; }
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-photo { min-height: 240px; }
  .intro { margin-left: 0; }
  .contact-card { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .service-grid,
  .review-grid,
  .footer-top { grid-template-columns: 1fr; }
  .service-card { border-right: 0; }
  .service-card:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .tab-panel ul { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: repeat(2, minmax(0, 358px)); }
  .footer-top { gap: 32px; }
  .footer-nav:nth-of-type(1),
  .footer-nav:nth-of-type(2) { width: auto; }
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .check-list li,
  .service-card p,
  .footer-nav,
  .nav-links,
  .btn,
  .hero-card p { font-size: 16px; line-height: 26px; }

  .nav { gap: 12px; padding: 8px; height: 60px; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 15px; }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
    display: none;
  }
  .nav[data-menu="open"] .nav-links { display: flex; }
  .nav-links > li > a,
  .has-dropdown > button { padding: 10px 12px; width: 100%; }
  .dropdown { position: static; transform: none; border: 0; box-shadow: none; padding: 0 0 0 12px; min-width: 0; }
  .nav-cta { display: none; }

  .hero { height: 540px; padding-bottom: 56px; }
  .hero--card { height: 560px; }
  .hero-card { padding: 24px; border-radius: 24px 24px 0 0; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .facility-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .facility-photo { grid-column: span 1; min-height: 200px; }
  .facility-card h3 { font-size: 30px; line-height: 40px; }
  .tab-panel ul { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .quote { padding: 28px 24px; border-radius: 28px; }
  .quote blockquote { font-size: 24px; line-height: 34px; }
  .quote::after { display: none; }
  .cta { padding: 48px 20px; border-radius: 28px; }
  .contact-card { padding: 24px; }
  .map { height: 320px; }
  .footer-bottom { gap: 6px 24px; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
