/* =============================================================
   ChannelBridge Consulting — Consolidated Stylesheet
   Covers: Home, About, Services, Biographies,
           Fractional Executive, Marketing Rep
   ============================================================= */


/* ── 1. DESIGN TOKENS ───────────────────────────────────────── */
:root {
  --primary-navy:  #001030;
  --deep-slate:    #203050;
  --blue-gray:     #204050;
  --slate-blue:    #7080A0;
  --warm-white:    #F0F0F0;
  --pale-tint:     #E0F0F0;
  --body-text:     #192033;
  --muted-text:    #5f6980;
  --card-border:   #dfe4ee;
  --card-bg:       #ffffff;
  --max-width:     1180px;
  --shadow-soft:   0 8px 24px rgba(0, 0, 0, 0.05);
  --radius:        14px;
}


/* ── 2. RESET & BASE ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--warm-white);
  color: var(--body-text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--slate-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin-left: 1.1rem;
  margin-top: 0.75rem;
}

li {
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
}

th,
td {
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--card-border);
  text-align: left;
}

th {
  background: #f3f4f8;
  font-weight: 600;
}


/* ── 3. TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  color: var(--primary-navy);
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 2.4vw, 2.5rem); }
h3 { font-size: 1.18rem; }

.eyebrow,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--slate-blue);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-blue);
  font-weight: 700;
  margin-bottom: 0.5rem;
}


/* ── 4. LAYOUT UTILITIES ────────────────────────────────────── */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 100%;
  margin-bottom: 2rem;
}

.section-head p {
  color: var(--muted-text);
  margin-bottom: 0;
}


/* ── 5. HEADER & NAVIGATION ─────────────────────────────────── */
header {
  background: var(--primary-navy);
  color: var(--warm-white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.logo-text {
  display: flex;
  align-items: center;
}

.logo-text a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  height: 75px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: var(--warm-white);
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--pale-tint);
}


/* ── 6. PAGE BANNER (interior pages) ───────────────────────── */
.page-banner {
  width: 100%;
  height: 300px;
  overflow: hidden;
  padding: 0;
}

.page-banner-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}


/* ── 6b. LOGO BANNER (home page large logo) ─────────────────── */

