:root {
  --z-primary: #003062;
  --z-on-primary: #ffffff;
  --z-accent: #2494e4;
  --z-deep: #09244d;

  --ink: #0d1420;
  --ink-soft: #3d4657;
  --ink-faint: #737b8a;
  --paper: #f7f8fa;
  --paper-raised: #ffffff;
  --line: #e6e8ee;
  --line-strong: #ccd0da;
  --focus: var(--z-accent);

  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;

  --wrap: 1220px;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(13, 20, 32, 0.04), 0 2px 8px rgba(13, 20, 32, 0.04);
  --shadow-md: 0 4px 12px rgba(13, 20, 32, 0.08), 0 12px 32px rgba(13, 20, 32, 0.06);

  --step-hero: clamp(2.4rem, 5.5vw, 4.6rem);
  --step-xl: clamp(1.7rem, 3.2vw, 2.5rem);
  --step-lg: clamp(1.25rem, 2vw, 1.65rem);
  --step-md: 1.0625rem;
  --step-sm: 0.875rem;
  --step-xs: 0.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-md);
  line-height: 1.62;
  font-feature-settings: 'kern' 1, 'liga' 1;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gap); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700; font-size: var(--step-xs);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--z-primary); display: inline-flex; align-items: center; gap: 0.6ch;
}
.eyebrow::before { content: ''; width: 1.8ch; height: 3px; background: var(--z-accent); }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 0.75rem 1rem; z-index: 200; }
.skip-link:focus { left: 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--line);
}
.masthead { display: flex; align-items: center; gap: var(--gap); padding-block: 0.85rem; }
.brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.45rem;
  letter-spacing: -0.02em; text-transform: uppercase; white-space: nowrap;
  display: inline-flex; align-items: baseline; gap: 0.15ch;
}
.brand span { color: var(--z-accent); }

.nav { display: flex; gap: 0.35rem; margin-left: auto; align-items: center; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-sm);
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft);
  padding: 0.5rem 0.85rem; border-radius: var(--radius); position: relative;
  transition: color .15s ease, background .15s ease;
}
.nav a:hover { color: var(--ink); background: var(--paper); }
.nav a[aria-current='page'] { color: var(--z-primary); }
.nav a[aria-current='page']::after {
  content: ''; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.1rem;
  height: 2px; background: var(--z-accent);
}
.search-btn {
  border: 1px solid var(--line-strong); background: none; padding: 0.5rem 0.9rem;
  border-radius: var(--radius); font-family: var(--font-display); font-size: var(--step-xs);
  text-transform: uppercase; letter-spacing: 0.06em; cursor: pointer; color: var(--ink-soft);
  transition: all .15s ease;
}
.search-btn:hover { border-color: var(--z-primary); color: var(--z-primary); }
.nav-toggle { display: none; }

.section { padding-block: clamp(2.25rem, 5vw, 3.75rem); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  border-bottom: 2px solid var(--ink); padding-bottom: 0.65rem; margin-bottom: 1.6rem;
}
.section-head h2 {
  font-family: var(--font-display); font-weight: 800; font-size: var(--step-xl);
  text-transform: uppercase; letter-spacing: -0.01em; margin: 0; line-height: 1;
}
.section-head .more {
  font-family: var(--font-display); font-size: var(--step-xs); text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--z-primary); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.4ch; transition: gap .15s ease;
}
.section-head .more:hover { gap: 0.9ch; }

