/*!
 * HEPS Child Theme — main stylesheet
 */

/* ==========================================================================
   HEPS design tokens
   ========================================================================== */
:root {
  /* HEPS palette */
  --heps-bg: #f6f7f4;
  --heps-surface: #ffffff;
  --heps-border: #dde0d8;
  --heps-text: #1a2218;
  --heps-forest-dark: #1a3828;
  --heps-forest-line: #2a5038;
  --heps-green: #2d6a4f;
  --heps-green-hover: #245a42;
  --heps-green-light: #74b49b;
  --heps-green-bg: #e8f0e8;
  --heps-gold: #c9922a;
  --heps-gold-hover: #b3811f;
  --heps-gold-alt: #b87e2a;
  --heps-gold-bg: #f5ead8;
  --heps-gold-text: #fff8ee;
  --heps-muted: #5a7a68;
  --heps-heading-light: #f0f4f0;

  /* Bootstrap variable overrides — turns BS primary/link etc. green site-wide */
  --bs-body-bg: var(--heps-bg);
  --bs-body-color: var(--heps-text);
  --bs-body-color-rgb: 26, 34, 24;
  --bs-body-font-family:
    "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --bs-body-font-weight: 300;
  --bs-body-font-size: 1.0625rem; /* 17px */
  --bs-body-line-height: 1.65;

  --bs-primary: #2d6a4f;
  --bs-primary-rgb: 45, 106, 79;

  --bs-link-color: #2d6a4f;
  --bs-link-color-rgb: 45, 106, 79;
  --bs-link-hover-color: #245a42;
  --bs-link-hover-color-rgb: 36, 90, 66;

  --bs-border-color: var(--heps-border);
  --bs-border-color-translucent: var(--heps-border);

  --bs-heading-color: var(--heps-text);
}

/* Bootstrap primary button — HEPS green */
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--heps-green);
  --bs-btn-border-color: var(--heps-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--heps-green-hover);
  --bs-btn-hover-border-color: var(--heps-green-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--heps-green-hover);
  --bs-btn-active-border-color: var(--heps-green-hover);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--heps-green);
  --bs-btn-disabled-border-color: var(--heps-green);
}

.btn-outline-primary {
  --bs-btn-color: var(--heps-green);
  --bs-btn-border-color: var(--heps-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--heps-green);
  --bs-btn-hover-border-color: var(--heps-green);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--heps-green);
  --bs-btn-active-border-color: var(--heps-green);
  --bs-btn-disabled-color: var(--heps-green);
  --bs-btn-disabled-border-color: var(--heps-green);
}

/* HEPS gold button — not in Bootstrap, built in the BS btn system */
.btn-gold {
  --bs-btn-color: var(--heps-gold-text);
  --bs-btn-bg: var(--heps-gold);
  --bs-btn-border-color: var(--heps-gold);
  --bs-btn-hover-color: var(--heps-gold-text);
  --bs-btn-hover-bg: var(--heps-gold-hover);
  --bs-btn-hover-border-color: var(--heps-gold-hover);
  --bs-btn-active-color: var(--heps-gold-text);
  --bs-btn-active-bg: var(--heps-gold-hover);
  --bs-btn-active-border-color: var(--heps-gold-hover);
  --bs-btn-disabled-color: var(--heps-gold-text);
  --bs-btn-disabled-bg: var(--heps-gold);
  --bs-btn-disabled-border-color: var(--heps-gold);
}

/* ==========================================================================
   Typography
   ========================================================================== */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--heps-text);
}

