/* ============================================================
   CONSULTATION SECTION — Scoped styles for redesigned tabs
   Each tab uses a unique class prefix to avoid conflicts:
   ch- = Consultation Home (Tab 1)
   sv- = Services (Tab 2)
   tm- = Testimonials (Tab 3)
   pf- = Portfolio (Tab 4)
   ab- = About (Tab 5)
   ct- = Contact (Tab 6)
   cta- = Shared CTA strip
   ============================================================ */

/* ============================================================
   SHARED: CTA Strip (used on Tabs 1–5)
   ============================================================ */

.ch-wrap .cta-wrap {
  background: var(--cta-bg, #E1F5EE);
  border-radius: 12px !important;
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.ch-wrap .cta-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 300;
  color: var(--cta-color, #085041);
  line-height: 1.55;
}

.ch-wrap .cta-text strong {
  font-weight: 500;
  display: block;
  font-size: 16px;
  margin-bottom: 0.2rem;
}

.ch-wrap a.cta-btn {
  display: inline-block;
  background: var(--cta-btn-bg, #0F6E56);
  color: var(--cta-btn-color, #E1F5EE);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.ch-wrap a.cta-btn:hover {
  background: var(--cta-btn-hover, #085041);
  color: var(--cta-btn-color, #E1F5EE);
}

@media (max-width: 620px) {
  .ch-wrap .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   TAB 1: Consultation Home (ch- prefix)
   ============================================================ */

.ch-wrap {
  --green-light:  #E1F5EE;
  --green-mid:    #1D9E75;
  --green-dark:   #0F6E56;
  --green-deep:   #085041;
  --text-body:    #2C2C2A;
  --text-muted:   #5F5E5A;
  --border:       rgba(44, 44, 42, 0.12);
  --bg-surface:   #F8F7F4;
  --radius-sm:    8px;
  --radius-md:    12px;
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  max-width: 820px;
  padding: 0 1.25rem 3rem;
}

.ch-wrap *, .ch-wrap *::before, .ch-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Force Inter on body text elements to beat .main p/.main ul from main.css.
   Headings (h1-h3) and spans are excluded — they have their own font declarations (DM Serif Display, etc.) */
.main .ch-wrap p,
.main .ch-wrap ul,
.main .ch-wrap li,
.main .sv-wrap p,
.main .sv-wrap ul,
.main .sv-wrap li,
.main .tm-wrap p,
.main .tm-wrap ul,
.main .tm-wrap li,
.main .consultation-intro p {
  font-family: 'Inter', sans-serif;
}

/* Hero */
.ch-hero {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 2.5rem;
  align-items: start;
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border);
}

.ch-wrap .ch-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
}

.ch-wrap .ch-hero-name {
  font-family: 'DM Serif Display', serif;
  font-size: 38px;
  line-height: 1.1;
  color: var(--text-body);
  margin-bottom: 1rem;
  font-weight: 400;
}

.ch-hero-tagline {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
  max-width: 480px;
}

.ch-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ch-wrap .ch-pill {
  font-size: 12px;
  font-weight: 500;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 4px 12px;
  border-radius: 20px;
}

.ch-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* Stats bar */
.ch-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 1.75rem 0;
}

.ch-stat {
  padding: 1rem;
  text-align: center;
  background: var(--bg-surface);
}

.ch-stat + .ch-stat {
  border-left: 1px solid var(--border);
}

.ch-stat-num {
  display: block;
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  color: var(--green-dark);
  font-weight: 400;
}

.ch-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  display: block;
}

/* Origin section */
.ch-origin {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.ch-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.ch-pull-quote {
  margin: 1.25rem 0 1.5rem;
  padding: 0.9rem 1.4rem;
  border-left: 3px solid var(--green-mid);
  font-family: 'DM Serif Display', serif;
  font-size: 19px;
  font-style: italic;
  line-height: 1.55;
  color: var(--text-body);
}

.ch-body-text {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--text-muted);
  font-weight: 300;
}

.ch-body-text p + p {
  margin-top: 1rem;
}

/* Services overview */
.ch-services {
  padding: 2rem 0 0;
}

.ch-wrap .ch-services-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.ch-services-sub {
  font-size: 14.5px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.ch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.ch-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.ch-card-icon {
  width: 28px;
  height: 28px;
  background: var(--green-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}

.ch-card-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--green-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ch-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--text-body);
}

.ch-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 300;
}

.ch-card-solo {
  grid-column: 1 / 2;
}

/* Responsive */
@media (max-width: 620px) {
  .ch-hero {
    grid-template-columns: 1fr;
  }
  .ch-hero-photo-wrap {
    order: -1;
    max-width: 160px;
  }
  .ch-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .ch-stat:nth-child(3) {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .ch-stat:nth-child(4) {
    border-top: 1px solid var(--border);
  }
  .ch-grid {
    grid-template-columns: 1fr;
  }
  .ch-card-solo {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   SHARED: Consultation Intro (used on Tabs 2, 3, 4, 6)
   ============================================================ */

.consultation-intro {
  font-family: 'Inter', sans-serif;
  max-width: 820px;
  padding: 2rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(44, 44, 42, 0.12);
  margin-bottom: 1.5rem;
}

.main h2.consultation-intro-headline {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-weight: 400;
  color: #2C2C2A;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.consultation-intro .consultation-intro-sub,
.consultation-intro .consultation-intro-sub p {
  font-size: 15px;
  font-weight: 300;
  color: #5F5E5A;
  line-height: 1.7;
  max-width: 620px;
}

.consultation-intro .consultation-intro-sub em {
  font-style: italic;
}

/* ============================================================
   TAB 2: Services (sv- prefix)
   ============================================================ */

.sv-wrap {
  --green-light:  #E1F5EE;
  --green-mid:    #1D9E75;
  --green-dark:   #0F6E56;
  --green-deep:   #085041;
  --text-body:    #2C2C2A;
  --text-muted:   #5F5E5A;
  --border:       rgba(44, 44, 42, 0.12);
  --bg-surface:   #F8F7F4;
  --radius-sm:    8px;
  --radius-md:    12px;
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  max-width: 820px;
  padding: 0 1.25rem 3rem;
}

.sv-wrap *, .sv-wrap *::before, .sv-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Cards */
.sv-wrap .sv-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md) !important;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--bg-surface);
}

.sv-wrap .sv-header {
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
}

.sv-wrap .sv-header:hover {
  background: #EEF9F4;
}

.main .sv-wrap p.sv-problem {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--green-dark);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  font-style: italic;
}

.main .sv-wrap p.sv-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
}

.sv-wrap .sv-chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.sv-wrap .sv-chevron.open {
  transform: rotate(180deg);
}

/* Body (hidden by default) */
.sv-wrap .sv-body {
  display: none;
  padding: 0 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
}

.sv-wrap .sv-body.open {
  display: block;
}

.main .sv-wrap p.sv-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-muted);
  font-weight: 300;
  margin: 1rem 0 1rem;
}