.brand-hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 120% at 15% 10%, var(--z-accent) 0%, transparent 45%), linear-gradient(135deg, var(--z-primary) 0%, var(--z-deep) 100%);
  margin-top: var(--gap); border-radius: calc(var(--radius) * 2);
}
.brand-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.brand-hero-body { position: relative; z-index: 1; padding: clamp(2.5rem, 7vw, 5rem) clamp(1.5rem, 5vw, 4rem); max-width: 42rem; }
.brand-hero .eyebrow { color: #fff; }
.brand-hero .eyebrow::before { background: #fff; }
.brand-hero h1 {
  font-family: var(--font-display); font-weight: 800; font-size: var(--step-hero);
  text-transform: uppercase; line-height: 0.98; letter-spacing: -0.02em; margin: 0.6rem 0 0.75rem;
}
.brand-hero p { font-size: var(--step-lg); line-height: 1.4; margin: 0 0 1.75rem; color: rgba(255, 255, 255, 0.88); }
.brand-hero-zones { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.zone-pill {
  display: inline-flex; align-items: center; gap: 0.5ch;
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-sm);
  text-transform: uppercase; letter-spacing: 0.04em; padding: 0.6rem 1.1rem; border-radius: 100px;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28); color: #fff;
  transition: background .15s ease, transform .15s ease;
}
.zone-pill:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-1px); }

.hero { display: grid; grid-template-columns: 1.65fr 1fr; gap: var(--gap); padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.hero-lead {
  position: relative; color: #fff; overflow: hidden; min-height: 440px;
  display: flex; align-items: flex-end; border-radius: calc(var(--radius) * 2);
}
.hero-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transition: transform .5s ease; }
.hero-lead:hover img { transform: scale(1.03); }
.hero-lead::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,36,77,0) 25%, rgba(9,36,77,0.55) 60%, rgba(9,36,77,0.94) 100%);
  z-index: 1;
}
.hero-lead .hero-body { position: relative; z-index: 2; padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.hero-lead .eyebrow { color: #fff; }
.hero-lead .eyebrow::before { background: var(--z-accent); }
.hero-lead h1 {
  font-family: var(--font-display); font-weight: 800; font-size: var(--step-hero);
  text-transform: uppercase; line-height: 0.98; letter-spacing: -0.02em; margin: 0.5rem 0 0; max-width: 18ch;
}
.hero-side { display: grid; gap: var(--gap); align-content: start; }

.card { display: block; background: var(--paper-raised); }
.card:hover .card-title { color: var(--z-primary); }
.card-media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, var(--line) 0%, var(--line-strong) 100%); border-radius: var(--radius);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-tag {
  position: absolute; top: 0.6rem; left: 0.6rem;
  background: var(--z-primary); color: var(--z-on-primary);
  font-family: var(--font-display); font-weight: 600; font-size: var(--step-xs);
  text-transform: uppercase; letter-spacing: 0.05em; padding: 0.3rem 0.65rem;
  border-radius: var(--radius); z-index: 2;
}
.card-body { padding-top: 0.8rem; }
.card-title {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-lg);
  line-height: 1.1; letter-spacing: -0.005em; margin: 0 0 0.45rem; transition: color .15s ease;
}
.card-side { display: grid; grid-template-columns: 104px 1fr; gap: 1rem; align-items: start; padding-block: 1rem; border-top: 1px solid var(--line); }
.card-side:first-child { border-top: none; padding-top: 0; }
.card-side .card-media { aspect-ratio: 1; }
.card-side .card-title { font-size: var(--step-md); }

.meta { font-size: var(--step-xs); color: var(--ink-faint); display: flex; gap: 0.6ch; align-items: center; flex-wrap: wrap; }
.meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.meta .zone-chip { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--z-primary); }

.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(3, 1fr); }

