/* =========================================================
                       ABOUT PAGE
========================================================= */

.about-page {
    width: 100%;
  }
  
/* =========================================================
                         ABOUT HERO
========================================================= */

.about-hero {
  width: min(1180px, calc(100% - 80px));

  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.08fr 0.92fr;

  align-items: center;

  gap: clamp(64px, 8vw, 120px);

  padding: 0 0 45px;
}
  
  .section-kicker {
    margin: 0 0 16px;
  
    font-size: 16px;
    font-weight: 400;
  
    letter-spacing: 2px;
  
    color: var(--dark-grey);
  }
  
  .section-kicker::after {
    content: "";
  
    display: block;
  
    width: 32px;
    height: 2px;
  
    margin-top: 8px;
  
    background: var(--accent);
  }
  
  .about-copy h1 {
    margin: 0 0 24px;
  
    font-size: clamp(44px, 4vw, 52px);
    font-weight: 300;
  
    letter-spacing: 4px;
    line-height: 1.08;
  
    color: var(--black);
  }
  
  .about-focus {
    display: flex;
    flex-wrap: wrap;
  
    gap: 10px 28px;
  
    margin-bottom: 34px;
  }
  
  .about-focus span {
    position: relative;
  
    font-size: 12px;
    font-weight: 500;
  
    letter-spacing: 2px;
  
    color: var(--dark-grey);
  }
  
  .about-focus span:not(:last-child)::after {
    content: "";
  
    position: absolute;
  
    top: 50%;
    right: -16px;
  
    width: 3px;
    height: 3px;
  
    border-radius: 50%;
  
    background: var(--accent);
  
    transform: translateY(-50%);
  }
  
  .about-intro {
    max-width: 680px;
  
    margin: 0 0 20px;
  
    font-size: 16px;
    line-height: 1.75;
  
    color: var(--dark-grey);
  
    text-align: justify;
  }
  
  
  /* =========================================================
                         ABOUT PHOTO
  ========================================================= */
  
  .about-photo-wrap {
    position: relative;
  
    width: 100%;
    max-width: 470px;
  
    justify-self: end;
  }
  
  .about-photo-line {
    position: absolute;
  
    top: -15px;
    left: -17px;
  
    width: 2px;
    height: calc(100% + 30px);
  
    background: var(--accent);
  
    transform: rotate(4deg);
    transform-origin: center;
  
    z-index: 2;
  
    /* helps prevent line disappearing when zoomed out */
    backface-visibility: hidden;
  }
  
  .about-photo {
    width: 100%;
    height: 430px;
  
    display: block;
  
    object-fit: cover;
  
    clip-path: polygon(
      7% 0,
      100% 0,
      93% 100%,
      0 100%
    );
  }
  
  
  /* =========================================================
                         EXPERIENCE
  ========================================================= */
  
  .career-section {
    width: min(1180px, calc(100% - 80px));
  
    margin: 0 auto;
  
    padding-bottom: 24px;
  }
  
  .career-heading {
    max-width: 760px;
  
    margin-bottom: 64px;
  }
  
  .career-heading h2 {
    margin: 0 0 18px;
  
    font-size: clamp(40px, 3.8vw, 48px);
    font-weight: 300;
  
    letter-spacing: 3px;
    line-height: 1.08;
  
    color: var(--black);
  }
  
  .career-heading > p:last-child {
    max-width: 650px;
  
    margin: 0;
  
    font-size: 14px;
    line-height: 1.75;
  
    color: var(--grey);
  }
  
  
  /* =========================================================
                           TIMELINE
  ========================================================= */
  
  .timeline {
    position: relative;
  
    padding-left: 88px;
  }
  
  .timeline-track {
    position: absolute;
  
    top: 40px;
    bottom: 40px;
    left: 16px;
  
    width: 2px;
  
    background: var(--light-grey);
  
    overflow: hidden;
  
    z-index: 1;
  }
  
  .timeline-progress {
    position: absolute;
  
    top: 0;
    left: 0;
  
    width: 100%;
    height: 0;
  
    background: var(--accent);
  
    transition: height 0.45s ease;
  }
  
  .timeline-entry {
    position: relative;
  
    display: block;
  
    margin-bottom: 44px;
  
    scroll-margin-top: 150px;
  }
  
  .timeline-marker {
    position: absolute;
  
    left: -78px;
    top: 43px;
  
    width: 13px;
    height: 13px;
  
    box-sizing: border-box;
  
    border: 1px solid var(--black);
    border-radius: 50%;
  
    background: var(--white);
  
    z-index: 3;
  
    transition:
      background 0.25s ease,
      border-color 0.25s ease,
      transform 0.25s ease;
  }
  
  .timeline-entry.active .timeline-marker {
    background: var(--accent);
    border-color: var(--accent);
  
    transform: scale(1.15);
  }
  
  
  /* =========================================================
                      TIMELINE CONTENT
  ========================================================= */
  
  .timeline-entry-content {
    border-top: 1px solid var(--light-grey);
  
    transition: border-color 0.3s ease;
  }
  
  .timeline-entry.active .timeline-entry-content {
    border-top-color: var(--accent);
  }
  
  .timeline-header {
    width: 100%;
  
    display: grid;
    grid-template-columns: 1fr 55px;
  
    gap: 40px;
  
    align-items: center;
  
    padding: 30px 0 24px;
  
    background: transparent;
    border: none;
  
    text-align: left;
  
    font-family: inherit;
    color: inherit;
  
    cursor: pointer;
  }
  
  .timeline-main {
    position: relative;
  }
  
  .timeline-main h3 {
    margin: 0 0 10px;
  
    font-size: clamp(20px, 1.5vw, 24px);
    font-weight: 500;
  
    letter-spacing: 1.2px;
    line-height: 1.3;
  
    color: var(--black);
  }
  
  .timeline-meta {
    display: block;
  
    margin-bottom: 16px;
  
    padding-right: 180px;
  }
  
  .timeline-meta .timeline-company {
    font-size: 17px;
    font-weight: 600;
  
    letter-spacing: 1.2px;
    line-height: 1.35;
  
    color: var(--black);
  }
  
  .timeline-meta .timeline-date {
    position: absolute;
  
    top: 0;
    right: 0;
  
    font-size: 15px;
    font-weight: 500;
  
    letter-spacing: 1.2px;
    line-height: 1.4;
  
    color: var(--grey);
  
    text-align: right;
    white-space: nowrap;
  }
  
  .timeline-summary {
    max-width: 860px;
  
    margin: 0;
  
    font-size: 16px;
    line-height: 1.7;
  
    color: var(--dark-grey);
  }
  
  
  /* =========================================================
                         + / × BUTTON
  ========================================================= */
  
  .timeline-action {
    display: flex;
  
    align-items: center;
    justify-content: center;
  }
  
  .timeline-expand-icon {
    width: 40px;
    height: 40px;
  
    display: flex;
  
    align-items: center;
    justify-content: center;
  
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
  
    color: var(--black);
  
    transition:
      color 0.25s ease,
      transform 0.25s ease;
  }
  
  .timeline-header:hover .timeline-expand-icon {
    color: var(--accent);
  
    transform: scale(1.08);
  }
  
  .timeline-entry.is-open .timeline-expand-icon {
    color: var(--accent);
  }
  
  
  /* =========================================================
                      EXPANDED DETAILS
  ========================================================= */
  
  .timeline-details {
    display: grid;
  
    grid-template-rows: 0fr;
  
    opacity: 0;
  
    transition:
      grid-template-rows 0.4s ease,
      opacity 0.3s ease;
  }
  
  .timeline-details-inner {
    overflow: hidden;
  }
  
  .timeline-details ul {
    margin: 0 35px 34px 0;
  
    padding: 27px 0 0 22px;
  
    border-top: 1px solid var(--light-grey);
  }
  
  .timeline-details li {
    margin-bottom: 10px;
  
    padding-left: 5px;
  
    font-size: 18px;
    line-height: 1.7;
  
    text-align: justify;
  
    color: var(--dark-grey);
  }
  
  .timeline-entry.is-open .timeline-details {
    grid-template-rows: 1fr;
  
    opacity: 1;
  }
  
  .timeline-entry.is-open .timeline-entry-content {
    border-top-color: var(--accent);
  }
  
  /* =========================================================
                       ABOUT CLOSING
========================================================= */

