/* ============================================================
   About page — extends css/styles.css tokens/utilities.
   ============================================================ */

/* ---------- Hero — pinned photo, scroll-driven zoom, covered by the
   founder-story section sliding up over it. Sticky-stack mechanic, same
   idea as TheBuild's phase decks: the wrapper is taller than the viewport,
   the hero pins for the difference, then the next section (normal flow,
   opaque background) naturally covers it. ---------- */
.about-hero-wrap { position: relative; height: 165vh; height: 165svh; }
.about-hero {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--space-6) + 64px) 0 var(--space-6);
}
/* Full-bleed Houston skyline, same cover-crop recipe as the Contact page's
   video hero — this is a scenic backdrop, not a subject photo that needs
   protecting from cropping, so a plain cover-crop reads best at every
   viewport. */
.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #cacbd0;
  background-image: url("../assets/img/about-hero-houston.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 55%;
  transform: scale(var(--ahs, 1));
  transform-origin: center;
  will-change: transform;
}
.about-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,
    rgba(20,18,15,0.88) 0%,
    rgba(20,18,15,0.7) 40%,
    rgba(20,18,15,0.3) 65%,
    rgba(20,18,15,0) 85%);
}
.about-hero__inner { position: relative; max-width: 680px; }

@media (max-width: 900px) {
  .about-hero__scrim {
    background: linear-gradient(180deg,
      rgba(20,18,15,0.15) 0%,
      rgba(20,18,15,0.55) 55%,
      rgba(20,18,15,0.88) 100%);
  }
  .about-hero { align-items: flex-end; }
}
.about-hero__eyebrow { color: var(--rust); }
.about-hero__h1 {
  color: var(--porcelain);
  max-width: 620px;
  font-size: clamp(2rem, 3vw + 0.8rem, 3rem);
  font-weight: 600;
}
.about-hero__sub {
  margin-top: var(--space-3);
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(250, 249, 246, 0.85);
}

@media (prefers-reduced-motion: reduce) {
  .about-hero-wrap { height: auto; }
  .about-hero {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }
}

/* ---------- Founder story + pull-quote ---------- */
.about-story { background: var(--porcelain); }
.about-story__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-6);
  align-items: start;
}
.about-story__photo {
  position: sticky;
  top: 100px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #cacbd0;
}
.about-story__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 805 / 1200;
  object-fit: cover;
}
.about-story__copy p { color: var(--text-muted); margin-bottom: var(--space-3); }

.about-story__quote {
  background: var(--sand);
  border-radius: var(--radius);
  padding: var(--space-5);
  margin: var(--space-5) 0 0;
}
.about-story__quote p:first-child {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--charcoal);
  margin: 0;
}
.about-story__quote footer {
  margin-top: var(--space-2);
  font-size: 0.85rem;
  font-style: normal;
  color: var(--rust);
}
.about-story__quote-note {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ---------- How it works recap ---------- */
.about-recap {
  background: var(--sand);
}
.about-recap__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.about-recap__step {
  background: var(--porcelain);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
}
.about-recap__step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--rust);
  color: var(--porcelain);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: var(--space-2);
}
.about-recap__step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}
.about-recap__step p { color: var(--text-muted); margin: 0; font-size: 0.92rem; }
.about-recap__link { display: inline-block; margin-top: var(--space-4); }

@media (max-width: 800px) {
  .about-story__grid { grid-template-columns: 1fr; }
  .about-story__photo { position: static; max-width: 360px; margin: 0 auto; }
  .about-recap__grid { grid-template-columns: 1fr; }
}