.main .sv-wrap p.sv-includes-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

/* Bullet list — styled for textile-generated <ul> */
.sv-wrap .sv-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.main .sv-wrap .sv-includes ul li {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 300;
  padding-left: 1.1rem;
  padding-top: 0;
  position: relative;
  line-height: 1.55;
}

.sv-wrap .sv-includes ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green-mid);
}

/* Responsive */
@media (max-width: 560px) {
  .sv-wrap .sv-header {
    padding: 0.85rem 1rem;
  }
}

/* ============================================================
   TAB 3: Testimonials (tm- prefix)
   ============================================================ */

.tm-wrap {
  --coral-lightest: #FDF6F0;
  --coral-light:    #FAECE7;
  --coral-border:   #F5C4B3;
  --coral-mid:      #D85A30;
  --coral-dark:     #993C1D;
  --coral-deep:     #712B13;
  --coral-text:     #4A1B0C;
  --text-body:      #2C2C2A;
  --text-muted:     #5F5E5A;
  --border:         rgba(44, 44, 42, 0.12);
  --radius-sm:      8px;
  --radius-md:      12px;
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  max-width: 820px;
  padding: 0 1.25rem 3rem;
}

.tm-wrap *, .tm-wrap *::before, .tm-wrap *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 2-column masonry grid */
.tm-wrap .tm-grid {
  columns: 2;
  column-gap: 14px;
  margin-bottom: 1.5rem;
}