.zone-block { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.zone-block .section-head { border-bottom-color: var(--z-primary); }
.zone-block .card-tag { background: var(--z-primary); color: var(--z-on-primary); }

.zone-hero {
  position: relative; border-radius: calc(var(--radius) * 2); overflow: hidden; margin-top: var(--gap);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem); color: #fff;
  background: linear-gradient(135deg, var(--z-primary) 0%, var(--z-deep) 100%);
}
.zone-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(90% 140% at 90% 0%, var(--z-accent) 0%, transparent 50%); opacity: 0.5; pointer-events: none; }
.zone-hero > * { position: relative; z-index: 1; }
.zone-hero .eyebrow { color: #fff; }
.zone-hero .eyebrow::before { background: #fff; }
.zone-hero h1 { font-family: var(--font-display); font-weight: 800; font-size: var(--step-hero); text-transform: uppercase; line-height: 1; margin: 0.4rem 0 0.5rem; }
.zone-hero p { color: rgba(255,255,255,0.9); margin: 0; max-width: 60ch; font-size: var(--step-lg); }

.article { max-width: 740px; margin-inline: auto; padding-top: clamp(1.5rem, 4vw, 2.5rem); }
.breadcrumbs { font-family: var(--font-display); font-size: var(--step-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-faint); display: flex; gap: 0.6ch; align-items: center; flex-wrap: wrap; padding-block: 0.5rem 1.25rem; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--z-primary); }
.breadcrumbs [aria-current] { color: var(--z-primary); }
.article-header { border-top: 4px solid var(--z-primary); padding-top: 1.35rem; }
.article-header h1 { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4.5vw, 3.4rem); text-transform: uppercase; line-height: 1.01; letter-spacing: -0.02em; margin: 0.45rem 0 0.85rem; }
.article-header .excerpt { font-size: var(--step-lg); color: var(--ink-soft); line-height: 1.4; margin: 0 0 1.1rem; }
.share { display: flex; gap: 0.5rem; margin-top: 1.1rem; flex-wrap: wrap; }
.share-link { font-family: var(--font-display); font-size: var(--step-xs); text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--line-strong); padding: 0.45rem 0.9rem; border-radius: 100px; color: var(--ink-soft); transition: all .15s ease; }
.share-link:hover { border-color: var(--z-primary); color: var(--z-primary); background: var(--paper); }
.article-figure { margin: 1.75rem 0; }
.article-figure img { border-radius: var(--radius); }
.article-figure figcaption { font-size: var(--step-xs); color: var(--ink-faint); border-left: 2px solid var(--z-accent); padding-left: 0.75rem; margin-top: 0.6rem; }
.article-body { font-size: 1.175rem; line-height: 1.75; }
.article-body p { margin: 0 0 1.3rem; }
.article-body h2 { font-family: var(--font-display); font-size: var(--step-xl); text-transform: uppercase; margin: 2rem 0 0.75rem; }
.article-body a { color: var(--z-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin: 1.75rem 0; padding: 0.5rem 0 0.5rem 1.5rem; border-left: 4px solid var(--z-accent); font-size: 1.35rem; line-height: 1.35; font-weight: 600; color: var(--z-deep); }
.article-body code { background: #eef1f5; padding: 0.1em 0.4em; border-radius: 3px; font-size: 0.9em; }
.article-body figure { margin: 1.75rem 0; }
.article-body iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }
.related { border-top: 2px solid var(--ink); margin-top: 2.75rem; padding-top: 1.35rem; }

.searchbar { display: flex; max-width: 660px; border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; }
.searchbar input { flex: 1; border: none; padding: 0.9rem 1.1rem; font-family: var(--font-body); font-size: var(--step-md); background: var(--paper-raised); }
.searchbar input:focus { outline: none; }
.searchbar button { border: none; background: var(--z-primary); color: var(--z-on-primary); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; padding-inline: 1.4rem; cursor: pointer; transition: background .15s ease; }
.searchbar button:hover { background: var(--z-deep); }

.empty-state { text-align: center; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; background: var(--paper-raised); border: 1px dashed var(--line-strong); border-radius: calc(var(--radius) * 2); margin-block: 1.5rem; }
.empty-state .icon { width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--z-primary), var(--z-deep)); color: #fff; font-family: var(--font-display); font-size: 1.5rem; }
.empty-state h3 { font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-lg); margin: 0 0 0.5rem; }
.empty-state p { color: var(--ink-faint); margin: 0 auto; max-width: 44ch; }

