/* css/history.css - Our History page only (uses the tokens from style.css) */
.hist-hero{padding-top:0;min-height:260px;display:flex;align-items:center;justify-content:center}
.hist-hero h4{font-size:clamp(32px,7vw,60px);margin:0;padding:0 16px}

.hs p{padding:0}
.hs h2,.hs h3{text-align:left;margin:0}

/* Intro band */
.hs-intro{background:var(--stella-navy);color:#fff;text-align:center;padding:64px 20px}
.hs-intro .hs-kicker{color:var(--stella-accent);font-weight:600;margin-bottom:12px;text-align:center}
.hs-intro h2{color:#fff;text-align:center;font-size:clamp(1.7rem,4vw,2.6rem);line-height:1.25;max-width:760px;margin:0 auto 16px;font-weight:700}
.hs-intro p{max-width:680px;margin:0 auto;color:#d6e0ef;line-height:1.7;text-align:center}

/* Timeline */
.hs-line{position:relative;max-width:1000px;margin:0 auto;padding:72px 20px 24px}
.hs-line::before{content:"";position:absolute;top:72px;bottom:24px;left:50%;width:2px;margin-left:-1px;background:var(--stella-accent-dark)}
.hs-item{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;margin-bottom:56px}
.hs-item::before{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;background:var(--stella-navy);border:4px solid var(--stella-accent)}
.hs-item:nth-child(even) .hs-photo{order:-1}
.hs-tag{display:block;margin-bottom:6px;font-size:.85rem;font-weight:600;color:var(--stella-gray)}
.hs-year{margin-right:8px;color:var(--stella-navy);font-weight:700}
.hs-text h3{font-size:1.5rem;font-weight:700;color:var(--stella-navy);margin-bottom:10px}
.hs-text p{line-height:1.8;color:var(--stella-dark-gray)}
.hs-photo{aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,var(--stella-navy),var(--stella-navy-light));box-shadow:0 10px 30px rgba(10,38,71,.15)}
.hs-photo img{width:100%;height:100%;object-fit:cover;object-position:top;display:block}
.hs-photo img.logo{object-fit:contain;padding:12%;background:#fff}

/* Closing call to action */
.hs-cta{max-width:820px;margin:40px auto 90px;padding:44px 24px;border-radius:16px;text-align:center;background:linear-gradient(135deg,var(--stella-navy),var(--stella-navy-light));color:#fff}
.hs-cta h2{text-align:center;color:#fff;font-size:clamp(1.5rem,3vw,2rem);margin-bottom:10px}
.hs-cta p{max-width:520px;margin:0 auto 24px;color:#d6e0ef;line-height:1.7;text-align:center}
.hs-btns{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.hs-btn{display:inline-flex;align-items:center;gap:10px;padding:13px 28px;border-radius:999px;font-weight:600;font-size:.95rem;text-decoration:none;transition:transform .2s}
.hs-btn:hover{transform:translateY(-2px)}
.hs-btn.main{background:var(--stella-accent);color:var(--stella-navy)}
.hs-btn.ghost{border:1.5px solid var(--stella-accent);color:#fff}
.hs-btn:focus-visible{outline:3px solid #fff;outline-offset:3px}

@media (max-width:760px){
  .hs-line{padding-top:48px}
  .hs-line::before{left:30px;top:48px}
  .hs-item{grid-template-columns:1fr;gap:18px;padding-left:56px}
  .hs-item::before{left:30px;top:6px;margin-top:0}
  .hs-item:nth-child(even) .hs-photo{order:0}
}
@media (prefers-reduced-motion:reduce){.hs-btn{transition:none}}