/*
Theme Name: Blocksy Child
Theme URI: https://teifoundation.org
Description: Child theme for Blocksy — houses TEIF custom styles for all custom shortcoded sections.
Author: TEIF Development
Author URI: https://teifoundation.org
Template: blocksy
Version: 3.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blocksy-child
*/

/* ==========================================================================
   TEIF CUSTOM STYLES
   ==========================================================================
   This file contains all custom CSS for TEIF's hand-coded shortcode sections.
   Organized by section in labeled blocks. Append new sections at the bottom.
   --------------------------------------------------------------------------
   Page sections live here. Section structure:
     - Homepage sections
     - About page sections
     - Services page sections
     - (additional pages as built)
   ========================================================================== */

/* ============================================================
   TEIF — Additional CSS
   Appearance → Additional CSS
   ============================================================
   HOW THIS WORKS:
   Base classes are shared across every section.
   Section classes only handle what's unique to that section.
   Adding a new section? Use the base classes in your HTML
   and you'll rarely need to touch this file.
   ============================================================ */


/* ============================================================
   BASE — SECTION WRAPPERS
   ============================================================ */

.teif-section-light {
  background: #ffffff;
  padding: 88px 5vw;
  font-family: 'DM Sans', sans-serif;
}

.teif-section-dark {
  background: #061519;
  padding: 88px 5vw;
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

.teif-section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}

.teif-section-light-dotted {
  background: #ffffff;
  padding: 88px 5vw;
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

.teif-section-light-dotted::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.04) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}


/* ============================================================
   BASE — GLOW BLOBS
   ============================================================ */

