*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --white: #ffffff;
    --cream: #faf9f7;
    --stone: #f0eeeb;
    --warm-gray: #ddd8d2;
    --border: rgba(44, 44, 44, 0.08);
    --text: #1e1e1e;
    --text-muted: #7a7570;
    --accent: #1a5f4a;
    --accent-dark: #144a3a;
    --gold: #c9a227;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.09), 0 4px 12px rgba(0, 0, 0, 0.05);
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --nav-h: 64px;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.landing,
.location-detail {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(26, 95, 74, 0.06), transparent),
        linear-gradient(180deg, var(--cream) 0%, var(--stone) 100%);
}

.page {
    position: relative;
    z-index: 0;
    min-height: 100dvh;
    max-width: 1080px;
    margin: 0 auto;
    padding: clamp(1rem, 2.5vw, 1.75rem) clamp(1rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2.5vh, 1.5rem);
}

.landing .page {
    max-width: min(1440px, 100%);
    height: auto;
    min-height: calc(100dvh - var(--nav-h));
    padding: clamp(0.85rem, 1.8vw, 1.35rem) clamp(1.1rem, 2.8vw, 2rem);
    gap: clamp(0.65rem, 1.4vh, 1rem);
    overflow: visible;
}

.landing-hero {
    display: flex;
    flex-direction: column;
    gap: inherit;
    min-height: calc(100dvh - var(--nav-h) - 2.5rem);
}

.landing-hero .main {
    flex: 1;
}

/* ── Site nav ── */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    /* Keep overflow visible so the Dashboards menu can extend below the bar.
       backdrop-filter on this same box would clip it on some browsers. */
    overflow: visible;
}

.site-nav__inner {
    position: relative;
    z-index: 1;
    max-width: min(1440px, 100%);
    height: var(--nav-h);
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.8vw, 2rem);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(250, 249, 247, 0.96);
    border-bottom: 1px solid var(--border);
}

.site-nav__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-nav__brand-img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.site-nav__obs {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 0.35rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--border);
    text-decoration: none;
    opacity: 0.92;
    transition: opacity 0.15s var(--ease);
}

.site-nav__obs:hover {
    opacity: 1;
}

.site-nav__obs-img {
    display: block;
    height: 36px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
}

.site-nav__toggle {
    display: none;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.site-nav__toggle-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--text);
    border-radius: 1px;
}

.site-nav__panel {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.site-nav__links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.site-nav__link:hover {
    background: rgba(26, 95, 74, 0.08);
    color: var(--accent-dark);
}

.site-nav__link.is-active {
    background: rgba(26, 95, 74, 0.12);
    color: var(--accent-dark);
}

.site-nav__dropdown {
    position: relative;
    z-index: 2;
}

.site-nav__chevron {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.7;
    transition: transform 0.15s var(--ease);
}

.site-nav__dropdown.is-open .site-nav__chevron {
    transform: rotate(180deg);
}

.site-nav__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    right: 0;
    z-index: 200;
    min-width: 280px;
    max-height: min(70vh, 480px);
    overflow: auto;
    list-style: none;
    margin: 0;
    padding: 0.4rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.site-nav__menu[hidden] {
    display: none;
}

.site-nav__menu-link {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s var(--ease);
}

.site-nav__menu-link:hover {
    background: rgba(26, 95, 74, 0.08);
}

.site-nav__menu-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.site-nav__menu-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ── Header ── */
.header {
    flex-shrink: 0;
    animation: fadeDown 0.6s var(--ease-out) both;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.75rem, 1.8vh, 1rem);
}

.header--brand {
    display: flex;
    justify-content: center;
}

.logo-mark {
    width: 100%;
    max-width: 720px;
    height: clamp(130px, 21vh, 210px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.65rem, 1.5vw, 1rem) clamp(1rem, 2.5vw, 1.5rem);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.logo-mark--brand {
    max-width: 480px;
    height: clamp(88px, 12vh, 130px);
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-lg);
}

.logo-mark:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.logo-img--main {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.coming-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin: 0;
    padding: 0.55rem 1.35rem;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow:
        var(--shadow-sm),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: fadeDown 0.6s var(--ease-out) 0.08s both;
}

