/* ===================================================
   InnerSprings — shared stylesheet
   Ported from the static site's styles.css. Changes vs. the original are
   marked "WP:" so the two can be compared.
   =================================================== */
:root {
  --forest: #055601;
  --forest-dark: #023a00;
  --forest-deeper: #022b00;
  --gold: #E8CC03;
  --gold-soft: #F3E27A;
  --cream: #FAF6EA;
  --cream-2: #F2EBD8;
  --ink: #15200D;
  --ink-soft: #3B4632;
  --sage: #E7EEDA;
  --line: rgba(21, 32, 13, 0.12);
  --line-on-dark: rgba(255, 255, 255, 0.18);
  --radius-s: 4px;
  --radius-m: 10px;
  --maxw: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

h1,
h2,
h3,
h4 {
  font-family: 'Lora', serif;
  font-weight: 500;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  margin: 0;
}

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

@media (max-width:640px) {
  .wrap {
    padding: 0 20px;
  }
}

/* WP: fixed a stray quote that disabled this rule */
section[id],
.service-block[id] {
  scroll-margin-top: 96px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 234, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--forest);
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.brand .mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.nav .nav-links {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav .nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}

.nav .nav-links a:hover,
.nav .nav-links a.active {
  color: var(--forest);
}

.nav-cta {
  background: var(--forest);
  color: var(--cream);
  padding: 11px 22px;
  border-radius: var(--radius-s);
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid var(--forest);
}

.nav-cta:hover {
  background: var(--forest-dark);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--forest);
  cursor: pointer;
  padding: 8px;
}
.nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* medium screens: keep the 5 links + long booking button from crowding */
@media (max-width:1100px) {
  .nav .nav-links {
    gap: 22px;
  }

  .nav-cta {
    padding: 10px 16px;
    font-size: 13.5px;
  }
}

@media (max-width:980px) {
  .brand {
    font-size: 17px;
  }

  .brand .mark {
    width: 38px;
    height: 38px;
  }

  .nav .nav-links {
    gap: 16px;
  }

  .nav .nav-links a {
    font-size: 14px;
  }
}

@media (max-width:860px) {
  .nav .wrap {
    flex-wrap: wrap;
  }
  .nav-toggle {
    display: block;
  }
  .nav-cta {
    display: none;
  }
  .nav .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding-bottom: 24px;
    align-items: flex-start;
  }
  .nav .nav-links.is-active {
    display: flex;
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: 15.5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--forest-deeper);
}

.btn-gold:hover {
  background: #fff;
}

.btn-outline-light {
  border-color: rgba(250, 246, 234, 0.5);
  color: var(--cream);
}

.btn-outline-light:hover {
  border-color: var(--cream);
  background: rgba(250, 246, 234, 0.08);
}

.btn-forest {
  background: var(--forest);
  color: var(--cream);
}

.btn-forest:hover {
  background: var(--forest-dark);
}

.btn-outline-dark {
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline-dark:hover {
  border-color: var(--forest);
  color: var(--forest);
}

/* ---------- PHOTO HERO (used by hero + page-hero) ----------
   The photo is chosen in the block editor. Until one is set, the
   forest gradient shows on its own, so the page never looks broken. */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
  color: var(--cream);
  overflow: hidden;
  background-color: var(--forest);
}

/* WP: the photo is an <img> (srcset + fetchpriority) instead of a CSS background;
   the gradient overlay moved to ::after so the result looks identical. */
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero::after,
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(120deg, rgba(4, 58, 0, 0.94) 0%, rgba(5, 86, 1, 0.72) 45%, rgba(2, 43, 0, 0.90) 100%);
}

.page-hero {
  padding: 64px 0 84px;
}

.hero-ring-accent {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 420px;
  height: 420px;
  opacity: 0.35;
  z-index: 1; /* WP: above the ::after overlay */
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.page-hero .hero-inner {
  max-width: 620px;
}

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.eyebrow-line .dash {
  width: 38px;
  height: 2px;
  background: var(--gold);
}

.eyebrow-line span {
  font-size: 14.5px;
  color: var(--gold-soft);
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 60px);
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 48px);
  color: #fff;
}

.hero h1 em,
.page-hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