/* Individual testimonial card */
.tm-wrap .tm-card {
  break-inside: avoid;
  margin-bottom: 14px;
  background: var(--coral-lightest);
  border: 1px solid var(--coral-border);
  border-radius: var(--radius-md) !important;
  padding: 1.25rem 1.3rem;
}

.tm-wrap .tm-quote-mark {
  font-family: 'DM Serif Display', serif;
  font-size: 44px;
  line-height: 0.8;
  color: var(--coral-mid);
  margin-bottom: 0.5rem;
  display: block;
}

.main .tm-wrap p.tm-quote {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-body);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1rem;
}

.tm-wrap .tm-divider {
  width: 28px;
  height: 2px;
  background: var(--coral-mid);
  border-radius: 1px;
  margin-bottom: 0.75rem;
}

.tm-wrap .tm-attribution {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tm-wrap .tm-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--coral-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--coral-deep);
  flex-shrink: 0;
}

.main .tm-wrap p.tm-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.3;
}

.main .tm-wrap p.tm-role {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.4;
  margin-top: 1px;
}

/* CTA coral overrides for Tab 3 */
#tab3Tab .ch-wrap .cta-wrap {
  background: #FAECE7;
}

#tab3Tab .ch-wrap .cta-text,
#tab3Tab .ch-wrap .cta-text strong {
  color: #4A1B0C;
}

#tab3Tab .ch-wrap a.cta-btn {
  background: #993C1D;
  color: #FDF6F0;
}

#tab3Tab .ch-wrap a.cta-btn:hover {
  background: #712B13;
  color: #FDF6F0;
}

/* Responsive */
@media (max-width: 580px) {
  .tm-wrap .tm-grid {
    columns: 1;
  }
}

/* ==========================================================================
   TAB 4: PORTFOLIO & PRESS (pf- prefix) — Blue palette
   ========================================================================== */

.pf-wrap {
  --blue-lightest: #E6F1FB;
  --blue-light:    #B5D4F4;
  --blue-mid:      #378ADD;
  --blue-dark:     #185FA5;
  --blue-deep:     #0C447C;
  --blue-text:     #042C53;
  --text-body:     #2C2C2A;
  --text-muted:    #5F5E5A;
  --border:        rgba(44, 44, 42, 0.12);
  --border-blue:   #B5D4F4;
  --bg-surface:    #F8F7F4;
  --radius-sm:     8px;
  --radius-md:     12px;
  color: var(--text-body);
  max-width: 820px;
  padding: 0 1.25rem 2rem;
}

/* Internal navigation pills */
.pf-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 2rem;
}

.pf-nav-btn {
  font-size: 12.5px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pf-nav-btn:hover {
  background: var(--blue-lightest);
  color: var(--blue-dark);
  border-color: var(--blue-light);
}

.pf-nav-btn.active {
  background: var(--blue-dark);
  color: var(--blue-lightest);
  border-color: var(--blue-dark);
}

/* Section visibility */
.pf-section {
  display: none;
}

.pf-section.active {
  display: block;
}

.pf-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ---- ORGANIZATIONS ---- */
.pf-sector {
  margin-top: 1.5rem;
  margin-bottom: 1.75rem;
}

.pf-sector:first-child {
  margin-top: 0.75rem;
}

.pf-sector-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  border-bottom: 1px solid var(--border-blue);
  padding-bottom: 0.4rem;
  margin-bottom: 0.9rem;
}

.pf-org-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 0.5px solid var(--border);
  align-items: start;
}

.pf-org-row:last-child {
  border-bottom: none;
}

.pf-org-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.4;
}

.pf-org-state {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.pf-org-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  background: var(--blue-lightest);
  color: var(--blue-dark);
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 5px;
}

.pf-org-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

/* ---- BOOKS & PUBLICATIONS ---- */
.pf-book {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 0.5px solid var(--border);
  align-items: start;
}

.pf-book:last-of-type {
  border-bottom: none;
}

