/* --------------------------------------------------------------------------
   Homepage layer. Colour comes entirely from the tokens in style.css, so the
   brand is still a one-line change in :root. Only layout, type scale and
   homepage-specific components live here.
   -------------------------------------------------------------------------- */
.home-hero { padding: 60px 0 66px; background: var(--bg-alt); overflow: hidden; }
.home-hero__grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 60px; align-items: center; }
.home-hero h1 { font-size: clamp(36px, 3.7vw, 53px); font-weight: 600; line-height: 1.18; letter-spacing: -2px; margin-bottom: 25px; }
.home-hero h1 em { color: var(--maroon); }
.home-hero__copy > p { font-size: 16px; max-width: 490px; line-height: 1.85; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.home-text-link { display: inline-flex; gap: 18px; align-items: center; font-size: 13px; font-weight: 600; color: var(--maroon); padding: 8px 0; }
.home-text-link:hover { color: var(--maroon-dark); text-decoration: underline; text-underline-offset: 5px; }
.home-community { display: flex; align-items: center; gap: 15px; margin-top: 38px; }
.home-community p { font-size: 11px; line-height: 1.7; margin: 0; }
.home-community strong { font-weight: 500; }
.home-avatars { display: flex; padding-left: 8px; }
.home-avatars img { width: 38px; height: 38px; object-fit: cover; border: 2px solid var(--bg-alt); border-radius: 50%; margin-left: -8px; background: var(--border-color); }
.home-values { background: var(--maroon); color: var(--text-on-dark); }
.home-values .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 23px; }
.home-values span { font-size: 12px; letter-spacing: 1px; }
.home-values span:first-child { color: var(--primary-pale); font-size: 10px; text-transform: uppercase; }
.home-values i { color: var(--gold); font-size: 9px; }
.home-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.home-intro h2 { margin: 0; }
.home-intro p { font-size: 17px; }
.home-programs { background: var(--bg-alt); }
.home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.home-section-head h2 { margin: 0; }
.home-program-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-program { display: flex; flex-direction: column; color: var(--body); padding: 30px 23px; background: var(--bg-color); border: 1px solid var(--border-color); transition: border-color .2s, transform .2s; }
.home-program:hover { color: var(--body); border-color: var(--maroon); transform: translateY(-5px); }
.home-program__number { font-size: 10px; letter-spacing: 1.6px; color: var(--maroon); margin-bottom: 36px; }
.home-program h3 { font-size: 20px; line-height: 1.35; letter-spacing: -.5px; }
.home-program p { font-size: 13px; margin-bottom: 30px; }
.home-program__link { border-top: 1px solid var(--border-color); padding-top: 18px; margin-top: auto; display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--maroon); font-weight: 600; }
.home-gathering { display: none; background: var(--maroon); padding: 75px 0; }
.home-gathering__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 65px; align-items: center; }
.home-gathering__image img { width: 100%; height: 350px; object-fit: cover; border-radius: 4px; }
.home-gathering .home-eyebrow { color: var(--secondary-light); }
.home-gathering h2 { color: var(--text-on-dark); }
.home-gathering p { color: var(--primary-pale); font-size: 15px; max-width: 430px; }
.home-cities { font-size: 9px; letter-spacing: 1.5px; color: var(--primary-pale); margin-top: 27px; }
.home-join { padding: 85px 0; text-align: center; background: var(--primary-tint); }
.home-join h2 { font-size: clamp(40px, 4.8vw, 64px); line-height: 1.12; color: var(--maroon); }
.home-join p { margin-bottom: 27px; }
.home-event-collage { min-width: 0; position: relative; }
.home-event-collage figure { margin: 0; overflow: hidden; position: relative; }
.home-event-collage__main { border-radius: 8px; background: var(--primary-deep); }
.home-event-collage__main > img { width: 100%; height: 325px; object-fit: cover; }
.home-event-collage__main > figcaption { position: absolute; inset: auto 0 0; padding: 55px 25px 22px; background: linear-gradient(transparent, var(--scrim-strong)); color: white; }
.home-event-collage__main strong { display: block; color: white; font-size: 19px; line-height: 1.4; margin: 7px 0; }
.home-event-collage__main figcaption > span:last-child { font-size: 11px; color: var(--primary-pale); }
.home-photo-kicker { font-size: 8px; letter-spacing: 2px; color: var(--secondary-light); }
.home-event-collage__bottom { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin-top: 14px; }
.home-event-collage__bottom figure { border-radius: 6px; }
.home-event-collage__bottom img { width: 100%; height: 175px; object-fit: cover; }
.home-event-collage__bottom figcaption { position: absolute; bottom: 0; width: 100%; padding: 30px 14px 12px; background: linear-gradient(transparent, var(--scrim-soft)); color: #fff; font-size: 11px; }
.home-event-note { border: 1px solid var(--border-color); background: var(--secondary-tint); border-radius: 6px; padding: 18px 20px; display: grid; grid-template-columns: 25px 1fr; gap: 10px; align-content: center; }
.home-event-note > span { font: 38px/1 var(--font-display); color: var(--maroon); }
.home-event-note p { font-size: 14px; line-height: 1.45; margin: 0; color: var(--maroon); }
.home-event-note em { font-size: 22px; }
.home-event-note a { grid-column: 1 / -1; font-size: 10px; font-weight: 600; margin-top: 3px; }
.home-page .home-intro { padding-block: 70px; }
.home-page .home-program { border-radius: 7px; border-top: 3px solid var(--border-color); }
.home-page .home-program:hover { border-top-color: var(--maroon); }
.home-page .home-program:nth-child(2) { background: var(--primary-color); border-color: var(--primary-color); color: var(--primary-pale); }
.home-page .home-program:nth-child(2) h3, .home-page .home-program:nth-child(2) .home-program__link { color: var(--text-on-dark); }
.home-page .home-program:nth-child(2) .home-program__number { color: var(--secondary-light); }
.home-page .home-program:nth-child(2) .home-program__link { border-color: rgba(255, 255, 255, 0.21); }
.home-highlights { border-bottom: 1px solid var(--border-color); }
.home-section-summary { max-width: 340px; font-size: 14px; line-height: 1.8; margin: 0 0 3px; }
.home-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 225px; gap: 18px; }
.home-gallery__item { position: relative; overflow: hidden; border-radius: 6px; background: var(--border-color); }
.home-gallery__item--wide { grid-column: span 2; }
.home-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.home-gallery__item:hover img { transform: scale(1.035); }
.home-gallery__caption { position: absolute; bottom: 0; width: 100%; display: flex; justify-content: space-between; gap: 12px; align-items: end; padding: 45px 20px 18px; background: linear-gradient(transparent, var(--scrim)); color: #fff; font-size: 13px; }
.home-gallery__caption > span { font-size: 22px; }
.home-highlights__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; }
.home-highlights__foot > span { font-size: 12px; color: var(--text-muted); }
.home-lightbox { padding: 50px 18px 18px; border: 0; border-radius: 8px; background: var(--bg-dark); color: #fff; max-width: min(1100px, 94vw); width: max-content; max-height: 94dvh; }
.home-lightbox::backdrop { background: var(--scrim-backdrop); }
.home-lightbox figure { margin: 0; }
.home-lightbox img { max-height: 75dvh; max-width: 100%; width: auto; height: auto; object-fit: contain; margin-inline: auto; }
.home-lightbox figcaption { padding: 14px 4px 0; font-size: 14px; }
.home-lightbox__close { position: absolute; top: 5px; right: 10px; width: 40px; height: 40px; background: transparent; color: #fff; border: 0; font-size: 32px; cursor: pointer; }
.home-page.photo-open { overflow: hidden; }
@media (max-width: 1100px) {
  .home-hero__grid { gap: 30px; }
  .home-intro__grid { gap: 45px; }
  .home-program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-gathering__grid { gap: 35px; }
  .home-reads__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testi { padding: 54px 38px 38px; }
}
@media (max-width: 767px) {
  .home-event-collage { max-width: 600px; width: 100%; margin-inline: auto; }
  .home-event-collage__main > img { height: 300px; }
  .home-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; gap: 12px; }
  .home-section-summary { margin-top: 18px; }
  .home-highlights__foot { align-items: start; flex-direction: column; gap: 5px; }
  .home-hero { padding: 40px 0 50px; }
  .home-hero__grid, .home-intro__grid, .home-gathering__grid { grid-template-columns: 1fr; gap: 35px; }
  .home-hero h1 { font-size: clamp(33px, 7vw, 48px); letter-spacing: -1.4px; }
  .home-actions { gap: 15px; }
  .home-community { margin-top: 25px; }
  .home-values .container { flex-wrap: wrap; justify-content: center; gap: 12px; }
  .home-values span:first-child { width: 100%; text-align: center; }
  .home-values span { font-size: 10px; }
  .home-section-head { display: block; }
  .home-section-head > a { margin-top: 12px; }
  .home-gathering { padding: 50px 0; }
  .home-gathering__image img { height: auto; }
  .home-join { padding: 60px 0; }
  .testi-section { padding: 62px 0 56px; }
  .testi { padding: 46px 26px 32px; border-radius: 5px; }
  .testi__mark { font-size: 96px; }
  .testi__text { margin-bottom: 28px; }
  .testi__person { flex-direction: column; gap: 12px; text-align: center; }
  .testi__id { text-align: center; }
  .home-reads__grid { grid-template-columns: 1fr; gap: 32px; }
  .read-card__media img { height: 200px; }
}
@media (max-width: 480px) {
  .home-event-collage__main > img { height: 260px; }
  .home-event-collage__main strong { font-size: 17px; }
  .home-event-collage__bottom { gap: 10px; grid-template-columns: 1fr 1fr; }
  .home-event-note { padding: 12px; gap: 4px; grid-template-columns: 1fr; }
  .home-event-note > span { display: none; }
  .home-event-note p { font-size: 12px; }
  .home-event-note em { font-size: 20px; }
  .home-event-collage__bottom img { height: 155px; }
  .home-gallery { grid-template-columns: 1fr; grid-auto-rows: 245px; }
  .home-gallery__item--wide { grid-column: auto; }
  .home-page .home-intro { padding-block: 50px; }
  .home-program-grid { grid-template-columns: 1fr; }
  .home-program { padding: 25px; }
  .home-program__number { margin-bottom: 22px; }
  .home-hero h1 { font-size: 33px; }
  .testi { padding: 40px 20px 28px; }
  .testi-carousel .carousel__slide { padding: 12px 4px 20px; }
  .testi__text p { font-size: 18px; }
  .testi-controls { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
}

/* --------------------------------------------------------------------------
   Testimonials. A single full-width statement card rather than the old
   two-up quote + blog split, so one CEO gets the whole stage at a time.
   -------------------------------------------------------------------------- */
.testi-section { background: var(--bg-alt); padding: 92px 0 84px; }
.testi-head { text-align: center; margin-bottom: 44px; }
.testi-head h2 { margin: 0; }
.testi-head .home-eyebrow { margin-bottom: 14px; }
.testi-rule { display: flex; align-items: center; justify-content: center; gap: 13px; width: 190px; margin: 0 auto 22px; }
.testi-rule i { flex: 1; height: 1px; background: var(--secondary-color); opacity: .65; }
.testi-rule svg { flex: none; width: 13px; height: 13px; fill: var(--secondary-color); }

.testi-carousel { max-width: 920px; margin-inline: auto; }
/* the viewport clips overflow, so the card's drop shadow needs room inside it */
.testi-carousel .carousel__slide { padding: 16px 12px 24px; }

.testi {
  position: relative;
  margin: 0;
  padding: 62px 58px 42px;
  text-align: center;
  background: var(--bg-color);
  border: 1px solid var(--primary-line);
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(48, 35, 41, .07);
  overflow: hidden;
}
.testi::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}
/* watermark parked in the corner so it never fights the centred stars */
.testi__mark {
  position: absolute;
  top: 0;
  left: 30px;
  font: 700 150px/1 var(--font-display);
  color: var(--secondary-color);
  opacity: .14;
  pointer-events: none;
  user-select: none;
}
.testi__stars { position: relative; display: flex; justify-content: center; gap: 6px; margin-bottom: 26px; }
.testi__stars svg { width: 15px; height: 15px; fill: var(--secondary-color); }
.testi__text { position: relative; margin: 0 0 36px; }
.testi__text p {
  max-width: 690px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 2.1vw, 25px);
  line-height: 1.6;
  letter-spacing: -.2px;
  color: var(--text-color);
}
.testi__person { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 32px; }
.testi__person::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 1px;
  background: var(--secondary-color);
}
.testi__avatar {
  flex: none;
  width: 66px;
  height: 66px;
  padding: 3px;
  border-radius: 50%;
  background: var(--bg-color);
  box-shadow: 0 0 0 1px var(--secondary-color);
}
.testi__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top center; display: block; }
.testi__id { text-align: left; }
.testi__name { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--text-color); }
.testi__role { display: block; margin-top: 5px; font-family: var(--font-nav); font-size: 10px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--secondary-ink); }

