* {
    box-sizing: border-box
}

body {
    margin: 0;
    color: #243449;
    font: 16px/1.65 system-ui, -apple-system, Segoe UI, sans-serif;
    background: #fff
}

a {
    color: #17518c
}

header {
    background: #123b63;
    color: white
}

.top {
    max-width: 1100px;
    margin: auto;
    padding: 24px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}


/* CATA branding - traditional serif style */
.brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.15;
}

.brand small {
    display: block;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    line-height: 1.5;
    margin-top: 7px;
    padding-top: 7px;
    border-top: 2px solid #e4b65c;
}


nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap
}

nav a {
    color: white;
    text-decoration: none;
    font-size: .94rem
}

nav a:hover,
nav a[aria-current] {
    text-decoration: underline
}

.hero {
    position: relative;
    min-height: 440px;
    background: linear-gradient(90deg, rgba(7, 29, 50, .85), rgba(7, 29, 50, .15)), url('building.png') center 54%/cover;
    display: flex;
    align-items: center
}

.hero .inner {
    max-width: 1100px;
    width: 100%;
    margin: auto;
    padding: 70px 22px;
    color: white
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: .82rem;
    font-weight: 700;
    color: #a7d2f5
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    max-width: 670px;
    line-height: 1.12;
    margin: 12px 0 20px
}

.hero p {
    max-width: 520px;
    font-size: 1.15rem
}

.button {
    display: inline-block;
    background: #e4b65c;
    color: #17324e;
    text-decoration: none;
    padding: 12px 21px;
    border-radius: 4px;
    font-weight: 750;
    margin-top: 14px
}

.wrap {
    max-width: 1100px;
    margin: auto;
    padding: 58px 22px
}

.wrap h1,
.wrap h2 {
    color: #123b63;
    line-height: 1.2
}

.intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px
}

.notice {
    background: #f1f6fa;
    border-left: 5px solid #27699d;
    padding: 25px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px
}

.card {
    border: 1px solid #dce5ed;
    border-radius: 6px;
    padding: 24px;
    background: #fff
}

.card h3 {
    color: #123b63;
    margin-top: 0
}

.muted {
    color: #5b6979;
    font-size: .9rem
}

.light {
    background: #f5f8fb
}

footer {
    background: #123b63;
    color: #e5eff7;
    padding: 30px 22px;
    text-align: center
}

footer a {
    color: white
}

.page-head {
    background: #edf4f9;
    padding: 44px 0
}

.page-head .wrap {
    padding-top: 0;
    padding-bottom: 0
}

.page-head h1 {
    margin: 0
}

.content {
    max-width: 800px
}

.content p {
    margin-bottom: 22px
}

@media(max-width:720px) {
    .top {
        display: block
    }

    .brand {
        display: block;
        margin-bottom: 17px
    }

    nav {
        gap: 12px 18px
    }

    .hero {
        min-height: 390px
    }

    .intro,
    .cards {
        grid-template-columns: 1fr
    }

    .wrap {
        padding: 38px 20px
    }
}


/* CATA logo color and underline fixes */
header .brand,
header .brand:visited,
header .brand:hover {
    color: #ffffff;
    text-decoration: none;
}

header .brand small {
    color: #e5eff7;
    border-top: 2px solid #e4b65c;
    width: fit-content;
    padding-top: 8px;
    margin-top: 8px;
}

/* Larger CATA header branding */
header .brand {
    font-size: 3rem;
    line-height: 1.1;
}

header .brand small {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
    margin-top: 10px;
    padding-top: 10px;
}

/* Keep branding proportional on mobile */
@media (max-width: 720px) {
    header .brand {
        font-size: 2.4rem;
    }

    header .brand small {
        font-size: 0.7rem;
    }
}
