 :root {
  --bg: #FFFFFF;
  --bg-accent: #eff1ee;
  --text: #2F2F2F;
  --text-accent: #525252;
  --primary: #73885f;
  --accent: #889c0b;
  --nav-hover: #D4AF37;
  --br: 20px;
  --br-alt: 5px;
}

*{
  padding: 0;
  margin: 0;
}



@media screen and (max-width: 499px) {
  html {
    font-size: 75%;
  }
}
@media screen and (max-width: 999px) {
  html {
    font-size: 75%;
  }
}
@media screen and (min-width: 1000px) {
  html {
    font-size: 52.6%;
  }
}
@media screen and (min-width: 1280px) {
  html {
    font-size: 66.7%;
  }
}
@media screen and (min-width: 1440px) {
  html {
    font-size: 75%;
  }
}
@media screen and (min-width: 1600px) {
  html {
    font-size: 83.3%;
  }
}
@media screen and (min-width: 1920px) {
  html {
    font-size: 100%;
  }
}


@font-face {
  font-family: 'poppins-black';
  src: url('/static/fonts/Poppins-Black.ttf') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'poppins-regular';
  src: url('/static/fonts/Poppins-Regular.ttf') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'poppins-semibold';
  src: url('/static/fonts/Poppins-SemiBold.ttf') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: "poppins-semibold","Inter", sans-serif;
  margin: 0;
  padding: 0;
}


button,
input,
select,
textarea {
  font: inherit;
}

h1 {
    color: var(--text);
    text-align: right;
    font-size: 3.5rem;
}

h2 {
  color: var(--text);
  font-size: 1.75rem;
}

h3 {
  color: var(--text);
  font-size: 1.4rem;
}

p {
    font-size: 1rem;
    color: var(--text);
}


/* Nav bar styles */
#navbar {
  position: sticky;
  top: 1.25rem; 
  height: 4.375rem; 
  z-index: 1000;
  border-radius: 9999px;
  margin: 1.25rem 1.25rem 1.25rem 1.25rem; 
  transition: box-shadow .5s, background-color .5s, border-color .5s;
}

/* Content sits above the frosted layer */
#navbar .nav { position: relative; z-index: 1; }

/* Frosted layer only when scrolled */
#navbar.scrolled {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Use a pseudo-element so links aren’t blurred */
#navbar.scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(247, 246, 251, 0.55); /* tweak opacity for more/less glass */
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px); /* Safari */
  /* border: 1px solid rgba(124, 106, 166, 0.25); */
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  pointer-events: none;                   /* don’t block clicks */
  z-index: 0;
}

/* Fallback for browsers without backdrop-filter */
@supports not ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  #navbar.scrolled::before {
    background: rgba(247, 246, 251, 0.95); /* solid-ish fallback */
  }
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
}

/* --- Left --- */
.nav-left {
  width: 33%;
}
.nav-left .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.nav-left img {
  height: 2rem;              /* adjust logo size */ 
  width: auto;
}

.nav-left span {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.25rem;
}


.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 1.5rem; */
  height: 100%;
  width: 100%;
}


/* --- Center nav links --- */
.nav .nav-menu .nav-center {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

.nav .nav-menu .nav-center ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;       /* vertically center items */
  justify-content: center;   /* horizontally center */
  height: 100%;              /* match navbar height */
}

.nav .nav-menu .nav-center ul li a {
  position: relative;        /* make ::after position relative to link */
  display: block;
  color: var(--text);
  padding: 0.875rem 1rem;
  text-decoration: none;
  font-size: 1.125rem;
  /* border-radius: 10px; */
  line-height: 1;            /* keeps the text neatly centered */
}

