/* ==========================================================================
   About page — Figma "About" frame (222:2)
   Shared tokens: css/base/variables.css | Shared components: css/components/*
   ========================================================================== */

/* ---- Founder hero --------------------------------------------------------
   Figma About (222:2) — artboard 1440, content inset 240
   Portrait: 466×536 @ x240 y116
   Bg: site grid only (Figma 225:14 / 225:15) — no glow behind portrait
   ------------------------------------------------------------------------ */

.about-hero {
  position: relative;
  padding-top: 18px;
  padding-bottom: 0;
  overflow: visible;
  /* No color gradient — grid comes from body bg.jpg (Figma 225:15) */
  background: transparent;
}

/* Figma content band = 960px (x240→x1200) + 24px gutters */
.about-hero .container {
  max-width: 1008px;
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.about-hero__media {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  max-width: 466px;
  aspect-ratio: 466 / 536;
}

.about-hero__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.about-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 477px;
  text-align: left;
}

.about-hero__eyebrow {
  display: block;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  line-height: 1.7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-body);
}

.about-hero__subhead {
  margin: 0 0 22px;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.5625rem); /* -> 25px */
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-primary);
}

.about-hero__content h1 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 33px;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.875rem); /* -> 46px */
  font-weight: var(--fw-extrabold);
  line-height: 1.2;
}

.about-hero__title-primary {
  color: var(--color-primary);
}

.about-hero__title-accent {
  color: var(--color-accent);
}

.about-hero__body {
  margin: 0 0 16px;
  max-width: 477px;
  font-size: 14px;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--color-body);
}

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

.about-hero__body strong {
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
}

@media (min-width: 992px) {
  .about-hero {
    /* Header 98px + Figma y116 ≈ 18px below header content start */
    padding-top: 18px;
    padding-bottom: 0;
  }

  .about-hero__inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    /* Figma: image ends ~706, text starts ~723 → ~17px gap inside 960px content */
    gap: clamp(16px, 2vw, 40px);
    min-height: 536px;
  }

  .about-hero__media {
    width: 466px;
    max-width: 43%;
    margin-top: 0;
  }

  .about-hero__content {
    flex: 1 1 auto;
    align-items: flex-end;
    text-align: right;
    max-width: 477px;
    /* FOUNDER sits near image eye-line (Figma y149 vs image y116) */
    padding-top: 33px;
  }

  .about-hero__eyebrow {
    margin-bottom: 23px;
  }

  .about-hero__subhead {
    margin-bottom: 41px;
    font-size: 25px;
  }

  .about-hero__content h1 {
    margin-bottom: 33px;
    font-size: 46px;
    gap: 4px;
  }

  .about-hero__body {
    text-align: right;
  }
}

@media (min-width: 1200px) {
  .about-hero__media {
    max-width: 466px;
    width: 466px;
  }
}

/* ---- Entrepreneurial Journey ---------------------------------------------
   Figma: navy band 1440×635, cards 275×275 @ radius 10, gap ~20
   Dashed timeline + hollow dots; grid overlay opacity ~8%
   ------------------------------------------------------------------------ */

.journey {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding-block: 76px 88px;
}

.journey__atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.journey__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.08;
}

.journey__glow {
  position: absolute;
  width: min(547px, 55vw);
  height: min(547px, 55vw);
  opacity: 0.55;
}

.journey__glow--left {
  left: -11%;
  top: 4%;
}

.journey__glow--right {
  right: -11%;
  top: -3%;
}

.journey__inner {
  position: relative;
  z-index: 1;
  max-width: 1208px; /* Figma cards span x140→x1300 */
}

.journey__eyebrow {
  display: block;
  margin: 0 0 48px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  line-height: 1.7;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-white);
}

.journey__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.journey__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.journey__marker {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  margin-bottom: 0;
}

.journey__year {
  font-size: 12px;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 10px;
}

.journey__dot {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background-color: var(--color-primary);
  flex-shrink: 0;
}

.journey__stem {
  display: block;
  width: 0;
  height: 72px;
  border-left: 1px dashed rgba(255, 255, 255, 0.75);
  margin-top: -1px;
}

.journey-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 275px;
  min-height: 275px;
  padding: 48px 18px 24px;
  background-color: var(--color-white);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  box-sizing: border-box;
}

.journey-card__num {
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 20px;
  font-weight: var(--fw-extrabold);
  line-height: 1.5;
  color: rgba(var(--color-primary-rgb), 0.28);
}