.hero p.lede,
.page-hero p.lede {
  margin-top: 22px;
  font-size: 17.5px;
  color: rgba(250, 246, 234, 0.86);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 24px;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* sector strip (home only) */
.sectors {
  margin-top: 80px;
  padding-top: 36px;
  padding-bottom: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

.sectors-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.sectors-label::after {
  content: '';
  height: 1px;
  flex-grow: 1;
  background: linear-gradient(90deg, rgba(232, 204, 3, 0.35), transparent);
}

.sectors-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sector-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.sector-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 204, 3, 0.6);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ---------- HOME HERO: centered layout ---------- */
.hero {
  min-height: min(calc(100vh - 76px), 940px);
  padding: 72px 0 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero::after {
  background-image:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(2, 43, 0, 0.72) 0%, rgba(2, 43, 0, 0.35) 60%, transparent 100%),
    linear-gradient(180deg, rgba(2, 43, 0, 0.55) 0%, rgba(5, 86, 1, 0.55) 45%, rgba(2, 43, 0, 0.95) 100%);
}

.hero .hero-photo {
  object-position: center top;
}

.hero .hero-inner {
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(40px, 4.8vw, 64px);
  line-height: 1.04;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero p.lede {
  max-width: 680px;
  margin: 22px auto 0;
  font-size: clamp(16px, 1.3vw, 18px);
  color: rgba(250, 246, 234, 0.92);
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero .hero-ctas {
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.hero .sectors {
  position: relative; /* WP: keep above the photo overlay */
  z-index: 2;
  margin-top: 60px;
  border-top: none;
  padding-top: 0;
}

.hero .sectors-label {
  justify-content: center;
}

.hero .sectors-label::before {
  content: '';
  height: 1px;
  flex-grow: 1;
  max-width: 160px;
  background: linear-gradient(270deg, rgba(232, 204, 3, 0.45), transparent);
}

.hero .sectors-label::after {
  max-width: 160px;
  background: linear-gradient(90deg, rgba(232, 204, 3, 0.45), transparent);
}

.hero .sectors-row {
  justify-content: center;
}

.hero .sector-chip {
  background: rgba(2, 43, 0, 0.35);
}

/* gentle entrance */
.hero-inner > *,
.hero .sectors {
  animation: hero-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-inner > :nth-child(2) { animation-delay: 0.08s; }
.hero-inner > :nth-child(3) { animation-delay: 0.16s; }
.hero .sectors { animation-delay: 0.36s; }

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width:640px) {
  .hero {
    min-height: 0;
    padding: 56px 0 56px;
  }

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

  .hero .sectors {
    margin-top: 56px;
  }
}

/* ---------- SECTION HEADINGS ---------- */
.section {
  padding: 96px 0;
}

.section.tight {
  padding: 76px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 52px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-soft);
}

.on-sage {
  background: var(--sage);
}

.on-forest {
  background: var(--forest);
  color: var(--cream);
}

.on-forest .section-head h2 {
  color: #fff;
}

.on-forest .section-head p {
  color: rgba(250, 246, 234, 0.82);
}

/* ---------- PROBLEM (home) ---------- */
.problem-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width:860px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.problem-text h2 {
  font-size: clamp(32px, 4vw, 44px);
  max-width: 480px;
  line-height: 1.15;
  color: var(--forest-deeper);
}

.text-highlight {
  background: linear-gradient(180deg, transparent 65%, rgba(232, 204, 3, 0.5) 65%);
  display: inline;
  padding-bottom: 2px;
}

.problem-text .lead-text {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 440px;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  line-height: 1.6;
}

.problem-text .lead-text em {
  color: var(--forest);
  font-style: italic;
  font-weight: 500;
}

.strain-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: strain; /* WP: numbers are generated, so items can be reordered */
}

.strain-item {
  counter-increment: strain;
  display: flex;
  gap: 18px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.strain-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
  border-color: var(--forest);
}

.strain-item .num {
  font-family: 'Lora', serif;
  font-size: 15px;
  color: var(--gold-soft);
  background: var(--forest);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.strain-item .num::before {
  content: counter(strain);
}

.strain-item h3 {
  font-size: 16.5px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 4px;
}

.strain-item p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- CARD GRIDS (services, solutions) ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

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

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

/* WP: replaces an inline style that kept 3 columns on phones */
.solutions-grid.is-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width:860px) {
  .solutions-grid.is-cols-3 {
    grid-template-columns: 1fr;
  }
}

.sol-card {
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sol-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
  border-color: var(--forest);
}

.sol-card.lead {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

.sol-card.lead h3 {
  color: #fff;
}

.sol-card.lead p {
  color: rgba(250, 246, 234, 0.8);
}

.sol-icon {
  width: 34px;
  height: 34px;
  color: var(--forest);
}

.sol-card.lead .sol-icon {
  color: var(--gold);
}

.sol-card h3 {
  font-size: 19px;
  font-weight: 500;
}

.sol-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.sol-link {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.sol-card.lead .sol-link {
  color: var(--gold);
}

/* ---------- SERVICE DETAIL BLOCKS ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 64px;
  background: #fff;
  border-radius: 20px;
  /* var(--radius-l) equivalent */
  border: 1px solid var(--line);
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(5, 86, 1, 0.08);
  border-color: rgba(5, 86, 1, 0.25);
}

@media (max-width:980px) {
  .service-block {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
  }
}

@media (max-width:600px) {
  .service-block {
    padding: 32px 24px;
  }
}

.service-block .tag {
  display: inline-block;
  font-size: 13.5px;
  color: var(--gold);
  background: var(--forest-deeper);
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.service-block h3 {
  font-size: clamp(26px, 3.2vw, 34px);
  line-height: 1.15;
  color: var(--forest-deeper);
}

.service-block .desc {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 440px;
}

.service-block .btn {
  margin-top: 32px;
}

/* Service Block Right Column Styling */
.service-block .right-col {
  background: rgba(250, 246, 234, 0.5);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(21, 32, 13, 0.04);
}

.on-sage .service-block .right-col {
  background: rgba(255, 255, 255, 0.5);
}

/* WP: was an h5; now an h4 for heading order, styled identically */
.service-block .col-title {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  margin-top: 1.67em;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-pill {
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 100px;
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tag-pill:hover {
  border-color: var(--gold);
  color: var(--forest-deeper);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 204, 3, 0.15);
}

/* Services page: Corporate Wellness is the key service (always green);
   every other service turns gold on hover. */
.services-page .service-block,
.services-page .sol-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.services-page .service-block:not(.featured):hover,
.services-page .sol-card:hover {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 20px 48px rgba(232, 204, 3, 0.3);
}

.services-page .service-block:not(.featured):hover .desc,
.services-page .sol-card:hover p {
  color: var(--forest-dark);
}

.services-page .service-block:not(.featured):hover .right-col {
  background: rgba(250, 246, 234, 0.55);
}

.services-page .sol-card:hover .sol-link {
  color: var(--forest-deeper);
}

.service-block.featured {
  background: var(--forest);
  border-color: var(--forest);
  box-shadow: 0 20px 48px rgba(5, 86, 1, 0.25);
}

.service-block.featured:hover {
  border-color: var(--gold);
}

.service-block.featured h3 {
  color: #fff;
}

.service-block.featured .desc {
  color: rgba(250, 246, 234, 0.85);
}

.service-block.featured .right-col {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line-on-dark);
}

.service-block.featured .col-title {
  color: var(--gold);
}

.service-block.featured .tag-pill {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
  border-color: var(--line-on-dark);
}

.service-block.featured .tag-pill:hover {
  border-color: var(--gold);
  color: #fff;
}

/* ---------- WHY US ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.why-grid .photo-panel {
  aspect-ratio: 1 / 1;
}

@media (max-width:860px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width:640px) {
  .why-list {
    grid-template-columns: 1fr;
  }
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff;
  padding: 18px 20px;
  border-radius: var(--radius-m);
  border: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(5, 86, 1, 0.08);
  border-color: var(--forest);
}

.why-item .check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(5, 86, 1, 0.08);
  color: var(--forest);
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.why-item:hover .check-icon {
  background: var(--forest);
  color: var(--gold);
  transform: scale(1.1);
}

.why-item .check-icon svg {
  width: 16px;
  height: 16px;
}

.why-item p {
  font-size: 15px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}

.why-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--forest);
  position: relative;
}

/* ---------- PHOTO PANEL (about / values imagery) ----------
   Same swap-in-a-photo pattern as the hero, smaller and square-ish. */
.photo-panel {
  aspect-ratio: 4/5;
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background-color: var(--forest);
}

/* WP: photo is an <img> with srcset; the gradient moved to ::after */
.photo-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.photo-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(2, 43, 0, 0.05) 0%, rgba(2, 43, 0, 0.55) 100%);
  pointer-events: none;
}

/* ---------- HOW IT WORKS / STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  counter-reset: step; /* WP: generated 01, 02… so steps can be reordered */
}

@media (max-width:980px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width:520px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.step {
  counter-increment: step;
  position: relative;
  padding: 36px 28px;
  background: var(--forest-deeper);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-m);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -32px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E8CC03' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
}

@media (max-width:980px) {
  .step:not(:last-child)::after {
    display: none;
  }
}

.step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(232, 204, 3, 0.12);
  font-family: 'Lora', serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
}