.pf-book-spine {
  width: 52px;
  height: 72px;
  border-radius: 3px;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pf-book-spine svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue-lightest);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pf-book-title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.4;
  margin-bottom: 3px;
}

.pf-book-title a {
  color: inherit;
  text-decoration: none;
}

.pf-book-title a:hover {
  color: var(--blue-dark);
}

.pf-book-pub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-style: italic;
}

.pf-book-desc {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

.pf-pub-divider {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-dark);
  border-bottom: 1px solid var(--border-blue);
  padding-bottom: 0.4rem;
  margin: 1.75rem 0 0.9rem;
}

.pf-pub-row {
  padding: 0.7rem 0;
  border-bottom: 0.5px solid var(--border);
}

.pf-pub-row:last-child {
  border-bottom: none;
}

.pf-pub-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.4;
  margin-bottom: 2px;
}

.pf-pub-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 3px;
}

.pf-pub-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.55;
}

/* ---- PODCASTS & PRESS (shared media row) ---- */
.pf-media-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 0.5px solid var(--border);
}

.pf-media-row:last-child {
  border-bottom: none;
}

.pf-media-outlet {
  width: 100px;
  flex-shrink: 0;
  padding-top: 2px;
}

.pf-outlet-badge {
  font-size: 11px;
  font-weight: 500;
  background: var(--blue-lightest);
  color: var(--blue-dark);
  padding: 3px 7px;
  border-radius: 4px;
  display: inline-block;
  line-height: 1.4;
}

.pf-media-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.4;
  margin-bottom: 2px;
}

.pf-media-title a {
  color: inherit;
  text-decoration: none;
}

.pf-media-title a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.pf-media-meta {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 3px;
}

.pf-media-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.55;
}

/* ---- TALKS ---- */
.pf-talk-row {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 0.5px solid var(--border);
  align-items: start;
}

.pf-talk-row:last-child {
  border-bottom: none;
}

.pf-talk-year {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-dark);
  padding-top: 2px;
}

.pf-talk-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.4;
  margin-bottom: 2px;
}

.pf-talk-venue {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 3px;
}

.pf-talk-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.55;
}

/* Foundation overrides for pf-wrap */
.main p.pf-section-label,
.main p.pf-sector-title,
.main p.pf-org-name,
.main p.pf-org-state,
.main p.pf-org-desc,
.main p.pf-book-title,
.main p.pf-book-pub,
.main p.pf-book-desc,
.main p.pf-pub-divider,
.main p.pf-pub-title,
.main p.pf-pub-meta,
.main p.pf-pub-desc,
.main p.pf-media-title,
.main p.pf-media-meta,
.main p.pf-media-desc,
.main p.pf-talk-year,
.main p.pf-talk-title,
.main p.pf-talk-venue,
.main p.pf-talk-desc {
  font-family: 'Inter', sans-serif;
  margin-bottom: 0;
}

/* Foundation color overrides — blue elements */
.main p.pf-sector-title,
.main p.pf-pub-divider,
.main p.pf-talk-year {
  color: #185FA5;
}

/* Foundation color overrides — muted elements */
.main p.pf-section-label,
.main p.pf-org-state,
.main p.pf-org-desc,
.main p.pf-book-pub,
.main p.pf-book-desc,
.main p.pf-pub-meta,
.main p.pf-pub-desc,
.main p.pf-media-meta,
.main p.pf-media-desc,
.main p.pf-talk-venue,
.main p.pf-talk-desc {
  color: #5F5E5A;
}

/* Foundation color overrides — body text elements */
.main p.pf-org-name,
.main p.pf-book-title,
.main p.pf-pub-title,
.main p.pf-media-title,
.main p.pf-talk-title {
  color: #2C2C2A;
}

/* Foundation font-weight overrides — 500 (medium) elements */
.main p.pf-section-label,
.main p.pf-sector-title,
.main p.pf-org-name,
.main p.pf-book-title,
.main p.pf-pub-title,
.main p.pf-pub-divider,
.main p.pf-media-title,
.main p.pf-talk-title,
.main p.pf-talk-year {
  font-weight: 500;
}

