html {
  scroll-behavior: smooth;
}

:root {
  --primary: #4faebc;
  --primary-dark: #2f7f8b;
  --bg: #f6fbfc;
  --text: #1f2933;
  --muted: #5f6f7a;
  --white: #ffffff;
  --border: #dbe7ea;
  --green-light: #429caa;
}

a {
  color: var(--green-light);
  text-decoration: none;
}

a:hover {
  color: var(--green);
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 4%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;

  position: sticky;
  top: 0;
  z-index: 1000;
}

.branding {
  display: flex;
  align-items: center;
  gap: 2px;

  flex-shrink: 1;

}

.branding a,
.branding a:hover {
  color: var(--green-light);
  text-decoration: none;
  background-color: transparent;
}

.site-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.logo {
  font-family: "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 1.7rem;
}

.service-area {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 2px;
}

nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
  align-self: end;
}

nav a {
  margin-left: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.90rem;
  white-space: nowrap;
}

nav a:hover {
  color: var(--primary-dark);
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 90px 8% 40px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff, #eaf7f9);
}

.hero h1 {
  font-size: 1.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  max-width: 900px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.10rem;
}

.hero p:last-of-type {
  margin-bottom: 56px;
}

.button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: white;
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

section {
  padding: 25px 8% 125px 8%;
}

section p {
  margin-bottom: 2rem;
}

.section-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  max-width: 1000px;
  margin: 0 auto;
}

.section-card p {
  margin-bottom: 1rem;
}

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

.card {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;

  color: var(--text);
  text-decoration: none;

  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  text-decoration: none;
}

.card h3 {
  margin-top: 0;
  color: var(--primary-dark);
}

/* Home page only: a lighter hero and illustrated service-card treatment. */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 8% 54px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 64%, rgba(228, 245, 247, 0.9) 100%),
    linear-gradient(135deg, #ffffff 0%, #effafb 100%);
}

.home-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  opacity: 0.68;
  background:
    linear-gradient(180deg, transparent 0%, rgba(218, 243, 244, 0.62) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 220' preserveAspectRatio='none'%3E%3Cg fill='none' stroke='%2377b8bf' stroke-linecap='round'%3E%3Cpath d='M-20 220 C20 173 31 111 64 28' stroke-width='1.5'/%3E%3Cpath d='M15 220 C37 157 80 131 126 79' stroke-width='1'/%3E%3Cpath d='M68 220 C95 162 115 87 103 31' stroke-width='1.35'/%3E%3Cpath d='M138 220 C163 172 206 129 263 101' stroke-width='1'/%3E%3Cpath d='M243 220 C257 154 298 97 334 49' stroke-width='1.4'/%3E%3Cpath d='M312 220 C351 164 380 127 424 105' stroke-width='1'/%3E%3Cpath d='M1219 220 C1227 148 1260 98 1308 49' stroke-width='1.35'/%3E%3Cpath d='M1281 220 C1325 164 1374 133 1421 74' stroke-width='1'/%3E%3Cpath d='M1375 220 C1385 148 1428 85 1453 28' stroke-width='1.45'/%3E%3Cpath d='M1440 220 C1477 169 1511 117 1575 96' stroke-width='1'/%3E%3Cpath d='M1518 220 C1542 154 1571 94 1617 46' stroke-width='1.25'/%3E%3C/g%3E%3C/svg%3E");
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.home-hero h1,
.home-hero p,
.home-hero .button {
  position: relative;
  z-index: 2;
}

.home-hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #174c55;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.2;
}

.home-hero p {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: 1rem;
}

.home-hero p:last-of-type {
  margin-bottom: 30px;
}

.home-hero .button {
  background: #197e88;
  padding: 13px 28px;
}

