/* ==========================================================================
   About Us page — builds on home.css (hero motion, impact band, donate panel)
   ========================================================================== */

/* --- Page hero: full-bleed photo, text straight on it -------------------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: min(68svh, 640px); padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); color: var(--white); }
.page-hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--navy-900); }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 26, 43, 0.28) 0%, rgba(11, 26, 43, 0.2) 45%, rgba(11, 26, 43, 0.2) 100%), linear-gradient(0deg, rgba(11, 26, 43, 0.85) 0%, transparent 65%); }
/* Transparent header over a photo: darken the top so the white menu stays readable. */
.site-header:not(.is-solid) ~ main .page-hero__bg::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: calc(var(--header-h, 7.5rem) * 2); background: linear-gradient(180deg, rgba(11, 26, 43, 0.6) 0%, rgba(11, 26, 43, 0.32) 45%, rgba(11, 26, 43, 0) 100%); pointer-events: none; }
.page-hero__grid { width: 100%; }
.page-hero__copy { max-width: 66rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-on-dark-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.5; }
.breadcrumbs a { color: var(--white); text-decoration: none; }
.breadcrumbs a:hover { color: var(--steel); }
.page-hero__title { margin-top: 1.5rem; font-family: var(--font-serif); font-weight: 400; font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.02em; color: var(--white); }
.page-hero__lead { margin-top: 1.5rem; max-width: 48rem; font-family: var(--font-serif); font-size: clamp(1.1875rem, 1rem + 0.45vw, 1.4375rem); line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
/* page hero backgrounds appear at once, no wipe or zoom */

/* --- Mission & values ---------------------------------------------------- */
.mission__wrap { display: block; }
.mission__intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 1rem clamp(2rem, 1rem + 4vw, 6rem); }
.mission__intro .folio { grid-column: 1 / -1; }
.mission__statement { margin-top: 0.5rem; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.625rem); line-height: 1.12; letter-spacing: -0.015em; color: var(--navy); }
.mission__lead { font-family: var(--font-serif); font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem); line-height: 1.45; color: var(--color-text-muted); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(0.75rem, 0.5rem + 0.8vw, 1.25rem); margin-top: var(--head-gap); }
.value {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; min-height: clamp(240px, 200px + 4vw, 280px);
  padding: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); border-radius: var(--radius-img);
  background: var(--ivory-200); color: var(--navy);
  transition: color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
/* navy fill rises on hover */
.value::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy); transform: translateY(101%); transition: transform 0.6s var(--ease-out); }
.value:hover { transform: translateY(-4px); color: var(--white); }
.value:hover::before { transform: none; }
.value:first-child { background: var(--navy); color: var(--white); }
.value__top { display: flex; justify-content: space-between; align-items: center; }
.value__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--white); color: var(--navy); transition: background-color 0.5s, color 0.5s; }
.value__icon svg { width: 26px; height: 26px; }
.value:first-child .value__icon, .value:hover .value__icon { background: rgba(255,255,255,0.1); color: var(--white); }
.value__num { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; color: var(--blue); transition: color 0.5s; }
.value:first-child .value__num, .value:hover .value__num { color: var(--steel); }
.value__title { margin-top: auto; padding-top: 1.5rem; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2.125rem); line-height: 1.05; color: inherit; }
.value__text { margin-top: 0.75rem; min-height: 4.65em; line-height: 1.55; color: var(--color-text-muted); transition: color 0.5s; }
.value:first-child .value__text, .value:hover .value__text { color: var(--color-on-dark-muted); }
@media (prefers-reduced-motion: reduce) { .value, .value::before { transition: none; } .value:hover { transform: none; } }

/* --- History timeline ---------------------------------------------------- */
.history { padding-top: 0; }
.history__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-top: 1.25rem; }
.history__head p { font-family: var(--font-serif); font-size: clamp(1.1875rem, 1rem + 0.45vw, 1.4375rem); color: var(--color-text-muted); }
/* Pinned story: the block stays in place while scrolling swaps photo + text */
.story { position: relative; height: calc(var(--steps) * 80svh); }
.story__folio, .story__head { grid-column: 1 / -1; }
.story__head { margin: 1rem 0 clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.story__pin {
  --pin-h: min(780px, calc(100svh - var(--header-h) - 3rem));
  position: sticky; top: calc((100svh + var(--header-h) - var(--pin-h)) / 2); /* heading + content stay pinned together, centred below the header */
  height: var(--pin-h);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto auto minmax(0, 1fr);
  column-gap: clamp(2rem, 1rem + 4vw, 5.5rem);
}
.story__media { position: relative; display: block; min-height: 0; }
.story__frame { position: relative; isolation: isolate; height: calc(100% - var(--plate-offset)); margin: 0 var(--plate-offset) 0 0; }
.story__frame::before { content: ""; position: absolute; z-index: -1; inset: var(--plate-offset) calc(var(--plate-offset) * -1) calc(var(--plate-offset) * -1) var(--plate-offset); border: 1px solid var(--color-rule-strong); border-radius: var(--radius-img); }
.story__clip { position: absolute; inset: 0; overflow: hidden; border-radius: var(--radius-img); transform: translateZ(0); } /* clip keeps corners round while images scale */
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-img); opacity: 0; transform: scale(1.05); transition: opacity 0.8s var(--ease-out), transform 1.4s var(--ease-out); }
.story__img.is-active { opacity: 1; transform: none; }
.story__rail { display: none; }

