/* ============================================================
   The Framework — Page Styles
   ============================================================ */

/* ── Page Hero ── */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,28,46,0.92) 0%, rgba(17,28,46,0.55) 60%, rgba(17,28,46,0.3) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  animation: heroFadeUp 0.9s ease both;
}
.page-hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.page-hero-title em {
  font-style: normal;
  color: var(--accent-green);
}
.page-hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  max-width: 560px;
}

/* ── Framework Intro ── */
.framework-intro {
  padding: 6rem 0 3rem;
  background: var(--white);
  text-align: center;
}
.framework-intro-inner {
  max-width: 720px;
  margin: 0 auto 3rem;
}
.framework-intro-inner .section-title { margin-bottom: 1.25rem; }

/* ── Pillar Nav ── */
.pillar-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.pillar-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  border: 2px solid var(--light-gray);
  transition: all 0.25s;
  min-width: 100px;
}
.pillar-nav-item:hover {
  border-color: var(--royal-blue);
  background: rgba(34,62,145,0.04);
  transform: translateY(-3px);
}
.pillar-letter {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--royal-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
}
.pillar-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Pillar Sections ── */
.pillar-section {
  padding: 7rem 0;
  scroll-margin-top: 80px;
}
.pillar-light { background: var(--white); }
.pillar-dark  { background: var(--dark-navy); }

.pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.pillar-grid-reverse .pillar-content { order: 2; }
.pillar-grid-reverse .pillar-image   { order: 1; }

.pillar-badge {
  width: 60px; height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.pillar-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(17,28,46,0.15);
}

/* Pillar Tools List */
.pillar-tools {
  margin-top: 2rem;
  padding: 1.75rem;
  background: var(--light-gray);
  border-radius: 8px;
}
.pillar-tools h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 1rem;
}
.pillar-tools ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pillar-tools ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.pillar-tools ul li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--royal-blue);
}
.pillar-tools-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}
.pillar-tools-dark h4 { color: rgba(255,255,255,0.4); }
.pillar-tools-dark ul li { color: rgba(255,255,255,0.8); }
.pillar-tools-dark ul li svg { color: var(--accent-green); }

/* ── Framework Summary ── */
.framework-summary {
  padding: 7rem 0;
  background: var(--dark-navy);
}
.summary-header {
  text-align: center;
  margin-bottom: 4rem;
}
.summary-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}
.summary-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 140px;
  transition: background 0.3s, transform 0.3s;
}
.summary-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
}
.summary-letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--royal-blue);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}
.summary-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.summary-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}
.summary-connector {
  font-size: 1.5rem;
  color: var(--accent-green);
  padding: 0 0.5rem;
  font-weight: 300;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pillar-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .pillar-grid-reverse .pillar-content { order: 1; }
  .pillar-grid-reverse .pillar-image   { order: 2; }
  .pillar-image img { height: 320px; }
  .summary-connector { display: none; }
  .summary-grid { gap: 1rem; }
  .summary-card { min-width: 120px; }
}
@media (max-width: 768px) {
  .pillar-nav { gap: 0.5rem; }
  .pillar-nav-item { min-width: 80px; padding: 0.75rem 1rem; }
  .page-hero { height: 50vh; padding-bottom: 3rem; }
  .summary-grid { flex-direction: column; align-items: stretch; max-width: 400px; }
}
