/* ═══════════════════════════════════════════════════════════════════════════
   GLOBALS — shared reset, theme variables & common utility classes
   Reused across every program landing page. Do not duplicate these rules
   inside individual section stylesheets — link this file once per page,
   before the section CSS files.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── RESET & ROOT VARIABLES ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #0b1f4d;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

:root {
    --bg-white: #ffffff;
    --bg-surface: #f8f6ef;
    --bg-ivory: #faf8f3;

    --env-hero-bg: #0b1f4d;
    --env-dark-gradient: linear-gradient(135deg, #0a1a3a 0%, #0b1f4d 52%, #0f2e5a 100%);
    --env-green: #2563eb;
    --env-green-bg: rgba(4, 131, 27, 0.1);
    --env-blue: #004e8f;
    --env-grey: #727271;
    --env-grey-light: #8f8f8f;
    --env-gold: #fcd34d;

    --btn-bg-red: #b83230;

    --ink-primary: #0b1f4d;
    --ink-secondary: #727271;
    --ink-tertiary: #8f8f8f;

    --border-soft: rgba(11, 31, 77, 0.1);
    --shadow-card: 0 8px 24px rgba(11, 31, 77, 0.08);
    --shadow-hover: 0 18px 45px rgba(11, 31, 77, 0.16);

    --font-display: "Lora", Georgia, serif;
    --font-body: "DM Sans", sans-serif;

    --r-pill: 999px;
    --r-lg: 18px;
    --r-xl: 24px;

    --sp-2: 1rem;
    --sp-3: 1.5rem;
    --sp-4: 2rem;
    --sp-5: 2.5rem;
    --sp-6: 3rem;

    --max-w: 1200px;
    --section-pad: 6rem 5%;
}

/* ── COMMON ── */
img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}

.hks-section-inner,
.hks-impact__inner,
.hks-cta__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.hks-section-header,
.hks-impact__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--env-green);
}

.eyebrow--green {
    color: var(--env-green);
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.72);
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #cf2b23; 
    line-height: 1.15;
    margin-bottom: 1rem;
}

.section-heading em {
    color: #004E8F
    ;
    font-style: italic;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--ink-secondary);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}

/* ── BUTTONS ── */
.hks-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.9rem;
    border-radius: var(--r-pill);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hks-btn .material-icons-outlined {
    font-size: 18px;
}

/* Solid green — primary action on any background */
.hks-btn--primary {
    background: var(--btn-bg-red);
    color: #ffffff;
    box-shadow: var(--shadow-card);
}

.hks-btn--primary:hover {
    background: #a32826;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Outline — for use on dark backgrounds (e.g. hero) */
.hks-btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.hks-btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
    transform: translateY(-3px);
}

/* Outline — for use on light backgrounds (e.g. CTA on ivory) */
.hks-btn--outline-dark {
    background: transparent;
    border-color: var(--border-soft);
    color: #004E8F;
}

.hks-btn--outline-dark:hover {
    background: var(--env-green-bg);
    border-color: var(--env-green);
    color: var(--env-green);
    transform: translateY(-3px);
}

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: revealUp 0.65s ease forwards;
}

.reveal-delay-1 {
    animation-delay: 0.1s;
}

.reveal-delay-2 {
    animation-delay: 0.2s;
}

.reveal-delay-3 {
    animation-delay: 0.3s;
}

.reveal-delay-4 {
    animation-delay: 0.4s;
}

.reveal-delay-5 {
    animation-delay: 0.5s;
}

.reveal-delay-6 {
    animation-delay: 0.6s;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── WAVE DIVIDER ── */
.wave-divider {
    display: flex;
    line-height: 0;
    overflow: hidden;
    margin-top: -1px;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: auto;
}

.wave-divider--hks-to-white {
    background: var(--env-hero-bg);
    color: var(--bg-white);
}

.wave-divider--white-to-surface {
    background: var(--bg-white);
    color: var(--bg-surface);
}

.wave-divider--surface-to-white {
    background: var(--bg-surface);
    color: var(--bg-white);
}

.wave-divider--white-to-dark {
    background: var(--bg-white);
    color: var(--env-hero-bg);
}

.wave-divider--dark-to-ivory {
    background: var(--env-hero-bg);
    color: var(--bg-ivory);
}

.wave-divider--ivory-to-white {
    background: var(--bg-ivory);
    color: var(--bg-white);
}

.wave-divider--surface-to-ivory {
    background: var(--bg-surface);
    color: var(--bg-ivory);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        animation: none;
    }

    * {
        scroll-behavior: auto;
    }
}


.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-head .eyebrow-line {
    color: var(--mint-deep);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.section-head h2 {
    font-size: 40px;
    color: #cf2b23; 
    font-weight: 700;
}