/* ==========================================================================
   pages/about-us.css — About page (template-aligned)
   Fixes requested:
   1) Hero image NOT cropped on widescreen
   2) More space between paragraphs
   3) Team leader cards include images + containers
   4) About-page social chips match connect.css behavior
   5) Heading font-size/style overrides removed so base typography controls h2/h3/h4
   ========================================================================== */

.about-lede{
  margin: 0;
  max-width: 72ch;
  color: rgba(232,237,245,.90);
  line-height: 1.7;
}

/* BODY LAYOUT */
.about-body{
  padding-top: 18px;
  padding-bottom: 62px;

  display: grid;
  grid-template-columns: 1fr;
  gap: 46px;
}

/* Links */
.about-page .about-prose a,
.about-page .about-prose a:visited,
.about-page .about-connect a,
.about-page .about-connect a:visited{
  color: var(--cta-gold);
}

.about-page .about-prose a:hover,
.about-page .about-prose a:focus-visible,
.about-page .about-connect a:hover,
.about-page .about-connect a:focus-visible{
  color: var(--cta-gold);
}

.about-page .link-chip,
.about-page .link-chip:visited{
  color: var(--cta-gold);
  border-color: color-mix(in srgb, var(--cta-gold-2) 42%, transparent);
}

.about-page .link-chip:hover,
.about-page .link-chip:focus-visible{
  color: var(--cta-gold);
  border-color: color-mix(in srgb, var(--cta-gold-2) 62%, transparent);
}

/* --------------------------------------------------------------------------
   About connect card social chips
   Matches connect.css behavior and preserves per-icon scaling on hover
   -------------------------------------------------------------------------- */

.about-connect-card .contact-sequence-card__socialline{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 6px 0 8px;
}

.about-connect-card .contact-sequence-card__socialtext{
  color: var(--contact-copy, rgba(226, 231, 239, 0.92));
  line-height: 1.2;
}

.about-connect-card .contact-sequence-card__socials{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.about-connect-card .contact-sequence-card__socialchip{
  --chip-scale: 1;
  --chip-hover-scale: 1.04;

  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  flex: 0 0 auto;
}

.about-connect-card .contact-sequence-card__socialchip img{
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: scale(var(--chip-scale));
  transform-origin: center;
  transition: transform 160ms ease, opacity 160ms ease;
}

.about-connect-card .contact-sequence-card__socialchip:hover img,
.about-connect-card .contact-sequence-card__socialchip:focus-visible img{
  transform: scale(var(--chip-hover-scale));
}

.about-connect-card .socialchip--sez img{
  width: 28px;
  height: 28px;
}

.about-connect-card .socialchip--facebook{
  --chip-scale: 2;
  --chip-hover-scale: 2.08;
}

.about-connect-card .socialchip--facebook img{
  width: 26px;
  height: 26px;
}

.about-connect-card .socialchip--twitter img{
  width: 26px;
  height: 26px;
}

.about-connect-card .socialchip--bluesky img{
  width: 28px;
  height: 26px;
}

.about-connect-card .socialchip--reddit img{
  width: 24px;
  height: 24px;
}

.about-connect-card .socialchip--patreon img{
  width: 28px;
  height: 28px;
}

.about-connect-card .socialchip--substack img{
  width: 24px;
  height: 24px;
}

.about-connect-card--social .about-connect-actions{
  justify-content: left;
}

/* Prose */
.about-prose p{
  margin: 0 0 18px;
  color: rgba(232,237,245,.90);
  line-height: 1.72;
}

.about-prose p:last-child{
  margin-bottom: 0;
}

/* TEAM */
.team-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Card */
.team-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17,21,27,.72);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Top row: avatar + name/role */
.team-top{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 16px 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.team-avatar{
  width: 110px;
  height: 132px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
}

.team-avatar img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: contrast(1.02) brightness(.98);
}

.team-head{
  padding: 0;
  border-bottom: none;
  min-width: 0;
}

.team-name{
  font-weight: 750;
  letter-spacing: .01em;
  color: rgba(232,237,245,.98);
}

.team-role{
  margin-top: 6px;
  color: rgba(170,180,195,.92);
}

.team-body{
  padding: 14px 16px 10px;
}

.team-body p{
  margin: 0;
  color: rgba(232,237,245,.88);
  line-height: 1.62;
}

.team-actions{
  padding: 12px 16px 16px;
  margin-top: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.team-note{
  color: rgba(170,180,195,.72);
}

/* CONTACT */
.about-contact{
  padding-top: 6px;
  padding-bottom: 80px;
}

.contact-lede{
  margin: 0 0 18px;
  max-width: 72ch;
  color: rgba(232,237,245,.88);
  line-height: 1.65;
}

.contact-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.contact-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(17,21,27,.72);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  padding: 16px;
  min-width: 0;
}

.contact-title{
  margin: 0 0 8px;
}

.contact-text{
  margin: 0 0 14px;
  color: rgba(232,237,245,.84);
  line-height: 1.55;
  max-width: 60ch;
}

.contact-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.contact-note{
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: rgba(170,180,195,.92);
  width: fit-content;
  max-width: 100%;
}

.contact-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(215,188,161,.85);
  box-shadow: 0 0 14px rgba(215,188,161,.25);
}

/* About hero now uses hub hero container/media from components/hero-topics.css.
   These rules only style the About-specific text elements that are not global headings. */

.about .about-kicker{
  display: inline-block;
  text-transform: uppercase;
  color: rgba(215,188,161,.95);
  margin-bottom: 8px;
}

.about .about-title{
  margin: 0;
}

.about .about-lede{
  margin: 10px 0 0;
  max-width: 70ch;
  color: rgba(170,180,195,.92);
  line-height: 1.55;
}

/* ==========================================================================
   About — simple connect section
   ========================================================================== */

.about-connect{
  padding-bottom: 8px;
}

.about-connect .section-head{
  margin-bottom: 18px;
}

.about-connect-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-connect-card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  padding: 18px 16px 16px;
  min-width: 0;
}

.about-connect-title{
  margin: 0 0 10px;
  color: var(--text);
}

.about-connect-text{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.about-connect-actions{
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-connect-note{
  margin: 16px 0 0;
  color: var(--muted);
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 980px){
  .about-hero-media{
    aspect-ratio: 16 / 7;
    min-height: 320px;
  }
}

@media (max-width: 900px){
  .about-connect-grid,
  .team-grid,
  .contact-grid{
    grid-template-columns: 1fr;
  }

  .contact-note{
    border-radius: var(--radius);
    width: 100%;
  }
}

@media (max-width: 640px){
  .about-hero-media{
    aspect-ratio: 16 / 9;
    min-height: 220px;
    max-height: none;
  }

  .team-top{
    grid-template-columns: 88px 1fr;
  }

  .team-avatar{
    width: 88px;
    height: 108px;
    border-radius: 16px;
  }
}