:root {
    --brand: #0b18a0;
    --brand-dark: #07106d;
    --ink: #111217;
    --muted: #64666d;
    --paper: #ffffff;
    --page: #f4f5f7;
    --line: #d9dbe1;
    --soft-blue: #eef0ff;
}

* {
    box-sizing: border-box;
}

html {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    background: var(--page);
    color: var(--ink);
}

body {
    margin: 0;
    background: var(--page);
}

img {
    max-width: 100%;
}

a {
    color: inherit;
}

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

.site-header {
    background: #090909;
    color: #fff;
    border-bottom: 5px solid var(--brand);
}

.masthead {
    min-height: 94px;
    display: flex;
    align-items: center;
    padding: 12px 0;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    display: block;
    width: 68px;
    height: 68px;
    object-fit: contain;
    flex: 0 0 68px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-copy strong {
    font-family: Georgia, serif;
    font-size: clamp(29px, 5vw, 46px);
    line-height: 1;
    white-space: nowrap;
}

.brand-copy small {
    margin-top: 7px;
    color: #c8c8cb;
    font-size: 14px;
}

.main-nav {
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.nav-scroll {
    display: flex;
    align-items: stretch;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar {
    display: none;
}

.main-nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 16px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 750;
}

.main-nav a:first-child {
    padding-left: 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--brand);
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 4px;
    background: var(--brand);
}

.main-nav a:first-child.active::after {
    left: 0;
}

.hero-wrap {
    padding-top: 34px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 6vw, 64px);
    background: #1c1d20;
    color: #fff;
    border-left: 8px solid var(--brand);
    border-radius: 8px;
}

.hero::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -160px;
    top: -175px;
    border-radius: 50%;
    background: rgba(11,24,160,.42);
}

.hero h1 {
    position: relative;
    max-width: 780px;
    margin: 10px 0 18px;
    font-family: Georgia, serif;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.02;
    z-index: 1;
}

.hero p {
    position: relative;
    max-width: 710px;
    margin: 0;
    color: #d7d8dc;
    font-size: 18px;
    line-height: 1.6;
    z-index: 1;
}

.kicker,
.overline {
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: 12px;
    font-weight: 850;
}

.content-section {
    padding-top: 42px;
}

.page-top {
    padding-top: 24px;
}

.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 10px;
    margin-bottom: 22px;
    border-bottom: 4px solid var(--brand);
}

.section-title.compact {
    margin-bottom: 17px;
}

.section-title h1,
.section-title h2 {
    margin: 2px 0 0;
    font-family: Georgia, serif;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.05;
}

.story-count {
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.section-link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 750;
}

.section-intro {
    max-width: 720px;
    color: #55585f;
    font-size: 17px;
    line-height: 1.6;
    margin: -6px 0 28px;
}

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

.story-card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border-top: 4px solid var(--brand);
    box-shadow: 0 2px 9px rgba(0,0,0,.07);
    border-radius: 4px;
}

.story-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e8e9ed;
}

.story-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-card-body {
    padding: 20px 20px 19px;
}

.story-card h3 {
    margin: 7px 0 11px;
    font-family: Georgia, serif;
    font-size: 24px;
    line-height: 1.15;
}

.story-card h3 a {
    text-decoration: none;
}

.story-card h3 a:hover {
    color: var(--brand);
}

.story-card p {
    color: #53565c;
    line-height: 1.55;
}

.story-meta,
.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    color: #777a81;
    font-size: 12px;
}

.meta-dot {
    color: var(--brand);
}

.area-band {
    margin-top: 58px;
    padding: 38px 0 46px;
    background: #fff;
    border-top: 1px solid var(--line);
}

.ward-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.ward-pills a {
    padding: 9px 13px;
    border: 1px solid #cfd2db;
    border-radius: 999px;
    background: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
}

.ward-pills a:hover {
    color: #fff;
    background: var(--brand);
    border-color: var(--brand);
}

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

.ward-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-height: 92px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--brand);
    text-decoration: none;
}

.ward-card:hover {
    background: var(--soft-blue);
}

.ward-card strong {
    font-family: Georgia, serif;
    font-size: 20px;
}

.ward-card span {
    color: var(--muted);
    font-size: 12px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0 20px;
    color: #666970;
    font-size: 13px;
}

.breadcrumbs a {
    color: var(--brand);
    text-decoration: none;
}

.crumb-sep {
    color: #a5a6aa;
}

.article-shell {
    max-width: 950px;
    padding-top: 24px;
}

.article {
    background: #fff;
    padding: clamp(25px, 6vw, 58px);
    border-top: 6px solid var(--brand);
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.article h1 {
    margin: 8px 0 14px;
    font-family: Georgia, serif;
    font-size: clamp(38px, 7vw, 64px);
    line-height: 1.03;
}

.article-ward {
    color: var(--brand);
    font-weight: 700;
}

.standfirst {
    margin: 23px 0;
    color: #3e4147;
    font-family: Georgia, serif;
    font-size: 21px;
    line-height: 1.55;
    font-weight: 600;
}

.article-image {
    margin: 28px 0;
}

.article-image img {
    display: block;
    width: 100%;
    height: auto;
}

.article-body {
    font-family: Georgia, serif;
    font-size: 19px;
    line-height: 1.75;
}

.article-body p {
    margin: 0 0 1.25em;
}

.source-note {
    margin-top: 34px;
    padding-top: 17px;
    border-top: 1px solid var(--line);
    color: #65686e;
    font-size: 13px;
}

.source-note a {
    color: var(--brand);
}

.empty-state {
    grid-column: 1 / -1;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--brand);
}

.empty-state strong {
    font-size: 19px;
}

.site-footer {
    margin-top: 70px;
    padding: 38px 0;
    background: #090909;
    color: #d4d4d7;
    border-top: 5px solid var(--brand);
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.site-footer strong {
    color: #fff;
    font-family: Georgia, serif;
    font-size: 24px;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 850px) {
    .story-grid,
    .ward-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .wrap {
        width: min(100% - 24px, 1180px);
    }

    .masthead {
        min-height: 75px;
    }

    .brand-mark {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }

    .brand-copy strong {
        font-size: 29px;
    }

    .brand-copy small {
        font-size: 12px;
    }

    .main-nav a {
        min-height: 48px;
        padding: 0 13px;
    }

    .hero-wrap {
        padding-top: 18px;
    }

    .hero {
        padding: 28px 25px;
        border-left-width: 6px;
    }

    .story-grid,
    .ward-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        align-items: end;
    }

    .article {
        padding: 27px 22px;
    }

    .article-body {
        font-size: 18px;
    }

    .footer-grid {
        flex-direction: column;
    }
}
