.about-figma {
  --about-ink: #4b3939;
  --about-yellow: #fff2b6;
  --about-paper: #f3f1ed;
  background: #fff;
  color: var(--about-ink);
}

.about-figma :is(h1, h2, p, figure) {
  margin: 0;
}

.about-figma img {
  outline: 0;
}

.about-hero {
  display: grid;
  min-height: 22rem;
  place-items: center;
  padding: clamp(4.5rem, 13vw, 7.25rem) var(--tbt-gutter);
  background: var(--about-paper);
}

.about-hero h1 {
  max-width: 20ch;
  color: var(--about-ink);
  font-size: clamp(2.05rem, 6vw, 4rem);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.055em;
  text-align: center;
}

.about-hero__line {
  display: block;
}

.about-hero em,
.about-services__inner h2 em,
.about-mark--tilted,
.about-mark--reverse {
  font-family: "TBT Editorial", "TBT Migra", Georgia, serif;
  font-weight: 300;
}

.about-mark {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.about-mark--circle::after {
  position: absolute;
  inset: 50% -0.12em auto;
  z-index: -1;
  height: 1.08em;
  border: 0.035em solid currentColor;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%) rotate(-2deg);
  pointer-events: none;
}

.about-mark--tilted::after {
  inset-inline: -0.2em;
  transform: translateY(-50%) rotate(4deg);
}

.about-mark--reverse::after {
  inset-inline: -0.18em;
  transform: translateY(-50%) rotate(-5deg);
}

.about-mark--underline::after {
  position: absolute;
  right: -0.04em;
  bottom: -0.02em;
  left: -0.04em;
  z-index: -1;
  border-bottom: 0.04em solid currentColor;
  content: "";
  transform: rotate(-1deg);
}

.about-story {
  display: grid;
  background: #fff;
}

.about-story__portrait {
  min-height: 34rem;
  overflow: hidden;
  background: #241d18;
}

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

.about-story__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(3.25rem, 8vw, 5rem) var(--tbt-gutter);
}

.about-story__eyebrow {
  margin-bottom: 1.05rem !important;
  color: var(--about-ink);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1;
  transform: rotate(-1.5deg);
}

.about-story__copy h2 {
  max-width: none;
  font-size: clamp(2.35rem, 5.6vw, 4rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.about-story__copy h2 span {
  display: block;
}

.about-story__body {
  display: grid;
  max-width: 37rem;
  gap: 1.45rem;
  margin-top: clamp(2rem, 4vw, 2.8rem);
}

.about-story__body p {
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.38;
}

.about-button,
.about-service__button {
  min-width: 14.7rem;
  min-height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--about-ink);
  box-shadow: 0 1.1rem 1.6rem rgba(61, 43, 40, 0.2);
  color: #e9def2 !important;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.about-button {
  margin-top: 2rem;
}

.about-button:hover,
.about-button:focus-visible,
.about-service:hover .about-service__button,
.about-service:focus-visible .about-service__button {
  transform: translateY(-0.15rem);
  box-shadow: 0 1.3rem 1.85rem rgba(61, 43, 40, 0.27);
}

.about-services {
  overflow: hidden;
  border-top: 1px solid var(--about-ink);
  background: var(--about-yellow);
}

.about-services__inner {
  position: relative;
  min-height: 54rem;
  padding: clamp(4rem, 8vw, 5.2rem) var(--tbt-gutter) 6rem;
}

.about-services__inner h2 {
  position: relative;
  z-index: 2;
  max-width: 21ch;
  margin-inline: auto;
  font-size: clamp(2rem, 5.5vw, 3.15rem);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-align: center;
  text-transform: uppercase;
}

.about-services__inner h2 > span {
  display: block;
}

.about-services__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3.5rem;
  margin-top: 5rem;
}

.about-service {
  display: grid;
  grid-template-columns: minmax(5.2rem, 0.42fr) minmax(0, 1fr);
  grid-template-areas:
    "number title"
    "button note";
  column-gap: 1rem;
  align-items: start;
  color: inherit;
  text-decoration: none;
}

