/* ===================== About Page ===================== */

.about-page {
  background: var(--cream);
  overflow-x: hidden;
  --about-body-offset: 125px;
}

body.about-page.inner-page {
  padding-top: calc(var(--header-height) + 16px);
}

.about-page .hero {
  margin-top: 16px;
}

.about-page .hero-left {
  top: 40px;
}

.hero-slide--about .hero-slide__bg {
  background: var(--cream);
}

.hero-slide--about .hero-slide__bg img {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: auto;
  height: 100%;
  max-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right top;
  mix-blend-mode: multiply;
}

.hero-slide--about .hero-slide__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--cream) 0%,
    rgba(236, 230, 221, 0.9) 24%,
    rgba(236, 230, 221, 0.4) 44%,
    transparent 58%
  );
  pointer-events: none;
}

.hero-slide--about::before {
  background: linear-gradient(
    90deg,
    rgba(236, 230, 221, 0.98) 0%,
    rgba(236, 230, 221, 0.9) 12%,
    rgba(236, 230, 221, 0.55) 28%,
    rgba(236, 230, 221, 0.12) 44%,
    transparent 54%
  );
}

.about-hero__title {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.about-page .hero-left .about-hero__title .accent {
  color: var(--orange);
  display: block;
  margin-top: 0.08em;
  position: relative;
  padding-bottom: 0;
}

.about-page .hero-left .about-hero__title .accent::after {
  display: none;
}

.about-page .hero-left .about-hero__title .accent:first-child {
  margin-top: 0;
  font-size: 0.55em;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding-bottom: 12px;
}

.about-page .hero-left .about-hero__title .accent:first-child::after {
  display: block;
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100px;
  height: 3px;
  background: var(--orange);
}

.about-hero__title .accent--last {
  padding-bottom: 0;
}

.about-hero__mid {
  display: block;
  color: var(--text-dark);
}

/* ===================== About Timeline ===================== */

.about-timeline {
  --timeline-icon-size: 78px;
  --timeline-icon-inner: 36px;
  --timeline-gap: 32px;
  --timeline-line-x: calc(var(--timeline-icon-size) / 2);
  background: var(--cream);
  padding: 56px 0 88px;
}

.about-timeline__track {
  position: relative;
  max-width: 920px;
  margin-left: var(--about-body-offset);
}

.about-timeline__track::before {
  content: "";
  position: absolute;
  left: var(--timeline-line-x);
  top: 0;
  bottom: 0;
  width: 1px;
  background: #cfc6ba;
  transform: translateX(-50%);
}

.about-timeline__item {
  display: grid;
  grid-template-columns: var(--timeline-icon-size) minmax(0, 1fr);
  column-gap: var(--timeline-gap);
  align-items: start;
  padding-bottom: 72px;
}

.about-timeline__item:last-child {
  padding-bottom: 48px;
}

.about-timeline__marker {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  padding-top: 2px;
}

.about-timeline__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--timeline-icon-size);
  height: var(--timeline-icon-size);
  border-radius: 50%;
  border: 2px solid var(--orange);
  background: #ffffff;
  color: var(--text-dark);
  flex-shrink: 0;
}

.about-timeline__icon svg {
  width: var(--timeline-icon-inner);
  height: var(--timeline-icon-inner);
  display: block;
}

.about-timeline__panel {
  min-width: 0;
  padding-top: 10px;
}

.about-timeline__head {
  margin-bottom: 22px;
}

.about-timeline__title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.2px;
  color: var(--text-dark);
  margin: 0;
}

.about-timeline__subtitle {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--orange);
  margin: 8px 0 0;
}

.about-timeline__body p {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

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

.about-timeline__highlight {
  color: var(--orange) !important;
  font-weight: 700 !important;
}

.about-timeline__item--founder .about-timeline__head {
  margin-bottom: 28px;
}

.about-timeline__photo {
  margin: 0 0 32px;
  border-radius: 22px;
  overflow: hidden;
  max-width: 320px;
  aspect-ratio: 2 / 3;
}

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

.about-timeline__bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-timeline__item--founder .about-timeline__bullets {
  margin-left: 0;
  padding-left: 0;
}

.about-timeline__bullets li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 24px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  color: var(--text-muted);
}

.about-timeline__bullets li:last-child {
  margin-bottom: 0;
}

.about-timeline__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--orange);
}

/* ===================== About Licensed States ===================== */

.about-licensed {
  margin-left: calc(var(--timeline-icon-size) + var(--timeline-gap));
  padding-top: 8px;
}

.about-licensed__divider {
  border: 0;
  border-top: 1px solid #cfc6ba;
  margin: 0 0 40px;
}

.about-licensed__title {
  margin: 0 0 36px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.2px;
  color: var(--text-dark);
  text-align: center;
}

.about-licensed__states {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-licensed__state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-licensed__state-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--timeline-icon-size);
  height: var(--timeline-icon-size);
  padding: 12px;
  box-sizing: border-box;
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: #ffffff;
  margin-bottom: 14px;
}

.about-licensed__state-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.about-licensed__state-name {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.3;
  color: var(--text-dark);
  text-transform: uppercase;
}

@media (max-width: 1023px) {
  .about-page .hero {
    margin-top: 12px;
  }

  .about-page {
    --about-body-offset: 48px;
  }

  .about-page .hero-left {
    top: 24px;
  }

  .about-hero__title {
    font-size: 32px;
  }

  .about-timeline {
    --timeline-icon-size: 69px;
    --timeline-icon-inner: 32px;
    --timeline-gap: 24px;
    padding: 48px 0 72px;
  }

  .about-timeline__item {
    padding-bottom: 56px;
  }

  .about-timeline__title {
    font-size: 20px;
  }

  .about-timeline__panel {
    padding-top: 6px;
  }

  .about-timeline__item:last-child {
    padding-bottom: 40px;
  }

  .about-licensed__title {
    font-size: 20px;
    margin-bottom: 28px;
  }

  .about-licensed__states {
    gap: 24px 16px;
  }

  .about-licensed__state-icon {
    padding: 10px;
  }
}

@media (max-width: 767px) {
  .about-page {
    --about-body-offset: 0;
  }

  .about-timeline {
    --timeline-icon-size: 60px;
    --timeline-icon-inner: 28px;
    --timeline-gap: 20px;
    padding: 40px 0 56px;
  }

  .about-timeline__item {
    padding-bottom: 44px;
  }

  .about-timeline__item:last-child {
    padding-bottom: 36px;
  }

  .about-licensed {
    margin-left: 0;
    padding-top: 4px;
  }

  .about-licensed__divider {
    margin-bottom: 28px;
  }

  .about-licensed__title {
    font-size: 17px;
    margin-bottom: 24px;
  }

  .about-licensed__states {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }

  .about-licensed__state-icon {
    padding: 8px;
  }

  .about-licensed__state-name {
    font-size: 12px;
  }

  .about-timeline__panel {
    padding-top: 4px;
  }

  .about-timeline__head {
    margin-bottom: 18px;
  }

  .about-timeline__title {
    font-size: 17px;
  }

  .about-timeline__subtitle {
    font-size: 14px;
  }

  .about-timeline__body p,
  .about-timeline__bullets li {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 16px;
  }

  .about-timeline__bullets li {
    margin-bottom: 18px;
    padding-left: 16px;
  }

  .about-timeline__photo {
    border-radius: 16px;
    margin-bottom: 24px;
    max-width: min(100%, 280px);
  }

  .about-timeline__item--founder .about-timeline__bullets {
    padding-left: 0;
  }
}
