@font-face {
    font-family: 'OldEnglish';
    src: url('../fonts/OPTIEngraversOldEnglish.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #111111;
    --muted: #666666;
    --line: #dddddd;
    --paper: #ffffff;
    --soft: #f7f7f5;
    --accent: #b4161b;
    --accent-dark: #7d0f13;
    --serif: Georgia, "Times New Roman", serif;
    --sans: Inter, Arial, Helvetica, sans-serif;
    --oldeng: 'OldEnglish', Georgia, serif;
    --nav-bg: #000000;
    --header-black: #000000;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── UTILITY BAR ─────────────────────────────────────────── */

.utility-bar {
    background: var(--header-black) !important;
    border-bottom: none;
}

.utility-inner {
    background: var(--header-black);
    max-width: 1180px;
    margin: 0 auto;
    padding: 7px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.utility-left {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #999;
    font-size: 0.77rem;
    letter-spacing: 0.03em;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.utility-link {
    color: #999;
    font-size: 0.77rem;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.utility-link:hover {
    color: #fff;
}

.util-divider {
    color: #444;
}

/* ─── MASTHEAD ROW ────────────────────────────────────────── */

.masthead-bar {
    background: var(--header-black);
    border-bottom: 1px solid var(--header-black);
}

.masthead-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 18px 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.p-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--header-black);
    color: #ffffff;
    font-family: var(--oldeng);
    font-size: 2.6rem;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    line-height: 1;
    padding-bottom: 4px;
    transition: background 0.15s;
}

.p-logo:hover {
    background: var(--header-black);
    color: #ffffff;
}

.masthead-title {
    font-family: var(--oldeng);
    font-size: clamp(1.5rem, 3.2vw, 2.9rem);
    color: #ffffff;
    text-align: center;
    line-height: 1.1;
    flex: 1;
    display: block;
    transition: color 0.2s ease;
}

.masthead-lockup {
    flex: 1;
    text-align: center;
}

.masthead-lockup p {
    color: #9c9c9c;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.35;
    margin: 7px 0 0;
    text-transform: uppercase;
}

.masthead-title:hover {
    color: #ddd;
}

.site-search {
    flex: 0 0 300px;
    min-width: 220px;
}

.site-search-control {
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #2a2a2a;
    display: flex;
    min-height: 32px;
}

.site-search input,
.search-page-form input {
    appearance: none;
    border: 0;
    color: var(--ink);
    flex: 1;
    font-family: var(--sans);
    font-size: 0.84rem;
    min-width: 0;
    outline: none;
    padding: 0 12px;
}

.site-search input::placeholder,
.search-page-form input::placeholder {
    color: #777777;
}

.site-search button,
.search-page-form button {
    background: var(--accent);
    border: 0;
    color: #ffffff;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 0 12px;
    text-transform: uppercase;
    transition: background 0.15s ease;
}

.site-search button:hover,
.site-search button:focus-visible,
.search-page-form button:hover,
.search-page-form button:focus-visible {
    background: var(--accent-dark);
    outline: none;
}

.site-search-control:focus-within,
.search-page-form:focus-within {
    box-shadow: 0 0 0 3px rgba(180, 22, 27, 0.22);
}

.masthead-actions {
    width: 68px;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.satire-badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 2px;
    white-space: nowrap;
}

/* ─── SATIRE NOTICE ───────────────────────────────────────── */

.satire-notice-bar {
    background: var(--soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.satire-notice-bar .inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 9px 20px 9px 24px;
    font-size: 0.82rem;
    color: #555;
    border-left: 3px solid var(--accent);
}

/* ─── STICKY NAV ──────────────────────────────────────────── */

.main-nav {
    background: var(--header-black) !important;
    position: sticky;
    top: 0;
    z-index: 100;
    border-top: none;
    border-bottom: none;
    margin-top: 0;
}

.nav-inner {
    align-items: center;
    background: var(--header-black);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-menu {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 12px;
    justify-content: space-between;
    min-width: 0;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 10px 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    padding: 0;
    scrollbar-width: none;
    text-transform: uppercase;
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    white-space: nowrap;
    justify-content: flex-start;
}

.nav-links a {
    color: #bbb;
    padding: 10px 14px;
    display: block;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
    border-bottom-color: var(--accent);
}

/* ─── MAIN CONTENT ────────────────────────────────────────── */

main,
.site-footer {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(300px, 0.85fr);
    gap: 28px;
    margin-top: 24px;
}

.lead-story {
    display: grid;
    grid-template-columns: minmax(220px, 0.88fr) minmax(0, 1.12fr);
    border-bottom: 1px solid var(--line);
    gap: 22px;
    padding-bottom: 22px;
}

.lead-story > *,
.article-card {
    min-width: 0;
}

.lead-story.no-image {
    grid-template-columns: minmax(0, 760px);
}

.lead-image,
.card-image {
    display: block;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

.lead-image-figure,
.card-image-figure {
    margin: 0;
}

.lead-image {
    height: 100%;
    min-height: 260px;
}

.card-image {
    aspect-ratio: 16 / 9;
    height: auto;
}

.card-image-figure {
    margin-bottom: 12px;
}

.lead-image-figure figcaption,
.card-image-figure figcaption {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.35;
    margin-top: 6px;
    text-align: center;
}

.story-content h1,
.article-hero h1,
.section-heading h1 {
    font-family: var(--serif);
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    letter-spacing: -0.04em;
    line-height: 0.96;
    margin: 8px 0 14px;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

.lead-story .story-content h1 {
    font-size: clamp(1.9rem, 3.2vw, 3.4rem);
    hyphens: auto;
    overflow-wrap: break-word;
    word-break: break-word;
}

.kicker,
.byline,
.latest-item span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.byline {
    color: var(--muted);
    letter-spacing: 0.04em;
}

.latest-panel {
    border-left: 1px solid var(--line);
    padding-left: 22px;
}

.latest-panel h2,
.section-heading h2,
.article-sidebar h2 {
    border-bottom: 3px solid var(--ink);
    font-family: var(--serif);
    font-size: 1.8rem;
    margin: 0 0 12px;
    padding-bottom: 6px;
}

.reader-note {
    background: var(--soft);
    border-left: 3px solid var(--accent);
    margin: 0 0 12px;
    padding: 12px 14px;
}

.reader-note span,
.article-label {
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.reader-note p {
    color: #444444;
    font-family: var(--serif);
    font-size: 0.98rem;
    line-height: 1.35;
    margin: 4px 0 0;
}

.latest-item {
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    transition: transform 0.2s ease;
}

.latest-item:hover {
    transform: translateX(3px);
}

.latest-item h3,
.article-card h3,
.article-card h2 {
    font-family: var(--serif);
    line-height: 1.08;
    margin: 6px 0;
    overflow-wrap: break-word;
}

.section-block,
.listing-page,
.about-page,
.privacy-page,
.article-page,
.search-page {
    margin: 38px 0;
}

.section-heading {
    align-items: end;
    border-top: 4px solid var(--ink);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-top: 12px;
}

.section-heading a,
.section-heading p {
    color: var(--muted);
    margin: 0;
}

.empty-state {
    margin: 80px auto;
    max-width: 680px;
    text-align: center;
}

.empty-state h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 14px;
}

.empty-state p {
    color: var(--muted);
    font-size: 1.05rem;
}

.search-hero {
    background: var(--soft);
    border-top: 4px solid var(--ink);
    margin: 24px 0 24px;
    padding: 28px;
}

.search-hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 6px 0 10px;
}

.search-hero p {
    color: #444444;
    margin: 0;
    max-width: 720px;
}

.search-page-form {
    align-items: stretch;
    background: #ffffff;
    border: 1px solid var(--line);
    display: flex;
    margin-top: 18px;
    max-width: 760px;
    min-height: 54px;
}

.search-page-form input {
    font-size: 1rem;
    padding: 0 16px;
}

.search-page-form button {
    padding: 0 22px;
}

.search-summary {
    align-items: center;
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding: 12px 0;
}

.search-summary p {
    color: var(--muted);
    font-weight: 800;
    margin: 0;
}

.search-summary a {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.search-results {
    margin-top: 0;
}

.search-empty {
    margin: 42px auto;
}

.search-empty h2 {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
    line-height: 1;
    margin: 0 0 12px;
}

.search-tip {
    max-width: 760px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.article-grid.compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-card {
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
    transition: transform 0.2s ease;
}

.article-card:hover {
    transform: translateY(-3px);
}

.article-card p {
    color: var(--muted);
}

.article-hero {
    border-bottom: 1px solid var(--line);
    margin: 26px auto 22px;
    max-width: 880px;
    padding-bottom: 22px;
    text-align: center;
}

.article-label {
    margin: 8px 0 -2px;
}

.standfirst {
    color: #333333;
    font-size: 1.25rem;
}

/* ─── SHARE BUTTON & POPUP ────────────────────────────────── */

.article-actions {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
}

.article-card-actions {
    justify-content: flex-start;
    margin-top: 12px;
}

.share-button {
    align-items: center;
    background: transparent;
    border: 1.5px solid var(--ink);
    color: var(--ink);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 800;
    gap: 6px;
    letter-spacing: 0.08em;
    padding: 7px 14px;
    text-transform: uppercase;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.share-button:hover,
.share-button:focus-visible {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
    outline: none;
}

.article-card-actions .share-button {
    border: none;
    color: var(--muted);
    font-size: 0.7rem;
    padding: 4px 0;
}

.article-card-actions .share-button:hover,
.article-card-actions .share-button:focus-visible {
    background: transparent;
    color: var(--accent);
}

/* Share modal */

body.share-modal-open {
    overflow: hidden;
}

.share-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 600;
}

.share-modal[hidden] {
    display: none;
}

.share-backdrop {
    background: rgba(0, 0, 0, 0.45);
    inset: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.26s ease;
}

.share-modal.is-open .share-backdrop {
    opacity: 1;
}

.share-popup {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 3px solid var(--ink);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
    max-width: calc(100vw - 32px);
    min-width: 260px;
    opacity: 0;
    position: relative;
    transform: scale(0.94) translateY(12px);
    transition:
        opacity 0.26s ease,
        transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
    width: min(320px, 100%);
    z-index: 1;
}

.share-modal.is-open .share-popup {
    opacity: 1;
    transform: scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .share-backdrop,
    .share-popup {
        transition: none;
    }
}

.share-popup-heading {
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 10px 16px 9px;
    text-transform: uppercase;
}

.share-popup-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.share-popup-list a,
.share-popup-list button {
    align-items: center;
    background: none;
    border: none;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    font-family: var(--sans);
    font-size: 0.88rem;
    gap: 10px;
    padding: 9px 16px;
    text-align: left;
    text-decoration: none;
    transition: background 0.1s, color 0.1s;
    width: 100%;
}

.share-popup-list a:hover,
.share-popup-list button:hover,
.share-popup-list a:focus-visible,
.share-popup-list button:focus-visible {
    background: var(--soft);
    color: var(--accent);
    outline: none;
}

.share-popup-confirm {
    background: var(--soft);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.78rem;
    padding: 8px 16px;
    text-align: center;
}

.share-popup-confirm[hidden] {
    display: none;
}

.featured-image {
    display: block;
    margin: 0 auto;
    max-height: 520px;
    max-width: 100%;
    object-fit: cover;
    width: 100%;
}

.featured-image-figure {
    margin: 0 auto 28px;
}

.featured-image-figure figcaption {
    color: #555555;
    display: grid;
    font-family: var(--sans);
    font-size: 0.92rem;
    gap: 3px;
    line-height: 1.45;
    margin-top: 0.55rem;
    text-align: center;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 720px) 300px;
    gap: 44px;
    justify-content: center;
}

.article-body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.16rem;
}

.article-body h2,
.article-body h3 {
    line-height: 1.15;
}

.inline-article-image {
    margin: 1.6rem 0;
    max-width: 100%;
}

.inline-article-image img {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.inline-article-image figcaption {
    color: #555555;
    display: grid;
    gap: 3px;
    font-family: var(--sans);
    font-size: 0.92rem;
    line-height: 1.45;
    margin-top: 0.55rem;
    text-align: center;
}

.inline-article-image .image-attribution {
    color: var(--muted);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
}

.article-sidebar {
    display: grid;
    align-content: start;
    gap: 18px;
}

.notice-card,
.related-card {
    background: var(--soft);
    border-top: 4px solid var(--accent);
    padding: 18px;
}

.notice-card--quiet {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 4px solid var(--ink);
}

.related-card a {
    border-top: 1px solid var(--line);
    display: block;
    font-family: var(--serif);
    font-weight: 700;
    padding: 12px 0;
    transition: color 0.2s ease;
}

.about-page {
    max-width: 780px;
}

.about-page h1 {
    font-family: var(--serif);
    font-size: 3rem;
    line-height: 1;
}

.about-note {
    background: var(--soft);
    border-left: 4px solid var(--accent);
    margin-top: 28px;
    padding: 20px 22px;
}

.about-note h2 {
    font-family: var(--serif);
    font-size: 1.7rem;
    line-height: 1.1;
    margin: 0 0 8px;
}

.about-note p {
    margin: 0;
}

.privacy-page .privacy-updated {
    color: var(--muted);
    font-family: var(--sans);
    font-size: 0.92rem;
    margin: -8px 0 18px;
}

.privacy-page h3 {
    font-family: var(--sans);
    font-size: 1rem;
    margin: 18px 0 8px;
}

.privacy-page ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 1.2rem;
}

.privacy-page li {
    line-height: 1.55;
}

.privacy-page code {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.92em;
}

/* ─── FOOTER ──────────────────────────────────────────────── */

.site-footer {
    max-width: 100%;
    background: var(--nav-bg);
    color: #999;
    border-top: none;
    margin-top: 60px;
    padding: 0;
}

.footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 20px 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-brand-name {
    font-family: var(--oldeng);
    font-size: 1.5rem;
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.footer-inner p {
    color: #888;
    font-size: 0.85rem;
    margin: 0;
    max-width: 420px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.footer-links a {
    color: #999;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 20px;
    border-top: 1px solid #333;
    color: #555;
    font-size: 0.78rem;
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 960px) {
    .home-grid,
    .lead-story {
        grid-template-columns: 1fr;
    }

    .lead-image {
        aspect-ratio: 16 / 9;
        height: auto;
        min-height: 0;
    }

    .latest-panel {
        border-left: 0;
        padding-left: 0;
    }
}

@media (max-width: 840px) {
    .home-grid,
    .lead-story,
    .article-layout,
    .article-grid,
    .article-grid.compact {
        grid-template-columns: 1fr;
    }

    .latest-panel {
        border-left: 0;
        padding-left: 0;
    }

    .masthead-inner {
        padding: 14px 16px 24px;
        gap: 12px;
        justify-content: center;
    }

    .p-logo {
        display: none;
    }

    .masthead-lockup {
        flex: none;
        width: 100%;
    }

    .masthead-actions {
        width: 52px;
    }

    .nav-menu {
        flex: none;
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu .site-search {
        border-top: 1px solid #2a2a2a;
        flex: none;
        margin-top: 4px;
        min-width: 100%;
        opacity: 0;
        padding: 12px 0 0;
        transform: translateY(-4px);
        transition:
            opacity 0.2s ease,
            transform 0.22s var(--nav-menu-ease, cubic-bezier(0.4, 0, 0.2, 1));
        width: 100%;
    }

    .nav-menu.open .site-search {
        opacity: 1;
        transform: translateY(0);
        transition-delay: 0.2s;
    }

    .site-search-control {
        min-height: 36px;
    }

    .nav-toggle {
        display: block;
        transition: color 0.2s ease;
    }

    .nav-toggle[aria-expanded="true"] {
        color: #fff;
    }

    .nav-inner {
        align-items: stretch;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0 16px;
    }

    .nav-menu {
        --nav-menu-duration: 0.32s;
        --nav-menu-ease: cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid transparent;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0;
        transition:
            max-height var(--nav-menu-duration) var(--nav-menu-ease),
            opacity 0.22s ease,
            padding var(--nav-menu-duration) var(--nav-menu-ease),
            border-color 0.22s ease,
            visibility 0s linear var(--nav-menu-duration);
        visibility: hidden;
    }

    .nav-menu.open {
        border-top-color: #333;
        max-height: min(75vh, 560px);
        opacity: 1;
        padding: 0 0 12px;
        transition:
            max-height var(--nav-menu-duration) var(--nav-menu-ease),
            opacity 0.22s ease 0.04s,
            padding var(--nav-menu-duration) var(--nav-menu-ease),
            border-color 0.22s ease,
            visibility 0s linear 0s;
        visibility: visible;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        overflow-x: visible;
        white-space: normal;
        width: 100%;
    }

    .nav-links a {
        border-bottom: 1px solid #2a2a2a;
        border-left: none;
        opacity: 0;
        padding: 9px 0;
        transform: translateY(-4px);
        transition:
            opacity 0.2s ease,
            transform 0.22s var(--nav-menu-ease);
    }

    .nav-menu.open .nav-links a {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-menu.open .nav-links a:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.open .nav-links a:nth-child(2) { transition-delay: 0.08s; }
    .nav-menu.open .nav-links a:nth-child(3) { transition-delay: 0.11s; }
    .nav-menu.open .nav-links a:nth-child(4) { transition-delay: 0.14s; }
    .nav-menu.open .nav-links a:nth-child(5) { transition-delay: 0.17s; }
    .nav-menu.open .nav-links a:nth-child(6) { transition-delay: 0.2s; }
    .nav-menu.open .nav-links a:nth-child(n + 7) { transition-delay: 0.23s; }

    @media (prefers-reduced-motion: reduce) {
        .nav-menu,
        .nav-menu .site-search,
        .nav-links a,
        .nav-toggle {
            transition: none;
        }
    }

    .footer-links {
        align-items: flex-start;
    }

    .utility-left .util-divider,
    .utility-left span:last-child {
        display: none;
    }

    .search-hero {
        padding: 22px 18px;
    }

    .search-page-form,
    .search-summary {
        align-items: stretch;
        flex-direction: column;
    }

    .search-page-form button {
        min-height: 46px;
    }
}

/* ─── COOKIE BANNER ───────────────────────────────────────── */

.cookie-banner {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    z-index: 1200;
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner-inner {
    align-items: center;
    backdrop-filter: blur(10px);
    background: rgba(17, 17, 17, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #f5f5f5;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1180px;
    padding: 18px 20px;
}

.cookie-banner-copy {
    display: grid;
    gap: 6px;
    max-width: 760px;
}

.cookie-banner-title {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
}

.cookie-banner-copy p {
    color: #d4d4d4;
    font-family: var(--sans);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-banner-copy a {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    flex-shrink: 0;
    gap: 10px;
}

.cookie-banner-actions .button {
    min-width: 96px;
}

.cookie-banner-actions .button.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.cookie-banner-actions .button.secondary:hover,
.cookie-banner-actions .button.secondary:focus-visible {
    background: rgba(255, 255, 255, 0.08);
}

.footer-link-button {
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    padding: 0;
    text-decoration: underline;
}

.footer-link-button:hover,
.footer-link-button:focus-visible {
    color: #ffffff;
}

@media (max-width: 760px) {
    .cookie-banner-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-banner-actions {
        justify-content: flex-end;
    }
}