.journey-card__title {
  margin: 0;
  padding-bottom: 10px;
  font-size: 18px;
  font-weight: var(--fw-extrabold);
  line-height: 1.4;
  color: var(--color-primary);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.journey-card__body {
  margin: 0;
  font-size: 13px;
  font-weight: var(--fw-regular);
  line-height: 1.6;
  color: var(--color-body);
}

@media (min-width: 640px) {
  .journey__track {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }
}

@media (min-width: 1100px) {
  .journey {
    padding-block: 76px 100px;
  }

  .journey__track {
    position: relative;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 20px;
    align-items: start;
  }

  /* Continuous dashed horizontal line through the dots */
  .journey__track::before {
    content: "";
    position: absolute;
    left: calc(12.5% - 8px);
    right: calc(12.5% - 8px);
    top: 31px; /* year(~18) + gap(10) + half-dot(8.5) ≈ 31 */
    height: 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.75);
    z-index: 1;
    pointer-events: none;
  }

  .journey__marker {
    display: flex;
  }

  .journey__item {
    align-items: center;
  }

  .journey-card {
    width: 100%;
    max-width: none;
    min-height: 275px;
    height: auto;
  }
}


/* ---- Experience ----------------------------------------------------------
   Figma: text ~x140–863, image 366×421 @ x934 → ~70px gap only
   ------------------------------------------------------------------------ */

.experience {
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5.5rem);
}

.experience__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 1208px; /* Figma content ~x140→x1300 */
}

.experience__content {
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
}

.experience__content .eyebrow {
  margin-bottom: 14px;
  color: var(--color-body);
}

.experience__content h2 {
  margin: 0 0 28px;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.875rem); /* -> 46px */
  font-weight: var(--fw-extrabold);
  line-height: 1.2;
  color: var(--color-primary);
}

.experience__content h2 .text-accent {
  color: var(--color-accent);
}

.experience__content p {
  margin: 0 0 18px;
  max-width: none; /* fill the text column — no artificial 58ch gap */
  font-size: 14px;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--color-body);
}

.experience__content p:last-child {
  margin-bottom: 0;
}

.experience__content strong {
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
}

.experience__media {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.experience__image {
  display: block;
  width: 100%;
  max-width: 480px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 992px) {
  .experience__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px; /* Figma ~70px between text end and image */
  }

  .experience__content {
    flex: 1 1 0;
    max-width: 645px;
  }

  .experience__content h2 {
    font-size: 46px;
  }

  .experience__media {
    justify-content: flex-end;
    width: 480px;
  }

  .experience__image {
    max-width: 480px;
    width: 480px;
  }
}

/* ---- Next Challenge / Mantra ---------------------------------------------
   Figma 235:140 — bg #f5f4fc, h≈618; title 46px; body 14px centered ~888px
   Line1 primary / Line2 #555ddb; mantra label 20px + quote 46px
   ------------------------------------------------------------------------ */

.challenge {
  background-color: #f5f4fc;
  padding-block: 54px 72px;
  text-align: center;
}

  margin-inline: auto;
}

.challenge__inner h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0 0 54px;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.875rem); /* -> 46px */
  font-weight: var(--fw-extrabold);
  line-height: 1.2;
}

.challenge__title-primary {
  color: var(--color-primary);
}

.challenge__title-accent {
  color: var(--color-accent); /* #555ddb */
}

.challenge__copy {
  margin: 0 auto 40px;
  max-width: 888px;
}

.challenge__copy p {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--color-body);
}

.challenge__copy p:last-child {
  margin-bottom: 0;
}

.challenge__copy strong {
  font-weight: var(--fw-extrabold);
  color: var(--color-primary);
}

.challenge__mantra {
  margin-top: 40px;
}

.challenge__mantra-label {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: var(--fw-extrabold);
  line-height: 1.2;
  color: var(--color-primary);
}

.challenge__mantra-quote {
  margin: 0;
  font-size: clamp(1.25rem, 0.85rem + 1.8vw, 2.875rem); /* -> 46px, scales down so it stays one line */
  font-weight: var(--fw-extrabold);
  line-height: 1.2;
  color: var(--color-primary);
  white-space: nowrap;
}

@media (min-width: 992px) {
  .challenge {
    padding-block: 54px 80px;
  }

  .challenge__inner h2 {
    font-size: 46px;
    margin-bottom: 54px;
  }

  .challenge__mantra-quote {
    font-size: 46px;
    white-space: nowrap;
  }
}
