/* ============================================================
   bio.css — scroll sections below hero
   ============================================================ */

/* ---- About section ---- */
.about {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 1200px;
  margin: 0 auto;
}

/* Headshot reveal */
.headshot-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  max-width: 420px;
  overflow: hidden;
  border-radius: 3px;
}

.headshot-blur {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* The real photo — revealed only under cursor, set via JS */
.headshot-real {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  clip-path: circle(0px at 50% 50%);
  transition: clip-path 0.08s ease-out;
  pointer-events: none;
}

.headshot-real.revealed {
  clip-path: circle(60px at var(--cx, 50%) var(--cy, 50%));
}

/* About text */
.about__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.about__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.about__body {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.75;
  color: rgba(240, 240, 240, 0.8);
  max-width: 52ch;
}

.about__tools {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-muted);
  line-height: 1.8;
}

.about__tools strong {
  color: rgba(240, 240, 240, 0.5);
}

.about__tags {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about__tags span {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.15);
  transition: color 0.2s ease;
}

.about__tags span:hover {
  color: rgba(240, 240, 240, 0.9);
}

/* ---- Pull quote ---- */
.pull-quote {
  padding: var(--space-xl) var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 900px;
  margin: 0 auto;
}

.pull-quote blockquote {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.45;
  font-weight: 400;
  color: rgba(240, 240, 240, 0.6);
  font-style: italic;
}


/* ---- Strengths grid ---- */
.strengths {
  padding: var(--space-xl) var(--space-md);
}

.strengths__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
}

.strengths__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.strength-card {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-md);
}

.strength-card__name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.strength-card__body {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(240, 240, 240, 0.5);
}

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .about {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-md);
  }

  .headshot-wrap {
    --headshot-pan: 8%;
    height: 280px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    aspect-ratio: auto;
    /* band — eyes and mouth never in frame simultaneously */
    clip-path: inset(38% 0 38% 0);
  }

  .headshot-blur {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(1) contrast(1.15);
  }

  .headshot-real {
    display: block !important;
    inset: 0 auto auto 0;
    width: 100%;
    height: 220%;
    background-size: cover;
    background-position: center center;
    clip-path: none;
    transition: none;
    transform: translate3d(0, var(--headshot-pan), 0);
    will-change: transform;
    filter: grayscale(1) contrast(1.15);
  }

  .pull-quote,
  .strengths {
    padding: var(--space-lg) var(--space-md);
  }

  .strengths__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 540px) {
  .strengths__grid { grid-template-columns: 1fr; }
}
