/**
 * Signature parallax hero — "the hills of home".
 * Layered Himalayan ridgelines (slate -> ink) with a low coral sun, drifting on
 * scroll. Grounded in Budhanilkantha School's setting in the Kathmandu foothills.
 */
.sc-hero {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 820px);
  overflow: clip;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F7FB 44%, #EEF2F7 100%);
  display: flex;
  align-items: center;
}

/* Coral sun, low on the horizon, behind the ridges */
.sc-hero__sun {
  position: absolute;
  left: 62%; bottom: 30%;
  width: clamp(140px, 20vw, 300px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #FF7A5C 0%, #FB5A4B 55%, #F0492F 100%);
  box-shadow: 0 0 120px 40px rgba(251,90,75,.28);
  z-index: -3;
  will-change: transform;
}

/* Ridgelines pinned to the bottom, stretched full width */
.sc-hero__ridge {
  position: absolute; left: -6%; right: -6%; width: 112%; bottom: 0;
  display: block; z-index: -2; will-change: transform;
  pointer-events: none;
}
.sc-hero__ridge--4 { height: 46%; z-index: -3; }
.sc-hero__ridge--3 { height: 40%; z-index: -2; }
.sc-hero__ridge--2 { height: 32%; z-index: -1; }
.sc-hero__ridge--1 { height: 22%; z-index: 0; }
.sc-hero__ridge path { transition: none; }

/* soft grain/atmosphere line where sky meets far ridge */
.sc-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -4; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 120%, rgba(17,24,39,.05), transparent 60%);
}

/* Content — asymmetric, left-set, editorial */
.sc-hero__inner {
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 1200px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  padding-block: clamp(3rem, 8vh, 6rem);
}
.sc-hero__content { max-width: 40rem; }

.sc-hero__eyebrow {
  font-family: var(--wp--preset--font-family--albert-sans);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--wp--preset--color--coral, #FB5A4B);
  margin: 0 0 1.1rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.sc-hero__eyebrow::before { content: ""; width: 2rem; height: 2px; background: var(--wp--preset--color--coral, #FB5A4B); }

.sc-hero__title {
  font-family: var(--wp--preset--font-family--heading-serif, Georgia, serif);
  font-weight: 600;
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 1.02; letter-spacing: -.025em;
  color: #0B1220; margin: 0 0 1.35rem;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 1;
}
.sc-hero__title em { font-style: normal; color: var(--wp--preset--color--coral, #FB5A4B); }

.sc-hero__lede {
  font-family: var(--wp--preset--font-family--albert-sans);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.65;
  color: #475569; max-width: 34rem; margin: 0 0 2rem;
}

.sc-hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.5rem; }
.sc-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--wp--preset--font-family--albert-sans);
  font-weight: 600; font-size: 1.02rem; line-height: 1;
  padding: .95rem 1.7rem; border-radius: 12px; text-decoration: none;
  transition: transform .18s cubic-bezier(.4,0,.2,1), background-color .18s, box-shadow .18s, color .18s;
}
.sc-btn--coral { background: var(--wp--preset--color--coral, #FB5A4B); color: #fff; box-shadow: 0 10px 24px -10px rgba(251,90,75,.7); }
.sc-btn--coral:hover { background: var(--wp--preset--color--coral-dark, #E24A3B); transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(251,90,75,.8); color:#fff; }
.sc-btn--ghost { color: #1F2937; border: 1.5px solid #CBD5E1; }
.sc-btn--ghost:hover { border-color: #1F2937; transform: translateY(-2px); color:#111827; }

/* Editorial dateline instead of generic stat cards */
.sc-hero__dateline {
  display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; align-items: center;
  font-family: var(--wp--preset--font-family--albert-sans);
  font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
  color: #64748B; margin: 0; padding-top: 1.4rem; border-top: 1px solid #E2E8F0; max-width: 34rem; list-style: none;
}
.sc-hero__dateline li { display: inline-flex; align-items: center; gap: 1.1rem; margin: 0; }
.sc-hero__dateline li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--wp--preset--color--coral, #FB5A4B); }
.sc-hero__dateline b { color: #0F172A; font-weight: 700; }

/* Load-in reveal (respecting reduced-motion below) */
.sc-hero__content > * { opacity: 0; transform: translateY(14px); }
.sc-hero.is-in .sc-hero__content > * { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.sc-hero.is-in .sc-hero__content > *:nth-child(1) { transition-delay: .05s; }
.sc-hero.is-in .sc-hero__content > *:nth-child(2) { transition-delay: .14s; }
.sc-hero.is-in .sc-hero__content > *:nth-child(3) { transition-delay: .24s; }
.sc-hero.is-in .sc-hero__content > *:nth-child(4) { transition-delay: .34s; }
.sc-hero.is-in .sc-hero__content > *:nth-child(5) { transition-delay: .44s; }

@media (max-width: 600px) {
  .sc-hero { min-height: 78vh; }
  .sc-hero__sun { left: 55%; bottom: 34%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sc-hero__sun, .sc-hero__ridge { transform: none !important; }
  .sc-hero__content > * { opacity: 1 !important; transform: none !important; }
}

/* ===== Designed footer ===== */
.sc-footer { max-width: 1180px; margin-inline: auto; padding: clamp(3rem,6vw,4.5rem) clamp(1.25rem,5vw,3rem) 0; }
.sc-footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; align-items: start; }
.sc-footer__logo { font-family: var(--wp--preset--font-family--heading-serif, Georgia, serif); font-weight: 600; font-size: 1.75rem; color: #fff; letter-spacing: -.01em; }
.sc-footer__mission { color: rgba(255,255,255,.6); font-size: .95rem; line-height: 1.65; margin: .9rem 0 1.4rem; max-width: 34ch; }
.sc-footer__social { display: flex; gap: .6rem; }
.sc-footer__social a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.75); transition: background-color .15s, color .15s, transform .15s; }
.sc-footer__social a:hover { background: var(--wp--preset--color--coral, #FB5A4B); color: #fff; transform: translateY(-2px); }
.sc-footer__col { display: flex; flex-direction: column; }
.sc-footer__col h3 { font-family: var(--wp--preset--font-family--albert-sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--coral, #FB5A4B); margin: 0 0 1.1rem; }
.sc-footer__col a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .95rem; padding: .32rem 0; transition: color .15s, padding-left .15s; width: fit-content; }
.sc-footer__col a:hover { color: #fff; padding-left: .3rem; }
.sc-footer__contact p { color: rgba(255,255,255,.55); font-size: .9rem; margin: .2rem 0 1.1rem; }
.sc-footer__cta { display: inline-flex; align-items: center; gap: .35rem; background: var(--wp--preset--color--coral, #FB5A4B); color: #fff !important; font-weight: 600; padding: .7rem 1.15rem; border-radius: 10px; margin-top: .2rem; transition: background-color .15s, transform .15s; }
.sc-footer__cta:hover { background: var(--wp--preset--color--coral-dark, #E24A3B); transform: translateY(-2px); padding-left: 1.15rem !important; }
.sc-footer__bar { max-width: 1180px; margin: clamp(2.5rem,5vw,3.5rem) auto 0; padding: 1.4rem clamp(1.25rem,5vw,3rem); border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.sc-footer__bar span { color: rgba(255,255,255,.5); font-size: .82rem; }
.sc-footer__made { color: rgba(255,255,255,.4) !important; }
@media (max-width: 860px) { .sc-footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; } .sc-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .sc-footer__inner { grid-template-columns: 1fr; } .sc-footer__bar { flex-direction: column; } }