.teif-glow-left {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,110,86,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.teif-glow-right {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24,95,165,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.teif-glow-mid {
  position: absolute;
  top: 40%;
  right: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55,138,221,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.teif-glow-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(139,195,74,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Light-mode glow variants — softer opacity */
.teif-glow-left-light {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15,110,86,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.teif-glow-right-light {
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24,95,165,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.teif-glow-mid-light {
  position: absolute;
  top: 40%;
  right: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(55,138,221,0.04) 0%, transparent 70%);
  pointer-events: none;
}


/* ============================================================
   BASE — SECTION HEADERS
   ============================================================ */

.teif-header {
  text-align: center;
  margin-bottom: 60px;
}

.teif-eyebrow {
  font-size: var(--fs-label-sm);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8BC34A;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.teif-eyebrow-ruled::before,
.teif-eyebrow-ruled::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: #8BC34A;
  opacity: 0.5;
}

.teif-title-light {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #071a11;
  line-height: 1.15;
  margin-bottom: 16px;
}

.teif-title-dark {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.teif-title-light em,
.teif-title-dark em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.teif-title-light .teif-em-green { font-style: italic; color: #0F6E56; }
.teif-title-dark  .teif-em-green { font-style: italic; color: #8BC34A; }
.teif-title-light .teif-em-lime  { font-style: italic; color: #8BC34A; }

.teif-sub-light {
  font-size: var(--fs-body);
  font-weight: 300;
  color: #6B6B64;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.teif-sub-dark {
  font-size: var(--fs-body);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}


/* ============================================================
   BASE — CARDS
   ============================================================ */

.teif-card {
  background: #fff;
  border: 1px solid #e8e5df;
  border-radius: 14px;
  padding: 32px 28px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.teif-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: #c8ddd0;
}

.teif-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8BC34A, #378ADD);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.teif-card:hover::after { transform: scaleX(1); }

.teif-card-dark {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 24px 20px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.teif-card-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(139,195,74,0.06), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.teif-card-dark:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(139,195,74,0.3);
  transform: translateY(-3px);
}

.teif-card-dark:hover::before { opacity: 1; }

.teif-card-dark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8BC34A, #378ADD);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.teif-card-dark:hover::after { transform: scaleX(1); }

.teif-card-top-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8BC34A 30%, #378ADD 70%, transparent);
}


/* ============================================================
   BASE — GRIDS
   ============================================================ */

.teif-grid   { max-width: 1200px; margin: 0 auto; }
.teif-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.teif-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.teif-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .teif-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .teif-grid-3 { grid-template-columns: 1fr; max-width: 560px; }
}

@media (max-width: 560px) {
  .teif-grid-4 { grid-template-columns: 1fr; }
  .teif-grid-2 { grid-template-columns: 1fr; }
}


/* ============================================================
   BASE — BUTTONS
   ============================================================ */

.teif-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #378ADD;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.teif-btn-primary:hover { background: #185FA5; transform: translateY(-2px); }

.teif-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #0F6E56;
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid #0F6E56;
  cursor: pointer;
}

.teif-btn-secondary:hover { background: #f0f8ec; }

.teif-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-label);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid rgba(255,255,255,0.15);
  cursor: pointer;
}

.teif-btn-ghost:hover { border-color: rgba(255,255,255,0.4); }

.teif-btn-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0F6E56;
  color: #fff;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s;
}

.teif-btn-green:hover { background: #378ADD; color: #fff; }

.teif-btn-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0F6E56;
  text-decoration: none;
  transition: gap 0.2s;
}

.teif-btn-text:hover { gap: 10px; }

.teif-btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (max-width: 600px) {
  .teif-btn-group { flex-direction: column; align-items: center; }
}


/* ============================================================
   BASE — DIVIDERS
   ============================================================ */

.teif-divider      { height: 1px; background: #f0ece6; margin: 16px 0; }
.teif-divider-dark { height: 1px; background: rgba(255,255,255,0.08); }

.teif-divider-icon-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 48px;
  max-width: 400px;
}

.teif-divider-icon-wrap .teif-divider-dark { flex: 1; margin: 0; }

.teif-divider-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(55,138,221,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.teif-divider-icon svg { width: 16px; height: 16px; stroke: #378ADD; fill: none; stroke-width: 1.5; }

.teif-divider-icon-wrap-light {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 48px;
  max-width: 400px;
}

.teif-divider-icon-wrap-light .teif-divider { flex: 1; margin: 0; }

.teif-divider-icon-light {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(15,110,86,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.teif-divider-icon-light svg { width: 16px; height: 16px; fill: none; stroke-width: 1.5; }


/* ============================================================
   BASE — AVATARS
   ============================================================ */

.teif-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #0F6E56, #1D9E75);
}

.teif-avatar-lg {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(15,110,86,0.35);
  border: 2px solid rgba(139,195,74,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.teif-initials    { font-family: 'Cormorant Garamond', serif; font-size: 2rem;   font-weight: 600; color: rgba(139,195,74,0.95); }
.teif-initials-sm { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; font-weight: 600; color: #fff; }


/* ============================================================
   BASE — PILLS / TAGS / LABELS
   ============================================================ */

.teif-tag {
  display: inline-block;
  background: rgba(139,195,74,0.9);
  color: #071a11;
  font-size: var(--fs-label-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}

.teif-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f3ef;
  border: 1px solid #e8e5df;
  border-radius: 30px;
  padding: 8px 18px;
}

.teif-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #8BC34A; flex-shrink: 0; }
.teif-pill span   { font-size: var(--fs-body-xs); color: #6B6B64; font-weight: 400; }
.teif-pill strong { font-size: var(--fs-body-xs); color: #071a11; font-weight: 500; }

.teif-label      { font-size: var(--fs-label-sm); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #8BC34A; }
.teif-note       { font-size: var(--fs-label-sm); color: rgba(255,255,255,0.2); letter-spacing: 0.08em; margin-top: 8px; }
.teif-note-light { font-size: var(--fs-label-sm); color: #aaa; letter-spacing: 0.08em; }


/* ============================================================
   SECTION — MISSION SNAPSHOT (between hero & programs)
   ============================================================ */

.mission-snapshot {
  border-top: 1px solid #f0ece6;
  border-bottom: 1px solid #f0ece6;
  padding: 72px 5vw;
}

.mission-snapshot-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.snapshot-statement-wrap {
  text-align: center;
  margin-bottom: 56px;
}

.snapshot-statement {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: #071a11;
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto;
}

.snapshot-statement em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #e8e5df;
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .snapshot-grid { grid-template-columns: 1fr; }
  .snapshot-block { border-right: none !important; border-bottom: 1px solid #e8e5df; }
  .snapshot-block:last-child { border-bottom: none; }
}

.snapshot-block {
  padding: 36px 32px;
  border-right: 1px solid #e8e5df;
  position: relative;
  transition: background 0.25s;
}

.snapshot-block:last-child { border-right: none; }
.snapshot-block:hover { background: #fafaf8; }

.snapshot-block-featured {
  background: #071a11;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.snapshot-block-featured:hover { background: #0a2218; }

.snapshot-block-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8BC34A, #378ADD);
}

.snapshot-block-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f5f3ef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.snapshot-block-icon svg { width: 20px; height: 20px; }
.snapshot-block-featured .snapshot-block-icon { background: rgba(255,255,255,0.08); }

.snapshot-block-label {
  font-size: var(--fs-label-sm);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8BC34A;
  margin-bottom: 12px;
}

.snapshot-block-text { font-size: var(--fs-body); font-weight: 300; color: #6B6B64; line-height: 1.8; }
.snapshot-block-featured .snapshot-block-text { color: rgba(255,255,255,0.65); }


/* ============================================================
   SECTION — MISSION (DARK)
   ============================================================ */

.mission-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.mission-statement {
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  max-width: 720px;
  margin: 0 auto 48px;
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, #8BC34A 0%, #378ADD 100%) 1;
  padding-left: 24px;
  text-align: left;
}

.legacy-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 40px 44px;
  margin-bottom: 48px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.legacy-names     { display: flex; gap: 24px; margin-bottom: 24px; flex-wrap: wrap; }
.legacy-name-chip { display: flex; align-items: center; gap: 10px; }

.legacy-name-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15,110,86,0.4);
  border: 1px solid rgba(139,195,74,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(139,195,74,0.9);
  flex-shrink: 0;
}

.legacy-name-text strong { display: block; font-size: var(--fs-body-sm); font-weight: 500; color: #fff; }
.legacy-name-text span   { font-size: var(--fs-label); color: rgba(255,255,255,0.4); letter-spacing: 0.04em; }
.legacy-body             { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,0.6); line-height: 1.9; }
.legacy-body strong      { color: rgba(255,255,255,0.9); font-weight: 500; }

.donate-block   { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.donate-context {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  line-height: 1.7;
  max-width: 480px;
  text-align: center;
}

@media (max-width: 680px) {
  .legacy-block { padding: 28px 24px; }
  .legacy-names { flex-direction: column; gap: 16px; }
}


/* ============================================================
   SECTION — MISSION (LIGHT)
   ============================================================ */

.mission-inner-light {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.mission-statement-light {
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(15,31,42,0.62);
  line-height: 1.9;
  max-width: 720px;
  margin: 0 auto 48px;
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, #3a7d1e 0%, #1a5fa8 100%) 1;
  padding-left: 24px;
  text-align: left;
}

.mission-statement-light strong { color: rgba(15,31,42,0.85); }

.legacy-block-light {
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 40px 44px;
  margin-bottom: 48px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

/* Top accent bar */
.legacy-block-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #3a7d1e 30%, #1a5fa8 70%, transparent);
}

.legacy-name-avatar-light {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15,110,86,0.08);
  border: 1px solid rgba(15,110,86,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0F6E56;
  flex-shrink: 0;
}

.legacy-name-text-light strong { display: block; font-size: var(--fs-body-sm); font-weight: 500; color: #071a11; }
.legacy-name-text-light span   { font-size: var(--fs-label); color: rgba(15,31,42,0.45); letter-spacing: 0.04em; }
.legacy-body-light             { font-size: 1rem; font-weight: 300; color: rgba(15,31,42,0.6); line-height: 1.9; }
.legacy-body-light strong      { color: #071a11; font-weight: 500; }

.donate-context-light {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  color: rgba(15,31,42,0.45);
  letter-spacing: 0.04em;
  line-height: 1.7;
  max-width: 480px;
  text-align: center;
}

.donate-note-light {
  font-size: var(--fs-label-sm);
  color: rgba(15,31,42,0.28);
  letter-spacing: 0.08em;
  margin-top: 8px;
}

@media (max-width: 680px) {
  .legacy-block-light { padding: 28px 24px; }
}


/* ============================================================
   SECTION — PROGRAMS & SERVICES (PILLARS)
   ============================================================ */

.pillar-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #f5f3ef;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.25s;
}

.teif-card:hover .pillar-icon-wrap { background: #eaf5e9; }
.pillar-icon-wrap svg { width: 38px; height: 38px; }

.pillar-name { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 600; color: #071a11; margin-bottom: 10px; line-height: 1.2; }
.pillar-desc { font-size: var(--fs-body-sm); font-weight: 300; color: #6B6B64; line-height: 1.8; margin-bottom: 20px; }


/* ============================================================
   SECTION — 12 PRINCIPLES
   ============================================================ */

.p-num        { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 600; color: #8BC34A; line-height: 1; margin-bottom: 12px; opacity: 0.9; }
.p-num-green  { color: #8BC34A; }
.p-num-blue   { color: #378ADD; }
.p-name { font-size: var(--fs-label); font-weight: 500; color: #ffffff; letter-spacing: 0.04em; margin-bottom: 8px; line-height: 1.3; }
.p-desc { font-size: var(--fs-body-xs); font-weight: 300; color: rgba(255,255,255,0.45); line-height: 1.7; }


/* ============================================================
   SECTION — CORE INITIATIVES
   ============================================================ */

.init-illustration {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.init-card { display: flex; flex-direction: column; }

.init-card:nth-child(1) .init-illustration { background: linear-gradient(145deg, #071a11 0%, #0d3020 60%, #1a4a2a 100%); }
.init-card:nth-child(2) .init-illustration { background: linear-gradient(145deg, #0a1e14 0%, #0F6E56 70%, #1D9E75 100%); }
.init-card:nth-child(3) .init-illustration { background: linear-gradient(145deg, #071a11 0%, #0a2040 60%, #185FA5 100%); }
.init-card:nth-child(4) .init-illustration { background: linear-gradient(145deg, #071a11 0%, #0d3020 60%, #1a4a2a 100%); }
.init-card:nth-child(5) .init-illustration { background: linear-gradient(145deg, #0a1e14 0%, #0F6E56 70%, #1D9E75 100%); }
.init-card:nth-child(6) .init-illustration { background: linear-gradient(145deg, #071a11 0%, #0a2040 60%, #185FA5 100%); }

.init-illustration::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
  background-size: 22px 22px;
}

.init-tag  { position: absolute; top: 16px; left: 16px; }
.init-body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.init-name { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; color: #071a11; line-height: 1.2; margin-bottom: 12px; }
.init-desc { font-size: var(--fs-body-sm); font-weight: 300; color: #6B6B64; line-height: 1.85; margin-bottom: 24px; flex: 1; }
.init-meta { display: flex; align-items: center; justify-content: space-between; }

/* Programs cards — hold the button on one line; let the meta label take the slack */
.init-meta { gap: 14px; align-items: center; }
.init-meta .teif-label { flex: 1 1 auto; min-width: 0; }
.init-meta .teif-btn-green { flex: 0 0 auto; white-space: nowrap; }


/* ============================================================
   SECTION — BOARD OF DIRECTORS
   ============================================================ */

.board-photo {
  height: 320px;
  position: relative;
  overflow: hidden;
}

.board-card:nth-child(1) .board-photo { background: linear-gradient(145deg, #0a2218, #0F6E56 120%); }
.board-card:nth-child(2) .board-photo { background: linear-gradient(145deg, #071a11, #1D9E75 120%); }
.board-card:nth-child(3) .board-photo { background: linear-gradient(145deg, #0d2218, #0F6E56 130%); }
.board-card:nth-child(4) .board-photo { background: linear-gradient(145deg, #071a11, #185FA5 130%); }

.board-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 20px 20px;
}

.board-photo-line {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8BC34A 40%, #378ADD 60%, transparent);
}

.board-body  { padding: 22px 22px 26px; }
.board-name  { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: #071a11; margin-bottom: 4px; line-height: 1.2; }
.board-role  { font-size: var(--fs-label-sm); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: #8BC34A; margin-bottom: 12px; }
.board-bio   { font-size: var(--fs-body-xs); font-weight: 300; color: #6B6B64; line-height: 1.75; }

.board-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-label-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s;
}

.board-linkedin:hover { color: #378ADD; }
.board-linkedin svg   { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.5; }
/* ----- 6-card grid (two rows of 3) ----- */
.teif-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .teif-grid-6 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .teif-grid-6 { grid-template-columns: 1fr; }
}

/* keep all 6 cards equal height regardless of bio length */
.teif-grid-6 .board-card {
  display: flex;
  flex-direction: column;
}
.teif-grid-6 .board-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* ----- photo container: uniform crop for all 6 ----- */
.board-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;  /* bias toward upper area so faces aren't cut off */
  display: block;
  z-index: 2;
}

/* dot texture only shows on the placeholder (no real photo) */
.board-photo:has(img)::before { display: none; }

/* gradient accent line stays on top of the photo */
.board-photo-line { z-index: 3; }

/* push LinkedIn link / divider to the bottom so cards align */
.teif-grid-6 .board-linkedin,
.teif-grid-6 .board-body .teif-divider { margin-top: auto; }


/* ============================================================
   SECTION — TESTIMONIALS
   ============================================================ */

.testi-card   { display: flex; flex-direction: column; }
.testi-author { display: flex; align-items: center; gap: 14px; }

.testi-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 600;
  color: #378ADD;
  line-height: 0.6;
  margin-bottom: 20px;
  opacity: 0.5;
}

.testi-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: #2C2C28;
  line-height: 1.75;
  margin-bottom: 28px;
  flex: 1;
}

.testi-card::after { background: #378ADD; }

.testi-card:nth-child(1) .teif-avatar { background: linear-gradient(135deg, #0F6E56, #378ADD); }
.testi-card:nth-child(2) .teif-avatar { background: linear-gradient(135deg, #185FA5, #378ADD); }
.testi-card:nth-child(3) .teif-avatar { background: linear-gradient(135deg, #0F6E56, #185FA5); }

.testi-name { font-size: var(--fs-body-sm); font-weight: 500; color: #071a11; margin-bottom: 2px; }
.testi-role { font-size: var(--fs-label-sm); font-weight: 400; color: #378ADD; letter-spacing: 0.06em; }


/* ============================================================
   SECTION — HERO
   ============================================================ */

.teif-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.teif-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.teif-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(6,21,25,0.98) 0%, rgba(6,21,25,0.85) 45%, rgba(6,21,25,0.3) 75%, rgba(6,21,25,0.15) 100%),
    linear-gradient(to bottom, rgba(6,21,25,0.5) 0%, transparent 20%, transparent 80%, rgba(6,21,25,0.6) 100%);
}

.teif-hero-radar {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 900px) {
  .teif-hero-radar { display: none; }
}

.teif-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 100px 5vw;
  max-width: 1300px;
  margin: 0 auto;
}

.teif-hero-content { max-width: 680px; }

.teif-hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.05;
  margin: 20px 0 24px;
  letter-spacing: -0.01em;
}

.teif-hero-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.teif-hero-sub {
  font-size: 1.0625rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 40px;
}

.teif-hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 32px;
}

.teif-hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.teif-hero-stat-label {
  font-size: var(--fs-label-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

@media (max-width: 600px) {
  .teif-hero-stats { gap: 24px; }
  .teif-hero-headline { font-size: clamp(2.2rem, 8vw, 3.5rem); }
}


/* ============================================================
   SECTION — SPLIT (image left, content right)
   ============================================================ */

.teif-split-section { padding: 0 !important; }

.teif-split-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

@media (max-width: 900px) {
  .teif-split-wrap { grid-template-columns: 1fr; }
  .teif-split-image { height: 340px; }
}

.teif-split-image {
  position: relative;
  overflow: hidden;
}

.teif-split-content {
  padding: 72px 56px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 1100px) { .teif-split-content { padding: 56px 40px; } }
@media (max-width: 900px)  { .teif-split-content { padding: 48px 5vw; } }

.teif-split-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 32px;
}

.teif-split-block {
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, #8BC34A 0%, #378ADD 100%) 1;
  padding-left: 20px;
}

.teif-split-block-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.teif-split-block-text {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  margin: 0;
}


/* ============================================================
   SECTION — CTA
   ============================================================ */

.cta-section-wrap { position: relative; overflow: hidden; }

.cta-section-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(15,110,86,0.06) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-section-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #8BC34A 40%, #378ADD 60%, transparent);
}

.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  color: #071a11;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.cta-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-headline .teif-em-lime {
  font-style: italic;
  background: linear-gradient(90deg, #378ADD 0%, #8BC34A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-sub {
  font-size: 1.0625rem;
  font-weight: 300;
  color: #6B6B64;
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 44px;
}

.cta-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

@media (max-width: 600px) {
  .cta-pills { flex-direction: column; align-items: center; }
}
/* ============================================================
   SECTION — CONFERENCE BANNER (EITRI 2026)
   ============================================================ */
.teif-conf-banner { position: relative; padding-top: 0 !important; padding-bottom: 0 !important; overflow: hidden; }
.conf-bg-blur {
  position: absolute; inset: 0;
  background-image: url('https://slategrey-vulture-639004.hostingersite.com/wp-content/uploads/2026/04/corpus-christi-hero-imaage.jpg');
  background-size: cover; background-position: center;
  filter: blur(48px) brightness(0.12) saturate(0.5);
  transform: scale(1.1); z-index: 0;
}
.conf-bg-overlay { position: absolute; inset: 0; background: rgba(6,21,25,0.82); z-index: 1; pointer-events: none; }
.conf-inner { position: relative; z-index: 3; max-width: 1200px; margin: 0 auto; padding: 88px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.conf-content { display: flex; flex-direction: column; }
.conf-headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.2rem, 3.8vw, 3.4rem); font-weight: 600; color: #ffffff; line-height: 1.1; margin: 18px 0 10px; letter-spacing: -0.01em; }
.conf-headline em { font-style: italic; background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.conf-theme { font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-bottom: 20px; }
.conf-sub { font-size: var(--fs-body); font-weight: 300; color: rgba(255,255,255,0.58); line-height: 1.85; max-width: 480px; margin-bottom: 28px; }
.conf-sub strong { color: rgba(255,255,255,0.85); font-weight: 500; }
.conf-meta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.conf-meta-pill { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 16px; }
.conf-meta-pill svg { width: 18px; height: 18px; stroke: #8BC34A; flex-shrink: 0; }
.conf-meta-pill strong { display: block; font-size: var(--fs-body-xs); font-weight: 500; color: #fff; line-height: 1.2; }
.conf-meta-pill span { display: block; font-size: var(--fs-label-sm); color: rgba(255,255,255,0.4); letter-spacing: 0.04em; }
.conf-preconf { background: rgba(139,195,74,0.07); border: 1px solid rgba(139,195,74,0.2); border-left: 3px solid #8BC34A; border-radius: 0 8px 8px 0; padding: 12px 18px; margin-bottom: 4px; }
.conf-preconf-label { font-size: var(--fs-label-sm); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8BC34A; margin-bottom: 3px; }
.conf-preconf-dates { font-size: var(--fs-body-xs); font-weight: 300; color: rgba(255,255,255,0.55); }
.conf-contact { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 20px; font-size: var(--fs-body-xs); color: rgba(255,255,255,0.3); }
.conf-contact a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.conf-contact a:hover { color: #378ADD; }
.conf-contact-sep { opacity: 0.3; }
.conf-photos { position: relative; height: 440px; }
.conf-photo-main { position: absolute; top: 0; left: 0; width: 82%; height: 76%; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 28px 64px rgba(0,0,0,0.55); z-index: 2; }
.conf-photo-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.conf-photo-main-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,21,25,0.6) 0%, transparent 50%); }
.conf-photo-main::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%); z-index: 4; }
.conf-photo-badge-wrap { position: absolute; bottom: 16px; left: 16px; z-index: 5; }
.conf-date-badge { background: rgba(6,21,25,0.85); border: 1px solid rgba(139,195,74,0.35); border-radius: 10px; padding: 10px 16px; text-align: center; backdrop-filter: blur(8px); }
.conf-date-badge-month { font-size: var(--fs-label-xs); font-weight: 600; letter-spacing: 0.18em; color: #8BC34A; text-transform: uppercase; }
.conf-date-badge-days { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; color: #fff; line-height: 1; }
.conf-date-badge-year { font-size: var(--fs-label-sm); color: rgba(255,255,255,0.4); letter-spacing: 0.1em; }
.conf-photo-secondary { position: absolute; bottom: 0; right: 0; width: 56%; height: 52%; border-radius: 12px; overflow: hidden; border: 2px solid rgba(55,138,221,0.3); box-shadow: 0 16px 40px rgba(0,0,0,0.5); z-index: 3; }
.conf-photo-secondary img { width: 100%; height: 100%; object-fit: cover; display: block; }
.conf-photo-secondary-label { position: absolute; bottom: 10px; left: 12px; }
.conf-event-title { display: flex; flex-direction: column; margin: 14px 0 6px; }
.conf-event-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.6rem, 4.5vw, 4rem); font-weight: 700; color: #ffffff; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase; }
.conf-event-desc { font-size: var(--fs-label); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 6px; margin-bottom: 4px; }
@media (max-width: 960px) {
  .conf-inner { grid-template-columns: 1fr; padding: 72px 0; gap: 48px; }
  .conf-photos { height: 340px; }
}
@media (max-width: 560px) {
  .conf-photos { height: 280px; }
  .conf-meta-row { flex-direction: column; }
}
/* Board photos — when an actual headshot is uploaded */
.board-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* ============================================================
   SECTION — ABOUT HERO
   ============================================================ */

.about-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 5vw;
  text-align: center;
}

.about-hero-eyebrow {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8BC34A;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.about-hero-eyebrow::before,
.about-hero-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: #8BC34A;
  opacity: 0.5;
}

.about-hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.about-hero-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  margin: 0 auto 32px;
  border-radius: 2px;
}

.about-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 620px;
  margin: 0 auto 56px;
}

.about-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 36px;
  max-width: 720px;
  margin: 0 auto;
}

.about-hero-stat {
  flex: 1;
  text-align: center;
  min-width: 140px;
  padding: 0 16px;
}

.about-hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.about-hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-hero-stat-label {
  font-size: var(--fs-label-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 700px) {
  .about-hero-inner { padding: 96px 6vw; }
  .about-hero-stats { gap: 8px; padding-top: 28px; }
  .about-hero-stat-divider { display: none; }
  .about-hero-stat { flex: 1 1 40%; min-width: 0; padding: 12px 8px; }
}
/* ============================================================
   SECTION — 12 PRINCIPLES (ELABORATE)
   About-page version: alternating scroll narrative
   ============================================================ */

.principles-elaborate {
  padding: 120px 5vw;
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
  position: relative;
  overflow: hidden;
}

.principles-elaborate-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Section header reuses base classes (.teif-header, .teif-eyebrow, .teif-title-light, .teif-sub-light) */
.principles-elaborate .teif-header { margin-bottom: 96px; }

/* Vertical connecting line through the page */
.principles-spine {
  position: absolute;
  top: 200px;
  bottom: 80px;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(139,195,74,0.15) 8%,
    rgba(55,138,221,0.15) 92%,
    transparent 100%
  );
  pointer-events: none;
  transform: translateX(-0.5px);
  z-index: 0;
}

@media (max-width: 900px) {
  .principles-spine { display: none; }
}

/* Each principle row */
.principle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 96px;
  position: relative;
  z-index: 1;
}

.principle-row:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .principle-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 64px;
  }
}

/* Alternating layout — numeral on left for odd, right for even */
.principle-row:nth-child(even) .principle-numeral { order: 2; }
.principle-row:nth-child(even) .principle-content { order: 1; }

@media (max-width: 900px) {
  .principle-row:nth-child(even) .principle-numeral,
  .principle-row:nth-child(even) .principle-content {
    order: initial;
  }
}

/* Numeral side */
.principle-numeral {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.principle-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(7rem, 14vw, 12rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  position: relative;
}

.principle-num.is-green {
  background: linear-gradient(135deg, #8BC34A 0%, #5a9c2e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.principle-num.is-blue {
  background: linear-gradient(135deg, #378ADD 0%, #185FA5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle glow behind numeral */
.principle-num::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.5;
  filter: blur(40px);
}

.principle-num.is-green::before {
  background: radial-gradient(circle, rgba(139,195,74,0.25) 0%, transparent 70%);
}

.principle-num.is-blue::before {
  background: radial-gradient(circle, rgba(55,138,221,0.25) 0%, transparent 70%);
}

/* Content side */
.principle-content {
  max-width: 480px;
}

@media (max-width: 900px) {
  .principle-content { max-width: 100%; }
}

/* Category badge */
.principle-badge {
  display: inline-block;
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.principle-badge.cat-foundational {
  color: #5a9c2e;
  background: rgba(139,195,74,0.1);
  border: 1px solid rgba(139,195,74,0.25);
}

.principle-badge.cat-behavioral {
  color: #185FA5;
  background: rgba(55,138,221,0.08);
  border: 1px solid rgba(55,138,221,0.22);
}

.principle-badge.cat-practice {
  color: #0F6E56;
  background: rgba(15,110,86,0.08);
  border: 1px solid rgba(15,110,86,0.22);
}

/* Principle heading */
.principle-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 600;
  color: #071a11;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

/* Short tagline */
.principle-tagline {
  font-size: 17px;
  font-weight: 400;
  font-style: italic;
  color: #6B6B64;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Detailed description */
.principle-desc {
  font-size: var(--fs-body-lg);
  font-weight: 300;
  color: #4a4a44;
  line-height: 1.85;
  margin-bottom: 24px;
}

/* In Practice callout */
.principle-practice {
  background: #faf9f6;
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #8BC34A 0%, #378ADD 100%) 1;
  padding: 18px 22px;
  border-radius: 0 6px 6px 0;
}

.principle-practice-label {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-bottom: 6px;
}

.principle-practice-text {
  font-size: var(--fs-body);
  font-weight: 400;
  font-style: italic;
  color: #6B6B64;
  line-height: 1.65;
}
/* ============================================================
   SECTION — EMOTIONAL LEARNING SYSTEM (ELS)
   ============================================================ */

.els-section {
  position: relative;
  padding: 120px 5vw;
  overflow: hidden;
  font-family: 'DM Sans', sans-serif;
}

.els-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Header reuses .teif-header / .teif-eyebrow / .teif-title-dark / .teif-sub-dark */
.els-section .teif-header { margin-bottom: 80px; }

/* The 5-step grid */
.els-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  margin-bottom: 64px;
}

@media (max-width: 1100px) {
  .els-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 600px) {
  .els-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Connecting line behind cards on desktop */
.els-grid::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(139,195,74,0.2) 15%,
    rgba(55,138,221,0.2) 85%,
    transparent 100%
  );
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .els-grid::before { display: none; }
}

/* Each step card */
.els-step {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px 24px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
}

.els-step:hover {
  transform: translateY(-4px);
  border-color: rgba(139,195,74,0.25);
  background: rgba(255,255,255,0.04);
}

/* The big letter (A, B, C, D, E) */
.els-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
}

/* Letter color variations — gradient progression across steps */
.els-step:nth-child(1) .els-letter { background: linear-gradient(135deg, #8BC34A, #5a9c2e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.els-step:nth-child(2) .els-letter { background: linear-gradient(135deg, #5a9c2e, #378ADD); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.els-step:nth-child(3) .els-letter { background: linear-gradient(135deg, #378ADD, #185FA5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.els-step:nth-child(4) .els-letter { background: linear-gradient(135deg, #0F6E56, #378ADD); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.els-step:nth-child(5) .els-letter { background: linear-gradient(135deg, #8BC34A, #185FA5); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.els-step-label {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}

.els-step-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 6px;
}

.els-step-action {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
  display: block;
}

.els-step-desc {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}

.els-step-example {
  font-size: var(--fs-body-xs);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.els-step-example::before {
  content: '"';
  margin-right: 2px;
}
.els-step-example::after {
  content: '"';
  margin-left: 2px;
}

/* Cycle reinforcement note */
.els-cycle {
  text-align: center;
  margin-bottom: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.els-cycle-line {
  flex: 0 0 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,195,74,0.4), rgba(55,138,221,0.4), transparent);
}

.els-cycle-text {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.els-cycle-arrow {
  display: inline-block;
  font-size: var(--fs-body-lg);
  color: #8BC34A;
}

/* The closing tagline */
.els-tagline {
  text-align: center;
  position: relative;
  padding: 48px 0 16px;
}

.els-tagline-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin: 0;
}

.els-tagline-text em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.els-tagline-attr {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-top: 24px;
  display: block;
}
/* ============================================================
   SECTION — BOARD FULL (About page)
   ============================================================ */

.board-full-section {
  position: relative;
  padding: 120px 5vw;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.board-full-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Section header reuses .teif-header / .teif-eyebrow / .teif-title-dark / .teif-sub-dark */
.board-full-section .teif-header { margin-bottom: 64px; }

/* Group divider with eyebrow */
.bf-group-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 16px 0 40px;
}

.bf-group-divider:first-of-type { margin-top: 0; }

.bf-group-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,195,74,0.25), rgba(55,138,221,0.25), transparent);
  max-width: 200px;
}

.bf-group-eyebrow {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  white-space: nowrap;
}

/* Member card */
.bf-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.bf-card:hover {
  border-color: rgba(139,195,74,0.2);
  background: rgba(255,255,255,0.035);
  transform: translateY(-2px);
}

@media (max-width: 720px) {
  .bf-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
}

/* Photo column */
.bf-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(139,195,74,0.15), rgba(55,138,221,0.15));
}

.bf-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.bf-photo-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.02em;
}

@media (max-width: 720px) {
  .bf-photo {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* Content column */
.bf-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bf-eyebrow {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.bf-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.bf-role {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 2px;
}

.bf-affiliation {
  font-size: var(--fs-body-sm);
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-bottom: 18px;
}

.bf-bio {
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* Badges */
.bf-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.bf-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  color: #8BC34A;
  background: rgba(139,195,74,0.08);
  border: 1px solid rgba(139,195,74,0.25);
}

/* LinkedIn link */
.bf-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-body-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-top: 14px;
  transition: color 0.2s ease;
}

.bf-linkedin:hover { color: #378ADD; }

.bf-linkedin svg { width: 14px; height: 14px; }

/* Memorial block */
.bf-memorial {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(90deg, rgba(139,195,74,0.04) 0%, rgba(55,138,221,0.04) 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #8BC34A 0%, #378ADD 100%) 1;
  border-radius: 8px;
  padding: 24px 32px;
  margin: 32px 0;
  position: relative;
}

@media (max-width: 600px) {
  .bf-memorial {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }
}

.bf-memorial-photo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
}

.bf-memorial-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bf-memorial-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.bf-memorial-content {
  flex: 1;
  min-width: 0;
}

.bf-memorial-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

@media (max-width: 600px) {
  .bf-memorial-header { justify-content: center; }
}

.bf-memorial-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(139,195,74,0.7);
}

.bf-memorial-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.bf-memorial-years {
  font-size: var(--fs-label);
  font-weight: 400;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

.bf-memorial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.bf-memorial-quote::before { content: '"'; margin-right: 2px; }
.bf-memorial-quote::after { content: '"'; margin-left: 2px; }
/* ============================================================
   SECTION — THREE GUIDING QUESTIONS
   ============================================================ */

.guiding-questions {
  position: relative;
  padding: 120px 5vw;
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.guiding-questions-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Section header reuses .teif-header / .teif-eyebrow / .teif-title-light / .teif-sub-light */
.guiding-questions .teif-header { margin-bottom: 80px; }

/* Origin date stamp above the questions */
.gq-date-stamp {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.gq-date-stamp::before,
.gq-date-stamp::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,110,86,0.3), transparent);
  vertical-align: middle;
  margin: 0 16px;
}

.gq-date-stamp-text {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #0F6E56;
  display: inline-block;
  vertical-align: middle;
}

/* Questions list */
.gq-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin-bottom: 64px;
}

.gq-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 700px) {
  .gq-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Big numeral */
.gq-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: right;
  padding-top: 8px;
}

@media (max-width: 700px) {
  .gq-num {
    text-align: left;
    font-size: 4rem;
  }
}

/* Question text */
.gq-content { min-width: 0; }

.gq-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 500;
  font-style: italic;
  color: #071a11;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e5df;
}

.gq-finding-label {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-bottom: 10px;
}

.gq-finding {
  font-size: var(--fs-body-lg);
  font-weight: 300;
  color: #4a4a44;
  line-height: 1.85;
}

.gq-finding strong {
  font-weight: 500;
  color: #071a11;
}

/* Closing note */
.gq-closing {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #e8e5df;
  margin-top: 16px;
}

.gq-closing-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  font-style: italic;
  color: #6B6B64;
  line-height: 1.5;
  max-width: 700px;
  margin: 0 auto;
}

.gq-closing-text em {
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}
/* ============================================================
   SECTION — FOUNDERS & HISTORY
   ============================================================ */

.founders-history {
  position: relative;
  padding: 120px 5vw;
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.founders-history-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.founders-history .teif-header { margin-bottom: 64px; }

/* === ACT 1 — FOUNDERS === */

.fh-founders-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: stretch;
  gap: 0;
  margin-bottom: 56px;
}

@media (max-width: 800px) {
  .fh-founders-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.fh-founder {
  text-align: center;
  padding: 32px 24px;
}

.fh-founder-portrait {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,195,74,0.12), rgba(55,138,221,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: #0F6E56;
  letter-spacing: -0.02em;
  border: 1px solid #e8e5df;
  position: relative;
  overflow: hidden;
}

.fh-founder-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.fh-founder-eyebrow {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-bottom: 10px;
}

.fh-founder-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 600;
  color: #071a11;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.fh-founder-years {
  font-size: var(--fs-label);
  font-weight: 400;
  color: #6B6B64;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  font-style: italic;
}

.fh-founder-note {
  font-size: 14.5px;
  font-weight: 300;
  color: #4a4a44;
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

/* The "&" symbol between founders */
.fh-amp {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.fh-amp::before,
.fh-amp::after {
  content: '';
  position: absolute;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(15,110,86,0.2) 50%,
    transparent 100%
  );
  height: 60%;
  left: 50%;
  transform: translateX(-50%);
}

.fh-amp::before { top: 0; }
.fh-amp::after { bottom: 0; }

.fh-amp-symbol {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 400;
  font-style: italic;
  background: linear-gradient(135deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
  background-color: #ffffff;
  padding: 8px 0;
}

@media (max-width: 800px) {
  .fh-amp { padding: 0; }
  .fh-amp::before, .fh-amp::after { display: none; }
}

/* === FOUNDERS QUOTE === */

.fh-quote {
  background: linear-gradient(135deg, rgba(139,195,74,0.04) 0%, rgba(55,138,221,0.04) 100%);
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #8BC34A 0%, #378ADD 100%) 1;
  padding: 36px 40px;
  margin: 0 auto 96px;
  max-width: 720px;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.fh-quote-mark {
  position: absolute;
  top: 0;
  left: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(135deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.6;
}

.fh-quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: #071a11;
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
  padding-left: 32px;
}

.fh-quote-attr {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0F6E56;
  padding-left: 32px;
}

/* === ACT 2 — TIMELINE === */

.fh-timeline-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 64px;
}

.fh-timeline-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15,110,86,0.25), transparent);
  max-width: 200px;
}

.fh-timeline-eyebrow {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #0F6E56;
  white-space: nowrap;
}

.fh-timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 32px;
}

@media (max-width: 600px) {
  .fh-timeline { padding-left: 24px; }
}

/* Vertical spine */
.fh-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(139,195,74,0.3) 5%,
    rgba(55,138,221,0.3) 95%,
    transparent 100%
  );
}

.fh-milestone {
  position: relative;
  padding-bottom: 40px;
  padding-left: 28px;
}

.fh-milestone:last-child { padding-bottom: 0; }

/* Dot on timeline */
.fh-milestone::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 14px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid;
  border-image: linear-gradient(135deg, #8BC34A, #378ADD) 1;
  box-shadow: 0 0 0 4px #ffffff, 0 0 0 5px rgba(139,195,74,0.15);
  z-index: 1;
}

@media (max-width: 600px) {
  .fh-milestone::before {
    left: -24px;
    width: 11px;
    height: 11px;
  }
}

.fh-milestone-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(135deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  display: inline-block;
}

.fh-milestone-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #071a11;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}

.fh-milestone-desc {
  font-size: var(--fs-body);
  font-weight: 300;
  color: #4a4a44;
  line-height: 1.7;
  max-width: 580px;
}

/* === OPTIONAL TREE / LINEAGE IMAGE === */

.fh-lineage {
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid #e8e5df;
  text-align: center;
}

.fh-lineage-eyebrow {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-bottom: 16px;
}

.fh-lineage-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: #071a11;
  line-height: 1.2;
  margin-bottom: 16px;
}

.fh-lineage-intro {
  font-size: var(--fs-body-lg);
  font-weight: 300;
  color: #4a4a44;
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto 40px;
}

.fh-lineage-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.fh-lineage-caption {
  font-size: var(--fs-body-xs);
  font-weight: 400;
  font-style: italic;
  color: #6B6B64;
  margin-top: 20px;
  line-height: 1.5;
}
/* ============================================================
   SECTION — RESEARCH SHOWCASE
   ============================================================ */

.research-showcase {
  position: relative;
  padding: 120px 5vw;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.research-showcase-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.research-showcase .teif-header { margin-bottom: 56px; }

/* Stat row */
.rs-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 28px 0;
  margin-bottom: 64px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.rs-stat {
  flex: 1;
  text-align: center;
  min-width: 140px;
  padding: 0 16px;
}

.rs-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.rs-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rs-stat-label {
  font-size: var(--fs-label-sm);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 700px) {
  .rs-stats { gap: 8px; padding: 20px 0; }
  .rs-stat-divider { display: none; }
  .rs-stat { flex: 1 1 30%; min-width: 0; padding: 8px; }
}

/* Publications grid */
.research-showcase .rs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: start;          /* cards size to their own content — kills the stretch + voids */
  gap: 20px;
  margin-bottom: 56px;
}

@media (max-width: 800px) {
  .research-showcase .rs-grid { grid-template-columns: 1fr !important; gap: 16px; }
}

/* Publication card */
.rs-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  position: relative;
}

.rs-card:hover {
  border-color: rgba(139,195,74,0.25);
  background: rgba(255,255,255,0.04);
  transform: translateY(-3px);
}

/* Top row: type badge + year */
.rs-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}

.rs-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
}

.rs-badge.type-book {
  color: #8BC34A;
  background: rgba(139,195,74,0.08);
  border: 1px solid rgba(139,195,74,0.25);
}

.rs-badge.type-article {
  color: #378ADD;
  background: rgba(55,138,221,0.08);
  border: 1px solid rgba(55,138,221,0.25);
}

.rs-badge.type-chapter {
  color: #5a9c2e;
  background: rgba(90,156,46,0.08);
  border: 1px solid rgba(90,156,46,0.25);
}

.rs-badge.type-dissertation {
  color: #0F6E56;
  background: rgba(15,110,86,0.1);
  border: 1px solid rgba(15,110,86,0.3);
}

.rs-card-year {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}

/* Title */
.rs-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
}

.rs-card-title em {
  font-style: italic;
}

/* Authors */
.rs-card-authors {
  font-size: var(--fs-body-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Description */
.rs-card-desc {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 18px;
  flex-grow: 1;
}

/* Citation footer */
.rs-card-citation {
  font-size: var(--fs-body-xs);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  line-height: 1.55;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Optional link arrow */
.rs-card-link {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139,195,74,0.08);
  border: 1px solid rgba(139,195,74,0.2);
  color: #8BC34A;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: var(--fs-body-sm);
}

.rs-card-link:hover {
  background: rgba(139,195,74,0.15);
  border-color: rgba(139,195,74,0.4);
  transform: translate(2px, -2px);
}

/* Archive CTA */
.rs-archive {
  text-align: center;
  padding-top: 24px;
}

.rs-archive-text {
  font-size: var(--fs-body);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 24px;
}

.rs-archive-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(90deg, rgba(139,195,74,0.15), rgba(55,138,221,0.15));
  border: 1px solid rgba(139,195,74,0.3);
  border-radius: 30px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rs-archive-link:hover {
  background: linear-gradient(90deg, rgba(139,195,74,0.25), rgba(55,138,221,0.25));
  border-color: rgba(139,195,74,0.5);
  transform: translateY(-2px);
}

.rs-archive-link svg {
  width: 14px;
  height: 14px;
}
/* ============================================================
   SECTION — SERVICES HERO
   ============================================================ */

.services-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.services-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 5vw;
  text-align: center;
}

.services-hero-eyebrow {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8BC34A;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.services-hero-eyebrow::before,
.services-hero-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: #8BC34A;
  opacity: 0.5;
}

.services-hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.services-hero-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-hero-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  margin: 0 auto 32px;
  border-radius: 2px;
}

.services-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 56px;
}

.services-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 36px;
  max-width: 720px;
  margin: 0 auto;
}

.services-hero-stat {
  flex: 1;
  text-align: center;
  min-width: 140px;
  padding: 0 16px;
}

.services-hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.services-hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-hero-stat-label {
  font-size: var(--fs-label-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 700px) {
  .services-hero-inner { padding: 96px 6vw; }
  .services-hero-stats { gap: 8px; padding-top: 28px; }
  .services-hero-stat-divider { display: none; }
  .services-hero-stat { flex: 1 1 40%; min-width: 0; padding: 12px 8px; }
}
/* ============================================================
   SECTION — EILS INSTRUMENTS
   ============================================================ */

.instruments-section {
  position: relative;
  padding: 120px 5vw;
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.instruments-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.instruments-section .teif-header { margin-bottom: 64px; }

/* Grid */
.instruments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

@media (max-width: 800px) {
  .instruments-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Instrument card */
.instrument-card {
  background: #ffffff;
  border: 1px solid #e8e5df;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.instrument-card:hover {
  border-color: rgba(139,195,74,0.4);
  box-shadow: 0 12px 32px rgba(15,110,86,0.06);
  transform: translateY(-3px);
}

/* Top row: badge + abbreviation */
.instrument-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}

.instrument-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  color: #5a9c2e;
  background: rgba(139,195,74,0.1);
  border: 1px solid rgba(139,195,74,0.3);
}

.instrument-abbr {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Title */
.instrument-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #071a11;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 14px;
}

/* What it measures */
.instrument-measures-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-bottom: 6px;
}

.instrument-measures {
  font-size: var(--fs-body-sm);
  font-weight: 400;
  color: #4a4a44;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* Description */
.instrument-desc {
  font-size: 14.5px;
  font-weight: 300;
  color: #6B6B64;
  line-height: 1.75;
  margin-bottom: 24px;
  flex-grow: 1;
}

/* Audience tag */
.instrument-audience {
  font-size: 12.5px;
  font-weight: 400;
  font-style: italic;
  color: #6B6B64;
  padding-top: 16px;
  border-top: 1px solid #e8e5df;
  margin-bottom: 18px;
}

.instrument-audience strong {
  font-weight: 600;
  color: #071a11;
  font-style: normal;
}

/* Learn more link */
.instrument-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #185FA5;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.instrument-link:hover {
  gap: 12px;
  color: #0F6E56;
}

.instrument-link svg {
  width: 14px;
  height: 14px;
}

/* Footer note */
.instruments-footer {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #e8e5df;
}

.instruments-footer-text {
  font-size: 14.5px;
  font-weight: 300;
  font-style: italic;
  color: #6B6B64;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 20px;
}

.instruments-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(90deg, rgba(139,195,74,0.12), rgba(55,138,221,0.12));
  border: 1px solid rgba(139,195,74,0.35);
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0F6E56;
  text-decoration: none;
  transition: all 0.3s ease;
}

.instruments-footer-link:hover {
  background: linear-gradient(90deg, rgba(139,195,74,0.22), rgba(55,138,221,0.22));
  border-color: rgba(139,195,74,0.5);
  transform: translateY(-2px);
  color: #185FA5;
}

.instruments-footer-link svg {
  width: 14px;
  height: 14px;
}
/* ============================================================
   SECTION — SCHOLARSHIPS & GRANTS (FUNDING)
   ============================================================ */

.funding-section {
  position: relative;
  padding: 120px 5vw;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.funding-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.funding-section .teif-header { margin-bottom: 64px; }

/* Two-card grid */
.funding-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

@media (max-width: 900px) {
  .funding-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Funding card */
.funding-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.funding-card:hover {
  border-color: rgba(139,195,74,0.25);
  background: rgba(255,255,255,0.04);
  transform: translateY(-4px);
}

/* Top accent bar — different color per card */
.funding-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.funding-card.is-grant::before {
  background: linear-gradient(90deg, #8BC34A 0%, #5a9c2e 100%);
}

.funding-card.is-scholarship::before {
  background: linear-gradient(90deg, #378ADD 0%, #185FA5 100%);
}

/* Type label */
.funding-type {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.funding-card.is-grant .funding-type { color: #8BC34A; }
.funding-card.is-scholarship .funding-type { color: #378ADD; }

/* Award name */
.funding-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.funding-name em {
  font-style: italic;
}

/* In honor of */
.funding-honor {
  font-size: var(--fs-body-xs);
  font-weight: 400;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Description */
.funding-desc {
  font-size: var(--fs-body);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Award details list */
.funding-details {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.funding-details li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: start;
  font-size: var(--fs-body-sm);
  line-height: 1.6;
}

.funding-detail-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  padding-top: 2px;
}

.funding-detail-value {
  color: rgba(255,255,255,0.75);
  font-weight: 400;
}

@media (max-width: 500px) {
  .funding-details li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* Apply button */
.funding-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.funding-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 30px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid;
}

.funding-card.is-grant .funding-apply {
  background: linear-gradient(90deg, rgba(139,195,74,0.15), rgba(90,156,46,0.15));
  border-color: rgba(139,195,74,0.4);
  color: #8BC34A;
}

.funding-card.is-grant .funding-apply:hover {
  background: linear-gradient(90deg, rgba(139,195,74,0.3), rgba(90,156,46,0.3));
  border-color: rgba(139,195,74,0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

.funding-card.is-scholarship .funding-apply {
  background: linear-gradient(90deg, rgba(55,138,221,0.15), rgba(24,95,165,0.15));
  border-color: rgba(55,138,221,0.4);
  color: #378ADD;
}

.funding-card.is-scholarship .funding-apply:hover {
  background: linear-gradient(90deg, rgba(55,138,221,0.3), rgba(24,95,165,0.3));
  border-color: rgba(55,138,221,0.6);
  color: #ffffff;
  transform: translateY(-2px);
}

.funding-apply svg {
  width: 14px;
  height: 14px;
}

.funding-apply-note {
  font-size: var(--fs-body-xs);
  font-style: italic;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* Footer note below the cards */
.funding-footer {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.funding-footer-text {
  font-size: 14.5px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}
/* ============================================================
   SECTION — DONATE STRIP (mid-page CTA)
   ============================================================ */

.donate-strip {
  position: relative;
  padding: 64px 5vw;
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.donate-strip-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;

  background: linear-gradient(
    135deg,
    rgba(139,195,74,0.06) 0%,
    rgba(55,138,221,0.06) 100%
  );
  border: 1px solid #e8e5df;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #8BC34A 0%, #378ADD 100%) 1;
  border-radius: 0 12px 12px 0;
  padding: 36px 44px;
}

@media (max-width: 800px) {
  .donate-strip-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 28px;
    text-align: center;
  }
}

.donate-strip-content {
  min-width: 0;
}

.donate-strip-eyebrow {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-bottom: 8px;
}

.donate-strip-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  color: #071a11;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
}

.donate-strip-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.donate-strip-sub {
  font-size: 14.5px;
  font-weight: 300;
  color: #6B6B64;
  line-height: 1.6;
  margin: 0;
}

/* Button */
.donate-strip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #378ADD 0%, #185FA5 100%);
  color: #ffffff;
  border-radius: 30px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.donate-strip-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(55, 138, 221, 0.25);
  filter: brightness(1.05);
}

.donate-strip-btn svg {
  width: 14px;
  height: 14px;
}
/* ============================================================
   SECTION — CENTER OF EXCELLENCE (COE) ROADMAP
   ============================================================ */

.coe-section {
  position: relative;
  padding: 120px 5vw;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.coe-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.coe-section .teif-header { margin-bottom: 64px; }

/* "Coming Soon" badge in the header */
.coe-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(139,195,74,0.1);
  border: 1px solid rgba(139,195,74,0.3);
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8BC34A;
  margin-bottom: 24px;
}

.coe-status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8BC34A;
  box-shadow: 0 0 0 3px rgba(139,195,74,0.2);
  animation: coe-pulse 2s ease-in-out infinite;
}

@keyframes coe-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(139,195,74,0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(139,195,74,0.05); }
}

/* Roadmap container */
.coe-roadmap {
  margin-bottom: 64px;
  position: relative;
}

.coe-roadmap-label {
  text-align: center;
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
}

/* The roadmap itself — horizontal on desktop, vertical on mobile */
.coe-phases {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}

@media (max-width: 900px) {
  .coe-phases { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .coe-phases { grid-template-columns: 1fr; gap: 16px; }
}

/* Connecting line behind phases */
.coe-phases::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(139,195,74,0.4) 15%,
    rgba(55,138,221,0.3) 85%,
    transparent 100%
  );
  z-index: 0;
}

@media (max-width: 900px) {
  .coe-phases::before { display: none; }
}

/* Each phase */
.coe-phase {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 24px 20px;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s ease, background 0.3s ease;
  text-align: center;
}

.coe-phase:hover {
  border-color: rgba(139,195,74,0.2);
  background: rgba(255,255,255,0.04);
}

/* Highlighted "current" phase */
.coe-phase.is-current {
  background: rgba(139,195,74,0.05);
  border-color: rgba(139,195,74,0.3);
  box-shadow: 0 0 0 1px rgba(139,195,74,0.15), 0 8px 32px rgba(139,195,74,0.05);
}

/* Phase dot — sits on top of the connecting line */
.coe-phase-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: #061519;
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-label-sm);
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.coe-phase.is-current .coe-phase-dot {
  border-color: #8BC34A;
  background: linear-gradient(135deg, #8BC34A 0%, #5a9c2e 100%);
  color: #061519;
  box-shadow: 0 0 0 4px rgba(139,195,74,0.15);
}

.coe-phase.is-complete .coe-phase-dot {
  border-color: #378ADD;
  background: linear-gradient(135deg, #378ADD 0%, #185FA5 100%);
  color: #ffffff;
}

/* Phase number */
.coe-phase-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

/* Phase status pill */
.coe-phase-status {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 14px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.coe-phase.is-current .coe-phase-status {
  background: rgba(139,195,74,0.12);
  color: #8BC34A;
  border-color: rgba(139,195,74,0.3);
}

.coe-phase.is-complete .coe-phase-status {
  background: rgba(55,138,221,0.12);
  color: #378ADD;
  border-color: rgba(55,138,221,0.3);
}

.coe-phase-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 10px;
}

.coe-phase-desc {
  font-size: var(--fs-body-xs);
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 12px;
}

.coe-phase-target {
  font-size: var(--fs-label-sm);
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* Capabilities preview row */
.coe-capabilities {
  margin-bottom: 56px;
  text-align: center;
}

.coe-capabilities-label {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.coe-capabilities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.coe-capability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  font-size: var(--fs-body-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.coe-capability::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8BC34A, #378ADD);
}

/* CTA */
.coe-cta {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.coe-cta-text {
  font-size: 14.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 24px;
}

.coe-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(90deg, rgba(139,195,74,0.12), rgba(55,138,221,0.12));
  border: 1px solid rgba(139,195,74,0.3);
  border-radius: 30px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.coe-cta-btn:hover {
  background: linear-gradient(90deg, rgba(139,195,74,0.22), rgba(55,138,221,0.22));
  border-color: rgba(139,195,74,0.5);
  transform: translateY(-2px);
}

.coe-cta-btn svg {
  width: 14px;
  height: 14px;
}
/* ============================================================
   SECTION — WORKSHOPS, CONSULTING & COACHING (OFFERINGS)
   ============================================================ */

.offerings-section {
  position: relative;
  padding: 120px 5vw;
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.offerings-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.offerings-section .teif-header { margin-bottom: 64px; }

/* Three-card grid */
.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

@media (max-width: 900px) {
  .offerings-grid { grid-template-columns: 1fr; gap: 20px; max-width: 580px; margin-left: auto; margin-right: auto; }
}

/* Offering card */
.offering-card {
  background: #ffffff;
  border: 1px solid #e8e5df;
  border-radius: 14px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.offering-card:hover {
  border-color: rgba(139,195,74,0.35);
  box-shadow: 0 16px 40px rgba(15,110,86,0.07);
  transform: translateY(-4px);
}

/* Top accent bar — different gradient direction per card */
.offering-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.offering-card:nth-child(1)::before {
  background: linear-gradient(90deg, #8BC34A 0%, #5a9c2e 100%);
}

.offering-card:nth-child(2)::before {
  background: linear-gradient(90deg, #0F6E56 0%, #378ADD 100%);
}

.offering-card:nth-child(3)::before {
  background: linear-gradient(90deg, #378ADD 0%, #185FA5 100%);
}

/* Icon */
.offering-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139,195,74,0.1), rgba(55,138,221,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(139,195,74,0.15);
}

.offering-icon svg {
  width: 26px;
  height: 26px;
  stroke: #0F6E56;
  fill: none;
  stroke-width: 1.5;
}

.offering-card:nth-child(2) .offering-icon svg { stroke: #185FA5; }
.offering-card:nth-child(3) .offering-icon svg { stroke: #378ADD; }

/* Type label */
.offering-type {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-bottom: 10px;
}

.offering-card:nth-child(2) .offering-type { color: #185FA5; }
.offering-card:nth-child(3) .offering-type { color: #378ADD; }

/* Name */
.offering-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #071a11;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

/* Description */
.offering-desc {
  font-size: 14.5px;
  font-weight: 300;
  color: #6B6B64;
  line-height: 1.8;
  margin-bottom: 22px;
  flex-grow: 1;
}

/* "For" tag */
.offering-for {
  font-size: 12.5px;
  font-weight: 400;
  color: #6B6B64;
  padding-top: 16px;
  border-top: 1px solid #e8e5df;
  margin-bottom: 20px;
}

.offering-for-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-right: 8px;
}

/* Learn more link */
.offering-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #185FA5;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  align-self: flex-start;
  margin-top: auto;
}

.offering-link:hover {
  gap: 12px;
  color: #0F6E56;
}

.offering-link svg {
  width: 14px;
  height: 14px;
}

/* Footer note */
.offerings-footer {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #e8e5df;
}

.offerings-footer-text {
  font-size: 14.5px;
  font-weight: 300;
  font-style: italic;
  color: #6B6B64;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 24px;
}

.offerings-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: linear-gradient(90deg, rgba(139,195,74,0.12), rgba(55,138,221,0.12));
  border: 1px solid rgba(139,195,74,0.35);
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0F6E56;
  text-decoration: none;
  transition: all 0.3s ease;
}

.offerings-footer-link:hover {
  background: linear-gradient(90deg, rgba(139,195,74,0.22), rgba(55,138,221,0.22));
  border-color: rgba(139,195,74,0.5);
  transform: translateY(-2px);
  color: #185FA5;
}

.offerings-footer-link svg {
  width: 14px;
  height: 14px;
}
/* ============================================================
   SECTION — APPLY HERO
   ============================================================ */

.apply-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.apply-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 5vw;
  text-align: center;
}

.apply-hero-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8BC34A;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.apply-hero-eyebrow::before,
.apply-hero-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: #8BC34A;
  opacity: 0.5;
}

.apply-hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.apply-hero-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.apply-hero-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  margin: 0 auto 32px;
  border-radius: 2px;
}

.apply-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 660px;
  margin: 0 auto 56px;
}

.apply-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 36px;
  max-width: 720px;
  margin: 0 auto 32px;
}

.apply-hero-stat {
  flex: 1;
  text-align: center;
  min-width: 140px;
  padding: 0 16px;
}

.apply-hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.apply-hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.apply-hero-stat-label {
  font-size: var(--fs-label-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* "Jump to form" anchor button */
.apply-hero-jump {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(90deg, rgba(139,195,74,0.15), rgba(55,138,221,0.15));
  border: 1px solid rgba(139,195,74,0.3);
  border-radius: 30px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 12px;
}

.apply-hero-jump:hover {
  background: linear-gradient(90deg, rgba(139,195,74,0.25), rgba(55,138,221,0.25));
  border-color: rgba(139,195,74,0.5);
  transform: translateY(-2px);
}

.apply-hero-jump svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 700px) {
  .apply-hero-inner { padding: 96px 6vw; }
  .apply-hero-stats { gap: 8px; padding-top: 28px; }
  .apply-hero-stat-divider { display: none; }
  .apply-hero-stat { flex: 1 1 40%; min-width: 0; padding: 12px 8px; }
}
/* ============================================================
   SECTION — AWARD SELECTION (ELIGIBILITY)
   ============================================================ */

.award-select {
  position: relative;
  padding: 120px 5vw;
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.award-select-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.award-select .teif-header { margin-bottom: 64px; }

/* Two-card grid */
.award-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .award-select-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Award card */
.award-card {
  background: #ffffff;
  border: 1px solid #e8e5df;
  border-radius: 14px;
  padding: 36px 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.award-card:hover {
  border-color: rgba(139,195,74,0.3);
  box-shadow: 0 16px 40px rgba(15,110,86,0.07);
  transform: translateY(-4px);
}

/* Top accent bar */
.award-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.award-card.is-grant::before {
  background: linear-gradient(90deg, #8BC34A 0%, #5a9c2e 100%);
}

.award-card.is-scholarship::before {
  background: linear-gradient(90deg, #378ADD 0%, #185FA5 100%);
}

/* Type label */
.award-card-type {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.award-card.is-grant .award-card-type { color: #5a9c2e; }
.award-card.is-scholarship .award-card-type { color: #185FA5; }

/* Award name */
.award-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  font-weight: 600;
  color: #071a11;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

/* Tagline */
.award-card-tagline {
  font-size: var(--fs-body-sm);
  font-weight: 400;
  font-style: italic;
  color: #6B6B64;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e8e5df;
}

/* "Choose this if" header */
.award-card-criteria-label {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.award-card.is-grant .award-card-criteria-label { color: #5a9c2e; }
.award-card.is-scholarship .award-card-criteria-label { color: #185FA5; }

/* Criteria checklist */
.award-card-criteria {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.award-card-criteria li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 300;
  color: #4a4a44;
  line-height: 1.6;
}

.award-card-criteria li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-label-xs);
  font-weight: 700;
  color: #ffffff;
}

.award-card.is-grant .award-card-criteria li::before {
  background: linear-gradient(135deg, #8BC34A, #5a9c2e);
}

.award-card.is-scholarship .award-card-criteria li::before {
  background: linear-gradient(135deg, #378ADD, #185FA5);
}

/* Checkmark inside the dot */
.award-card-criteria li {
  position: relative;
}

.award-card-criteria li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  width: 7px;
  height: 4px;
  border-left: 1.5px solid #ffffff;
  border-bottom: 1.5px solid #ffffff;
  transform: rotate(-45deg);
  pointer-events: none;
}

/* Details grid (funding, used for) */
.award-card-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 18px 20px;
  background: #faf9f6;
  border-radius: 8px;
  margin-bottom: 24px;
}

@media (max-width: 500px) {
  .award-card-details { grid-template-columns: 1fr; gap: 14px; }
}

.award-card-detail-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6B6B64;
  margin-bottom: 4px;
}

.award-card-detail-value {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: #071a11;
  line-height: 1.4;
}

/* CTA button */
.award-card-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 30px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid;
}

.award-card.is-grant .award-card-cta {
  background: linear-gradient(90deg, rgba(139,195,74,0.12), rgba(90,156,46,0.12));
  border-color: rgba(139,195,74,0.4);
  color: #5a9c2e;
}

.award-card.is-grant .award-card-cta:hover {
  background: linear-gradient(90deg, #8BC34A, #5a9c2e);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

.award-card.is-scholarship .award-card-cta {
  background: linear-gradient(90deg, rgba(55,138,221,0.12), rgba(24,95,165,0.12));
  border-color: rgba(55,138,221,0.4);
  color: #185FA5;
}

.award-card.is-scholarship .award-card-cta:hover {
  background: linear-gradient(90deg, #378ADD, #185FA5);
  border-color: transparent;
  color: #ffffff;
  transform: translateY(-2px);
}

.award-card-cta svg {
  width: 14px;
  height: 14px;
}

/* Helper note below cards */
.award-select-note {
  text-align: center;
  font-size: var(--fs-body-sm);
  font-weight: 300;
  font-style: italic;
  color: #6B6B64;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #e8e5df;
}
/* ============================================================
   SECTION — APPLICATION FORM (Embedded Google Form)
   ============================================================ */

.app-form {
  position: relative;
  padding: 120px 5vw;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
  scroll-margin-top: 80px;
}

.app-form-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.app-form .teif-header { margin-bottom: 48px; }

/* Status pill in header */
.app-form-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(139,195,74,0.1);
  border: 1px solid rgba(139,195,74,0.3);
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8BC34A;
  margin-bottom: 24px;
}

.app-form-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8BC34A;
  box-shadow: 0 0 0 3px rgba(139,195,74,0.2);
}

/* Form container — looks like a document on a desk */
.app-form-container {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 24px 60px rgba(0,0,0,0.35),
    0 8px 16px rgba(0,0,0,0.2);
  position: relative;
  margin-bottom: 32px;
}

/* Top accent stripe on the form container */
.app-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  z-index: 2;
}

/* Form header strip — sits above the iframe */
.app-form-header {
  padding: 24px 32px;
  background: #faf9f6;
  border-bottom: 1px solid #e8e5df;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .app-form-header { padding: 20px 22px; }
}

.app-form-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.app-form-header-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(139,195,74,0.15), rgba(55,138,221,0.15));
  border: 1px solid rgba(139,195,74,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-form-header-icon svg {
  width: 18px;
  height: 18px;
  stroke: #0F6E56;
  fill: none;
  stroke-width: 1.75;
}

.app-form-header-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-bottom: 2px;
}

.app-form-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #071a11;
  line-height: 1.2;
}

.app-form-header-meta {
  font-size: var(--fs-body-xs);
  font-weight: 400;
  color: #6B6B64;
  text-align: right;
}

.app-form-header-meta strong {
  color: #071a11;
  font-weight: 500;
}

@media (max-width: 600px) {
  .app-form-header-meta { text-align: left; }
}

/* The iframe wrapper */
.app-form-iframe-wrap {
  background: #ffffff;
  position: relative;
  width: 100%;
}

.app-form-iframe {
  width: 100%;
  border: none;
  display: block;
  min-height: 1400px;
}

/* Loading state shown while iframe loads */
.app-form-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.app-form-loading-text {
  font-size: var(--fs-label);
  font-weight: 500;
  color: #6B6B64;
  letter-spacing: 0.04em;
}

/* Fallback link panel */
.app-form-fallback {
  margin-top: 32px;
  padding: 20px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .app-form-fallback {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 22px;
  }
}

.app-form-fallback-text {
  flex: 1;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}

.app-form-fallback-text strong {
  font-weight: 500;
  color: #ffffff;
}

.app-form-fallback-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(90deg, rgba(139,195,74,0.15), rgba(55,138,221,0.15));
  border: 1px solid rgba(139,195,74,0.35);
  border-radius: 24px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.app-form-fallback-link:hover {
  background: linear-gradient(90deg, rgba(139,195,74,0.25), rgba(55,138,221,0.25));
  border-color: rgba(139,195,74,0.5);
  transform: translateY(-2px);
}

.app-form-fallback-link svg {
  width: 12px;
  height: 12px;
}
/* ============================================================
   SECTION — PRE-FLIGHT CHECKLIST (WHAT TO PREPARE)
   ============================================================ */

.preflight {
  position: relative;
  padding: 120px 5vw;
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.preflight-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.preflight .teif-header { margin-bottom: 56px; }

/* The card wrapper — looks like a "boarding pass" panel */
.preflight-card {
  background: #faf9f6;
  border: 1px solid #e8e5df;
  border-radius: 14px;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Top stripe with subtle gradient */
.preflight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
}

/* Card header */
.preflight-card-header {
  padding: 28px 36px 20px;
  border-bottom: 1px dashed #d4d0c8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.preflight-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.preflight-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(139,195,74,0.12), rgba(55,138,221,0.12));
  border: 1px solid rgba(139,195,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preflight-card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #0F6E56;
  fill: none;
  stroke-width: 1.75;
}

.preflight-card-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-bottom: 2px;
}

.preflight-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #071a11;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.preflight-card-meta {
  font-size: var(--fs-body-xs);
  font-weight: 400;
  font-style: italic;
  color: #6B6B64;
  text-align: right;
}

@media (max-width: 600px) {
  .preflight-card-header { flex-direction: column; align-items: flex-start; }
  .preflight-card-meta { text-align: left; }
}

/* Checklist body */
.preflight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.preflight-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 36px;
  border-bottom: 1px dashed #d4d0c8;
  transition: background 0.2s ease;
}

.preflight-list li:last-child {
  border-bottom: none;
}

.preflight-list li:hover {
  background: rgba(139,195,74,0.03);
}

/* Custom checkbox */
.preflight-list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1.5px solid #c5c0b6;
  background: #ffffff;
  margin-top: 1px;
  transition: all 0.2s ease;
}

.preflight-list li:hover::before {
  border-color: #8BC34A;
}

.preflight-list-text {
  flex: 1;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 400;
  color: #4a4a44;
  line-height: 1.55;
}

.preflight-list-text strong {
  font-weight: 600;
  color: #071a11;
}

/* Footer note */
.preflight-card-footer {
  padding: 22px 36px;
  background: rgba(139,195,74,0.05);
  border-top: 1px solid rgba(139,195,74,0.15);
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (max-width: 600px) {
  .preflight-card-footer { flex-direction: column; align-items: flex-start; gap: 10px; }
  .preflight-list li { padding: 14px 24px; }
  .preflight-card-header { padding: 24px 24px 18px; }
}

.preflight-card-footer-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(139,195,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.preflight-card-footer-icon svg {
  width: 13px;
  height: 13px;
  stroke: #0F6E56;
  fill: none;
  stroke-width: 2.5;
}

.preflight-card-footer-text {
  font-size: var(--fs-body-xs);
  font-weight: 400;
  color: #4a4a44;
  line-height: 1.5;
  margin: 0;
}

.preflight-card-footer-text strong {
  font-weight: 600;
  color: #071a11;
}
/* ============================================================
   SECTION — CONTACT HERO
   ============================================================ */

.contact-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 5vw;
  text-align: center;
}

.contact-hero-eyebrow {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8BC34A;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.contact-hero-eyebrow::before,
.contact-hero-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: #8BC34A;
  opacity: 0.5;
}

.contact-hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.contact-hero-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  margin: 0 auto 32px;
  border-radius: 2px;
}

.contact-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto 56px;
}

.contact-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 36px;
  max-width: 720px;
  margin: 0 auto;
}

.contact-hero-stat {
  flex: 1;
  text-align: center;
  min-width: 140px;
  padding: 0 16px;
}

.contact-hero-stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.contact-hero-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-hero-stat-label {
  font-size: var(--fs-label-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 700px) {
  .contact-hero-inner { padding: 96px 6vw; }
  .contact-hero-stats { gap: 8px; padding-top: 28px; }
  .contact-hero-stat-divider { display: none; }
  .contact-hero-stat { flex: 1 1 40%; min-width: 0; padding: 12px 8px; }
}/* ============================================================
   SECTION — APPLICATION PROCESS (4-step timeline)
   ============================================================ */

.app-process {
  position: relative;
  padding: 120px 5vw;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.app-process-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.app-process .teif-header { margin-bottom: 64px; }

.app-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .app-steps { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
  .app-steps { grid-template-columns: 1fr; gap: 16px; }
}

.app-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(139,195,74,0.4) 15%,
    rgba(55,138,221,0.4) 85%,
    transparent 100%
  );
  z-index: 0;
}

@media (max-width: 900px) {
  .app-steps::before { display: none; }
}

.app-step {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px 22px;
  position: relative;
  z-index: 1;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  text-align: center;
}

.app-step:hover {
  border-color: rgba(139,195,74,0.2);
  background: rgba(255,255,255,0.04);
  transform: translateY(-3px);
}

.app-step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #8BC34A 0%, #378ADD 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-label-sm);
  font-weight: 700;
  color: #ffffff;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px #061519, 0 0 0 5px rgba(139,195,74,0.2);
}

.app-step-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.app-step-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
}

.app-step-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

.app-process-note {
  background: rgba(139,195,74,0.04);
  border: 1px solid rgba(139,195,74,0.15);
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #8BC34A 0%, #378ADD 100%) 1;
  border-radius: 0 8px 8px 0;
  padding: 20px 28px;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

@media (max-width: 600px) {
  .app-process-note {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
  }
}

.app-process-note-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(139,195,74,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-process-note-icon svg {
  width: 16px;
  height: 16px;
  stroke: #8BC34A;
  fill: none;
  stroke-width: 2;
}

.app-process-note-content {
  flex: 1;
  min-width: 0;
}

.app-process-note-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8BC34A;
  margin-bottom: 4px;
}

.app-process-note-text {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}/* ============================================================
   SECTION — PER-SERVICE CONTACT ROUTING
   ============================================================ */

.contact-routing {
  position: relative;
  padding: 120px 5vw;
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.contact-routing-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-routing .teif-header { margin-bottom: 64px; }

/* Four-card grid */
.routing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 700px) {
  .routing-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Routing card */
.routing-card {
  background: #ffffff;
  border: 1px solid #e8e5df;
  border-radius: 12px;
  padding: 32px 30px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.routing-card:hover {
  border-color: rgba(139,195,74,0.3);
  box-shadow: 0 14px 36px rgba(15,110,86,0.07);
  transform: translateY(-4px);
}

/* Top accent bar — different gradient per card */
.routing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.routing-card.is-funding::before {
  background: linear-gradient(90deg, #8BC34A 0%, #5a9c2e 100%);
}

.routing-card.is-services::before {
  background: linear-gradient(90deg, #0F6E56 0%, #378ADD 100%);
}

.routing-card.is-research::before {
  background: linear-gradient(90deg, #378ADD 0%, #185FA5 100%);
}

.routing-card.is-general::before {
  background: linear-gradient(90deg, #5a9c2e 0%, #185FA5 100%);
}

/* Icon */
.routing-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(139,195,74,0.1), rgba(55,138,221,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(139,195,74,0.15);
}

.routing-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke-width: 1.6;
}

.routing-card.is-funding .routing-icon svg { stroke: #5a9c2e; }
.routing-card.is-services .routing-icon svg { stroke: #0F6E56; }
.routing-card.is-research .routing-icon svg { stroke: #185FA5; }
.routing-card.is-general .routing-icon svg { stroke: #378ADD; }

/* Type label */
.routing-type {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.routing-card.is-funding .routing-type { color: #5a9c2e; }
.routing-card.is-services .routing-type { color: #0F6E56; }
.routing-card.is-research .routing-type { color: #185FA5; }
.routing-card.is-general .routing-type { color: #378ADD; }

/* Headline */
.routing-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #071a11;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
}

/* Description */
.routing-desc {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  color: #6B6B64;
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

/* Action row */
.routing-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #e8e5df;
  margin-top: auto;
}

.routing-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.routing-action:hover {
  gap: 12px;
}

.routing-action svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

/* Primary action color per card */
.routing-card.is-funding .routing-action { color: #5a9c2e; }
.routing-card.is-funding .routing-action:hover { color: #8BC34A; }

.routing-card.is-services .routing-action { color: #0F6E56; }
.routing-card.is-services .routing-action:hover { color: #378ADD; }

.routing-card.is-research .routing-action { color: #185FA5; }
.routing-card.is-research .routing-action:hover { color: #378ADD; }

.routing-card.is-general .routing-action { color: #378ADD; }
.routing-card.is-general .routing-action:hover { color: #185FA5; }

/* "or" separator between actions */
.routing-action-or {
  font-size: var(--fs-label-sm);
  font-weight: 400;
  font-style: italic;
  color: #aaa;
  letter-spacing: 0.04em;
  margin: 2px 0;
}

/* Secondary action — subtler */
.routing-action-secondary {
  font-size: 12.5px;
  font-weight: 400;
  color: #6B6B64;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.routing-action-secondary:hover {
  color: #071a11;
}

.routing-action-secondary svg {
  width: 12px;
  height: 12px;
}/* ============================================================
   SECTION — GENERAL CONTACT (email + address + response time)
   ============================================================ */

.gen-contact {
  position: relative;
  padding: 120px 5vw;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.gen-contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.gen-contact .teif-header { margin-bottom: 64px; }

/* Three-column grid */
.gen-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

@media (max-width: 900px) {
  .gen-contact-grid { grid-template-columns: 1fr; gap: 20px; max-width: 600px; margin-left: auto; margin-right: auto; }
}

/* Each contact block */
.gen-contact-block {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.gen-contact-block:hover {
  border-color: rgba(139,195,74,0.25);
  background: rgba(255,255,255,0.04);
  transform: translateY(-3px);
}

/* Icon ring */
.gen-contact-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,195,74,0.12), rgba(55,138,221,0.12));
  border: 1px solid rgba(139,195,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  position: relative;
}

.gen-contact-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(139,195,74,0.08);
  pointer-events: none;
}

.gen-contact-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke-width: 1.6;
  stroke: #8BC34A;
}

.gen-contact-block:nth-child(2) .gen-contact-icon svg { stroke: #378ADD; }
.gen-contact-block:nth-child(3) .gen-contact-icon svg { stroke: #5a9c2e; }

/* Label */
.gen-contact-label {
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
}

/* Primary value (email, address line, response time) */
.gen-contact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
  word-break: break-word;
}

.gen-contact-value a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
  border-bottom: 1px solid rgba(139,195,74,0.3);
  padding-bottom: 2px;
}

.gen-contact-value a:hover {
  color: #8BC34A;
  border-bottom-color: #8BC34A;
}

/* Sub-detail (address line 2, etc) */
.gen-contact-sub {
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.gen-contact-sub a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}

.gen-contact-sub a:hover {
  color: #378ADD;
}

/* Action link at the bottom of each block */
.gen-contact-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 8px 16px;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.gen-contact-action:hover {
  background: rgba(139,195,74,0.08);
  border-color: rgba(139,195,74,0.3);
  color: #ffffff;
  transform: translateY(-2px);
}

.gen-contact-action svg {
  width: 11px;
  height: 11px;
}

/* Bottom note panel */
.gen-contact-note {
  background: rgba(139,195,74,0.04);
  border: 1px solid rgba(139,195,74,0.15);
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #8BC34A 0%, #378ADD 100%) 1;
  border-radius: 0 8px 8px 0;
  padding: 22px 28px;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

@media (max-width: 600px) {
  .gen-contact-note {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    align-items: center;
  }
}

.gen-contact-note-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(139,195,74,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gen-contact-note-icon svg {
  width: 16px;
  height: 16px;
  stroke: #8BC34A;
  fill: none;
  stroke-width: 2;
}

.gen-contact-note-content {
  flex: 1;
  min-width: 0;
}

.gen-contact-note-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8BC34A;
  margin-bottom: 4px;
}

.gen-contact-note-text {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}/* ============================================================
   SECTION — SOCIAL MEDIA
   ============================================================ */

.social-section {
  position: relative;
  padding: 120px 5vw;
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.social-inner {
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.social-section .teif-header { margin-bottom: 56px; }

/* Platform grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

@media (max-width: 700px) {
  .social-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media (max-width: 400px) {
  .social-grid { grid-template-columns: 1fr; }
}

/* Each platform card */
.social-card {
  background: #ffffff;
  border: 1px solid #e8e5df;
  border-radius: 12px;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.social-card:hover {
  border-color: rgba(139,195,74,0.35);
  box-shadow: 0 12px 32px rgba(15,110,86,0.07);
  transform: translateY(-4px);
}

/* Platform-specific accent bar at top */
.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--social-color, #8BC34A);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.social-card:hover::before {
  opacity: 1;
}

/* Platform icon */
.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #faf9f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.3s ease;
}

.social-card:hover .social-icon {
  background: var(--social-bg-hover, rgba(139,195,74,0.08));
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--social-color, #6B6B64);
  transition: fill 0.3s ease;
}

/* Platform name */
.social-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #071a11;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}

/* Handle / URL preview */
.social-handle {
  font-size: 11.5px;
  font-weight: 400;
  color: #6B6B64;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  flex-grow: 1;
  word-break: break-word;
}

/* Follow button */
.social-follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--social-color, #6B6B64);
  margin-top: auto;
  transition: gap 0.2s ease;
}

.social-card:hover .social-follow {
  gap: 10px;
}

.social-follow svg {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* Platform color tokens (set via inline style on each card) */
.social-card.is-linkedin  { --social-color: #0A66C2; --social-bg-hover: rgba(10,102,194,0.08); }
.social-card.is-facebook  { --social-color: #1877F2; --social-bg-hover: rgba(24,119,242,0.08); }
.social-card.is-instagram { --social-color: #E4405F; --social-bg-hover: rgba(228,64,95,0.08); }
.social-card.is-twitter   { --social-color: #000000; --social-bg-hover: rgba(0,0,0,0.06); }
.social-card.is-youtube   { --social-color: #FF0000; --social-bg-hover: rgba(255,0,0,0.06); }

/* Empty-state placeholder card (when no URLs configured at all) */
.social-empty {
  text-align: center;
  padding: 32px 24px;
  background: rgba(0,0,0,0.02);
  border: 1px dashed #d4d0c8;
  border-radius: 12px;
  max-width: 520px;
  margin: 0 auto;
}

.social-empty-text {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  font-style: italic;
  color: #6B6B64;
  line-height: 1.6;
  margin: 0;
}

/* Footer note about expansion */
.social-footer {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid #e8e5df;
  margin-top: 16px;
}

.social-footer-text {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  font-style: italic;
  color: #6B6B64;
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto;
}/* ============================================================
   SECTION — NEWS & RESOURCES HERO
   ============================================================ */

.news-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.news-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 5vw;
  text-align: center;
}

.news-hero-eyebrow {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #8BC34A;
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.news-hero-eyebrow::before,
.news-hero-eyebrow::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: #8BC34A;
  opacity: 0.5;
}

.news-hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.news-hero-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-hero-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  margin: 0 auto 32px;
  border-radius: 2px;
}

.news-hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 660px;
  margin: 0 auto 56px;
}

.news-hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--fs-label);
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 36px;
  max-width: 720px;
  margin: 0 auto;
}

.news-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
}

.news-hero-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8BC34A, #378ADD);
}

@media (max-width: 700px) {
  .news-hero-inner { padding: 96px 6vw; }
  .news-hero-tags { gap: 8px; padding-top: 28px; }
}/* ============================================================
   SECTION — BLOG INDEX (Dynamic — News & Resources)
   ============================================================ */

.blog-index {
  position: relative;
  padding: 120px 5vw;
  background: #ffffff;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

.blog-index-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* ============================================================
   EMPTY STATE — Coming Soon + Newsletter Signup
   ============================================================ */

.blog-empty {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.blog-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,195,74,0.1), rgba(55,138,221,0.1));
  border: 1px solid rgba(139,195,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  position: relative;
}

.blog-empty-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(139,195,74,0.1);
}

.blog-empty-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #0F6E56;
  stroke-width: 1.5;
}

.blog-empty-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(139,195,74,0.08);
  border: 1px solid rgba(139,195,74,0.25);
  font-size: var(--fs-label-sm);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5a9c2e;
  margin-bottom: 24px;
}

.blog-empty-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8BC34A;
  box-shadow: 0 0 0 3px rgba(139,195,74,0.15);
  animation: blog-pulse 2s ease-in-out infinite;
}

@keyframes blog-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(139,195,74,0.15); }
  50%      { box-shadow: 0 0 0 6px rgba(139,195,74,0.04); }
}

.blog-empty-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: #071a11;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.blog-empty-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-empty-desc {
  font-size: var(--fs-body-lg);
  font-weight: 300;
  color: #6B6B64;
  line-height: 1.75;
  margin-bottom: 48px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Newsletter signup card */
.blog-newsletter {
  background: linear-gradient(
    135deg,
    rgba(139,195,74,0.04) 0%,
    rgba(55,138,221,0.04) 100%
  );
  border: 1px solid #e8e5df;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%) 1;
  border-radius: 0 0 14px 14px;
  padding: 36px 40px;
  text-align: left;
  max-width: 580px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

@media (max-width: 600px) {
  .blog-newsletter { padding: 28px 24px; }
}

.blog-newsletter-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}

.blog-newsletter-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(139,195,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-newsletter-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #0F6E56;
  stroke-width: 1.6;
}

.blog-newsletter-titles {
  flex: 1;
  min-width: 0;
}

.blog-newsletter-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-bottom: 4px;
}

.blog-newsletter-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #071a11;
  line-height: 1.2;
  letter-spacing: -0.005em;
}

.blog-newsletter-desc {
  font-size: 14.5px;
  font-weight: 300;
  color: #4a4a44;
  line-height: 1.7;
  margin-bottom: 24px;
}

.blog-newsletter-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  font-size: var(--fs-body-xs);
  color: #6B6B64;
}

.blog-newsletter-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-newsletter-meta-item svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: #8BC34A;
  stroke-width: 2;
}

.blog-newsletter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background: linear-gradient(90deg, #378ADD 0%, #185FA5 100%);
  color: #ffffff;
  border-radius: 30px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.blog-newsletter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(55, 138, 221, 0.25);
  filter: brightness(1.05);
  color: #ffffff;
}

.blog-newsletter-button svg {
  width: 14px;
  height: 14px;
}

.blog-newsletter-disclosure {
  font-size: 11.5px;
  font-weight: 400;
  font-style: italic;
  color: #6B6B64;
  line-height: 1.5;
  text-align: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #d4d0c8;
}

/* ============================================================
   POPULATED STATE — Post Grid + Filters + Pagination
   ============================================================ */

/* Optional category filter row (only shows if 2+ categories exist) */
.blog-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e8e5df;
}

.blog-filter {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #e8e5df;
  border-radius: 24px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #6B6B64;
  text-decoration: none;
  transition: all 0.25s ease;
}

.blog-filter:hover {
  border-color: rgba(139,195,74,0.4);
  color: #071a11;
  transform: translateY(-1px);
}

.blog-filter.is-active {
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  border-color: transparent;
  color: #ffffff;
}

/* Post grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Post card */
.blog-card {
  background: #ffffff;
  border: 1px solid #e8e5df;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
  border-color: rgba(139,195,74,0.35);
  box-shadow: 0 16px 40px rgba(15,110,86,0.07);
  transform: translateY(-4px);
}

/* Featured image (or gradient fallback) */
.blog-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2218 0%, #0F6E56 60%, #185FA5 130%);
}

.blog-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

/* Dot pattern overlay on fallback gradient */
.blog-card-image.is-fallback::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 22px 22px;
  z-index: 1;
}

/* Decorative initial on fallback */
.blog-card-image.is-fallback::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #8BC34A 40%, #378ADD 60%, transparent);
  z-index: 2;
}

.blog-card-fallback-mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 600;
  color: rgba(255,255,255,0.15);
  letter-spacing: -0.02em;
  z-index: 2;
}

/* Category badge over image */
.blog-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-block;
  padding: 5px 11px;
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0F6E56;
  z-index: 3;
  backdrop-filter: blur(8px);
}

/* Card body */
.blog-card-body {
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #6B6B64;
  margin-bottom: 12px;
}

.blog-card-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #c8c4bc;
}

.blog-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #071a11;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
}

.blog-card-excerpt {
  font-size: var(--fs-body-sm);
  font-weight: 300;
  color: #6B6B64;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #185FA5;
  margin-top: auto;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-card:hover .blog-card-readmore {
  gap: 12px;
  color: #0F6E56;
}

.blog-card-readmore svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid #e8e5df;
}

.blog-pagination a,
.blog-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  background: #ffffff;
  border: 1px solid #e8e5df;
  border-radius: 8px;
  font-size: var(--fs-body-xs);
  font-weight: 500;
  color: #6B6B64;
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-pagination a:hover {
  border-color: rgba(139,195,74,0.4);
  color: #071a11;
  transform: translateY(-1px);
}

.blog-pagination .current {
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  border-color: transparent;
  color: #ffffff;
}

.blog-pagination .dots {
  border-color: transparent;
  background: transparent;
  color: #c8c4bc;
}/* ============================================================
   BLOG INDEX — NEWSLETTER STRIP (populated state)
   ============================================================ */

.blog-newsletter-strip {
  position: relative;
  margin-top: 56px;
  padding: 32px 40px;
  background: linear-gradient(
    135deg,
    rgba(139,195,74,0.06) 0%,
    rgba(55,138,221,0.06) 100%
  );
  border: 1px solid #e8e5df;
  border-left: 4px solid;
  border-image: linear-gradient(180deg, #8BC34A 0%, #378ADD 100%) 1;
  border-radius: 0 12px 12px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
}

@media (max-width: 800px) {
  .blog-newsletter-strip {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 24px;
    text-align: center;
  }
}

/* Icon column */
.blog-newsletter-strip-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(139,195,74,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 800px) {
  .blog-newsletter-strip-icon {
    margin: 0 auto;
  }
}

.blog-newsletter-strip-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #0F6E56;
  stroke-width: 1.6;
}

/* Content column */
.blog-newsletter-strip-content {
  min-width: 0;
}

.blog-newsletter-strip-eyebrow {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #0F6E56;
  margin-bottom: 4px;
}

.blog-newsletter-strip-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
  color: #071a11;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}

.blog-newsletter-strip-headline em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-newsletter-strip-sub {
  font-size: var(--fs-body-xs);
  font-weight: 300;
  color: #6B6B64;
  line-height: 1.55;
  margin: 0;
}

.blog-newsletter-strip-sub strong {
  color: #071a11;
  font-weight: 500;
}

/* Button column */
.blog-newsletter-strip-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #378ADD 0%, #185FA5 100%);
  color: #ffffff;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.blog-newsletter-strip-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(55, 138, 221, 0.25);
  filter: brightness(1.05);
  color: #ffffff;
}

.blog-newsletter-strip-button svg {
  width: 13px;
  height: 13px;
}/* ============================================================
   SECTION — TEIF STATS (shared canonical stat block)
   Usage: [teif_stats]  or  [teif_stats theme="light"]
   Default theme is dark.
   ============================================================ */

.teif-stats {
  position: relative;
  padding: 80px 5vw;
  font-family: 'DM Sans', sans-serif;
}

.teif-stats--dark {
  background: #0f1c24;
}

.teif-stats--light {
  background: #f7f6f3;
}

.teif-stats-inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* Stat row — flex with dividers, same pattern as the other stat blocks */
.teif-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.teif-stats--light .teif-stats-row {
  border-top: 1px solid rgba(15,28,36,0.10);
  border-bottom: 1px solid rgba(15,28,36,0.10);
}

.teif-stat {
  flex: 1;
  text-align: center;
  min-width: 130px;
  padding: 0 14px;
}

.teif-stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.teif-stats--light .teif-stat-divider {
  background: rgba(15,28,36,0.10);
}

.teif-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.teif-stat-label {
  font-size: var(--fs-label-sm);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.4;
  color: rgba(255,255,255,0.5);
}

.teif-stats--light .teif-stat-label {
  color: rgba(15,28,36,0.55);
}

/* Mobile — drop dividers, wrap to a grid of 2-3 per row */
@media (max-width: 760px) {
  .teif-stats { padding: 56px 6vw; }
  .teif-stats-row { gap: 4px 0; padding: 24px 0; }
  .teif-stat-divider { display: none; }
  .teif-stat { flex: 1 1 33%; min-width: 0; padding: 14px 8px; }
}

@media (max-width: 420px) {
  .teif-stat { flex: 1 1 50%; }
}/* ============================================================
   SECTION — TEIF QUOTE (mission pull-quote)
   Usage: [teif_quote]
   ============================================================ */

.teif-quote {
  position: relative;
  background: #0f1c24;
  padding: 130px 6vw;
  font-family: 'DM Sans', sans-serif;
  overflow: hidden;
}

/* subtle radial glow behind the quote so the dark section has depth */
.teif-quote::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(139,195,74,0.07) 0%, rgba(15,28,36,0) 70%);
  pointer-events: none;
}

.teif-quote-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

/* large decorative quotation mark */
.teif-quote-mark {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 9vw, 8rem);
  font-weight: 600;
  line-height: 0.5;
  margin-bottom: 24px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.9;
}

.teif-quote-text {
  margin: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #ffffff;
}

/* gradient accent on the emphasized phrase */
.teif-quote-text em {
  font-style: italic;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.teif-quote-attribution {
  margin-top: 36px;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* short gradient rule above the attribution */
.teif-quote-attribution::before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  margin: 0 auto 20px;
  border-radius: 2px;
  background: linear-gradient(90deg, #8BC34A 0%, #378ADD 100%);
}

@media (max-width: 760px) {
  .teif-quote { padding: 90px 7vw; }
  .teif-quote-mark { margin-bottom: 16px; }
  .teif-quote-attribution { margin-top: 28px; }
}/* ----- 12 Principles cards — clickable to About page ----- */
a.teif-card-dark.principle-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.teif-card-dark.principle-card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 195, 74, 0.10);
}/* ----- Board cards — clickable to About page ----- */
a.board-card.board-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.board-card.board-card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 195, 74, 0.10);
}
.board-linkedin-note {
    display: inline-block;
    margin-top: 12px;
    font-size: var(--fs-label-sm);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #378ADD;
}/* Widen the Services hero so 6 stats fit comfortably in one row */
.services-hero-inner {
    max-width: 1280px;  /* or whatever was set — bump it up */
}

.services-hero-stat {
    min-width: 0;       /* let stats shrink to fit content instead of forcing a min */
    padding: 0 10px;    /* tighter horizontal padding between stats */
}

.services-hero-stat-num {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);  /* slightly smaller for 6-up */
}

.services-hero-stat-label {
    font-size: var(--fs-label-xs);    /* trim label size slightly */
    letter-spacing: 0.14em;
}

.services-hero-stat-divider {
    height: 36px;        /* slightly shorter divider */
}

@media (max-width: 900px) {
    .services-hero-stat-divider { display: none; }
    .services-hero-stats { flex-wrap: wrap; gap: 4px 0; }
    .services-hero-stat { flex: 1 1 33%; padding: 12px 6px; }
}

/* Tighten the pull-quote banner — less dead space, smaller quote */
.teif-quote { padding-top: 56px; padding-bottom: 56px; }
.teif-quote-text { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.3; }
.teif-quote-mark { font-size: 2.5rem; margin-bottom: 6px; }
.teif-quote-attribution { margin-top: 14px; }
}

/* ============================================================
   SECTION — APPLY BUTTONS (replaces embedded Google Form)
   ============================================================ */

.app-apply-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

@media (max-width: 800px) {
    .app-apply-grid { grid-template-columns: 1fr; gap: 20px; }
}

.app-apply-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.app-apply-card:hover {
    border-color: rgba(139,195,74,0.3);
    background: rgba(255,255,255,0.05);
    transform: translateY(-3px);
}

.app-apply-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

.app-apply-card.is-grant::before {
    background: linear-gradient(90deg, #8BC34A 0%, #5a9c2e 100%);
}

.app-apply-card.is-scholarship::before {
    background: linear-gradient(90deg, #378ADD 0%, #185FA5 100%);
}

.app-apply-card-type {
    font-size: var(--fs-label-sm);
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.app-apply-card.is-grant .app-apply-card-type { color: #8BC34A; }
.app-apply-card.is-scholarship .app-apply-card-type { color: #378ADD; }

.app-apply-card-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.4rem, 2.2vw, 1.7rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.005em;
    margin-bottom: 16px;
}

.app-apply-card-desc {
    font-size: 14.5px;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 28px;
    flex-grow: 1;
}

.app-apply-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: var(--fs-label);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid;
    transition: all 0.3s ease;
}

.app-apply-card.is-grant .app-apply-card-cta {
    background: linear-gradient(90deg, rgba(139,195,74,0.15), rgba(90,156,46,0.15));
    border-color: rgba(139,195,74,0.4);
    color: #8BC34A;
}

.app-apply-card.is-grant .app-apply-card-cta:hover {
    background: linear-gradient(90deg, #8BC34A, #5a9c2e);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.app-apply-card.is-scholarship .app-apply-card-cta {
    background: linear-gradient(90deg, rgba(55,138,221,0.15), rgba(24,95,165,0.15));
    border-color: rgba(55,138,221,0.4);
    color: #378ADD;
}

.app-apply-card.is-scholarship .app-apply-card-cta:hover {
    background: linear-gradient(90deg, #378ADD, #185FA5);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-2px);
}

.app-apply-card-cta svg {
    width: 14px;
    height: 14px;
}

/* Disabled "Coming Soon" state when ACF URL not populated */
.app-apply-card-cta.is-disabled {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.45);
    cursor: default;
    pointer-events: none;
}

.app-apply-card-cta.is-disabled svg {
    opacity: 0.6;
}

.app-apply-footer {
    text-align: center;
    font-size: var(--fs-body-sm);
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}/* ============================================================
   SECTION — ABOUT HERO (width tweak — match Services hero)
   ============================================================ */

.about-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.about-hero-stats {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Let the 5 stats sit comfortably on one row at desktop */
.about-hero-stat {
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
}

.about-hero-stat-num {
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
}

.about-hero-stat-label {
    font-size: var(--fs-label-sm);
    letter-spacing: 0.16em;
}

/* Mobile/tablet still wraps gracefully */
@media (max-width: 900px) {
    .about-hero-stats { flex-wrap: wrap; }
}

/* ============================================================
   SERVICES HERO — Equalize stat columns
   ============================================================ */

.services-hero-stats {
    display: flex;
    align-items: flex-start;   /* numbers align on the top line */
    justify-content: center;
    flex-wrap: wrap;
}

.services-hero-stat {
    flex: 1 1 0;               /* every stat gets an equal slice */
    min-width: 90px;           /* "6" now occupies the same footprint as "500+" */
    text-align: center;
}

.services-hero-stat-divider {
    flex: 0 0 auto;            /* dividers keep their natural width */
}

/* Board headshots — force one uniform frame regardless of source photo shape */
.board-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.board-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;          /* fill the frame, crop the overflow */
  object-position: top center; /* anchor heads up so no foreheads get sliced */
  display: block;
}
/* keep the initials fallback the same shape as a real photo */
.board-photo .teif-avatar-lg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}/* Kaye's photo is framed looser than the rest — pull the crop in a bit */
.board-card:nth-child(2) .board-photo img {
  object-position: center 22%;
  transform: scale(1.18);
}

/* ============================================================
   SECTION — DEEP-LINK SCROLL OFFSET (sticky header clearance)
   ============================================================ */

#instruments,
#funding,
#offerings,
#coe {
    scroll-margin-top: 100px; /* tune to your actual header height */
}

/* ============================================================
   SECTION — PROGRAMS & SERVICES CTA (single button below grid)
   ============================================================ */

.programs-cta {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

/* ============================================================
   COE PAGE — SHARED NOTES
   All Center of Excellence sections. Markup lives in Code Snippets
   ([teif_coe_*]). Accent colors on pillar/phase blocks are set inline
   via a PHP-generated --acc custom property — that is data, not styling,
   and intentionally stays in the snippet.
   Teal is #0F6E56 on light backgrounds, #1E8F6E on dark (deep green
   goes muddy against #061519 at hairline weight).
   ============================================================ */


/* ============================================================
   SECTION — COE HERO + PILLAR GRAPHIC
   ============================================================ */

.coe-hero{background:#061519;padding:110px 24px 96px;position:relative;overflow:hidden}
.coe-hero__inner{max-width:1180px;margin:0 auto}
.coe-hero__head{text-align:center;max-width:760px;margin:0 auto 84px}
.coe-hero__rule{width:56px;height:1px;margin:0 auto 18px;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%)}
.coe-hero__eyebrow{font-family:'DM Sans',sans-serif;font-size:12px;letter-spacing:2.4px;
    text-transform:uppercase;color:#8BC34A;margin-bottom:20px}
.coe-hero__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(34px,5vw,54px);
    line-height:1.18;color:#fff;margin:0 0 26px;font-weight:500}
.coe-hero__title em{font-style:italic;color:#8BC34A;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.coe-hero__vision{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;
    font-size:clamp(17px,2vw,21px);line-height:1.7;color:rgba(255,255,255,.75);margin:0}

.coe-graphic__head{text-align:center;max-width:680px;margin:0 auto 40px}
.coe-graphic__eyebrow{font-family:'DM Sans',sans-serif;font-size:var(--fs-label-sm);letter-spacing:2px;
    text-transform:uppercase;color:#378ADD;margin-bottom:14px}
.coe-graphic__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(26px,3.4vw,34px);
    color:#fff;margin:0 0 16px;font-weight:500}
.coe-graphic__title em{font-style:italic;color:#8BC34A;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.coe-graphic__intro{font-family:'DM Sans',sans-serif;font-size:var(--fs-body-sm);line-height:1.75;
    color:rgba(255,255,255,.58);margin:0}

/* Hub-and-spoke SVG — desktop only. Labels cannot wrap; keep them short. */
.coe-hub{display:block;max-width:900px;margin:0 auto;width:100%;height:auto}
.coe-hub__box{fill:#0C2026;stroke-width:.75}
.coe-hub__num{font-family:'DM Sans',sans-serif;font-size:9px;letter-spacing:1.2px}
.coe-hub__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:var(--fs-body);fill:#fff}
.coe-hub__sub{font-family:'DM Sans',sans-serif;font-size:9px;fill:rgba(255,255,255,.55)}
.coe-hub__hubtext{font-family:'Cormorant Garamond',Georgia,serif;font-size:19px}

/* Card grid — replaces the hub below 900px. */
.coe-grid{display:none;grid-template-columns:repeat(2,1fr);gap:18px}
.coe-card{background:#0C2026;border:1px solid rgba(255,255,255,.07);border-radius:14px;
    padding:26px 24px;position:relative;overflow:hidden;display:flex;flex-direction:column}
.coe-card::before{content:"";position:absolute;inset:0 0 auto 0;height:2px}
.coe-card:nth-child(3n+1)::before{background:linear-gradient(90deg,#8BC34A,#0F6E56)}
.coe-card:nth-child(3n+2)::before{background:linear-gradient(90deg,#0F6E56,#1E8F6E)}
.coe-card:nth-child(3n+3)::before{background:linear-gradient(90deg,#378ADD,#185FA5)}
.coe-card__num{font-family:'DM Sans',sans-serif;font-size:var(--fs-label-sm);letter-spacing:1.6px;margin-bottom:12px}
.coe-card:nth-child(3n+1) .coe-card__num{color:#8BC34A}
.coe-card:nth-child(3n+2) .coe-card__num{color:#1E8F6E}
.coe-card:nth-child(3n+3) .coe-card__num{color:#378ADD}
.coe-card__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:21px;line-height:1.3;
    color:#fff;margin:0 0 10px;font-weight:500}
.coe-card__sub{font-family:'DM Sans',sans-serif;font-size:13px;line-height:1.65;
    color:rgba(255,255,255,.55);margin:0}

@media(max-width:900px){
    .coe-hub{display:none}
    .coe-grid{display:grid}
}
@media(max-width:768px){.coe-hero{padding:76px 20px 64px}.coe-hero__head{margin-bottom:56px}}
@media(max-width:560px){.coe-grid{grid-template-columns:1fr}}


/* ============================================================
   SECTION — COE MISSION
   ============================================================ */

.coe-mission{background:#fff;padding:104px 24px}
.coe-mission__inner{max-width:820px;margin:0 auto;text-align:center}
.coe-mission__rule{width:56px;height:1px;margin:0 auto 18px;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%)}
.coe-mission__eyebrow{font-family:'DM Sans',sans-serif;font-size:12px;letter-spacing:2.4px;
    text-transform:uppercase;color:#0F6E56;margin-bottom:20px}
.coe-mission__title{font-family:'Cormorant Garamond',Georgia,serif;
    font-size:clamp(28px,4vw,44px);line-height:1.22;color:#071a11;margin:0 0 44px;font-weight:500}
.coe-mission__title em{font-style:italic;color:#8BC34A;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.coe-mission__card{border-left:2px solid transparent;
    border-image:linear-gradient(180deg,#8BC34A 0%,#378ADD 100%) 1;
    padding:8px 0 8px 32px;text-align:left}
.coe-mission__kicker{font-family:'DM Sans',sans-serif;font-size:var(--fs-label-sm);letter-spacing:1.8px;
    text-transform:uppercase;color:#378ADD;margin-bottom:14px}
.coe-mission__body{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;
    font-size:clamp(17px,2.1vw,22px);line-height:1.72;color:#3B4A42;margin:0}

@media(max-width:768px){.coe-mission{padding:72px 20px}.coe-mission__card{padding-left:22px}}


/* ============================================================
   SECTION — COE CORE VALUES
   No top padding — shares the white block with COE Mission above.
   ============================================================ */

.coe-values{background:#fff;padding:0 24px 110px}
.coe-values__inner{max-width:1180px;margin:0 auto}
.coe-values__head{text-align:center;max-width:680px;margin:0 auto 52px}
.coe-values__rule{width:56px;height:1px;margin:0 auto 18px;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%)}
.coe-values__eyebrow{font-family:'DM Sans',sans-serif;font-size:12px;letter-spacing:2.4px;
    text-transform:uppercase;color:#0F6E56;margin-bottom:18px}
.coe-values__title{font-family:'Cormorant Garamond',Georgia,serif;
    font-size:clamp(28px,3.8vw,42px);line-height:1.22;color:#071a11;margin:0;font-weight:500}
.coe-values__title em{font-style:italic;color:#8BC34A;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

.coe-values__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}
.coe-value{background:#FAFAF7;border:1px solid #EAEAE4;border-radius:14px;padding:38px 26px 42px;
    transition:transform .25s ease,box-shadow .25s ease}
.coe-value:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(7,26,17,.07)}
.coe-value__bar{width:34px;height:2px;margin-bottom:20px;border-radius:2px}
.coe-value:nth-child(5n+1) .coe-value__bar{background:linear-gradient(90deg,#8BC34A,#0F6E56)}
.coe-value:nth-child(5n+2) .coe-value__bar{background:linear-gradient(90deg,#0F6E56,#1E8F6E)}
.coe-value:nth-child(5n+3) .coe-value__bar{background:linear-gradient(90deg,#378ADD,#185FA5)}
.coe-value:nth-child(5n+4) .coe-value__bar{background:linear-gradient(90deg,#8BC34A,#0F6E56)}
.coe-value:nth-child(5n+5) .coe-value__bar{background:linear-gradient(90deg,#0F6E56,#1E8F6E)}
.coe-value__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:23px;
    color:#071a11;margin:0 0 10px;font-weight:500}
.coe-value__desc{font-family:'DM Sans',sans-serif;font-size:var(--fs-body-sm);line-height:1.7;
    color:#6B6B64;margin:0}

@media(max-width:768px){.coe-values{padding:0 20px 72px}}


/* ============================================================
   SECTION — COE STRATEGIC PILLARS
   Grid that reads as a table. Below 860px the header row is hidden
   and each cell grows its own label from data-label.
   ============================================================ */

.coe-pil{background:#FAFAF7;padding:104px 24px;border-top:1px solid #EAEAE4}
.coe-pil__inner{max-width:1180px;margin:0 auto}
.coe-pil__head{text-align:center;max-width:720px;margin:0 auto 64px}
.coe-pil__rule{width:56px;height:1px;margin:0 auto 18px;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%)}
.coe-pil__eyebrow{font-family:'DM Sans',sans-serif;font-size:12px;letter-spacing:2.4px;
    text-transform:uppercase;color:#0F6E56;margin-bottom:18px}
.coe-pil__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(28px,3.8vw,42px);
    line-height:1.22;color:#071a11;margin:0 0 18px;font-weight:500}
.coe-pil__title em{font-style:italic;color:#8BC34A;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.coe-pil__intro{font-family:'DM Sans',sans-serif;font-size:var(--fs-body);line-height:1.75;color:#6B6B64;margin:0}

.coe-pil__block{background:#fff;border:1px solid #EAEAE4;border-radius:16px;
    overflow:hidden;margin-bottom:26px}
.coe-pil__bar{height:3px;background:var(--acc)}
.coe-pil__blockhead{padding:32px 34px 26px;border-bottom:1px solid #F0F0EA}
.coe-pil__num{font-family:'DM Sans',sans-serif;font-size:var(--fs-label-sm);letter-spacing:1.8px;
    color:var(--acc);margin-bottom:12px}
.coe-pil__name{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(23px,2.6vw,30px);
    line-height:1.28;color:#071a11;margin:0 0 16px;font-weight:500}
.coe-pil__goal{font-family:'DM Sans',sans-serif;font-size:var(--fs-body-sm);line-height:1.7;color:#4A5A50;margin:0}
.coe-pil__goal strong{color:#9A9A92;font-weight:600;letter-spacing:1.2px;font-size:var(--fs-label-xs)}

.coe-pil__table{padding:0 34px 30px}
.coe-pil__row{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:24px;
    padding:22px 0;border-bottom:1px solid #F4F4EE}
.coe-pil__row:last-child{border-bottom:0}
.coe-pil__labels{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:24px;
    padding:20px 0 12px;border-bottom:1px solid #EAEAE4}
.coe-pil__label{font-family:'DM Sans',sans-serif;font-size:var(--fs-label-xs);letter-spacing:1.5px;
    text-transform:uppercase;color:#9A9A92}
.coe-pil__obj{font-family:'DM Sans',sans-serif;font-size:var(--fs-body-sm);line-height:1.65;
    color:#071a11;font-weight:500}
.coe-pil__init{font-family:'DM Sans',sans-serif;font-size:13.5px;line-height:1.7;color:#6B6B64}
.coe-pil__kpi{font-family:'DM Sans',sans-serif;font-size:13px;line-height:1.65;color:#4A5A50}
.coe-pil__kpi span{display:inline-block;border-left:2px solid var(--acc);padding-left:11px}

@media(max-width:860px){
    .coe-pil{padding:72px 20px}
    .coe-pil__blockhead{padding:26px 22px 22px}
    .coe-pil__table{padding:0 22px 22px}
    .coe-pil__labels{display:none}
    .coe-pil__row{grid-template-columns:1fr;gap:14px;padding:20px 0}
    .coe-pil__row > div::before{content:attr(data-label);display:block;
        font-family:'DM Sans',sans-serif;font-size:var(--fs-label-xs);letter-spacing:1.5px;
        text-transform:uppercase;color:#9A9A92;margin-bottom:6px}
}


/* ============================================================
   SECTION — COE IMPLEMENTATION PHASES
   ============================================================ */

.coe-ph{background:#061519;padding:104px 24px}
.coe-ph__inner{max-width:1180px;margin:0 auto}
.coe-ph__head{text-align:center;max-width:680px;margin:0 auto 60px}
.coe-ph__rule{width:56px;height:1px;margin:0 auto 18px;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%)}
.coe-ph__eyebrow{font-family:'DM Sans',sans-serif;font-size:12px;letter-spacing:2.4px;
    text-transform:uppercase;color:#8BC34A;margin-bottom:18px}
.coe-ph__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(28px,3.8vw,42px);
    line-height:1.22;color:#fff;margin:0 0 18px;font-weight:500}
.coe-ph__title em{font-style:italic;color:#8BC34A;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.coe-ph__intro{font-family:'DM Sans',sans-serif;font-size:var(--fs-body);line-height:1.75;
    color:rgba(255,255,255,.58);margin:0}

.coe-ph__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;position:relative}
.coe-ph__card{background:#0C2026;border:1px solid rgba(255,255,255,.07);border-radius:14px;
    padding:28px 24px 30px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.coe-ph__card::before{content:"";position:absolute;inset:0 0 auto 0;height:2px;background:var(--acc)}
.coe-ph__step{font-family:'DM Sans',sans-serif;font-size:var(--fs-label-sm);letter-spacing:1.8px;
    color:var(--acc);margin-bottom:16px}
.coe-ph__dot{width:9px;height:9px;border-radius:50%;background:var(--acc);margin:-4px 0 10px}
.coe-ph__name{font-family:'Cormorant Garamond',Georgia,serif;font-size:25px;
    color:#fff;margin:0 0 8px;font-weight:500}
.coe-ph__time{font-family:'DM Sans',sans-serif;font-size:12px;letter-spacing:.6px;
    color:rgba(255,255,255,.42);margin:0 0 18px}
.coe-ph__mile{font-family:'DM Sans',sans-serif;font-size:13.5px;line-height:1.7;
    color:rgba(255,255,255,.62);margin:0;padding-top:16px;border-top:1px solid rgba(255,255,255,.08)}

@media(max-width:1000px){.coe-ph__grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.coe-ph__grid{grid-template-columns:1fr}.coe-ph{padding:72px 20px}}


/* ============================================================
   SECTION — COE FUNDING & SUSTAINABILITY
   --acc holds a gradient, not a hex. Use background, never border-color.
   ============================================================ */

.coe-fund{background:#fff;padding:110px 24px;border-top:1px solid #EAEAE4}
.coe-fund__inner{max-width:1000px;margin:0 auto}
.coe-fund__head{text-align:center;max-width:680px;margin:0 auto 56px}
.coe-fund__eyebrow{font-family:'DM Sans',sans-serif;font-size:12px;letter-spacing:2.4px;
    text-transform:uppercase;color:#0F6E56;margin-bottom:18px}
.coe-fund__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(28px,3.8vw,42px);
    line-height:1.22;color:#071a11;margin:0 0 18px;font-weight:500}
.coe-fund__title em{font-style:italic;color:#8BC34A;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.coe-fund__intro{font-family:'DM Sans',sans-serif;font-size:var(--fs-body);line-height:1.75;color:#6B6B64;margin:0}

.coe-fund__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.coe-fund__item{display:flex;gap:18px;align-items:stretch;
    background:#FAFAF7;border:1px solid #EAEAE4;border-radius:12px;padding:22px 24px;
    transition:transform .22s ease,box-shadow .22s ease}
.coe-fund__item:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(7,26,17,.06)}
.coe-fund__bar{flex:0 0 3px;align-self:stretch;border-radius:3px;background:var(--acc)}
.coe-fund__item:nth-child(3n+1){--acc:linear-gradient(180deg,#8BC34A,#0F6E56)}
.coe-fund__item:nth-child(3n+2){--acc:linear-gradient(180deg,#0F6E56,#1E8F6E)}
.coe-fund__item:nth-child(3n+3){--acc:linear-gradient(180deg,#378ADD,#185FA5)}
.coe-fund__txt{font-family:'DM Sans',sans-serif;font-size:var(--fs-body-sm);line-height:1.7;color:#4A5A50}

@media(max-width:760px){
    .coe-fund{padding:76px 20px}
    .coe-fund__grid{grid-template-columns:1fr}
}

/* ============================================================
   SECTION — COE FINAL CTA
   Uses shared .teif-eyebrow-ruled / .teif-btn-* components.
   Named .coe-final — .coe-cta belongs to the Services page
   COE roadmap section (see ~line 4060).
   ============================================================ */

.coe-final{background:#061519;padding:110px 24px;text-align:center}
.coe-final__inner{max-width:720px;margin:0 auto}
.coe-final__title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(30px,4.2vw,48px);
    line-height:1.2;color:#fff;margin:0 0 22px;font-weight:500}
.coe-final__body{font-family:'DM Sans',sans-serif;font-size:var(--fs-body);line-height:1.8;
    color:rgba(255,255,255,.62);margin:0}

/* .teif-em-lime is only styled under .teif-title-light / .cta-headline.
   Scope it to this headline too. */
.coe-final__title .teif-em-lime{font-style:italic;color:#8BC34A;
    background:linear-gradient(90deg,#8BC34A 0%,#378ADD 100%);
    -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}

/* .teif-btn-secondary is built for light sections (#0F6E56 text).
   Invert it for the dark background. */
.coe-final .teif-btn-secondary{color:#fff;border-color:rgba(255,255,255,.28)}
.coe-final .teif-btn-secondary:hover{color:#fff;border-color:rgba(139,195,74,.6);
    background:rgba(139,195,74,.08)}

@media(max-width:600px){.coe-final{padding:76px 20px}}

.testi-stack { display: flex; flex-direction: column; gap: 2rem; max-width: 720px; margin: 0 auto; }

.coe-phases { grid-template-columns: repeat(3, 1fr); }

/* === FIX: all stat strips — container widths + label sizing === */

/* Let each strip's row fill its parent instead of hitting an old 720px cap */
.services-hero-stats,
.contact-hero-stats,
.apply-hero-stats,
.teif-stats-row { max-width: none; }

/* Lock label size across every stat strip so a sitewide --fs-label-sm bump
   never squeezes words into mid-word breaks again */
.teif-stat-label,
.services-hero-stat-label,
.about-hero-stat-label,
.contact-hero-stat-label,
.apply-hero-stat-label,
.rs-stat-label {
    font-size: 11.5px;
    letter-spacing: 0.12em;
}

/* ============================================================
   SECTION — MISSION / TEI GLOBAL REACH
   Sits between the mission statement and the divider.
   ============================================================ */

.global-reach{margin:56px 0 8px;text-align:center}
.global-reach__title{font-family:'Cormorant Garamond',Georgia,serif;
    font-size:clamp(26px,3.2vw,34px);line-height:1.25;color:#185FA5;
    margin:0 0 8px;font-weight:600}
.global-reach__sub{font-family:'DM Sans',sans-serif;font-size:var(--fs-body-sm);
    line-height:1.7;color:#6B6B64;margin:0 0 26px}
.global-reach__img{display:block;width:100%;height:auto;margin:0 auto;
    border-radius:10px;border:1px solid #EAEAE4}

@media(max-width:768px){.global-reach{margin:40px 0 4px}}

/* ============================================================
   SECTION — EILS INSTRUMENTS v2 (4 cards, two-up)
   Overrides the earlier .instruments-grid column rule.
   ============================================================ */

.instruments-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

@media (max-width: 900px) {
    .instruments-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
}

/* Cards stretch to equal height; doc link pins to the bottom */
.instruments-grid .instrument-card {
    display: flex;
    flex-direction: column;
}

.instrument-card .instrument-doc {
    margin-top: auto;
    padding-top: 18px;
}

.instrument-card .instrument-doc a {
    display: inline-block;
    font-size: var(--fs-label-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.instrument-card .instrument-doc a:hover {
    opacity: 0.7;
}

/* --- Card 4: Additional Assessments --- */

.instrument-card-multi .instrument-sublist {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.instrument-card-multi .instrument-subitem {
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.instrument-card-multi .instrument-subitem:first-child {
    padding-top: 0;
    border-top: 0;
}

.instrument-card-multi .instrument-subitem-head {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.instrument-card-multi .instrument-subabbr {
    font-size: var(--fs-label-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.instrument-card-multi .instrument-subname {
    font-size: var(--fs-body-sm);
    font-weight: 600;
}

.instrument-card-multi .instrument-subdesc {
    margin: 0;
    font-size: var(--fs-body-sm);
    line-height: 1.55;
    opacity: 0.85;
}