/**
 * Contact, About and FAQ page templates.
 * Loaded after inner.css, only on template-contact.php, template-about.php
 * and template-faq.php. Sections: shared hero, Contact, About (designer's
 * about.css), FAQ (designer's faq.css), then WordPress-specific fixes.
 */

:root {
  --lime: var(--leaf);
}

/* ---------- Shared dark page hero (from the designer's site.css) ---------- */
.page-hero {
  position: relative;
  padding: 176px 0 90px;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
  height: 710px;
}
.page-hero:after {
  position: absolute;
  right: 4vw;
  bottom: -2rem;
  color: rgba(163, 212, 95, 0.08);
  font: 900 clamp(11rem, 30vw, 27rem) / 0.8 var(--display);
  content: attr(data-mark);
  pointer-events: none;
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
  margin: 24px 0 0;
  font-weight: 300 !important;
}
.page-hero h1 em {
  color: var(--leaf);
  font-style: normal;
}
.page-hero .eyebrow {
  color: #d4ddca;
  margin: 0;
}
.page-hero p {
  /* max-width: 760px;
  margin-top: 24px;
  color: #c3cdc2; */
  max-width: 720px;
    margin-top: 18px;
    color: #bdc7bc;
    font-size: 1.02rem;
}

/* ---------- Contact ---------- */
.contact-body {
  padding: 80px 0 100px;
}
.contact-page .contact-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
  align-items: stretch;
  justify-content: normal;
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 330px;
  padding: 38px;
}
.contact-card + .contact-card {
  border-left: 1px solid var(--line);
}
.contact-card h2 {
  margin-top: 18px;
  font-size:clamp(1.28rem,2.2vw,1.83rem);
  line-height: 1.2;
}
.contact-card p {
  margin: 15px 0 28px;
  color: var(--muted);
  font-size: 1.0625rem;
}
.contact-card .button {
  margin-top: auto;
}
@media (max-width: 900px) {
  .contact-body {
    padding: 55px 0 70px;
  }
  .contact-page .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-card {
    min-height: 0;
    padding: 30px 24px;
  }
  .contact-card + .contact-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* ---------- About ---------- */
.about-page { --about-copy: #3e4b42; }
.about-page h2, .about-page h3 { font-weight: 400 !important; }

/* ---------- FAQ (designer's faq.css) ---------- */
.faq-page h2 {
  font-weight: 400 !important;
}

.faq-hero {
  padding: 68px 0 78px;
}

.faq-hero .eyebrow {
  margin-top: 0;
}

.faq-hero h1 {
  font-size:clamp(1.98rem,5.04vw,4.15rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: white;
}

.faq-hero h1 em {
  color: var(--lime);
}

.faq-list {
  border-top: 1px solid #adbba3;
}

.faq-start {
  background: #e9efdf;
  padding: 55px 0;
  scroll-margin-top: 30px;
}

.faq-start > .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.faq-start h2 {
  font-size:clamp(1.28rem,2.2vw,1.83rem);
  line-height: 1.2;
  margin: 10px 0 17px;
  /* color: var(--green); */
      color: #152019;
}

.faq-start p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.faq-start-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  flex-shrink: 0;
}

.faq-secondary {
  font-size: 0.9375rem;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 780px) {

  .faq-hero {
    padding: 50px 0 58px;
  }
  .faq-start {
    padding: 40px 0;
  }
  .faq-start > .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }
  .faq-start-actions {
    gap: 18px;
  }
}

.faq-answer-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--green);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.faq-service-links {
  padding-top: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px 22px;
}

.faq-service-links h2 {
  width: 100%;
  font-size: 1.4rem;
  line-height: 1.3;
  margin-bottom: 8px;
    color: #152019;
}

.faq-service-links a {
  font-size: 0.9375rem;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.service-faqs {
  padding-top: 60px;
  padding-bottom: 60px;
  scroll-margin-top: 35px;
}

.service-faq-heading {
  margin-bottom: 30px;
}

.service-faq-heading > h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400 !important;
  line-height: 1.2;
  margin: 0;
}

