/* ============================================================
   Nurture Guide Services - landing page styles
   Palette from logo: deep forest green #05271f, lime #d3e16b
   ============================================================ */

:root {
  --green: #05271f;
  --green-soft: #0b3a2e;
  --focus-teal: #0b4040;
  --focus-card-bg: #faf8f3;
  --lime: #d3e16b;
  --lime-soft: #eef3cf;
  --cream: #faf8f2;
  --ink: #101210;
  --muted: #55605b;
  --line: #e6e6df;
  --radius-lg: 28px;
  --radius-md: 20px;
  --hero-pad: clamp(1.5rem, 3.5vw, 3rem);
  --shadow-soft: 0 10px 30px rgba(5, 39, 31, 0.08);
  --font: "Manrope", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* One easing curve for every motion on the site */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --zoom-duration: 700ms;
}

/* Every framed image shares the same smooth zoom on hover */
.service-card-media img,
.requesters-media img,
.standard-tile-feature img,
.standard-tile-photo img {
  transition: transform var(--zoom-duration) var(--ease-smooth);
}
.service-card:hover .service-card-media img,
.requesters-media:hover img,
.standard-tile-feature:hover img,
.standard-tile-photo:hover img {
  transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
  .service-card-media img,
  .requesters-media img,
  .standard-tile-feature img,
  .standard-tile-photo img {
    transition: none;
    transform: none !important;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Keep anchored sections clear of the sticky header */
[id] { scroll-margin-top: 92px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: #ffffff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

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

h1, h2, h3, h4 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.12; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-service-pill,
  .services-track,
  .service-card,
  .service-card-media img,
  .service-card-link span,
  .focus-track,
  .service-nav-btn { transition: none; }

  /* Sweep still fills on hover, it just does not travel */
  .btn-dark::before,
  .btn-outline::before { transition: none; }
}

/* ---------- Scroll reveal ----------
   Hidden state applies only when JS is present and the visitor has not
   asked for reduced motion, so content is never trapped invisible. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
      transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
  }
  .js [data-reveal].is-revealed {
    opacity: 1;
    transform: none;
  }
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font: 500 0.95rem/1 var(--font);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-pill { border-radius: 999px; padding: 0.85rem 1.6rem; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.02rem; }

/* Sweep fill: the hover colour rises from the bottom rather than snapping. */
.btn-dark,
.btn-outline {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition-property: color, border-color, transform;
  transition-duration: 400ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-dark::before,
.btn-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: center bottom;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-dark:hover::before,
.btn-dark:focus-visible::before,
.btn-outline:hover::before,
.btn-outline:focus-visible::before {
  transform: scaleY(1);
}

.btn-dark { background: var(--green); color: #fff; }
.btn-dark::before { background: #fff; }
.btn-dark:hover,
.btn-dark:focus-visible { color: var(--green); border-color: var(--green); }

.btn-lime { background: var(--lime); color: var(--green); }
.btn-lime:hover { background: #fff; color: var(--green); }

.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline::before { background: var(--green); }
.btn-outline:hover,
.btn-outline:focus-visible { color: #fff; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

/* Contact fields show focus through the underline instead of an outline box */
.contact-form .field input:focus-visible,
.contact-form .field textarea:focus-visible,
.contact-form .field select:focus-visible {
  outline: none;
  border-bottom-color: var(--green);
  border-bottom-width: 2px;
  padding-bottom: calc(0.5rem - 1px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
}
.brand-logo { height: 44px; width: auto; }

.nav-pills {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}
.nav-pills a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-pills a:hover { color: var(--green-soft); }

/* Duplicate of .header-cta, shown only inside the mobile dropdown */
.nav-cta-item { display: none; }

.nav-toggle, .nav-toggle-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem) 0;
}
.hero-intro {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 500px);
  align-items: end;
  gap: clamp(3rem, 4vw, 4rem);
}
.hero h1 {
  color: var(--green);
  font-size: clamp(3rem, 6vw, 5.75rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.hero-title-line,
.hero-sub-line {
  display: block;
  white-space: nowrap;
}
.hero-copy {
  width: min(100%, 500px);
  justify-self: end;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: none;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
}
.hero-media {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: clamp(2.5rem, 4vw, 3.25rem) auto 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  /* Scroll zoom runs on the image only, so the frame, the rounded mask and
     the glass pills never re-render. The short transition smooths the steps
     between scroll frames. */
  transform-origin: center center;
  will-change: transform;
  /* No transition here on purpose. The scroll zoom writes a new transform
     every frame, and a transition would restart its interpolation each
     time, which is what makes it stutter. Direct writes track the scroll. */
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img {
    transform: none !important;
    transition: none;
    will-change: auto;
  }
}
.hero-media::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 39, 31, 0.05) 0%, rgba(5, 39, 31, 0.1) 48%, rgba(5, 39, 31, 0.34) 100%);
  pointer-events: none;
}
.hero-service-highlights {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 3vw, 2.75rem);
  bottom: clamp(1.25rem, 3vw, 2.75rem);
  width: min(52%, 650px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.45rem, 0.9vw, 0.75rem);
  list-style: none;
}
.hero-service-highlights li { min-width: 0; }
.hero-service-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 28px rgba(5, 39, 31, 0.16);
  color: #fff;
  font-size: clamp(0.72rem, 1vw, 0.92rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(5, 39, 31, 0.42);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-service-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.7);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.23));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32), 0 14px 34px rgba(5, 39, 31, 0.24);
}
.hero-service-pill.is-featured {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(5, 39, 31, 0.2);
  color: var(--green);
  text-shadow: none;
}
.hero-service-pill.is-featured:hover {
  background: #fff;
  border-color: #fff;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) clamp(1.25rem, 4vw, 3rem); }
.section-cream { background: var(--cream); }

.section-head { text-align: center; max-width: 560px; margin: 0 auto clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.6rem; }
.section-head p { color: var(--muted); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  gap: 1.1rem;
  max-width: 1200px;
  margin: 0 auto;
}
/* Services: image-led manual slider */
.section-services {
  overflow: hidden;
  background: #f4f5f1;
}
.services-shell {
  --service-gap: clamp(1rem, 1.8vw, 1.5rem);
  max-width: 1320px;
  margin: 0 auto;
}
.services-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
}
.services-title-block h2 {
  max-width: none;
  color: var(--green);
  font-size: clamp(2.45rem, 5.2vw, 4.8rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.services-title-line {
  display: block;
  white-space: nowrap;
}
.services-head-copy {
  align-self: end;
  padding-top: 0;
}
.services-head-copy > p {
  max-width: 43ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
}
.services-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 53ch) auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: clamp(1.25rem, 2vw, 1.75rem);
}
.services-viewport {
  width: 100%;
  overflow: hidden;
}
.services-track {
  display: flex;
  align-items: stretch;
  gap: var(--service-gap);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.service-card {
  flex: 0 0 calc((100% - (var(--service-gap) * 2)) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0.9rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.28s ease;
}
.service-card:hover {
  border-color: rgba(5, 39, 31, 0.24);
}
.service-card-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px 20px 64px 20px;
  background: var(--lime-soft);
}
.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 39, 31, 0.12));
  pointer-events: none;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card:nth-child(1) .service-card-media img { object-position: center 43%; }