h1,
.h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.6rem);
  line-height: 1.15;
}
h2,
.h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
}
h3,
.h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.eyebrow {
  display: inline-block;
  color: var(--heps-gold-alt);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.eyebrow-green {
  color: var(--heps-green);
}

/* Subtle bottom rule between content sections (applied inline by templates) */
.section-divider {
  border-bottom: 0.5px solid var(--heps-border);
}

/* ==========================================================================
   Epic Businesses legacy container (kept for parity with the spec)
   ========================================================================== */
._container {
  max-width: 1400px;
  position: relative;
  padding: 0;
  margin: 0 auto;
}
.container_inner_section {
  padding: 50px 2%;
  position: relative;
}
.section_inner_left {
  width: 46%;
  float: left;
}
.section_inner_right {
  width: 46%;
  float: right;
}
.section_inner_middle {
  width: 66%;
  margin: auto;
  position: relative;
}
.clear {
  clear: both;
}

/* Utility paddings/margins (spec-mandated) */
.paddingtop1em {
  padding-top: 1em;
}
.paddingtop2em {
  padding-top: 2em;
}
.paddingtop3em {
  padding-top: 3em;
}
.paddingtop4em {
  padding-top: 4em;
}
.paddingtop5em {
  padding-top: 5em;
}
.paddingtop6em {
  padding-top: 6em;
}
.paddingtop7em {
  padding-top: 7em;
}
.paddingbottom1em {
  padding-bottom: 1em;
}
.paddingbottom2em {
  padding-bottom: 2em;
}
.paddingbottom3em {
  padding-bottom: 3em;
}
.padding1em {
  padding: 1em;
}
.padding2em {
  padding: 2em;
}
.padding3em {
  padding: 3em;
}
.paddingtop-bottom1em {
  padding: 1em 0;
}
.paddingtop-bottom2em {
  padding: 2em 0;
}
.paddingtop-bottom3em {
  padding: 3em 0;
}
.paddingtop-bottom4em {
  padding: 4em 0;
}
.margintop1em {
  margin-top: 1em;
}
.margintop2em {
  margin-top: 2em;
}
.margintop3em {
  margin-top: 3em;
}
.marginbottom1em {
  margin-bottom: 1em;
}
.marginbottom2em {
  margin-bottom: 2em;
}
.marginbottom3em {
  margin-bottom: 3em;
}
.margintop-bottom1em {
  margin: 1em 0;
}
.margintop-bottom2em {
  margin: 2em 0;
}
.margintop-bottom3em {
  margin: 3em 0;
}
.margintop-bottom4em {
  margin: 4em 0;
}
.no-padding {
  padding: 0;
}
.nopadding-top {
  padding-top: 0;
}
.nopadding-bottom {
  padding-bottom: 0;
}
.no-margin {
  margin: 0;
}
.nomargin-top {
  margin-top: 0;
}
.nomargin-bottom {
  margin-bottom: 0;
}

/* Background image base */
.bg-classname {
  background: url();
  background-size: cover;
  background-position: center;
  position: relative;
}

/* ==========================================================================
   Navbar tweaks — sits on top of Bootscore's navbar
   ========================================================================== */
.navbar.heps-navbar {
  background: var(--heps-bg);
  border-bottom: 0.5px solid var(--heps-border);
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Fixed site header — push page content down so nothing hides underneath */
.heps-fixed-header {
  z-index: 1030;
}
body {
  padding-top: 64px;
}
@media (min-width: 992px) {
  body {
    padding-top: 68px;
  }
}

.navbar.heps-navbar .navbar-brand {
  font-size: 15px;
  font-weight: 400;
  color: var(--heps-text);
}
.navbar.heps-navbar .navbar-brand .brand-mark {
  color: var(--heps-green);
  font-weight: 500;
}
.navbar.heps-navbar .nav-link {
  color: var(--heps-text);
  font-weight: 400;
  font-size: 15px;
  padding: 8px 14px;
}
.navbar.heps-navbar .nav-link:hover {
  color: var(--heps-green);
}
.navbar.heps-navbar .nav-link.active {
  color: var(--heps-green);
  font-weight: 600;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  background: var(--heps-bg);
  padding: clamp(50px, 8vw, 70px) 0;
  text-align: left;
}
.hero h1 {
  max-width: 20ch;
  margin: 0 0 20px;
}
.hero h1 .accent {
  color: var(--heps-green);
  font-weight: 500;
}
.hero-sub {
  max-width: 62ch;
  margin: 0 0 32px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #3b4a3a;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* ==========================================================================
   Pills (hero tags)
   ========================================================================== */
.pill-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.pill {
  display: inline-block;
  font-size: 13px;
  font-weight: 400;
  padding: 7px 14px;
  border-radius: 999px;
  line-height: 1;
}
.pill-green {
  background: var(--heps-green-bg);
  color: var(--heps-green);
}
.pill-gold {
  background: var(--heps-gold-bg);
  color: var(--heps-gold-alt);
}

/* ==========================================================================
   Forest-dark section + timeline/stepper
   ========================================================================== */
.section-dark {
  background: var(--heps-forest-dark);
  color: var(--heps-heading-light);
  padding: clamp(60px, 8vw, 96px) 0;
}
.section-dark h2 {
  color: var(--heps-heading-light);
}
.section-dark p {
  color: #aec2b4;
}
.section-dark .eyebrow-light {
  color: var(--heps-green-light);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin-top: 60px;
  padding-left: 36px;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--heps-forest-line);
}
.timeline-step {
  position: relative;
  padding: 0 0 44px 14px;
}
.timeline-step:last-child {
  padding-bottom: 0;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--heps-gold);
  box-shadow: 0 0 0 4px var(--heps-forest-dark);
}
.step-label {
  display: block;
  color: var(--heps-gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.timeline-step h3 {
  color: var(--heps-heading-light);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 10px;
}
.timeline-step p {
  color: var(--heps-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 14px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-chip {
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}
.tag-row .tag-chip:nth-child(odd) {
  background: var(--heps-green-bg);
  color: var(--heps-green);
}
.tag-row .tag-chip:nth-child(even) {
  background: var(--heps-gold-bg);
  color: var(--heps-gold-alt);
}
.highlight-box {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 2px solid var(--heps-gold);
  background: rgba(201, 146, 42, 0.08);
  border-radius: 0 6px 6px 0;
}
.highlight-box strong {
  color: var(--heps-gold);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}
.highlight-box span {
  color: #aec2b4;
  font-size: 0.95rem;
}

/* ==========================================================================
   Content blocks, bespoke cards
   ========================================================================== */
.content-block {
  margin: 0 0 56px;
  /* padding: 0 16px; */
}
.content-block p {
  font-size: 1.05rem;
  color: #2e3a2c;
}

.founder-card {
  position: relative;
  background: linear-gradient(180deg, #fafbf7 0%, var(--heps-surface) 100%);
  border: 1px solid var(--heps-border);
  border-radius: 16px;
  padding: 44px 48px;
  margin: 0 auto;
  margin-top: 30px;
  box-shadow: 0 2px 4px rgba(26, 56, 40, 0.04);
  overflow: hidden;
}
.founder-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--heps-green) 0%,
    var(--heps-gold) 100%
  );
}
.founder-quote-mark {
  position: absolute;
  top: 0px;
  left: 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 120px;
  line-height: 1;
  color: var(--heps-green-bg);
  user-select: none;
  pointer-events: none;
}
.founder-card > p {
  position: relative;
  z-index: 1;
}
.founder-lead {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--heps-text);
  font-weight: 400;
  margin-bottom: 20px;
}
.founder-card .signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--heps-border);
}
.signature-avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--heps-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.02em;
}
.signature-meta {
  display: flex;
  flex-direction: column;
}
.signature-name {
  font-weight: 500;
  color: var(--heps-text);
  margin: 0;
}
.signature-role {
  font-size: 0.92rem;
  color: var(--heps-gold-alt);
  margin: 2px 0 0;
  letter-spacing: 0.02em;
}

