.contact-page {
  --contact-border: rgba(var(--text), 0.1);
  --contact-muted: rgba(var(--text), 0.66);
  color: rgba(var(--text), 1);
  overflow: hidden;
}

.contact-page .container {
  width: min(1160px, 92%);
}

.contact-hero {
  min-height: 74vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  padding-block: clamp(56px, 8vw, 104px) clamp(36px, 6vw, 72px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), 0.1);
  border: 1px solid rgba(var(--theme), 0.18);
  border-radius: 999px;
  padding: 7px 13px 5px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 16px;
  font-size: 4.6rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 660px;
  color: var(--contact-muted);
  font-size: 1.16rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-action,
.secondary-action {
  min-height: 46px;
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: auto auto;
  gap: 16px;
  align-items: end;
}

.team-portrait {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--contact-border);
  background: rgba(var(--div-bg), 1);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.team-portrait.lead {
  grid-row: span 2;
}

.team-portrait img,
.member-photo img {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
  filter: none;
  object-fit: cover;
}

.team-portrait.lead img {
  aspect-ratio: 4 / 5;
}

.team-portrait:not(.lead) img {
  aspect-ratio: 1 / 1.12;
}

.hero-note {
  border-radius: 8px;
  border: 1px solid rgba(var(--green), 0.22);
  background: rgba(var(--green), 0.08);
  padding: 18px;
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  color: rgba(var(--green), 1);
  font-size: 1rem;
  margin-bottom: 5px;
}

.hero-note span {
  color: var(--contact-muted);
  line-height: 1.55;
}

.contact-methods,
.support-scope,
.team-section {
  padding-block: clamp(34px, 6vw, 70px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading.center {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  align-items: center;
  flex-direction: column;
}

.section-heading h2,
.contact-faq h2 {
  margin: 0;
  font-size: 2.6rem;
  line-height: 1.1;
}

.section-heading p {
  color: var(--contact-muted);
  line-height: 1.75;
}

.method-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.method-card,
.support-item,
.team-card {
  border: 1px solid var(--contact-border);
  border-radius: 8px;
  background: rgba(var(--div-bg), 1);
}

.method-card {
  min-height: 170px;
  padding: 22px;
  color: rgba(var(--text), 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.method-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--theme), 0.35);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.method-card i,
.support-item i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.method-card svg,
.support-item svg,
.profile-link svg {
  margin: 0;
  transform: none;
}

.method-card i svg,
.support-item i svg {
  width: 24px;
  height: 24px;
}

.method-card span {
  color: var(--contact-muted);
  font-weight: 700;
}

.method-card strong {
  color: rgba(var(--text), 1);
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}

.email-card i {
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), 0.1);
}

.facebook-card i {
  color: rgba(var(--blue), 1);
  background: rgba(var(--blue), 0.1);
}

.youtube-card i {
  color: rgba(var(--red), 1);
  background: rgba(var(--red), 0.1);
}

.direct-card i {
  color: rgba(var(--orange), 1);
  background: rgba(var(--orange), 0.12);
}

.support-item {
  padding: 24px;
}

.support-item i {
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), 0.1);
  margin-bottom: 18px;
}

.support-item h3 {
  font-size: 1.08rem;
  margin: 0 0 8px;
}

.support-item p {
  color: var(--contact-muted);
  line-height: 1.65;
}

.team-section {
  display: grid;
  gap: 22px;
}

.team-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px);
}

.team-card.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
}

.team-card.reverse .member-photo {
  order: 2;
}

.member-photo {
  overflow: hidden;
  border-radius: 8px;
  background: rgba(var(--theme), 0.08);
}

.member-photo img {
  aspect-ratio: 4 / 4.6;
}

.role-tag {
  display: inline-flex;
  color: rgba(var(--orange), 1);
  background: rgba(var(--orange), 0.11);
  border-radius: 999px;
  padding: 7px 12px 5px;
  font-size: 0.78rem;
  font-weight: 800;
}

.member-copy h3 {
  margin: 14px 0 10px;
  font-size: 2.35rem;
}

.member-copy p {
  color: var(--contact-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.member-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 15px 7px;
  border-radius: 999px;
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), 0.1);
  font-weight: 800;
}

.profile-link:hover {
  background: rgba(var(--theme), 0.18);
}

.contact-faq {
  max-width: 920px;
}

.contact-faq h2 {
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .hero-copy h1 {
    font-size: 3.35rem;
  }

  .hero-copy p {
    font-size: 1.08rem;
  }

  .section-heading h2,
  .contact-faq h2 {
    font-size: 2.25rem;
  }

  .member-copy h3 {
    font-size: 2rem;
  }

  .contact-hero,
  .team-card,
  .team-card.reverse {
    grid-template-columns: 1fr;
  }

  .team-card.reverse .member-photo {
    order: 0;
  }

  .method-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-copy h1 {
    font-size: 2.25rem;
  }

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

  .section-heading h2,
  .contact-faq h2 {
    font-size: 1.75rem;
  }

  .member-copy h3 {
    font-size: 1.55rem;
  }

  .hero-actions,
  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .method-grid,
  .support-grid,
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .team-portrait.lead {
    grid-row: auto;
  }

  .team-portrait.lead img,
  .team-portrait:not(.lead) img,
  .member-photo img {
    aspect-ratio: 16 / 13;
  }

  .method-card {
    min-height: 145px;
  }

  .team-card {
    padding: 14px;
  }
}