/* arrows and dots share one centred row under the card */
.testi-controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 8px; }
.testi-controls .carousel__btn {
  position: static;
  transform: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--primary-line);
  border-radius: 50%;
  background: var(--bg-color);
  color: var(--maroon);
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.testi-controls .carousel__btn:hover { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.testi-controls .carousel__btn svg { width: 14px; height: 14px; fill: currentColor; }
.testi-controls .carousel__dots { margin: 0; display: flex; align-items: center; gap: 8px; }
.testi-controls .carousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--control-idle);
  cursor: pointer;
  transition: width .25s var(--ease), border-radius .25s var(--ease), background .25s var(--ease);
}
.testi-controls .carousel__dot.is-active { width: 22px; border-radius: 4px; background: var(--maroon); }

/* --------------------------------------------------------------------------
   Insights. Split out of the old testimonial row so it reads as its own
   three-up story shelf.
   -------------------------------------------------------------------------- */
.home-reads__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.read-card { display: flex; flex-direction: column; height: 100%; }
.read-card__media { display: block; overflow: hidden; border-radius: 6px; background: var(--border-color); }
.read-card__media img { width: 100%; height: 215px; object-fit: cover; display: block; transition: transform .45s var(--ease); }
.read-card:hover .read-card__media img { transform: scale(1.04); }
/* body stretches so the "Read the article" line sits on one baseline
   across the row however long a headline runs */
.read-card__body { display: flex; flex-direction: column; flex: 1; padding-top: 20px; }
.read-card__kicker { display: block; font: 600 9px/1.5 var(--font-nav); letter-spacing: 2.2px; color: var(--secondary-ink); margin-bottom: 10px; }
.read-card h3 { font-size: 19px; line-height: 1.4; letter-spacing: -.4px; margin-bottom: 14px; }
.read-card h3 a { color: var(--text-color); }
.read-card:hover h3 a { color: var(--maroon); }
.read-card__more { margin-top: auto; font: 600 11px/1 var(--font-nav); color: var(--maroon); display: inline-flex; gap: 8px; align-items: center; }
