@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");
:root {
    --ink: #071c54;
    --paper: #fbfbf8;
    --muted: #5f6880;
    --line: #dbe3f3;
    --gold: #d89a24;
    --coral: #c85745;
    --blue: #0d5cab;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(7, 28, 84, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 32px;
    background: rgba(251, 251, 248, 0.95);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--gold);
    font-weight: 900;
}

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

.brand small {
    color: var(--muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.site-nav a {
    padding: 10px 12px;
    border-radius: 8px;
    color: #13346f;
    font-weight: 700;
    font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.is-active {
    background: #ece7dc;
}

.site-nav .nav-cta {
    background: var(--gold);
    color: #071c54;
}

.menu-button {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 10px;
}

.menu-button span {
    display: block;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
}

.hero {
    position: relative;
    min-height: 76vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 96px 32px;
    color: var(--white);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(7, 28, 84, 0.86), rgba(7, 28, 84, 0.54) 52%, rgba(7, 28, 84, 0.2));
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-copy {
    width: min(720px, 100%);
    margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.eyebrow {
    display: inline-flex;
    color: var(--gold);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.78rem;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 820px;
    margin-bottom: 18px;
    font-size: 4rem;
    line-height: 1.03;
}

h2 {
    margin-bottom: 12px;
    font-size: 2.2rem;
    line-height: 1.1;
}

h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.hero p,
.page-hero p {
    max-width: 690px;
    font-size: 1.15rem;
}

.btn,
button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
}

.btn-primary {
    background: var(--gold);
    color: #071c54;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stats-row {
    width: min(1180px, calc(100% - 32px));
    margin: -34px auto 48px;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.stats-row div {
    padding: 22px;
    border-right: 1px solid var(--line);
}

.stats-row div:last-child {
    border-right: 0;
}

.stats-row strong,
.stats-row span {
    display: block;
}

.stats-row strong {
    font-size: 1.75rem;
}

.stats-row span {
    color: var(--muted);
}

.section,
.form-section,
.article {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 72px;
}

.section-header,
.panel-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.section-header a,
.category-card a,
.post-card a,
.footer-admin {
    color: var(--gold);
    font-weight: 900;
}

.category-grid,
.profile-grid,
.post-grid,
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.category-grid-wide {
    grid-template-columns: repeat(3, 1fr);
}

.category-card,
.profile-card,
.post-card,
.values-grid article,
.info-panel,
.quick-nominate,
.site-form,
.empty-state {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 8px 24px rgba(7, 28, 84, 0.06);
}

.category-card,
.values-grid article,
.info-panel,
.quick-nominate,
.site-form,
.empty-state {
    padding: 24px;
}

.category-card span {
    color: var(--coral);
    font-weight: 900;
}

.criteria {
    margin: 18px 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.section-band {
    width: 100%;
    max-width: none;
    padding: 64px max(16px, calc((100vw - 1180px) / 2));
    background: #f7efd9;
}

.profile-card,
.post-card {
    overflow: hidden;
}

.profile-card img,
.post-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.profile-card div,
.post-card div {
    padding: 18px;
}

.profile-card small {
    color: var(--coral);
    font-weight: 900;
}

.profile-card strong {
    color: var(--blue);
}

.profile-grid-large {
    grid-template-columns: repeat(3, 1fr);
}

.profile-card-large img {
    height: 260px;
}

.profile-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.profile-meta span,
.filter-bar a {
    display: inline-flex;
    padding: 8px 10px;
    border-radius: 8px;
    background: #f4ecd7;
    font-weight: 800;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 24px;
    align-items: start;
}

.steps {
    display: grid;
    gap: 14px;
}

.steps div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: start;
}

.steps span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--gold);
    font-weight: 900;
}

.quick-nominate select {
    width: 100%;
    margin: 8px 0 14px;
}

.page-hero {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 48px;
    padding: 72px 0 24px;
}

.filter-bar {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-bar a.is-active {
    background: var(--ink);
    color: var(--white);
}

.post-grid-large {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 24px;
}

.gallery-strip img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-grid figure {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--ink);
}

.gallery-grid img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    opacity: 0.88;
}

.gallery-grid figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: var(--white);
}

.gallery-grid figcaption strong,
.gallery-grid figcaption span {
    display: block;
}

.article {
    padding-top: 60px;
}

.article > img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 28px;
}

.article-excerpt {
    color: var(--muted);
    font-size: 1.15rem;
}

.article-body {
    max-width: 760px;
}

.site-form {
    display: grid;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

label {
    display: grid;
    gap: 7px;
    font-weight: 900;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #cbc7bd;
    border-radius: 8px;
    padding: 12px;
    background: var(--white);
    color: var(--ink);
}

textarea {
    resize: vertical;
}

.alert {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 800;
}

.alert.success {
    background: #dff2e7;
    color: #154d3d;
}

.alert.error {
    background: #f8ddd6;
    color: #7f2a1c;
}

.clean-list {
    margin: 0;
    padding-left: 18px;
}

.site-footer {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
    padding: 44px 32px;
    background: var(--ink);
    color: var(--white);
}

.site-footer p,
.site-footer a {
    color: #d7d1c4;
}

.site-footer a {
    display: block;
    margin: 7px 0;
}

.brand-footer {
    color: var(--white);
    margin-bottom: 14px;
}

@media (max-width: 960px) {
    .site-header {
        padding: 12px 16px;
    }

    .menu-button {
        display: block;
        order: 3;
    }

    .site-nav {
        display: none;
        position: absolute;
        left: 16px;
        right: 16px;
        top: 70px;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: grid;
    }

    h1 {
        font-size: 2.55rem;
    }

    h2 {
        font-size: 1.85rem;
    }

    .hero {
        min-height: 70vh;
        padding: 72px 16px;
    }

    .stats-row,
    .category-grid,
    .profile-grid,
    .post-grid,
    .values-grid,
    .gallery-strip,
    .gallery-grid,
    .site-footer,
    .split-section,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .stats-row div {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .section-band {
        padding-left: 16px;
        padding-right: 16px;
    }

    .section-header {
        align-items: start;
        flex-direction: column;
    }
}

/* Brand logo: original PNG file is used as-is; CSS frames the transparent canvas. */
.site-header {
    min-height: 96px;
}

.brand {
    min-width: 260px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    overflow: hidden;
}

.brand-logo {
    display: block;
    width: 260px;
    height: 92px;
    object-fit: cover;
    object-position: center 48%;
}

.brand-tagline {
    display: block;
    margin-top: 4px;
    padding-left: 10px;
    color: #0d5cab;
    font-size: 0.68rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.brand-footer .brand-tagline {
    margin-top: 6px;
    color: #77bfff;
}

.brand-logo-footer {
    width: 310px;
    height: 150px;
    max-width: 100%;
}

.filter-bar-inline {
    width: 100%;
    margin: 0 0 24px;
}

.partner-cta-compact {
    margin-top: -28px;
}

.winners-grid article {
    min-height: 390px;
}

@media (max-width: 960px) {
    .brand {
        min-width: 170px;
    }

    .brand-logo {
        width: 170px;
        height: 70px;
    }

    .brand-tagline {
        margin-top: 2px;
        padding-left: 6px;
        font-size: 0.54rem;
    }
}
