/* Styles for the news section. Matches the homepage: Archivo for headings,
   Libre Franklin for body, IBM Plex Mono for labels, Oxford navy and orange. */

@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url('/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('/fonts/libre-franklin-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Libre Franklin'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('/fonts/libre-franklin-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/plex-mono-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/fonts/plex-mono-500-latin.woff2') format('woff2'); }

:root {
  --navy: #002147;
  --navy-deep: #011a39;
  --orange: #FFA500;
  --ink: #0c1526;
  --body: #3a4658;
  --muted: #5a6577;
  --faint: #8a94a3;
  --paper: #f7f6f2;
  --line: rgba(0,33,71,.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Libre Franklin', sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--navy); color: #fff; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.mono { font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.18em; text-transform: uppercase; font-size: 12.5px; }
.rule { width: 44px; height: 3px; background: var(--orange); margin-bottom: 22px; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line); }
.nav .wrap { height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo img { height: 48px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; }
.pill { display: inline-flex; align-items: center; padding: 8px 15px; border: 1px solid rgba(0,33,71,.2);
  border-radius: 100px; color: var(--navy); transition: background .2s, border-color .2s; white-space: nowrap; }
.pill:hover { background: #f2f0ea; border-color: rgba(0,33,71,.4); }
.pill[aria-current="page"] { background: #f2f0ea; border-color: rgba(0,33,71,.4); }
.pill-solid { display: inline-flex; align-items: center; padding: 9px 18px; background: var(--navy); color: #fff;
  border-radius: 100px; font-weight: 600; margin-left: 4px; white-space: nowrap; }

/* ---------- Page header ---------- */
.masthead { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.masthead::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 120% at 85% 0%, rgba(78,123,176,.28), transparent 60%); }
.masthead .wrap { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 84px; }
.masthead .mono { color: var(--orange); }
.masthead h1 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 64px; line-height: 1.04;
  letter-spacing: -0.03em; margin: 18px 0 0; max-width: 860px; }
.masthead p { font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.75); font-weight: 300; max-width: 620px; margin: 22px 0 0; }

/* ---------- News listing ---------- */
.listing { padding: 90px 0 130px; }
.listing-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.listing-head .mono { color: var(--navy); }
.listing-head .count { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--faint); letter-spacing: 0.04em; }

.story { display: grid; grid-template-columns: 170px 1fr 40px; gap: 40px; align-items: start;
  padding: 40px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.story:hover h2 { color: var(--navy); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.story:hover .arrow { transform: translateX(4px); color: var(--navy); }
.story-meta { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); line-height: 1.7; }
.story-meta .tag { display: inline-block; margin-top: 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy); border: 1px solid rgba(0,33,71,.2); border-radius: 100px; padding: 3px 10px; }
.story h2 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 30px; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--ink); margin: 0; max-width: 760px; }
.story p { font-size: 17px; line-height: 1.65; color: var(--body); margin: 14px 0 0; max-width: 720px; }
.arrow { font-family: 'Archivo', sans-serif; font-size: 26px; color: rgba(0,33,71,.35); transition: transform .2s, color .2s; padding-top: 2px; }

/* ---------- Article ---------- */
.crumb { font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.06em; color: rgba(255,255,255,.6); }
.crumb a { color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.3); }
.crumb a:hover { color: #fff; border-color: #fff; }
.article-head h1 { font-size: 54px; max-width: 900px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.16); font-family: 'IBM Plex Mono', monospace; font-size: 12.5px;
  letter-spacing: 0.04em; color: rgba(255,255,255,.65); }
.article-meta span + span::before { content: "/"; color: var(--orange); margin-right: 22px; }

.article { padding: 84px 0 120px; }
.article-grid { display: grid; grid-template-columns: 1fr 320px; gap: 80px; align-items: start; }
.prose { max-width: 700px; }
.prose p { font-size: 18px; line-height: 1.75; color: var(--body); margin: 0 0 24px; }
.prose .lede { font-family: 'Archivo', sans-serif; font-weight: 500; font-size: 23px; line-height: 1.45;
  letter-spacing: -0.012em; color: var(--navy); margin-bottom: 32px; }
.prose h2 { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 26px; letter-spacing: -0.02em;
  color: var(--ink); margin: 52px 0 16px; }

.quote { margin: 44px 0 48px; padding: 38px 42px 34px; background: var(--paper); border-left: 3px solid var(--orange); border-radius: 0 8px 8px 0; }
.quote p { font-family: 'Archivo', sans-serif; font-weight: 400; font-size: 21px; line-height: 1.55;
  letter-spacing: -0.008em; color: var(--ink); margin: 0; }
.quote cite { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-style: normal;
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; letter-spacing: 0.06em; color: var(--muted); }
.quote cite::before { content: ""; width: 28px; height: 1px; background: rgba(0,33,71,.35); }

.about { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.about .mono { color: var(--navy); font-size: 11.5px; }
.about p { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 14px 0 0; }

.aside { position: sticky; top: 110px; }
.card { background: var(--navy); color: #fff; border-radius: 10px; padding: 32px 30px; }
.card .mono { color: rgba(255,255,255,.55); font-size: 11px; }
.card dl { margin: 0; }
.card dt { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange); margin-top: 22px; }
.card dt:first-of-type { margin-top: 18px; }
.card dd { margin: 6px 0 0; font-size: 15.5px; line-height: 1.5; color: rgba(255,255,255,.88); }
.aside-links { margin-top: 18px; display: grid; gap: 10px; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px;
  border: 1px solid rgba(0,33,71,.16); border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--navy); transition: background .2s; }
.aside-links a:hover { background: #f2f0ea; }

/* ---------- Footer ---------- */
.footer { background: #fff; padding: 56px 0; border-top: 1px solid var(--line); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.footer-mark { height: 110px; width: auto; display: block; margin-bottom: 10px; }
.footer small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; margin-top: 14px;
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--navy); }
.footer-links .dot { color: rgba(0,33,71,.3); }
.footer-copy { font-size: 12.5px; color: var(--faint); margin-top: 18px; }
.footer-oms { height: 68px; width: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .article-grid { grid-template-columns: 1fr; gap: 48px; }
  .aside { position: static; }
}
@media (max-width: 860px) {
  .wrap { padding: 0 22px; }
  .nav .wrap { height: 60px; }
  .nav-logo img { height: 36px; }
  .nav-links .pill.hide-sm { display: none; }
  .nav-links .pill, .pill-solid { padding: 7px 12px; font-size: 13px; }
  .masthead .wrap { padding-top: 64px; padding-bottom: 56px; }
  .masthead h1 { font-size: 40px; }
  .article-head h1 { font-size: 32px; line-height: 1.12; }
  .masthead p { font-size: 17px; }
  .listing { padding: 56px 0 90px; }
  .story { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .story h2 { font-size: 23px; }
  .story p { font-size: 16px; }
  .arrow { display: none; }
  .article { padding: 52px 0 84px; }
  .prose p { font-size: 17px; }
  .prose .lede { font-size: 19.5px; }
  .quote { padding: 26px 22px 24px; margin: 34px 0 38px; }
  .quote p { font-size: 18px; }
  .footer { padding: 40px 0; }
  .footer .wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 420px) {
  .nav-links .pill-solid { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
