/* ═══════════════════════════════════════════════════════
   GUIDING DREAMS · ECOSYSTEM · Editorial Organic Light
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --ink:        #111418;
  --navy:       #0d1f2d;
  --teal:       #3ecfaa;
  --cyan:       #29aee6;
  --teal-mid:   #2aad8c;
  --white:      #ffffff;
  --cream:      #faf9f6;
  --parchment:  #f5f3ee;
  --mist:       #eef0ec;
  --muted:      #6b7a8d;
  --border:     rgba(13,31,45,0.08);
  --border-md:  rgba(13,31,45,0.12);

  /* Tier accent colours */
  --c-founder:  #3ecfaa;
  --c-advisory: #2aad8c;
  --c-champion: #e8a020;
  --c-impl:     #29aee6;
  --c-fellow:   #9b74d4;
  --c-teacher:  #e8706a;
}

/* ════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════ */
.gdt-hero {
  background: var(--cream);
  padding: 30px 0 32px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Large decorative ring top-right */
.gdt-ring {
  position: absolute;
  pointer-events: none;
}
.gdt-ring-a {
  width: 560px; height: 560px;
  top: -200px; right: -160px;
  border-radius: 50%;
  border: 1px solid rgba(62,207,170,0.12);
}
.gdt-ring-b {
  width: 380px; height: 380px;
  top: -100px; right: -60px;
  border-radius: 50%;
  border: 1px dashed rgba(41,174,230,0.10);
}
.gdt-ring-c {
  width: 200px; height: 200px;
  top: 10px; right: 80px;
  border-radius: 50%;
  border: 1px solid rgba(62,207,170,0.08);
}
/* Small ring bottom-left */
.gdt-ring-d {
  width: 280px; height: 280px;
  bottom: -120px; left: -80px;
  border-radius: 50%;
  border: 1px dashed rgba(62,207,170,0.08);
}

.gdt-hero-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 20px;
  align-items: center;
  position: relative; z-index: 1;
}

/* Eyebrow */
.gdt-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 20px;
}
.gdt-eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  border-radius: 2px; display: block; flex-shrink: 0;
}

.gdt-h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.04; letter-spacing: -1.2px;
  margin-bottom: 24px;
}
.gdt-h1 em {
  font-style: italic;
  color: var(--teal-mid);
  position: relative;
}
/* Wavy underline on em */
.gdt-h1 em::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 5px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 6'%3E%3Cpath d='M0 3 Q10 0 20 3 Q30 6 40 3 Q50 0 60 3 Q70 6 80 3' fill='none' stroke='%233ecfaa' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center;
  background-size: 40px 5px;
  opacity: 0.6;
}

.gdt-hero-p {
  font-family: 'DM Sans', sans-serif;
  font-size: 15.5px; font-weight: 300;
  color: var(--muted); line-height: 1.82;
  /* max-width: 480px; */
}

/* Right column */
.gdt-hero-right {
  display: flex; flex-direction: column; gap: 20px;
}

/* Stats panel — frosted glass feel */
.gdt-stats-panel {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,31,45,0.06);
}
.gdt-stats-row {
  display: grid; grid-template-columns: repeat(3,1fr);
}
.gdt-stat {
  padding: 20px 18px 18px;
  border-right: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.gdt-stat:last-child { border-right: none; }
.gdt-stat::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
}
.gdt-stat:nth-child(1)::before { background: linear-gradient(90deg, var(--teal), var(--cyan)); }
.gdt-stat:nth-child(2)::before { background: linear-gradient(90deg, var(--cyan), #6dd5f8); }
.gdt-stat:nth-child(3)::before { background: linear-gradient(90deg, var(--teal-mid), var(--teal)); }
.gdt-stat-n {
  font-family: 'DM Serif Display', serif;
  font-size: 34px; letter-spacing: -1.5px; line-height: 1;
  color: var(--navy);
}
.gdt-stat-l {
  font-size: 10px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
  margin-top: 4px;
}

/* Discipline tags */
.gdt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 14px 9px;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.gdt-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--parchment);
  border: 1px solid var(--border-md);
  border-radius: 100px; padding: 5px 13px;
  transition: background 0.22s, color 0.22s, border-color 0.22s;
}
.gdt-tag:hover {
  background: rgba(62,207,170,0.10);
  color: var(--teal-mid);
  border-color: rgba(62,207,170,0.28);
}

/* ════════════════════════════════════════════════════
   ECOSYSTEM MAIN SECTION
════════════════════════════════════════════════════ */
.gdt-eco {
  background: var(--parchment);
  padding: 48px 0 48px;
  position: relative;
  overflow: hidden;
}

