/* ============================================================
   HOME v2.0  ·  May 2026
   Refinements layered on top of styles.min.css for the homepage:
     · Hero v2 — eyebrow, dual CTAs, credibility chips
     · Why-this-school spotlight w/ photographed feature trio
     · News & Moments strip
   No existing components are overridden destructively;
   anything not used by index.html is unaffected elsewhere.
   ============================================================ */

/* ------------------------------------------------------------
   HERO v2 — additions only
   ------------------------------------------------------------ */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.78);
  margin-bottom: 28px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}
.hero__eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--cst-red);
  flex: 0 0 32px;
}
.hero .hero__content--right .hero__eyebrow {
  margin-left: auto;
}

/* Two-CTA layout for hero */
.hero__actions--pair {
  align-items: center;
}
.hero__actions--pair .btn { flex: 0 0 auto; }

/* Hero credibility chips — slim row beneath buttons */
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 28px;
  max-width: 760px;
}
.hero .hero__content--right .hero__chips {
  justify-content: flex-end;
  margin-left: auto;
}
.hero__chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 230, 0.85);
  padding: 7px 12px;
  border: 1px solid rgba(245, 240, 230, 0.28);
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.22);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  white-space: nowrap;
}
.hero__chip strong {
  color: var(--cst-cream);
  font-weight: 500;
  margin-right: 6px;
}

@media (max-width: 720px) {
  .hero__eyebrow { font-size: 10px; margin-bottom: 20px; }
  .hero .hero__content--right .hero__eyebrow,
  .hero .hero__content--right .hero__chips { margin-left: 0; margin-right: 0; }
  .hero__chips { justify-content: center; }
  .hero .hero__content--right .hero__chips { justify-content: center; }
  .hero__chip { font-size: 9.5px; padding: 6px 10px; }
}

/* ------------------------------------------------------------
   WHY-THIS-SCHOOL · v2 — photographed feature trio
   ------------------------------------------------------------ */
.feature-trio--photo {
  /* tighter grid for the photo variant */
  gap: clamp(28px, 3vw, 48px);
  /* override the subgrid 2-row template — photo items have 3 children
     (media, title, body) which need 3 rows, not the parent's 2. */
  grid-template-rows: auto;
}
.feature-trio--photo .feature-trio__item {
  padding-top: 0;
  gap: 18px;
  /* break out of subgrid so the 3 stacked children flow naturally */
  display: flex;
  flex-direction: column;
  grid-row: auto;
  grid-template-rows: none;
}
.feature-trio--photo .feature-trio__item::before {
  /* hide the dash — the photo provides visual rhythm instead */
  display: none;
}
.feature-trio__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 6px;
  background: var(--cst-navy-deep);
}
.feature-trio__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}
.feature-trio__item:hover .feature-trio__media img {
  transform: scale(1.06);
}
.feature-trio__media::after {
  /* slim diagonal vignette — keeps the photo readable in dark backgrounds */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10, 22, 40, 0) 55%,
    rgba(10, 22, 40, 0.35) 100%);
  pointer-events: none;
}
.feature-trio__index {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cst-cream);
  background: rgba(10, 22, 40, 0.6);
  padding: 6px 10px;
  border: 1px solid rgba(245, 240, 230, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

@media (max-width: 860px) {
  .feature-trio--photo {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-trio--photo .feature-trio__item { grid-row: auto; }
  .feature-trio__media { aspect-ratio: 16 / 10; }
}

/* ------------------------------------------------------------
   NEWS & MOMENTS — fresh signals strip before the closing CTA
   ------------------------------------------------------------ */
.news-strip {
  background: var(--cst-ivory);
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--cst-line-light);
  border-bottom: 1px solid var(--cst-line-light);
}
.news-strip__head {
  max-width: var(--max-w);
  margin: 0 auto clamp(36px, 4vw, 60px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 24px;
}
.news-strip__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cst-red);
  margin-bottom: 10px;
}
.news-strip__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cst-navy);
}
.news-strip__title em {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--cst-navy);
}
.news-strip__more {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cst-navy);
  text-decoration: none;
  border-bottom: 1px solid var(--cst-red);
  padding-bottom: 4px;
  transition: color var(--t-fast) var(--ease);
}
.news-strip__more:hover { color: var(--cst-red); }

.news-strip__grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 36px);
}
.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--cst-white);
  border: 1px solid var(--cst-line-light);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--cst-line-light-2);
  box-shadow: 0 24px 50px -28px rgba(10, 22, 40, 0.35);
}
.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cst-navy-deep);
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cst-cream);
  background: var(--cst-red);
  padding: 6px 10px;
}
.news-card__body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.news-card__meta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cst-muted);
}
.news-card__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.5vw, 26px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--cst-navy);
}
.news-card__title em {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--cst-navy);
}
.news-card__excerpt {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cst-graphite-2);
  flex: 1;
}
.news-card__cta {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cst-red);
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.news-card__cta::after {
  content: "→";
  transition: transform var(--t-fast) var(--ease);
}
.news-card:hover .news-card__cta::after { transform: translateX(4px); }

@media (max-width: 900px) {
  .news-strip__grid { grid-template-columns: 1fr; gap: 24px; }
  .news-strip__head { grid-template-columns: 1fr; align-items: start; }
}

/* ------------------------------------------------------------
   A DAY AT CST  ·  chip-style tags
   Original red caps were hard to read on the photo gradient.
   Replace with a "Book a Campus Tour"-style ghost pill: cream
   text inside a translucent dark capsule with a hairline border.
   ------------------------------------------------------------ */
.inside-cst__tag {
  /* override color and add the chip surface.
     r25: text switched from red to cream — readable but a touch warm.
     r26: switched cream → pure white per user request, for max contrast
     against the navy-tinted photo gradients. */
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 11px;
  background: rgba(10, 22, 40, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  /* preserve the original type rhythm */
  font-weight: 600;
  /* drop the bottom-margin reliance on flex gap; flex-start keeps it tight */
  width: auto;
}

/* ------------------------------------------------------------
   STUDENT QUOTE  ·  emphasise without losing readability
   "challenge" / "support" were red italic on the dark photo,
   which read as low-contrast. Switch the italic emphasis to
   cream and let the italic typeface do the differentiation;
   the role byline below stays red as the accent tone.
   ------------------------------------------------------------ */
.quote-takeover__text em {
  color: var(--cst-cream);
}
