/* FAS design concept B, "The evidence desk". Public Sans (USWDS) + Newsreader. */
@font-face { font-family: "Public Sans"; src: url("../files/public-sans.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../files/public-sans-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../files/newsreader.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../files/newsreader-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --white: #FFFFFF; --ink: #14212B; --ink-2: #44525D; --blue: #255979; --green: #1E6B52; --paper: #EEF2F4; --line: #CED6DC;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-wrap: break-word; }
@media (max-width: 480px) { main { hyphens: auto; } }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
img, svg { max-width: 100%; height: auto; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-variation-settings: "opsz" 72; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-variation-settings: "opsz" 48; }
h3 { font-size: 1.3rem; font-variation-settings: "opsz" 24; }
p { margin: 0 0 1em; }
.lede { font-size: 1.25rem; line-height: 1.5; color: var(--ink-2); max-width: 36rem; }
.small, .muted { color: var(--ink-2); }
.small { font-size: .95rem; }
.tbc { color: var(--ink-2); font-size: .9em; }

/* concept bar + design notes */
.concept-bar { background: var(--ink); color: var(--white); font-size: .9rem; }
.concept-bar .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; padding-top: .5rem; padding-bottom: .5rem; }
.concept-bar p { margin: 0; }
.concept-bar a { color: var(--white); }
.concept-bar button { font: 600 .85rem var(--sans); background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, .7); border-radius: 4px; padding: .3rem .8rem; cursor: pointer; }
.note { background: #E6F1EC; border-radius: 6px; padding: .9rem 1.1rem; margin: 1.75rem 0 0; font-size: .95rem; max-width: 50rem; color: var(--ink); }
.note p { margin: 0; }
.note strong { color: var(--green); }
body.notes-off .note { display: none; }

/* FAS sites bar (RFP item C) */
.family { background: var(--paper); font-size: .875rem; }
.family .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; }
.family__label { margin: 0; font-weight: 600; padding: .55rem 0; }
.family ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1rem; }
.family a { display: block; padding: .55rem 0; color: var(--ink); text-decoration: none; }
.family a:hover { text-decoration: underline; }
.family a[aria-current] { color: var(--green); font-weight: 700; }
.family a[aria-current]:hover { text-decoration: none; }

/* masthead */
.masthead { border-bottom: 1px solid var(--line); }
.masthead__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; padding-top: 1.1rem; padding-bottom: 1.1rem; }
.brand { display: flex; align-items: baseline; gap: .75rem; text-decoration: none; color: var(--ink); flex-wrap: wrap; }
.brand__fas { font: 700 1.05rem/1 var(--sans); letter-spacing: .14em; color: var(--white); background: var(--blue); padding: .4rem .5rem .35rem .6rem; align-self: center; }
.brand__site { font: 500 1.6rem/1.1 var(--serif); font-variation-settings: "opsz" 36; }
.masthead nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; margin: 0; padding: 0; }
.masthead nav a { display: inline-block; padding: .35rem 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; }
.masthead nav a:hover { border-bottom-color: var(--line); }
.masthead nav a[aria-current], .masthead nav a[aria-current]:hover { border-bottom-color: var(--green); color: var(--green); font-weight: 700; }

/* buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.btn { display: inline-block; max-width: 100%; background: var(--green); color: var(--white); font-weight: 600; text-decoration: none; padding: .75rem 1.2rem; border-radius: 4px; }
.btn:hover { background: #15513D; color: var(--white); }
.btn--quiet { background: transparent; color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.btn--quiet:hover { background: var(--green); color: var(--white); }

/* sections */
.hero { padding: 4.5rem 0 3.5rem; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3rem; align-items: end; }
.hero h1 { margin: 0; max-width: 15ch; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.5rem; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--ink-2); }
.evidence { background: var(--paper); padding: 3.5rem 0; }
.recs, .numbers, .follow, .listing { padding: 3.5rem 0; }
.numbers { border-top: 1px solid var(--line); }
.follow { background: var(--paper); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 3rem; align-items: start; }
.two--top { align-items: start; }
.more { margin-top: 1.5rem; font-weight: 600; }
.page-head { padding: 3.5rem 0 1rem; }
.prose { max-width: 46rem; }
.prose li { margin-bottom: .6rem; }