.story__steps { position: relative; display: flex; flex-direction: column; justify-content: center; }
.story__steps::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-rule); }
.story__progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--navy); transform-origin: left; transform: scaleX(var(--p, 0.25)); transition: transform 0.6s var(--ease-out); z-index: 1; }
.timeline__item { position: absolute; inset: 0 0 2.5rem; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease-out), transform 0.8s var(--ease-out); pointer-events: none; }
.timeline__item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.timeline__year { font-family: var(--font-serif); font-size: clamp(3rem, 2.25rem + 2.5vw, 5rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--blue); }
.timeline__body { margin-top: 1.25rem; }
.timeline__title { font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2.125rem); line-height: 1.05; color: var(--navy); }
.timeline__body p { margin-top: 0.85rem; font-size: 1.0625rem; line-height: 1.6; color: var(--color-text-muted); max-width: 44ch; }
.timeline__body p:first-of-type { font-family: var(--font-serif); font-size: clamp(1.1875rem, 1rem + 0.45vw, 1.375rem); line-height: 1.4; color: var(--ink); }
.timeline__stats { display: flex; gap: 2.5rem; margin-top: 1.5rem; }
.timeline__stats div { display: flex; flex-direction: column-reverse; gap: 0.35rem; }
.timeline__stats dd { font-family: var(--font-serif); font-size: clamp(1.75rem, 1.4rem + 0.9vw, 2.25rem); line-height: 1; color: var(--navy); }
.timeline__stats dt { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-text-muted); }
.timeline__photo { display: none; }

/* --- Voices -------------------------------------------------------------- */
.voices .h2 { margin-top: 1.25rem; }
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 1.5vw, 2rem); margin-top: var(--head-gap); }
.quote { margin: 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); overflow: hidden; border-radius: var(--radius-img); background: var(--ivory-200); color: var(--navy); }
.quote:nth-child(2) { background: var(--navy); color: var(--white); }
.quote__photo { position: relative; min-height: 100%; }
.quote__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.2s var(--ease-out); }
.quote:hover .quote__photo img { transform: scale(1.04); }
.quote__body { display: flex; flex-direction: column; padding: clamp(1.75rem, 1.25rem + 1.5vw, 3rem); min-height: clamp(340px, 280px + 6vw, 440px); }
.quote__mark { font-family: var(--font-serif); font-size: 6rem; line-height: 0.6; height: 2.5rem; color: var(--blue); }
.quote:nth-child(2) .quote__mark { color: var(--steel); }
.quote__text { margin: 0.5rem 0 0; font-family: var(--font-serif); font-size: clamp(1.375rem, 1.15rem + 0.7vw, 1.875rem); line-height: 1.25; color: inherit; }
.quote__by { display: flex; flex-direction: column; gap: 0.25rem; margin-top: auto; padding-top: 1.75rem; border-top: 1px solid var(--color-rule-strong); }
.quote:nth-child(2) .quote__by { border-top-color: var(--color-rule-dark); }
.quote__by strong { font-weight: 600; }
.quote__by span { font-size: 0.875rem; color: var(--color-text-muted); }
.quote:nth-child(2) .quote__by span { color: var(--color-on-dark-muted); }
.quote__by { margin-top: auto; }
.quote__text + .quote__by { margin-top: auto; }
@media (max-width: 1199px) { .quotes { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .quote { grid-template-columns: 1fr; } .quote__photo { aspect-ratio: 4 / 3; } .quote__body { min-height: 0; } }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1023px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mission__intro { grid-template-columns: 1fr; }
  .story { height: auto; }
  .story__pin { position: static; height: auto; display: block; }
  .story__media, .story__steps::after, .story__progress { display: none; }
  .timeline__item { position: static; opacity: 1; transform: none; pointer-events: auto; }
  .timeline__item + .timeline__item { margin-top: 3rem; }
  .timeline__photo { display: block; order: -1; margin: 0 0 1.25rem; }
  .timeline__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-img); }
}
@media (max-width: 639px) {
  .values { grid-template-columns: 1fr; }
  .value { min-height: 0; }
  .quotes { grid-template-columns: 1fr; }
  .page-hero__actions .btn { flex: 1 1 100%; }
}

