/* Home page (P1). Shared components live in ui.css. */
.hm-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0e2035 0%, #0d3f8f 60%, #0d63d8 100%);
  color: #fff;
}

.hm-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: clamp(36px, 6vw, 72px);
  padding-bottom: clamp(36px, 6vw, 72px);
}

.hm-hero .pub-eyebrow { color: #7cc4ff; }

.hm-hero h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.05;
}

.hm-hero .pub-lead { color: rgba(255, 255, 255, .88); }
.hm-hero .pub-actions { margin-top: 24px; }
.hm-hero .pub-btn-primary { background: #fff; color: #0e2035; }
.hm-hero .pub-btn-outline { border-color: rgba(255, 255, 255, .5); background: transparent; color: #fff; }
.hm-hero .pub-btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }

.hm-hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.hm-kicker {
  margin: 0 0 6px;
  color: var(--ui-brand);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hm-paths {
  position: relative;
  margin-top: -28px;
  padding-top: 0;
}

.hm-paths > .pub-section-head {
  padding: 28px 24px 4px;
  border-radius: var(--ui-radius) var(--ui-radius) 0 0;
  background: var(--ui-wash);
}

.hm-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hm-path h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.hm-path h3 .bi { color: var(--ui-brand); font-size: 1.2rem; }

.hm-block { margin-top: 56px; }

.hm-latest {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hm-latest-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.hm-latest-head h3 { font-size: 1.05rem; }
.hm-latest-head .pub-link { font-size: .88rem; white-space: nowrap; }

.hm-stories { grid-column: 1 / -1; gap: 18px; }
.hm-stories-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 639px) { .hm-stories-list { grid-template-columns: minmax(0, 1fr); } }
.hm-stories .pub-quote blockquote { font-size: .96rem; }

@media (max-width: 991px) {
  .hm-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hm-hero-media { max-width: 560px; }
  .hm-path-grid,
  .hm-latest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .hm-hero-media { display: none; }
  .hm-path-grid,
  .hm-latest { grid-template-columns: minmax(0, 1fr); }
}
