:root {
    --navy: #0a3152;
    --navy-dark: #06243d;
    --blue: #a8cddd;
    --red: #c6434b;
    --cream: #f2efe7;
    --white: #fff;
    --ink: #15334b;
    --muted: #63788a;
    --line: #d4dee5;
    --page: min(1380px, calc(100vw - 64px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
}
a { color: inherit; }
img { display: block; }
.skip-link {
    position: fixed;
    z-index: 100;
    top: -70px;
    left: 16px;
    padding: 11px 16px;
    background: white;
}
.skip-link:focus { top: 16px; }

.site-header {
    width: 100%;
    min-height: 88px;
    margin: auto;
    padding: 0 max(32px, calc((100vw - 1380px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 8px 24px rgba(6, 36, 61, .045);
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.brand strong, .brand small { display: block; }
.brand strong {
    color: var(--navy-dark);
    font-size: 15px;
    letter-spacing: -.02em;
    text-transform: uppercase;
}
.brand small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.header-actions,
.primary-nav {
    display: flex;
    align-items: center;
}
.header-actions { gap: 25px; }
.primary-nav { gap: 3px; }
.nav-link,
.nav-group > summary {
    display: flex;
    min-height: 40px;
    padding: 0 10px;
    align-items: center;
    gap: 5px;
    border-radius: 4px;
    color: var(--ink);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .015em;
    text-decoration: none;
    cursor: pointer;
}
.nav-link:hover,
.nav-group > summary:hover,
.nav-group[open] > summary {
    background: var(--cream);
    color: var(--navy-dark);
}
.nav-link:focus-visible,
.nav-group > summary:focus-visible,
.documentation-link:focus-visible,
.mobile-menu summary:focus-visible,
.mobile-menu a:focus-visible,
.footer-links a:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}
.nav-group {
    position: relative;
}
.nav-group > summary {
    list-style: none;
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary span {
    color: var(--red);
    font-size: 13px;
    transition: transform .18s ease;
}
.nav-group[open] > summary span { transform: rotate(180deg); }
.nav-dropdown {
    width: 215px;
    padding: 8px;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(6, 36, 61, .14);
}
.nav-dropdown::before {
    content: "";
    height: 11px;
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
}
.nav-dropdown a {
    display: block;
    padding: 11px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}
.nav-dropdown a:hover { background: var(--cream); }
.documentation-link {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-decoration: none;
    text-transform: uppercase;
}
.documentation-link span { margin-left: 6px; color: var(--red); }
.mobile-menu { display: none; }

.eyebrow {
    margin: 0 0 22px;
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.hero {
    width: var(--page);
    min-height: 710px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 7vw;
    align-items: center;
    padding: 70px 3vw 90px;
}
.hero-copy .eyebrow span {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--red);
}
.hero h1 {
    max-width: 800px;
    margin: 0;
    color: var(--navy-dark);
    font-size: clamp(58px, 6.4vw, 96px);
    font-weight: 650;
    letter-spacing: -.075em;
    line-height: .92;
}
.hero h1 em {
    display: block;
    color: var(--red);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}
.hero-intro {
    max-width: 680px;
    margin: 38px 0;
    color: #4d6578;
    font-size: 18px;
    line-height: 1.75;
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}
.button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 0 21px;
    background: var(--navy);
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .05em;
    text-decoration: none;
    text-transform: uppercase;
}
.button span { font-size: 19px; }
.hero-actions p {
    margin: 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
    text-transform: uppercase;
}
.hero-actions strong { color: var(--navy); }
.hero-symbol {
    min-height: 520px;
    position: relative;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 37% 30%, rgba(255,255,255,.9), transparent 17%),
        var(--blue);
}
.symbol-disc {
    width: 330px;
    height: 330px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(10,49,82,.18);
    border-radius: 50%;
    background: rgba(255,255,255,.38);
}
.symbol-disc img { width: 68%; height: auto; }
.year {
    position: absolute;
    z-index: 2;
    padding: 7px 11px;
    background: var(--white);
    color: var(--navy);
    font: 700 10px Consolas, monospace;
}
.year-top { top: 50px; right: 8%; }
.year-bottom { bottom: 50px; left: 8%; }
.timeline {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 82px;
    display: flex;
    align-items: center;
}
.timeline span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--navy);
}
.timeline i {
    height: 1px;
    flex: 1;
    background: rgba(10,49,82,.4);
}

.purpose {
    padding: 110px max(32px, calc((100vw - 1280px) / 2));
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 10vw;
    align-items: end;
    background: var(--navy-dark);
    color: white;
}
.purpose h2, .status h2 {
    margin: 0;
    font-size: clamp(43px, 5vw, 73px);
    line-height: 1;
    letter-spacing: -.06em;
}
.purpose-text {
    margin: 0;
    color: #c2d2dc;
    font-size: 18px;
    line-height: 1.8;
}
.purpose .eyebrow { color: #86b9d2; }

.pillars {
    width: var(--page);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--line);
}
.pillars article {
    min-height: 430px;
    padding: 38px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.pillars article > span {
    color: var(--muted);
    font: 10px Consolas, monospace;
}
.pillars h3 {
    margin: 40px 0 17px;
    color: var(--navy-dark);
    font-size: 28px;
    letter-spacing: -.04em;
}
.pillars p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}
.mini-icon {
    width: 80px;
    height: 80px;
    position: relative;
    margin-top: 55px;
}
.ballot {
    border: 2px solid var(--navy);
    border-top: 10px solid var(--navy);
}
.ballot::before {
    content: "";
    position: absolute;
    width: 35px;
    height: 43px;
    left: 21px;
    top: -46px;
    border: 2px solid var(--red);
    background: white;
    transform: rotate(-8deg);
}
.ballot i {
    position: absolute;
    width: 35px;
    height: 2px;
    left: 21px;
    top: -12px;
    background: white;
}
.territory i {
    position: absolute;
    border: 2px solid var(--navy);
    background: var(--blue);
}
.territory i:nth-child(1) { inset: 3px 24px 35px 3px; }
.territory i:nth-child(2) { inset: 22px 3px 10px 32px; background: var(--cream); }
.territory i:nth-child(3) { width: 18px; height: 18px; left: 7px; bottom: 2px; background: var(--red); }
.people i {
    position: absolute;
    width: 34px;
    height: 34px;
    border: 2px solid var(--navy);
    border-radius: 50%;
}
.people i::after {
    content: "";
    position: absolute;
    width: 45px;
    height: 28px;
    left: -8px;
    top: 39px;
    border: 2px solid var(--navy);
    border-radius: 25px 25px 0 0;
}
.people i:nth-child(1) { left: 5px; top: 4px; }
.people i:nth-child(2) { right: 2px; top: 18px; transform: scale(.8); }

.principle {
    padding: 120px max(32px, calc((100vw - 1180px) / 2));
    background: var(--cream);
    text-align: center;
}
.principle blockquote {
    max-width: 1000px;
    margin: 30px auto 55px;
    color: var(--navy-dark);
    font: 400 clamp(38px, 5.3vw, 70px)/1.12 Georgia, serif;
    letter-spacing: -.045em;
}
.principle > div {
    display: flex;
    justify-content: center;
    gap: 9px;
    flex-wrap: wrap;
}
.principle > div span {
    padding: 8px 13px;
    border: 1px solid #b9c3c8;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}
.status {
    width: var(--page);
    margin: auto;
    padding: 110px 3vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10vw;
}
.status h2 { color: var(--navy-dark); }
.status-list p {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    margin: 0;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}
.status-list span {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
}
.status-list strong { font-size: 15px; }
.site-footer {
    min-height: 150px;
    padding: 35px max(32px, calc((100vw - 1380px) / 2));
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto auto;
    gap: 30px;
    align-items: center;
    background: var(--navy-dark);
    color: white;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-copy {
    max-width: 540px;
    margin: 0;
    color: #9fb4c3;
    font-size: 11px;
    line-height: 1.7;
}
.footer-links {
    display: flex;
    gap: 17px;
}
.footer-links a {
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}
.footer-links a:hover { color: var(--blue); }
.footer-meta {
    color: #9fb4c3;
    font-size: 11px;
    text-transform: uppercase;
    white-space: nowrap;
}

@media (max-width: 980px) {
    :root { --page: calc(100vw - 36px); }
    .site-header { padding-right: 18px; padding-left: 18px; }
    .primary-nav,
    .documentation-link { display: none; }
    .header-actions { gap: 0; }
    .mobile-menu { display: block; }
    .mobile-menu > summary {
        display: flex;
        min-height: 42px;
        padding: 0 13px;
        align-items: center;
        gap: 10px;
        border: 1px solid var(--line);
        border-radius: 4px;
        color: var(--navy-dark);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .08em;
        list-style: none;
        text-transform: uppercase;
        cursor: pointer;
    }
    .mobile-menu > summary::-webkit-details-marker { display: none; }
    .mobile-menu > summary i,
    .mobile-menu > summary i::before,
    .mobile-menu > summary i::after {
        width: 16px;
        height: 2px;
        display: block;
        position: relative;
        background: var(--red);
    }
    .mobile-menu > summary i::before,
    .mobile-menu > summary i::after {
        content: "";
        position: absolute;
        left: 0;
    }
    .mobile-menu > summary i::before { top: -5px; }
    .mobile-menu > summary i::after { top: 5px; }
    .mobile-menu > nav {
        max-height: calc(100vh - 100px);
        padding: 18px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px 24px;
        overflow-y: auto;
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        border-bottom: 1px solid var(--line);
        background: var(--white);
        box-shadow: 0 22px 45px rgba(6, 36, 61, .14);
    }
    .mobile-menu nav > a,
    .mobile-menu-group a {
        padding: 9px 10px;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 700;
        text-decoration: none;
    }
    .mobile-menu nav > a:hover,
    .mobile-menu-group a:hover { background: var(--cream); }
    .mobile-menu-group {
        padding: 7px 0;
        display: grid;
    }
    .mobile-menu-group strong {
        padding: 3px 10px 7px;
        color: var(--red);
        font-size: 9px;
        letter-spacing: .09em;
        text-transform: uppercase;
    }
    .mobile-documentation {
        margin-top: 7px;
        border-top: 1px solid var(--line);
        grid-column: 1 / -1;
    }
    .hero { grid-template-columns: 1fr; padding-top: 90px; }
    .hero-copy { max-width: 760px; }
    .hero-symbol { width: min(620px, 90%); justify-self: center; }
    .purpose { grid-template-columns: 1fr; gap: 40px; }
    .pillars { grid-template-columns: 1fr 1fr; }
    .pillars article:last-child { grid-column: 1 / -1; }
    .status { grid-template-columns: 1fr; }
    .site-footer { grid-template-columns: auto 1fr; }
    .footer-links,
    .footer-meta { grid-column: 2; }
}

@media (max-width: 640px) {
    :root { --page: calc(100vw - 24px); }
    .site-header {
        min-height: 74px;
        padding-right: 12px;
        padding-left: 12px;
    }
    .brand img { width: 41px; height: 41px; }
    .brand small { display: none; }
    .brand strong { font-size: 13px; }
    .mobile-menu > nav {
        grid-template-columns: 1fr;
        padding-right: 12px;
        padding-left: 12px;
    }
    .mobile-documentation { grid-column: auto; }
    .hero { min-height: auto; padding: 64px 8px 75px; gap: 55px; }
    .hero h1 { font-size: 51px; }
    .hero-intro { font-size: 16px; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-symbol { width: 100%; min-height: 355px; }
    .symbol-disc { width: 230px; height: 230px; }
    .timeline { bottom: 52px; }
    .year-top { top: 25px; }
    .year-bottom { bottom: 24px; }
    .purpose { padding: 75px 20px; }
    .purpose h2, .status h2 { font-size: 42px; }
    .purpose-text { font-size: 16px; }
    .pillars { grid-template-columns: 1fr; }
    .pillars article, .pillars article:last-child { min-height: 365px; grid-column: auto; padding: 30px 25px; }
    .mini-icon { margin-top: 45px; }
    .pillars h3 { margin-top: 30px; }
    .principle { padding: 80px 20px; }
    .principle blockquote { font-size: 39px; }
    .status { padding: 75px 8px; }
    .status-list p { grid-template-columns: 1fr; gap: 5px; }
    .site-footer { grid-template-columns: 1fr; gap: 16px; }
    .footer-links,
    .footer-meta { grid-column: auto; }
    .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

/* Global navigation and footer · 2026 redesign */
.site-header {
    min-height: 84px;
    padding: 0 max(24px, calc((100vw - 1480px) / 2));
    gap: 22px;
    overflow: visible;
}
.brand { flex: 0 0 auto; gap: 11px; }
.brand-mark { padding: 0; border-radius: 50%; background: transparent; overflow: hidden; }
.brand-mark img { width: 50px; height: 50px; display: block; object-fit: cover; }
.brand-copy strong { font-size: 16px; }
.brand-copy small { font-size: 8px; }
.header-actions { min-width: 0; gap: 10px; }
.primary-nav { gap: 1px; }
.nav-link, .nav-group > summary { min-height: 44px; padding: 0 10px; border-radius: 9px; font-size: 12.5px; }
.nav-link.is-current, .nav-group.is-current > summary { background: #edf4f6; color: var(--navy-dark); }
.nav-link.is-current::after, .nav-group.is-current > summary::after { content: ""; width: 5px; height: 5px; margin-left: 2px; border-radius: 50%; background: var(--red); }
.nav-group > summary span { margin-left: 1px; }
.nav-dropdown {
    width: 350px;
    padding: 10px;
    top: calc(100% + 13px);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 14px;
    box-shadow: 0 22px 55px rgba(6,36,61,.18);
}
.nav-dropdown-head { padding: 9px 11px 13px; border-bottom: 1px solid var(--line); }
.nav-dropdown-head span, .nav-dropdown-head strong { display: block; }
.nav-dropdown-head span { color: var(--red); font-size: 9.5px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.nav-dropdown-head strong { margin-top: 3px; color: var(--navy-dark); font: 24px/1.1 Georgia, serif; }
.nav-dropdown a { min-height: 61px; padding: 10px; display: grid; grid-template-columns: 27px 1fr auto; gap: 9px; align-items: center; border-radius: 9px; }
.nav-dropdown a b { color: #7a91a1; font: 750 10px/1 Consolas, monospace; }
.nav-dropdown a span strong, .nav-dropdown a span small { display: block; }
.nav-dropdown a span strong { color: var(--navy-dark); font-size: 14px; }
.nav-dropdown a span small { margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.35; }
.nav-dropdown a i { color: #2b806f; font-style: normal; }
.nav-dropdown a[aria-current="page"] { background: #edf6f3; }

.header-search { min-height: 40px; padding: 0 11px; display: flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; color: var(--navy-dark); text-decoration: none; }
.header-search span { width: 14px; height: 14px; position: relative; border: 2px solid #2b806f; border-radius: 50%; }
.header-search span::after { content: ""; width: 6px; height: 2px; position: absolute; right: -5px; bottom: -2px; transform: rotate(45deg); border-radius: 2px; background: #2b806f; }
.header-search b { font-size: 11.5px; text-transform: uppercase; }
.header-search:hover { border-color: #8cb9ad; background: #edf6f3; }
.site-explorer { position: static; }
.site-explorer > summary { min-height: 44px; padding: 0 15px; display: flex; align-items: center; gap: 8px; border-radius: 999px; background: var(--navy); color: white; font-size: 11.5px; font-weight: 850; letter-spacing: .04em; list-style: none; text-transform: uppercase; cursor: pointer; }
.site-explorer > summary::-webkit-details-marker { display: none; }
.site-explorer > summary i { width: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.site-explorer > summary i b { width: 6px; height: 6px; border: 1px solid #a8cddd; border-radius: 2px; }
.site-explorer[open] > summary { background: var(--red); }
.explorer-panel { width: min(1420px, calc(100vw - 48px)); position: absolute; top: calc(100% + 1px); right: max(24px, calc((100vw - 1480px) / 2)); overflow: hidden; border: 1px solid #bfcfd8; border-radius: 0 0 20px 20px; background: #f8fafb; box-shadow: 0 32px 70px rgba(6,36,61,.24); }
.explorer-panel > header { padding: 24px 28px; display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: end; background: white; }
.explorer-panel > header span, .explorer-panel form label { color: var(--red); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.explorer-panel h2 { margin: 5px 0 0; color: var(--navy-dark); font: 31px/1.05 Georgia, serif; }
.explorer-panel form label { display: block; margin: 0 0 7px 3px; color: var(--muted); }
.explorer-panel form > div, .mobile-menu-panel form > div, .footer-search > div { display: flex; }
.explorer-panel input, .mobile-menu-panel input, .footer-search input { min-width: 0; height: 48px; flex: 1; padding: 0 15px; border: 1px solid #bfcfd8; border-radius: 10px 0 0 10px; color: var(--navy-dark); font: 600 15px/1 inherit; outline: none; }
.explorer-panel input:focus, .mobile-menu-panel input:focus, .footer-search input:focus { border-color: #4d8c7c; box-shadow: 0 0 0 3px rgba(43,128,111,.14); }
.explorer-panel button, .mobile-menu-panel button, .footer-search button { padding: 0 21px; border: 0; border-radius: 0 10px 10px 0; background: #2b806f; color: white; font-size: 12px; font-weight: 850; text-transform: uppercase; cursor: pointer; }
.explorer-panel button span { margin-left: 8px; color: white; font-size: 13px; }
.explorer-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.explorer-grid > section { min-width: 0; padding: 22px 25px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); background: #f8fafb; }
.explorer-grid > section:last-child { border-right: 0; }
.explorer-section-head { min-height: 58px; display: grid; grid-template-columns: 28px 1fr; gap: 9px; }
.explorer-section-head > b { color: var(--red); font: 750 9px/1.4 Consolas, monospace; }
.explorer-section-head strong, .explorer-section-head small { display: block; }
.explorer-section-head strong { color: var(--navy-dark); font: 22px/1.05 Georgia, serif; }
.explorer-section-head small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.explorer-grid nav { margin-top: 12px; display: grid; }
.explorer-grid nav a { padding: 11px 0; display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #dde6ea; color: var(--ink); font-size: 13px; font-weight: 720; text-decoration: none; }
.explorer-grid nav a span { color: #2b806f; }
.explorer-grid nav a:hover { color: #2b806f; }
.explorer-panel > footer { min-height: 59px; padding: 0 28px; display: flex; align-items: center; gap: 28px; background: var(--navy-dark); color: white; }
.explorer-panel > footer p { margin: 0; color: #a9c0ce; font-size: 9px; text-transform: uppercase; }
.explorer-panel > footer p strong { margin-right: 5px; color: white; font-size: 16px; }
.explorer-panel > footer a { margin-left: auto; color: white; font-size: 10px; font-weight: 800; text-decoration: none; }

.mobile-menu { display: none; position: static; }
.mobile-menu-panel { max-height: calc(100vh - 90px); padding: 20px; position: absolute; top: calc(100% + 1px); right: 0; left: 0; overflow-y: auto; border-bottom: 1px solid var(--line); background: white; box-shadow: 0 25px 55px rgba(6,36,61,.18); }
.mobile-menu-panel form { padding: 0 0 18px; }
.mobile-menu-panel form label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.mobile-menu-panel nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.mobile-menu-panel nav section { display: grid; align-content: start; }
.mobile-menu-panel nav strong { padding: 7px 10px; color: var(--red); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; }
.mobile-menu-panel nav a { padding: 10px; border-radius: 7px; font-size: 14px; font-weight: 700; text-decoration: none; }
.mobile-menu-panel nav a:hover { background: var(--cream); }
.site-footer { min-height: 0; padding: 0 max(24px, calc((100vw - 1380px) / 2)); display: block; background: var(--navy-dark); color: white; }
.footer-main { padding: 20px 0 16px; display: grid; grid-template-columns: minmax(230px, .72fr) minmax(0, 2.28fr); gap: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-identity { min-width: 0; max-width: 350px; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: white; text-decoration: none; }
.footer-brand img { width: 44px; height: 44px; flex: 0 0 44px; }
.footer-brand span strong, .footer-brand span small { display: block; }
.footer-brand span strong { white-space: nowrap; font-size: 14px; text-transform: uppercase; }
.footer-brand span small { max-width: 190px; margin-top: 3px; color: #8fa8b8; font-size: 7.5px; font-weight: 750; line-height: 1.3; letter-spacing: .07em; text-transform: uppercase; }
.footer-identity > p { margin: 12px 0; color: #9fb6c5; font-size: 11px; line-height: 1.55; }
.footer-sitemap { min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.footer-sitemap nav { display: grid; align-content: start; }
.footer-sitemap nav > strong { margin-bottom: 6px; color: #70c1af; font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.footer-sitemap a { padding: 5px 0; display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid rgba(255,255,255,.1); color: white; font-size: 11.5px; font-weight: 700; text-decoration: none; }
.footer-sitemap a span { color: #70c1af; }
.footer-sitemap a:hover { color: #a8cddd; }
.footer-bottom { min-height: 45px; display: grid; grid-template-columns: minmax(280px, 1fr) auto auto; gap: 17px; align-items: center; color: #8fa8b8; font-size: 9.5px; }
.footer-bottom > p { max-width: 580px; margin: 0; line-height: 1.6; }
.footer-bottom > nav { display: flex; align-items: center; gap: 18px; }
.footer-bottom a, .footer-disclaimer > summary { color: #d9e5eb; font-weight: 750; text-decoration: none; cursor: pointer; }
.footer-disclaimer { position: relative; }
.footer-disclaimer > summary { list-style: none; }
.footer-disclaimer > summary::-webkit-details-marker { display: none; }
.footer-disclaimer[open] > p { width: 360px; margin: 0; padding: 15px; position: absolute; right: 0; bottom: calc(100% + 12px); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; background: #0d3c60; color: #c4d5de; font-size: 10px; line-height: 1.6; box-shadow: 0 15px 35px rgba(0,0,0,.18); }
.footer-disclaimer[open] > p strong { color: #fff; }
.footer-disclaimer[open] > p code { padding: 1px 4px; border-radius: 4px; background: rgba(255,255,255,.1); color: #fff; font: 700 9px Consolas, monospace; }
.footer-disclaimer[open] > p a { color: #78d2bf; text-decoration: underline; }
.footer-bottom > span { white-space: nowrap; }

@media (max-width: 1180px) {
    .primary-nav, .header-search, .site-explorer { display: none; }
    .mobile-menu { display: block; }
    .mobile-menu > summary { min-height: 44px; padding: 0 15px; border-radius: 10px; font-size: 11px; }
    .footer-main { grid-template-columns: minmax(210px, .72fr) minmax(0, 2.28fr); gap: 30px; }
}
@media (max-width: 820px) {
    .site-header { min-height: 76px; }
    .mobile-menu-panel nav { grid-template-columns: 1fr 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 22px; }
    .footer-identity { max-width: 560px; }
    .footer-bottom { grid-template-columns: 1fr auto; padding: 15px 0; }
    .footer-bottom > nav { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 560px) {
    .site-header { min-height: 70px; }
    .brand-mark img { width: 39px; height: 39px; }
    .brand-copy strong { font-size: 13px; }
    .brand-copy small { display: none; }
    .mobile-menu > summary { padding: 0 11px; }
    .mobile-menu-panel { padding: 14px 12px 20px; }
    .mobile-menu-panel nav { grid-template-columns: 1fr; gap: 9px; }
    .footer-main { padding: 16px 0 12px; gap: 14px; }
    .footer-brand img { width: 42px; height: 42px; flex-basis: 42px; }
    .footer-sitemap { grid-template-columns: 1fr 1fr; gap: 12px 20px; }
    .footer-sitemap nav:last-child { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; column-gap: 22px; }
    .footer-sitemap nav:last-child > strong { grid-column: 1 / -1; }
    .footer-bottom { grid-template-columns: 1fr; gap: 10px; padding: 11px 0 13px; }
    .footer-bottom > nav { grid-column: auto; grid-row: auto; flex-wrap: wrap; }
    .footer-disclaimer[open] > p { width: min(330px, calc(100vw - 24px)); right: auto; left: 0; }
}

/* Prueba global de ritmo editorial: contenido al 80% en escritorio.
   Los fondos, cabecera y pie conservan todo el ancho de la ventana. */
@media (min-width: 901px) {
    :root { --page: min(80vw, 1380px); }
    .site-footer { padding-right: max(10vw, calc((100vw - 1380px) / 2)); padding-left: max(10vw, calc((100vw - 1380px) / 2)); }

    :is(
        .autonomies-directory,
        .autonomy-base-content,
        .community-section,
        .country-regions,
        .e23-section,
        .elections-shell,
        .fd-shell,
        .formations-message,
        .formations-shell,
        .gt-shell,
        .institution-shell,
        .institutions-shell,
        .municipality-facts,
        .municipality-section,
        .pd-shell,
        .people-message,
        .people-shell,
        .se-shell
    ) {
        width: min(80vw, 1280px) !important;
    }

    :is(.countries-empty, .th-explorer, .th-summary) {
        width: min(80vw, 1440px) !important;
    }

    :is(
        .autonomies-hero,
        .autonomy-base-hero,
        .community-hero,
        .home-coverage,
        .home-final,
        .home-metrics,
        .institutions-alert,
        .municipality-hero,
        .ppf-hero
    ) {
        padding-right: max(10vw, calc((100vw - 1280px) / 2)) !important;
        padding-left: max(10vw, calc((100vw - 1280px) / 2)) !important;
    }

    :is(.countries-hero, .th-alert, .th-hero) {
        padding-right: max(10vw, calc((100vw - 1440px) / 2)) !important;
        padding-left: max(10vw, calc((100vw - 1440px) / 2)) !important;
    }
}