.step .step-num::before {
  content: counter(step, decimal-leading-zero);
}

.step h3 {
  color: #fff;
  font-size: 20px;
  margin-top: 20px;
  font-weight: 500;
}

.step p {
  color: rgba(250, 246, 234, 0.78);
  font-size: 14.5px;
  margin-top: 10px;
}

/* ---------- TESTIMONIALS (home) ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

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

.testimonial {
  margin: 0;
  padding: 36px 32px 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(5, 86, 1, 0.08);
  border-color: rgba(5, 86, 1, 0.25);
}

.testimonial .quote-mark {
  width: 34px;
  height: 26px;
  color: var(--gold);
}

.testimonial blockquote {
  margin: 0;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--ink);
}

.testimonial figcaption {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial .t-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--forest-deeper);
}

.testimonial .t-role {
  font-size: 13.5px;
  color: var(--ink-soft);
}

/* workplace testimonial: green, like the key Corporate Wellness service */
.testimonial.featured {
  background: var(--forest);
  border-color: var(--forest);
  box-shadow: 0 20px 48px rgba(5, 86, 1, 0.22);
}

.testimonial.featured:hover {
  border-color: var(--gold);
}

.testimonial.featured blockquote {
  color: #fff;
}

.testimonial.featured figcaption {
  border-top-color: var(--line-on-dark);
}

