:root {
  color-scheme: light;
  --about-bg: #f6f6f9;
  --about-ink: #222327;
  --about-muted: #55575e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--about-bg);
  color: var(--about-ink);
  font-family: CaseStudy, Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.5;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid #9b6000;
  outline-offset: 6px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 24px;
  z-index: 5;
  background: white;
  padding: 12px 20px;
}
.skip-link:focus {
  top: 12px;
}
.about-wrap {
  width: min(1200px, calc(100% - 80px));
  margin: 120px auto;
}
.about-page .site-footer .footer-title {
  font-family: CaseStudy, Roboto, Arial, sans-serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -1px;
}
.about-page .site-footer .footer-copy,
.about-page .site-footer .footer-links a {
  line-height: 1.4;
}
.story-row,
.experience-row {
  display: grid;
  grid-template-columns: minmax(0, 760fr) minmax(0, 550fr);
  gap: 50px;
  align-items: start;
}
.biography,
.experience,
.photo-slot {
  min-width: 0;
}
.photo-slot {
  align-self: stretch;
}
.experience-row {
  grid-template-columns: minmax(0, 550fr) minmax(0, 725fr);
  gap: 85px;
  margin-top: 100px;
}
.story-photo {
  margin-top: 122px;
}
.gallery-photo {
  order: -1;
}
.biography h1 {
  font-size: 32px;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 32px;
  text-wrap: balance;
}
.biography h1 span {
  display: block;
}
.biography p {
  font-weight: 300;
  color: var(--about-muted);
  font-size: 16px;
  line-height: 1.4;
  text-wrap: pretty;
}
.biography p + p {
  margin-top: 22px;
}
/* Unmodified user-supplied PNG; only the two photo slots are shown. */
.about-photo {
  position: sticky;
  top: 32px;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: var(--crop-w) / var(--crop-h);
  isolation: isolate;
}
.photo-window {
  position: absolute;
  inset: 0;
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .photo-slot[data-follow] .about-photo {
    position: relative;
    top: auto;
    translate: 0 var(--photo-follow-y, 0px);
  }
}
.photo-slot[data-motion] .photo-window {
  transform: translate3d(0, var(--photo-y, 0px), 0) scale(1.06);
}
.photo-slot.is-visible .about-photo {
  animation: photo-arrive 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes photo-arrive {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.about-photo img {
  position: absolute;
  display: block;
  width: calc(1920 / var(--crop-w) * 100%);
  height: auto;
  max-width: none;
  left: calc(var(--crop-x) / var(--crop-w) * -100%);
  top: calc(var(--crop-y) / var(--crop-h) * -100%);
}
.experience {
  margin-right: 0;
}
.experience > h2 {
  font-family: CaseStudy, Roboto, Arial, sans-serif;
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 36px;
}
.experience-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.experience-list li {
  display: grid;
  grid-template-columns: 1.1fr 1.18fr auto;
  gap: 20px;
  align-items: baseline;
  padding-block: 14px;
}
.experience-list h3 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  text-wrap: pretty;
}
.experience-list:not(.education-list) h3 {
  font-size: 18px;
  line-height: 24px;
}
.experience-list:not(.education-list) > li:first-child {
  padding-top: 0;
}
.experience-list p {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 300;
  color: var(--about-muted);
}
.experience-list .date {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.education-list {
  border-block: 1px solid #e1e1e7;
  padding-block: 16px;
  margin-top: 20px;
}
.education-list .date {
  color: var(--about-ink);
  font-weight: 600;
}
.more-about {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 3px 4px rgb(0 0 0 / 0.12);
}
.more-about > p {
  font-size: 17px;
  font-weight: 500;
}
.more-links {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  color: white;
  background: #222327;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.linkedin-link {
  background: #0866c2;
}
.pill-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgb(0 0 0 / 0.15);
}
@media (max-width: 1100px) {
  .desktop-break { display: none; }
  .story-row,
  .experience-row {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 32px;
  }
  .experience-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  }
  .experience { margin-right: 0; }
  .experience-list li {
    grid-template-columns: 1fr 1fr;
    gap: 4px 16px;
  }
  .experience-list .date {
    grid-column: 2;
  }
  .more-about {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Keep the reading order and full-width text through tablet sizes. */
@media (max-width: 1023px) {
  .story-row,
  .experience-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .story-photo { margin-top: 0; }
  .gallery-photo { order: 0; }
  .about-photo { position: relative; top: auto; }
  .experience-row { margin-top: 64px; }
}
@media (max-width: 760px) {
  .about-wrap {
    width: calc(100% - 40px);
    margin: 48px auto 64px;
  }
  .biography h1 {
    font-size: clamp(26px, 6.7vw, 32px);
    line-height: 1.3;
    margin-bottom: 28px;
    text-wrap: pretty;
  }
  .experience > h2 { font-size: 26px; margin-bottom: 20px; }
  .experience-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding-block: 20px;
  }
  .experience-list li + li { border-top: 1px solid #e1e1e7; }
  .experience-list .date { grid-column: 1; }
  .education-list { padding-block: 0; margin-top: 4px; }
  .more-about { margin-top: 28px; padding: 20px; gap: 16px; }
  .more-links { width: 100%; }
  .pill-link { min-height: 44px; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .about-photo { position: relative; top: auto; }
  .photo-slot[data-motion] .photo-window,
  .photo-slot.is-visible .about-photo {
    transform: none;
    animation: none;
  }
  .pill-link {
    transition: none;
  }
  .pill-link:hover {
    transform: none;
  }
}
/* 3x Figma photo exports replace the low-resolution full-page crops. */
.about-photo-retina img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover}