/* --- Leadership preview -------------------------------------------------- */
.leaders__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-top: 1.25rem; }
.leaders__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 0.5rem + 1.5vw, 2rem); margin-top: var(--head-gap); }
.leader img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-img); }
.leader__name { margin-top: 1.25rem; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem); line-height: 1.15; color: var(--navy); }
.leader__role { margin-top: 0.35rem; font-size: 0.875rem; color: var(--color-text-muted); }
@media (max-width: 1023px) { .leaders__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- Numbers band right under the hero ---------------------------------- */
.page-hero { padding-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }

/* ==========================================================================
   About page in the home style (2026-11): bands reuse home-bands.css
   ========================================================================== */
.ab-intro .about2__art { display: flex; align-items: flex-end; justify-content: flex-end; }
.ab-intro__note { max-width: 26rem; padding-left: 1.25rem; border-left: 2px solid var(--steel); font-size: 0.9375rem; line-height: 1.6; color: var(--color-text-muted); }
.ab-intro .acard { cursor: default; }

/* Values: five white cards */
.ab-values__lead { margin-top: 1rem; max-width: 46rem; }
.ab-values__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.ab-value { display: flex; flex-direction: column; padding: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px rgba(16, 36, 58, 0.04), 0 2px 4px rgba(16, 36, 58, 0.04), 0 24px 48px -24px rgba(16, 36, 58, 0.22); }
.ab-value__num { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; color: var(--blue); }
.ab-value__title { margin-top: 1.25rem; font-family: var(--font-serif); font-weight: 400; font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem); line-height: 1.2; color: var(--navy); }
.ab-value p { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.6; color: var(--color-text-muted); }
@media (max-width: 1199px) { .ab-values__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .ab-values__grid { grid-template-columns: 1fr; } }

/* Who takes part: chips over the dark photo band */
.ab-who__text { margin-top: 1rem; color: rgba(238, 241, 244, 0.75); }
.ab-who__list { grid-column: 6 / -1; display: flex; flex-wrap: wrap; align-content: center; gap: 0.75rem; }
.ab-who__list li { padding: 0.9rem 1.25rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--font-serif); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); color: #fff; }
@media (max-width: 1023px) { .ab-who__list { grid-column: 1 / -1; margin-top: 1.5rem; } }

/* History uses the program timeline; years sit where the times are */
.ab-history .pg__time { font-weight: 600; }
.ab-history .pg__title { white-space: normal; }

/* Organizer */
.ab-org__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.ab-org__list { margin-top: 1.5rem; display: grid; gap: 0.6rem; }
.ab-org__list li { position: relative; padding-left: 1.5rem; line-height: 1.55; color: var(--color-text-muted); }
.ab-org__list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 0.6rem; height: 2px; background: var(--steel); }
.ab-org__quote { min-height: 0; }
@media (max-width: 1023px) { .ab-org__grid { grid-template-columns: 1fr; } }
.ab-who .projects2__grid > .band__head { grid-column: 1 / span 5; }
@media (max-width: 1023px) { .ab-who .projects2__grid > .band__head { grid-column: 1 / -1; } }
.ab-org__quote .acard__role { text-transform: none; letter-spacing: 0; font-size: 0.875rem; line-height: 1.5; }
@media (max-width: 767px) { .ab-who__list { gap: 0.5rem; } .ab-who__list li { border-radius: 14px; padding: 0.7rem 1rem; font-size: 1rem; } }

/* Intro photo */
.ab-intro .about2__art { flex-direction: column; align-items: stretch; gap: 1.25rem; }
.ab-intro__photo { margin: 0; overflow: hidden; border-radius: 18px; aspect-ratio: 4 / 3; }
.ab-intro__photo img { width: 100%; height: 100%; object-fit: cover; }
.ab-intro__note { align-self: flex-start; }

