:root {
    --navy: #0F1D2D;
    --navy-2: #17273a;
    --steel: #2A3A4D;
    --red: #B71C1C;
    --cream: #F2F2F0;
    --grey: #E0E0E0;
    --black: #111111;
    --white: #ffffff;
    --muted: #697384;
    --border: rgba(15, 29, 45, 0.14);
    --shadow: 0 22px 60px rgba(15, 29, 45, 0.14);
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-head: "Barlow Condensed", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--black);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--red); color: white; padding: 10px 14px; z-index: 999; }
.skip-link:focus { left: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(242, 242, 240, 0.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 76px; }
.brand, .footer-brand { display: inline-flex; align-items: center; }
.logo-wrap { display: inline-flex; align-items: center; gap: 10px; }
.logo-text { font-family: var(--font-head); font-weight: 800; text-transform: uppercase; line-height: .82; letter-spacing: .02em; color: var(--navy); font-size: 24px; display: grid; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 22px; padding: 0; margin: 0; }
.site-nav a { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; letter-spacing: .05em; font-size: 15px; color: var(--navy); }
.site-nav a:hover { color: var(--red); }
.nav-toggle { display: none; background: var(--navy); color: var(--white); border: 0; border-radius: 999px; padding: 10px 15px; font-family: var(--font-head); text-transform: uppercase; font-weight: 800; }

.hero { background: var(--navy); color: var(--white); padding: 86px 0; position: relative; overflow: hidden; }
.hero:before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 25%, rgba(183,28,28,.28), transparent 24rem), linear-gradient(90deg, rgba(15,29,45,.85), rgba(15,29,45,.65)); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
.kicker { margin: 0 0 12px; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--red); }
.hero h1, .archive-hero h1, .article h1, .section h2 { font-family: var(--font-head); text-transform: uppercase; line-height: .92; letter-spacing: -.015em; margin: 0; }
.hero h1 { font-size: clamp(58px, 9vw, 112px); max-width: 820px; }
.hero-intro { max-width: 660px; font-size: 20px; color: rgba(255,255,255,.82); margin: 24px 0 0; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; min-height: 46px; padding: 12px 18px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-secondary { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.36); }
.hero-panel { min-height: 420px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.05); border-radius: 10px; position: relative; display: grid; place-items: center; box-shadow: var(--shadow); }
.stamp { color: var(--red); border: 6px solid var(--red); transform: rotate(-8deg); padding: 18px 24px; font-family: var(--font-head); font-size: 34px; line-height: 1.05; font-weight: 800; letter-spacing: .04em; background: var(--cream); }
.paper-stack span { position: absolute; background: rgba(242,242,240,.13); border: 1px solid rgba(255,255,255,.22); width: 54%; height: 66%; border-radius: 6px; right: 40px; bottom: 34px; transform: rotate(5deg); z-index: -1; }
.paper-stack span:nth-child(2) { right: 60px; bottom: 52px; transform: rotate(-2deg); }
.paper-stack span:nth-child(3) { right: 82px; bottom: 72px; transform: rotate(8deg); }


/* Visual homepage revision */
.hero-visual .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
}
.hero-montage {
    position: relative;
    min-height: 520px;
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    isolation: isolate;
}
.hero-montage:before {
    content: "";
    position: absolute;
    inset: -24px;
    background: radial-gradient(circle at 60% 25%, rgba(183,28,28,.22), transparent 22rem);
    z-index: -1;
}
.montage-card {
    margin: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    box-shadow: 0 22px 80px rgba(0,0,0,.22);
}
.montage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(.18) saturate(.72) contrast(1.08);
    transition: transform .35s ease, filter .35s ease;
}
.montage-card:hover img { transform: scale(1.035); filter: grayscale(.05) saturate(.9) contrast(1.08); }
.montage-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,29,45,.12), rgba(15,29,45,.68));
}
.montage-card figcaption {
    position: absolute;
    left: 18px;
    bottom: 16px;
    z-index: 2;
    font-family: var(--font-head);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 800;
    font-size: 14px;
    color: rgba(255,255,255,.76);
}
.montage-card-large {
    grid-row: 1 / span 2;
    border-radius: 12px;
}
.montage-card-top { border-radius: 12px 12px 12px 4px; transform: translateY(24px); }
.montage-card-bottom { border-radius: 4px 12px 12px 12px; transform: translateY(-24px); }
.dossier-grid-image .dossier-card-image {
    position: relative;
    overflow: hidden;
    min-height: 300px;
    background-image: linear-gradient(180deg, rgba(15,29,45,.12), rgba(15,29,45,.92)), var(--dossier-image);
    background-size: cover;
    background-position: center;
    border-color: rgba(255,255,255,.18);
}
.dossier-grid-image .dossier-card-image:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(183,28,28,.22), transparent 52%);
    opacity: .78;
    transition: opacity .2s ease;
}
.dossier-grid-image .dossier-card-image:hover:before { opacity: 1; }
.dossier-grid-image .dossier-card-image > * {
    position: relative;
    z-index: 1;
}
.dossier-grid-image .dossier-card-image h3 {
    text-shadow: 0 3px 18px rgba(0,0,0,.42);
}
.featured-dossiers-section { padding-top: 58px; }