.logo-banner {
  width: 100%;
  min-height: 170px;
  height: clamp(180px, 20vw, 260px);
  padding: 0;
  margin: 0;
  background: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-banner picture {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-banner-image {
  display: block;
  width: min(98vw, 1400px);
  height: auto;
  max-height: 95%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-banner {
    height: clamp(175px, 34vw, 220px);
    min-height: 175px;
  }

  .logo-banner-image {
    width: min(96vw, 760px);
    max-width: 96vw;
    max-height: 88%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .logo-banner {
    height: clamp(165px, 42vw, 200px);
    min-height: 165px;
  }

  .logo-banner-image {
    width: 96vw;
    max-width: 96vw;
    max-height: 86%;
    height: auto;
  }
}

/* ── 7. HERO SECTION ────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--primary-navy), var(--deep-slate));
  color: var(--warm-white);
  padding: 4.5rem 0 4rem;
}

/* Ensure all text inside .hero is light regardless of page structure */
.hero h1,
.hero h2,
.hero h3,
.hero h4 {
  color: var(--warm-white);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 0.75rem;
}

.hero p {
  color: var(--pale-tint);
  margin-bottom: 1.5;
  font-size: 1.05rem;
}

.hero .eyebrow,
.hero .kicker {
  color: var(--slate-blue);
}

/* Home page hero variant */
.hero-inner {
  display: grid;
  gap: 2rem;
}

.hero-logo {
  width: 100%;
  margin-bottom: 2rem;
}

.hero-logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-sub {
  color: var(--pale-tint);
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--pale-tint);
}

/* Interior page hero variant (two-column) */
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-copy h1,
.hero-copy p,
.hero-copy .eyebrow {
  color: var(--warm-white);
}

.hero-copy .eyebrow {
  color: var(--pale-tint);
}

.hero-copy .lead {
  font-size: 1.1rem;
  color: var(--pale-tint);
  max-width: 100%;
}

.hero-copy p:last-of-type {
  color: #d8e3ef;
  max-width: 100%;
}

.hero-actions,
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Hero side panel */
.hero-side {
  display: grid;
  gap: 1rem;
}

.hero-image-panel,
.hero-metrics {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(4px);
}

.hero-image-panel img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.hero-image-caption {
  padding: 1rem 1.1rem 1.15rem;
  color: #dbe6f2;
  font-size: 0.94rem;
}

.hero-metrics {
  padding: 1.15rem;
  display: grid;
  gap: 0.9rem;
}

.metric {
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.metric:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric strong {
  display: block;
  color: var(--warm-white);
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
}

.metric span {
  color: #d6dfeb;
  font-size: 0.94rem;
}


/* ── 8. BUTTONS ─────────────────────────────────────────────── */
.btn,
.btn-primary,
.btn-secondary,
.bio-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.72rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary,
.bio-toggle {
  background: var(--slate-blue);
  color: var(--warm-white);
  border-color: var(--slate-blue);
}

.btn-primary:hover,
.bio-toggle:hover {
  background: var(--blue-gray);
  border-color: var(--blue-gray);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(240, 240, 240, 0.55);
}

.btn-secondary:hover {
  background: rgba(240, 240, 240, 0.08);
  text-decoration: none;
}

@media (max-width: 768px) {
  .leader-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
  }

  .bio-toggle {
    width: 100%;
    max-width: 280px;
    min-height: 48px;
    padding: 0.9rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }
}

/* ── 9. SECTION BACKGROUNDS ─────────────────────────────────── */
.section-alt {
  background: linear-gradient(180deg, #edf5f6 0%, #e6f0f2 100%);
}

.split-band {
  background: #f7f9fc;
  border-top: 1px solid #e3e8f0;
  border-bottom: 1px solid #e3e8f0;
}

.section-dark {
  background: var(--deep-slate);
  color: var(--warm-white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--warm-white);
}

.section-dark table th {
  background: rgba(0, 0, 0, 0.22);
}

.section-dark table td {
  border-color: rgba(255, 255, 255, 0.16);
}


/* ── 10. CARD & GRID SYSTEM ─────────────────────────────────── */
/* Generic 3-column grid (Home, About, Services) */
.grid-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.grid-3 .card {
  flex: 0 1 320px;
}
/* Card grids (Fractional, Marketing Rep) */
.cards-2,
.cards-3,
.benefits-grid {
  display: grid;
  gap: 1.25rem;
}

.cards-2             { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards-3,
.benefits-grid       { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.75rem;
}


/* Card component */
.card,
.service,
.benefit,
.approach-panel,
.cta-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card,
.service,
.benefit,
.approach-panel {
  padding: 1.5rem;
}

.card h3 { margin-bottom: 0.75rem; }

.card p:last-child,
.service p:last-child,
.benefit p:last-child {
  margin-bottom: 0;
}

.card p,
.service p,
.benefit p,
.card ul,
.service ul,
.benefit ul {
  color: var(--muted-text);
}

/* Approach grid */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

/* Home pillars list */
.pillars-list {
  display: grid;
  gap: 1rem;
}

.pillars-list div {
  background: #fff;
  border-radius: 0.5rem;
  padding: 0.85rem 0.9rem;
  font-size: 0.86rem;
  text-align: left;
  border: 1px solid #dde1ee;
}

.pillars-list div strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary-navy);
}

.pillars-list.section-dark div {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--warm-white);
}

.process-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
margin-top: 50px;
}

.process-card {
background: #ffffff;
padding: 36px;
border-radius: 12px;
box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.process-number {
font-size: .85rem;
font-weight: 700;
letter-spacing: .15em;
color: #4f6d8c;
margin-bottom: 12px;
}

.process-card h3 {
margin-bottom: 12px;
}

.process-intro {
font-weight: 600;
margin-bottom: 20px;
color: #2f3e4d;
}

.process-card ul {
margin: 0;
padding-left: 18px;
}

.process-card li {
margin-bottom: 12px;
}


/* ── 11. PROCESS STEPS ──────────────────────────────────────── */
.steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.step {
  padding-top: 1rem;
  border-top: 1px solid #e3e8f0;
}

.step:first-child {
  padding-top: 0;
  border-top: none;
}

.step span {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-blue);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step strong {
  display: block;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.step p {
  color: var(--muted-text);
  margin-bottom: 0;
}


/* ── 12. CTA BAND ───────────────────────────────────────────── */
.cta-wrap {
  padding-top: 0;
}

.cta-panel {
  background: linear-gradient(135deg, var(--primary-navy), var(--deep-slate));
  color: var(--warm-white);
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  border-color: rgba(255, 255, 255, 0.08);
}

.cta-panel h2,
.cta-panel p {
  color: var(--warm-white);
}

.cta-panel p {
  max-width: 58ch;
  color: #d8e3ef;
  margin-bottom: 0;
}


/* ── 13. CONTACT ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

/* Form layout */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--body-text);
  display: block;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.4rem;
  border: 1px solid #cfd3e3;
  font: inherit;
  font-size: 0.95rem;
  color: var(--body-text);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--slate-blue);
  box-shadow: 0 0 0 3px rgba(112, 128, 160, 0.15);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237080A0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form-submit {
  margin-top: 0.5rem;
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--primary-navy);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--body-text);
}

