/* Royalstar's Brazilian origin, composed as an editorial poster. */
.about {
  --about-ground: #042e25;
  --about-paper: #f6f8ee;
  --about-muted: #c1d7cd;
  --about-accent: #f3dc4b;
  position: relative;
  isolation: isolate;
  padding: 0;
  overflow: hidden;
  color: var(--about-paper);
  background: var(--about-ground);
}

.about-poster {
  position: relative;
  min-height: 630px;
  padding-top: clamp(50px, 6vw, 88px);
  padding-bottom: clamp(48px, 5vw, 76px);
}

.about-art {
  position: absolute;
  z-index: -1;
  inset: 0 auto auto calc(50% + clamp(100px, 12vw, 180px));
  width: 100vw;
  max-width: none;
  height: 100%;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center;
  mask-image: linear-gradient(to right, transparent, #000 12%);
}

.about-origin {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  margin-bottom: clamp(50px, 7vw, 100px);
  color: var(--about-muted);
  font-size: 14px;
  font-weight: 500;
}

.about h2.about-title {
  max-width: 760px;
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(58px, 6.3vw, 92px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: initial;
}

.about-title > span {
  display: block;
}

.about-title > .about-title-intro {
  margin-bottom: 13px;
  font-size: 0.43em;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.about-title > .about-title-accent {
  color: var(--about-accent);
}

.about-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr);
  align-items: start;
  gap: clamp(40px, 8vw, 120px);
  padding-top: 42px;
  padding-bottom: 44px;
}

.about-story {
  max-width: 690px;
  margin-top: 0;
  color: var(--about-muted);
  font-size: 17px;
  line-height: 1.75;
}

.about-story p + p {
  margin-top: 17px;
}

.about-story .about-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-height: 54px;
  margin-top: 30px;
  padding: 14px 21px;
  color: var(--about-ground);
  background: var(--about-accent);
  font-size: 14px;
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.about-action:hover {
  background: #fff1a0;
  transform: translateY(-2px);
}

.about-action:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}

.about-signoff {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: end;
  gap: 22px;
  width: 100%;
  padding: 22px 0;
  color: var(--about-muted);
}

.about-neon-mark {
  position: relative;
  isolation: isolate;
  display: block;
  width: min(100%, 290px);
}

.about-neon-mark::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #f5e642;
  -webkit-mask: url("assets/logo.png") center / contain no-repeat;
  mask: url("assets/logo.png") center / contain no-repeat;
  transform: scale(1.025);
  opacity: 0.65;
  pointer-events: none;
}

.about-neon-mark img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(1px 0 0 #f5e642)
    drop-shadow(-1px 0 0 #f5e642)
    drop-shadow(0 1px 0 #f5e642)
    drop-shadow(0 -1px 0 #f5e642)
    drop-shadow(0 0 8px rgb(245 230 66 / 45%));
}

.about-signoff > span {
  max-width: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.about-values {
  position: relative;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px 45px;
  padding-top: 34px;
  padding-bottom: 38px;
  background: var(--about-ground);
}

.about-values > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.about-values dt {
  color: var(--about-muted);
  font-size: 13px;
}

.about-values dd {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

@media (max-width: 1100px) {
  .about h2.about-title {
    font-size: clamp(60px, 7.5vw, 80px);
  }

  .about-art {
    left: calc(50% + 80px);
    object-position: 38% center;
    opacity: 0.8;
  }

  .about-story {
    max-width: 690px;
  }

  .about-signoff {
    margin-top: 0;
    padding: 22px 0;
  }
}

@media (max-width: 740px) {
  .about-poster {
    min-height: 0;
    padding-top: 30px;
    padding-bottom: 38px;
  }

  .about-origin {
    margin-bottom: 285px;
    font-size: 12px;
  }

  .about-art {
    left: 50%;
    height: 330px;
    object-position: 71% center;
    opacity: 1;
    mask-image: none;
  }

  .about h2.about-title {
    font-size: clamp(35px, 8.5vw, 62px);
    letter-spacing: -0.04em;
  }

  .about-title > .about-title-intro {
    font-size: 0.65em;
  }

  .about-story {
    margin-top: 0;
    font-size: 16px;
  }

  .about-detail {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 0;
  }

  .about-signoff {
    justify-self: start;
    flex-direction: column;
    max-width: 100%;
    width: fit-content;
    padding: 14px 0;
  }

  .about-neon-mark {
    width: 250px;
    max-width: 100%;
  }

  .about-signoff > span {
    max-width: none;
  }

  .about-values {
    gap: 27px;
    padding-top: 10px;
    padding-bottom: 34px;
  }

  .about-values > div {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-story .about-action {
    transition: none;
  }
}
