@font-face {
  font-family: Briefings Inter;
  src: url('/agent37-inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

.bf {
  --bf-ink: #003049;
  --bf-paper: #fffdf7;
  --bf-cream: #fdf0d5;
  --bf-wine: #780000;
  --bf-line: #d5cbb8;
  --bf-muted: #425761;
  --bf-blue: #dbe8ec;
  --bf-display: Georgia, 'Times New Roman', serif;
  background: var(--bf-paper);
  color: var(--bf-ink);
  font: 400 16px/1.55 'Briefings Inter', Arial, sans-serif;
}

.bf *, .bf *::before, .bf *::after { box-sizing: border-box; }
.bf a { color: inherit; }
.bf a:focus-visible { outline: 2px solid #bd302d; outline-offset: 5px; }
.bf h1, .bf h2, .bf h3, .bf p { margin: 0; }
.bf h1, .bf h2, .bf h3 { color: inherit; text-transform: none; }
.bf-wrap { width: min(1160px, calc(100% - 2 * clamp(20px, 5vw, 72px))); margin-inline: auto; }
.bf-label { font-size: .72rem; font-weight: 780; letter-spacing: .11em; text-transform: uppercase; }
.bf-label span { padding-inline: .4em; }
.bf-back { display: inline-flex; align-items: center; gap: 9px; font-size: .86rem; font-weight: 700; text-underline-offset: 4px; }

.bf-masthead { position: relative; padding-block: clamp(25px, 5vw, 60px) clamp(34px, 6vw, 74px); }
.bf-masthead::before, .bf-index::before {
  content: '';
  position: absolute;
  z-index: 0;
  background: var(--bf-cream);
  inset: 0;
  pointer-events: none;
}
.bf-masthead::before {
  inset-inline: calc(-1 * max(clamp(20px, 5vw, 72px), (100vw - 1160px) / 2));
}
.bf-article { overflow: clip; }
.bf-masthead > * { position: relative; }
.bf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  align-items: end;
  gap: clamp(30px, 5vw, 78px);
  margin-top: clamp(24px, 4vw, 56px);
}
.bf-hero .bf-label, .bf-index-hero .bf-label { color: var(--bf-wine); }
.bf-hero h1 {
  max-width: 15ch;
  margin-block: 12px 19px;
  font: 400 clamp(2.7rem, 6.2vw, 5.75rem)/.99 var(--bf-display);
  letter-spacing: -.053em;
  text-wrap: balance;
}
.bf .bf-deck {
  max-width: 49ch;
  color: var(--bf-muted);
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  line-height: 1.55;
}
.bf .bf-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-top: 22px;
  font-size: .83rem;
  color: var(--bf-muted);
}
.bf-byline a { font-weight: 700; text-underline-offset: 4px; }
.bf-hero .bf-contents {
  display: block;
  color: var(--bf-paper);
  background: var(--bf-ink);
  padding: 21px 22px 15px;
  border-top: 4px solid #669bbc;
}
.bf-hero .bf-contents .bf-label { color: #bedbe9; margin: 0 0 11px; }
.bf-contents ol { list-style: none; margin: 0; padding: 0; }
.bf-contents li { margin: 0; }
.bf-contents li a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  padding: 9px 0;
  gap: 0 9px;
  color: var(--bf-paper);
  text-decoration: none;
  border-top: 1px solid #abc7d44a;
}
.bf-contents li a span:first-child { font-size: .95rem; font-weight: 700; }
.bf-contents li a small { color: #bdd4dc; font-size: .75rem; grid-column: 1; }
.bf-contents li a small:empty { display: none; }
.bf-contents li a span:last-child { grid-column: 2; grid-row: 1 / span 2; color: #bdd4dc; }
.bf-contents li a:hover span:first-child, .bf-start-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.bf-contents a:focus-visible { outline-color: #bedbe9; }
.bf-start-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  border-top: 1px solid #abc7d44a;
  color: var(--bf-paper);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}
.bf-reading {
  display: grid;
  grid-template-columns: minmax(195px, 270px) minmax(0, 690px);
  gap: clamp(27px, 6vw, 90px);
  align-items: start;
  justify-content: start;
  padding-block: clamp(32px, 5vw, 66px) 65px;
}
.bf-takeaway { padding: 21px 23px; border-top: 3px solid var(--bf-wine); background: #f4e9d4; }
.bf-takeaway h2 { margin-bottom: 8px; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--bf-wine); }
.bf-takeaway p { font: 400 clamp(1.15rem, 2vw, 1.38rem)/1.4 var(--bf-display); }
.bf-copy { min-width: 0; font-size: clamp(1rem, 1.55vw, 1.13rem); line-height: 1.73; }
.bf-copy .bf-context { color: var(--bf-muted); }
.bf-section { margin-top: 33px; padding-top: 33px; border-top: 1px solid var(--bf-line); }
.bf-section, .bf-next { scroll-margin-top: 115px; }
.bf-section:target .bf-label { text-decoration: underline; text-underline-offset: 4px; }
.bf-section .bf-label { color: var(--bf-wine); }
.bf-section h2, .bf-next h2 {
  margin-block: 4px 16px;
  font: 400 clamp(1.85rem, 3.5vw, 2.85rem)/1.1 var(--bf-display);
  letter-spacing: -.038em;
  text-wrap: balance;
}
.bf-section p + p { margin-top: 13px; }
.bf-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
  color: var(--bf-muted);
  font-size: .79rem;
}
.bf-sources a { display: inline-flex; align-items: center; min-height: 28px; text-decoration: underline; text-underline-offset: 3px; }
.bf-sources a:hover, .bf-back:hover, .bf-related a:hover { color: var(--bf-wine); }
.bf-media { margin: 20px 0 0; }
.bf-media img { display: block; width: 100%; height: auto; border: 1px solid var(--bf-line); }
.bf-media figcaption { margin-top: 6px; color: var(--bf-muted); font-size: .79rem; line-height: 1.55; }
.bf-media figcaption a { text-underline-offset: 3px; }
.bf-next { margin-top: 40px; padding: clamp(20px, 4vw, 36px); background: var(--bf-blue); }
.bf-next h2 { margin-top: 0; }
.bf-copy .bf-evidence, .bf-copy .bf-related { margin-top: 20px; color: var(--bf-muted); font-size: .88rem; }
.bf-related a { margin-left: 5px; font-weight: 650; text-underline-offset: 3px; }
.bf-return { margin-top: 20px; }

.bf-index { position: relative; padding-block: clamp(37px, 7vw, 87px) clamp(52px, 8vw, 110px); }
.bf-index::before { bottom: auto; height: clamp(220px, 33vw, 380px); border-bottom: 1px solid var(--bf-line); }
.bf-index > .bf-wrap { position: relative; }
.bf-index-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 12px 45px;
  margin-bottom: clamp(29px, 5vw, 53px);
}
.bf-index-hero h1 {
  font: 400 clamp(4rem, 10vw, 9.25rem)/.91 var(--bf-display);
  letter-spacing: -.065em;
  margin-top: 11px;
}
.bf-index-hero h1 span { color: var(--bf-wine); }
.bf-index-hero > p { max-width: 33ch; padding-bottom: 3px; color: var(--bf-muted); font-size: clamp(1rem, 2vw, 1.3rem); }
.bf-archive > h2 { margin-bottom: 11px; font-size: .77rem; text-transform: uppercase; letter-spacing: .11em; font-weight: 780; }
.bf-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bf-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--bf-line);
  border-top: 4px solid var(--bf-wine);
  background: var(--bf-paper);
  padding: clamp(20px, 4vw, 46px);
}
.bf-card:first-child { background: var(--bf-ink); color: var(--bf-paper); border-color: var(--bf-ink); border-top-color: #669bbc; }
.bf-card:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.bf-card .bf-label { color: var(--bf-wine); }
.bf-card:first-child .bf-label, .bf-card:first-child time { color: #bedbe9; }
.bf-card h3 { margin: 10px 0 12px; font: 400 clamp(1.8rem, 3.3vw, 3.1rem)/1.03 var(--bf-display); letter-spacing: -.04em; text-wrap: balance; }
.bf-card:first-child:nth-last-child(odd) h3 { max-width: 22ch; font-size: clamp(2.4rem, 5.6vw, 5.35rem); }
.bf-card h3 a { text-decoration: none; }
.bf-card a:hover { text-decoration: underline; text-underline-offset: 5px; }
.bf-card:first-child a:focus-visible { outline-color: #bedbe9; }
.bf-card > p:not(.bf-label) { max-width: 60ch; font-size: .96rem; }
.bf-card:first-child > p:not(.bf-label) { color: #e5eef0; font-size: clamp(.96rem, 1.6vw, 1.13rem); }
.bf-card-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}
.bf-card-topics li { padding: 3px 10px; border: 1px solid #669bbc; border-radius: 100px; font-size: .76rem; }
.bf-card-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 22px; margin-top: auto; padding-top: 16px; }
.bf-card-bottom time { font-size: .83rem; color: var(--bf-muted); }
.bf-card-bottom a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: .88rem; font-weight: 700; text-underline-offset: 4px; }
.bf-archive-guide, .bf-archive-related {
  margin-top: clamp(30px, 5vw, 56px);
  padding-top: clamp(20px, 3vw, 34px);
  border-top: 1px solid var(--bf-line);
}
.bf-archive-guide h2, .bf-archive-related h2 {
  margin-bottom: 12px;
  font: 400 clamp(1.65rem, 3vw, 2.4rem)/1.1 var(--bf-display);
}
.bf-archive-guide p { max-width: 68ch; }
.bf-archive-guide p + p { margin-top: 10px; }
.bf-archive-guide a, .bf-archive-related a { font-weight: 700; text-underline-offset: 4px; }
.bf-archive-related ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 18px 28px; margin: 0; padding: 0; list-style: none; }
.bf-archive-related li { margin: 0; }
.bf-archive-related p { margin-top: 5px; color: var(--bf-muted); font-size: .9rem; }

@media (max-width: 760px) {
  .bf-hero, .bf-reading { grid-template-columns: 1fr; }
  .bf-hero h1 { max-width: 17ch; }
  .bf-hero .bf-contents { max-width: 500px; }
  .bf-takeaway { max-width: 550px; }
  .bf-cards { grid-template-columns: 1fr; }
  .bf-section, .bf-next { scroll-margin-top: 80px; }
}

@media (max-width: 530px) {
  .bf-hero .bf-contents { padding: 14px 16px 4px; }
  .bf-contents ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }
  .bf-contents li a { min-height: 44px; align-items: center; }
  .bf-contents li a small { display: none; }
  .bf-contents li a span:last-child { grid-row: 1; }
}

@media (max-width: 600px) {
  body.briefings-page > header { flex-direction: column; align-items: flex-start; gap: 10px; padding: 12px 20px; }
  body.briefings-page > header nav { flex-direction: row; justify-content: flex-start; align-items: center; flex-wrap: wrap; gap: 4px 13px; }
  body.briefings-page > header nav a { display: inline-flex; align-items: center; min-height: 32px; }
}