@media (max-width: 575.98px) {
  .founder-card {
    padding: 44px 28px 32px;
  }
  .founder-quote-mark {
    font-size: 110px;
    right: 18px;
  }
  .founder-lead {
    font-size: 1.05rem;
  }
}

/* Team card — extends Bootstrap .card with HEPS accent */
.team-card .team-role {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heps-green);
  margin-bottom: 8px;
}

/* Meta label inside a Bootstrap .card (used in Policy Archive) */
.card-meta {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heps-gold-alt);
  margin-bottom: 10px;
}

/* Tier card (Get Involved) */
.tier-card {
  background: var(--heps-surface);
  border: 0.5px solid var(--heps-border);
  border-radius: 10px;
  padding: 32px 34px;
}
.tier-card .tier-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heps-gold-alt);
  background: var(--heps-gold-bg);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.tier-card h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.tier-card .tier-action {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 0.5px solid var(--heps-border);
}

/* Empty state (Policy Archive placeholder) */
.empty-state {
  background: var(--heps-surface);
  border: 0.5px dashed var(--heps-border);
  border-radius: 10px;
  padding: 60px 28px;
  text-align: center;
  margin: 0 auto;
}

/* ==========================================================================
   Footer (dark forest)
   ========================================================================== */
.site-footer {
  background: var(--heps-forest-dark);
  color: #c5d4c8;
  padding: 64px 0 28px;
  margin-top: auto;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 18px;
  border-bottom: 1px solid #24432f;
  align-items: start;
}
.site-footer .footer-col .footer-socials {
  margin-top: 24px;
}
.site-footer .footer-grid > .footer-col:nth-child(2) {
  justify-self: center;
}
.site-footer .footer-grid > .footer-col:nth-child(3) {
  justify-self: end;
}
.site-footer .footer-brand {
  font-size: 15px;
  font-weight: 400;
  color: #e3ecdd;
  margin-bottom: 14px;
}
.site-footer .footer-brand .brand-mark {
  color: var(--heps-green-light);
  font-weight: 500;
}
.site-footer .footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: #aec2b4;
  margin: 0 0 18px;
}
.site-footer .footer-email {
  color: var(--heps-gold);
  font-weight: 400;
  text-decoration: none;
  font-size: 14px;
}
.site-footer .footer-email:hover {
  color: var(--heps-gold);
  text-decoration: underline;
}

