/* Home page: hero, statement, quick links, values and mission, strategic targets, partners. Tokens come from theme.css. */

#homepage-container { display: block; }

/* ===== hero ===== */
.home-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: 2rem;
    padding: clamp(1.8rem, 4vw, 3.5rem) clamp(1.4rem, 4vw, 4rem);
    border-radius: var(--radius-lg);
    background: linear-gradient(115deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--blue-600) 100%);
    color: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
/* three soft bands, an echo of the stripes behind the bust on the crest */
.home-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(105deg, transparent 52%, rgba(155, 187, 214, .14) 52% 58%, transparent 58% 62%, rgba(155, 187, 214, .09) 62% 68%, transparent 68% 72%, rgba(179, 154, 102, .16) 72% 76%, transparent 76%);
    pointer-events: none;
}
.home-hero > * { position: relative; }
.home-eyebrow { margin: 0 0 .8rem; color: var(--blue-100); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.home-hero h1 { margin: 0 0 1rem; color: #fff; font-size: clamp(2.2rem, 1.2rem + 4vw, 4rem); line-height: 1.05; }
.home-quote { margin: 0 0 1.8rem; font-family: var(--font-display); font-style: italic; font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); color: var(--blue-100); }
.home-quote span { display: block; margin-top: .3rem; font-size: .9em; color: var(--blue-300); }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.home-hero .btn-light { color: var(--navy-700); }
.home-hero .btn-outline-light:hover { color: var(--navy-700); }
.home-hero-crest {
    justify-self: center;
    width: min(100%, 340px);
    height: auto;
    filter: drop-shadow(0 18px 32px rgba(0, 0, 0, .35));
}
@media (max-width: 767.98px) {
    .home-hero { grid-template-columns: 1fr; text-align: center; gap: 1.2rem; }
    .home-hero-crest { grid-row: 1; width: 150px; }
    .home-hero-actions { justify-content: center; }
}

/* ===== statement ===== */
.home-statement {
    max-width: 52rem;
    margin: 2.4rem auto;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1rem + 1.5vw, 2rem);
    font-weight: 500;
    line-height: 1.35;
    color: var(--navy-700);
}
.home-statement::before, .home-statement::after { content: ''; display: block; width: 4rem; height: 3px; margin: 0 auto; background: var(--gold-500); border-radius: 2px; }
.home-statement::before { margin-bottom: 1.2rem; }
.home-statement::after { margin-top: 1.2rem; }

/* ===== quick links ===== */
.home-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2.4rem; }
.home-link {
    display: flex; flex-direction: column; gap: .35rem;
    padding: 1.3rem 1.3rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: var(--ink);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.home-link:hover, .home-link:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-300); color: var(--ink); text-decoration: none; }
.home-link svg { box-sizing: content-box; width: 1.4rem; height: 1.4rem; margin-bottom: .4rem; padding: .5rem; border-radius: 12px; background: var(--blue-100); fill: none; stroke: var(--navy-700); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-link strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy-900); }
.home-link span { color: var(--muted); font-size: .92rem; line-height: 1.4; }
@media (max-width: 991.98px) { .home-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .home-links { grid-template-columns: 1fr; } }

/* ===== values and mission ===== */
.home-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.5rem; margin-bottom: 2.4rem; }
.home-split .card-soft { padding: clamp(1.4rem, 3vw, 2.2rem); }
.home-h2 { margin: 0 0 1.2rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.acrostics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; }
.acrostic { list-style: none; margin: 0; padding: 0; }
.acrostic li { display: flex; align-items: baseline; gap: .15rem; line-height: 1.05; margin-bottom: .55rem; font-family: var(--font-display); }
.acrostic b { font-size: 2.1rem; font-weight: 700; color: var(--navy-700); }
.acrostic li > span[aria-hidden] { font-size: 1.02rem; font-weight: 600; color: var(--blue-600); letter-spacing: .02em; text-transform: uppercase; }
.home-mission { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(160deg, var(--blue-50) 0%, var(--surface) 70%); }
.home-mission p { margin: 0; font-size: 1.08rem; line-height: 1.75; }
@media (max-width: 991.98px) { .home-split { grid-template-columns: 1fr; } }
@media (max-width: 479.98px) { .acrostic b { font-size: 1.8rem; } .acrostic li > span[aria-hidden] { font-size: .85rem; } }

/* ===== strategic targets ===== */
.home-targets { margin-bottom: 2.4rem; }
.targets { counter-reset: target; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.targets li { position: relative; padding: 1.6rem 1.6rem 1.5rem 4.6rem; counter-increment: target; }
.targets li::before {
    content: counter(target);
    position: absolute; left: 1.4rem; top: 1.5rem;
    width: 2.3rem; height: 2.3rem; display: grid; place-items: center;
    border-radius: 50%; background: var(--navy-700); color: #fff;
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.targets h3 { margin: 0 0 .6rem; font-size: 1.18rem; line-height: 1.3; }
.targets p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.65; }
@media (max-width: 767.98px) { .targets { grid-template-columns: 1fr; } .targets li { padding: 1.3rem 1.2rem 1.3rem 4rem; } .targets li::before { left: 1rem; top: 1.25rem; } }

/* ===== partners ===== */
.home-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem 1.2rem; }
.home-partners a {
    display: flex; align-items: center; justify-content: center;
    padding: .9rem 1.3rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    transition: box-shadow .15s ease, transform .15s ease;
}
.home-partners a:hover, .home-partners a:focus-visible { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.home-partners img { height: 60px; width: auto; max-width: 100%; object-fit: contain; }