.testimonial.featured .t-name {
  color: var(--gold);
}

.testimonial.featured .t-role {
  color: rgba(250, 246, 234, 0.8);
}

/* ---------- VALUES CARDS (about) ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

/* WP: replaces an inline style (team grid) that kept 2 columns on phones */
.values-grid.is-cols-2 {
  grid-template-columns: 1fr 1fr;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width:520px) {
  .values-grid,
  .values-grid.is-cols-2 {
    grid-template-columns: 1fr;
  }
}

.value-card {
  padding: 32px 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(5, 86, 1, 0.06);
  border-color: rgba(5, 86, 1, 0.2);
}

.value-card h3 {
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--forest-deeper);
}

.value-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- FOUNDER (about) ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.founder-grid .photo-panel {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  max-width: 420px;
  width: 100%;
  justify-self: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

@media (max-width:860px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.founder-grid .profile-name {
  font-size: clamp(28px, 3.5vw, 36px);
  color: #fff;
  margin-bottom: 8px;
}

.founder-grid .role {
  font-size: 15.5px;
  color: var(--gold);
  margin-top: 6px;
  font-weight: 500;
}

.founder-grid p.bio {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(250, 246, 234, 0.85);
  max-width: 500px;
}

/* ---------- CORPORATE / CONTACT CTA BANNER ---------- */
.corp-cta {
  background: var(--gold);
  border-radius: var(--radius-m);
  padding: 56px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* WP: the banner heading is an h2 on its own section, an h3 inside the contact column */
.corp-cta :is(h2, h3) {
  font-size: clamp(24px, 3vw, 32px);
  max-width: 480px;
  color: var(--forest-deeper);
}

.corp-cta p {
  margin-top: 10px;
  color: var(--forest-dark);
  font-size: 15px;
  max-width: 420px;
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  text-align: left;
  padding: 110px 0;
  background: var(--forest);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.final-cta .wrap {
  position: relative;
  z-index: 2;
}

.final-cta h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  color: #fff;
  max-width: 640px;
}

.final-cta .btn {
  margin-top: 34px;
}

/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width:860px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.contact-info-item:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-info-item .icon {
  width: 22px;
  height: 22px;
  color: var(--forest);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item h3 {
  font-size: 15.5px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 3px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fdfdfc;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(5, 86, 1, 0.08);
  background: #fff;
}

/* contact form: hidden spam trap + send status */
.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-m);
  font-size: 14.5px;
  line-height: 1.5;
}

.form-status.is-success {
  background: rgba(5, 86, 1, 0.08);
  color: var(--forest);
  border: 1px solid rgba(5, 86, 1, 0.25);
}

.form-status.is-error {
  background: #FDF1EE;
  color: #8A2A12;
  border: 1px solid rgba(138, 42, 18, 0.25);
}

.contact-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width:520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-form-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(5, 86, 1, 0.06);
  border-color: rgba(5, 86, 1, 0.2);
}

@media (max-width:600px) {
  .contact-form-card {
    padding: 32px 24px;
  }
}

/* ---------- NEWSLETTER ---------- */
.newsletter-section {
  background: var(--cream);
  padding: 80px 0 60px;
}

.newsletter-box {
  background: #FFD500;
  /* A stronger, more vibrant gold */
  border: none;
  border-radius: var(--radius-m);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  box-shadow: 0 12px 32px rgba(255, 213, 0, 0.35);
  /* Updated shadow to match */
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.newsletter-text {
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 2;
}

.newsletter-text h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  color: var(--forest-deeper);
}

.newsletter-text p {
  margin-top: 14px;
  color: var(--forest-dark);
  font-size: 16px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 480px;
  position: relative;
  z-index: 2;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px;
  background: #fdfdfc;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(5, 86, 1, 0.1);
  background: #fff;
}

.newsletter-form button {
  white-space: nowrap;
  padding: 16px 32px;
}

@media (max-width: 860px) {
  .newsletter-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 28px;
    gap: 28px;
  }

  .newsletter-form {
    width: 100%;
    max-width: 100%;
    flex-direction: column;
  }
}