.service-card:nth-child(2) .service-card-media img { object-position: center 28%; }
/* Her head sits high in this frame, so the crop window starts higher */
.service-card:nth-child(3) .service-card-media img { object-position: center 18%; }
.service-card:nth-child(4) .service-card-media img { object-position: center 36%; }
.service-card:nth-child(5) .service-card-media img { object-position: center 28%; }
/* Standing shot with the head high in frame, same as card 03 */
.service-card:nth-child(6) .service-card-media img { object-position: center 15%; }
.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem 0.4rem 0.4rem;
}
.service-card-number {
  margin-bottom: 0.75rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}
.service-card h3 {
  max-width: 18ch;
  margin-bottom: 0.75rem;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  font-weight: 500;
  line-height: 1.14;
}
.service-card p {
  margin-bottom: 1.6rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
}
.service-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 600;
}
.service-card-link span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--lime-soft);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.service-card:hover .service-card-link span {
  transform: translate(2px, -2px);
  background: var(--lime);
}
.services-footer {
  margin-top: 0;
}
.services-footer > p {
  max-width: 53ch;
  color: var(--muted);
  font-size: 0.92rem;
}
.services-controls {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}
.service-nav-btn {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.service-nav-btn.service-nav-next {
  background: var(--green);
  color: #fff;
}
.service-nav-btn:hover:not(:disabled) { transform: translateY(-2px); }
.service-nav-prev:hover:not(:disabled) { background: var(--green); color: #fff; }
.service-nav-next:hover:not(:disabled) { background: var(--green-soft); }
.service-nav-btn:disabled { opacity: 0.3; cursor: default; transform: none; }
/* Focus care groups: dark introduction with overlapping slider cards */
.focus-section {
  overflow: hidden;
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  background: #f4f5f1;
}
.focus-intro {
  min-height: clamp(330px, 34vw, 430px);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem) clamp(8rem, 13vw, 10rem);
  background: var(--focus-teal);
  color: #fff;
}
.focus-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  max-width: 1320px;
  margin: 0 auto;
}
.focus-intro .focus-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin-bottom: 1.1rem;
  padding: 0.42rem 0.72rem;
  border: 1px solid rgba(250, 248, 243, 0.18);
  border-radius: 999px;
  background: rgba(250, 248, 243, 0.1);
  color: var(--focus-card-bg);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.focus-intro .focus-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
}
.focus-intro h2 {
  max-width: none;
  font-size: clamp(2.05rem, 4.5vw, 4.45rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.focus-title-line {
  display: block;
  white-space: nowrap;
}
.focus-intro-inner > p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.65;
}
.focus-slider-shell {
  --focus-gap: clamp(1rem, 1.8vw, 1.5rem);
  /* Padding sits inside the box, so the cap carries the gutters to keep the
     card edge in line with the introduction heading above it. */
  max-width: calc(1320px + (2 * clamp(1.25rem, 4vw, 3rem)));
  margin: clamp(-7.5rem, -9vw, -5.75rem) auto 0;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  position: relative;
  z-index: 2;
}
.focus-viewport {
  width: 100%;
  overflow: hidden;
}
.focus-track {
  display: flex;
  align-items: stretch;
  gap: var(--focus-gap);
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.focus-card {
  flex: 0 0 calc((100% - (var(--focus-gap) * 2)) / 3);
  min-width: 0;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.15rem, 2vw, 1.55rem);
  border-radius: 28px;
  background: var(--focus-card-bg);
  color: var(--focus-teal);
}
.focus-card-meta {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.focus-card-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  color: var(--focus-teal);
}
.focus-card-label {
  font-size: clamp(1.3rem, 1.75vw, 1.65rem);
  font-weight: 500;
  line-height: 1.2;
}
.focus-card > p {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #285e63;
  font-size: 0.96rem;
  line-height: 1.55;
}
.focus-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 52ch) auto;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.focus-toolbar > p {
  color: var(--muted);
  font-size: 0.9rem;
}