/* Moments mosaic */
.ab-gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.ab-gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 230px); grid-auto-flow: dense; gap: 1rem; margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.ab-gallery__item { overflow: hidden; border-radius: 18px; background: var(--ivory-200); }
.ab-gallery__item--wide { grid-column: span 2; }
.ab-gallery__item--tall { grid-row: span 2; }
.ab-gallery__item:first-child { grid-row: span 2; }
.ab-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.ab-gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 767px) {
  .ab-gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 0.5rem; }
  .ab-gallery__item:first-child { grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) { .ab-gallery__item img { transition: none; } .ab-gallery__item:hover img { transform: none; } }
.ab-intro__photo { aspect-ratio: 16 / 9; }
/* Intro: text sits at the top next to the photo, notes follow it */
.ab-intro .about2__top { align-items: start; }
.ab-intro .about2__copy { align-self: start; }
.ab-intro .about2__copy .band__text + .band__text { margin-top: 1rem; }
.ab-intro .about2__copy .ab-intro__note { margin-top: 1.5rem; }
.ab-intro__photo { aspect-ratio: 4 / 3; }
/* Intro photo matches the height of the text column */
@media (min-width: 1024px) {
  .ab-intro .about2__top { align-items: stretch; }
  .ab-intro .about2__art { align-self: stretch; justify-content: stretch; }
  .ab-intro__photo { position: relative; flex: 1; aspect-ratio: auto; min-height: 0; }
  .ab-intro__photo img { position: absolute; inset: 0; }
}
/* Values head: title left, intro right */
.ab-values__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 5rem); align-items: end; }
.ab-values__head .ab-values__lead { margin-top: 0; justify-self: end; max-width: 36rem; }
@media (max-width: 1023px) { .ab-values__head { grid-template-columns: 1fr; gap: 1rem; } .ab-values__head .ab-values__lead { justify-self: start; } }
/* Intro cards: shorter */
.ab-intro .acard { min-height: 0; }
.ab-intro .acard__rule { margin-top: 1.25rem; }
.ab-intro .acard--quote blockquote { margin-top: 0.5rem; }
.ab-intro .acard--quote figcaption { margin-top: 1.5rem; }
/* Organizer: photo with the quote card laid over its lower edge */
.ab-org__grid { align-items: stretch; }
.ab-org__media { position: relative; display: flex; flex-direction: column; min-width: 0; }
.ab-org__photo { margin: 0; flex: 1; min-height: 340px; overflow: hidden; border-radius: 18px; }
.ab-org__photo img { width: 100%; height: 100%; object-fit: cover; }
.ab-org .ab-org__quote { position: relative; width: auto; max-width: none; margin: -5rem 1.5rem 0 -1.5rem; padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); grid-column: auto; }
.ab-org__quote blockquote { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.625rem); }
@media (max-width: 1023px) { .ab-org .ab-org__quote { margin: -3rem 1rem 0; } .ab-org__photo { min-height: 260px; } }
.ab-org .ab-org__quote figcaption { margin-top: 1.5rem; }
/* Numbers band on About: same dark, deeply blurred background as "Who takes part" */
.impact { background: var(--navy-900); }
.impact::before { background-image: url("../img/uaw-crowd.jpg"); filter: blur(14px) saturate(0.7); opacity: 0.35; }
.impact::after { background: linear-gradient(90deg, rgba(11, 26, 43, 0.85), rgba(11, 26, 43, 0.65)); }
/* Organizer v2: text left, photo right at the same height, verse inside the text */
.ab-org__grid { align-items: stretch; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ab-org__media { display: flex; }
.ab-org__photo { flex: 1; position: relative; min-height: 420px; }
.ab-org__photo img { position: absolute; inset: 0; }
.ab-org__verse { margin: 2rem 0 0; padding-left: 1.25rem; border-left: 2px solid var(--steel); }
.ab-org__verse p { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); line-height: 1.35; color: var(--navy); }
.ab-org__verse cite { display: block; margin-top: 0.5rem; font-style: normal; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); }
.ab-org__mission { margin-top: 1.25rem; max-width: 34rem; font-size: 0.9375rem; line-height: 1.6; color: var(--color-text-muted); }
.ab-org__mission strong { color: var(--navy); font-weight: 600; }
@media (max-width: 1023px) { .ab-org__grid { grid-template-columns: 1fr; } .ab-org__photo { min-height: 0; aspect-ratio: 4 / 3; } .ab-org__photo img { position: static; } }
/* Phones/tablets: intro photo above the text */
@media (max-width: 1023px) {
  .ab-intro .about2__top { display: flex; flex-direction: column; gap: 1.5rem; }
  .ab-intro .about2__art { order: -1; }
}
@media (max-width: 1023px) { .ab-org__media { order: -1; } .ab-org__photo { min-height: 0; aspect-ratio: 4 / 3; } }