/* Create the underline bar */
.nav .nav-menu .nav-center ul li a::after {
  content: "";
  position: absolute;
  bottom: 0.375rem;               /* adjust how close to text */
  left: 50%;
  width: 0;                  /* start hidden */
  height: 2px; 
  background-color: var(--accent);  /* your accent color */
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

/* Animate the bar on hover */
.nav .nav-menu .nav-center ul li a:hover::after {
  width: 40%;                /* how wide the line becomes */
}



/* --- Right section --- */
.nav-right {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}

.nav-right .cta {
  justify-content: flex-end;
  font-size: 0.875rem; 
  background-color: var(--primary);
  /* border: 2px solid var(--primary); */
  color: var(--bg);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: 0.4s ease-out;
}

.nav-right .cta:hover {
  background-color: var(--accent);
  /* border-color: var(--accent); */
  transition: 0.1s linear;
}


/* Hide hamburger on desktop */
.nav-toggle-btn {
  display: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
}

/* Simple three-line hamburger icon */
.nav-toggle-btn span {
  display: block;
  width: 1.5rem;
  height: 1px;
  margin: 1px 0;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}



.site-footer .container {
  display: flex;
  background: var(--text);
  padding: 4rem;
  align-items: center;
  gap: 24rem;
}

.site-footer .container .footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6.25rem;
}

.site-footer .container .footer-logo .brand {
  max-width: 15.625rem;
  min-width: 15.625rem;
}

.site-footer .container .footer-logo .footer-sub-logo {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.site-footer .container .footer-logo .footer-sub-logo .other-brand {
  max-width: 12.5rem;
  background-color: var(--bg);
  padding: 1.25rem;
  border-radius: var(--br);
}

.site-footer .container .footer-links {
  justify-content: center;
  display: flex;
  gap: 3.125rem;
}
.site-footer .container .footer-links .footer-links-title {
  color: var(--bg);
  font-weight: bold;
  font-size: 1.75rem;
  padding-bottom: 1.25rem;
}

.site-footer .container .footer-links .site-links, .site-footer .container .footer-links .featured-links {
  padding: 1.25rem;
}
.site-footer .container .footer-links .site-links ul, .site-footer .container .footer-links .featured-links ul {
  list-style: none;
  align-items: center;
  height: 100%;
}
.site-footer .container .footer-links .site-links ul li a, .site-footer .container .footer-links .featured-links ul li a {
  color: var(--bg);
  text-decoration: none;
  line-height: 2;
}
.site-footer .container .footer-links .site-links ul li a:hover, .site-footer .container .footer-links .featured-links ul li a:hover {
  text-decoration: underline;
}

/* .site-footer .footer-small {
  display: flex;
  justify-content: right;
  padding: 0.625rem 0 0.625rem;
  padding-right: 28rem;
}
.site-footer .footer-small ul {
  list-style: none;
  height: 100%;
  display: flex;
  gap: 0.625rem;
}
.site-footer .footer-small ul li a {
  color: var(--bg);
  text-decoration: none;
}
.site-footer .footer-small ul li a:hover {
  color: var(--text-accent);
  text-decoration: underline;
}
.site-footer .footer-small {
  background-color: var(--text);
} */




/* hero content styles */
.hero .hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 6.875rem);
  padding: 0 18rem 0 18rem;  
}

/* Sage background accent on right half */
.hero .hero-content::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 35rem;       
  height: 100%;
  background-color: var(--primary); 
  z-index: 0;
}

/* Image */
.hero-content .hero-image {
  justify-content: center;
  align-items: center;
  z-index: 1;
  width: 31.25rem;
  height: 31.25rem;
}

.hero-content .hero-image img {
  width: 100%;
  height: 100%;
  border-radius: var(--br);
  object-fit: cover;
  /* margin-right: 500px; */
}

/* Text area */
.hero-content .hero-text {
  /* flex: 1; */
  /* padding: 20rem; */
  z-index: 1;               /* sits above background */
}

.hero-content .hero-text h1 {
  color: var(--text);
  margin-top: 0.5rem;
  /* margin-bottom: 1rem; */
  text-align: left;
  max-width: 36rem;
  line-height: 4rem;
}

.hero-content .hero-text p {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  font-size: 1.2rem;
  color: var(--text-accent);
  max-width: 30rem;
  text-align: left;
}

/* --- Hero CTA  --- */
.hero-content .hero-cta {
  padding: 3.75rem, 0rem;
}

.hero-content .hero-cta .hero-button {
  background-color: var(--primary);
  /* border: 2px solid var(--primary); */
  color: var(--bg);
  text-decoration: none;
  padding: 1rem 3rem;
  border-radius: var(--br-alt);
  font-weight: 600;
  transition: 0.4s ease-out;
}

