/* About / CV (Figma 92:1709, 1440 × 2249) */

/* ---------- Hero ---------- */
.about-hero__canvas {
  position: relative;
  max-width: var(--page);
  margin: 0 auto;
  aspect-ratio: 1440 / 739;
}
.about-hero__arcs {
  position: absolute;
  left: 33.96%;
  top: 0;
  width: 58.44%;
  height: auto;
}
.about-hero__photo {
  position: absolute;
  left: 14.58%;
  top: 19.35%;
  width: 24.1%;
  aspect-ratio: 347 / 519;
  overflow: hidden;
  background: #efefef;
}
.about-hero__photo img {           /* crop taken from the Figma mask */
  position: absolute;
  left: -23.05%;
  top: -39.11%;
  width: 227.95%;
  height: 225.43%;
  max-width: none;
  object-fit: cover;
}
.about-hero__wordmark {
  position: absolute;
  left: 50.69%;
  top: 41.14%;
  width: 18.06%;
  height: auto;
}
.about-hero__name {
  position: absolute;
  left: 81.6%;
  top: 45.74%;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 200;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.about-hero__intro {
  position: absolute;
  left: 50.9%;
  top: 77.27%;
  width: 264px;
  color: #000;
  font-weight: 200;
  line-height: 23px;
  text-transform: uppercase;
}
.about-hero__cv {
  position: absolute;
  left: 89.1%;
  top: 87.2%;
  line-height: 20px;
  white-space: nowrap;
}

/* ---------- CV sections (sticky stack) ----------
   Column x-positions from Figma: 210 | 384 | 557 | 903 | 1077 | 1251 */
.cv {
  --nav-gap: var(--nav-h);
  max-width: var(--page);
  margin: 0 auto;
}
.cv-section {
  position: sticky;
  top: var(--nav-gap);
  display: grid;
  grid-template-columns: 174px 173px 346px 174px 174px minmax(0, 1fr);
  align-content: start;
  padding: 51px var(--edge) 0 14.583%;
  background: var(--bg);
  transform-origin: 50% 0;
  will-change: transform, opacity;
}
.cv-section + .cv-section { box-shadow: 0 -16px 30px -14px rgba(0, 0, 0, 0.09); }
.cv-section:nth-child(1) { min-height: 423px; }   /* 739 → 1162 */
.cv-section:nth-child(2) { min-height: 251px; }   /* 1162 → 1413 */
.cv-section:nth-child(3) { min-height: 633px; }   /* 1413 → footer at 2046 */
.footer--flush { --footer-gap: 0px; }

.cv-section__title {
  grid-column: 1;
  grid-row: 1 / span 4;
  font-size: 20px;
  line-height: 22px;
  letter-spacing: -0.6px;
}
.cv-list { display: contents; }
.cv-list li { display: contents; }
.cv-year, .cv-name { padding-top: 3px; line-height: 18px; }
.cv-name { margin-bottom: 43px; }
.cv-role { display: block; margin-top: 0; color: var(--ink-50); line-height: 20px; }

.cv-list--left .cv-year { grid-column: 2; }
.cv-list--left .cv-name { grid-column: 3; padding-right: 24px; }
.cv-list--right .cv-year { grid-column: 4; }
.cv-list--right .cv-name { grid-column: 5 / span 2; }
.cv-list--left li:nth-child(1) > * { grid-row: 1; }
.cv-list--left li:nth-child(2) > * { grid-row: 2; }
.cv-list--left li:nth-child(3) > * { grid-row: 3; }
.cv-list--left li:nth-child(4) > * { grid-row: 4; }
.cv-list--right li:nth-child(1) > * { grid-row: 1; }
.cv-list--right li:nth-child(2) > * { grid-row: 2; }
.cv-list--right li:nth-child(3) > * { grid-row: 3; }
.cv-list--right li:nth-child(4) > * { grid-row: 4; }

.cv-side__title {
  grid-column: 5;
  grid-row: 1 / span 3;
  font-size: 20px;
  line-height: 22px;
  letter-spacing: -0.6px;
}
.cv-side__list {
  grid-column: 6;
  grid-row: 1 / span 3;
  margin-top: 2px;
  line-height: 25px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px), (max-height: 560px) {
  .cv-section { position: static; box-shadow: none !important; transform: none !important; opacity: 1 !important; }
}
@media (max-width: 1100px) {
  .about-hero__intro { width: 22%; min-width: 200px; }
  .cv-section,
  .cv-section:nth-child(n) {
    min-height: 0;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 0 24px;
    padding: 56px var(--edge) 0;
  }
  .cv-section__title, .cv-side__title { grid-column: 1 / -1; grid-row: auto; margin-bottom: 20px; }
  .cv-side__title { margin-top: 16px; }
  .cv-list > li > *, .cv-list--right li > *, .cv-list--left li > * { grid-row: auto !important; }
  .cv-list--left .cv-year, .cv-list--right .cv-year { grid-column: 1; }
  .cv-list--left .cv-name, .cv-list--right .cv-name { grid-column: 2; }
  .cv-name { margin-bottom: 24px; }
  .cv-side__list { grid-column: 1 / -1; grid-row: auto; display: flex; flex-wrap: wrap; gap: 0 20px; }
  .footer--flush { --footer-gap: 140px; }
}
@media (max-width: 700px) {
  .about-hero__canvas { aspect-ratio: auto; height: auto; padding: calc(var(--nav-h) + 24px) 16px 0; }
  .about-hero__arcs { left: -10%; width: 120%; }
  .about-hero__photo, .about-hero__wordmark, .about-hero__name, .about-hero__intro, .about-hero__cv {
    position: relative; left: auto; top: auto;
  }
  .about-hero__photo { width: 62%; }
  .about-hero__wordmark { width: 48%; margin-top: 32px; }
  .about-hero__name { margin-top: 16px; font-size: 28px; }
  .about-hero__intro { width: auto; max-width: 320px; margin-top: 20px; }
  .about-hero__cv { display: inline-block; margin-top: 16px; }
}
