/* ============================================================
   About Section
   ============================================================ */

.about {
  background-color: var(--color-bg);
  width: 100%;
  display: flex;
  align-items: flex-start;
  padding: 5.5rem 0;
}

.about__container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: stretch;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* === Sticker Column === */
.about__stickers {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 21rem;
  margin: 0 auto;
}

.about__sticker {
  position: relative;
  display: flex;
  align-items: center;
}

.about__sticker > img,
.about__sticker-icon {
  width: 100%;
  height: 8rem;
  object-fit: fill;
  display: block;
  -webkit-user-drag: none;
}

.about__sticker-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-base);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--color-off-white);
  white-space: nowrap;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about__sticker-icon {
  width: 2.5rem;
  height: 4rem;
  object-fit: contain;
  flex-shrink: 0;
}

.about__sticker--yellow {
  transform: rotate(-4deg);
  margin-bottom: -2rem;
  z-index: 3;
}

.about__sticker--yellow .about__sticker-text {
  top: 40%;
}

.about__sticker--blue {
  margin-top: -0.3rem;
  z-index: 2;
}

.about__sticker--blue > img {
  height: 6rem;
}

.about__sticker--orange {
  margin-top: -2.5rem;
  transform: rotate(4deg);
}

@media (max-width: 360px) {
  .about__sticker-text {
    font-size: 1.1rem;
    gap: 0.4rem;
  }

  .about__sticker-icon {
    width: 2rem;
    height: 3rem;
  }
}

/* === Text Column === */
.about__text {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.about__label {
  font-family: var(--font-base);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--color-text-dark);
  margin-bottom: var(--space-md);
}

.about__heading {
  font-size: clamp(3.125rem, 10vw, 4rem);
  line-height: 0.5;
  color: var(--color-text);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  margin-top: 1rem;
  white-space: nowrap;
}

@keyframes about-underline-sweep {
  0% {
    clip-path: inset(0 100% 0 0);
  }
  10% {
    clip-path: inset(0 0% 0 0);
  }
  70% {
    clip-path: inset(0 0% 0 0);
  }
  80% {
    clip-path: inset(0 100% 0 0);
  }
  100% {
    clip-path: inset(0 100% 0 0);
  }
}

.about__heading-underline {
  display: block;
  width: clamp(15rem, 47vw, 19rem);
  height: 1.25rem;
  object-fit: fill;
  margin-bottom: var(--space-lg);
  animation: about-underline-sweep 5s ease-out infinite;
  animation-delay: 3000ms;
}

.about__bio {
  font-family: var(--font-base);
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--color-text-dark);
  width: 100%;
  max-width: 35rem;
  margin-bottom: 0;
}

.about__bio--closing {
  margin-top: var(--space-md);
}

.about__cta {
  align-self: flex-end;
  isolation: isolate;
  min-width: 7.7rem;
  padding: 1rem 1.5rem;
  height: 2.5rem;
  gap: 0.6rem;
  border: 1px solid var(--color-text-dark);
  font-family: var(--font-base);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
  white-space: nowrap;
  color: var(--color-text-dark);
  box-shadow: 3px 3.5px 0 0 var(--color-text-dark);
  transform: translate(0, 0);
  transition:
    transform 90ms ease-in,
    color 80ms ease-in,
    box-shadow 80ms ease-in;
  margin-top: 1rem;
}

.about__cta::after {
  z-index: -1;
}

.about__cta:hover {
  border: 1px solid var(--color-text-dark);
  box-shadow: none;
  color: var(--color-off-white);
}

/* Desktop: side by side */
@media (min-width: 768px) {
  .about {
    height: 45rem;
    padding: clamp(3rem, 5vw, 5rem) 0;
    align-items: center;
  }

  .about__container {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(1.5rem, 4vw, 4.7rem);
    padding: 0 var(--space-md);
    margin: 0 auto;
  }

  .about__text {
    order: 0;
    flex: 1;
    min-width: 0;
  }

  .about__sticker > img,
  .about__sticker--blue > img {
    height: auto;
    object-fit: contain;
  }

  .about__stickers {
    order: 0;
    flex-shrink: 0;
    align-self: flex-start;
    width: clamp(16.25rem, 44vw, 35rem);
    max-width: none;
    margin: 5rem 0 0 -14px;
  }

  .about__sticker--yellow,
  .about__sticker--blue,
  .about__sticker--orange {
    width: 100%;
    aspect-ratio: 1680 / 456;
  }

  .about__sticker--yellow,
  .about__sticker--blue {
    margin-bottom: -8.39%;
  }

  .about__sticker--blue,
  .about__sticker--orange {
    margin-top: 0;
  }

  .about__sticker-text {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
  }

  .about__sticker-icon {
    width: clamp(1.75rem, 3vw, 2.5rem);
    height: clamp(1.75rem, 3vw, 2.5rem);
  }

  .about__label {
    font-size: 1.25rem;
  }

  .about__heading-underline {
    width: 18.9375rem;
  }

  .about__heading {
    font-size: var(--font-size-section-heading);
  }

  .about__bio {
    font-size: 1.25rem;
    line-height: 1.6;
    width: 100%;
  }
}

/* Nest Hub (1024×600px) */
@media (min-width: 768px) and (max-height: 650px) {
  .about {
    height: 34.375rem;
    padding: 0;
  }

  .about__container {
    gap: 7vw;
  }

  .about__stickers {
    width: clamp(15rem, 38vw, 25rem);
    margin: 5rem 0 0 -1rem;
  }

  .about__heading {
    font-size: 3.4rem;
  }

  .about__heading-underline {
    width: 16rem;
  }

  .about__bio {
    font-size: 1.125rem;
  }
}

/* Re-enable text selection for meaningful copy (label/heading/bio), overriding
   the global user-select: none from base.css. Sticker text and the CTA link
   stay non-selectable — they're decorative/interactive, not readable content. */
.about__label,
.about__heading,
.about__bio {
  user-select: text;
  -webkit-user-select: text;
}
