:root {
  --ink: #0a0d12;
  --blue: #0c56a8;
  --blue-deep: #073b75;
  --blue-pale: #eaf2fb;
  --paper: #ffffff;
  --mist: #f4f6f8;
  --line: #d9dee5;
  --muted: #566170;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.topline { background: var(--ink); color: #dfe6ef; font-size: .75rem; letter-spacing: .04em; }
.topline-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; }
.topline a { color: #fff; border-bottom: 1px solid #6e7784; }
.site-header { min-height: 98px; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 45px; height: 45px; display: grid; place-items: center; background: var(--blue); color: #fff; font: 700 1.45rem/1 Georgia, serif; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.12rem; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: .72rem; letter-spacing: .055em; text-transform: uppercase; }
nav { display: flex; gap: 28px; font-weight: 650; font-size: .88rem; }
nav a, .search-link { padding: 8px 0; border-bottom: 2px solid transparent; }
nav a:hover, nav a:focus-visible { border-color: var(--blue); }
.search-link { color: var(--blue); font-weight: 700; }
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 38%; background: linear-gradient(135deg, transparent 48%, rgba(20,103,195,.38) 48%); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.55fr .8fr; gap: 90px; min-height: 500px; align-items: center; }
.eyebrow { margin: 0 0 16px; color: #94bce8; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.blue { color: var(--blue); }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.03em; }
h1 { max-width: 760px; font: 700 clamp(3rem, 6vw, 5.5rem)/.98 Georgia, "Times New Roman", serif; }
.hero-intro { max-width: 650px; margin: 24px 0 32px; color: #c8d0dc; font-size: 1.15rem; }
.primary-button { display: inline-flex; padding: 13px 20px; background: var(--blue); color: #fff; font-weight: 750; }
.primary-button:hover, .primary-button:focus-visible { background: #1470d5; }
.briefing { border-top: 5px solid var(--blue); background: #fff; color: var(--ink); padding: 28px; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.briefing-number { color: var(--blue); font: 700 2.8rem/1 Georgia, serif; }
.briefing-label { margin: 15px 0 8px; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.briefing h2 { font: 700 1.55rem/1.18 Georgia, serif; }
.briefing p:not(.briefing-label) { color: var(--muted); font-size: .93rem; }
.briefing span { font-size: .78rem; font-weight: 750; }
.topic-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.topic-list { display: flex; gap: 0; overflow-x: auto; }
.topic-list a { flex: 0 0 auto; padding: 18px 20px; border-right: 1px solid var(--line); font-size: .78rem; font-weight: 720; }
.topic-list a:first-child { border-left: 1px solid var(--line); }
.topic-list a:hover { background: var(--blue-pale); color: var(--blue-deep); }
.section { padding-top: 86px; padding-bottom: 90px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading h2, .latest-grid > div > h2, .resource-panel h2, .principles h2 { font: 700 clamp(2rem,4vw,3.2rem)/1.05 Georgia, serif; }
.section-heading > a { color: var(--blue); font-weight: 760; }
.featured-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border: 1px solid var(--line); }
.feature-card { min-height: 360px; display: flex; flex-direction: column; padding: 28px; border-left: 1px solid var(--line); }
.feature-card:first-child { border-left: 0; }
.feature-card.lead { background: var(--blue); color: #fff; }
.card-index { margin-bottom: auto; color: #8ca0b7; font: 700 1.45rem Georgia, serif; }
.lead .card-index { color: #a8cff7; }
.card-category { margin: 36px 0 10px; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.lead .card-category { color: #d1e7ff; }
.feature-card h3 { font: 700 1.55rem/1.14 Georgia, serif; }
.feature-card > p:not(.card-category) { color: var(--muted); font-size: .9rem; }
.lead > p:not(.card-category) { color: #dfedfc; }
.feature-card footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; gap: 14px; justify-content: space-between; align-items: center; font-size: .7rem; }
.lead footer { border-color: rgba(255,255,255,.3); }
.feature-card footer span { color: var(--muted); }
.lead footer span { color: #c5daf2; }
.feature-card footer a { font-weight: 800; }
.latest-section { background: var(--blue-pale); padding: 82px 0; }
.latest-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; }
.latest-grid .eyebrow { color: var(--blue); }
.latest-list { border-top: 2px solid var(--ink); }
.latest-list article { min-height: 112px; display: grid; grid-template-columns: 36px 1fr 30px; align-items: center; gap: 22px; border-bottom: 1px solid #bdc9d7; }
.latest-list article > span { color: var(--blue); font: 700 1rem Georgia, serif; }
.latest-list article p { margin: 0 0 4px; color: var(--blue-deep); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.latest-list article h3 { font: 700 1.25rem/1.2 Georgia, serif; }
.latest-list article > a { color: var(--blue); font-weight: 800; font-size: 1.3rem; }
.resources { display: grid; grid-template-columns: 1fr 1fr; padding-top: 90px; }
.resource-panel, .principles { padding: clamp(35px,6vw,70px); }
.resource-panel { background: var(--mist); border-left: 6px solid var(--blue); }
.principles { background: var(--ink); color: #fff; }
.resource-panel > p:not(.eyebrow), .principles > p:not(.eyebrow) { margin: 24px 0; }
.principles > p:not(.eyebrow) { color: #c6cfdb; }
.resource-panel a { color: var(--blue); font-weight: 800; }
.footer { background: #05070a; color: #fff; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .7fr; gap: 45px; }
.footer-grid > div:not(.footer-brand) strong, .footer-grid > div:not(.footer-brand) a { display: block; }
.footer-grid > div:not(.footer-brand) strong { margin-bottom: 14px; color: #8fbdec; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid > div:not(.footer-brand) a { margin: 7px 0; color: #c7d0dc; font-size: .85rem; }
.footer-brand small { color: #9faab8; }
.footer-grid > p { grid-column: 1 / -1; margin: 40px 0 0; padding-top: 22px; border-top: 1px solid #252b33; color: #8e98a5; font-size: .72rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 82px; }
  .site-header nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 45px; padding-top: 70px; padding-bottom: 70px; }
  .briefing { max-width: 540px; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .feature-card:first-child { grid-column: 1 / -1; }
  .feature-card:nth-child(2) { border-left: 0; }
  .latest-grid { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .topline-inner { justify-content: center; }
  .topline a { display: none; }
  .site-header { gap: 15px; }
  .brand small { display: none; }
  .search-link { font-size: .75rem; }
  h1 { font-size: 3rem; }
  .hero::after { display: none; }
  .featured-grid, .resources { grid-template-columns: 1fr; }
  .feature-card, .feature-card:nth-child(2) { border-left: 0; border-top: 1px solid var(--line); }
  .feature-card:first-child { border-top: 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .latest-list article { grid-template-columns: 30px 1fr 22px; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* WordPress layout */
.site-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus, .skip-link:focus { position: fixed; z-index: 9999; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 12px 16px; background: #fff; color: var(--ink); font-weight: 700; }
.custom-logo-link, .custom-logo-link img { display: block; max-height: 58px; width: auto; }
.primary-nav .menu { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: .88rem; font-weight: 650; }
.primary-nav .menu a { display: block; padding: 8px 0; border-bottom: 2px solid transparent; }
.primary-nav .menu a:hover, .primary-nav .menu a:focus-visible, .primary-nav .current-menu-item > a { border-color: var(--blue); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; padding: 10px; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: var(--ink); }
.header-search { color: var(--blue); font-size: .82rem; font-weight: 750; }
.home-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.home-hero::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 38%; background: linear-gradient(135deg, transparent 48%, rgba(20,103,195,.38) 48%); pointer-events: none; }
.home-hero .hero-grid { position: relative; z-index: 1; }
.button-primary { display: inline-flex; padding: 13px 20px; background: var(--blue); color: #fff; font-weight: 750; }
.button-primary:hover, .button-primary:focus-visible { background: #1470d5; color: #fff; }
.editor-briefing { border-top: 5px solid var(--blue); background: #fff; color: var(--ink); padding: 28px; box-shadow: 0 18px 50px rgba(0,0,0,.3); }
.editor-briefing h2 { font: 700 1.55rem/1.18 Georgia, serif; }
.editor-briefing > p:not(.briefing-label) { color: var(--muted); font-size: .93rem; }
.editor-briefing > span { font-size: .78rem; font-weight: 750; }
.content-section { padding-top: 86px; padding-bottom: 90px; }
.resource-section { display: grid; grid-template-columns: 1fr 1fr; padding-top: 90px; padding-bottom: 90px; }
.site-footer { background: #05070a; color: #fff; padding: 60px 0 30px; }
.archive-main, .page-main, .not-found { padding-top: 76px; padding-bottom: 95px; }
.archive-header, .page-header { max-width: 850px; margin-bottom: 42px; }
.archive-header h1, .page-header h1, .not-found h1 { font: 700 clamp(2.6rem,6vw,5rem)/1 Georgia, serif; }
.archive-description { max-width: 720px; color: var(--muted); font-size: 1.05rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.article-card { min-height: 330px; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.article-card h2 { font: 700 1.45rem/1.16 Georgia, serif; }
.article-card > p:not(.card-category) { color: var(--muted); }
.article-card footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 15px; font-size: .72rem; }
.article-card footer span { color: var(--muted); }
.article-card footer a { color: var(--blue); font-weight: 750; }
.navigation.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); padding: 7px 12px; }
.page-numbers.current, .page-numbers:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.article-shell { width: min(820px, calc(100% - 48px)); margin: 0 auto; }
.article-hero { background: var(--ink); color: #fff; padding: 85px 0 75px; }
.article-hero h1 { max-width: 800px; font: 700 clamp(2.8rem,6vw,5rem)/1 Georgia, serif; }
.article-meta { margin-top: 26px; color: #b8c4d3; font-size: .82rem; }
.article-layout { position: relative; padding-top: 60px; padding-bottom: 50px; }
.article-content { font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.78; }
.article-content > p:first-child { font-size: 1.22rem; color: #303946; }
.article-content h2 { margin-top: 2em; font: 700 2rem/1.15 Georgia, serif; }
.article-content h3 { margin-top: 1.8em; font: 700 1.45rem/1.2 Georgia, serif; }
.article-content a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-content blockquote { margin: 2em 0; padding: 22px 26px; border-left: 5px solid var(--blue); background: var(--blue-pale); }
.article-content img { max-width: 100%; height: auto; }
.article-content table { width: 100%; border-collapse: collapse; font-family: Aptos, "Segoe UI", Arial, sans-serif; font-size: .9rem; }
.article-content th, .article-content td { padding: 10px; border: 1px solid var(--line); text-align: left; }
.article-aside { margin-top: 48px; padding: 22px 25px; border-left: 5px solid var(--blue); background: var(--mist); color: var(--muted); font-size: .85rem; }
.article-aside strong { color: var(--ink); }
.article-aside p { margin-bottom: 0; }
.article-footer { padding-bottom: 85px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.tag-list a { padding: 5px 10px; background: var(--blue-pale); color: var(--blue-deep); font-size: .72rem; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.post-navigation a { font-family: Georgia, serif; font-weight: 700; }
.post-navigation span { display: block; margin-bottom: 5px; color: var(--muted); font-family: Aptos, "Segoe UI", Arial, sans-serif; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.search-form { display: flex; max-width: 610px; margin-top: 28px; }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; border: 1px solid var(--line); padding: 10px 14px; font: inherit; }
.search-form button { min-height: 48px; border: 0; background: var(--blue); color: #fff; padding: 10px 18px; font-weight: 750; }
.not-found { min-height: 540px; }
.not-found > p:not(.eyebrow) { max-width: 620px; margin-bottom: 28px; color: var(--muted); font-size: 1.1rem; }
.not-found .search-form { margin-bottom: 28px; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; z-index: 20; top: 116px; left: 24px; right: 24px; padding: 18px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.14); }
  .primary-nav.is-open { display: block; }
  .primary-nav .menu { display: block; }
  .primary-nav .menu a { padding: 10px 6px; }
  .article-grid { grid-template-columns: 1fr 1fr; }
  .resource-section { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-shell, .article-shell { width: min(100% - 28px, 1180px); }
  .header-search { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav { top: 106px; left: 14px; right: 14px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 60px 0 52px; }
  .article-hero h1 { font-size: 2.65rem; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
}