/* Foundation font-weight overrides — 300 (light) elements */
.main p.pf-org-state,
.main p.pf-org-desc,
.main p.pf-book-pub,
.main p.pf-book-desc,
.main p.pf-pub-meta,
.main p.pf-pub-desc,
.main p.pf-media-meta,
.main p.pf-media-desc,
.main p.pf-talk-venue,
.main p.pf-talk-desc {
  font-weight: 300;
}

/* Foundation font-weight overrides — span elements */
.main .pf-org-tag,
.main .pf-outlet-badge {
  font-weight: 600;
}

/* Foundation font-style overrides — italic elements */
.main p.pf-book-pub,
.main p.pf-pub-meta,
.main p.pf-media-meta,
.main p.pf-talk-venue {
  font-style: italic;
}

/* Tab 4 responsive */
@media (max-width: 580px) {
  .pf-org-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
  .pf-talk-row {
    grid-template-columns: 40px 1fr;
  }
  .pf-media-outlet {
    width: 80px;
  }
}

/* ==========================================================================
   TAB 4: CTA Blue overrides (reusing shared consultationCTA.html)
   ========================================================================== */

#tab4Tab .ch-wrap .cta-wrap {
  background: #E6F1FB;
}

#tab4Tab .ch-wrap .cta-wrap strong {
  color: #042C53;
}

#tab4Tab .ch-wrap .cta-wrap p {
  color: #042C53;
}

#tab4Tab .ch-wrap a.cta-btn {
  background: #185FA5;
  color: #E6F1FB;
  border-radius: 8px !important;
}

#tab4Tab .ch-wrap a.cta-btn:hover {
  background: #0C447C;
  color: #E6F1FB;
}

/* ==========================================================================
   TAB 5: ABOUT (ab- prefix) — Warm gray + green accents
   ========================================================================== */

.ab-wrap {
  --gray-lightest: #F1EFE8;
  --gray-light:    #D3D1C7;
  --gray-mid:      #888780;
  --gray-dark:     #444441;
  --text-body:     #2C2C2A;
  --text-muted:    #5F5E5A;
  --green-mid:     #1D9E75;
  --green-dark:    #0F6E56;
  --border:        rgba(44, 44, 42, 0.12);
  --radius-sm:     8px;
  --radius-md:     12px;
  color: var(--text-body);
  max-width: 820px;
  padding: 0 1.25rem 2rem;
}

/* Hero */
.ab-hero {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 2.5rem;
  align-items: start;
  padding: 2rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.ab-tagline {
  font-family: 'DM Serif Display', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  margin-bottom: 0.9rem;
  line-height: 1.6;
}

.ab-hero-name {
  font-family: 'DM Serif Display', serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--text-body);
  margin-bottom: 0.9rem;
}

.ab-hero-intro {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

.ab-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}

/* Narrative sections — left-bar accent layout */
.ab-section {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 3px 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.ab-section-bar {
  background: var(--gray-mid);
  border-radius: 2px;
}

.ab-section-bar.green {
  background: var(--green-mid);
}

.ab-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 0.6rem;
}

.ab-section-label.green {
  color: var(--green-dark);
}

.ab-body {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
}

.ab-body p + p {
  margin-top: 0.9rem;
}

/* Pull quote */
.ab-pull {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-body);
  margin: 1rem 0;
  padding: 0.85rem 1.2rem;
  background: var(--gray-lightest);
  border-radius: var(--radius-sm);
}

/* Section photo */
.ab-section-photo {
  margin: 1.1rem 0 0.25rem;
  max-width: calc(50% - 6px);
}

.ab-section-photo img {
  width: 100%;
  border-radius: var(--radius-sm);
  object-fit: cover;
  display: block;
}

.ab-photo-caption {
  font-size: 11px;
  color: var(--gray-mid);
  text-align: center;
  margin-top: 5px;
}

.ab-photo-caption:empty {
  display: none;
}

/* Credentials */
.ab-credentials {
  padding: 1.75rem 0 0;
}

.ab-cred-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--text-body);
  margin-bottom: 1.2rem;
}