/* the evidence timeline */
.tl-wrap { background: var(--white); border-radius: 8px; padding: 1rem 1rem .25rem; overflow: hidden; }
.timeline .yr { font: 700 14px var(--sans); fill: var(--ink); }
.timeline .now { font: 600 13px var(--sans); fill: var(--green); }
.timeline .mark { transition: opacity .15s ease; }
.timeline.is-focus .mark { opacity: .18; }
.timeline.is-focus .mark.is-on { opacity: 1; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; margin: 1rem 0 1.5rem; padding: 0; font-size: .92rem; }
.legend li { display: flex; align-items: center; gap: .5rem; }
.lg-key { width: 14px; height: 14px; background: var(--c); display: inline-block; }
.lg-key--circle { border-radius: 50%; }
.lg-key--dot { border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 2.5px var(--c); }
.lg-key--diamond { transform: rotate(45deg) scale(.85); }
.tl-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.tl-year h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; border-bottom: 2px solid var(--ink); padding-bottom: .4rem; margin-bottom: .5rem; }
.tl-year ol { list-style: none; margin: 0; padding: 0; }
.tl-year li { display: grid; grid-template-columns: 3.4rem minmax(0, 1fr); column-gap: .5rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; line-height: 1.4; }
.tl-year li a { color: var(--ink); text-decoration: none; }
.tl-year li a:hover, .tl-year li a:focus-visible { color: var(--blue); text-decoration: underline; }
.tl-year li.is-on { background: var(--white); box-shadow: -8px 0 0 var(--white), 8px 0 0 var(--white); }
.tl-date { color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tl-kind { grid-column: 2; color: var(--ink-2); font-size: .85rem; }

/* recommendations on the home page */
.rec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.rec { border-left: 4px solid var(--green); padding: .25rem 0 .25rem 1.25rem; }
.rec__text { font: 400 1.35rem/1.4 var(--serif); font-variation-settings: "opsz" 24; margin-bottom: .75rem; }
.rec__src { font-size: .92rem; margin: 0; display: grid; gap: .15rem; }
.rec__src a { font-weight: 600; }
.rec__src span { color: var(--ink-2); }

/* figures */
.chart { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 1.25rem; }
.chart figcaption { display: grid; gap: .2rem; margin-bottom: .75rem; }
.fig-kicker { color: var(--ink-2); font-size: .85rem; font-weight: 600; }
.chart figcaption b { font: 500 1.2rem/1.25 var(--serif); }
.chart .ax { font: 400 12px var(--sans); fill: var(--ink-2); }
.chart .val { font: 700 12px var(--sans); fill: var(--ink); }
.chart-note { font-size: .9rem; color: var(--ink-2); margin: .5rem 0; }
.chart details { font-size: .92rem; }
.chart summary { cursor: pointer; color: var(--blue); text-decoration: underline; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
thead th { font-weight: 700; border-bottom: 2px solid var(--ink); }
tbody th { font-weight: 500; }
.table-wrap { overflow-x: auto; }
th.num { white-space: nowrap; }

/* follow */
.follow__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.follow__list li { background: var(--white); border-radius: 6px; padding: 1rem 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }
.follow__list a, .tbc-l { font-weight: 700; }
.follow__list span:last-child { color: var(--ink-2); font-size: .92rem; }

/* listing */
.filters { display: grid; gap: 1rem; margin-bottom: .5rem; }
.segs, .chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.seg { font: 600 .95rem var(--sans); background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; }
.seg[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chip { font: 500 .9rem var(--sans); background: var(--paper); color: var(--ink); border: 1px solid transparent; border-radius: 4px; padding: .4rem .7rem; cursor: pointer; }
.chip span { color: var(--ink-2); margin-left: .2rem; }
.chip[aria-pressed="true"] { background: var(--green); color: var(--white); }
.chip[aria-pressed="true"] span { color: var(--white); }
.count { color: var(--ink-2); margin: 1.5rem 0 0; }
.rows { list-style: none; margin: 0; padding: 0; }
.row { border-bottom: 1px solid var(--line); padding: 1.5rem 0; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); column-gap: 2rem; }
.row > * { grid-column: 2; }
.row .row__meta { grid-column: 1; grid-row: 1 / span 4; margin: .3rem 0 0; display: grid; gap: .2rem; color: var(--ink-2); font-size: .92rem; align-content: start; }
.row__kind { font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: .45rem; }
.row__kind::before { content: ""; width: 10px; height: 10px; background: var(--c); border-radius: 2px; }
.row h3 { margin-bottom: .4rem; }
.row h3 a { color: var(--ink); text-decoration: none; }
.row h3 a:hover { color: var(--blue); text-decoration: underline; }
.row__ex { color: var(--ink-2); max-width: 44rem; }
.topics { list-style: none; margin: .25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.topics a { display: inline-block; font-size: .85rem; background: var(--paper); color: var(--ink); text-decoration: none; padding: .25rem .6rem; border-radius: 4px; }
.topics a:hover { background: var(--ink); color: var(--white); }

/* topics page */
.topic-cards { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.topic-cards a { display: grid; gap: .2rem; background: var(--paper); border-radius: 6px; padding: 1rem; text-decoration: none; color: var(--ink); height: 100%; }
.topic-cards a:hover { background: #E1E9EE; }
.tc__name { font: 500 1.2rem/1.2 var(--serif); }
.tc__n { color: var(--ink-2); font-size: .9rem; }

/* reading template */
.read__head { max-width: 52rem; padding-top: 3rem; padding-bottom: 1.5rem; }
.crumbs { font-size: .92rem; color: var(--ink-2); }
.dek { font: 400 1.35rem/1.45 var(--serif); color: var(--ink-2); max-width: 40rem; }
.byline { font-size: .92rem; color: var(--ink-2); }
.read__grid { display: grid; grid-template-columns: 13rem minmax(0, 40rem) minmax(0, 1fr); gap: 0 3rem; padding-bottom: 3rem; }
.read__rail { grid-column: 1; align-self: start; position: sticky; top: 1rem; font-size: .92rem; }
.rail__h { font: 700 .92rem var(--sans); margin: 1.25rem 0 .4rem; }
.rail__h:first-child { margin-top: 0; }
.rail__toc { margin: 0; padding-left: 1.2rem; }
.rail__toc li { margin-bottom: .3rem; }
.rail__share { list-style: none; margin: 0; padding: 0; display: flex; gap: 1rem; }
.read__body { grid-column: 2; font: 400 1.2rem/1.65 var(--serif); font-variation-settings: "opsz" 16; }
.read__body h2 { margin-top: 2rem; font-size: 1.6rem; }
.key { background: #E6F1EC; border-radius: 6px; padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.key h2 { font: 700 .95rem var(--sans); color: var(--green); margin: 0 0 .3rem; }
.key p { margin: 0; font-size: 1.3rem; line-height: 1.45; }
.ref a { font: 700 .75rem var(--sans); text-decoration: none; padding: 0 .15em; }
.sidenote { font: 400 .9rem/1.45 var(--sans); color: var(--ink-2); border-left: 2px solid var(--green); padding: .1rem 0 .1rem .8rem; margin: -.4rem 0 1.2rem; }
.sn__n { font-weight: 700; color: var(--green); margin-right: .3rem; }
@media (min-width: 1180px) {
  .sidenote { float: right; clear: right; width: 15rem; margin: -6.5rem -18rem 1rem 0; }
}
.read__body .chart { margin: 1.5rem 0; font-size: 1rem; }
.video-facade { margin: 1.5rem 0; }
.vf-play { width: 100%; aspect-ratio: 16 / 9; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .9rem; background: var(--ink); color: var(--white); border: 0; border-radius: 8px; cursor: pointer; font: 500 1.05rem/1.3 var(--sans); padding: 1rem; }
.vf-icon { width: 4.2rem; height: 4.2rem; border-radius: 50%; background: var(--white); position: relative; }
.vf-icon::after { content: ""; position: absolute; left: 1.7rem; top: 1.3rem; border-left: 1.2rem solid var(--ink); border-top: .8rem solid transparent; border-bottom: .8rem solid transparent; }
.vf-play:hover .vf-icon { background: #E6F1EC; }
.vf-note { font: 400 .95rem/1.5 var(--sans); background: var(--paper); padding: .9rem 1rem; border-radius: 6px; }
.related { background: var(--paper); padding: 2.5rem 0 3rem; }
.related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.related__list li { display: grid; gap: .35rem; align-content: start; }
.related__list a { font: 500 1.15rem/1.3 var(--serif); color: var(--ink); text-decoration: none; }
.related__list a:hover { color: var(--blue); text-decoration: underline; }

/* network page */
.code { background: var(--ink); color: var(--white); padding: 1rem; border-radius: 6px; overflow-x: auto; font: 400 .85rem/1.55 ui-monospace, Menlo, monospace; }
.sites { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.sites li { background: var(--paper); border-radius: 6px; padding: 1rem 1.2rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem 1rem; border-top: 4px solid var(--green); }
.site__name { font: 500 1.25rem/1.2 var(--serif); }
.site__kind { color: var(--ink-2); font-size: .92rem; grid-column: 1; }
.site__line { display: none; }
.site__bar { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .85rem; font-weight: 600; color: var(--green); }

/* footer */
.foot { background: var(--ink); color: #DDE4E9; padding-top: 3rem; }
.foot a { color: var(--white); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.foot__site { font: 500 1.6rem/1.1 var(--serif); color: var(--white); margin-bottom: .6rem; }
.foot__h { font: 700 1rem var(--sans); color: var(--white); margin: 0 0 .6rem; }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.foot__links a[aria-current] { font-weight: 700; }
.foot .tbc { color: #B8C4CC; }
.foot .note { color: var(--ink); }
.foot .note a { color: var(--blue); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 2rem; padding-top: 1rem; padding-bottom: 4.5rem; font-size: .88rem; }
.foot__base p { margin: 0; }

@media (max-width: 960px) {
  .hero__grid, .two, .rec-grid, .tl-list, .foot__grid, .related__list, .topic-cards { grid-template-columns: minmax(0, 1fr); }
  .read__grid { grid-template-columns: minmax(0, 1fr); }
  .read__rail { position: static; grid-column: 1; margin-bottom: 1.5rem; }
  .read__body { grid-column: 1; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .row > *, .row .row__meta { grid-column: 1; grid-row: auto; }
  .row .row__meta { display: flex; flex-wrap: wrap; gap: .2rem 1rem; margin-bottom: .4rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
