/* =========================================================
   ABOUT US PAGE — only enqueued when page-about.php is the template
   being viewed (see inc/about-page.php), so it never adds weight to
   any other page on the site.

   Every image rule below fixes an aspect-ratio and uses
   object-fit:cover, exactly like the rest of the theme's cards and
   galleries (.ie-project-thumb, .ie-gallery, .ie-instagram-item).
   That means an editor can upload a photo of any size or shape and
   it will always be cropped neatly to the card — it can never
   stretch, distort, or push the row/page wider than the viewport.
   ========================================================= */

.ie-about-hero{padding:70px 0 10px;}
.ie-about-hero h1{font-size:42px;margin-top:8px;}
.ie-about-hero-intro{max-width:700px;margin:14px auto 0;color:var(--ie-muted);}
.ie-about-hero-intro.entry-content{text-align:left;color:var(--ie-text);}
@media(max-width:700px){.ie-about-hero h1{font-size:30px;}}

/* Our Story / CSR — reuses .ie-about from style.css (image + text,
   1fr / 1.1fr grid, image locked to a 4:5 crop) so it matches the
   homepage About summary exactly. --reverse just flips column order
   so CSR doesn't look identical to Our Story above it. */
.ie-about--reverse{grid-template-columns:1.1fr 1fr;}
.ie-about--reverse > div:first-child{order:2;}
.ie-about--reverse > div:last-child{order:1;}
@media(max-width:860px){
  .ie-about--reverse > div:first-child{order:1;}
  .ie-about--reverse > div:last-child{order:2;}
}

/* Mission & Vision */
.ie-mv-grid{grid-template-columns:repeat(2,1fr);gap:30px;}
.ie-mv-card{
  background:#fff;border-radius:var(--ie-radius);box-shadow:var(--ie-shadow);
  padding:38px 34px;border-top:4px solid var(--ie-primary);
}
.ie-mv-card:nth-child(2){border-top-color:var(--ie-accent);}
.ie-mv-card h3{font-size:22px;color:var(--ie-primary);}
.ie-mv-card p{color:var(--ie-muted);margin:0;}
@media(max-width:700px){.ie-mv-grid{grid-template-columns:1fr;}}

/* Milestones timeline — a single vertical rail on mobile, alternating
   left/right on desktop. min-width:0 on the text column stops a long
   unbroken word/URL from forcing the rail (and the page) wider than
   the viewport. */
.ie-timeline{position:relative;max-width:900px;margin:0 auto;padding-left:28px;border-left:2px solid var(--ie-bg-soft);}
.ie-timeline-item{position:relative;padding:0 0 40px 30px;min-width:0;}
.ie-timeline-item:last-child{padding-bottom:0;}
.ie-timeline-dot{
  position:absolute;left:-39px;top:2px;width:16px;height:16px;border-radius:50%;
  background:var(--ie-accent);border:3px solid #fff;box-shadow:0 0 0 2px var(--ie-primary);
}
.ie-timeline-year{
  display:inline-block;font-weight:800;color:var(--ie-primary);font-size:14px;
  letter-spacing:.5px;text-transform:uppercase;margin-bottom:6px;
}
.ie-timeline-body{min-width:0;}
.ie-timeline-body h4{font-size:19px;margin-bottom:6px;}
.ie-timeline-body p{color:var(--ie-muted);margin:0;font-size:14.5px;word-wrap:break-word;overflow-wrap:break-word;}
@media(max-width:600px){.ie-timeline{padding-left:20px;}.ie-timeline-item{padding-left:22px;}.ie-timeline-dot{left:-29px;}}

/* Leadership team — photo locked to a square crop; a name-initial
   circle stands in when no photo has been uploaded yet, so the card
   never collapses or shows a broken image. */
.ie-team-card{
  background:#fff;border-radius:var(--ie-radius);box-shadow:var(--ie-shadow);
  padding:30px 24px;text-align:center;transition:.25s;
}
.ie-team-card:hover{transform:translateY(-6px);}
.ie-team-photo{
  width:130px;height:130px;margin:0 auto 18px;border-radius:50%;overflow:hidden;
  background:var(--ie-bg-soft);flex-shrink:0;
}
.ie-team-photo img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1;}
.ie-team-photo-placeholder{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;
  font-size:44px;font-weight:800;color:var(--ie-primary);background:var(--ie-bg-soft);
}
.ie-team-card h3{font-size:18px;margin-bottom:2px;}
.ie-team-role{display:block;color:var(--ie-accent);font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.4px;margin-bottom:12px;}
.ie-team-card p{color:var(--ie-muted);font-size:14px;margin:0;}

/* Closing CTA — a centred variant of the stats bar */
.ie-about-cta h2{color:#fff;font-size:30px;margin-bottom:10px;}
.ie-about-cta p{color:rgba(255,255,255,.85);max-width:600px;margin:0 auto;}
.ie-about-cta{padding:70px 0;}

@media(max-width:760px){
  .ie-mv-card{padding:28px 24px;}
  .ie-about-cta h2{font-size:24px;}
}