.hero-content .hero-cta .hero-button:hover {
  background-color: var(--accent);
  /* border-color: var(--accent); */
  transition: 0.1 linear;
}

.hero-eyebrow {
  font-size: 1.5rem;
  color: var(--text-accent);
  font-weight: bold;
}






.intro-block .intro-content {
  background-color: var(--bg-accent);
  margin: 0px;
  padding: 6.25rem;
  /* border-radius: var(--br); */
}

.intro-block .intro-content .intro-body {
  /* padding: 0px calc(50vw - 500px) 0px calc(50vw - 500px); */
  padding: 0 6.25rem 0 6.25rem;
  color: var(--text);
  text-align: center;
  /* font-style: italic; */
  line-height: 1.25;
  /* font-weight: bold; */
}

.intro-block .intro-content .intro-author {
  /* font-weight: 14px; */
  padding: 1.25rem;
  padding-bottom: 0rem;
  color: var(--text-accent);
  text-align: center;
  /* font-weight: bold; */
}


.intro-block .intro-content blockquote {
    border:none;
    /* margin-bottom:-30px; */
    quotes: "\201C""\201D""\2018""\2019";
}



blockquote {
  position: relative;
  quotes: """ """ "'" "'";
}

/* remove layout impact */
blockquote::before,
blockquote::after {
  position: absolute;
  font-size: 5rem;
  font-weight: bold;
  color: var(--accent);
  line-height: 1;
  font-family: Georgia, "Times New Roman", Times, serif;
}

/* left/open quote */
blockquote::before {
  content: open-quote;
  left: 5rem;
  top: -0.625rem;     /* adjust vertically */
}

/* right/close quote */
blockquote::after {
  content: close-quote;
  right: 10rem;
  bottom: -2.625rem;  /* adjust vertically */
}





.rte-content {
  display: flex;
  padding: 3.125rem 6.25rem 3.125rem 6.25rem;
  gap: 3.125rem;
}

.rte-content .rte-text {
  flex: 1;
  padding: 3.125rem;
  background-color: var(--bg-accent);
  border-radius: var(--br);
  max-height: 400px; 
  display: flex;
  flex-direction: column;
}


.rte-content .rte-text h2 {
  padding-bottom: 1.875rem;
}

.rte-content .rte-text p {
  color: var(--text);
}

.rte-content .rte-image {
  justify-content: center;
  align-items: center;
  z-index: 1;
  height: 31.25rem;
  width: 31.25rem;
}

.rte-content .rte-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--br);
}

.rte-content .rte-cta {
  margin-top: auto;
}

.rte-content .rte-cta a {
  /* border: 2px solid var(--primary); */
  background-color: var(--primary);
  color: var(--bg);
  text-decoration: none;
  padding: 1rem 3rem;
  border-radius: var(--br-alt);
  font-weight: 600;
  transition: 0.4s ease-out;
}

.rte-content .rte-cta a:hover {
  background-color: var(--accent);
  /* border-color: var(--accent); */
  transition: 0.1s linear;
}





.cta-block .cta-content .cta-button {
  padding-top: 2.5rem;
}

.cta-block .cta-content .cta-button a {
  /* border: 2px solid var(--primary); */
  background-color: var(--primary);
  color: var(--bg);
  text-decoration: none;
  padding: 1rem 3rem;
  border-radius: var(--br-alt);
  font-weight: 600;
  transition: 0.4s ease-out;
}

.cta-block .cta-content .cta-button a:hover {
  background-color: var(--accent);
  /* border-color: var(--accent); */
  transition: 0.1s linear;
}

.cta-block .cta-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 7.5rem;
}





/* Timeline Container */

.timeline-block {
  padding: 6.25rem;
}


.timeline-block .timeline-content .outer {
  margin-top: 2.5rem;
  /* border-top: 3px solid var(--text-accent); */
  display: flex;
  justify-content: center;
  align-items: center;
}

.timeline-block .timeline-content .card {

  margin: 1.25rem 0.625rem 0 0.625rem;
  padding: 1.25rem;
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--br);
  max-width: 25rem;
  min-width: 10rem;
  min-height: 9.375rem;
  /* transition: ease-out 0.4s; */
}