.section { padding: 70px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(36px, 5vw, 58px); }
.section-dark .section-head h2 { color: var(--white); }
.section-head-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.text-link { font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.dossier-grid, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dossier-card { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(150deg, rgba(255,255,255,.09), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.16); color: var(--white); padding: 26px; border-radius: 8px; transition: transform .2s ease, border-color .2s ease; }
.dossier-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.42); }
.dossier-card-red { background: linear-gradient(150deg, rgba(183,28,28,.78), rgba(42,58,77,.18)); }
.label { display: inline-flex; align-items: center; width: fit-content; color: var(--red); font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .09em; font-size: 13px; }
.dossier-card .label { color: var(--white); opacity: .72; }
.dossier-card h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 38px; line-height: .95; margin: 10px 0; }
.dossier-card p { margin: 0; color: rgba(255,255,255,.78); }

.post-card { background: var(--white); border: 1px solid var(--border); border-radius: 9px; overflow: hidden; box-shadow: 0 8px 24px rgba(15,29,45,.05); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post-card-image { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.placeholder-image { width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--steel)); display: grid; place-items: center; color: rgba(255,255,255,.72); font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.post-card-content { padding: 22px; }
.post-card h3 { font-family: var(--font-head); font-size: 30px; text-transform: uppercase; line-height: .96; margin: 8px 0 10px; color: var(--navy); }
.post-card p { color: var(--steel); margin: 0 0 18px; }
.post-card-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); padding-top: 14px; }

