:root {
  --navy: #15345b;
  --navy-deep: #0e2746;
  --blue: #1768ff;
  --blue-soft: #eaf2ff;
  --line: #d7e2f2;
  --text: #10274f;
  --muted: #597095;
  --paper: #f8fafd;
  --surface: #fbfcfe;
  --max: 1440px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f8fafd; color: var(--text); line-height: 1.55; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .24; background-image: linear-gradient(rgba(118,128,142,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(118,128,142,.16) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%); }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: .2em; }
a:hover { color: var(--blue); }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .75rem 1rem; background: var(--navy); color: white; }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { min-height: 76px; padding: 0 clamp(1rem, 3vw, 3.25rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; background: rgba(248,250,253,.97); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 1rem; color: var(--navy); text-decoration: none; flex-shrink: 0; }
.brand-name { font-size: clamp(1.2rem, 1.5vw, 1.55rem); font-weight: 600; letter-spacing: -.04em; white-space: nowrap; }
.brand-divider { width: 1px; height: 42px; background: var(--blue); }
.brand-meta { font-size: .72rem; line-height: 1.2; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); }
.site-nav a { position: relative; padding: 1.75rem 0; color: var(--navy-deep); text-decoration: none; font-size: .94rem; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--blue); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.menu-toggle { display: none; width: 48px; height: 48px; background: transparent; border: 0; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--navy); margin: 6px 0; }

