/* =========================================================
   Newhaven, Inc. — site stylesheet
   Design language: "a home, not a facility"
   Bold color-block palette pulled from the original brand:
   brand green, brand blue, amber/orange accent.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,900&family=Caveat:wght@600;700&family=Inter:wght@400;500;600;700;800&display=swap');

:root{
  /* ---- color tokens (from the original Newhaven brand) ---- */
  --bg:            #FFFFFF;
  --bg-alt:        #F3F8F4;
  --card:          #FFFFFF;
  --ink:           #16181A;
  --ink-soft:      #4C4F4A;
  --ink-faint:     #8A8F87;

  --forest:        #06B151;   /* brand green */
  --forest-dark:   #048C41;
  --forest-deep:   #036B32;
  --forest-tint:   #E7F6EC;

  --blue:          #0054F1;   /* brand blue */
  --blue-dark:     #0038AD;
  --blue-tint:     #E8EEFE;

  --amber:         #FFA400;   /* brand orange/amber accent */
  --amber-dark:    #C97E00;
  --amber-tint:    #FFF1D8;

  --line:          #E1E8E2;
  --focus:         #0038AD;

  /* ---- type ---- */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* ---- layout ---- */
  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1{ font-size: clamp(2.4rem, 4.4vw, 3.6rem); font-weight: 800; }