.ab-cred-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.ab-cred-card {
  background: var(--gray-lightest);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
}

.ab-cred-card-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 4px;
}

.ab-cred-card-value {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.4;
}

.ab-cred-card-value span {
  font-weight: 300;
  color: var(--text-muted);
  font-size: 12.5px;
}

/* Education rows */
.ab-edu {
  margin-bottom: 1.25rem;
}

.ab-edu-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 0.5rem;
}

.ab-edu-row {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 0.5px solid var(--border);
  align-items: baseline;
}

.ab-edu-row:last-child {
  border-bottom: none;
}

.ab-edu-degree {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-body);
  min-width: 46px;
  flex-shrink: 0;
}

.ab-edu-detail {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Foundation overrides for ab-wrap */
.main p.ab-tagline,
.main p.ab-hero-intro,
.main p.ab-section-label,
.main p.ab-cred-card-label,
.main p.ab-cred-card-value,
.main p.ab-edu-label,
.main p.ab-photo-caption {
  font-family: 'Inter', sans-serif;
  margin-bottom: 0;
}

.main h2.ab-hero-name {
  font-family: 'DM Serif Display', serif;
  color: #2C2C2A;
}

.main h3.ab-cred-heading {
  font-family: 'DM Serif Display', serif;
  color: #2C2C2A;
}

/* Foundation color overrides for ab- elements */
.main p.ab-tagline {
  font-family: 'DM Serif Display', serif;
  color: #5F5E5A;
}

.main p.ab-hero-intro {
  color: #5F5E5A;
}

.main p.ab-section-label {
  color: #888780;
}

.main p.ab-section-label.green {
  color: #0F6E56;
}

.main p.ab-cred-card-label,
.main p.ab-edu-label,
.main p.ab-photo-caption {
  color: #888780;
}

.main p.ab-cred-card-value {
  color: #2C2C2A;
}

/* Foundation font-weight overrides for ab- elements */
.main p.ab-section-label,
.main p.ab-cred-card-label,
.main p.ab-edu-label {
  font-weight: 500;
}

.main p.ab-hero-intro {
  font-weight: 300;
}

.main p.ab-tagline {
  font-style: italic;
}

/* Tab 5 responsive */
@media (max-width: 580px) {
  .ab-hero {
    grid-template-columns: 1fr;
  }
  .ab-hero-photo-wrap {
    order: -1;
    max-width: 180px;
  }
  .ab-cred-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TAB 5: CTA Gray/Green overrides (reusing shared consultationCTA.html)
   ========================================================================== */

#tab5Tab .ch-wrap .cta-wrap {
  background: #F1EFE8;
}

#tab5Tab .ch-wrap .cta-wrap strong {
  color: #2C2C2A;
}

#tab5Tab .ch-wrap .cta-wrap p {
  color: #2C2C2A;
}

#tab5Tab .ch-wrap a.cta-btn {
  background: #2C2C2A;
  color: #F1EFE8;
  border-radius: 8px !important;
}

#tab5Tab .ch-wrap a.cta-btn:hover {
  background: #0F6E56;
  color: #F1EFE8;
}

/* ==========================================================================
   TAB 6: CONTACT (ct- prefix) — Green palette
   ========================================================================== */

.ct-wrap {
  --green-lightest: #E1F5EE;
  --green-light:    #9FE1CB;
  --green-mid:      #1D9E75;
  --green-dark:     #0F6E56;
  --green-deep:     #085041;
  --gray-lightest:  #F1EFE8;
  --text-body:      #2C2C2A;
  --text-muted:     #5F5E5A;
  --border:         rgba(44, 44, 42, 0.12);
  --border-mid:     rgba(44, 44, 42, 0.25);
  --radius-sm:      8px;
  --radius-md:      12px;
  color: var(--text-body);
  max-width: 820px;
  padding: 0 1.25rem 3rem;
}

/* Header — let .consultation-intro handle its own padding/border */
.ct-header {
  margin-bottom: 1.75rem;
}

.ct-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: var(--text-body);
}

.ct-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 560px;
}

/* Two-column layout: form + sidebar */
.ct-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2.5rem;
  align-items: start;
}