.newsletter-section { padding-top: 0; }
.newsletter-box { background: var(--navy); color: var(--white); border-radius: 10px; padding: 36px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.newsletter-box h2 { font-size: 44px; }
.newsletter-box p { color: rgba(255,255,255,.76); margin: 8px 0 0; max-width: 640px; }

.archive-hero, .article-header { background: var(--navy); color: var(--white); padding: 72px 0; }
.archive-hero h1, .article h1 { font-size: clamp(48px, 8vw, 92px); max-width: 980px; }
.archive-hero p, .article-excerpt { max-width: 780px; color: rgba(255,255,255,.8); font-size: 20px; margin: 20px 0 0; }
.tag-pill { display: inline-flex; background: var(--red); color: var(--white); padding: 8px 10px; border-radius: 4px; font-size: 12px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; margin-bottom: 18px; }
.article-meta { display: flex; gap: 12px; color: rgba(255,255,255,.62); margin-top: 20px; }
.article-image { margin-top: -34px; position: relative; z-index: 2; }
.article-image img { border-radius: 10px; box-shadow: var(--shadow); width: 100%; max-height: 620px; object-fit: cover; }
.article-image figcaption { color: var(--muted); font-size: 13px; margin-top: 10px; }
.article-layout { display: grid; grid-template-columns: 250px minmax(0, 780px); gap: 58px; padding-top: 56px; padding-bottom: 56px; align-items: start; }
.article-aside { position: sticky; top: 104px; display: grid; gap: 16px; }
.source-box { border-left: 4px solid var(--red); background: var(--white); padding: 18px; box-shadow: 0 6px 18px rgba(15,29,45,.06); }
.source-box h2 { font-family: var(--font-head); font-size: 24px; line-height: 1; margin: 0 0 8px; text-transform: uppercase; }
.source-box p { margin: 0; color: var(--steel); font-size: 14px; }
.source-box-light { border-left-color: var(--steel); }
.tag-list a { display: inline-flex; margin: 0 6px 6px 0; font-size: 12px; font-weight: 700; background: var(--cream); padding: 5px 7px; border-radius: 3px; }
.gh-content { font-size: 18px; }
.gh-content > *:first-child { margin-top: 0; }
.gh-content h2, .gh-content h3 { font-family: var(--font-head); text-transform: uppercase; line-height: 1; color: var(--navy); margin-top: 1.8em; }
.gh-content h2 { font-size: 44px; }
.gh-content h3 { font-size: 32px; }
.gh-content p, .gh-content li { color: #223146; }
.gh-content a { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.gh-content blockquote { margin: 2rem 0; padding: 1.2rem 1.4rem; border-left: 5px solid var(--red); background: var(--white); font-weight: 700; color: var(--navy); }
.gh-content table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 15px; }
.gh-content th, .gh-content td { border: 1px solid var(--border); padding: 12px; text-align: left; }
.gh-content th { background: var(--navy); color: var(--white); }

.pagination { display: flex; justify-content: center; gap: 16px; margin-top: 38px; font-weight: 800; color: var(--navy); }
.site-footer { background: #091220; color: var(--white); padding: 50px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 40px; }
.footer-brand .logo-text { color: var(--white); }
.footer-copy { color: rgba(255,255,255,.66); max-width: 460px; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links h3 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.55); margin: 0 0 8px; }
.footer-links a { color: rgba(255,255,255,.78); }
.footer-links a:hover { color: var(--white); }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; color: rgba(255,255,255,.46); font-size: 13px; }

@media (max-width: 920px) {

    .hero-visual .hero-grid { grid-template-columns: 1fr; }
    .hero-montage { min-height: 420px; grid-template-columns: 1fr 1fr; }
    .montage-card-large { grid-column: 1 / -1; grid-row: auto; }
    .montage-card-top, .montage-card-bottom { transform: none; }
    .nav-toggle { display: inline-flex; }
    .site-nav { display: none; position: absolute; left: 20px; right: 20px; top: 74px; background: var(--cream); border: 1px solid var(--border); padding: 18px; box-shadow: var(--shadow); }
    .site-nav.is-open { display: block; }
    .site-nav ul { display: grid; gap: 12px; }
    .hero-grid, .article-layout { grid-template-columns: 1fr; }
    .hero-panel { min-height: 300px; }
    .dossier-grid, .post-grid, .footer-grid { grid-template-columns: 1fr; }
    .article-aside { position: static; order: 2; }
    .newsletter-box, .section-head-row, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {

    .hero-montage { min-height: auto; grid-template-columns: 1fr; }
    .montage-card { min-height: 190px; }
    .dossier-grid-image .dossier-card-image { min-height: 240px; }
    .container, .narrow { width: min(100% - 28px, 1180px); }
    .hero, .archive-hero, .article-header { padding: 52px 0; }
    .section { padding: 48px 0; }
    .logo-text { font-size: 20px; }
    .hero h1, .archive-hero h1, .article h1 { font-size: 48px; }
    .stamp { font-size: 25px; }
    .newsletter-box { padding: 24px; }
}

/* Ghost content image width utilities required by gscan */
.kg-width-wide {
  width: min(1100px, 100% + 120px);
  max-width: 1100px;
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-width-full {
  width: 100vw;
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.kg-width-full img,
.kg-width-wide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero city montage: single approved visual built from the city images */
.hero-city-montage {
    position: relative;
    margin: 0;
    min-height: 520px;
    aspect-ratio: 16 / 11;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: 0 28px 90px rgba(0,0,0,.28);
    background: rgba(255,255,255,.06);
}
.hero-city-montage:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,29,45,.18), rgba(15,29,45,.02)), radial-gradient(circle at 20% 100%, rgba(183,28,28,.18), transparent 22rem);
    z-index: 1;
    pointer-events: none;
}
.hero-city-montage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: saturate(.9) contrast(1.04);
}
.dossier-grid-image .dossier-card-image {
    background-image: linear-gradient(180deg, rgba(15,29,45,.18), rgba(15,29,45,.94)), var(--dossier-image, linear-gradient(135deg, #17273a, #0F1D2D));
}
@media (max-width: 920px) {
    .hero-city-montage { min-height: 360px; }
}
@media (max-width: 560px) {
    .hero-city-montage { min-height: 260px; }
}