.service-faqs .faq-list {
  max-width: 940px;
}
@media (max-width: 780px) {

  .service-faqs {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .service-faq-heading {
    margin-bottom: 25px;
  }
}


/* ---------- WordPress build additions ---------- */

/* The heroes sit under the transparent header, so keep the top offset. */

.faq-hero { padding: 170px 0 78px; }
@media (max-width: 780px) {

  .faq-hero { padding: 140px 0 58px; }
}


/* About: clients and partners */
.client-cloud { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 0; padding: 0; list-style: none; }
.pill { border: 1px solid var(--line); padding: 12px 16px; background: var(--paper); font-weight: 500; }

/* Plain accordion (<details><summary>), as in the supplied FAQ page */
.faq-main { padding: 70px 0 85px; }
.faq-page .faq-list { border-top: 1px solid var(--line); }
.faq-page .faq-list details { border-bottom: 1px solid var(--line); }
.faq-page .faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
  font: 700 1rem var(--display);
  color: var(--green);
}
.faq-page .faq-list summary::-webkit-details-marker { display: none; }
.faq-page .faq-list summary::marker { content: ""; }
.faq-page .faq-list summary:after { content: "+"; font-size: 1.4rem; font-weight: 400; flex: none; }
.faq-page .faq-list details[open] summary:after { content: "\2212"; }
.faq-page .faq-list summary:hover { color: #4e702c; }
.faq-page .faq-list summary:focus-visible { outline: 2px solid #4e702c; outline-offset: 6px; }
.faq-page .faq-list details p { max-width: 820px; padding-bottom: 25px; color: var(--muted); margin: 0; }
.faq-page .faq-list details p + p { margin-top: -10px; }
.faq-page .faq-list details .faq-answer-link { margin: -8px 0 25px; }
@media (max-width: 780px) { .faq-main { padding: 45px 0 55px; } }

/* ---------- About: layout of the supplied page (from the designer's site.css) ---------- */
.about-page .lead { max-width: 760px; /*font-size: clamp(1.2rem, 2.2vw, 1.65rem);*/ }
.about-page .muted { color: var(--muted); }
.about-page .cta { position: relative; text-align: center; padding: 104px 0; background: var(--forest); color: #fff; }
.about-page .cta:before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(180deg, rgba(10,15,12,.9) 0%, rgba(10,15,12,.78) 50%, rgba(10,15,12,.92) 100%), url("../images/cta-lens.webp"); background-size: cover; background-position: center; }
.about-page .cta:after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(90% 120% at 50% 120%, rgba(163,212,95,.16), transparent 60%); }
.about-page .cta .wrap { position: relative; z-index: 2; }
/* .about-page .cta h2 { max-width: 100%; margin: 0 auto; font-size: clamp(1.79rem, 4.25vw, 3.06rem); color: #fff; line-height: 1.03; font-weight: 400 !important; } */
.about-page .cta .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; justify-content: center; }
.about-page .cta .button { font-size: 1rem; padding: 16px 30px; }
.about-page .cta .button:hover { background: #fff; color: var(--ink); }

/* ---------- About: new design (from about2/about.css) ---------- */
.about-section {
  padding-top: 92px;
  padding-bottom: 92px;
  scroll-margin-top: 40px;
}
.about-story {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
}
.about-story h2 {
  /* font-size: clamp(2rem, 3.8vw, 3.3rem); */
  line-height: 1.15;
}
.about-prose {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--about-copy);
}
.about-prose p + p {
  margin-top: 23px;
}
.about-postscript {
  margin-top: 38px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 17px;
}
.about-postscript > span {
  font-size: 1.125rem;
  color: #4e702d;
}
.about-postscript p {
  font-size: 0.875rem;
  line-height: 1.7;
}
.about-postscript > span {
  font-size: 0.875rem;
}
.about-beliefs {
  background: #fff;
  padding: 86px 0;
  scroll-margin-top: 40px;
}
.about-section-head {
  max-width: 790px;
  margin-bottom: 62px;
}
.about-section-head h2 {
  font-size:clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 28px;
}
.about-section-head > p {
  max-width: 680px;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--about-copy);
}
.belief-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.belief-list > li {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 90px;
  padding: 46px 0;
  border-top: 1px solid var(--line);
}
.belief-list > li:last-child {
  padding-bottom: 0;
}
.belief-number {
  color: #4e702d;
  font-size: 1rem;
  display: block;
  margin-bottom: 18px;
}
.belief-heading h3 {
  /* font-size: clamp(1.6rem, 2.7vw, 2.3rem); */
  line-height: 1.25;
}
.about-framework {
  padding: 82px 0;
  background: var(--green);
  color: #fff;
  scroll-margin-top: 40px;
}
.about-framework .eyebrow {
  color: #dce6d4;
}
.about-framework h2 {
  /* font-size: clamp(2rem, 3.8vw, 3.2rem); */
}
.about-founder {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 85px;
  align-items: center;
}
.founder-photo {
  aspect-ratio: 4/4.5;
  background: #edf0e7;
  border: 1px dashed #9fab94;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #53634a;
}
.founder-photo span {
  font-size: 1.125rem;
}
.founder-photo small {
  font-size: 0.875rem;
}
.founder-copy h2 {
  /* font-size: clamp(2rem, 3.8vw, 3.2rem); */
  margin-bottom: 30px;
}
@media (max-width: 1000px) {
  .about-story,
  .belief-list > li {
    gap: 48px;
    grid-template-columns: 1fr 1.2fr;
  }
  .about-founder {
    grid-template-columns: 280px 1fr;
    gap: 45px;
  }
}
@media (max-width: 780px) {
  .about-section {
    padding-top: 55px;
    padding-bottom: 55px;
  }
  .about-story,
  .belief-list > li,
  .about-founder {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about-beliefs {
    padding: 55px 0;
  }
  .about-section-head {
    margin-bottom: 36px;
  }
  .belief-list > li {
    padding: 34px 0;
  }
  .belief-heading h3 br {
    display: none;
  }
  .belief-number {
    margin-bottom: 12px;
  }
  .about-framework {
    padding: 55px 0;
  }
  .about-prose {
    font-size: 1.0625rem;
  }
  .about-founder {
    gap: 35px;
  }
  .founder-photo {
    width: min(360px, 100%);
  }
  .about-story h2 br {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .about-page {
    scroll-behavior: auto;
  }
}
.about-prose .story-opening {
  font-weight: 300;
}
.about-prose .story-opening strong {
  font-weight: 700;
}
.about-testimonials {
  padding: 80px 0 90px;
  background: #f0f3e9;
  scroll-margin-top: 40px;
}
.testimonial-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid var(--line);
  padding-top: 35px;
}
.testimonial-heading h2 {
  /* font-size: clamp(2rem, 3.8vw, 3.2rem); */
  line-height: 1.15;
}
.testimonial-mark {
  color: #67844a;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 1;
}
.testimonial-slider {
  max-width: 960px;
  margin: 30px 0 0 auto;
}
.about-testimonial {
  margin: 0;
}
.about-testimonial[hidden] {
  display: none;
}
.about-testimonial blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}
.about-testimonial blockquote p {
  font-size: clamp(1.0625rem, 1.7vw, 1.35rem);
  line-height: 1.8;
  font-weight: 300;
  color: var(--green);
  white-space: pre-line;
}
.about-testimonial figcaption {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.testimonial-author {
  font-size: 1rem;
  font-weight: 500;
  color: var(--green);
}
.testimonial-company {
  font-size: 0.9375rem;
  color: var(--muted);
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.testimonial-controls p {
  font-size: 0.9375rem;
  color: var(--muted);
}
.testimonial-controls > div {
  display: flex;
  gap: 12px;
}
.testimonial-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  font-size: 1.4rem;
  cursor: pointer;
}
.testimonial-controls button:hover {
  background: var(--green);
  color: white;
}
.testimonial-controls button:focus-visible {
  outline: 3px solid #67844a;
  outline-offset: 4px;
}
@media (max-width: 780px) {
  .about-testimonials {
    padding: 55px 0;
  }
  .testimonial-heading {
    padding-top: 25px;
  }
  .testimonial-mark {
    font-size: 5rem;
  }
  .testimonial-slider {
    margin-top: 24px;
  }
  .about-testimonial blockquote p {
    font-size: 1.0625rem;
  }
}
.founder-bio {
  border-top: 1px solid var(--line);
  padding-top: 25px;
  color: var(--about-copy);
}
.founder-bio p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.founder-bio .founder-role {
  font-weight: 500;
  color: var(--green);
  margin-bottom: 23px;
}
.founder-link {
  display: inline-block;
  color: var(--green);
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 5px;
  margin-top: 8px;
}
.founder-link:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}
.about-framework {
  padding: 92px 0;
  background: #1f3d2b;
}
.framework-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.25fr;
  gap: 80px;
  align-items: start;
}
.framework-intro {
  padding-top: 12px;
}
.framework-intro h2 {
  /* font-size: clamp(2.2rem, 4vw, 3.6rem); */
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: white;
  margin: 0 0 30px;
}
.framework-intro h2 em {
  color: var(--lime);
  font-style: normal;
}
.framework-system {
  margin-top: 62px;
  padding-top: 25px;
  border-top: 1px solid #58734f;
  max-width: 300px;
}
.framework-system-label {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  color: #b6c9a8;
}
.framework-system p {
  font-size: 1.5rem;
  line-height: 1.35;
  color: var(--lime);
  margin-top: 12px;
}
.framework-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}
.framework-step {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid #58734f;
}
.framework-index {
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 300;
  color: #91ae7b;
  letter-spacing: -0.05em;
  padding-top: 6px;
  font-variant-numeric: tabular-nums;
}
.framework-step-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.framework-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: #a3d45f;
  color: #1f3d2b;
  border-radius: 50%;
}
.framework-icon svg {
  width: 24px;
  height: 24px;
}
.framework-step h3 {
  font-size: 1.4rem;
  line-height: 1.3;
  color: white;
  margin: 0;
}
.framework-step-body > p {
  color: #d5dfd1;
  font-size: 1rem;
  line-height: 1.7;
  margin: 15px 0 12px;
  max-width: 440px;
}
.framework-output {
  display: inline-block;
  color: #c7eaa1;
  font-size: 0.875rem;
  line-height: 1.5;
}
.framework-output > span {
  margin-right: 6px;
}
.framework-return {
  border-top: 1px solid #58734f;
  padding: 23px 0 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px 16px;
  align-items: center;
  color: var(--lime);
}
.framework-return svg {
  width: 44px;
  height: 30px;
}
.framework-return p {
  font-size: 1rem;
  line-height: 1.6;
  color: #e4ecdd;
}
.framework-repeat {
  grid-column: 2;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: #b6c9a8;
}
@media (max-width: 1000px) {
  .framework-layout {
    gap: 40px;
    grid-template-columns: 0.8fr 1.2fr;
  }
  .framework-step {
    grid-template-columns: 55px 1fr;
    gap: 16px;
  }
  .framework-index {
    font-size: 2.6rem;
  }
  .framework-step h3 {
    font-size: 1.25rem;
  }
}
@media (max-width: 780px) {
  .about-framework {
    padding: 55px 0;
  }
  .framework-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .framework-intro {
    padding: 0;
  }
  .framework-intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  .framework-system {
    margin-top: 25px;
    max-width: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
  }
  .framework-system p {
    font-size: 1.125rem;
    margin: 0;
  }
  .framework-system-label {
    font-size: 0.6875rem;
    max-width: 130px;
  }
  .framework-step {
    padding: 25px 0;
  }
  .framework-step-body > p {
    max-width: none;
  }
  .framework-step-heading {
    gap: 12px;
  }
  .framework-icon {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }
  .framework-return {
    padding-top: 20px;
  }
}
@media (max-width: 400px) {
  .framework-step {
    grid-template-columns: 42px 1fr;
    gap: 12px;
  }
  .framework-index {
    font-size: 2.25rem;
  }
  .framework-step h3 {
    font-size: 1.125rem;
  }
  .framework-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }
  .framework-icon svg {
    width: 21px;
    height: 21px;
  }
}
.about-page .belief-number {
  color: var(--green);
  font-weight: 700;
}

/**new**/
.about-content h2 {
    max-width: 820px;
    font-size: clamp(1.28rem, 2.2vw, 1.83rem);
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.02em;
    margin: 16px 0 14px;
}
.about-content h3 {
    font-size: 1.3rem;
    margin: 14px 0 10px;
    font-family: var(--display);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.02em;
}
.about-page .dark p.lead {
    color: #5D6B60;
    font-size: 1.02rem;
    max-width: 72ch;
}
.lead{
  font-size: .96rem;
line-height: 1.55;
}
.pill {
    border: 1px solid var(--line);
    padding: 12px 16px;
    background: #fff;
    font-weight: 600;
}
.about-content .cta h2 {
    margin: 0 auto;
}










/**new**/





@media (max-width: 620px) {
  .about-page .cta { padding: 70px 0; }
  .page-hero{height: 100vh;}
}

.founder-photo.has-photo { border: 0; background: none; }
.founder-photo.has-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