/* ---- AUDIENCE CHIPS ---- */
.ct-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 1.5rem;
}

.ct-audience-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  width: 100%;
  margin-bottom: 4px;
}

.ct-chip {
  font-size: 12px;
  font-weight: 400;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-mid);
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.ct-chip:hover,
.ct-chip.active {
  background: var(--green-lightest);
  color: var(--green-dark);
  border-color: var(--green-mid);
}

/* ---- FORM FIELDS ---- */
.ct-field {
  margin-bottom: 1rem;
}

.ct-field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.ct-field label span {
  color: var(--green-mid);
  margin-left: 2px;
}

.ct-input {
  width: 100%;
  padding: 9px 12px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--text-body);
  background: #fff;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  font-weight: 300;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

.ct-input:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(29, 158, 117, 0.12);
}

textarea.ct-input {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ct-submit {
  width: 100%;
  padding: 11px;
  background: var(--green-dark);
  color: var(--green-lightest);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.15s;
}

.ct-submit:hover {
  background: var(--green-deep);
}

/* Form error styling */
.ct-field .error {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #D85A30;
  margin-top: 4px;
}

/* Success message */
.ct-success {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--green-dark);
  line-height: 1.6;
  padding: 1rem 1.2rem;
  background: var(--green-lightest);
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

/* ---- SIDEBAR ---- */
.ct-sidebar-card {
  background: var(--gray-lightest);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
  margin-bottom: 12px;
}

.ct-sidebar-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.ct-sidebar-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: var(--text-body);
}

.ct-sidebar-body {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.6;
}

.ct-sidebar-body a {
  color: var(--green-dark);
  text-decoration: none;
}

.ct-sidebar-body a:hover {
  text-decoration: underline;
}

/* Direct email row */
.ct-direct {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0.75rem;
}

.ct-direct-icon {
  width: 32px;
  height: 32px;
  background: var(--green-lightest);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-direct-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--green-dark);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ct-direct-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.4;
}

.ct-direct-text a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 400;
}

.ct-direct-text a:hover {
  text-decoration: underline;
}

/* Listserv card */
.ct-listserv {
  background: var(--green-lightest);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.3rem;
}

.ct-listserv-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
}

.ct-listserv-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: var(--green-deep);
}

.ct-listserv-body,
.ct-listserv-body p {
  font-size: 12.5px;
  font-weight: 300;
  color: var(--green-deep);
  line-height: 1.65;
}

.ct-listserv-body a {
  color: var(--green-dark);
  font-weight: 400;
}

/* Foundation overrides for ct-wrap */
.main p.ct-audience-label,
.main p.ct-sub,
.main p.ct-sidebar-label,
.main p.ct-sidebar-heading,
.main p.ct-sidebar-body,
.main p.ct-listserv-label,
.main p.ct-listserv-heading,
.main p.ct-listserv-body,
.main p.ct-success {
  font-family: 'Inter', sans-serif;
  margin-bottom: 0;
}

.main h2.ct-heading {
  font-family: 'DM Serif Display', serif;
  color: #2C2C2A;
}

.main p.ct-sidebar-heading,
.main p.ct-listserv-heading {
  font-family: 'DM Serif Display', serif;
}

/* Foundation color overrides for ct- elements */
.main p.ct-sub,
.main p.ct-sidebar-body,
.main p.ct-sidebar-label,
.main p.ct-audience-label {
  color: #5F5E5A;
}

.main p.ct-listserv-label {
  color: #0F6E56;
}

.main p.ct-listserv-heading {
  color: #085041;
}

.main p.ct-listserv-body {
  color: #085041;
}

/* Foundation font-weight overrides for ct- elements */
.main p.ct-audience-label,
.main p.ct-sidebar-label,
.main p.ct-listserv-label {
  font-weight: 500;
}

.main p.ct-sub,
.main p.ct-sidebar-body,
.main p.ct-listserv-body {
  font-weight: 300;
}

/* Tab 6 responsive */
@media (max-width: 600px) {
  .ct-layout {
    grid-template-columns: 1fr;
  }
  .ct-row {
    grid-template-columns: 1fr;
  }
}