.site-footer .footer-heading {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e3ecdd;
  margin: 0 0 16px;
}

.site-footer ul.footer-nav,
.site-footer ul.footer-socials {
  list-style: none !important;
  padding-left: 0;
  margin: 0;
}
.site-footer ul.footer-nav li,
.site-footer ul.footer-socials li {
  list-style: none;
  padding-left: 0;
}

.site-footer .footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer .footer-nav a {
  color: #c5d4c8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}
.site-footer .footer-nav a:hover {
  color: var(--heps-gold);
}

.site-footer .footer-socials {
  display: flex;
  flex-direction: row;
  gap: 14px;
}
.site-footer .footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #24432f;
  color: #c5d4c8;
  text-decoration: none;
  transition:
    color 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease;
}
.site-footer .footer-socials a:hover {
  color: var(--heps-forest-dark);
  background: var(--heps-gold);
  border-color: var(--heps-gold);
}
.site-footer .footer-socials svg {
  flex-shrink: 0;
}

.site-footer .footer-credit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #7b8f7f;
  letter-spacing: 0.02em;
  padding-top: 24px;
}

@media (max-width: 991.98px) {
  .site-footer {
    padding: 48px 0 24px;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding-bottom: 32px;
  }
  .site-footer .footer-grid > .footer-col:nth-child(2),
  .site-footer .footer-grid > .footer-col:nth-child(3) {
    justify-self: start;
  }
}
@media (max-width: 575.98px) {
  .site-footer {
    padding: 40px 0 20px;
  }
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
    padding-bottom: 24px;
  }
  .site-footer .footer-grid > .footer-col:nth-child(1) {
    grid-column: 1 / -1;
  }
  .site-footer .footer-tagline {
    max-width: none;
  }
  .site-footer .footer-socials {
    flex-wrap: wrap;
  }
  .site-footer .footer-credit {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    justify-content: flex-start;
    padding-top: 20px;
    text-align: left;
  }
}

/* ==========================================================================
   Small responsive tweaks (everything else comes from Bootstrap)
   ========================================================================== */
@media (max-width: 991.98px) {
  .section_inner_left,
  .section_inner_right {
    width: 100%;
    float: none;
  }
  .section_inner_middle {
    width: 90%;
  }
}
@media (max-width: 575.98px) {
  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }
  .hero-ctas .btn {
    width: 100%;
    max-width: 215px;
  }
  .founder-card {
    padding: 28px 22px;
  }
  .tier-card {
    padding: 24px 22px;
  }
  .timeline {
    padding-left: 28px;
  }
  .timeline-step::before {
    left: -24px;
  }
}