/* ---------- FOOTER ---------- */
/* WP: scoped to the site footer (was a bare `footer` selector, which also hit
   <footer> elements inside blog posts). */
.site-footer {
  background: var(--forest-deeper);
  color: rgba(250, 246, 234, 0.72);
  padding: 64px 0 32px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

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

.foot-brand {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}

/* WP: was an h5; now an h2 for heading order, styled identically */
.foot-grid .foot-title {
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  letter-spacing: normal;
  font-size: 13px;
  color: rgba(250, 246, 234, 0.5);
  margin: 1.67em 0 16px;
  font-weight: 600;
}

/* WP: was an inline style */
.foot-tagline {
  max-width: 280px;
  font-size: 14.5px;
}

.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.foot-grid a {
  font-size: 14.5px;
}

.foot-grid a:hover {
  color: #fff;
}

.foot-bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line-on-dark);
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  flex-wrap: wrap;
  gap: 12px;
}
/* ---------- FLOATING WHATSAPP BUTTON ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 16px;
  border-radius: 100px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 10px 28px rgba(2, 43, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.whatsapp-float:hover {
  background: #1EBE5A;
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(2, 43, 0, 0.34);
}

.whatsapp-label {
  white-space: nowrap;
}

@media (max-width:640px) {
  .whatsapp-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-label {
    display: none;
  }
}

[hidden] {
  display: none !important;
}

/* ---------- GALLERY ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.gallery-filter {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.gallery-filter:hover {
  border-color: var(--gold);
  color: var(--forest-deeper);
}

.gallery-filter.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

/* masonry-style columns so portrait and landscape photos both keep their shape */
.gallery-grid {
  columns: 3 300px;
  column-gap: 20px;
}

.gallery-item {
  position: relative;
  margin: 0 0 20px;
  break-inside: avoid;
  border-radius: 14px;
  overflow: hidden;
  background: var(--forest);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
  opacity: 0.92;
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 20px 16px;
  background: linear-gradient(180deg, transparent, rgba(2, 43, 0, 0.88));
  color: var(--cream);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
}

.gallery-item figcaption strong {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 17px;
  color: #fff;
  line-height: 1.3;
}

.gallery-item figcaption span {
  font-size: 13px;
  color: var(--gold-soft);
}

/* lightbox */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 24px;
  border: 0;
  background: rgba(2, 20, 0, 0.94);
  color: var(--cream);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.lightbox figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.lightbox img {
  max-width: min(1200px, calc(100vw - 160px));
  max-height: calc(100vh - 140px);
  border-radius: 10px;
  object-fit: contain;
}

