/**
 * About page (/about/) — light shell + emboss kill
 * Sibling: events-list-premium.css / blog.css title contrast
 */

.about-app {
  --about-ink: #0f172a;
  --about-muted: #475569;
  --about-rose: #e11d48;
  --about-rose-deep: #be123c;
  color-scheme: light;
}

/* Kill global custom.css red 3D emboss on dark ink (red/black mingle) */
.about-app h1,
.about-app h2,
.about-app h3,
.about-app h4,
.about-app .about-hero__brand,
.about-app .about-hero__brand-en,
.about-app .about-hero__headline,
.about-app .font-chinese.text-slate-800,
.about-app .text-2xl,
.about-app .text-3xl,
.about-app .text-xl {
  text-shadow: none !important;
  filter: none !important;
  -webkit-text-stroke: 0 !important;
}

.about-app h1,
.about-app h2,
.about-app h3,
.about-app .about-hero__brand {
  color: var(--about-ink) !important;
  -webkit-text-fill-color: var(--about-ink) !important;
}

.about-app a.about-cta--primary,
.about-app a.about-cta--primary span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
  filter: none !important;
}

.about-app a.about-cta--secondary,
.about-app a.about-cta--secondary span {
  color: var(--about-ink) !important;
  -webkit-text-fill-color: var(--about-ink) !important;
  text-decoration: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
  filter: none !important;
}

.about-app .about-hero__brand {
  font-family: "LXGW WenKai", "STKaiti", "KaiTi", "Kaiti SC", "SimKai", "Songti SC", "Noto Serif SC", serif;
  font-weight: 700;
  font-size: clamp(2.75rem, 14vw, 3.75rem);
  line-height: 1;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  margin: 0 0 0.2rem;
}

@media (min-width: 768px) {
  .about-app .about-hero__brand {
    font-size: clamp(4rem, 8vw, 5.5rem);
    letter-spacing: 0.16em;
    text-indent: 0.16em;
  }
}

.about-app .about-hero__brand-en {
  font-family: "Dancing Script", Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--about-muted) !important;
  -webkit-text-fill-color: var(--about-muted) !important;
  margin: 0 0 0.55rem;
}

@media (min-width: 768px) {
  .about-app .about-hero__brand-en {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
  }
}

.about-app .about-hero__rule {
  width: 2.75rem;
  height: 3px;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, var(--about-rose), transparent);
}

@media (min-width: 768px) {
  .about-app .about-hero__rule {
    width: 3.5rem;
    margin-bottom: 1.25rem;
  }
}

.about-app .about-mission-track {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.about-app .about-mission-track::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .about-app .about-hero__brand,
  .about-app .about-hero__brand-en,
  .about-app .about-hero__rule,
  .about-app .about-hero__headline,
  .about-app .about-hero__tagline,
  .about-app .about-hero__ctas {
    animation: about-rise 0.55s ease both;
  }

  .about-app .about-hero__brand-en {
    animation-delay: 0.05s;
  }

  .about-app .about-hero__rule {
    animation-delay: 0.08s;
  }

  .about-app .about-hero__headline {
    animation-delay: 0.12s;
  }

  .about-app .about-hero__tagline {
    animation-delay: 0.16s;
  }

  .about-app .about-hero__ctas {
    animation-delay: 0.22s;
  }
}

@keyframes about-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-app .about-area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-app .about-area-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 44px;
  padding: 0.55rem 0.95rem;
  border-radius: 9999px;
  background: #fff;
  border: 1.5px solid rgba(244, 63, 94, 0.14);
  box-shadow: 0 2px 8px rgba(190, 18, 60, 0.05);
}

.about-app .about-area-pill strong {
  font-size: 0.875rem;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.15;
}

.about-app .about-area-pill span {
  font-size: 0.6875rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.about-app .about-value-track {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.15rem;
}

.about-app .about-value-track::-webkit-scrollbar {
  display: none;
}

.about-app .about-value-card {
  flex: 0 0 42%;
  scroll-snap-align: start;
  border-radius: 1.1rem;
  background: #fff;
  border: 1px solid rgba(244, 63, 94, 0.12);
  padding: 0.9rem 0.75rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(190, 18, 60, 0.04);
}

@media (min-width: 640px) {
  .about-app .about-value-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    gap: 1rem;
  }

  .about-app .about-value-card {
    flex: none;
    padding: 1.25rem 1rem;
  }
}

/* OS dark mode — keep forced-light readable titles */
@media (prefers-color-scheme: dark) {
  .about-app {
    color-scheme: light;
  }

  .about-app h1,
  .about-app h2,
  .about-app h3,
  .about-app .about-hero__brand {
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    text-shadow: none !important;
    filter: none !important;
  }

  .about-app .about-hero__brand-en {
    color: #475569 !important;
    -webkit-text-fill-color: #475569 !important;
    text-shadow: none !important;
    filter: none !important;
  }

  .about-app a.about-cta--primary,
  .about-app a.about-cta--primary span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
}