.card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.card-tint { background: #ffffff; }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--lime-soft);
  color: var(--green);
  margin-bottom: 1.1rem;
}
.card-icon .icon { width: 1.5em; height: 1.5em; }
.card h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.92rem; color: var(--muted); }

/* ---------- Who can request support ---------- */
.section-requesters {
  background: #ffffff;
}
.requesters-shell {
  max-width: 1320px;
  margin: 0 auto;
}
.requesters-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
}
.requesters-title-block h2 {
  color: var(--green);
  font-size: clamp(2.05rem, 4.5vw, 4.45rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.requesters-title-line {
  display: block;
  white-space: nowrap;
}
.requesters-head-copy > p {
  max-width: 43ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
}
.requesters-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  gap: clamp(1.25rem, 2.4vw, 2rem);
}
.requesters-list-col {
  display: flex;
  flex-direction: column;
}
.requesters-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 500;
}
.requesters-list {
  display: grid;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}
.requester-row {
  width: 100%;
  padding: clamp(0.85rem, 1.5vw, 1.15rem) 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: #a3ada8;
  font: 400 clamp(1.15rem, 1.85vw, 1.7rem)/1.2 var(--font);
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}
.requester-row:last-child { border-bottom: 1px solid var(--line); }
.requester-row:hover { color: var(--green-soft); }
.requester-row.is-active { color: var(--green); font-weight: 500; }
.requesters-cta {
  align-self: flex-start;
  margin-top: auto;
  /* The icon circle sets the height, so the vertical padding stays small */
  padding: 0.45rem 0.5rem 0.45rem 1.5rem;
  gap: 0.85rem;
}
.requesters-cta-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  /* Matches the sweep timing so the circle changes with the fill */
  transition: background-color 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.requesters-cta-icon svg { width: 18px; height: 18px; }