/* Background pattern — very subtle dot grid */
.gdt-eco::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(13,31,45,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Floating decorative SVG shapes */
.gdt-deco-float {
  position: absolute; pointer-events: none; z-index: 0;
}
.gdt-deco-float-1 {
  top: 60px; right: -30px;
  width: 220px; opacity: 0.06;
}
.gdt-deco-float-2 {
  bottom: 80px; left: -50px;
  width: 300px; opacity: 0.05;
}

/* Section header */
.gdt-eco-hd {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: auto 1fr;
  gap: 60px; align-items: end;
  margin-bottom: 72px;
}
.gdt-eco-h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 400; color: var(--ink);
  line-height: 1.08; letter-spacing: -0.6px;
  white-space: nowrap;
}
.gdt-eco-h2 em { font-style: italic; color: var(--teal-mid); }
.gdt-eco-p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px; font-weight: 300;
  color: var(--muted); line-height: 1.82;
  padding-bottom: 6px;
}

/* ── Sub-section dividers ── */
.gdt-sub {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
}
.gdt-sub + .gdt-sub { margin-top: 64px; }

.gdt-sub-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--border-md);
  border-radius: 100px;
  padding: 7px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(13,31,45,0.06);
  flex-shrink: 0;
}
.gdt-sub-pill svg { flex-shrink: 0; }
.gdt-sub-line { flex: 1; height: 1px; background: var(--border-md); }
.gdt-sub-count {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em;
  color: var(--teal-mid);
  background: rgba(62,207,170,0.10);
  border: 1px solid rgba(62,207,170,0.22);
  border-radius: 100px; padding: 3px 12px; flex-shrink: 0;
}

/* ════════════════════════════════════════════════════
   PERSON CARDS
════════════════════════════════════════════════════ */

/* Founders — 2 large landscape cards */
.gdt-founders {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; position: relative; z-index: 1;
  margin-bottom: 18px;
}

/* Rest — 4 col uniform */
.gdt-rest {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 14px; position: relative; z-index: 1;
}

/* Base card */
.gdt-card {
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  display: flex; flex-direction: column;
  transition: transform 0.30s cubic-bezier(.22,.68,0,1.2),
              box-shadow 0.30s ease,
              border-color 0.28s;
  position: relative;
  text-decoration: none; color: inherit;
}
.gdt-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(13,31,45,0.11);
}

