/* ============================================================
   About page — Phase 6-A-1: Hero
   Image-led hero with simple fade-in on first paint, navy gradient
   overlay, headline + sub + eyebrow stacked bottom-left, and a
   static orange parallelogram brand corner (--tr) per A10.
   No cold-open curtain on this page (home-only).
   ============================================================ */

/* Neutralize global main padding — the About hero is full-bleed
   and the fixed transparent header overlays it. Same pattern as
   home.css. Scoped to this stylesheet, which only loads on About. */
main { padding-block-start: 0; }

/* ============================================================
   HERO
   ============================================================ */

.about-hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-navy-deep);
  opacity: 0;
  animation: about-hero-fade-in 700ms ease-out 100ms forwards;
}

@keyframes about-hero-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.about-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(18, 63, 109, 0.40) 0%,
    rgba(18, 63, 109, 0.60) 60%,
    rgba(18, 63, 109, 0.75) 100%
  );
  pointer-events: none;
}

.about-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-block: var(--section-py);
  padding-inline: clamp(24px, 5vw, 96px);
  max-width: 1400px;
}

.about-hero__eyebrow {
  font-family: var(--ff-sans);
  font-weight: 500;
  font-size: clamp(11px, 0.9vw, 13px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(241, 242, 242, 0.80);
  margin-block-end: 32px;
}
.about-hero__eyebrow::before { background: currentColor; }

.about-hero__title {
  font-family: var(--ff-display);
  font-variation-settings: var(--fvar-display);
  font-size: clamp(40px, 5.5vw, 96px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--c-bone);
  margin-block: 0;
}

.about-hero__sub {
  font-family: var(--ff-sans);
  font-weight: 400;
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.5;
  color: rgba(241, 242, 242, 0.85);
  max-width: 60ch;
  margin-block-start: var(--sp-4);
}

/* Brand corner — same orange parallelogram shape as the home hero
   (polygon(40% 0, 100% 0, 100% 100%, 70% 100%)). Static, no
   animation. A10 counts this as one of the three corner placements
   on the About page. */
.brand-corner--about-hero {
  --bc-w: clamp(180px, 18vw, 320px);
  --bc-h: clamp(64px, 9vw, 200px);
  z-index: 3;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 70% 100%);
}

/* ============================================================
   PRE-ANIMATION INITIAL STATES — masked title
   Only when JS is enabled, so non-JS users see fully composed text.
   Reduced motion bypass below.
   ============================================================ */

.js .about-hero__title[data-mask] .mask__inner { transform: translateY(100%); }
.js .about-hero__eyebrow,
.js .about-hero__sub { opacity: 0; }

/* ============================================================
   REDUCED-MOTION FALLBACK
   No fade-in animation on the hero shell, no transform on text.
   All content visible immediately.
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .about-hero {
    animation: none;
    opacity: 1;
  }
  .js .about-hero__title[data-mask] .mask__inner { transform: none; }
  .js .about-hero__eyebrow,
  .js .about-hero__sub { opacity: 1; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .about-hero__inner {
    padding-block: clamp(80px, 14vh, 120px);
    padding-inline: var(--sp-4);
  }
  .brand-corner--about-hero {
    --bc-w: clamp(120px, 32vw, 200px);
    --bc-h: clamp(40px, 8vw, 70px);
  }
}
