/* TEAM PAGE ARCHITECTURE */
.team-wrapper {
    background: #F8F7F7;
    /* Soft ivory background for the whole page */
    color: var(--charcoal);
    font-family: var(--font-body);
}

/* 1. SECTION INTRO */
.team-intro {
    padding: 100px 20px 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--maroon) 0%, var(--charcoal) 100%);
    color: var(--white);
}

.team-intro .wrap {
    max-width: 800px;
    margin: 0 auto;
}

.team-intro .kicker {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.team-intro .kicker::before,
.team-intro .kicker::after {
    content: "";
    height: 1px;
    width: 30px;
    background: var(--gold);
}

.team-intro h1 {
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 20px;
}

.team-intro .intro-blurb {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    margin: 0;
}

/* 2. TEAM GRID */
.team-grid-section {
    padding: 80px 20px;
    background: #F8F7F7;
}

.team-grid-section .wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 900px) {
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .grid-3-col {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

.team-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(107, 15, 17, 0.08);
}

.card-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 5;
    /* Professional portrait crop */
    overflow: hidden;
    background: #EAE6DF;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.team-card:hover .card-img-wrap img {
    transform: scale(1.03);
}

.card-content {
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content h3 {
    color: var(--maroon);
    margin: 0 0 4px;
}

.card-content .role {
    font-size: 14px;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 2px;
}

.card-content .creds {
    font-size: 12px;
    font-weight: 600;
    color: #7A7A7A;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.card-content .bio {
    font-size: 15px;
    line-height: 1.65;
    color: #4A4A4A;
    margin: 0 0 24px;
}

.card-content .actions {
    margin-top: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.card-content .actions .btn-secondary {
    padding: 8px 16px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid var(--charcoal);
    border-radius: 6px;
    color: var(--charcoal);
    transition: all 0.2s;
    font-weight: 600;
}

.card-content .actions .btn-secondary:hover {
    background: var(--charcoal);
    color: var(--white);
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #0A66C2;
    /* LinkedIn Blue */
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    background: rgba(10, 102, 194, 0.08);
    /* Subtle blue BG */
    align-self: flex-start;
    transition: background 0.2s, color 0.2s;
}

.linkedin-link:hover {
    background: #0A66C2;
    color: #FFFFFF;
}

/* 3A. REGULATORY BAR */
.regulatory-bar {
    background: #EAE6DF;
    padding: 16px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.regulatory-bar p {
    margin: 0;
    font-size: 12px;
    color: #555;
}

.regulatory-bar p span {
    margin: 0 10px;
    color: #AAA;
}

@media (max-width: 600px) {
    .regulatory-bar p span {
        display: block;
        margin: 4px 0;
        color: transparent;
        height: 0;
    }
}

/* 3B & 3D. SHARED STATEMENT & PHOTO */
.shared-statement {
    padding: 80px 20px;
    background: var(--white);
}

.shared-statement .wrap {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media (max-width: 800px) {
    .shared-statement .wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.statement-content h2 {
    color: var(--maroon);
    margin: 0 0 20px;
    line-height: 1.2;
}

.statement-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #4A4A4A;
    margin: 0;
}

.candid-photo {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.candid-photo img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* 3C. TEAM FOOTER CTA */
.team-footer-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--gold) 0%, #E5BC5D 100%);
    text-align: center;
    color: var(--charcoal);
}

.team-footer-cta .wrap {
    max-width: 600px;
    margin: 0 auto;
}

.team-footer-cta h2 {
    margin: 0 0 16px;
}

.team-footer-cta p {
    font-size: 18px;
    margin: 0 0 30px;
    font-weight: 500;
}

.team-footer-cta .btn-primary {
    display: inline-block;
    background: var(--charcoal);
    color: var(--white);
    font-weight: 800;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-footer-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(19, 0, 0, 0.3);
}

/* 4. PROFILE PAGES */
.profile-section {
    padding: 100px 20px;
    background: #F8F7F7;
}
.profile-section .wrap {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}
@media (max-width: 768px) {
    .profile-section .wrap {
        grid-template-columns: 1fr;
    }
}
.profile-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.profile-content h1 {
    color: var(--maroon);
    margin: 0 0 8px;
}
.profile-content .role {
    font-size: 18px;
    font-weight: 700;
    color: var(--charcoal);
    margin: 0 0 4px;
}
.profile-content .creds {
    font-size: 14px;
    font-weight: 600;
    color: #7A7A7A;
    margin-bottom: 24px;
}
.profile-content .bio p {
    font-size: 16px;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 16px;
}
.profile-back {
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
    color: var(--charcoal);
    text-decoration: none;
}
.profile-back:hover {
    color: var(--maroon);
}

/* ==========================================================
/* ==========================================================
   ACCESSIBILITY UTILITY
   ========================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================
   TEAM CARDS — redesigned (BEM-style, bottom-anchored actions)
   ========================================================== */
.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px 24px;
}

.team-card__content h3 {
  color: var(--maroon);
  margin: 0 0 4px;
}

.team-card__content .role {
  font-size: 14px;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 2px;
}

.team-card__content .creds {
  font-size: 12px;
  font-weight: 600;
  color: #7A7A7A;
  letter-spacing: .05em;
  margin-bottom: 4px;
  min-height: 1px;
}

.team-card__content .licensed {
  margin-bottom: 14px;
}

.team-card__content .bio {
  font-size: 15px;
  line-height: 1.65;
  color: #4A4A4A;
  margin: 0 0 16px;
}

.team-card__focus {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.team-card__focus .focus-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--maroon);
  background: var(--gold-pale);
  border-radius: 999px;
  padding: 5px 11px;
}

.team-card__disclosure {
  font-size: 12px;
  color: #888;
  font-style: italic;
  margin-bottom: 14px;
}

.team-card__actions {
  margin-top: auto;
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
}

.team-card__actions .btn-secondary {
  padding: 10px 18px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--charcoal);
  border-radius: 8px;
  color: var(--charcoal);
  font-weight: 600;
  transition: background .2s ease, color .2s ease;
}