.about-service__number {
  grid-area: number;
  font-size: clamp(4.6rem, 11vw, 7rem);
  font-weight: 200;
  line-height: 0.82;
  letter-spacing: -0.07em;
}

.about-service strong {
  grid-area: title;
  max-width: 10ch;
  font-size: clamp(2rem, 5.6vw, 3rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.about-service__note {
  grid-area: note;
  justify-self: center;
  max-width: 14ch;
  margin-top: 0.25rem;
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
  line-height: 1.16;
  text-align: center;
  transform: rotate(-2deg);
}

.about-service__button {
  grid-area: button;
  min-width: 0;
  width: 8rem;
  margin-top: 1.9rem;
}

.about-services__art {
  position: relative;
  z-index: 1;
  width: min(42rem, 110%);
  height: auto;
  max-width: none;
  margin: 3rem auto -11rem;
}

[data-about-reveal] {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 650ms ease, transform 750ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

[data-about-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 48rem) {
  .about-story {
    grid-template-columns: minmax(0, 45.4%) minmax(0, 54.6%);
  }

  .about-story__portrait {
    min-height: 0;
    aspect-ratio: 654 / 855;
  }

  .about-story__copy {
    min-width: 0;
    justify-content: center;
    padding: 4.8rem clamp(3rem, 6vw, 5rem);
  }

  .about-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5.5rem 7rem;
  }

  .about-service {
    max-width: 31rem;
  }

  .about-services__art {
    width: 39rem;
  }
}

@media (min-width: 64rem) {
  .about-hero {
    min-height: 22.1rem;
    padding-block: 3.8rem;
  }

  .about-hero h1 {
    max-width: 68rem;
    font-size: clamp(3.5rem, 4.5vw, 4.05rem);
  }

  .about-hero__line {
    white-space: nowrap;
  }

  .about-story__copy {
    justify-content: flex-start;
    padding: 5.55rem 5rem 3.7rem;
  }

  .about-story__eyebrow {
    margin-bottom: 1.35rem !important;
  }

  .about-story__copy h2 {
    font-size: 3.85rem;
  }

  .about-story__copy h2 span:last-child {
    white-space: nowrap;
  }

  .about-story__body {
    gap: 1.55rem;
    margin-top: 2.1rem;
  }

  .about-story__body p {
    font-size: 1.08rem;
    line-height: 1.35;
  }

  .about-button {
    margin-top: 1.85rem;
  }

  .about-services__inner {
    min-height: 51.65rem;
    padding: 4.25rem 8.5rem 4rem;
  }

  .about-services__inner h2 {
    max-width: 30ch;
    font-size: 3rem;
  }

  .about-services__inner h2 > span {
    white-space: nowrap;
  }

  .about-services__grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6rem 8rem;
    margin-top: 4.8rem;
  }

  .about-service {
    max-width: 30.8rem;
    grid-template-columns: 7rem minmax(0, 1fr);
    column-gap: 1rem;
  }

  .about-service__number {
    font-size: 7rem;
  }

  .about-service strong {
    font-size: 3rem;
  }

  .about-service__note {
    font-size: 1.32rem;
  }

  .about-service__button {
    width: 11.6rem;
  }

  .about-services__art {
    position: absolute;
    right: 4.8rem;
    bottom: -14rem;
    width: 43rem;
    margin: 0;
  }
}

@media (min-width: 80rem) {
  .about-story__copy {
    padding-right: 9rem;
    padding-left: 4.8rem;
  }

  .about-services__inner {
    padding-inline: 12.8rem;
  }

  .about-services__grid {
    gap: 6rem 8rem;
  }

  .about-services__art {
    right: 5.8rem;
    width: 43rem;
  }
}

/* Tablet (768-1023px): two service columns were too narrow for
   "1:1 MENTORSHIPS", which ran off the screen edge. Keep one column. */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .about-services__grid {
    grid-template-columns: minmax(0, 31rem);
    justify-content: center;
    gap: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-about-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