.coming-soon__dot {
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.35);
    animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.65; transform: scale(0.92); }
}

/* ── Main ── */
.main {
    flex: 1;
    display: flex;
    align-items: flex-start;
    min-height: 0;
    animation: fadeUp 0.6s var(--ease-out) 0.12s both;
}

/* Landing split: partners left, map right */
.landing-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
    gap: clamp(0.85rem, 1.6vw, 1.35rem);
    align-items: stretch;
}

.partners-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 0.55rem;
}

.partners-label {
    margin: 0;
    padding-left: 0.15rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.map-panel {
    min-width: 0;
    min-height: 0;
    display: flex;
    height: 100%;
}

/* ── GM borough map ── */
.gm-map-box {
    width: 100%;
    height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        radial-gradient(circle at 35% 30%, rgba(26, 95, 74, 0.07), transparent 48%),
        radial-gradient(circle at 70% 70%, rgba(201, 162, 39, 0.06), transparent 50%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 238, 235, 0.88) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: clamp(0.85rem, 1.8vw, 1.35rem) clamp(0.85rem, 2vw, 1.5rem) 0.7rem;
    overflow: hidden;
}

.gm-map {
    width: 100%;
    height: 100%;
    flex: 1;
    display: block;
    min-height: 0;
    filter: drop-shadow(0 12px 28px rgba(26, 95, 74, 0.14));
}

.gm-map .gm-area {
    fill: #1a5f4a;
    stroke: #ffffff;
    stroke-width: 0.32;
    stroke-linejoin: round;
    cursor: pointer;
    transition: fill 0.18s var(--ease), filter 0.18s var(--ease);
    animation: gmRegionPulse 2s ease-in-out infinite;
}

.gm-map .gm-area--action-together { fill: #1a5f4a; }
.gm-map .gm-area--manchester { fill: #24856b; }
.gm-map .gm-area--salford { fill: #2a7a62; }
.gm-map .gm-area--stockport { fill: #1f6f58; }
.gm-map .gm-area--trafford { fill: #2d9474; }
.gm-map .gm-area--wigan { fill: #166650; }
.gm-map .gm-area--bolton { fill: #217a5f; }
.gm-map .gm-area--bury { fill: #3d8f76; }

.gm-map .gm-map-link:hover .gm-area,
.gm-map .gm-map-link:focus-visible .gm-area {
    fill: #0f3d30;
    animation: none;
    filter: brightness(1.08) drop-shadow(0 0 4px rgba(26, 95, 74, 0.45));
}

.gm-map .gm-map-link:focus-visible {
    outline: none;
}

.gm-map .gm-label-bg {
    fill: #0f172a;
    opacity: 0.9;
}

.gm-map .gm-label-text {
    fill: #fff;
    font-weight: 600;
    font-family: "Source Sans 3", system-ui, sans-serif;
}

.gm-map-foot {
    margin: 0.65rem 0 0.1rem;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent);
}

@keyframes gmRegionPulse {
    0%, 100% {
        fill-opacity: 1;
        filter: drop-shadow(0 0 0 rgba(26, 95, 74, 0));
    }
    50% {
        fill-opacity: 0.78;
        filter: drop-shadow(0 0 6px rgba(26, 95, 74, 0.4));
    }
}

/* ── Partner logos ── */
.logo-grid {
    list-style: none;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(0.45rem, 1vw, 0.65rem);
    flex-shrink: 0;
}

.logo-grid--partners {
    flex: 1;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 0.55rem;
    min-height: 0;
}

.logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0.55rem 0.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition:
        transform 0.25s var(--ease),
        box-shadow 0.25s var(--ease),
        border-color 0.25s var(--ease);
    animation: cardReveal 0.5s var(--ease-out) calc(0.15s + var(--delay, 0) * 0.03s) both;
}

.logo-card:hover {
    transform: translateY(-2px);
    border-color: rgba(26, 95, 74, 0.18);
    box-shadow: var(--shadow-md);
}

.logo-card-link {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    outline: none;
}

.logo-card-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 8px;
}

.logo-card .logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 88%;
    max-height: min(56px, 8vh);
    object-fit: contain;
    transition: transform 0.25s var(--ease);
}

.logo-card:hover .logo-img {
    transform: scale(1.03);
}

/* ── Location detail ── */
.location-detail .page {
    max-width: min(1100px, 100%);
    min-height: calc(100dvh - var(--nav-h));
}

.location-detail .main {
    justify-content: flex-start;
    align-items: stretch;
    flex: 1;
}

.header--lio {
    text-align: center;
}

.header--lio .header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.header--lio .logo-mark {
    max-width: min(320px, 72vw);
}

.lio-boroughs {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
}

.location-main {
    flex-direction: column;
    align-items: center;
    gap: clamp(1.1rem, 2.4vh, 1.75rem);
    width: 100%;
}

.location-main--split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

.lio-map-panel {
    width: 100%;
    min-height: 0;
    display: flex;
}

.gm-map-box--lio {
    width: 100%;
    min-height: min(48vh, 460px);
    aspect-ratio: 1 / 1;
    max-height: min(58vh, 540px);
}

.gm-map-box--lio .gm-map {
    min-height: 0;
    width: 100%;
    height: 100%;
}

.gm-map--lio .gm-area {
    stroke-width: 0.45;
    cursor: default;
    animation: gmRegionPulse 2.4s ease-in-out infinite;
}

.gm-map--lio .gm-map-link {
    pointer-events: none;
}

.gm-map--lio.gm-map--interactive .gm-map-link {
    pointer-events: auto;
}

.gm-map--lio.gm-map--interactive .gm-area {
    cursor: pointer;
    animation: none;
}

.gm-map--lio.gm-map--interactive .gm-map-link:hover .gm-area,
.gm-map--lio.gm-map--interactive .gm-map-link:focus-visible .gm-area {
    filter: brightness(1.12);
}

.gm-map--lio .gm-label-text {
    font-size: 1.55px;
}

.lio-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    padding: clamp(0.5rem, 1.5vw, 0.75rem) 0;
    min-width: 0;
}

.lio-side__title {
    margin: 0;
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--accent-dark);
    line-height: 1.2;
}

.lio-side__lead {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 34ch;
}

.lio-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.7rem;
    width: 100%;
    max-width: 340px;
    margin-top: 0.5rem;
}

.lio-actions__label {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.lio-area-dash {
    width: 100%;
    background: linear-gradient(165deg, #f3faf7 0%, #fff 70%);
    border: 1.5px solid rgba(26, 95, 74, 0.2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(26, 95, 74, 0.06);
}

.lio-area-dash__label {
    margin: 0;
    padding: 0.55rem 0.9rem 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: 1px solid rgba(26, 95, 74, 0.1);
}

.lio-area-dash__list {
    display: flex;
    flex-direction: column;
}

.lio-area-dash__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--accent-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(26, 95, 74, 0.08);
    transition: background 0.15s var(--ease), color 0.15s var(--ease);
}

.lio-area-dash__link:last-child {
    border-bottom: none;
}

.lio-area-dash__link:hover {
    background: rgba(26, 95, 74, 0.07);
    color: var(--accent);
}

.lio-area-dash__link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.lio-area-dash__go {
    color: var(--accent);
    font-size: 0.95rem;
    opacity: 0.7;
}

.lio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    color: var(--accent-dark);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    padding: 0.92rem 1.2rem;
    background: var(--white);
    border: 1.5px solid rgba(26, 95, 74, 0.22);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(20, 74, 58, 0.04);
    transition:
        background 0.18s var(--ease),
        color 0.18s var(--ease),
        border-color 0.18s var(--ease),
        box-shadow 0.18s var(--ease),
        transform 0.18s var(--ease);
}

.lio-btn__icon {
    font-size: 0.85em;
    opacity: 0.85;
    line-height: 1;
}

.lio-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(20, 74, 58, 0.12);
}

.lio-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.lio-btn--primary {
    background: linear-gradient(180deg, #1f6b54 0%, var(--accent) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(26, 95, 74, 0.28);
}

.lio-btn--primary:hover {
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    border-color: transparent;
}

.lio-btn--secondary {
    background: #fff;
    color: var(--accent);
    border-color: rgba(26, 95, 74, 0.35);
}

.lio-btn--secondary:hover {
    background: rgba(26, 95, 74, 0.06);
    color: var(--accent-dark);
    border-color: var(--accent);
}

.lio-btn--report {
    background: linear-gradient(180deg, #fffaf3 0%, #fff4e6 100%);
    color: #9a4d0f;
    border-color: #f0c48a;
    box-shadow: 0 2px 8px rgba(154, 77, 15, 0.08);
}

.lio-btn--report:hover {
    background: linear-gradient(180deg, #fff4e6 0%, #ffe8cc 100%);
    color: #7a3b08;
    border-color: #e0a85c;
}

.lio-btn--ghost {
    background: transparent;
    color: var(--text-muted);
    border-color: transparent;
    box-shadow: none;
    font-weight: 600;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.lio-btn--ghost:hover {
    background: transparent;
    color: var(--accent-dark);
    border-color: transparent;
    box-shadow: none;
    text-decoration: underline;
    text-underline-offset: 3px;
    transform: none;
}

.lio-report-actions {
    width: 100%;
}

.lio-report-actions .report-actions {
    justify-content: stretch;
}

.lio-report-actions .report-btn {
    flex: 1;
    padding: 0.85rem 0.9rem;
}

@media (max-width: 820px) {
    .location-main--split {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .lio-side {
        align-items: center;
        text-align: center;
    }

    .lio-side__lead {
        max-width: 42ch;
    }

    .lio-actions {
        max-width: 360px;
        margin-inline: auto;
    }

    .gm-map-box--lio {
        max-width: min(420px, 100%);
        margin-inline: auto;
        min-height: min(42vh, 380px);
        max-height: none;
    }
}

/* ── Content pages (glossary, build report) ── */
.content-page .page {
    max-width: 820px;
}

.content-card {
    width: 100%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: clamp(1.35rem, 3vw, 2rem);
    animation: fadeUp 0.5s var(--ease-out) both;
}

.content-card__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--accent-dark);
    letter-spacing: -0.02em;
}

.content-card__lead {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--text);
}

.content-card--centred {
    text-align: center;
    max-width: 36rem;
    margin: 2.5rem auto 0;
    padding: clamp(2.25rem, 5vw, 3.25rem) clamp(1.5rem, 4vw, 2.5rem);
}

.content-card--centred .content-card__lead {
    margin-bottom: 0;
    color: var(--text-muted);
}

.content-card__eyebrow {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.content-card__body {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.glossary-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.glossary-item {
    padding: 0.9rem 1rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.glossary-item dt {
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 0.25rem;
}

.glossary-item dd {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Coming-soon modal (PDF placeholders) ── */
.cs-modal[hidden] {
    display: none !important;
}

.cs-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.cs-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
}

.cs-modal__panel {
    position: relative;
    width: min(420px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.6rem 1.5rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
    text-align: center;
    animation: fadeUp 0.28s var(--ease-out) both;
}

.cs-modal__close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
}

.cs-modal__close:hover {
    background: #e2e8f0;
    color: var(--text);
}

.cs-modal__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #b45309;
}

.cs-modal__title {
    margin: 0 0 0.55rem;
    font-size: 1.45rem;
    color: var(--accent-dark);
}

.cs-modal__body {
    margin: 0 0 1.25rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.cs-modal__btn {
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 650;
    color: #fff;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1.35rem;
    cursor: pointer;
}

.cs-modal__btn:hover {
    background: var(--accent-dark);
}

/* ── Reports & resources ── */
.reports-page .page {
    max-width: 1180px;
}

.reports-hero {
    text-align: center;
    margin: 0.75rem 0 2rem;
}

.reports-hero__title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.9rem, 3.5vw, 2.45rem);
    font-weight: 700;
    color: var(--accent-dark);
    letter-spacing: -0.02em;
}

.reports-hero__lead {
    margin: 0 auto;
    max-width: 48rem;
    color: var(--text-muted);
    font-size: 1.12rem;
    line-height: 1.55;
}

.reports-section-title {
    margin: 2.4rem 0 0.45rem;
    font-size: 1.4rem;
    color: var(--accent-dark);
}

.reports-section-lead {
    margin: 0 0 1.35rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.report-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.45rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: var(--shadow-xs);
    height: 100%;
    min-height: 12.5rem;
}

.report-card--featured {
    padding: 1.85rem 2rem;
    border-color: rgba(26, 95, 74, 0.28);
    background: linear-gradient(135deg, #f3faf7 0%, #fff 55%);
    box-shadow: 0 10px 28px rgba(26, 95, 74, 0.1);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    flex-wrap: wrap;
    min-height: 10.5rem;
}

.report-card__main {
    flex: 1;
    min-width: min(100%, 360px);
}

.report-card__badge {
    display: inline-flex;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(26, 95, 74, 0.1);
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    margin-bottom: 0.9rem;
}

.report-card__body {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
    flex: 1;
}

.report-card__brand {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem;
}

.report-card--featured .report-card__brand {
    width: 108px;
    height: 108px;
    border-radius: 16px;
}

.report-card__logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.report-card__copy {
    min-width: 0;
    flex: 1;
}

.report-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.22rem;
    color: var(--accent-dark);
    line-height: 1.3;
    /* Keep titles to 2 lines so cards stay even */
    min-height: 2.6em;
}

.report-card--featured .report-card__title {
    font-size: clamp(1.45rem, 2.4vw, 1.75rem);
    min-height: 0;
}

.report-card__meta {
    margin: 0;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.45;
    min-height: 1.45em;
}

.report-card--featured .report-card__meta {
    font-size: 1.08rem;
    min-height: 0;
}

.report-card__status {
    margin: 0.55rem 0 0;
    font-size: 0.95rem;
    font-weight: 650;
    color: #b45309;
    min-height: 1.4em;
}

.report-card--featured .report-card__status {
    font-size: 1.02rem;
    min-height: 0;
}

.report-card__actions,
.report-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    width: 100%;
    margin-top: auto;
    align-items: stretch;
}

.report-card--featured .report-actions {
    width: auto;
    min-width: 240px;
    margin-top: 0;
}

.report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
    border-radius: 11px;
    padding: 0.72rem 1rem;
    border: 1.5px solid transparent;
    transition: background 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}

.report-card--featured .report-btn {
    font-size: 1.02rem;
    padding: 0.85rem 1.15rem;
}

.report-btn__icon {
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

.report-btn--view {
    background: #fff;
    color: var(--accent);
    border-color: rgba(26, 95, 74, 0.3);
}

.report-btn--view:hover {
    background: rgba(26, 95, 74, 0.07);
    color: var(--accent-dark);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.report-btn--download {
    background: linear-gradient(180deg, #fffaf3 0%, #fff4e6 100%);
    color: #9a4d0f;
    border-color: #f0c48a;
}

.report-btn--download:hover {
    background: linear-gradient(180deg, #fff4e6 0%, #ffe8cc 100%);
    border-color: #e0a85c;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .reports-grid {
        grid-template-columns: 1fr;
    }

    .report-card--featured {
        flex-direction: column;
        align-items: stretch;
    }

    .report-card--featured .report-actions {
        width: 100%;
        min-width: 0;
    }

    .report-card__title {
        min-height: 0;
    }
}

/* ── Footer ── */
.footer {
    flex-shrink: 0;
    text-align: center;
    padding-top: clamp(0.75rem, 1.5vh, 1rem);
    border-top: 1px solid var(--warm-gray);
    animation: fadeUp 0.6s var(--ease-out) 0.2s both;
}

.footer--slim {
    padding-top: 0.45rem;
    border-top: none;
}

.footer p,
.footer .map-credit {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.footer .map-credit a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer .map-credit a:hover {
    color: var(--accent);
}

/* ── Observatory about ── */
.obs-about {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-top: 0.5rem;
    box-shadow: var(--shadow-xs);
}

.landing .obs-about {
    max-width: none;
}

.obs-about__inner {
    max-width: 980px;
    margin: 0 auto;
}

.obs-about__head {
    display: flex;
    align-items: center;
    gap: 1.35rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.obs-about__logo {
    display: block;
    flex-shrink: 0;
    transition: opacity 0.15s var(--ease);
}

.obs-about__logo:hover {
    opacity: 0.88;
}

.obs-about__logo img {
    height: 84px;
    width: auto;
    display: block;
}

.obs-about__badge {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
}

.obs-about__head h2 {
    margin: 0;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    color: var(--accent-dark);
    letter-spacing: -0.02em;
}

.obs-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2.75rem;
}

.obs-about__block h3 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    color: var(--accent);
}

.obs-about__block p {
    margin: 0 0 0.8rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.obs-about__lead {
    font-weight: 650;
    color: var(--text) !important;
    margin-bottom: 0.4rem !important;
}

.obs-about__block ul {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.55;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.obs-about__block li::marker {
    color: var(--accent);
}

.obs-about__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.35rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.obs-about__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--accent);
    text-decoration: none;
}

.obs-about__links a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 760px) {
    .obs-about__grid {
        grid-template-columns: 1fr;
    }
}

/* ── Site footer (Observatory credit) ── */
.site-footer {
    margin-top: 0.75rem;
    padding: 1.25rem 0 0.5rem;
    border-top: 1px solid var(--border);
}

.site-footer__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    flex-wrap: wrap;
    text-align: left;
}

.site-footer__obs {
    display: block;
    flex-shrink: 0;
    transition: opacity 0.15s var(--ease);
}

.site-footer__obs:hover {
    opacity: 0.88;
}

.site-footer__obs img {
    height: 52px;
    width: auto;
    display: block;
}

.site-footer__copy {
    max-width: 36rem;
}

.site-footer__copy p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text);
}

.site-footer__copy a {
    color: var(--accent);
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.site-footer__meta {
    margin-top: 0.35rem !important;
    font-size: 0.78rem !important;
    color: var(--text-muted) !important;
}

.site-footer__meta a {
    color: var(--text-muted);
    font-weight: 500;
}

.site-footer__meta a:hover {
    color: var(--accent);
}

/* ── Image states ── */
.logo-img {
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.logo-img.is-loaded {
    opacity: 1;
}

.logo-img.has-error {
    opacity: 0.35;
    filter: grayscale(1);
}

/* ── Animations ── */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cardReveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .landing .page {
        height: auto;
        min-height: calc(100dvh - var(--nav-h));
        overflow: visible;
    }

    .landing-split {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .map-panel {
        order: -1;
        min-height: min(52vh, 420px);
    }

    .gm-map {
        max-height: min(48vh, 400px);
        flex: none;
        height: auto;
    }

    .logo-grid--partners {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: none;
        flex: none;
    }

    .logo-card .logo-img {
        max-height: 44px;
    }

    .site-nav__toggle {
        display: inline-flex;
    }

    .site-nav__panel {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0.75rem 1rem 1rem;
        background: var(--cream);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .site-nav.is-open .site-nav__panel {
        display: block;
    }

    .site-nav__links {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
    }

    .site-nav__dropdown {
        width: 100%;
    }

    .site-nav__menu {
        position: static;
        min-width: 0;
        max-height: none;
        margin-top: 0.35rem;
        box-shadow: none;
    }

    .site-nav__link {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .page {
        padding: 0.875rem 1rem;
        gap: 0.875rem;
    }

    .landing .page {
        padding: 0.75rem 0.9rem;
    }

    .logo-mark,
    .logo-mark--brand {
        height: clamp(96px, 18vw, 130px);
        max-width: 100%;
        border-radius: var(--radius-md);
    }

    .coming-soon {
        font-size: 0.875rem;
        padding: 0.5rem 1.1rem;
    }

    .logo-grid--partners {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.45rem;
    }

    .logo-card {
        padding: 0.55rem 0.45rem;
        min-height: 72px;
    }

    .logo-card .logo-img {
        max-height: 42px;
    }

    .gm-map-foot {
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .gm-map .gm-area {
        animation: none !important;
    }
}