/* Tier bar — coloured strip across top */
.gdt-card-bar { height: 5px; width: 100%; flex-shrink: 0; }
.gdt-card-bar--founder  { background: linear-gradient(90deg, #3ecfaa, #29aee6); }
.gdt-card-bar--advisory { background: linear-gradient(90deg, #2aad8c, #3ecfaa); }
.gdt-card-bar--champion { background: linear-gradient(90deg, #f5c030, #e8a020); }
.gdt-card-bar--impl     { background: linear-gradient(90deg, #29aee6, #5bc8f5); }
.gdt-card-bar--fellow   { background: linear-gradient(90deg, #b39ddb, #9b74d4); }

/* Hover border matches tier */
.gdt-card--founder:hover  { border-color: rgba(62,207,170,0.40); }
.gdt-card--advisory:hover { border-color: rgba(42,173,140,0.40); }
.gdt-card--champion:hover { border-color: rgba(232,160,32,0.45); }
.gdt-card--impl:hover     { border-color: rgba(41,174,230,0.40); }
.gdt-card--fellow:hover   { border-color: rgba(155,116,212,0.40); }

/* Photo */
.gdt-card-photo {
  width: 100%; overflow: hidden;
  position: relative; flex-shrink: 0;
}
.gdt-card--founder .gdt-card-photo { aspect-ratio: 16/10; }
.gdt-card--sm      .gdt-card-photo { aspect-ratio: 1/1; }

.gdt-card-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
  transition: transform 0.55s cubic-bezier(.22,.68,0,1.1);
}
.gdt-card:hover .gdt-card-photo img { transform: scale(1.06); }

/* Photo bg — soft gradient with SVG monogram when no image */
.gdt-card-photo-bg {
  position: absolute; 
  /* background: linear-gradient(145deg, #e8f5f0 0%, #d4ece0 100%); */
  display: none; align-items: center; justify-content: center;
}
.gdt-card--champion .gdt-card-photo-bg { background: linear-gradient(145deg, #fdf3de, #f5e3b8); }
.gdt-card--impl     .gdt-card-photo-bg { background: linear-gradient(145deg, #e5f3fb, #c8e8f8); }
.gdt-card--fellow   .gdt-card-photo-bg { background: linear-gradient(145deg, #f0eafa, #e0d3f5); }

.gdt-mono {
  font-family: 'DM Serif Display', serif;
  color: rgba(13,31,45,0.12);
  font-size: 60px; letter-spacing: -2px;
  pointer-events: none; user-select: none;
  line-height: 1;
}
.gdt-card--sm .gdt-mono { font-size: 36px; }

/* Body */
.gdt-card-body {
  padding: 16px 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
  flex: 1;
}
.gdt-card--founder .gdt-card-body { padding: 20px 22px 24px; }

.gdt-card-tier {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  margin-bottom: 2px;
}
.gdt-card--founder  .gdt-card-tier { color: var(--c-founder); }
.gdt-card--advisory .gdt-card-tier { color: var(--c-advisory); }
.gdt-card--champion .gdt-card-tier { color: var(--c-champion); }
.gdt-card--impl     .gdt-card-tier { color: var(--c-impl); }
.gdt-card--fellow   .gdt-card-tier { color: var(--c-fellow); }

.gdt-card-name {
  font-family: 'DM Serif Display', serif;
  font-weight: 400; color: var(--ink);
  letter-spacing: -0.2px; line-height: 1.18;
}
.gdt-card--founder .gdt-card-name { font-size: clamp(19px,1.9vw,23px); }
.gdt-card--sm      .gdt-card-name { font-size: 15px; }

.gdt-card-role {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 300;
  color: var(--muted); line-height: 1.5; margin-top: 1px;
}
.gdt-card--founder .gdt-card-role { font-size: 13.5px; }

/* Pills (founders) */
.gdt-card-pills {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px;
}
.gdt-pill {
  font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--teal-mid);
  background: rgba(62,207,170,0.09);
  border: 1px solid rgba(62,207,170,0.20);
  border-radius: 100px; padding: 3px 10px;
}

/* Social link */
.gdt-card-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px; font-weight: 600;
  color: rgba(13,31,45,0.25);
  text-decoration: none;
  margin-top: auto; padding-top: 10px;
  transition: color 0.22s;
  letter-spacing: 0.02em;
}
.gdt-card:hover .gdt-card-link { color: var(--teal-mid); }

/* ── TEACHER STRIP ── */
.gdt-teach-strip {
  position: relative; z-index: 1;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
  margin-top: 14px;
  display: flex; align-items: flex-start;
  gap: 24px; flex-wrap: wrap;
  overflow: hidden;
}
/* Left accent */
.gdt-teach-strip::before {
  content: '';
  position: absolute; top: 0; left: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-teacher), #f5a09a);
}
.gdt-teach-hd {
  display: flex; flex-direction: column; gap: 4px;
  flex-shrink: 0; padding-left: 4px;
}
.gdt-teach-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.20em; text-transform: uppercase;
  color: var(--c-teacher);
  display: flex; align-items: center; gap: 7px;
}
.gdt-teach-sub {
  font-size: 11.5px; font-weight: 300;
  color: var(--muted); font-family: 'DM Sans', sans-serif;
}
.gdt-teach-chips {
  display: flex; flex-wrap: wrap; gap: 9px; align-items: center;
}
/* Each teacher chip */
.gdt-tchip {
  display: flex; align-items: center; gap: 0;
  background: var(--parchment);
  border: 1.5px solid var(--border);
  border-radius: 100px; overflow: hidden;
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
  cursor: default;
}
.gdt-tchip:hover {
  border-color: rgba(232,112,106,0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232,112,106,0.12);
}
.gdt-tchip-img {
  width: 36px; height: 36px;
  flex-shrink: 0; overflow: hidden;
  background: linear-gradient(135deg, #fde8e6, #f9cac8);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 13px; color: #a04040;
}
.gdt-tchip-img img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block;
}
.gdt-tchip-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px; font-weight: 400;
  color: var(--ink); padding: 0 14px;
}

/* ════════════════════════════════════════════════════
   PARTNERS
════════════════════════════════════════════════════ */
.gdt-partners-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  position: relative; z-index: 1;
}

.gdt-partner {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.30s cubic-bezier(.22,.68,0,1.2),
              box-shadow 0.30s ease,
              border-color 0.28s;
  position: relative;
}
.gdt-partner:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(13,31,45,0.10);
  border-color: rgba(62,207,170,0.32);
}

/* Top colour band */
.gdt-partner-band { height: 5px; flex-shrink: 0; }
.gdt-partner:nth-child(1) .gdt-partner-band { background: linear-gradient(90deg,#3ecfaa,#29aee6); }
.gdt-partner:nth-child(2) .gdt-partner-band { background: linear-gradient(90deg,#29aee6,#5bc8f5); }
.gdt-partner:nth-child(3) .gdt-partner-band { background: linear-gradient(90deg,#2aad8c,#3ecfaa); }
.gdt-partner:nth-child(4) .gdt-partner-band { background: linear-gradient(90deg,#f5c030,#e8a020); }
.gdt-partner:nth-child(5) .gdt-partner-band { background: linear-gradient(90deg,#3a7a48,#52a860); }
.gdt-partner:nth-child(6) .gdt-partner-band { background: linear-gradient(90deg,#29aee6,#3ecfaa); }

/* Logo / icon area */
.gdt-partner-visual {
  padding: 24px 24px 16px;
  display: flex; align-items: center;
  min-height: 72px;
}

/* If logo image exists */
.gdt-partner-logo {
  display: flex; align-items: center;
}
.gdt-partner-logo img {
  max-height: 44px; max-width: 180px; width: auto;
  object-fit: contain;
  /* desaturated by default */
  filter: grayscale(1) brightness(0.45) contrast(1.1);
  opacity: 0.65;
  transition: filter 0.40s ease, opacity 0.40s ease, transform 0.30s ease;
}
.gdt-partner:hover .gdt-partner-logo img {
  filter: grayscale(0) brightness(1) contrast(1);
  opacity: 1;
  transform: scale(1.04);
}

/* Icon fallback */
.gdt-partner-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.28s;
}
.gdt-partner:hover .gdt-partner-icon { transform: scale(1.08) rotate(-4deg); }
.gdt-pi-teal  { background: rgba(62,207,170,0.10); border: 1.5px solid rgba(62,207,170,0.20); }
.gdt-pi-cyan  { background: rgba(41,174,230,0.10); border: 1.5px solid rgba(41,174,230,0.20); }
.gdt-pi-gold  { background: rgba(245,192,48,0.10); border: 1.5px solid rgba(245,192,48,0.22); }
.gdt-pi-sage  { background: rgba(80,140,90,0.10);  border: 1.5px solid rgba(80,140,90,0.20); }

/* Body */
.gdt-partner-body {
  padding: 0 24px 26px;
  display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.gdt-partner-type {
  font-family: 'DM Sans', sans-serif;
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-mid);
}
.gdt-partner-name {
  font-family: 'DM Serif Display', serif;
  font-size: 17px; font-weight: 400;
  color: var(--ink); line-height: 1.26;
  letter-spacing: -0.15px;
}
.gdt-partner-name small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 300;
  color: var(--muted); font-style: normal;
  margin-top: 3px; letter-spacing: 0;
}
.gdt-partner-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; font-weight: 300;
  color: var(--muted); line-height: 1.6;
  margin-top: 2px;
}

/* ════════════════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════════════════ */
.gdt-rv {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.60s cubic-bezier(.22,.68,0,1), transform 0.60s cubic-bezier(.22,.68,0,1);
}
.gdt-rv.gdt-in { opacity: 1; transform: none; }
.gdt-rv-l {
  opacity: 0; transform: translateX(-32px);
  transition: opacity 0.60s cubic-bezier(.22,.68,0,1), transform 0.60s cubic-bezier(.22,.68,0,1);
}
.gdt-rv-l.gdt-in { opacity: 1; transform: none; }
.gdt-rv-r {
  opacity: 0; transform: translateX(32px);
  transition: opacity 0.60s cubic-bezier(.22,.68,0,1), transform 0.60s cubic-bezier(.22,.68,0,1);
}
.gdt-rv-r.gdt-in { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */
@media (max-width: 1060px) {
  .gdt-rest            { grid-template-columns: repeat(3,1fr); }
  .gdt-partners-grid   { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .gdt-hero-inner      { grid-template-columns: 1fr; gap: 44px; }
  .gdt-eco-hd          { grid-template-columns: 1fr; gap: 16px; }
  .gdt-eco-h2          { white-space: normal; }
  .gdt-founders        { grid-template-columns: 1fr; }
  .gdt-rest            { grid-template-columns: repeat(2,1fr); }
  .gdt-partners-grid   { grid-template-columns: 1fr 1fr; }
  .gdt-teach-strip     { flex-direction: column; gap: 16px; }
}
@media (max-width: 480px) {
  .gdt-stats-row       { grid-template-columns: 1fr 1fr; }
  .gdt-rest            { grid-template-columns: 1fr 1fr; }
  .gdt-partners-grid   { grid-template-columns: 1fr; }
}