.home-hero-butterflies {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.home-butterfly {
  position: absolute;
  height: auto;
  filter: hue-rotate(-12deg) saturate(0.78) brightness(0.98);
}

.home-butterfly-small {
  width: min(13vw, 155px);
  top: 8%;
  left: 2%;
  opacity: 0.6;
}

.home-butterfly-large {
  width: min(24vw, 285px);
  right: 2%;
  bottom: -28px;
  opacity: 0.82;
}

.home-services {
  padding-top: 12px;
  background: linear-gradient(180deg, #e8f7f8 0%, var(--bg) 72%);
}

.home-services .grid {
  gap: 28px;
}

.home-services .card {
  min-height: 260px;
  padding: 28px 25px;
  text-align: center;
  border: 0;
  box-shadow: 0 10px 24px rgba(35, 92, 101, 0.08);
}

.home-services .card h3 {
  margin: 12px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.2;
  color: #174c55;
}

.home-services .card p {
  margin: 0;
  color: var(--muted);
}

.service-icon {
  display: grid;
  width: 88px;
  height: 88px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  background: #e8f5f6;
}

.service-icon svg {
  width: 53px;
  height: 53px;
  fill: none;
  stroke: #197e88;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}

.page-title {
  padding: 25px 8%;
  background: linear-gradient(180deg, #ffffff, #eaf7f9);
  border-bottom: 1px solid var(--border);
}

.page-title h1 {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.15;
}

.page-title p {
  color: var(--muted);
  max-width: 1000px;
  margin: 0;
  text-align: left;
}

.content-page {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.content-page h2 {
  color: var(--primary-dark);
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}

.content-page h2:first-child {
  margin-top: 0;
}

.art-therapy-page .content-page h2 {
  font-size: 1.1rem;
}

.resources-page .content-page h2 {
  font-size: 1.1rem;
}

.resources-page .resource h3 {
  font-size: 1rem;
}

.content-page p {
  margin-bottom: 2rem;
}

footer {
  background: #17343a;
  color: white;
  padding: 36px 8%;
  text-align: center;
}

footer a {
  color: white;
}

@media (max-width: 800px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 5%;
  }

  .branding {
    min-width: 0;
  }

  .site-logo {
    width: 58px;
    height: 58px;
  }

  .logo {
    font-size: 1.5rem;
  }

  .service-area {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    padding: 9px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;

    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
  }

  nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    padding: 8px 0 4px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  nav.is-open {
    display: flex;
  }

  nav a {
    margin: 0;
    padding: 11px 8px;
    border-top: 1px solid var(--border);
    font-size: 1rem;
    white-space: normal;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .home-hero {
    padding: 54px 6% 42px;
  }

  .home-hero h1 {
    font-size: 1.18rem;
  }

  .home-hero p {
    font-size: 0.98rem;
  }

  .home-hero::after {
    height: 125px;
  }

  .home-butterfly-small {
    width: 82px;
    top: 2%;
    left: -16px;
    opacity: 0.36;
  }

  .home-butterfly-large {
    width: 158px;
    right: -30px;
    bottom: -24px;
    opacity: 0.46;
  }

  .home-services {
    padding-top: 8px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

.about-copy {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.about-copy p {
  margin-bottom: 2rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 2rem 0;
}

.two-column h2 {
  margin-top: 0;
}

@media (max-width: 800px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.service-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.service-section:last-child {
  border-bottom: none;
}

.service-section h2 {
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.service-section p:last-child {
  margin-bottom: 0;
}

.service-overview {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.centered {
  text-align: center;
}

.service-overview:last-child {
  border-bottom: none;
}

.service-overview h2 {
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.service-overview p {
  margin-bottom: 1.25rem;
}

.campaign-content {
  padding: 64px 8% 80px;
  background: var(--white);
}

.campaign-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 8% 64px;
  background:
    radial-gradient(ellipse at 88% 35%, rgba(180, 218, 225, 0.55) 0 17%, transparent 45%),
    radial-gradient(ellipse at 72% 76%, rgba(202, 232, 235, 0.72) 0 15%, transparent 46%),
    linear-gradient(135deg, #ffffff 0%, #f3fafb 58%, #e6f3f5 100%);
}

.campaign-hero::before,
.campaign-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.campaign-hero::before {
  width: min(62vw, 760px);
  height: min(62vw, 760px);
  right: -20vw;
  bottom: -28vw;
  border: 1px solid rgba(79, 174, 188, 0.28);
  border-radius: 48% 52% 44% 56% / 57% 45% 55% 43%;
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.18),
    0 0 0 76px rgba(79, 174, 188, 0.07),
    0 0 0 114px rgba(255, 255, 255, 0.15);
}

.campaign-hero::after {
  width: min(54vw, 680px);
  height: min(54vw, 680px);
  right: -19vw;
  bottom: -33vw;
  border: 1px solid rgba(47, 127, 139, 0.2);
  border-radius: 57% 43% 52% 48% / 43% 55% 45% 57%;
}

.campaign-hero h1,
.campaign-hero p,
.campaign-hero .button {
  position: relative;
  z-index: 1;
}

.campaign-pathway {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.campaign-pathway::before {
  position: absolute;
  top: 48px;
  bottom: 48px;
  left: 28px;
  width: 1px;
  content: "";
  background: var(--primary);
}

.campaign-content .service-overview.pathway-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 28px;
  padding: 1.75rem 0;
  border: 0;
  text-align: left;
}

.pathway-marker {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  color: var(--primary-dark);
  font-size: 1.2rem;
  font-weight: 700;
  background: #e3f2f4;
  border-radius: 50%;
}

.campaign-content .service-overview h3 {
  margin: 0 0 0.75rem;
  color: var(--primary-dark);
  font-size: 1.45rem;
  line-height: 1.2;
}

.pathway-copy p {
  max-width: 700px;
  margin-bottom: 1rem;
}

.pathway-copy p:last-of-type {
  margin-bottom: 1.25rem;
}

.pathway-copy .text-link {
  display: inline-block;
}

@media (max-width: 800px) {
  .campaign-hero {
    padding: 64px 5% 52px;
  }

  .campaign-hero::before {
    width: 100vw;
    height: 100vw;
    right: -42vw;
    bottom: -50vw;
  }

  .campaign-hero::after {
    width: 88vw;
    height: 88vw;
    right: -38vw;
    bottom: -54vw;
  }

  .campaign-content {
    padding: 48px 5% 64px;
  }

  .campaign-pathway::before {
    left: 23px;
  }

  .campaign-content .service-overview.pathway-step {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    padding: 1.5rem 0;
  }

  .pathway-marker {
    width: 46px;
    height: 46px;
    font-size: 1rem;
  }

  .campaign-content .service-overview h3 {
    font-size: 1.25rem;
  }
}

.text-link {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.team-profile {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.team-profile img {
  width: 260px;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
}

.team-profile img.left {
  float: left;
  margin: 0 2rem 1rem 0;
}

.team-profile img.right {
  float: right;
  margin: 0 0 1rem 2rem;
}

.team-profile::after {
  content: "";
  display: table;
  clear: both;
}

.team-profile h2 {
  color: var(--primary-dark);
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.team-profile .credentials {
  color: var(--muted);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 1rem;
}

.team-profile p {
  margin-bottom: 2rem;
}

blockquote.definition {
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 4px solid var(--primary);
  color: var(--muted);
  font-style: italic;
}

.resource {
  margin-bottom: 2rem;
}

.resource h3 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.resource h3 a {
  color: var(--green-light); /* lighter green than your h2 */
  text-decoration: none;
}

.resource h3 a:hover {
  color: var(--green); /* your main green */
  text-decoration: underline;
}

.thick-line {
  border: none;
  height: 3px;
  background-color: var(--border);
  margin: 1.5rem 0 0 0;
}

.resource p {
  margin-bottom: 0;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .page-title h1 {
    font-size: 1.1rem;
  }

  .art-therapy-page .content-page h2 {
    font-size: 1rem;
  }

  .resources-page .content-page h2 {
    font-size: 1rem;
  }

  .resources-page .resource h3 {
    font-size: 0.9rem;
  }
}

.card-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
  opacity: 0.4;
}

@media (max-width: 800px) {
  .team-profile img.left,
  .team-profile img.right {
    float: none;
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 1.5rem;
  }
}
