@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --paper: #fbf8fc; --white: #ffffff; --mist: #f5f3f6;
  --ink: #1b1b1e; --navy: #041534; --slate: #45464e; --muted: #6b6d75;
  --line: #c5c6cf; --line-soft: #e2e8f0; --teal: #0e6e6e;
  --radius: 2px;
}
* { box-sizing: border-box; }
html { font-family: "Inter", Arial, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--paper); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-radius: 2px; }

/* top bar — mirrors the public site header */
.in-topbar { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.in-topbar .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; min-height: 56px; margin: 0 auto; padding: 10px 32px; }
.brand { color: var(--navy); font-size: 20px; font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; text-decoration: none; }
.topnav { display: flex; gap: 16px; color: var(--slate); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.topnav a { text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px; }
.topnav a:hover, .topnav a[aria-current] { color: var(--navy); border-color: var(--teal); }

/* article header */
.article-head { max-width: 860px; margin: 0 auto; padding: 64px 32px 12px; }
.eyebrow { color: var(--teal); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 12px; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
h1 { margin: 6px 0 18px; color: var(--navy); font-size: clamp(36px, 4.5vw, 52px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
.standfirst { max-width: 720px; margin: 0; color: var(--slate); font-size: 19px; line-height: 1.55; }
.byline { margin: 20px 0 0; color: var(--muted); font-size: 13.5px; }
.byline-name { color: var(--navy); font-weight: 600; }

/* hero */
.hero { max-width: 980px; margin: 34px auto 0; padding: 0 32px; }
.hero img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); }

/* prose */
.prose { max-width: 720px; margin: 40px auto 0; padding: 0 32px; }
.prose p { margin: 0 0 22px; color: var(--slate); font-size: 17px; line-height: 1.75; }
.prose > p:first-child { font-size: 19px; color: var(--ink); }
.prose h2 { margin: 46px 0 14px; color: var(--navy); font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.prose ul { margin: 0 0 22px; padding-left: 22px; color: var(--slate); font-size: 16px; line-height: 1.7; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--teal); }

/* sources / endnotes */
.endnotes-head { margin-top: 56px !important; padding-top: 18px; border-top: 1px solid var(--line); color: var(--teal) !important; font-size: 12px !important; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.endnotes { padding-left: 18px !important; }
.endnotes li { color: var(--muted); font-size: 13.5px; line-height: 1.65; }

/* article footer */
.article-foot { max-width: 720px; margin: 48px auto 0; padding: 0 32px 72px; }
.about-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: 18px 20px; }
.block-label { color: var(--teal); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.about-card p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.65; }
.about-card a { color: var(--navy); }
.foot-nav { margin: 26px 0 0; font-size: 14px; }
.foot-nav a { color: var(--navy); font-weight: 600; text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }

/* index */
.index .rows { max-width: 860px; margin: 36px auto 0; padding: 0 32px 72px; display: grid; gap: 14px; }
.index .row { display: flex; gap: 22px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; transition: background-color 140ms ease; }
.index .row:hover { background: var(--mist); }
.index .thumb { width: 240px; height: auto; border: 1px solid var(--line); border-radius: var(--radius); flex-shrink: 0; }
.index .row-meta { color: var(--teal); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.index h2 { margin: 8px 0 8px; color: var(--navy); font-size: 23px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.index .row:hover h2 { text-decoration: underline; }
.index .row-body p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.6; }

/* footer strip — navy like the site footer */
.in-footer { margin-top: 0; background: var(--navy); color: #dbeafe; }
.in-footer .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1200px; margin: 0 auto; padding: 22px 32px; font-size: 13px; }
.in-footer nav { display: flex; gap: 18px; }
.in-footer a { color: #dbeafe; text-decoration: none; }
.in-footer a:hover { color: var(--white); text-decoration: underline; }

@media (max-width: 700px) {
  .article-head, .hero, .prose, .article-foot { padding-left: 20px; padding-right: 20px; }
  .index .rows { padding-left: 20px; padding-right: 20px; }
  .index .row { flex-direction: column; gap: 14px; }
  .index .thumb { width: 100%; }
  .in-topbar .bar, .in-footer .bar { padding-left: 20px; padding-right: 20px; }
}
