/* About Me — Figma 205:120 · 1440 × 2305.15 */

.about-page {
  color: #14243b;
  background: #ffffff;
}

.about-header__inner {
  min-height: 179px;
}

/* Keep work + resume stamps visible (don't clip the lace stamp) */
.about-page .bc-header,
.about-page .bc-header__inner,
.about-page .bc-header__nav {
  overflow: visible;
}

.about-page .bc-stamp--resume {
  display: block;
  width: 184px; /* Figma Group 22 */
  height: 75px;
  flex-shrink: 0;
}

.about-main {
  width: 1296px; /* Figma Frame 46 · 1440 − 2×72 */
  margin: 0 auto;
  padding: 0 0 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  box-sizing: border-box;
}

.about-heading {
  margin: 0;
  font-family: "Cross Stitch Cursive", cursive;
  font-weight: 400;
  font-size: 40px;
  line-height: normal;
  color: #14243b;
  white-space: nowrap;
}

.about-heading--hero {
  font-size: 48px;
}

/* ---------- Intro · photo + bio · Figma 205:136 ---------- */

.about-intro {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  justify-content: center;
  padding-top: 32px;
  width: 100%;
  box-sizing: border-box;
}

.about-intro__photo {
  flex: 0 0 350.44px;
  width: 350.44px;
  height: 487px;
  border-radius: 30px;
  overflow: hidden;
  background: #edf2f5;
  align-self: stretch;
}

.about-intro__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-intro__copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
  padding: 16px 0;
  color: #14243b;
}

.about-intro__body {
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
}

.about-intro__body p {
  margin: 0 0 20px;
}

.about-intro__body p:last-of-type {
  margin-bottom: 0;
}

.about-intro__body strong {
  font-weight: 700;
}

.about-intro__body ul {
  margin: 0;
  padding-left: 1.5em;
}

.about-intro__body li {
  margin: 0;
}

/* ---------- CTAs · Figma navy pills (must beat .bc-page a { color: inherit }) ---------- */

.about-page a.about-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  flex: 0 0 auto;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px;
  border-radius: 8px;
  background: #14243b;
  color: #ffffff;
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 180ms ease;
}

.about-page a.about-cta:hover,
.about-page a.about-cta:focus-visible {
  color: #ffffff;
  opacity: 0.88;
}

.about-page a.about-cta:focus-visible {
  outline: 2px solid #14243b;
  outline-offset: 3px;
}

/* ---------- Section headers ---------- */

.about-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-section__header {
  display: flex;
  align-items: center;
  gap: 16px; /* Figma Frame 54 · space between rule and resume pill */
  width: 100%;
}

.about-section__header--full .about-section__title-row {
  flex: 1 1 auto;
}

.about-section__title-row {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.about-section__rule {
  flex: 1 1 auto;
  min-width: 24px;
  height: 0;
  border-top: 1px solid #dcdcdc; /* Figma Line 1 stroke */
}

/* ---------- Horizontal scroll tracks ---------- */

.about-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  /* 2rem between cards and the scrollbar */
  padding-bottom: 2rem;
  /* Discreet scrollbar (Firefox) */
  scrollbar-width: thin;
  scrollbar-color: rgba(20, 36, 59, 0.16) transparent;
  outline: none;
}

.about-scroll:focus-visible {
  box-shadow: inset 0 0 0 2px #14243b;
}

.about-scroll::-webkit-scrollbar {
  height: 3px;
}

.about-scroll::-webkit-scrollbar-track {
  background: transparent;
  margin-inline: 4px;
}

.about-scroll::-webkit-scrollbar-thumb {
  background: rgba(20, 36, 59, 0.16);
  border-radius: 999px;
}

.about-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(20, 36, 59, 0.28);
}

.about-scroll__track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: max-content;
  box-sizing: border-box;
  /* Keep card bottoms clear of the scrollbar gutter */
  padding-bottom: 0;
}

.about-scroll__track--enjoy {
  gap: 16px; /* Figma 215:748 */
}

/* ---------- Work experience cards ---------- */

.about-job {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid #dcdcdc;
  border-radius: 20px;
  background: #ffffff;
  color: #14243b;
  box-sizing: border-box;
}

.about-job__top {
  display: flex;
  align-items: flex-end;
  gap: 32px;
  width: 100%;
}

.about-job__top--spread {
  justify-content: space-between;
  gap: 16px;
}

.about-job__company {
  margin: 0;
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  white-space: nowrap;
}

.about-job__dates {
  margin: 0;
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  line-height: normal;
  white-space: nowrap;
}

.about-job__role {
  margin: 0;
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

/* ---------- Communities ---------- */

.about-communities {
  display: flex;
  gap: 32px;
  width: 100%;
  align-items: stretch;
}

.about-community {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid #dcdcdc;
  border-radius: 20px;
  background: #edf2f5;
  box-sizing: border-box;
}

.about-community__title {
  margin: 0;
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  color: #14243b;
}

.about-community__photo {
  width: 100%;
  aspect-ratio: 290 / 151;
  border-radius: 20px;
  overflow: hidden;
  background: #dcdcdc;
}

.about-community__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-community__text {
  margin: 0;
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #14243b;
}

/* ---------- Things I enjoy cards ---------- */

.about-enjoy {
  flex: 0 0 308px;
  width: 308px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  border: 1px solid #dcdcdc;
  border-radius: 20px;
  background: #ffffff;
  box-sizing: border-box;
}

.about-enjoy__photo {
  width: 276px;
  height: 296.83px;
  border-radius: 20px;
  overflow: hidden;
  background: #edf2f5;
  position: relative;
}

.about-enjoy__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Figma fill crops for images that need exact framing */
.about-enjoy__photo--crop img {
  position: absolute;
  max-width: none;
  object-fit: unset;
}

.about-enjoy__photo--shrinky img {
  width: 116.28%;
  height: 144.16%;
  left: -8.21%;
  top: -25.54%;
}

.about-enjoy__photo--blindbox img {
  width: 100%;
  height: 165.26%;
  left: -0.14%;
  top: -65.28%;
}

.about-enjoy__photo--concerts img {
  width: 100%;
  height: 165.26%;
  left: 0.12%;
  top: -65.18%;
}

.about-enjoy__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 276px;
}

.about-enjoy__title {
  margin: 0;
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  color: #14243b;
}

.about-enjoy__text {
  margin: 0;
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #14243b;
}

/* ---------- Footer hotspot tweak (lace + navy block · ~192px) ---------- */

.about-footer .bc-footer__hit--home {
  left: 24px;
  top: auto;
  bottom: 36.5px;
  width: 155px;
  height: 66px;
}

.about-footer .bc-footer__hit--linkedin {
  right: 24px;
  top: auto;
  bottom: 70px;
  width: 281px;
  height: 22px;
  min-width: 0;
  min-height: 0;
}

.about-footer .bc-footer__hit--email {
  right: 116px;
  top: auto;
  bottom: 36px;
  width: 189px;
  height: 22px;
  min-width: 0;
  min-height: 0;
}

@media (prefers-reduced-motion: reduce) {
  .about-page a.about-cta {
    transition: none;
  }
}
