:root {
    --ink: #17212b;
    --muted: #5c6977;
    --line: #d9e1e8;
    --paper: #fbfcfd;
    --navy: #0b4f71;
    --teal: #0f766e;
    --gold: #d99a21;
    --green: #446b3c;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: var(--navy);
    border-radius: 8px;
    font-weight: 700;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 0.84rem;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.site-nav a {
    padding: 8px 10px;
    color: var(--muted);
    text-decoration: none;
    border-radius: 6px;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--navy);
    background: #edf6f8;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, 0.7fr);
    gap: 32px;
    min-height: calc(100vh - 170px);
    align-items: center;
    padding: clamp(48px, 8vw, 110px) clamp(18px, 5vw, 72px);
    background:
        linear-gradient(90deg, rgba(251, 252, 253, 0.96), rgba(251, 252, 253, 0.7)),
        url("https://kingsburycollege.org/wp-content/uploads/2024/05/pexels-pixabay-261821.webp") center/cover;
}

.hero h1,
.page-hero h1,
.section h2 {
    margin: 0 0 14px;
    line-height: 1.08;
}

.hero h1 {
    max-width: 820px;
    font-size: clamp(3rem, 8vw, 6.4rem);
}

.hero p {
    max-width: 720px;
    font-size: 1.14rem;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
}

.button.primary {
    color: var(--white);
    background: var(--navy);
    border-color: var(--navy);
}

.button.secondary {
    color: var(--navy);
    background: var(--white);
}

.hero-panel {
    padding: 26px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.stat {
    display: block;
    color: var(--gold);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.section,
.content-page {
    padding: clamp(42px, 6vw, 78px) clamp(18px, 5vw, 72px);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 26px;
}

.page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.page-card {
    min-height: 190px;
    padding: 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
}

.page-card:hover {
    border-color: var(--teal);
}

.page-card h3 {
    margin-top: 0;
}

.page-card p,
.muted {
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 28px;
    align-items: start;
    background: #eef4f1;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0;
}

.metrics div {
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.metrics dt {
    color: var(--green);
    font-size: 2.2rem;
    font-weight: 700;
}

.metrics dd {
    margin: 0;
    color: var(--muted);
}

.page-hero {
    max-width: 900px;
    padding-bottom: 28px;
}

.page-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.content-body {
    max-width: 980px;
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.content-body img {
    max-width: 100%;
    height: auto;
}

.content-body h2,
.content-body h3 {
    margin-top: 1.6em;
}

.site-footer {
    padding: 26px clamp(18px, 5vw, 72px);
    color: var(--muted);
    border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
    .site-header,
    .hero,
    .split {
        display: block;
    }

    .site-nav {
        justify-content: flex-start;
        margin-top: 14px;
    }

    .hero-panel {
        margin-top: 28px;
    }

    .page-grid,
    .metrics {
        grid-template-columns: 1fr;
    }
}