.contact-detail:last-child {
  margin-bottom: 0;
}

.contact-detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-blue);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-detail-value {
  color: var(--body-text);
  font-size: 0.97rem;
}

.contact-detail-value a {
  color: var(--body-text);
  text-decoration: none;
}

.contact-detail-value a:hover {
  color: var(--slate-blue);
  text-decoration: underline;
}

.form-success {
  display: none;
  background: var(--card-bg);
  border: 1px solid #b8dfc8;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: #1a6b3c;
}

.form-success h3 {
  color: #1a6b3c;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: #2e7d50;
  margin-bottom: 0;
}


/* ── 14. BIOGRAPHY PAGE ─────────────────────────────────────── */
.bio-list-section {
  padding-top: 2.5rem;
}

.leader-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.leader-summary {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  align-items: start;
}

.leader-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 10px;
  background: #dde4ee;
}

.leader-main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.leader-name {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.1;
  margin-bottom: 0;
}

.leader-role {
  color: #3d6da3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
  font-weight: 700;
}

.leader-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  color: var(--muted-text);
  font-size: 0.94rem;
}

.leader-summary-text {
  max-width: 760px;
  margin-bottom: 0;
}

.leader-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.25rem;
}

.mini-block {
  border: 1px solid #e3e8f0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: #fbfcfe;
}

.mini-block h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #53749d;
  margin-bottom: 0.45rem;
}

.mini-block p,
.mini-block ul {
  font-size: 0.92rem;
  margin-bottom: 0;
}

.mini-block ul {
  margin-left: 1rem;
}

.leader-actions {
  margin-top: 0.25rem;
}

.leader-full-bio {
  display: none;
  border-top: 1px solid var(--card-border);
  background: #fff;
  padding: 1.5rem;
}

.leader-card.active .leader-full-bio {
  display: block;
}

.full-bio-grid {
  display: block;
}

.bio-panel {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 1.25rem;
}

.bio-panel:last-child {
  margin-bottom: 0;
}

.bio-panel h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: var(--primary-navy);
}

.bio-panel p,
.bio-panel ul {
  margin-bottom: 0.9rem;
}

.bio-panel ul {
  margin-left: 1.25rem;
}

