/* =========================================================
   HOMEPAGE STYLES
   ========================================================= */

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}
.hero__kicker {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.hero__kicker strong { color: var(--navy); font-weight: 600; }
.hero h1 { margin-bottom: 0.6rem; }
.hero__role {
  font-size: var(--step-1);
  color: var(--blue);
  font-family: var(--font-serif);
  font-style: italic;
  margin-bottom: 1.25rem;
}
.hero__lede {
  font-size: var(--step-0);
  color: var(--text);
  margin-bottom: 2rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero__portrait {
  position: relative;
}
.hero__portrait-frame {
  aspect-ratio: 4 / 5;
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.hero__portrait-frame img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.92;
}
.hero__quote {
  position: absolute;
  left: -1.25rem;
  bottom: -1.5rem;
  right: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 40px -18px rgba(15, 23, 42, 0.25);
}
.hero__quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--step-0);
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.hero__quote span { font-size: var(--step--1); color: var(--text-muted); }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__portrait { order: -1; max-width: 360px; margin-inline: auto; }
  .hero__quote { left: 1rem; right: 1rem; }
}

/* ---------- Metrics band ---------- */
.metrics {
  background: var(--navy);
  color: #fff;
}
.metrics__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.metric {
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
  text-align: center;
  border-left: 1px solid var(--border-dark);
}
.metric:first-child { border-left: none; }
.metric__value {
  font-family: var(--font-serif);
  font-size: var(--step-3);
  color: var(--amber-bright);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.metric__label {
  font-size: var(--step--1);
  color: var(--text-on-dark-muted);
}
@media (max-width: 760px) {
  .metrics__row { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: none; }
  .metric:nth-child(1), .metric:nth-child(3) { border-left: none; }
  .metric:nth-child(2), .metric:nth-child(4) { border-left: 1px solid var(--border-dark); }
}

/* ---------- Section headers ---------- */
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.section__head h2 { margin-bottom: 0.35rem; }
.section__head p { color: var(--text-muted); margin: 0; }
.section__link {
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--blue);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.section__link:hover { border-bottom-color: var(--blue); }

/* ---------- Featured article ---------- */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.featured__media {
  aspect-ratio: 16 / 12;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}
.featured__media img { width: 100%; height: 100%; object-fit: cover; }
.featured__tag {
  position: absolute;
  top: 1.25rem; left: 1.25rem;
  background: var(--amber);
  color: #fff;
  font-size: var(--step--1);
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
}
.featured__body { padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 4vw, 3rem) 0; }
.featured__meta {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.featured__meta b { color: var(--navy); }
.featured h3 { margin-bottom: 0.85rem; }
.featured p { color: var(--text); margin-bottom: 1.5rem; }
@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; }
  .featured__body { padding: 0 clamp(1.25rem, 4vw, 2rem) 2rem; }
}

/* .media-grid / .media-card now live in main.css as a shared component
   (used on both the homepage and media.php). */

/* .cta-band now lives in main.css as a shared component
   (used on the homepage, about.php and elsewhere). */
