/* =========================================================
   ABOUT HERO
   ========================================================= */

.about-hero {
  display: grid;

  grid-template-columns:
    minmax(400px, 0.9fr)
    minmax(0, 1.1fr);

  gap: 7vw;

  align-items: center;

  padding:
    85px
    max(7vw, 42px);

  background: var(--white);

  border-bottom:
    1px
    solid
    var(--line);
}


/* =========================
   PHOTO
   ========================= */

.about-photo-wrap {
  position: relative;

  width: min(600px, 100%);

  height: 680px;

  overflow: hidden;

  background: var(--off-white);

  border:
    9px
    solid
    var(--white);

  outline:
    4px
    solid
    var(--navy);

  box-shadow:
    14px
    14px
    0
    rgba(200, 32, 52, 0.12);
}


.about-photo {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center 15%;
}


/* Updated longer image label */

.about-location {
  position: absolute;

  left: 22px;
  right: 22px;
  bottom: 22px;

  padding:
    11px
    14px;

  background: var(--red);

  color: var(--white);

  font-family:
    'Barlow Condensed',
    sans-serif;

  font-size:
    clamp(13px, 1.15vw, 16px);

  font-weight: 900;

  line-height: 1.2;

  letter-spacing: 0.05em;

  text-align: center;

  text-transform: uppercase;
}


/* =========================================================
   ABOUT COPY
   ========================================================= */

.about-copy {
  max-width: 760px;
}


.about-copy .eyebrow {
  margin-bottom: 16px;

  font-size: 18px;

  letter-spacing: 0.13em;
}


.about-copy h1 {
  margin:
    0
    0
    32px;

  color: var(--navy-deep);

  font-size:
    clamp(61px, 6vw, 92px);

  font-weight: 900;

  line-height: 0.85;
}


.about-copy h1 span {
  display: block;

  color: var(--red);
}


.about-copy > p:not(.eyebrow) {
  margin:
    0
    0
    21px;

  color: var(--muted);

  font-size: 18.5px;

  line-height: 1.78;
}


/* =========================================================
   WHO I AM AS A CANDIDATE
   ========================================================= */

.candidate-identity {
  padding:
    100px
    max(7vw, 40px)
    110px;

  background: var(--off-white);
}


.identity-heading {
  width: min(900px, 100%);

  margin: 0 auto;

  text-align: center;
}


.identity-heading .eyebrow {
  margin-bottom: 12px;

  font-size: 16px;
}


.identity-heading h2 {
  margin: 0;

  color: var(--navy-deep);

  font-size:
    clamp(62px, 7vw, 100px);

  font-weight: 900;

  line-height: 0.84;
}


.identity-heading h2 span {
  display: block;

  color: var(--red);
}


/* =========================
   CANDIDATE QUALITIES
   ========================= */

.identity-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 22px;

  width: min(1150px, 100%);

  margin:
    55px
    auto
    0;
}


.identity-card {
  position: relative;

  padding:
    74px
    34px
    34px;

  background: var(--white);

  border:
    1px
    solid
    var(--line);

  border-left:
    6px
    solid
    var(--red);

  box-shadow:
    0
    10px
    25px
    rgba(13, 53, 95, 0.055);
}


.identity-card:nth-child(even) {
  border-left-color: var(--navy);
}


.identity-card-wide {
  grid-column:
    1
    /
    -1;
}


/* Number */

.identity-number {
  position: absolute;

  top: 22px;
  right: 25px;

  color: var(--red);

  font-family:
    'Barlow Condensed',
    sans-serif;

  font-size: 43px;

  font-weight: 900;

  line-height: 0.8;
}


.identity-card:nth-child(even)
.identity-number {
  color: var(--navy);
}


/* Heading */

.identity-card h3 {
  margin: 0;

  color: var(--navy-deep);

  font-size: 36px;

  font-weight: 900;

  line-height: 1;
}


/* Text */

.identity-card p {
  margin:
    20px
    0
    0;

  color: var(--muted);

  font-size: 17.5px;

  line-height: 1.75;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

  .about-hero {
    grid-template-columns: 1fr;

    gap: 55px;
  }


  .about-photo-wrap {
    width:
      min(650px, 100%);

    margin:
      0
      auto;
  }


  .about-copy {
    max-width: 800px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

  .about-hero,
  .candidate-identity {
    padding-left: 22px;
    padding-right: 22px;
  }


  .about-hero {
    padding-top: 55px;

    padding-bottom: 65px;
  }


  .about-photo-wrap {
    height: 500px;
  }


  .about-location {
    left: 13px;
    right: 13px;
    bottom: 13px;

    padding:
      9px
      8px;

    font-size: 12px;

    letter-spacing: 0.025em;
  }


  .about-copy .eyebrow {
    font-size: 17px;
  }


  .about-copy h1 {
    font-size: 56px;
  }


  .about-copy > p:not(.eyebrow) {
    font-size: 17.5px;
  }


  .identity-heading {
    text-align: left;
  }


  .identity-heading h2 {
    font-size: 58px;
  }


  .identity-grid {
    grid-template-columns: 1fr;

    margin-top: 40px;
  }


  .identity-card-wide {
    grid-column: auto;
  }


  .identity-card {
    padding:
      72px
      25px
      29px;
  }


  .identity-card h3 {
    font-size: 34px;
  }


  .identity-card p {
    font-size: 17px;
  }

}