.bio-cta-bar {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e1e6ee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.bio-cta-bar p {
  margin-bottom: 0;
  color: var(--muted-text);
}


/* ── 15. FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--primary-navy);
  color: var(--warm-white);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 2rem;
}


/* ── 16. RESPONSIVE ─────────────────────────────────────────── */
@media (min-width: 800px) {
  .grid-3             { grid-template-columns: repeat(3, 1fr); }
  .pillars-list       { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .contact-grid       { grid-template-columns: 3fr 2fr; }
}

@media (max-width: 960px) {
  .hero-grid,
  .cards-2,
  .cards-3,
  .benefits-grid,
  .gains-grid,
  .approach-grid,
  .contact-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .leader-summary            { grid-template-columns: 1fr; }
  .leader-photo              { max-width: 320px; }
  .leader-highlights         { grid-template-columns: 1fr; }

  .bio-cta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    gap: 0.85rem 1rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .page-banner {
    height: 140px;
  }

  section {
    padding: 3.5rem 0;
  }
}

/* =============================================================
   ChannelBridge Consulting — Original Design Preserved + Mobile Upgrade
   Purpose: Preserve original colours, fonts, sizing and card styling while
   adding production-ready responsive behaviour for the Version 3 HTML.
   ============================================================= */

/* ── A. V3 HTML compatibility aliases ───────────────────────── */
.site-header {
  background: var(--primary-navy);
  color: var(--warm-white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-footer {
  background: var(--primary-navy);
  color: var(--warm-white);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 2rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0;
}

.main-nav a {
  color: var(--warm-white);
  font-size: 0.95rem;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--pale-tint);
  text-decoration: none;
}

.section {
  padding: 4.5rem 0;
}

/* Keep original typography and colour system */
body,
button,
input,
select,
textarea {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
}

/* ── B. Hero alignment fix ──────────────────────────────────── */
.hero {
  text-align: left;
}

.hero .wrap,
.hero-narrow {
  max-width: var(--max-width);
}

.hero h1,
.hero h2,
.hero h3,
.hero h4,
.hero p,
.hero .eyebrow,
.hero .kicker {
  text-align: left;
}

.hero p,
.hero .lead,
.hero-sub,
.hero-copy .lead,
.hero-copy p:last-of-type {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.logo-banner-image,
.hero-logo-image,
.hero-logo {
  margin-left: auto;
  margin-right: auto;
}

/* ── C. Better grids without changing visual styling ────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.cards-centered {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.gains-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

/* Preserve original card appearance, but improve equal-height layout */
.grid-2 .card,
.grid-3 .card,
.cards-2 .service,
.cards-3 .service,
.benefits-grid .benefit,
.gains-grid .card,
.process-grid .process-card {
  height: 100%;
}

/* ── D. Accessible mobile navigation ────────────────────────── */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 240, 240, 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--warm-white);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(240, 240, 240, 0.08);
  outline: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--warm-white);
  color: var(--primary-navy);
  padding: 0.75rem 1rem;
  border-radius: 0.4rem;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  top: 1rem;
}

/* ── E. Contact panel compatibility ─────────────────────────── */
.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.contact-panel p {
  max-width: 70ch;
}

/* ── F. Sticky mobile CTA; hidden on desktop ────────────────── */
.mobile-cta {
  display: none;
}

/* ── G. Responsive refinements while preserving desktop look ── */
@media (max-width: 1100px) {
  .process-grid,
  .benefits-grid,
  .cards-3,
  .gains-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav {
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    width: 100%;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding-top: 1rem;
    width: 100%;
  }

  .main-nav li {
    margin: 0;
  }

  .main-nav a {
    display: block;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(240, 240, 240, 0.14);
  }

  .grid-2,
  .cards-2,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 4.25rem;
  }

  .wrap {
    padding: 0 1.15rem;
  }

 .logo-image {
  width: 225px;
  height: auto;
}


  .hero {
    padding: 3.75rem 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .section,
  section {
    padding: 3.5rem 0;
  }

  .grid-2,
  .grid-3,
  .cards-2,
  .cards-3,
  .benefits-grid,
  .gains-grid,
  .approach-grid,
  .process-grid,
  .contact-grid,
  .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .grid-3 .card {
    flex-basis: auto;
  }

  .card,
  .service,
  .benefit,
  .approach-panel,
  .contact-card,
  .contact-info-card,
  .process-card {
    padding: 1.25rem;
  }

  .btn,
  .btn-primary,
  .btn-secondary,
  .bio-toggle {
    width: 100%;
    min-height: 48px;
    text-align: center;
  }

  .hero-actions,
  .hero-buttons {
    width: 100%;
  }

  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: var(--primary-navy);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.12);
  }

  .mobile-cta a {
    display: block;
    color: var(--warm-white);
    text-align: center;
    font-weight: 700;
    padding: 0.95rem 1rem;
    text-decoration: none;
  }
}


/* ── H. Equal-height card refinement ──────────────────────────
   Keeps the original visual styling while making cards within
   each section/row consistent in height.
   ---------------------------------------------------------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.grid-2,
.cards-2,
.cards-3,
.benefits-grid,
.gains-grid,
.process-grid,
.approach-grid {
  align-items: stretch;
}

.grid-2 > *,
.grid-3 > *,
.cards-2 > *,
.cards-3 > *,
.benefits-grid > *,
.gains-grid > *,
.process-grid > *,
.approach-grid > * {
  height: 100%;
}

.card,
.service,
.benefit,
.process-card {
  display: flex;
  flex-direction: column;
}

.card p:last-child,
.service p:last-child,
.benefit p:last-child,
.process-card p:last-child,
.card ul:last-child,
.service ul:last-child,
.benefit ul:last-child,
.process-card ul:last-child {
  margin-bottom: 0;
}

.card .hero-buttons,
.service .hero-buttons,
.benefit .hero-buttons,
.process-card .hero-buttons {
  margin-top: auto;
}

@media (max-width: 960px) {
  .grid-3,
  .cards-3,
  .benefits-grid,
  .gains-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .cards-2,
  .cards-3,
  .benefits-grid,
  .gains-grid,
  .process-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }
}


/* =============================================================
   I. Mobile Header Alignment + Hamburger Icon Override
   Purpose: keep the ChannelBridge logo left-aligned, place the
   hamburger menu on the right, and replace the visible "Menu" text
   with a hamburger icon without requiring HTML changes.
   ============================================================= */