h2{ font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
h3{ font-size: 1.3rem; }

p{ margin: 0 0 1em; }
a{ color: var(--blue); }
ul{ padding-left: 1.2em; }
li{ margin-bottom: 0.4em; }

img{ max-width: 100%; display: block; }

.wrap{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-dark);
  margin-bottom: 0.9em;
}
.eyebrow::before{
  content: "";
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--amber);
  display: inline-block;
}
.eyebrow.on-dark{ color: #fff; }
.eyebrow.on-dark::before{ background: var(--amber); }
.eyebrow-pill{
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------------- buttons ---------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.9em 1.7em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color .18s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:focus-visible{ outline: 3px solid var(--focus); outline-offset: 2px; }
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary{
  background: var(--forest);
  color: #fff;
  box-shadow: 0 8px 20px rgba(6,177,81,0.32);
}
.btn-primary:hover{ background: var(--forest-dark); }

.btn-glow{
  background: var(--amber);
  color: #241900;
  box-shadow: 0 10px 26px rgba(255,164,0,0.45);
}
.btn-glow:hover{ background: var(--amber-dark); color: #fff; box-shadow: 0 14px 32px rgba(255,164,0,0.6); }

.btn-secondary{
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 20px rgba(0,84,241,0.32);
}
.btn-secondary:hover{ background: var(--blue-dark); }

.btn-outline{
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn-outline:hover{ border-color: var(--forest); color: var(--forest-dark); box-shadow: 0 10px 22px rgba(6,177,81,0.14); }

.btn-ghost{
  background: rgba(255,255,255,0.14);
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.24); }

.btn-block{ width: 100%; justify-content: center; }

/* ---------------- header ---------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: url('../images/header-bg.png') left top / 100% 100% no-repeat, var(--forest);
  box-shadow: 0 2px 14px rgba(3,20,10,0.18);
}
.header-inner{
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px 58px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
}
.brand svg{ width: 38px; height: 38px; flex-shrink: 0; }
.brand-logo{
  height: 56px;
  width: auto;
  flex-shrink: 0;
}
.brand-word{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-sub{
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.25);
}

.main-nav{
  display: flex;
  align-items: stretch;
  gap: 6px;
  position: absolute;
  right: 90px;
  bottom: 16px;
}
.main-nav a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(0,0,0,0.22);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover{ background: rgba(0,0,0,0.4); color: #fff; }
.main-nav a.is-active{ background: rgba(0,0,0,0.6); color: #fff; }

.nav-dropdown{ position: relative; display: flex; }
.nav-dropdown-toggle{ display: inline-flex; align-items: center; gap: 5px; }
.nav-dropdown-toggle::after{
  content: "";
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  flex-shrink: 0;
}
.nav-dropdown-menu{
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.22);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{ display: flex; }
.main-nav .nav-dropdown-menu a{
  height: auto;
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  text-shadow: none;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  text-align: left;
}
.main-nav .nav-dropdown-menu a:hover{ background: var(--forest-tint); color: var(--forest-dark); }
.main-nav .nav-dropdown-menu a.is-active{ background: var(--ink); color: #fff; }

.header-cta{ position: absolute; right: -70px; bottom: 16px; display: flex; align-items: center; gap: 10px; }
.call-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.94rem;
  white-space: nowrap;
  transition: background .15s ease;
}
.call-pill svg{ width: 16px; height: 16px; }
.call-pill:hover{ background: var(--forest-dark); }

.nav-toggle{
  display: none;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
}
.nav-toggle svg{ width: 22px; height: 22px; }

@media (max-width: 900px){
  .header-cta{ position: static; }
  .main-nav{
    position: absolute;
    top: 100%; bottom: auto; left: 50%; right: auto;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 24px 18px;
    display: none;
  }
  .main-nav.is-open{ display: flex; }
  .main-nav a{ height: auto; padding: 12px 16px; background: transparent; color: var(--ink-soft); text-shadow: none; justify-content: flex-start; }
  .main-nav a:hover{ background: var(--forest-tint); color: var(--forest-dark); }
  .main-nav a.is-active{ background: var(--ink); color: #fff; }
  .nav-dropdown{ flex-direction: column; }
  .nav-dropdown-menu{
    display: flex;
    position: static;
    margin-top: 0;
    box-shadow: none;
    padding: 0 0 4px 14px;
    min-width: 0;
  }
  .nav-toggle{ display: flex; }
  .brand-sub{ display: none; }
}

/* ---------------- PHOTO HERO: full-bleed image + overlapping framed box ---------------- */
.photo-hero{
  position: relative;
  padding: 0;
}
.photo-hero-img{
  position: relative;
  width: 100%;
  aspect-ratio: 20 / 8;
  overflow: hidden;
  background: url('../images/main-bg.jpg') center bottom / cover no-repeat, linear-gradient(135deg, var(--forest) 0%, var(--blue) 100%);
}
.photo-hero-img .kb{
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, #ffffff22, #ffffff22 14px, #ffffff10 14px, #ffffff10 28px), rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: #fff; font-weight: 700; padding: 20px;
  animation: kenburns 20s ease-in-out infinite alternate;
}
.photo-hero-img img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 20s ease-in-out infinite alternate;
}
.photo-hero-img img.hero-shape-photo{
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(3,20,10,0.35));
}
.hero-slideshow{ position: absolute; inset: 0; }
.hero-slideshow .slide{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  opacity: 0;
  animation: slideshowFade 18s ease-in-out infinite;
}
.hero-slideshow .slide:nth-child(1){ animation-delay: 0s; }
.hero-slideshow .slide:nth-child(2){ animation-delay: -6s; }
.hero-slideshow .slide:nth-child(3){ animation-delay: -12s; }
.hero-slideshow .slide img.hero-shape-photo{
  position: static;
  max-width: 100%; max-height: 100%; width: auto; height: 100%;
}
.photo-hero-img::after{
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,20,10,0) 0%, rgba(3,20,10,0.1) 55%, rgba(3,20,10,0.55) 100%),
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,0.1), rgba(255,255,255,0) 60%);
  pointer-events: none;
}
@media (max-width: 700px){
  .photo-hero-img{ aspect-ratio: 4 / 5; }
}

.photo-hero-frame{
  position: relative;
  max-width: 880px;
  margin: -90px auto 0;
  padding: 4px;
  border-radius: 20px;
  background: linear-gradient(120deg, var(--forest) 0%, var(--amber) 50%, var(--blue) 100%);
  box-shadow: 0 24px 50px rgba(16,24,20,0.18);
}
.photo-hero-box{
  background: #fff;
  border-radius: 17px;
  padding: 44px 52px 48px;
  text-align: center;
}
.photo-hero-box .eyebrow{ justify-content: center; }
.photo-hero-box h1{
  font-family: "Caveat", var(--font-display), cursive;
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  color: var(--forest-dark);
  margin-bottom: 0.25em;
  line-height: 1.05;
}
.photo-hero-box p.lede{
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 auto 1.5em;
  font-size: 1.08rem;
}
.photo-hero-box .hero-ctas{ justify-content: center; }