.btn-dark.requesters-cta:hover .requesters-cta-icon { background: rgba(5, 39, 31, 0.1); }
.requesters-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--cream);
}
.requesters-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.requesters-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: var(--focus-teal);
  color: #fff;
}
.requesters-panel-copy {
  display: grid;
}
.requester-copy {
  display: none;
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: -0.02em;
}
.requester-copy.is-active { display: block; }
.requesters-panel-note {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ---------- Who we help: accordion + carousel ---------- */
.groups {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.groups-list { display: grid; gap: 0.25rem; }
.group-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 1.15rem 0.5rem;
  cursor: pointer;
  color: var(--ink);
  font: inherit;
  transition: opacity 0.2s ease;
}
.group-row:last-child { border-bottom: none; }
.group-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green);
  flex: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.group-label { flex: 1; display: grid; gap: 0.15rem; }
.group-label strong { font-size: 1.05rem; font-weight: 600; }
.group-label small { font-size: 0.85rem; color: var(--muted); }
.group-plus {
  position: relative;
  width: 18px; height: 18px;
  flex: none;
  color: var(--muted);
}
.group-plus::before,
.group-plus::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.group-plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.group-plus::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.group-row.is-active .group-icon { background: var(--green); color: var(--lime); border-color: var(--green); }
.group-row.is-active .group-plus { color: var(--green); }
.group-row.is-active .group-plus::after { opacity: 0; transform: translateX(-50%) rotate(90deg); }
.group-row:not(.is-active):hover { opacity: 0.75; }

/* Carousel */
.groups-panel { display: grid; gap: 1.25rem; }
.groups-viewport { overflow: hidden; }
.groups-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.group-card {
  position: relative;
  flex: 0 0 calc(50% - 8px);
  box-sizing: border-box;
  background: var(--green);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  min-height: 300px;
  overflow: hidden;
  isolation: isolate;
}
.group-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 65%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 39, 31, 0) 0%, rgba(5, 39, 31, 0.86) 72%, rgba(5, 39, 31, 0.95) 100%);
  pointer-events: none;
}
.gc-media {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 18%, rgba(211, 225, 107, 0.34), transparent 32%),
    linear-gradient(145deg, #173e35 0%, #05271f 52%, #eef3cf 160%);
}
.gc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gc-body {
  position: absolute;
  z-index: 2;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  color: #fff;
}
.gc-body .card-icon {
  border-radius: 14px;
  width: 46px;
  height: 46px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green);
}
.group-card h3 { font-size: 1.2rem; margin-bottom: 0.35rem; color: #fff; }
.group-card p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.8); max-width: 25ch; }

.groups-nav { display: flex; align-items: center; gap: 1.25rem; }
.carousel-btn {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--green);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.carousel-btn:hover:not(:disabled) { background: var(--green); color: #fff; }
.carousel-btn:disabled { opacity: 0.35; cursor: default; }
.groups-counter { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* ---------- About ---------- */
.about-layout {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 7vw, 5rem);
  align-items: center;
}
.about-visual {
  background: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.about-visual img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}
.section-kicker {
  display: block;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-kicker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.36rem 0.68rem;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  box-shadow: none;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
}
.section-kicker-pill::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--lime);
}
.about-copy h2 {
  font-size: clamp(2rem, 4.8vw, 3.6rem);
  margin-bottom: 1rem;
}
.about-title-line {
  display: block;
  white-space: nowrap;
}
.about-copy p {
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 0.8rem;
}
.about-copy .btn { margin-top: 1.2rem; }
/* ---------- Our standard: photo and note mosaic ---------- */
.standard-shell {
  max-width: 1320px;
  margin: 0 auto;
}
.standard-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
}
.standard-title-block h2 {
  color: var(--green);
  font-size: clamp(2.05rem, 4.5vw, 4.45rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.standard-title-line {
  display: block;
  white-space: nowrap;
}
.standard-head-copy > p {
  max-width: 43ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
}
/* The tiles sit flush and the block carries one rounded outline */
.standard-mosaic {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  /* Fixed tracks give the photos a definite height to cover */
  grid-auto-rows: clamp(210px, 19vw, 285px);
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.standard-tile {
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}
.standard-tile-feature {
  grid-row: span 2;
}
.standard-tile-feature img,
.standard-tile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.standard-tile-feature img { object-position: center 32%; }
.standard-tile-photo img { object-position: center 30%; }
.standard-tile-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
  text-align: center;
}
.standard-tile-icon {
  display: grid;
  place-items: center;
  margin-bottom: 0.35rem;
}
.standard-tile-icon .icon {
  width: 2rem;
  height: 2rem;
}
.standard-tile-note h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 500;
}
.standard-tile-note p {
  max-width: 28ch;
  font-size: 0.95rem;
  line-height: 1.55;
}
.standard-tile-lime {
  background: var(--lime-soft);
  color: var(--green);
}
.standard-tile-lime p { color: #4a5a3f; }
.standard-tile-teal {
  background: var(--focus-teal);
  color: #fff;
}
.standard-tile-teal p { color: rgba(255, 255, 255, 0.76); }

/* ---------- FAQ ---------- */
.section-faq {
  background: #ffffff;
}
.faq-shell {
  max-width: 1320px;
  margin: 0 auto;
}
.faq-head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2.25rem, 4vw, 3rem);
}
.faq-title-block h2 {
  color: var(--green);
  font-size: clamp(2.05rem, 4.5vw, 4.45rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.faq-title-line {
  display: block;
  white-space: nowrap;
}
.faq-head-copy > p {
  max-width: 43ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
}
.faq-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 0 clamp(2rem, 5vw, 4.5rem);
}
.faq-column {
  display: grid;
  align-content: start;
}
.faq-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 0;
  cursor: pointer;
  font: 500 1.05rem/1.35 var(--font);
  text-align: left;
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--green); }
.faq-question[aria-expanded="true"] { color: var(--green); }
.faq-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  color: var(--green);
  flex: none;
}
.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.faq-toggle::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-toggle::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-question[aria-expanded="true"] .faq-toggle::after {
  opacity: 0;
  transform: translateX(-50%) rotate(90deg);
}
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}
.faq-answer p {
  overflow: hidden;
  max-width: 52ch;
  padding: 0 2.5rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}
