/* living-legacy.css */

/* Hero */
.legacy-hero {
  position: relative;
  background-color: #0A2A22;
  background-image:
    linear-gradient(105deg, rgba(10,42,34,.85) 0%, rgba(10,42,34,.65) 55%, rgba(10,42,34,.35) 100%),
    url('../img/heroes/hero-legacy.svg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: clamp(5rem, 10vw, 8rem) 0;
  overflow: hidden;
}
.legacy-hero__bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}
.legacy-hero__inner { max-width: 680px; position: relative; z-index: 1; }
.legacy-hero__h {
  font-size: clamp(31px, 5vw, 57px);
  color: #fff; margin-bottom: 1.25rem;
}
.legacy-hero__h em { font-style: italic; opacity: 0.5; }
.legacy-hero__p {
  font-size: clamp(14px, 1.5vw, 17px);
  color: rgba(255,255,255,.62); line-height: 1.75;
  max-width: 520px; margin-bottom: 2rem;
}
.legacy-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Intro split */
.legacy-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start;
}
.legacy-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.legacy-pillar {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.25rem;
}
.legacy-pillar__icon { font-size: 20px; margin-bottom: 0.5rem; display: block; }
.legacy-pillar h4 { font-size: 13px; margin-bottom: 0.3rem; color: var(--ink); }
.legacy-pillar p  { font-size: 13px; color: var(--ink-60); line-height: 1.6; }

/* Story grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.story-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.story-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.story-card--featured {
  grid-column: span 2;
  background: var(--forest-pale);
  border-color: var(--forest-light);
}
.story-card--cta {
  background: var(--navy-pale);
  border-color: var(--navy-light);
  display: flex; align-items: center; justify-content: center;
}
.story-card__cta-inner { text-align: center; }
.story-card__cta-icon { font-size: 32px; margin-bottom: 1rem; display: block; }
.story-card__tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.7px;
  text-transform: uppercase; padding: 3px 10px;
  background: var(--forest-light); color: var(--forest);
  border-radius: 999px; margin-bottom: 0.75rem;
}
.story-card h3 { font-size: 19px; margin-bottom: 0.75rem; color: var(--ink); }
.story-card--cta h3 { font-size: 20px; }
.story-card p  { font-size: 14px; color: var(--ink-60); line-height: 1.7; margin-bottom: 1rem; flex: 1; }
.story-card__meta {
  display: flex; gap: 8px; align-items: center;
  font-size: 12px; font-weight: 600; color: var(--ink-40);
  margin-bottom: 1rem;
}
.story-card__link {
  font-size: 13px; font-weight: 700;
  color: var(--forest-mid); margin-top: auto;
  transition: color .15s;
}
.story-card__link:hover { color: var(--forest); }

/* Blog band */
.blog-band {
  background: var(--forest);
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: clamp(3rem, 5vw, 5rem) 0;
}
.blog-band__inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.blog-band__label {
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: #5DCAA5; margin-bottom: 0.5rem;
}
.blog-band__left h2 {
  font-size: clamp(26px, 3vw, 42px); color: #fff; margin-bottom: 0.75rem;
}
.blog-band__left p { font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.7; }
.blog-band__right {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.blog-band__stat {
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,.65); padding: 0.75rem 1rem;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,.1);
}
.blog-band__stat span {
  font-family: var(--ff-display);
  font-size: 22px; color: #fff;
  margin-right: 8px;
}

@media (max-width: 1024px) {
  .story-grid { grid-template-columns: repeat(2, 1fr); }
  .story-card--featured { grid-column: span 2; }
}
@media (max-width: 900px) {
  .legacy-intro { grid-template-columns: 1fr; gap: 2rem; }
  .blog-band__inner { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-card--featured { grid-column: span 1; }
  .legacy-pillars { grid-template-columns: 1fr; }
}

/* ---- Hero background image ---- */

