/* ════════════════════════════════════════════════════════════════
 * About Gildhart — page styles
 *
 * Five full-bleed sections on the shared Gildhart design system.
 * Every colour, font, shadow, and radius references a token from
 * globals.css — no new design primitives. Background alternates
 * green → cream → cream → green → green down the page.
 *
 * Loaded only on the About template (functions.php).
 * ════════════════════════════════════════════════════════════════ */

.about-page {
  --about-pad-x: clamp(1.5rem, 5vw, 2rem);
}

/* Hide the nav-spacer on this template so the hero green extends to
 * the fixed nav with no cream strip between them. The hero's own
 * top padding (below) absorbs the nav offset via --nav-h — mirrors
 * the home + single-service pattern. */
.page-template-page-about .nav-spacer { display: none; }

/* ── Shared eyebrow ── */
.about-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gildhart-gold);
  margin: 0 0 1.25rem;
}
.about-eyebrow--centered { text-align: center; }

/* ── Shared body copy ── */
.about-body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin: 0 0 1.5rem;
}
.about-body--strong {
  color: var(--gildhart-green);
  font-weight: 700;
  font-size: 1.0625rem;
}

/* ── Shared crest ── */
.about-crest {
  display: flex;
  justify-content: center;
}
.about-crest img {
  width: 100px;
  height: auto;
  display: block;
}

/* ════════════════════════════════════════
 * SECTION 1 — HERO (forest green)
 * ════════════════════════════════════════ */
.about-hero {
  background: var(--gildhart-green);
  /* Top padding folds in the fixed-nav height (--nav-h, set by nav.js)
   * since the spacer is hidden above. */
  padding: calc(clamp(5rem, 9vw, 7rem) + var(--nav-h, 130px)) var(--about-pad-x) clamp(5rem, 9vw, 7rem);
}
.about-hero-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.about-hero-headline {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--gildhart-cream);
  margin: 0 auto 1.75rem;
  max-width: 800px;
}
.about-hero-intro {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(240, 230, 200, 0.78);
  margin: 0 auto;
  max-width: 620px;
}

/* ════════════════════════════════════════
 * SECTION 2 — THE FOUNDER (cream)
 * ════════════════════════════════════════ */
.about-founder {
  background: var(--cream-warm);
  padding: clamp(5rem, 9vw, 7rem) var(--about-pad-x);
  overflow: hidden;
}
.about-founder-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.about-founder-headline {
  font-family: var(--font-body);
  font-size: clamp(1.875rem, 3.5vw, 2.375rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--gildhart-green);
  margin: 0 0 1.75rem;
}
.about-pullquote {
  border-left: 3px solid var(--gildhart-gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.6;
  color: var(--gildhart-green);
}
.about-results {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}
.about-result {
  position: relative;
  padding-left: 1.5rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--gray-600);
}
.about-result::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gildhart-gold);
  font-weight: 700;
}
.about-signoff {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
}
.about-signoff-name {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gildhart-green);
}
.about-signoff-title {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--gray-500);
}
.about-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--gray-600);
  text-decoration: none;
  transition: color 0.2s ease;
}
.about-linkedin:hover { color: var(--gildhart-green); }
.about-linkedin svg { flex-shrink: 0; }
/* In the media column the link sits centred beneath the crest, kept
 * to a readable width so the two-line label wraps tidily under the
 * portrait + seal signature stack. */
.about-linkedin--media {
  margin-top: 0;
  align-items: flex-start;
  text-align: left;
  max-width: 360px;
}

/* Founder media column — portrait + crest stacked, no hard card
 * treatment. Mirrors the homepage founder section: a soft cream-fade
 * gradient overlay melts the bottom of the photo into the section
 * background so the natural crop reads as deliberate rather than as
 * a sharp-edged headshot card. object-position: bottom keeps Drew's
 * head anchored at the top of the frame so the fade hits his torso,
 * not his face. */
.about-founder-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.about-founder-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
}
.about-founder-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(
    to bottom,
    rgba(254, 247, 237, 0) 0%,
    rgba(254, 247, 237, 0.6) 40%,
    var(--cream-warm) 100%
  );
  pointer-events: none;
  z-index: 1;
}
.about-founder-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom;
}

/* ════════════════════════════════════════
 * SECTION 3 — CLOSING CTA (forest green)
 * ════════════════════════════════════════ */
.about-cta {
  background: var(--gildhart-green);
  padding: clamp(7rem, 13vw, 9rem) var(--about-pad-x);
  border-top: 1px solid rgba(201, 164, 74, 0.15);
}
.about-cta-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-cta-headline {
  font-family: var(--font-body);
  font-size: clamp(1.875rem, 3.6vw, 2.375rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--white);
  margin: 0 auto 1.5rem;
  max-width: 700px;
}
.about-cta-subhead {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: rgba(240, 230, 200, 0.78);
  margin: 0 auto 2.5rem;
  max-width: 580px;
}
.about-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.about-cta-btn {
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1rem;
}
/* Ghost button — transparent with white border/text, for the green
 * sections where the global .btn-outline (white bg / navy text) would
 * disappear. Mirrors the reversed-button treatment used elsewhere on
 * green grounds. */
.about-btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  font-weight: 600;
}
.about-btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* ════════════════════════════════════════
 * RESPONSIVE — stack everything below 900px
 * ════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-founder-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  /* Image stacks above the copy on mobile. */
  .about-founder-media { order: -1; }
}