.faq-question[aria-expanded="true"] + .faq-answer {
  grid-template-rows: 1fr;
}
.faq-question[aria-expanded="true"] + .faq-answer p {
  padding-bottom: 1.35rem;
}

/* ---------- Steps ---------- */
.section-steps {
  overflow: hidden;
  background: #ffffff;
}
.steps-shell {
  --step-gap: clamp(1rem, 1.8vw, 1.5rem);
  max-width: 1320px;
  margin: 0 auto;
}
.steps-head {
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
  text-align: center;
}
.steps-head h2 {
  color: var(--green);
  font-size: clamp(2.05rem, 4.5vw, 4.45rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.steps-title-line {
  display: block;
  white-space: nowrap;
}
.steps-viewport {
  width: 100%;
  overflow: hidden;
}
.steps-track {
  display: flex;
  align-items: stretch;
  gap: var(--step-gap);
  list-style: none;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.step-card {
  flex: 0 0 calc((100% - (var(--step-gap) * 3)) / 4);
  min-width: 0;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: #f4f5f1;
}
.step-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 34px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.step-card-number {
  color: var(--green);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step-card-number strong {
  color: var(--muted);
  font-weight: 400;
}
.step-card-pill {
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.step-card-pill:hover {
  background: var(--green);
  color: #fff;
}
/* Fixed head spacing keeps every step title on the same line across cards,
   since the supporting copy runs to different lengths. */
.step-card-body {
  margin-top: 0;
}
.step-card h3 {
  margin-bottom: 0.75rem;
  color: var(--green);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  font-weight: 500;
  line-height: 1.15;
}
.step-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
/* Desktop hides the arrows, so the note centres under the cards */
.steps-toolbar {
  display: grid;
  justify-items: center;
  gap: 1.25rem;
  margin-top: clamp(1.5rem, 2.4vw, 2rem);
}
.steps-toolbar > p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}
/* All four steps fit on desktop, so the arrows are only needed below 1100px */
.steps-toolbar .services-controls { display: none; }

/* ---------- Contact ---------- */
.contact-shell {
  max-width: 1120px;
  margin: 0 auto;
}
.contact-head {
  margin-bottom: clamp(2.5rem, 4.5vw, 3.5rem);
  text-align: center;
}
.contact-head h2 {
  color: var(--green);
  font-size: clamp(2.05rem, 4.5vw, 4.45rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.04em;
}
.contact-title-line {
  display: block;
  white-space: nowrap;
}
.contact-head > p {
  max-width: 52ch;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
}
.contact-panel {
  display: grid;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}
.contact-form {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.4rem, 2.4vw, 1.9rem);
}
/* Off-screen rather than display:none, so a real bot filling every field
   still trips the honeypot instead of skipping a field it cannot see */
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form-status {
  display: none;
  margin: -0.5rem 0 0;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.form-status.is-visible { display: block; }
.form-status-success { background: var(--lime-soft); color: var(--green); }
.form-status-error { background: #fbe9e7; color: #8a2c1d; }
.form-privacy-note {
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--lime);
  border-radius: 0 12px 12px 0;
  background: rgba(238, 243, 207, 0.5);
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}
.form-privacy-note strong { color: var(--green); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.4rem, 3vw, 2.5rem);
}
.field { display: grid; gap: 0.35rem; }
.field label {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
/* Underline fields, as in the reference */
.field input,
.field textarea,
.field select {
  font: 400 1rem var(--font);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ccd3cf;
  border-radius: 0;
  padding: 0.5rem 0;
  width: 100%;
  resize: vertical;
  transition: border-color 0.2s ease;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.field input:hover,
.field textarea:hover,
.field select:hover,
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--green); }
.field input::placeholder, .field textarea::placeholder { color: #9aa39e; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}
.consent input { width: 18px; height: 18px; margin-top: 0.15rem; flex: none; accent-color: var(--green); }
.consent a {
  color: var(--green);
  font-weight: 600;
  text-underline-offset: 0.18em;
}
.contact-form .btn { justify-self: start; margin-top: 0.5rem; }
/* ---------- Footer ---------- */
/* The dark panel is inset rather than full bleed, so it keeps rounded corners */
/* The outer gutter and the panel's inner padding add up to the header gutter,
   so footer content lines up with the logo and the header CTA. */
.site-footer {
  --footer-gutter: 1rem;
  background: var(--cream);
  padding: 0 var(--footer-gutter) var(--footer-gutter);
}
.footer-panel {
  padding: clamp(2.25rem, 4vw, 3.5rem)
           max(1rem, calc(clamp(1.25rem, 4vw, 3rem) - var(--footer-gutter)))
           clamp(1.25rem, 2vw, 1.75rem);
  border-radius: var(--radius-lg);
  background: var(--green);
  color: rgba(255, 255, 255, 0.72);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.footer-logo { height: 52px; width: auto; margin-bottom: 1.15rem; }
.footer-brand p { font-size: 0.95rem; max-width: 32ch; line-height: 1.6; }
.footer-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.75rem;
}
.footer-btn-solid {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  background: var(--lime);
  color: var(--green);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.footer-btn-solid:hover { background: #fff; }
.footer-btn-ghost,
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
}
.footer-btn-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.footer-btn-icon svg { width: 15px; height: 15px; }
.footer-btn-ghost:hover .footer-btn-icon,
.footer-contact-link:hover .footer-btn-icon {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--green);
}
/* Numbered link columns, each row on a hairline */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(1.5rem, 3vw, 2.75rem);
}
.footer-link-col {
  list-style: none;
  display: grid;
  align-content: start;
}
.footer-link-col a {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-link-col a:hover { color: var(--lime); }
.footer-link-num {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.76rem;
  font-weight: 500;
}
.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.55;
}
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact p:first-child a { color: #fff; font-weight: 500; }
.footer-contact p:first-child a:hover { color: var(--lime); }
.footer-contact-link { margin-top: 0.6rem; }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.4rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bar > p:nth-of-type(2) { flex: 1; }
.footer-privacy-link {
  color: inherit;
  font-weight: 400;
  text-underline-offset: 0.2em;
}
.footer-privacy-link:hover { color: var(--lime); }
.footer-top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
}
.footer-top-link:hover .footer-btn-icon {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--green);
}

/* ---------- Privacy and service disclaimer ---------- */
.legal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.legal-home-link {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}
.legal-home-link:hover { color: var(--green-soft); }

.legal-main { background: #fff; }
.legal-hero {
  padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
  background: var(--cream);
}
.legal-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  max-width: 1440px;
  margin: 0 auto;
}
.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  width: fit-content;
  margin-bottom: 1.5rem;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.legal-eyebrow::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--lime);
}
.legal-hero h1 {
  max-width: 10ch;
  color: var(--green);
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.legal-hero-copy {
  padding-bottom: 0.3rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.65;
}
.legal-updated {
  margin-top: 1.15rem;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 600;
}
.legal-content {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}
.legal-toc {
  position: sticky;
  top: 108px;
  align-self: start;
}
.legal-toc p {
  margin-bottom: 0.9rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.legal-toc ol { list-style: none; }
.legal-toc a {
  display: block;
  padding: 0.58rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  font-size: 0.9rem;
  text-decoration: none;
}
.legal-toc a:hover { color: var(--green-soft); }
.legal-article { max-width: 780px; }
.legal-intro {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  color: var(--green);
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  line-height: 1.55;
}
.legal-section {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.legal-section:first-of-type { border-top: 0; padding-top: 0; }
.legal-section h2 {
  margin-bottom: 1.15rem;
  color: var(--green);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 400;
}
.legal-section h3 {
  margin: 1.6rem 0 0.55rem;
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 600;
}
.legal-section p,
.legal-section li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}
.legal-section p + p { margin-top: 0.9rem; }
.legal-section ul,
.legal-section ol {
  display: grid;
  gap: 0.65rem;
  margin: 0.9rem 0 0 1.2rem;
}
.legal-section a { color: var(--green); text-underline-offset: 0.18em; }
.legal-callout {
  margin-top: 1.4rem;
  padding: 1.2rem 1.3rem;
  border-radius: 16px;
  background: var(--lime-soft);
}
.legal-callout p { color: var(--green); }
.legal-disclaimer {
  margin-top: 1rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border-radius: var(--radius-md);
  background: var(--focus-teal);
}
.legal-disclaimer h2,
.legal-disclaimer h3,
.legal-disclaimer p,
.legal-disclaimer li { color: #fff; }
.privacy-footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.privacy-footer-inner p { max-width: 40ch; line-height: 1.65; }
.privacy-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.privacy-footer-links a { color: #fff; text-underline-offset: 0.2em; }
.privacy-footer-links a:hover { color: var(--lime); }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 881px) {
  body {
    font-size: 17px;
    line-height: 1.58;
  }

  .hero-sub,
  .section-head p,
  .services-intro p,
  .about-copy p {
    font-size: 1.12rem;
    line-height: 1.55;
  }

  .card p,
  .group-card p,
  .step-card p,
  .boundary-card p,
  .faq-answer p,
  .footer-brand p,
  .footer-contact p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .group-label small,
  .groups-counter,
  .field label,
  .footer-bar {
    font-size: 0.9rem;
  }

  .card h3,
  .boundary-card h3 {
    font-size: 1.08rem;
  }

  .group-label strong,
  .faq-question,
  .field input,
  .field textarea {
    font-size: 1.08rem;
  }

  .btn {
    font-size: 1rem;
  }
}

@media (min-width: 881px) and (max-width: 1250px) {
  .hero-intro {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 440px);
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 5.5vw, 4.25rem);
  }

  .hero-sub {
    font-size: 1rem;
  }
}

@media (max-width: 1100px) {
  .service-card {
    flex-basis: calc((100% - var(--service-gap)) / 2);
  }

  .focus-card {
    flex-basis: calc((100% - var(--focus-gap)) / 2);
  }

  .step-card {
    flex-basis: calc((100% - var(--step-gap)) / 2);
  }

  /* Tablet: the feature photo runs full width above a two by two block */
  .standard-mosaic {
    grid-template-columns: 1fr 1fr;
  }

  .standard-tile-feature {
    grid-column: 1 / -1;
    grid-row: span 1;
    height: clamp(240px, 34vw, 340px);
  }

  /* Brand across the top so the link columns keep their width */
  .footer-inner {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  /* The arrows return here, so the note goes back beside them */
  .steps-toolbar {
    grid-template-columns: minmax(0, 52ch) auto;
    align-items: center;
    justify-content: space-between;
    justify-items: stretch;
  }

  .steps-toolbar > p {
    text-align: left;
  }

  .steps-toolbar .services-controls { display: flex; }

  .services-head {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 2rem;
  }

  /* Tablet: list beside the image, panel spans the full width below */
  .requesters-body {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .requesters-panel {
    grid-column: 1 / -1;
  }

  .requesters-media {
    aspect-ratio: 4 / 5;
  }

  /* The image is taller than the list here, so the button follows the list */
  .requesters-cta {
    margin-top: 1.75rem;
  }

  .requesters-head {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 2rem;
  }

  .services-title-block h2 {
    font-size: clamp(2.4rem, 5vw, 3.35rem);
  }
}

@media (max-width: 1020px) {
  .header-inner {
    position: relative;
    gap: 0.75rem;
    justify-content: flex-start;
  }

  .brand-logo {
    height: 42px;
  }

  /* The CTA moves into the dropdown here, so the hamburger takes the
     right-hand slot the CTA used to occupy. */
  .main-nav {
    order: 3;
    flex: none;
    margin-left: auto;
  }

  .nav-toggle-btn {
    display: grid;
    gap: 5px;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 12px;
  }

  .nav-toggle-btn span {
    width: 22px;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-pills {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 0.6rem;
  }

  .nav-toggle:checked ~ .nav-pills {
    display: flex;
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-pills a {
    padding: 0.8rem 1.1rem;
    font-size: 0.95rem;
  }

  /* Tucked into the hamburger menu on mobile, not the header row */
  .header-cta { display: none; }

  .nav-cta-item {
    display: block;
    margin-top: 0.5rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--line);
  }

  .nav-cta-mobile {
    width: 100%;
  }

}

@media (max-width: 880px) {
  /* Mobile nav (checkbox toggle) */
  .brand-logo { height: 40px; }

  .hero-intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 8vw, 4.25rem);
  }

  .hero-copy {
    width: 100%;
    justify-self: start;
  }

  .hero-service-highlights {
    width: min(78%, 620px);
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .hero-ctas .btn {
    padding: 0.78rem 1.15rem;
    font-size: 0.92rem;
  }

  .contact-panel { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand p { max-width: none; }

  .services-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }

  .services-head-copy {
    padding-top: 0;
  }

  .services-head-copy > p {
    max-width: 48ch;
  }

  .focus-intro-inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.4rem;
  }

  .focus-intro h2 {
    max-width: 15ch;
  }

  .requesters-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }

  .requesters-head-copy > p {
    max-width: 48ch;
  }

  /* Mobile: the panel answers the list, so it sits directly under it */
  .requesters-body {
    grid-template-columns: 1fr;
  }

  .requesters-list-col { order: 1; }
  .requesters-panel { order: 2; }
  .requesters-media { order: 3; }

  .requesters-cta {
    margin-top: 1.75rem;
    justify-self: start;
  }

  .groups { grid-template-columns: 1fr; gap: 2rem; }
  .group-card { flex: 0 0 100%; }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { min-height: 0; }
  .standard-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }

  .standard-head-copy > p {
    max-width: 48ch;
  }

  .faq-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
  }

  .faq-head-copy > p {
    max-width: 48ch;
  }

  /* Two columns of questions collapse into one list */
  .faq-columns {
    grid-template-columns: 1fr;
  }

  .legal-hero-inner,
  .legal-content {
    grid-template-columns: 1fr;
  }

  .legal-hero h1 { max-width: 12ch; }
  .legal-toc { position: static; }
  .legal-toc ol {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.25rem;
  }

  .privacy-footer-inner { flex-direction: column; }
}

