/* ==========================================================
   SCI MEDIA — ABOUT SECTION (FINAL v6)
   Perbaikan: hapus blob, spacing rapat, layout seimbang.
   ========================================================== */

.about {
  position: relative;
  background-color: var(--color-white);
  padding-block: var(--space-8);
  overflow: hidden;
}

/* ==========================================================
   ABOUT — DEKORASI BACKGROUND (DOTS + ACCENT)
   Pengganti blob — lebih halus, tidak tumpah ke section bawah.
   ========================================================== */

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

/* ----- Dots kiri atas (biru) ----- */
.about__deco--tl {
  top: 12%;
  left: 4%;
  width: 130px;
  height: 130px;
  background-image: radial-gradient(
    circle,
    rgba(46, 107, 224, 0.4) 1.5px,
    transparent 1.5px
  );
  background-size: 16px 16px;
  background-repeat: repeat;
}

/* ----- Dots kanan bawah (ungu, lebih subtle) ----- */
.about__deco--br {
  bottom: 12%;
  right: 4%;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.35) 1.5px,
    transparent 1.5px
  );
  background-size: 16px 16px;
  background-repeat: repeat;
}

/* ----- Aksen kecil — kotak outline tipis ----- */
.about__deco--accent {
  top: 20%;
  right: 8%;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(242, 121, 12, 0.35);  /* Orange tipis */
  border-radius: 8px;
  transform: rotate(15deg);
}

/* Sembunyikan aksen di mobile (biar tidak mengganggu) */
@media (max-width: 767px) {
  .about__deco--accent {
    display: none;
  }

  .about__deco--tl,
  .about__deco--br {
    width: 80px;
    height: 80px;
    background-size: 12px 12px;
  }
}

/* ---------- Container & Grid ---------- */
.about__container {
  position: relative;
  z-index: 1;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: center;
  max-width: 1100px;
  margin-inline: auto;
}

/* ---------- Visual Kiri ---------- */
.about__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

/* Tagline Script */
.about__tagline {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-script);
  font-size: 1.375rem;
  font-weight: var(--fw-bold);
  color: var(--color-blue-500);
  text-align: center;
  margin: 0;
  padding: 0;
}

.about__tagline p {
  margin: 0;
  line-height: 1.2;
}

.about__tagline-star {
  width: 18px;
  height: 18px;
  color: var(--color-blue-500);
  flex-shrink: 0;
  animation: about-twinkle 3s ease-in-out infinite;
}

@keyframes about-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

@media (prefers-reduced-motion: reduce) {
  .about__tagline-star {
    animation: none;
  }
}

/* Frame Gambar */
.about__frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.about__frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 40px rgba(10, 23, 48, 0.12));
}

/* Placeholder */
.about__frame-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--space-3);
  padding: var(--space-6);
  color: var(--color-ink-400);
  background: linear-gradient(155deg, var(--color-surface), var(--color-blue-100));
  border: 2px dashed rgba(46, 107, 224, 0.3);
  border-radius: var(--radius-lg);
  z-index: 2;
}

.about__frame.is-missing img {
  display: none;
}

.about__frame.is-missing .about__frame-placeholder {
  display: flex;
}

.about__frame-placeholder small {
  font-size: var(--fs-caption);
  word-break: break-all;
}

/* ---------- Konten Kanan (Teks) ---------- */
.about__content {
  max-width: 100%;
}

.about__eyebrow {
  display: inline-block;
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue-500);
  margin-bottom: var(--space-2);
}

.about__title {
  font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-navy-900);
  margin-bottom: var(--space-4);
}

.about__story {
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
  color: var(--color-ink-600);
  margin-bottom: var(--space-5);
  max-width: 50ch;
}

.about__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--color-blue-500);
  text-decoration: none;
  transition: gap var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard);
}

.about__link:hover {
  gap: var(--space-3);
  color: var(--color-blue-700);
}

.about__link svg {
  width: 18px;
  height: 18px;
}

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 768px) {
  .about {
    padding-block: var(--space-10);
  }
}

@media (min-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
  }

  /* Visual kiri — tagline & gambar di tengah */
  .about__visual {
    align-items: center;
    justify-content: center;
  }

  .about__tagline {
    text-align: center;
  }

  .about__frame {
    max-width: 460px;
  }
}

@media (min-width: 1280px) {
  .about__frame {
    max-width: 500px;
  }
}

/* ==========================================================
   ABOUT — SCROLL ANIMATION
   Tagline fade, gambar scale-in, konten slide dari kanan.
   ========================================================== */

/* ----- Tagline script — fade + slide dari atas ----- */
.about__tagline {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 600ms var(--ease-standard),
              transform 600ms var(--ease-standard);
}

.about__tagline.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- Gambar — scale in + rotate tipis ----- */
.about__frame {
  opacity: 0;
  transform: scale(0.85) rotate(-3deg);
  transition: opacity 900ms var(--ease-standard),
              transform 900ms cubic-bezier(0.34, 1.56, 0.64, 1);  /* Bouncy */
}

.about__frame.is-visible {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ----- Konten kanan — staggered slide dari kanan ----- */
.about__eyebrow,
.about__title,
.about__story,
.about__link {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 700ms var(--ease-standard),
              transform 700ms var(--ease-standard);
}

/* Delay bertingkat untuk konten kanan */
.about__eyebrow { transition-delay: 0ms; }
.about__title   { transition-delay: 150ms; }
.about__story   { transition-delay: 300ms; }
.about__link    { transition-delay: 450ms; }

.about__eyebrow.is-visible,
.about__title.is-visible,
.about__story.is-visible,
.about__link.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ----- Hover pada link — efek arrow geser ----- */
.about__link.is-visible:hover svg {
  transform: translateX(4px);
}

.about__link svg {
  transition: transform var(--dur-base) var(--ease-standard);
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  .about__tagline,
  .about__frame,
  .about__eyebrow,
  .about__title,
  .about__story,
  .about__link {
    opacity: 1;
    transform: none;
    transition: none;
  }
}