/* ==========================================================================
   About page — stats strip
   ========================================================================== */
.stats-strip {
  border-radius: 14px;
  background: var(--heps-surface);
  border-top: 0.5px solid var(--heps-border);
  border-bottom: 0.5px solid var(--heps-border);
  padding: 40px 25px;
}
.stats-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 8px;
  border-left: 2px solid var(--heps-green);
}
.stat-number {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  color: var(--heps-green);
  line-height: 1;
  letter-spacing: -0.01em;
}
.stat-label {
  font-size: 13px;
  color: var(--heps-muted);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   About page — mission/vision cards
   ========================================================================== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 24px 0 48px;
}
.value-card {
  position: relative;
  background: var(--heps-surface);
  border: 1px solid var(--heps-border);
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 1px 2px rgba(26, 56, 40, 0.04);
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: var(--heps-border);
  transition: background 0.2s ease;
}
/* .value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26, 56, 40, 0.1);
  border-color: transparent;
} */
.value-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  margin-bottom: 20px;
}
.value-card h2 {
  margin-top: 4px;
  margin-bottom: 16px;
}
.value-card p {
  color: #2e3a2c;
  margin-bottom: 12px;
}
.value-card p:last-child {
  margin-bottom: 0;
}

.value-card--mission::before {
  background: var(--heps-green);
}
.value-card--mission .value-card-badge {
  background: var(--heps-green-bg);
  color: var(--heps-green);
}

.value-card--vision::before {
  background: var(--heps-gold);
}
.value-card--vision .value-card-badge {
  background: var(--heps-gold-bg);
  color: var(--heps-gold-alt);
}

/* ==========================================================================
   About page — pillar cards (inside .section-dark)
   ========================================================================== */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pillar-card {
  background: rgba(255, 255, 255, 0.04);
  border: 0.5px solid var(--heps-forest-line);
  border-radius: 10px;
  padding: 32px 28px;
  position: relative;
}
.pillar-num {
  display: inline-block;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--heps-gold);
  margin-bottom: 20px;
}
.pillar-card h3 {
  color: var(--heps-heading-light);
  margin-bottom: 12px;
}
.pillar-card p {
  color: #aec2b4;
  margin-bottom: 0;
  font-size: 0.98rem;
}

/* ==========================================================================
   About page — CTA banner
   ========================================================================== */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--heps-green-bg);
  border: 0.5px solid var(--heps-border);
  border-radius: 12px;
  padding: 32px 36px;
  margin-top: 56px;
}
.cta-banner h2 {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}
.cta-banner p {
  margin: 0;
  color: var(--heps-muted);
}

@media (max-width: 991.98px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
  .value-grid,
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .cta-banner {
    padding: 24px;
  }
}

/* ==========================================================================
   How It Works — shared section head
   ========================================================================== */
.section-head {
  max-width: 62ch;
  margin-bottom: 40px;
}
.section-head h2 {
  margin: 4px 0 14px;
}
.section-head p {
  color: var(--heps-muted);
  margin: 0;
}
.section-head--dark p {
  color: #aec2b4;
}

/* ==========================================================================
   How It Works — cycle overview track
   ========================================================================== */
.cycle-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.cycle-step {
  position: relative;
  background: var(--heps-surface);
  border: 1px solid var(--heps-border);
  border-radius: 12px;
  padding: 20px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.cycle-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(26, 56, 40, 0.08);
  border-color: var(--heps-green-light);
}
.cycle-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 12px;
  height: 2px;
  background: var(--heps-border);
  transform: translateY(-50%);
}
.cycle-step:last-child::after {
  display: none;
}
.cycle-week {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--heps-gold-alt);
}
.cycle-title {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--heps-text);
}
.cycle-meta {
  font-size: 13px;
  color: var(--heps-muted);
}
.cycle-step--finish {
  background: var(--heps-green);
  border-color: var(--heps-green);
}
.cycle-step--finish .cycle-week {
  color: var(--heps-gold-bg);
}
.cycle-step--finish .cycle-title,
.cycle-step--finish .cycle-meta {
  color: #fff;
}
.cycle-step--finish:hover {
  border-color: var(--heps-green);
}