.team-card__actions .btn-secondary:hover {
  background: var(--charcoal);
  color: #FFFFFF;
}

.team-card__actions .linkedin-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(10, 102, 194, .08);
  color: #0A66C2;
  flex-shrink: 0;
  transition: background .2s ease, color .2s ease;
}

.team-card__actions .linkedin-icon-btn:hover {
  background: #0A66C2;
  color: #FFFFFF;
}

@media (max-width: 420px) {
  .team-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .team-card__actions .btn-secondary {
    text-align: center;
  }

  .team-card__actions .linkedin-icon-btn {
    width: 100%;
  }
}


/* ==========================================================
   PROFILE PAGE — hero + sections
   ========================================================== */
.profile-hero-actions {
  margin-top: 24px;
}

.profile-content .areas-of-focus {
  margin: 8px 0 24px;
}

.profile-section-block {
  padding: 0 0 56px;
}

.profile-section-block h2 {
  color: var(--maroon);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem) !important;
  margin-bottom: 16px;
}

.profile-section-block p {
  font-size: 16px;
  line-height: 1.75;
  color: #4A4A4A;
  margin-bottom: 14px;
}

.profile-achievements {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-achievements li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.6;
  color: #4A4A4A;
}

.profile-achievements li i {
  color: var(--gold);
  margin-top: 4px;
  flex-shrink: 0;
}

.profile-focus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-focus-tags .focus-tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon);
  background: var(--gold-pale);
  border-radius: 999px;
  padding: 8px 16px;
}

/* ==========================================================
   BEYOND THE BIO — fact list (replaces step-through quiz)
   ========================================================== */
.team-facts-section {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .07);
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .05);
}

.tf-header {
  max-width: 560px;
  margin: 0 auto 28px;
  text-align: center;
}

.tf-header h2 {
  color: var(--maroon);
  margin-bottom: 8px;
}

.tf-header p {
  font-size: 15px;
  line-height: 1.65;
  color: #4A4A4A;
  margin: 0;
}

.tf-list {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tf-item:not(:last-child) {
  padding-bottom: 30px;
  border-bottom: 1px solid var(--cream-mid);
}

.tf-question {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.tf-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.tf-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border: 1.5px solid var(--cream-mid);
  border-radius: 12px;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--charcoal);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}

.tf-option:hover:not(:disabled) {
  border-color: var(--gold);
  background: var(--gold-pale);
}

.tf-option:disabled {
  cursor: default;
}

.tf-option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, .12);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.tf-option.is-correct {
  border-color: #4F8267;
  background: #EEF5F1;
}

.tf-option.is-correct .tf-option-letter {
  background: #4F8267;
  border-color: #4F8267;
  color: #FFFFFF;
}

.tf-option.is-incorrect {
  border-color: #A8562F;
  background: #FBF1EC;
}

.tf-option.is-incorrect .tf-option-letter {
  background: #A8562F;
  border-color: #A8562F;
  color: #FFFFFF;
}

.tf-reveal {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}

.tf-reveal.show {
  display: flex;
}

.tf-reveal.is-correct {
  background: #EEF5F1;
  color: #2E5C43;
}

.tf-reveal.is-incorrect {
  background: #FBF1EC;
  color: #7A3B1E;
}

.tf-reveal-icon {
  font-size: 15px;
  flex-shrink: 0;
}

/* ==========================================================
   COMMUNITY & CAUSES (charity block)
   ========================================================== */
.charity-block {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--cream);
  border: 1px solid var(--cream-mid);
  border-radius: 16px;
  padding: 20px 24px;
}

.charity-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 160px;
  height: 52px;
  background: var(--charcoal);
  border-radius: 8px;
  padding: 8px 14px;
  transition: transform .18s ease, box-shadow .18s ease;
}

a.charity-logo-box:hover,
a.charity-logo-box:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.charity-logo-box img {
  max-width: 100%;
  max-height: 100%;
}

.charity-logo-box.is-placeholder {
  background: #FFFFFF;
  border: 1.5px dashed rgba(0, 0, 0, .18);
}

.charity-logo-box.on-light {
  background: #FFFFFF;
  border: 1px solid var(--cream-mid);
}

.charity-placeholder-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #999;
  text-align: center;
}

.charity-copy p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #4A4A4A;
}

.charity-copy .charity-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--maroon);
  margin-bottom: 4px;
}

@media (max-width: 480px) {
  .charity-block {
    flex-direction: column;
    align-items: flex-start;
  }
}