.about-closing {
  padding: 20px 0 55px;

  text-align: center;
}


.about-closing p {
  margin: 0;

  font-size: 10px;

  letter-spacing: 5px;

  color: #777;
}


.about-closing div {
  width: 45px;
  height: 2px;

  margin: 16px auto 0;

  background: var(--accent, #8a3038);
}
  /* =========================================================
                      SOFTWARE / KEY SKILLS
  ========================================================= */
  
  .timeline-skills {
    display: flex;
    flex-direction: column;
  
    gap: 10px;
  
    margin-top: 20px;
  }
  
  .timeline-skill-row {
    display: grid;
  
    grid-template-columns: 115px 1fr;
  
    gap: 20px;
  
    align-items: baseline;
  }
  
  .timeline-skill-label {
    font-size: 15px;
    font-weight: 600;
  
    letter-spacing: 1.8px;
  
    color: var(--accent);
  }
  
  .timeline-skill-value {
    font-size: 16px;
    font-weight: 400;
  
    letter-spacing: 0.3px;
    line-height: 1.6;
  
    color: var(--dark-grey);
  }
  
  
  /* =========================================================
                        ABOUT TABLET
  ========================================================= */
  
  @media (max-width: 900px) {
    .about-hero,
    .career-section,
    .technical-profile {
      width: min(100% - 48px, 1180px);
    }
  
    .about-hero {
      grid-template-columns: 1fr;
  
      gap: 55px;
  
      padding-top: 60px;
    }
  
    .about-photo-wrap {
      justify-self: start;
  
      max-width: 560px;
    }
  
    .about-photo {
      height: 420px;
    }
  
    .timeline {
      padding-left: 68px;
    }
  
    .timeline-track {
      left: 11px;
    }
  
    .timeline-marker {
      left: -62px;
    }
  
    .timeline-entry {
      grid-template-columns: 48px 1fr;
    }
  
    .timeline-header {
      gap: 20px;
    }
  }
  
  
  /* =========================================================
                         ABOUT MOBILE
  ========================================================= */
  
  @media (max-width: 620px) {
    .about-hero,
    .career-section,
    .technical-profile {
      width: calc(100% - 36px);
    }
  
    .about-hero {
      padding: 45px 0 85px;
    }
  
    .about-copy h1 {
      margin: 0 0 28px;
  
      font-size: clamp(52px, 4.5vw, 62px);
      font-weight: 400;
  
      letter-spacing: 2px;
      line-height: 1.05;
  
      color: var(--black);
    }
  
    .about-focus {
      flex-direction: column;
  
      gap: 9px;
    }
  
    .about-focus span::after {
      display: none;
    }
  
    .about-photo {
      height: 340px;
    }
  
    .career-section {
      padding-bottom: 90px;
    }
  
    .career-heading h2 {
      margin: 0 0 20px;
  
      font-size: clamp(44px, 4vw, 52px);
      font-weight: 400;
  
      letter-spacing: 2px;
      line-height: 1.05;
  
      color: var(--black);
    }
  
    .timeline {
      padding-left: 40px;
    }
  
    .timeline-track {
      left: 5px;
    }
  
    .timeline-entry {
      position: relative;
  
      display: block;
  
      margin-bottom: 24px;
  
      scroll-margin-top: 150px;
    }
  
    .timeline-marker {
      left: -40px;
  
      width: 11px;
      height: 11px;
    }
  
    .timeline-header {
      grid-template-columns: 1fr 42px;
  
      gap: 15px;
  
      padding: 26px 0;
    }
  
    .timeline-main h3 {
      font-size: 17px;
    }
  
    .timeline-meta {
      padding-right: 0;
    }
  
    .timeline-meta .timeline-date {
      position: static;
  
      display: block;
  
      margin-top: 6px;
  
      text-align: left;
    }
  }
  
  
  /* =========================================================
                       REDUCED MOTION
  ========================================================= */
  
  @media (prefers-reduced-motion: reduce) {
    .timeline-progress,
    .timeline-marker,
    .timeline-details,
    .timeline-expand-icon,
    .timeline-entry-content {
      transition: none;
    }
  }

/* =========================================================
                       ABOUT PAGE INTRO
========================================================= */

.about-page-intro {
  width: min(1280px, calc(100% - 80px));

  max-width: 760px;

  margin: 0 auto;

  padding: 50px 0 36px;

  text-align: center;
}


.about-page-kicker {
  margin: 0 0 18px;

  font-size: 11px;

  letter-spacing: 5px;

  color: #777;
}


.about-page-intro h1 {
  margin: 0;

  font-size: clamp(52px, 6vw, 82px);

  font-weight: 300;

  letter-spacing: -2px;

  color: #111;
}


.about-page-line {
  width: 130px;
  height: 2px;

  margin: 20px auto 24px;

  background: var(--accent, #8a3038);
}


.about-page-intro-text {
  max-width: 560px;

  margin: 0 auto;

  font-size: 13px;

  line-height: 1.8;

  letter-spacing: 1px;

  color: #777;
}


/* =========================================================
                       ABOUT CLOSING
========================================================= */

.about-closing {
  padding: 20px 0 55px;

  text-align: center;
}


.about-closing p {
  margin: 0;

  font-size: 10px;

  letter-spacing: 5px;

  color: #777;
}


.about-closing div {
  width: 45px;
  height: 2px;

  margin: 16px auto 0;

  background: var(--accent, #8a3038);
}


/* =========================================================
                       RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

  .about-page-intro {
    width: calc(100% - 50px);
  }

}


@media (max-width: 760px) {

  .about-page-intro {
    width: calc(100% - 28px);

    padding: 60px 0;
  }


  .about-page-kicker {
    font-size: 10px;

    letter-spacing: 4px;
  }


  .about-page-intro h1 {
    font-size: clamp(44px, 11vw, 62px);
  }


  .about-page-intro-text {
    font-size: 12px;
  }

}