/* Additions only. The original FairPlay visual system remains in each page. */

.activity-planner-block {
  padding: clamp(32px, 5vw, 58px) 0;
  border-top: 1px solid var(--lineS);
}

.activity-planner-tile {
  position: relative;
  display: flex;
  width: min(100%, 380px);
  aspect-ratio: 1;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(7, 33, 31, .16);
  border-radius: 2px;
  background-image: var(--img2);
  background-position: 24% 58%;
  background-size: 165% auto;
  background-repeat: no-repeat;
  color: #fff;
  text-shadow: 0 1px 3px rgba(7, 33, 31, .86), 0 0 18px rgba(7, 33, 31, .5);
  box-shadow: 0 24px 52px -36px rgba(7, 33, 31, .65);
  transition: transform .24s ease, box-shadow .24s ease;
}

.activity-planner-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 58px -34px rgba(7, 33, 31, .72);
}

.activity-planner-copy {
  padding: clamp(24px, 5vw, 38px);
}

.activity-planner-eyebrow {
  display: block;
  margin-bottom: 9px;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.activity-planner-title {
  display: block;
  max-width: 13ch;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.02;
}

.activity-planner-arrow {
  display: block;
  margin-top: 18px;
  font-size: 22px;
}

.research-hero {
  padding: 4px 0 clamp(38px, 6vw, 68px);
}

.research-kicker {
  display: block;
  margin-bottom: 13px;
  color: var(--teal);
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.research-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: .98;
}

.research-intro {
  max-width: 67ch;
  margin-top: 20px;
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 300;
  line-height: 1.65;
  opacity: .82;
}

.scope-statement,
.resource-section,
.insight-section {
  padding: clamp(36px, 6vw, 64px) 0;
  border-top: 1px solid var(--lineS);
}

.scope-statement h2,
.resource-section h2,
.insight-section h2 {
  max-width: 17ch;
  margin-bottom: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.04;
}

.scope-grid,
.insight-stats,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.scope-item,
.insight-stat,
.news-item {
  min-width: 0;
  padding: 24px 22px 24px 0;
  border-bottom: 1px solid var(--line);
}

.scope-item + .scope-item,
.insight-stat + .insight-stat,
.news-item + .news-item {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.scope-item h3,
.news-item h3 {
  margin-bottom: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.08;
}

.scope-item p,
.news-item p {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.58;
  opacity: .8;
}

.insight-stat strong {
  display: block;
  margin-bottom: 9px;
  color: var(--teal-d);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  line-height: .9;
}

.insight-stat span {
  display: block;
  max-width: 24ch;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.insight-stat a,
.news-item a {
  display: inline-block;
  margin-top: 13px;
  color: var(--teal-d);
  font-size: 10.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.did-you-know {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.did-you-know article {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.did-you-know h3 {
  color: var(--teal-d);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.did-you-know p {
  max-width: 68ch;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  line-height: 1.22;
}

.did-you-know a {
  border-bottom: 1px solid rgba(31, 143, 119, .35);
  color: var(--teal-d);
}

.resource-list {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.resource-row {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.resource-type {
  color: var(--teal-d);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.resource-row h3 {
  margin-bottom: 5px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.1;
}

.resource-summary {
  max-width: 68ch;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.58;
  opacity: .8;
}

.resource-row > a {
  color: var(--teal-d);
  font-size: 10.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.research-note {
  max-width: 72ch;
  margin-top: 28px;
  font-size: 12px;
  font-style: italic;
  line-height: 1.65;
  opacity: .68;
}

.hero-statement {
  max-width: 19ch;
  margin-top: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4.2vw, 50px);
  font-weight: 600;
  line-height: 1.03;
}

.hero-copy {
  max-width: 70ch;
  margin-top: 24px;
}

.hero-copy p {
  margin-top: 12px;
  font-size: clamp(14.5px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.65;
  opacity: .84;
}

.subhead {
  margin: 34px 0 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.08;
}

.fee-policy {
  margin-top: 28px;
}

.fee-policy strong {
  color: var(--teal-d);
  font-weight: 500;
}

.resource-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(31, 143, 119, .32);
  border-radius: 2px;
  background: rgba(31, 143, 119, .07);
  color: var(--teal-d);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.svc[id] {
  scroll-margin-top: calc(var(--hdr) + 20px);
}

@media (min-width: 821px) and (max-width: 1180px) {
  .hdr {
    gap: 8px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand-lockup {
    gap: 6px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand-word,
  .logo {
    font-size: 18px;
  }

  .ddb {
    padding-right: 6px;
    padding-left: 6px;
    font-size: 9.5px;
    letter-spacing: .08em;
  }

  .hcta {
    margin-left: 4px;
    padding: 8px 10px;
    font-size: 10px;
    letter-spacing: .08em;
  }
}

@media (max-width: 860px) {
  .scope-grid,
  .insight-stats,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .scope-item + .scope-item,
  .insight-stat + .insight-stat,
  .news-item + .news-item {
    padding-left: 0;
    border-left: 0;
  }

  .resource-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .did-you-know article {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Approved maintenance only: compact navigation and literal meadow-image buttons. */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: max-content;
  line-height: 1;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.brand-word {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .045em;
  text-transform: uppercase;
  background-color: #15705c;
  background-image:
    linear-gradient(rgba(7, 33, 31, .06), rgba(7, 33, 31, .12)),
    url("meadow-light.jpg");
  background-position: center 36%;
  background-size: 180% auto;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .35px rgba(7, 33, 31, .76);
}

.hdr {
  gap: 18px;
}

.hnav {
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
  gap: 2px;
}

.ddw {
  min-width: 0;
  position: relative;
}

.ddb {
  min-height: var(--hdr);
  padding: 0 clamp(7px, .8vw, 12px);
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.ddm {
  position: absolute;
  top: 100%;
  right: auto;
  left: 0;
  display: flex;
  min-width: 230px;
  padding: 7px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 22px 54px -26px rgba(7, 33, 31, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: .2s;
}

.ddw:hover .ddm,
.ddw:focus-within .ddm {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ddm a {
  padding: 9px 13px;
  border-radius: 6px;
  font-size: 12.5px;
  letter-spacing: .02em;
  text-transform: none;
}

.ddm a:hover,
.ddm a:focus-visible {
  background: var(--paper2);
  color: var(--teal-d);
}

.ddw:last-of-type .ddm {
  right: 0;
  left: auto;
}

.hcta,
.btn,
.backlink,
.submit,
.addchild {
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 2px;
  background-color: #15705c;
  background-image:
    linear-gradient(rgba(7, 33, 31, .24), rgba(7, 33, 31, .34)),
    url("meadow-light.jpg") !important;
  background-position: center 18%;
  background-size: 100% auto;
  background-repeat: no-repeat;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(7, 33, 31, 1), 0 0 14px rgba(7, 33, 31, .86);
  box-shadow: 0 12px 26px -20px rgba(7, 33, 31, .68);
}

.hcta {
  margin-left: 10px;
  background-position: center 12%;
}

.hero-cta .btn:nth-child(2),
.hp-btns .btn:nth-child(2),
.path:nth-child(2) .btn {
  background-position: center 46%;
}

.path:nth-child(1) .btn,
.addchild {
  background-position: center 70%;
}

.submit,
.backlink {
  background-position: center 84%;
}

.hcta:hover,
.btn:hover,
.backlink:hover,
.submit:hover,
.addchild:hover {
  border-color: rgba(255, 255, 255, .94);
  color: #fff;
  filter: brightness(1.1) saturate(1.12);
}

/* The homepage wordmark remains live text, but uses the supplied meadow-filled lettering treatment. */
.home-hero .hero-brand {
  width: fit-content;
  max-width: 100%;
  background-color: #15705c;
  background-image:
    linear-gradient(rgba(7, 33, 31, .03), rgba(7, 33, 31, .1)),
    url("meadow-light.jpg");
  background-position: center 36%;
  background-size: 104% auto;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: .65px rgba(7, 33, 31, .82);
  font-weight: 700;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.hero-brand-mark {
  display: block;
  width: clamp(164px, 20vw, 224px);
  height: auto;
  margin: 26px auto 8px;
}

.home-hero .hero-brand {
  font-size: clamp(50px, 8vw, 92px);
  line-height: .86;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.hero-logo-copy {
  width: min(100%, 630px);
  margin: 22px auto 0;
  text-align: center;
}

.hero-logo-service {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--teal-d);
  font-family: 'Jost', sans-serif;
  font-size: clamp(15px, 1.55vw, 19px);
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
  justify-content: center;
}

.hero-logo-service::before,
.hero-logo-service::after {
  content: "";
  width: clamp(30px, 5vw, 70px);
  height: 1px;
  background: rgba(31, 143, 119, .52);
}

.hero-logo-tagline {
  max-width: 30ch;
  margin: 14px auto 0;
  color: var(--teal-d);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(23px, 3vw, 35px);
  font-style: italic;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.06;
}

.home-hero .hero-copy {
  max-width: 66ch;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.home-hero .hero-cta {
  justify-content: center;
}

@media (max-width: 820px) {
  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .brand-word {
    font-size: 19px;
  }

  .hero-brand-mark {
    width: 152px;
    margin-top: 22px;
  }

  .home-hero .hero-brand {
    font-size: clamp(46px, 17vw, 70px);
  }

  .hero-logo-copy {
    margin-top: 18px;
  }
}

/* Numbered service principles use the meadow painting itself as the panel surface. */
.principles .pr,
.svc-grid .svc,
.mth-grid .card,
.scope-grid .card,
.scope-grid .scope-item,
.stats .stat,
.insight-stats .insight-stat {
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 2px;
  background-color: #15705c;
  background-image:
    linear-gradient(rgba(7, 33, 31, .18), rgba(7, 33, 31, .3)),
    url("meadow-light.jpg");
  background-position: center 16%;
  background-size: 100% auto;
  background-repeat: no-repeat;
  color: #fff;
  padding: clamp(22px, 2.6vw, 32px);
  text-shadow: 0 1px 3px rgba(7, 33, 31, .9), 0 0 16px rgba(7, 33, 31, .6);
  box-shadow: 0 18px 34px -28px rgba(7, 33, 31, .82);
}

.principles .pr:nth-child(2),
.svc-grid .svc:nth-child(2),
.mth-grid .card:nth-child(2),
.scope-grid > :nth-child(2),
.stats .stat:nth-child(2),
.insight-stats .insight-stat:nth-child(2) {
  background-position: center 48%;
}

.principles .pr:nth-child(3),
.svc-grid .svc:nth-child(3),
.mth-grid .card:nth-child(3),
.scope-grid > :nth-child(3),
.stats .stat:nth-child(3),
.insight-stats .insight-stat:nth-child(3) {
  background-position: center 78%;
}

.principles .pr-n,
.svc-grid .svc-n,
.svc-grid .svc-tag2,
.principles .pr h3,
.principles .pr p,
.svc-grid .svc h3,
.svc-grid .svc p,
.mth-grid .card h3,
.mth-grid .card p,
.scope-grid .card h3,
.scope-grid .card p,
.scope-grid .scope-item h3,
.scope-grid .scope-item p,
.stats .stat-n,
.stats .stat-l,
.insight-stats .insight-stat strong,
.insight-stats .insight-stat span,
.insight-stats .insight-stat a {
  color: #fff;
}

.principles .pr p,
.svc-grid .svc p,
.mth-grid .card p,
.scope-grid .card p,
.scope-grid .scope-item p {
  opacity: .94;
}

.scope-grid .scope-item + .scope-item,
.insight-stats .insight-stat + .insight-stat {
  padding-left: clamp(22px, 2.6vw, 32px);
  border-left-color: rgba(255, 255, 255, .32);
}

.svc-grid .svc-tag2 {
  border: 1px solid rgba(255, 255, 255, .62);
  background: rgba(7, 33, 31, .16);
}

.home-core .quote {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(25px, 3.5vw, 44px);
}

/* Keep rotating research copy fully visible inside the original line-based layout. */
.reel-stage {
  display: grid;
  min-height: 0;
  overflow: visible;
}

.reel-item {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  visibility: hidden;
}

.reel-item.active {
  visibility: visible;
}

@media (max-width: 1160px) {
  .hdr {
    display: block;
    height: auto;
    min-height: var(--hdr);
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .logo {
    display: block;
    margin-bottom: 8px;
  }

  .hdr .brand-lockup {
    display: inline-flex;
  }

  .hnav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px 10px;
    width: 100%;
  }

  .ddw {
    display: block;
  }

  .ddb {
    width: 100%;
    min-height: 32px;
    padding: 7px 0;
    justify-content: flex-start;
    white-space: normal;
    line-height: 1.3;
  }

  .hcta {
    width: max-content;
    margin: 5px 0 0;
    justify-self: start;
  }

  .ddm,
  .ddw:last-of-type .ddm {
    right: auto;
    left: 0;
    min-width: min(260px, calc(100vw - 36px));
  }
}

@media (max-width: 760px) {
  .home-core .quote {
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .hnav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }

  .ddm {
    width: min(260px, calc(100vw - 36px));
    min-width: 0;
    max-width: calc(100vw - 36px);
  }

  .hnav .ddw:nth-of-type(2) .ddm,
  .hnav .ddw:nth-of-type(3) .ddm {
    right: 0;
    left: auto;
  }

  .foot-r {
    width: 100%;
    flex-wrap: wrap;
  }

  .foot-nav {
    max-width: 100%;
    flex-wrap: wrap;
    gap: 10px 14px;
  }
}

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

  .hnav .ddw:nth-of-type(2) .ddm,
  .hnav .ddw:nth-of-type(3) .ddm {
    right: auto;
    left: 0;
  }
}
/* Complete questionnaire: retain the existing form design with room for full wording. */
#intakeForm [hidden] { display: none !important; }
#intakeForm .grid > *, #intakeForm .fld { min-width: 0; }
#intakeForm .field-label { font-size: 12px; font-weight: 500; letter-spacing: 0; }
#intakeForm .radio-row, #intakeForm .svc-checks { flex-wrap: wrap; gap: 12px 22px; }
#intakeForm .radio-row input, #intakeForm .svc-checks input { flex: 0 0 auto; }
#intakeForm .form-help { margin-bottom: 18px; }
#intakeForm .form-list { margin: 14px 0 18px; padding-left: 22px; }
#intakeForm .chk.invalid { color: var(--err); }
#intakeForm .invalid [aria-invalid="true"] { outline: 1px solid var(--err); }
#intakeForm .err-msg { letter-spacing: 0; }
#intakeForm input, #intakeForm textarea, #intakeForm select { scroll-margin-top: 240px; }
#questionnaire { scroll-margin-top: 240px; }
@media (max-width: 680px) {
  #intakeForm .grid { grid-template-columns: 1fr; }
  #intakeForm legend { font-size: 24px; line-height: 1.2; max-width: 100%; }
  #intakeForm .child { padding: 16px; }
  #intakeForm input:not([type=checkbox]):not([type=radio]):not([type=file]),
  #intakeForm textarea, #intakeForm select { font-size: 16px; }
}