@media (max-width: 700px){
  .photo-hero-frame{ margin-top: -60px; max-width: 92%; }
  .photo-hero-box{ padding: 32px 22px 36px; }
}

/* ---------------- HERO: bold color-block (secondary/inner-page style) ---------------- */
.hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  padding: 64px 0 96px;
}
.hero::before{
  content: "";
  position: absolute; top: -130px; right: -120px;
  width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,164,0,0.55), rgba(255,164,0,0) 70%);
  pointer-events: none;
}
.hero::after{
  content: "";
  position: absolute; bottom: -170px; left: -110px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,84,241,0.45), rgba(0,84,241,0) 70%);
  pointer-events: none;
}
.hero-grid{
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.hero h1{ color: #fff; margin-bottom: 0.35em; }
.hero h1 .hl{ color: #FFD98A; }
.hero .lede{ font-size: 1.15rem; color: rgba(255,255,255,0.92); max-width: 46ch; margin-bottom: 1.6em; }
.hero-ctas{ display: flex; flex-wrap: wrap; gap: 14px; }

/* Ken Burns hero photo frame */
.hero-photo{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px rgba(0,0,0,0.28);
}
.hero-photo .kb{
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, #ffffff22, #ffffff22 12px, #ffffff10 12px, #ffffff10 24px), #ffffff33;
  border: 3px dashed rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; text-align: center; padding: 20px;
  animation: kenburns 18s ease-in-out infinite alternate;
  transform-origin: center;
}
.hero-photo img.kb{
  border: none;
  animation: kenburns 18s ease-in-out infinite alternate;
  width: 100%; height: 100%; object-fit: cover;
}
@keyframes kenburns{
  0%   { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.12) translate(-1.5%, -1.5%); }
}
.hero-photo .cap{ background: rgba(0,0,0,0.35); padding: 14px 18px; border-radius: 12px; font-size: 0.95rem; position: relative; z-index: 2; }
.badge-float{
  position: absolute; bottom: -20px; left: -20px;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 16px 34px rgba(0,0,0,0.18); font-weight: 800; font-size: 0.92rem;
  display: flex; align-items: center; gap: 10px; z-index: 3;
  animation: floatUp 3.6s ease-in-out infinite;
}
@keyframes floatUp{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-8px); } }
.badge-float .num{ font-family: var(--font-display); font-size: 1.5rem; color: var(--forest-dark); }

@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-photo{ order: -1; max-width: 380px; margin: 0 auto 30px; }
}