@media (max-width: 680px) {
  .service-card { flex-basis: 100%; }
  .focus-card { flex-basis: 100%; }
  /* One card fills the width here, so the fixed height leaves dead space */
  .step-card {
    flex-basis: 100%;
    min-height: 0;
  }

  .step-card-head {
    margin-bottom: 2rem;
  }

  .standard-mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .standard-tile-feature,
  .standard-tile-photo {
    height: clamp(220px, 58vw, 300px);
  }

  .standard-tile-note {
    min-height: clamp(220px, 58vw, 300px);
  }

  .services-footer {
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .services-title-line { white-space: normal; }
  .requesters-title-line { white-space: normal; }
  .steps-title-line { white-space: normal; }
  .standard-title-line { white-space: normal; }
  .faq-title-line { white-space: normal; }
  .contact-title-line { white-space: normal; }
  .about-title-line { white-space: normal; }
}

@media (max-width: 760px) {
  .hero {
    padding-top: clamp(2rem, 9vw, 3.25rem);
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.25rem);
  }

  .hero-title-line,
  .hero-sub-line {
    white-space: normal;
  }

  .hero-sub-line {
    display: inline;
  }

  .hero-sub {
    margin-bottom: 1.25rem;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-media {
    margin-top: 2rem;
  }
}

@media (max-width: 560px) {
  .hero-service-highlights {
    right: 0.65rem;
    bottom: 0.65rem;
    width: calc(100% - 1.3rem);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
  }
  .hero-service-pill {
    min-height: 34px;
    padding: 0.38rem 0.55rem;
    font-size: 0.68rem;
  }
  .hero-ctas .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; }
  .group-card { min-height: 320px; }
  .gc-body { left: 1rem; right: 1rem; bottom: 1rem; }

  .legal-header-actions .btn { padding-inline: 1rem; }
  .legal-home-link { display: none; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .legal-section p,
  .legal-section li { font-size: 0.96rem; }
}

@media (max-width: 420px) {
  .standard-tile-note p { max-width: none; }
}