/* .timeline-block .timeline-content .card:hover {
  background-color: var(--accent);
  transition: linear 0.1s;
} */

.timeline-block .timeline-content .info {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.timeline-block .timeline-content .info p {
  color: var(--bg);
  padding: 0.3125rem;
}

.timeline-block .timeline-content .title {
  color: var(--bg);
  position: relative;
}
/* 
.timeline-block .timeline-content .title::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--bg);
  border-radius: 999px;
  top: -50px;
  border: 3px solid var(--primary);
} */





.faq-block {
  background: #F5F5FF;
  padding: 6.25rem;
}

.faq-block .faq-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-block .faq-content h2 {
  padding-bottom: 2.5rem;
}

.faq-block .faq-content .faq-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-block .faq-content .faq-list .faq-card {
  padding: 0px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid #FFFFFF;
  box-shadow: 14px 14px 60px rgba(59, 42, 130, 0.06);
  border-radius: var(--br);
  display: flex;
  flex-direction: column;
  width: 50rem;
  margin-bottom: 1.25rem;
  transition: ease-out 0.4s;
}

.faq-block .faq-content .faq-list .faq-card:hover {
  background-color: rgba(255, 255, 255, 1);
  transition: linear 0.1s;
}

.faq-block .faq-content .faq-list .faq-card:last-child {
  margin-bottom: 0rem;
}

.faq-block .faq-content .faq-list .faq-card .faq-question {
  border: none;
  background: none;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding: 1.25rem;
  display: flex;
  flex-direction: row;
  cursor: pointer;
  text-align: left;
}


.faq-block .faq-content .faq-list .faq-card .faq-question .faq-icon {
  font-family: 'Segoe UI';
  display: flex;
  justify-content: center;
  align-items: center;

  width: 1.875rem;
  height: 1.875rem;
  background-color: #F5F5FF;
  border-radius: 50%;
  font-size: 1.25rem;
}

.faq-block .faq-content .faq-list .faq-card .faq-answer {
  max-height: 0rem;
  overflow: hidden;
  transition: linear 0.2s;
}

.faq-block .faq-content .faq-list .faq-card .faq-answer p {
  line-height: 1.25rem;
  color: var(--text-accent);
  padding-top: 1.25rem;
  margin: 0px 1.25rem 1.25rem 1.25rem;
}




.form-block {
  padding: 6.25rem;
}

.form-content {
  box-sizing: border-box;
  padding-left: 10rem;
  padding-right: 10rem;
}

.responsive-form {
  max-width: 37.5rem;
  width: 100%;
  border-radius: 4px;
  border: 2px solid #04AA6D;;
  background-color:  #f2f2f2;
  padding: 1.25rem;
}

form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

label {
  min-width: 50%;
  margin-bottom: 0.625rem;
}

input[type=text], select {
  min-width: 45%;
  margin-bottom: 0.625rem;
  border: 1px solid #ccc;
  border-radius: var(--br-alt);
  padding: 0.625rem;
}

textarea {
  min-width: 45%;
  height: 10rem;
  margin-bottom: 6.25rem;
  border: 1px solid #ccc;
  border-radius: var(--br-alt);
  padding: 0.625rem;
}

input[type=submit] {
  width: 100%;
  background-color: var(--primary);
  color: white;
  padding: 1rem;
  margin: 0.5rem 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.4s ease-out;
}

input[type=submit]:hover {
  background-color: var(--accent);
  transition: 0.1 linear;
}

/* honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.hp-field label {
  visibility: hidden;
}



@media screen and (max-width: 999px) {

  /* Pill that grows with the menu */
  #navbar {
    position: sticky;
    top: 1.25rem;
    height: auto;
    min-height: 0;
    display: block;
    border-radius: 50px;
  }

  /* Top area: spacer + logo + hamburger (menu below) */
  .nav {
    position: relative;
    display: flex;
    flex-wrap: wrap;            /* allow nav-menu on next line */
    align-items: flex-start;    /* keep top row stuck to top when menu opens */
    padding: 0.9rem 1.25rem;
    width: 100%;
    box-sizing: border-box;
  }

  /* Fake left spacer so logo can be centred between spacer and burger */
  .nav::before {
    content: "";
    flex: 1 1 0;
  }

  /* LOGO (centre) */
  .nav-left {
    flex: 0 0 auto;
    text-align: center;
  }

  .nav-left .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;                 /* small clickable area */
    margin-top: 1rem;
  }

  /* HAMBURGER (right) */
  .nav-toggle {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .nav-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 44px;                /* nice big tap target */
    height: 44px;
    border-radius: 9999px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .nav-toggle-btn span {
    width: 20px;
    height: 2px;
    margin: 2px 0;
    background: var(--text);
  }

  /* DROPDOWN MENU lives inside pill and pushes content down */
  .nav-menu {
    order: 4;                   /* full row below top row */
    flex-basis: 100%;
    width: 100%;
    margin-left: 0;
    margin-top: 0.25rem;

    background: transparent;
    border-radius: 0;
    box-shadow: none;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.3s ease,
      opacity 0.2s ease;
  }

  .nav-menu.open {
    max-height: 100vh;          /* enough so nothing is clipped */
    opacity: 1;
  }

  /* Stack links */
  .nav-center {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-center ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0 0.75rem;
    margin: 0;
  }

  .nav-center ul li {
    width: 100%;
    text-align: center;
  }

  .nav-center ul li a {
    display: block;
    padding: 0.75rem 0;
  }

  .nav-right {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .nav-right .cta {
    justify-content: center;
    align-items: center;
    width: 10rem;
    text-align: center;
  }
}




@media screen and (max-width: 999px) {
  .hero .hero-content {
    flex-direction: column;
    padding: 0;
    width: 100%;
    min-height: auto;
    overflow: wrap;
    }
  
  .hero .hero-content::before {
    display: none;
  }
  .hero-content .hero-image {
    padding-top: 3rem;
    width: 86vw;
    height: 86vw;
    /* width: calc(100% - 5rem); */
    /* height: calc(100% - 5rem); */
    max-width: 45rem;
    min-width: 29rem;
    max-height: 45rem;
    min-height: 29rem;
  }

  .hero-content .hero-text {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .hero-content .hero-text h1 {
    max-width: 80rem;
  }
}



@media screen and (max-width: 999px) {
  .site-footer .container {
    flex-direction: column-reverse;
    gap: 5rem;
  }
  .site-footer .container .footer-links .site-links ul li a, .site-footer .container .footer-links .featured-links ul li a {
    line-height: 2.5;
  }
}

@media screen and (max-width: 496px) {
  .site-footer .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-footer .container .footer-logo {
    flex-direction: column-reverse;
  }
  .site-footer .container .footer-links {
    gap: 1rem;
  }
}


@media screen and (max-width: 999px) {
  .intro-block {
    padding-top: 3rem;
  }
  .intro-block .intro-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .intro-block .intro-content .intro-body {
    padding: 1rem;
  }

  blockquote::before,
  blockquote::after {
    font-size: 3rem;
  }
  blockquote::before {
    content: open-quote;
    left: 1rem;
    top: -0.625rem; 
  }
  blockquote::after {
    content: close-quote;
    right: 1rem;
    bottom: -2.625rem;
  }

}


@media screen and (max-width: 999px) {
  .rte-block-left .rte-content {
    flex-direction: column-reverse;
  }
  .rte-block-right .rte-content {
    flex-direction: column;
  }

  .rte-content {
    /* padding: 3rem; */
    min-width: 29rem;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1rem;
    justify-content: center;
    align-items: center;
  }

  .rte-content .rte-image {
    width: 86vw;
    height: 86vw;
    max-width: 45rem;
    min-width: 29rem;
    max-height: 45rem;
    min-height: 29rem;
  }

  .rte-content .rte-cta {
    margin-top: 3rem;
  }
}


@media screen and (max-width: 999px) {
  .timeline-block {
    padding: 1rem;
  }
  .timeline-block .timeline-content .outer {
    flex-direction: column;
  }
}

@media screen and (max-width: 999px) {
  /* .faq-block {
    padding-left: 2rem;
    padding-right: 2rem;
  } */

  .faq-block .faq-content .faq-list .faq-card {
    width: 88vw;
  }
}