/* ---------------- stat band ---------------- */
.stat-band{ background: var(--ink); }
.stat-row{ display: grid; grid-template-columns: repeat(3, 1fr); }
.stat{ padding: 34px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.stat:last-child{ border-right: none; }
.stat .n{ font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; color: var(--amber); }
.stat .l{ color: rgba(255,255,255,0.75); font-size: 0.9rem; font-weight: 700; }
@media (max-width: 700px){
  .stat-row{ grid-template-columns: 1fr; }
  .stat{ border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat:last-child{ border-bottom: none; }
}

/* ---------------- highlight cards (home) ---------------- */
.highlights{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.hl-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: 0 14px 34px rgba(22,24,26,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hl-card:hover{ transform: translateY(-4px); box-shadow: 0 20px 40px rgba(22,24,26,0.12); }
.hl-card h3{ margin-bottom: 0.35em; }
.hl-card .accent{ color: var(--amber-dark); }
.hl-card p{ color: var(--ink-soft); font-size: 0.98rem; }
.hl-card a.btn{ margin-top: 6px; }

@media (max-width: 900px){
  .highlights{ grid-template-columns: 1fr; }
}

/* ---------------- scroll reveal ---------------- */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-stagger .stagger-item{ opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal-stagger.is-visible .stagger-item{ opacity: 1; transform: translateY(0); }
.stagger-item:nth-child(1){ transition-delay: .02s; }
.stagger-item:nth-child(2){ transition-delay: .10s; }
.stagger-item:nth-child(3){ transition-delay: .18s; }
.stagger-item:nth-child(4){ transition-delay: .26s; }
.stagger-item:nth-child(5){ transition-delay: .34s; }
.stagger-item:nth-child(6){ transition-delay: .42s; }
.stagger-item:nth-child(7){ transition-delay: .50s; }
.stagger-item:nth-child(8){ transition-delay: .58s; }
.stagger-item:nth-child(9){ transition-delay: .66s; }

/* ---------------- sections ---------------- */
section{ padding: 84px 0; }
.section-alt{ background: var(--bg-alt); }
.section-head{ max-width: 640px; margin-bottom: 42px; }
.section-head p{ color: var(--ink-soft); }

.two-col{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px){
  .two-col{ grid-template-columns: 1fr; gap: 32px; }
}

.mission-row{
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.mission-photo{
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: 0 20px 44px rgba(22,24,26,0.1);
}
.mission-photo img{ width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px){
  .mission-row{ margin-top: 40px; padding-top: 36px; }
}

.care-team-photo{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt), #E7EFE8);
  border: 2px dashed var(--line);
  box-shadow: 0 20px 44px rgba(22,24,26,0.1);
}
.care-team-photo img{ width: 100%; height: 100%; object-fit: contain; padding: 20px; box-sizing: border-box; }

.fact-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 32px;
}
.fact{ border-top: 3px solid var(--forest); padding-top: 14px; }
.fact h3{ font-size: 1.05rem; color: var(--forest-dark); margin-bottom: 0.3em; }
.fact p{ color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
@media (max-width: 700px){
  .fact-row{ grid-template-columns: 1fr; }
}

/* ---------------- about photo slideshow (crossfades to the next photo every ~6s) ---------------- */
.photo-slideshow{
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--bg-alt), #E7EFE8);
  border: 2px dashed var(--line);
  box-shadow: 0 20px 44px rgba(22,24,26,0.1);
}
.photo-slideshow .slide{
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 24px;
  color: var(--ink-soft); font-size: 0.9rem; font-weight: 700;
  opacity: 0;
  animation: slideshowFade 18s ease-in-out infinite;
}
.photo-slideshow .slide img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
}
.photo-slideshow .slide:nth-child(1){ animation-delay: 0s; }
.photo-slideshow .slide:nth-child(2){ animation-delay: -6s; }
.photo-slideshow .slide:nth-child(3){ animation-delay: -12s; }
@keyframes slideshowFade{
  0%, 100%{ opacity: 0; }
  3%, 30%{ opacity: 1; }
  36%{ opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .photo-slideshow .slide{ animation: none; opacity: 0; }
  .photo-slideshow .slide:first-child{ opacity: 1; }
}

.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 900px){
  .card-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px){
  .card-grid{ grid-template-columns: 1fr; }
}
.svc-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc-card:hover{ transform: translateY(-3px); box-shadow: 0 16px 30px rgba(22,24,26,0.08); }
.svc-card svg{ width: 30px; height: 30px; color: var(--forest); margin-bottom: 12px; }
.svc-card h3{ font-size: 1.05rem; margin-bottom: 6px; }
.svc-card ul{ margin: 0; padding-left: 0; list-style: none; color: var(--ink-soft); font-size: 0.95rem; }
.svc-card ul li{ position: relative; padding-left: 24px; }
.svc-card ul li::before{
  content: "";
  position: absolute; left: 0; top: 0.32em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--forest-tint);
}
.svc-card ul li::after{
  content: "";
  position: absolute; left: 3px; top: 0.52em;
  width: 7px; height: 3.5px;
  border-left: 2px solid var(--forest-dark);
  border-bottom: 2px solid var(--forest-dark);
  transform: rotate(-45deg);
}

/* pull quote used on About page */
.pullquote{
  position: relative;
  border-left: 4px solid var(--amber);
  padding: 4px 0 4px 24px;
  margin: 32px 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--forest-dark);
}
.pullquote::before{
  content: "\201C";
  position: absolute;
  left: 14px; top: -34px;
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: var(--amber);
  opacity: 0.35;
  line-height: 1;
  pointer-events: none;
}
.pullquote cite{
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------------- mixed photo grid ---------------- */
.mixed-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 160px 160px;
  gap: 16px;
}
.mixed-grid .ph{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt), #E7EFE8);
  border: 2px dashed var(--line);
  display: flex; align-items: flex-end; justify-content: center;
  color: var(--ink-soft); font-size: 0.85rem; font-weight: 700; text-align: center;
  cursor: pointer;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}