@media (max-width: 900px) {
  .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .logo-link,
  .logo-text,
  .logo-text a {
    flex: 0 1 auto;
    display: inline-flex;
    align-items: center;
  }

  .logo-image {
    width: 190px;
    height: auto;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--warm-white);
    cursor: pointer;
    font-size: 0;
    line-height: 1;
  }

  .nav-toggle::before {
    content: "☰";
    display: block;
    font-size: 2rem;
    line-height: 1;
    font-weight: 400;
  }

  .nav-toggle[aria-expanded="true"]::before {
    content: "×";
    font-size: 2.25rem;
    line-height: 0.9;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: transparent;
    color: var(--pale-tint);
    outline: 2px solid rgba(240, 240, 240, 0.45);
    outline-offset: 4px;
  }

  .main-nav {
    flex: 0 0 100%;
    width: 100%;
    display: none;
    order: 3;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 0.75rem;
  }

  .main-nav a {
    display: block;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(240, 240, 240, 0.14);
  }
}

@media (max-width: 480px) {
  .logo-image {
    width: 175px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .nav-toggle::before {
    font-size: 1.85rem;
  }
}




/* ==========================================================
   FINAL MOBILE HEADER FIX
   Left-aligned logo + right-aligned hamburger
   ========================================================== */

@media (max-width: 900px) {

  .nav {
    display: flex;
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
  }

  .logo-link,
  .logo-text,
  .logo-text a {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }

  .logo-image {
    width: 190px;
    height: auto;
  }

  .nav-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    flex: 0 0 auto;
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--warm-white);
    margin: 3px 0;
    transition: all 0.25s ease;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .main-nav {
    display: none;
    flex: 0 0 100%;
    width: 100%;
    order: 3;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-top: 0.75rem;
  }

  .main-nav li {
    margin: 0;
  }

  .main-nav a {
    display: block;
    padding: 0.9rem 0;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
}

@media (max-width: 720px) {
  .nav {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {

  .logo-image {
    width: 175px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .nav-toggle span {
    width: 22px;
  }
}

/* ==========================================================
   FINAL ALIGNMENT CLEANUP
   Fixes malformed media query, centres two-card row, keeps
   logo/hamburger aligned, and ensures responsive grids.
   ========================================================== */


.hero-narrow {
  max-width: var(--max-width);
}

.grid-2.cards-centered {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.contact-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .logo-link {
    flex: 0 1 auto;
  }

  .main-nav {
    flex: 0 0 100%;
    width: 100%;
    order: 3;
  }

  .contact-panel {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .cards-2,
  .cards-3,
  .benefits-grid,
  .gains-grid,
  .process-grid,
  .approach-grid {
    grid-template-columns: 1fr;
  }

  .logo-image {
    width: 190px;
  }
}

@media (max-width: 480px) {
  .nav {
    gap: 0.75rem;
  }

  .nav-toggle {
    padding: 0;
  }


  h1 {
    font-size: clamp(1.9rem, 11vw, 2.4rem);
  }

  h2 {
    font-size: clamp(1.55rem, 8vw, 2rem);
  }
}

/* ==========================================================
   LEADERSHIP PAGE — NO PROFILE PHOTO OVERRIDES
   Purpose: Use the existing biography-card styling without
   requiring profile images.
   ========================================================== */

.leader-summary {
  display: block;
  padding: 1.5rem 1.5rem 0.75rem;
}

.leader-actions {
  padding: 0 1.5rem 1.5rem;
  margin-top: 0;
}

.leader-summary-text {
  max-width: 900px;
}

.leader-full-bio {
  padding: 1.5rem;
}

@media (max-width: 720px) {
  .leader-summary {
    padding: 1.25rem 1.25rem 0.75rem;
  }

  .leader-actions {
    padding: 0 1.25rem 1.25rem;
  }
}

@media (max-width: 720px) {
  .page-banner {
    height: auto;
  }

  .page-banner-image {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
