/* ===================================================================
   ABOUT — page-specific styles (nav/hero/footer in shared.css)
   ================================================================== */

/* ---------- INTRO ---------- */
.about-intro {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 0;
  align-items: center;
  position: relative;
  padding-right: 0;
}
.about-intro-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 5rem) clamp(1.5rem, 5vw, 4rem);
}
.founder-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.founder-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.2;
}
.founder-heading img {
  height: clamp(24px, 2.5vw, 34px);
}
.about-text {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: var(--ink-soft);
}
.about-text h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.about-text p + p {
  margin-top: 0.75rem;
}
.europe-image {
  /* `min-width` puts a floor under the map so it stops shrinking once
     its column becomes too narrow at viewports between ~900px and the
     desktop wide layout. Anything past that floor spills to the right
     of the section — `overflow-x: hidden` on `html`/`body` clips it
     off-screen rather than introducing a horizontal scroll. */
  width: 77%;
  min-width: 560px;
  display: block;
  margin: -250px -50px 0 auto;
}

/* ---------- GUIDING GROWTH ---------- */
.guiding-section {
  background: var(--warm-mid);
  display: grid;
  /* Desktop layout. The centre column carries the copy and takes the most
     weight; the two image columns can shrink down to a 220px floor (their
     min WIDTH) but never disappear. There is intentionally NO fixed height
     here: the row height is driven by the centre column's text, and the
     images — object-fit: cover at height 100% — scale up and clip to match.
     So adding more copy makes the whole band taller and the photos crop in;
     removing copy makes it shorter. (.guiding-section > div min-height:0
     keeps the images from dictating the row height.) */
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.7fr) minmax(220px, 0.8fr);
  align-items: stretch;
}
.guiding-section > div {
  min-height: 0;
}
.guiding-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.guiding-body {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Generous, symmetric padding so the copy never crowds the flanking
     images (inline) or the top/bottom edges (block — this is what was
     "too small" before). The inline value matches the side padding the
     rest of the page's text sections use (.about-intro-body, up to 4rem),
     so the gap to each photo is at least as wide as the page gutters. */
  padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1.75rem, 4vw, 4rem);
}
.guiding-inner {
  max-width: 560px;
  overflow-wrap: break-word;
}
.guiding-inner h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: 0.75rem;
  color: var(--ink);
}
.guiding-inner h3 + p {
  margin-bottom: 1rem;
}
/* Body copy + bullets share the exact type scale used by the intro
   (.about-text) so the section no longer renders a step smaller than the
   rest of the page. Lives outside the media query, so mobile inherits the
   same sizing too. */
.guiding-inner p {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 500;
}
.guiding-inner h3:not(:first-child) {
  margin-top: 1.5rem;
}
.guiding-inner ul {
  padding-left: 1.2rem;
  margin: 0;
}
.guiding-inner li {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
  font-weight: 500;
}

/* ---------- QUOTE BANNER ---------- */
.quote-banner {
  background: var(--cream);
  text-align: center;
  padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 10vw, 12rem);
}
.quote-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  line-height: 1.35;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  /* `minmax(0, 1fr)` instead of plain `1fr` — without it the track's
     implicit min is `auto`, which lets the long Archivo-Black heading
     (e.g. "Fondatrice de Lead From Within") force the column wider
     than the viewport on phones. */
  .about-intro {
    grid-template-columns: minmax(0, 1fr);
  }
  /* The intro section inherits horizontal padding from `.section`
     (clamp 1.5rem-8vw-8rem on the LEFT) but `.about-intro` itself
     overrides `padding-right: 0` so the desktop map sits flush right.
     On mobile that creates a 30+px gap on the left and 0px on the
     right. Wipe both so the body's symmetric padding is the only
     side padding the visitor sees. */
  .section.about-intro {
    padding-left: 0;
    padding-right: 0;
  }
  /* Every text-bearing section on this page now shares the same
     horizontal padding so the body copy lines up the same distance
     from the left and right edges across the whole scroll. */
  .about-intro-body,
  .guiding-body,
  .quote-banner {
    /* Middle term drives the size in this ≤900px range (the cap only
       binds at ~800px+). 16vw reaches the 8rem cap around 800px and
       scales down to a 2rem floor on small phones so the copy never
       gets crushed. */
    padding-left: clamp(2rem, 16vw, 8rem);
    padding-right: clamp(2rem, 16vw, 8rem);
  }
  .about-intro-body {
    min-width: 0;
    overflow-wrap: break-word;
    /* Keep the original vertical clamp (which the shorthand padding
       above would otherwise reset to 0 inside this rule). */
    padding-top: clamp(2rem, 5vw, 5rem);
    padding-bottom: clamp(2rem, 5vw, 5rem);
  }
  .founder-heading h2 {
    overflow-wrap: break-word;
    /* Bigger ranges scaled down so the title fits without breaking
       awkwardly on a single phone-width line. */
    font-size: clamp(1.4rem, 5.5vw, 2rem);
  }
  .about-text h3 {
    overflow-wrap: break-word;
  }
  .europe-image {
    /* Stretch the map to 80vw and hug the viewport's right edge.
       Section now has zero horizontal padding on mobile, so the map
       lands flush against the viewport edge as designed. */
    width: 80vw;
    max-width: none;
    margin: 0 0 0 auto;
    display: block;
  }
  .guiding-section {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }
  .guiding-body {
    /* Match the top/bottom padding to the left/right gutter so the
       guiding section has symmetric padding on all four sides. */
    padding-top: clamp(2rem, 16vw, 8rem);
    padding-bottom: clamp(2rem, 16vw, 8rem);
    /* Left-align the copy on mobile. On desktop the body centres a
       560px-wide block between the two photos; if that stays on mobile
       the text floats in the middle of the column and reads as a much
       bigger side padding than the intro. */
    justify-content: flex-start;
  }
  .guiding-inner {
    /* Fill the column (minus the shared side padding) and left-align,
       exactly like .about-intro-body — so every section's copy starts
       the same distance from the edge. */
    max-width: none;
    width: 100%;
  }
  .quote-banner {
    padding-top: clamp(4rem, 8vw, 7rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
  }
  .guiding-section img {
    height: auto;
    max-height: 250px;
  }
}