.mixed-grid .ph:hover{ transform: scale(1.035); box-shadow: 0 18px 34px rgba(0,0,0,0.14); z-index: 2; }
.mixed-grid .ph img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; padding: 8px; box-sizing: border-box; }
.mixed-grid .ph .cap2{
  width: 100%; padding: 10px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), rgba(0,0,0,0));
  color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease;
  position: relative; z-index: 2;
}
.mixed-grid .ph:hover .cap2{ opacity: 1; transform: translateY(0); }
.mixed-grid .ph .label-idle{ position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); padding: 0 10px; transition: opacity .25s ease; z-index: 2;}
.mixed-grid .ph:hover .label-idle{ opacity: 0; }
.mixed-grid .big{ grid-column: span 2; grid-row: span 2; }
.mixed-grid .tall{ grid-row: span 2; }
@media (max-width: 800px){
  .mixed-grid{ grid-template-columns: repeat(2,1fr); grid-template-rows: auto; }
  .mixed-grid .big, .mixed-grid .tall{ grid-column: span 1; grid-row: auto; aspect-ratio: 1/1; }
}

/* simple page hero for inner pages (color-block, shorter than home hero) */
.page-hero{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-deep) 100%);
  padding: 56px 0 64px;
  color: #fff;
}
.page-hero::before{
  content: "";
  position: absolute; top: -100px; right: -100px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,164,0,0.5), rgba(255,164,0,0) 70%);
  pointer-events: none;
}
.page-hero.blue{ background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%); }
.page-hero .wrap{ position: relative; z-index: 2; }
.page-hero h1{ color: #fff; }
.page-hero p.lede{ color: rgba(255,255,255,0.9); max-width: 60ch; font-size: 1.05rem; }

.prose{ max-width: 70ch; }
.prose h2{ margin-top: 1.6em; }
.prose ul{ margin: 1em 0; list-style: none; padding-left: 0; }
.prose ul li{ position: relative; padding-left: 30px; }
.prose ul li::before{
  content: "";
  position: absolute; left: 0; top: 0.35em;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--forest-tint);
}
.prose ul li::after{
  content: "";
  position: absolute; left: 4px; top: 0.6em;
  width: 8px; height: 4px;
  border-left: 2px solid var(--forest-dark);
  border-bottom: 2px solid var(--forest-dark);
  transform: rotate(-45deg);
}

/* ---------------- angled CTA ---------------- */
.cta-band{
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--blue), var(--blue-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band::after{
  content: "";
  position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(255,164,0,0.5), rgba(255,164,0,0) 70%);
  pointer-events: none;
}
.cta-band h2{ color: #fff; margin-bottom: 0.2em; position: relative; z-index: 1; }
.cta-band p{ color: rgba(255,255,255,0.85); margin: 0; position: relative; z-index: 1; }
.cta-band .btn-glow{ flex-shrink: 0; position: relative; z-index: 1; }

/* ---------------- forms ---------------- */
.form-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.field{ margin-bottom: 20px; }
.field label{
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.field .hint{ font-size: 0.82rem; color: var(--ink-faint); margin-top: 4px; }
.field input,
.field select,
.field textarea{
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px var(--forest-tint);
}
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px){ .field-row{ grid-template-columns: 1fr; } }

.radio-group{ border: 0; padding: 0; margin: 0 0 20px; }
.radio-group legend{
  display: block;
  width: 100%;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 8px;
  padding: 0;
  color: var(--ink);
}
.radio-options{ display: flex; gap: 22px; flex-wrap: wrap; }
.radio-options label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.radio-options input[type="radio"]{
  width: 18px;
  height: 18px;
  accent-color: var(--forest);
  cursor: pointer;
}

.hp-field{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--forest-tint);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--forest-dark);
  margin-top: 18px;
}
.form-note svg{ width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }

.form-status{
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}
.form-status.is-success{ display: block; background: var(--forest-tint); color: var(--forest-dark); }
.form-status.is-error{ display: block; background: #FBE3DD; color: #8A3B2C; }

/* ---------------- contact / location details ---------------- */
.info-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
@media (max-width: 800px){ .info-grid{ grid-template-columns: 1fr; } }
.info-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.info-card:hover{ transform: translateY(-3px); box-shadow: 0 14px 28px rgba(22,24,26,0.08); }
.info-card svg{ width: 22px; height: 22px; color: var(--amber-dark); margin-bottom: 10px; }
.info-card h3{ font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 8px; }
.info-card p{ margin: 0; font-weight: 700; }
.info-card a{ text-decoration: none; color: var(--ink); }

.map-frame{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  line-height: 0;
}
.map-frame iframe{ width: 100%; height: 420px; border: 0; display: block; }

/* ---------------- resource cards (brochure/flyer) ---------------- */
.res-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px){ .res-grid{ grid-template-columns: 1fr; } }
.res-card{
  border-radius: 16px; padding: 24px; display: flex; gap: 16px; align-items: center;
  background: var(--bg-alt); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  color: var(--ink);
}
.res-card:hover{ transform: translateY(-4px); box-shadow: 0 14px 28px rgba(22,24,26,0.1); }
.res-card .icon{ width: 50px; height: 50px; border-radius: 12px; background: var(--forest); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.res-card .icon svg{ width: 22px; height: 22px; }
.res-card h3{ font-size: 1.05rem; margin: 0 0 4px; font-family: var(--font-body); font-weight: 800; color: var(--ink); }
.res-card span.dl{ display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 800; color: var(--blue); }
.res-card span.dl svg{ width: 15px; height: 15px; flex-shrink: 0; transition: transform .2s ease; }
.res-card:hover span.dl svg{ transform: translateX(3px); }

/* ---------------- footer ---------------- */
.site-footer{
  background: var(--ink);
  color: rgba(255,255,255,0.86);
  padding: 64px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 40px;
}
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}
.footer-brand{ display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand svg{ width: 32px; height: 32px; }
.footer-brand span{ font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: #fff; }
.footer-logo{ height: 42px; width: auto; }
.site-footer p{ color: rgba(255,255,255,0.66); font-size: 0.95rem; }
.site-footer h4{
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 14px;
}
.site-footer ul{ list-style: none; padding: 0; margin: 0; }
.site-footer a{ color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover{ color: #fff; text-decoration: underline; }
.footer-social{ display: flex; gap: 10px; margin-top: 16px; }
.footer-social a{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
}
.footer-social svg{ width: 17px; height: 17px; }
.newsletter-mini input{
  width: 100%;
  padding: 11px 14px;
  border-radius: 999px 0 0 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--font-body);
}
.newsletter-mini input::placeholder{ color: rgba(255,255,255,0.5); }
.newsletter-mini{ display: flex; }
.newsletter-mini button{
  border-radius: 0 999px 999px 0;
  border: none;
  background: var(--amber);
  color: #241900;
  font-weight: 800;
  padding: 0 18px;
  cursor: pointer;
}
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom a{ color: rgba(255,255,255,0.6); }

/* ---------------- utility ---------------- */
.visually-hidden{
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
:focus-visible{ outline: 3px solid var(--focus); outline-offset: 2px; }

.skip-link{
  position: absolute;
  left: 12px; top: -60px;
  background: var(--forest);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
  transition: top 0.15s ease;
}
.skip-link:focus{ top: 12px; }

@media (prefers-reduced-motion: reduce){
  .hero-photo .kb{ animation: none; }
  .badge-float{ animation: none; }
}