.lightbox figcaption {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lightbox figcaption strong {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
}

.lightbox figcaption span {
  font-size: 14px;
  color: var(--gold-soft);
}

.lightbox-nav,
.lightbox-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-on-dark);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lightbox-nav {
  width: 52px;
  height: 52px;
  font-size: 30px;
  line-height: 1;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 26px;
}

.lightbox-nav:hover,
.lightbox-close:hover {
  background: rgba(232, 204, 3, 0.18);
  border-color: var(--gold);
}

@media (max-width:640px) {
  .lightbox {
    padding: 12px;
  }

  .lightbox img {
    max-width: calc(100vw - 24px);
    max-height: calc(100vh - 200px);
  }

  .lightbox-nav {
    position: absolute;
    bottom: 24px;
  }

  .lightbox-nav.prev {
    left: calc(50% - 64px);
  }

  .lightbox-nav.next {
    right: calc(50% - 64px);
  }
}

/* ===================================================
   WP: additions for the WordPress build
   =================================================== */

/* ---------- classes that replace the static site's inline styles ---------- */
.section-head.is-compact {
  margin-bottom: 34px;
}

/* about: story */
.story-heading {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.15;
  color: var(--forest-deeper);
}

.story-lead {
  margin-top: 24px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 440px;
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  line-height: 1.6;
}

.story-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.story-card {
  background: rgba(250, 246, 234, 0.8);
  border-radius: 20px;
  padding: 40px;
}

.story-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.story-card p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.story-card.is-dark {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 12px 32px rgba(5, 86, 1, 0.15);
}

.story-card.is-dark h3 {
  color: var(--gold);
}

.story-card.is-dark p {
  color: rgba(250, 246, 234, 0.9);
}

/* contact page */
.contact-title {
  font-size: 24px;
  margin-bottom: 24px;
}

.contact-info-title {
  font-size: 24px;
  margin-bottom: 8px;
}

.contact-info-intro {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

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

.corp-cta.is-compact {
  margin-top: 36px;
  padding: 32px;
}

.corp-cta.is-compact h3 {
  font-size: 20px;
}

.corp-cta.is-compact p {
  font-size: 14px;
}

/* ---------- forms: states added for real submissions ---------- */
.newsletter-form {
  flex-wrap: wrap;
}

.newsletter-form .form-status {
  flex: 1 0 100%;
  margin-top: 4px;
}

.form-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

.form-note a {
  color: var(--forest);
  text-decoration: underline;
}

.form-status ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.newsletter-form button[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.form-turnstile {
  margin-bottom: 20px;
}

/* ---------- WordPress chrome ---------- */
.admin-bar .nav {
  top: 32px;
}

@media (max-width:782px) {
  .admin-bar .nav {
    top: 46px;
  }
}

@media (max-width:600px) {
  .admin-bar .nav {
    top: 0;
  }
}

.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  z-index: 100000;
  top: 8px;
  left: 8px;
  padding: 12px 20px;
  background: var(--forest);
  color: var(--cream);
  border-radius: var(--radius-s);
  font-weight: 600;
}

.brand .custom-logo {
  max-height: 52px;
  width: auto;
}

/* nav: the active link keeps its colour for the blog's parent page too */
.nav .nav-links a[aria-current] {
  color: var(--forest);
}

.alignleft {
  float: left;
  margin: 0.4em 1.6em 1em 0;
}

.alignright {
  float: right;
  margin: 0.4em 0 1em 1.6em;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.wp-caption,
.gallery-caption,
.sticky,
.bypostauthor {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ---------- footer extras (only render when filled in) ---------- */
.foot-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.foot-social a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line-on-dark);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.foot-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.foot-social svg {
  width: 17px;
  height: 17px;
}

.foot-bottom a:hover {
  color: #fff;
}

/* ---------- text sections + long-form content (pages and posts) ---------- */
.text-section .entry-content {
  max-width: 760px;
}

.text-section.is-wide .entry-content {
  max-width: none;
}

.text-section.on-forest .entry-content {
  color: rgba(250, 246, 234, 0.86);
}

.text-section.on-forest .entry-content :is(h2, h3, h4) {
  color: #fff;
}

.entry-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.entry-content > * + * {
  margin-top: 1.25em;
}

.entry-content :is(h2, h3, h4) {
  color: var(--forest-deeper);
  line-height: 1.2;
}

.entry-content > :is(h2, h3, h4) {
  margin-top: 1.8em;
}

.entry-content > :first-child {
  margin-top: 0;
}

.entry-content h2 {
  font-size: clamp(26px, 3vw, 32px);
}

.entry-content h3 {
  font-size: clamp(21px, 2.4vw, 24px);
}

.entry-content h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.entry-content a:not(.wp-block-button__link):not(.btn) {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: rgba(232, 204, 3, 0.8);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.entry-content a:not(.wp-block-button__link):not(.btn):hover {
  text-decoration-color: var(--forest);
}

.entry-content :is(ul, ol) {
  padding-left: 1.3em;
}

.entry-content li + li {
  margin-top: 0.4em;
}

.entry-content strong {
  color: var(--ink);
}

.entry-content blockquote,
.entry-content .wp-block-quote {
  margin-left: 0;
  margin-right: 0;
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 22px;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
}

.entry-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-size: 14px;
  color: var(--ink-soft);
}

.entry-content .wp-block-pullquote {
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 28px 0;
  text-align: center;
}

.entry-content .wp-block-pullquote blockquote {
  border: 0;
  padding: 0;
}

.entry-content figure {
  margin-left: 0;
  margin-right: 0;
}

.entry-content img {
  height: auto;
  border-radius: var(--radius-m);
}

.entry-content figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}

.entry-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5em 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.entry-content :is(th, td) {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
}

.entry-content th {
  background: var(--sage);
  color: var(--ink);
}

.entry-content :is(pre, code) {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}

.entry-content pre {
  background: var(--forest-deeper);
  color: var(--cream);
  padding: 20px;
  border-radius: var(--radius-m);
  overflow-x: auto;
}

.entry-content .wp-block-button__link {
  display: inline-flex;
  padding: 15px 28px;
  border-radius: var(--radius-s);
  background: var(--forest);
  color: var(--cream);
  font-weight: 600;
  font-size: 15.5px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.entry-content .wp-block-button__link:hover {
  background: var(--forest-dark);
}

.entry-content .is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--forest);
}