main { min-height: 70vh; background: #f8fafd; }
.loading, .error { padding: 8rem 1.5rem; text-align: center; }
.eyebrow, .section-heading { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .24em; }
.rule { height: 1px; background: #9fb8dc; }

.home-hero { display: grid; grid-template-columns: minmax(0, 57%) minmax(340px, 43%); min-height: 560px; max-width: var(--max); margin: 0 auto; border-bottom: 1px solid var(--line); background: transparent; box-shadow: 0 18px 60px rgba(9,41,104,.05); }
.hero-portrait { overflow: hidden; background: #e8e2da; }
.hero-portrait img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center 24%; filter: sepia(.14) saturate(.8); }
.hero-copy { position: relative; padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 6rem); border-right: 1px solid var(--line); overflow: hidden; }
.hero-copy::after { content: ""; position: absolute; right: -8rem; bottom: -9rem; width: 24rem; height: 24rem; opacity: .32; background-image: linear-gradient(#b9cbe6 1px, transparent 1px), linear-gradient(90deg, #b9cbe6 1px, transparent 1px); background-size: 30px 30px; transform: rotate(-8deg); pointer-events: none; }
.hero-copy > * { position: relative; z-index: 1; }
.hero-copy h1 { margin: 2.2rem 0 .5rem; font-size: clamp(3.25rem, 5.2vw, 5.8rem); line-height: .96; letter-spacing: -.065em; color: var(--navy); }
.hero-role { margin: 1.25rem 0 2.25rem; font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.3; color: #284a80; }
.hero-focus { color: #5e82b5; font-size: .82rem; letter-spacing: .24em; text-transform: uppercase; }

.numbered-section { max-width: var(--max); margin: 0 auto; padding: 2.25rem clamp(1.5rem, 4vw, 4rem); border-bottom: 1px solid var(--line); background: transparent; }
.section-heading { grid-template-columns: auto 1fr auto auto; }
.section-heading h2 { margin: 0; font-size: clamp(2rem, 3vw, 3.15rem); letter-spacing: -.045em; text-transform: none; color: var(--navy); font-weight: 500; }
.news-list { margin-top: 1rem; }
.news-list article { display: grid; grid-template-columns: 150px 1fr; gap: 2rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.news-list time { color: var(--muted); font-variant-numeric: tabular-nums; }
.news-list h3 { margin: 0 0 .25rem; font-size: 1.15rem; color: var(--navy); }
.news-list p { margin: 0; color: var(--muted); }

.route-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); background: transparent; }
.route-grid a { position: relative; min-height: 170px; padding: 2rem 3.5rem; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); color: var(--navy); text-decoration: none; transition: background .2s ease; }
.route-grid a::before { content: ""; position: absolute; left: 0; top: 1rem; bottom: 1rem; width: 6px; background: var(--blue); }
.route-grid a:hover { background: var(--surface); }
.route-grid a:last-child { border-right: 0; }
.route-grid span { font-size: .72rem; color: #6e8fbc; letter-spacing: .16em; }
.route-grid strong { margin: .75rem 0 .25rem; font-size: clamp(1.5rem, 2.1vw, 2.2rem); font-weight: 500; letter-spacing: -.04em; }
.route-grid small { color: var(--muted); text-transform: uppercase; letter-spacing: .15em; }
.route-grid b { position: absolute; right: 2.5rem; top: 50%; font-size: 2rem; font-weight: 300; transform: translateY(-50%); }

.network-strip { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr 2fr; border-bottom: 1px solid var(--line); background: transparent; }
.network-label { padding: 2.5rem; display: flex; align-items: center; color: var(--muted); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; }
.network { padding: 1.5rem 2rem; display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 1.5rem; border-left: 1px solid var(--line); color: var(--text); text-decoration: none; }
.network img { width: 145px; max-height: 110px; object-fit: contain; }
.network span { font-size: .95rem; }
.network b { display: inline-block; margin-top: .75rem; color: var(--blue); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }

.page-hero { position: relative; max-width: var(--max); min-height: 390px; margin: 0 auto; display: grid; grid-template-columns: minmax(300px, 39%) minmax(0, 61%); overflow: hidden; border-bottom: 1px solid var(--line); background: transparent; box-shadow: 0 18px 60px rgba(9,41,104,.05); }
.page-visual { min-height: 390px; overflow: hidden; border-right: 1px solid var(--line); background: linear-gradient(135deg, #eef4fd, #dce8f9); }
.page-visual img { width: 100%; height: 100%; min-height: 390px; display: block; object-fit: cover; object-position: center; filter: saturate(.82) contrast(.98); }
.page-visual.is-contain { display: grid; place-items: center; padding: 2rem; background: linear-gradient(145deg, #edf3fc, #d9e5f7); }
.page-visual.is-contain img { width: auto; height: min(326px, 84%); min-height: 0; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(9,41,104,.18)); }
.page-hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 6rem); overflow: hidden; }
.page-hero-copy::after { content: ""; position: absolute; right: -8rem; bottom: -10rem; width: 30rem; height: 30rem; opacity: .32; background-image: linear-gradient(#b9cbe6 1px, transparent 1px), linear-gradient(90deg, #b9cbe6 1px, transparent 1px), linear-gradient(30deg, transparent 49.7%, #9eb8dd 50%, transparent 50.3%); background-size: 34px 34px, 34px 34px, 100% 100%; transform: rotate(-7deg); pointer-events: none; }
.page-hero .eyebrow { position: relative; z-index: 1; max-width: 820px; }
.page-hero h1 { position: relative; z-index: 1; margin: 2.5rem 0 0; color: var(--navy); font-size: clamp(3rem, 6vw, 6rem); line-height: 1; letter-spacing: -.06em; }

.content-shell { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 260px minmax(0, 1fr); border-bottom: 1px solid var(--line); background: transparent; }
.content-shell > aside { padding: 3rem 2rem; border-right: 1px solid var(--line); color: var(--muted); }
.content-shell > aside span { display: block; margin-bottom: 1rem; color: var(--blue); font-size: .75rem; letter-spacing: .18em; }
.content-shell > aside strong { color: var(--navy); font-size: 1.1rem; font-weight: 500; }
.legacy-content { min-width: 0; padding: clamp(2.5rem, 5vw, 5rem); counter-reset: section; }
.legacy-content > h1:first-child { display: none; }
.legacy-content h1, .legacy-content h2, .legacy-content h3 { color: var(--navy); line-height: 1.18; letter-spacing: -.035em; }
.legacy-content h2 { margin: 4rem 0 1.5rem; padding-top: 1rem; display: grid; grid-template-columns: minmax(0, auto) 1fr; align-items: center; gap: 1rem; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; }
.legacy-content h2:first-child { margin-top: 0; }
.legacy-content h2::after { content: ""; height: 1px; background: var(--line); }
.legacy-content h3 { margin: 2.5rem 0 1rem; font-size: 1.35rem; }
.legacy-content p, .legacy-content li { font-size: 1rem; color: #344d73; }
.legacy-content p { margin: 0 0 1.15rem; }
.legacy-content ul, .legacy-content ol { margin: 1.25rem 0 2rem; padding-left: 1.25rem; }
.legacy-content li { margin: .65rem 0; padding-left: .35rem; }
.legacy-content a { color: #0c5fe9; font-weight: 600; overflow-wrap: anywhere; }
.legacy-content img { margin: 1rem 1rem 1rem 0; max-height: 420px; object-fit: contain; }
.legacy-content blockquote { margin: 2rem 0; padding: 1.5rem 2rem; border-left: 4px solid var(--blue); background: var(--surface); }
.home-details { margin-top: 0; }

.site-footer { max-width: var(--max); margin: 0 auto; padding: 2.5rem clamp(1.5rem, 4vw, 4rem); display: flex; justify-content: space-between; gap: 2rem; color: var(--muted); font-size: .9rem; border-top: 5px solid var(--navy); background: #f0f3f8; }
.site-footer strong { color: var(--navy); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

@media (max-width: 1280px) {
  .site-header { min-height: 88px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .75rem 1.5rem 1.5rem; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: #f8fafd; box-shadow: 0 16px 35px rgba(9,41,104,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
}

@media (max-width: 1050px) {
  .site-header { min-height: 88px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: .75rem 1.5rem 1.5rem; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); background: #f8fafd; box-shadow: 0 16px 35px rgba(9,41,104,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .9rem 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .home-hero { grid-template-columns: 1fr; }
  .hero-copy { order: 1; padding-bottom: 2.5rem; }
  .hero-portrait { order: 2; margin: 0 clamp(1.5rem, 5vw, 4rem) 3rem; }
  .hero-portrait img { min-height: 360px; max-height: 500px; object-position: center 28%; }
  .route-grid { grid-template-columns: 1fr 1fr; }
  .route-grid a:nth-child(2) { border-right: 0; }
  .route-grid a:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .network-strip { grid-template-columns: 1fr 1fr; }
  .network-label { grid-column: 1 / -1; padding: 1.5rem 2rem; border-bottom: 1px solid var(--line); }
  .network:first-of-type { border-left: 0; }
  .content-shell { grid-template-columns: 190px minmax(0, 1fr); }
}

@media (max-width: 850px) {
  .page-hero { grid-template-columns: 1fr; }
  .page-visual { min-height: 320px; height: 42vw; max-height: 430px; border-right: 0; border-bottom: 1px solid var(--line); }
  .page-visual img { min-height: 320px; }
  .page-visual.is-contain { height: 360px; }
  .page-visual.is-contain img { min-height: 0; }
}

@media (max-width: 700px) {
  .site-header { min-height: 72px; padding: 0 1rem; }
  .brand { gap: .7rem; }
  .brand-name { font-size: 1.35rem; }
  .brand-divider, .brand-meta { display: none; }
  .hero-copy { padding: 2.25rem 1.25rem 1.75rem; }
  .hero-copy h1 { margin-top: 1.5rem; font-size: clamp(3rem, 14vw, 4.5rem); }
  .hero-role { font-size: 1.25rem; }
  .hero-focus { font-size: .68rem; letter-spacing: .16em; }
  .hero-portrait { margin: 0 1.25rem 2rem; }
  .hero-portrait img { min-height: 300px; height: 58vw; max-height: 430px; }
  .numbered-section { padding: 1.75rem 1.25rem; }
  .section-heading { gap: .75rem; }
  .section-heading h2 { font-size: 2.25rem; }
  .news-list article { grid-template-columns: 1fr; gap: .4rem; }
  .route-grid { grid-template-columns: 1fr; }
  .route-grid a, .route-grid a:nth-child(2), .route-grid a:nth-child(3) { grid-column: auto; border-right: 0; border-top: 1px solid var(--line); min-height: 145px; padding: 1.5rem 3.5rem 1.5rem 2.25rem; }
  .route-grid a:first-child { border-top: 0; }
  .route-grid b { right: 1.25rem; }
  .network-strip { grid-template-columns: 1fr; }
  .network { grid-template-columns: 100px 1fr; border-left: 0; border-top: 1px solid var(--line); padding: 1.25rem; }
  .network img { width: 100px; max-height: 85px; }
  .page-hero { min-height: 260px; background: transparent; }
  .page-visual { min-height: 250px; height: 68vw; max-height: 340px; }
  .page-visual img { min-height: 250px; }
  .page-visual.is-contain { height: 320px; min-height: 320px; }
  .page-visual.is-contain img { min-height: 0; }
  .page-hero-copy { padding: 3rem 1.25rem; }
  .page-hero h1 { font-size: clamp(2.8rem, 13vw, 4.25rem); overflow-wrap: anywhere; }
  .content-shell { display: block; }
  .content-shell > aside { padding: 1.5rem 1.25rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .content-shell > aside span { display: inline-block; margin: 0 1rem 0 0; }
  .legacy-content { padding: 2.5rem 1.25rem; }
  .legacy-content h2 { margin-top: 3rem; font-size: 2rem; grid-template-columns: 1fr; }
  .legacy-content h2::after { display: none; }
  .site-footer { flex-direction: column; padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Preserve the complete source news and its linked cover on every screen size. */
.news-source { display: flow-root; margin-top: 1.5rem; }
.news-source > a:first-child { float: right; width: min(24%, 160px); margin: 0 0 1.5rem 2rem; }
.news-source > a:first-child img { width: 100%; height: auto; }
.legacy-content a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 600px) { .news-source > a:first-child { width: 100px; margin-left: 1rem; } }
