/* ===========================================================
   about.css
   About Page — Full-height hero with cinematic entry
   -----------------------------------------------------------
   FONT SYSTEM (unified with site):
   - Montserrat: UI text, labels, eyebrows
   - Playfair Display: Display titles, headings
   - Monospace: Not used (removed JetBrains Mono)
   =========================================================== */

.about-hero-shell {
  margin: 0;
  background: #050505;
  color: #f7f7f2;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

.about-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #050505;
}

.about-hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: scale(1.08);
  transition: transform 6s ease;
  filter: brightness(0.8);
}

.about-hero:hover .about-hero-media img {
  transform: scale(1.02);
}

.about-hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.08) 35%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.82) 100%);
}

.about-hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem) 5% 5rem;
  box-sizing: border-box;
}

.about-hero-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.about-hero-title {
  font-size: clamp(2.35rem, 4.3vw, 4.2rem);
  font-weight: 700;
  line-height: 0.98;
  color: #fff;
  max-width: 100%;
  width: fit-content;
  margin: 0 0 1.5rem;
  overflow: visible;
  overflow-wrap: normal;
  letter-spacing: -0.02em;
}

.about-hero-title .split-line {
  display: block;
  overflow: visible;
  white-space: nowrap;
  width: fit-content;
}

.about-hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(4deg);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.about-hero-title .char.space {
  width: 0.28em;
}

.about-hero-title em {
  font-style: italic;
  color: #e8590c;
}

.about-hero-title em .char {
  color: #e8590c;
}

.about-hero-title.revealed .char {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

.about-hero-meta {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  margin-top: 1.25rem;
  width: 100%;
}

.about-hero-stat {
  display: flex;
  flex-direction: column;
}

.about-hero-stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.about-hero-stat span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-top: 0.2rem;
}

.about-hero-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.2);
}

.about-hero-scroll {
  position: absolute;
  right: 5%;
  bottom: 4rem;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,.5);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(232,89,12,.3);
  position: relative;
  overflow: hidden;
}

.about-hero-scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #e8590c;
  animation: scrollLineDown 2s cubic-bezier(.16,1,.3,1) infinite;
}

@keyframes scrollLineDown {
  0% { transform: translateY(-100%); }
  70%, 100% { transform: translateY(100%); }
}

@media (max-width: 768px) {
  .about-hero { height: 80vh; min-height: 540px; }
  .about-hero-content { padding: 1.25rem 5% 3rem; }
  .about-hero-title { font-size: clamp(2rem, 7vw, 3.2rem); }
  .about-hero-scroll { display: none; }
  .about-hero-meta { gap: 1.2rem; margin-top: 1rem; }
  .about-hero-stat strong { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .about-hero { height: 78vh; min-height: 520px; }
  .about-hero-content { padding: 1rem 1.1rem 2.2rem; }
  .about-hero-title { max-width: 100%; }
  .about-hero-meta { gap: 0.9rem 1rem; }
  .about-hero-divider { display: none; }
  .about-hero-stat { min-width: calc(50% - 0.5rem); }
}

/* ─── Respect reduced motion preference ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .about-hero-title .char {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-hero-title.revealed .char {
    opacity: 1;
    transform: none;
  }

  .about-hero-scroll-line::after {
    animation: none;
  }

  .about-hero-media img {
    transition: none;
    transform: none;
  }

  .about-hero-tag,
  .about-hero-meta {
    opacity: 1;
    transform: none;
  }
}