.entry-content .wp-block-embed iframe {
  max-width: 100%;
}

/* ---------- post cards (blog, archives, blog preview) ---------- */
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

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

.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(5, 86, 1, 0.08);
  border-color: rgba(5, 86, 1, 0.25);
}

.post-card-media {
  aspect-ratio: 16 / 10;
  background: var(--sage);
  overflow: hidden;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-media img {
  transform: scale(1.04);
}

.post-card-media.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage);
}

.post-card-media.is-empty svg {
  width: 72px;
  height: 72px;
  opacity: 0.9;
}

.post-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 26px 28px;
  flex: 1;
}

.post-card-cat {
  position: relative;
  z-index: 2;
  align-self: flex-start;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--forest);
}

.post-card-cat:hover {
  color: var(--forest-dark);
  text-decoration: underline;
}

.post-card-title {
  font-size: 21px;
  line-height: 1.25;
  color: var(--forest-deeper);
}

/* the whole card is clickable via the title link */
.post-card-title a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.post-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.post-card-meta {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* "Read more" sits at the bottom of every card, just above the date line. */
.post-card .sol-link {
  margin-top: auto;
}

.blog-preview-foot {
  margin-top: 40px;
}

/* ---------- search form ---------- */
.search-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
}

.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 15px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px;
  background: #fdfdfc;
  color: var(--ink);
}

.search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(5, 86, 1, 0.1);
}

.page-hero .search-form {
  margin-top: 28px;
}

.page-hero .search-form input[type="search"] {
  border-color: rgba(250, 246, 234, 0.4);
}

/* ---------- 404 (was a <style> block in 404.html) ---------- */
.not-found-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 0 20px;
}

.not-found-container h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--forest);
}

.not-found-container p {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 500px;
  margin-bottom: 2rem;
}

/* ---------- team cards (people from Team in the admin) ---------- */
.team-card .team-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
}

.team-card .team-role {
  margin: -4px 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--forest);
}

/* ---------- page hero button (landing pages) ---------- */
.page-hero .hero-ctas {
  margin-top: 32px;
}

@media (max-width:640px) {
  .page-hero .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- questions & answers ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: var(--forest);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.04);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-question {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: normal;
  color: var(--ink);
}

.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(5, 86, 1, 0.08);
  transition: background 0.2s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--forest);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon {
  background: var(--forest);
}

.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after {
  background: var(--gold);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 24px 22px;
  max-width: 740px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.faq-answer a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}