.pagination { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: clamp(2rem, 5vw, 3rem); padding-top: 1.5rem; border-top: 2px solid var(--ink); flex-wrap: wrap; }
.page-link { font-family: var(--font-display); font-size: var(--step-sm); text-transform: uppercase; letter-spacing: 0.05em; padding: 0.6rem 1.15rem; border: 2px solid var(--ink); border-radius: var(--radius); color: var(--ink); transition: all .15s ease; }
a.page-link:hover { background: var(--z-primary); border-color: var(--z-primary); color: var(--z-on-primary); }
.page-link.is-disabled { opacity: 0.35; border-color: var(--line-strong); color: var(--ink-faint); }
.page-status { font-family: var(--font-display); font-size: var(--step-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); }

.site-footer { border-top: 3px solid var(--ink); margin-top: clamp(3rem, 8vw, 5rem); padding-block: 2.75rem; background: var(--paper-raised); }
.footer-grid { display: flex; justify-content: space-between; gap: var(--gap); flex-wrap: wrap; align-items: start; }
.footer-brand .brand { font-size: 1.75rem; }
.footer-brand p { color: var(--ink-faint); max-width: 34ch; margin: 0.6rem 0 0; font-size: var(--step-sm); }
.footer-zones { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.footer-zones h3 { font-family: var(--font-display); font-size: var(--step-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin: 0 0 0.7rem; }
.footer-zones a { display: block; font-size: var(--step-sm); padding-block: 0.25rem; color: var(--ink-soft); }
.footer-zones a:hover { color: var(--z-primary); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 1.75rem; padding-top: 1.35rem; font-size: var(--step-xs); color: var(--ink-faint); }

@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 0.5rem 0.75rem; cursor: pointer; font-family: var(--font-display); text-transform: uppercase; font-size: var(--step-xs); }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: var(--paper-raised); flex-direction: column; align-items: stretch; padding: 5rem 1.25rem 2rem; margin: 0; gap: 0.25rem; transform: translateX(100%); transition: transform .25s ease; box-shadow: -8px 0 32px rgba(0,0,0,.15); }
  .nav[data-open='true'] { transform: translateX(0); }
  .nav a { padding: 0.85rem 1rem; }
  .nav a[aria-current='page']::after { display: none; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

.footer-credit { display: block; margin-top: 0.4rem; }
.footer-credit a {
  color: var(--z-accent);
  font-weight: 600;
}
.footer-credit a:hover { text-decoration: underline; text-underline-offset: 2px; }

.ad-side {
  display: none;
  position: fixed;
  top: 110px;
  width: 160px;
  flex-direction: column;
  gap: 1rem;
  z-index: 50;
}
.ad-side-left { left: max(12px, calc(50% - (var(--wrap) / 2) - 190px)); }
.ad-side-right { right: max(12px, calc(50% - (var(--wrap) / 2) - 190px)); }
@media (min-width: 1580px) {
  .ad-side { display: flex; }
}
.ad-slot {
  position: relative;
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-raised);
  transition: box-shadow .2s ease, transform .2s ease;
}
.ad-slot:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.ad-slot img, .ad-slot video { width: 100%; height: auto; display: block; }
.ad-label {
  position: absolute;
  top: 6px; right: 6px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  background: rgba(255,255,255,0.85);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
}

.error-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: calc(var(--radius) * 2);
  margin-block: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(120% 140% at 85% 10%, var(--z-accent) 0%, transparent 45%),
    linear-gradient(135deg, var(--z-primary) 0%, var(--z-deep) 100%);
}
.error-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.error-hero-body {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 9vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 40rem;
}
.error-code {
  position: absolute;
  right: clamp(-2rem, 2vw, 2rem);
  bottom: -0.18em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(9rem, 28vw, 22rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}
.error-hero .eyebrow { color: rgba(255,255,255,0.85); }
.error-hero .eyebrow::before { background: #fff; }
.error-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.75rem;
}
.error-hero p {
  font-size: var(--step-lg);
  color: rgba(255,255,255,0.88);
  margin: 0 0 1.75rem;
  max-width: 40ch;
}
.error-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.btn-solid, .btn-ghost {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.4rem;
  border-radius: 100px;
  transition: all .15s ease;
}
.btn-solid { background: #fff; color: var(--z-deep); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