.cycle-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--heps-border);
  border-bottom: 1px solid var(--heps-border);
}
.cycle-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.cycle-meta-num {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--heps-green);
  line-height: 1;
}
.cycle-meta-label {
  font-size: 13px;
  color: var(--heps-muted);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   How It Works — deliverable grid
   ========================================================================== */
.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.deliverable-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--heps-surface);
  border: 1px solid var(--heps-border);
  border-radius: 12px;
  padding: 28px 26px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}
.deliverable-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(26, 56, 40, 0.08);
  border-color: var(--heps-green-light);
}
.deliverable-phase {
  align-self: flex-start;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--heps-green-bg);
  color: var(--heps-green);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.deliverable-card h3 {
  margin: 4px 0 2px;
  font-size: 1.15rem;
}
.deliverable-card p {
  color: #3b4a3a;
  margin: 0;
  font-size: 0.96rem;
  flex-grow: 1;
}
.deliverable-format {
  font-size: 12px;
  color: var(--heps-muted);
  letter-spacing: 0.06em;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px dashed var(--heps-border);
}
.deliverable-card--feature {
  background: linear-gradient(180deg, #eef4ec 0%, var(--heps-green-bg) 100%);
  border-color: var(--heps-green-light);
}
.deliverable-card--feature .deliverable-phase {
  background: var(--heps-green);
  color: #fff;
}
.deliverable-card--feature .deliverable-format {
  border-top-color: var(--heps-green-light);
  color: var(--heps-green);
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .cycle-track {
    grid-template-columns: repeat(2, 1fr);
  }
  .cycle-step::after {
    display: none;
  }
  .cycle-meta-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
  .deliverable-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .cycle-track,
  .cycle-meta-row,
  .deliverable-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Team card â€” photo block
   Add these rules after the existing .team-card .team-role block in style.css
   ========================================================================== */

/* Photo container sits above card-body, flush to card edges */
.team-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;         /* square crop */
  overflow: hidden;
  border-radius: 8px 8px 0 0;  /* match card top corners */
  background: var(--heps-green-bg);
  flex-shrink: 0;
}

.team-card-photo .team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;  /* bias toward faces */
  display: block;
}

/* Placeholder shown when no featured image is set */
.team-card-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--heps-green-bg);
}

/* Initials avatar (named members without a photo yet) */
.team-photo-initials {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 500;
  color: var(--heps-green);
  letter-spacing: 0.04em;
  user-select: none;
}

/* Plus mark for open/unfilled seats */
.team-photo-open {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--heps-green-light);
  user-select: none;
  line-height: 1;
}

/* Advisory board placeholder uses gold tint instead of green */
.py-5.bg-white .team-card-photo--placeholder {
  background: var(--heps-gold-bg);
}
.py-5.bg-white .team-photo-initials {
  color: var(--heps-gold-alt);
}
.py-5.bg-white .team-photo-open {
  color: var(--heps-gold);
}

/* Ensure Bootstrap .card doesn't add extra padding before the photo */
.team-card {
  overflow: hidden;
  border-radius: 10px;
}
.team-card > .team-card-photo {
  margin: 0;   /* override any inherited card padding */
}


/* ==========================================================================
   Navbar logo â€” icon + text lockup
   Replace the previous logo.css block in style.css
   ========================================================================== */

.navbar-brand.heps-logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  line-height: 1;
  text-decoration: none;
}

.heps-logo-icon {
  display: block;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;   /* the SVG is already circular; this clips the bg square */
}

.heps-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.heps-logo-mark {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--heps-green);
  letter-spacing: 0.04em;
  line-height: 1;
}

.heps-logo-sub {
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 10.5px;
  font-weight: 300;
  color: var(--heps-muted);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}

/* Hide the long subtitle on small screens to save space */
@media (max-width: 400px) {
  .heps-logo-sub {
    display: none;
  }
}
