@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --white: #fff;
  --wash: #f4f4fb;
  --panel: #eaeafb;
  --ink: #1d2037;
  --muted: #525770;
  --blue: #3345a7;
  --navy: #273275;
  --lime: #e7efac;
  --line: #d9dceb;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --sans: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--blue); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: .99; }
h1 { font-size: clamp(3rem, 6vw, 6.1rem); }
h2 { font-size: clamp(2.2rem, 4vw, 3.55rem); }
h3 { font-size: clamp(1.6rem, 2.35vw, 2.25rem); }
.shell { width: min(1280px, calc(100% - 2 * clamp(17px, 4.4vw, 70px))); margin-inline: auto; }
.skip { position: fixed; z-index: 9; top: 8px; left: 8px; padding: .6rem 1rem; background: var(--lime); color: var(--ink); transform: translateY(-140%); }
.skip:focus { transform: none; }
.template-ad-slot:empty { display: none; }

.masthead { border-bottom: 1px solid var(--line); background: var(--white); }
.masthead-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 70px; gap: 20px; }
.brand { display: inline-block; width: clamp(112px, 10vw, 151px); }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(12px, 2.5vw, 38px); }
.primary-nav a, .masthead-link { font-size: .9rem; font-weight: 700; text-decoration: none; }
.primary-nav a { position: relative; padding: .55rem 0; }
.primary-nav a[aria-current] { color: var(--blue); }
.primary-nav a[aria-current]::after { content: ""; position: absolute; bottom: .2rem; left: 0; right: 0; height: 2px; background: var(--blue); }
.masthead-link { justify-self: end; padding: .52rem .8rem; background: var(--panel); color: var(--navy); white-space: nowrap; }
.masthead-link:hover, .masthead-link[aria-current] { background: var(--navy); color: var(--white); }
.masthead-link span, .section-header a span { margin-left: .28rem; }
.mobile-nav { display: none; }

.front-page { padding-block: clamp(27px, 3.15vw, 46px) clamp(30px, 3.5vw, 48px); background: var(--wash); }
.front-intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .7rem 2rem; margin-bottom: clamp(18px, 2.4vw, 30px); }
.front-intro h1 { letter-spacing: -.024em; line-height: .89; text-wrap: balance; }
.front-intro p { max-width: 33ch; padding-left: .85rem; border-left: 2px solid var(--blue); color: var(--muted); font-size: clamp(.93rem, 1.35vw, 1.11rem); line-height: 1.48; }
.front-grid { display: grid; grid-template-columns: minmax(0, 2.23fr) minmax(0, 1fr); gap: clamp(14px, 2vw, 27px); }
.section-label { display: inline-flex; align-items: center; gap: .3rem; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .11em; line-height: 1.2; text-decoration: none; text-transform: uppercase; }
.lead-story { min-width: 0; background: var(--navy); color: var(--white); }
.lead-story > a { display: grid; height: 100%; grid-template-rows: 1fr auto; color: inherit; text-decoration: none; }
.lead-story > a:focus-visible { outline-offset: 5px; }
.lead-image, .card-image { overflow: hidden; background: var(--panel); }
.lead-image { position: relative; min-height: clamp(220px, 27vw, 406px); }
.lead-image img, .card-image img { width: 100%; height: 100%; object-fit: cover; }
.lead-image img { position: absolute; inset: 0; object-position: 50% 28%; }
.lead-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .38rem 1.25rem;
  padding: clamp(17px, 1.7vw, 25px);
}
.lead-copy .section-label { grid-area: 1 / 1; color: var(--lime); }
.lead-copy h2 { grid-area: 2 / 1; font-size: clamp(2.15rem, 3.65vw, 3.65rem); }
.lead-copy p { grid-area: 3 / 1; max-width: 58ch; color: #f0f1fc; font-size: clamp(.87rem, 1.13vw, 1.05rem); }
.lead-arrow { grid-area: 1 / 2 / 4; display: grid; place-items: center; width: 2.55rem; aspect-ratio: 1; background: var(--lime); color: var(--navy); font-size: 1.2rem; }
.lead-story a:hover h2 { text-decoration: underline; text-decoration-thickness: .045em; text-underline-offset: .13em; }
.lead-story a:hover .lead-arrow { background: var(--white); }

.front-side { display: grid; grid-template-rows: 1fr 1fr; gap: clamp(12px, 1.5vw, 19px); min-width: 0; }
.front-side .story-card { border: 1px solid var(--line); background: var(--white); }
.front-side .story-card > a { display: flex; flex-direction: column; height: 100%; }
.front-side .card-image { flex: none; aspect-ratio: 2.57; }
.front-side .card-image img { object-position: 50% 74%; }
.front-side .card-copy { padding: .51rem .85rem .66rem; }
.front-side h2 { margin: .2rem 0 .18rem; font-size: clamp(1.55rem, 2.14vw, 2.12rem); line-height: 1.02; }

.department { padding-block: clamp(34px, 4.8vw, 66px); border-top: 1px solid var(--line); }
.department-1 { background: var(--wash); }
.department-layout { display: grid; grid-template-columns: minmax(145px, .77fr) minmax(0, 3.25fr); gap: clamp(17px, 3vw, 44px); }
.section-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.15rem; align-items: baseline; margin-bottom: 1.2rem; }
.section-header a { color: var(--blue); font-size: .86rem; font-weight: 700; }
.department-layout .section-header { display: block; align-self: start; margin: 0; }
.department-layout .section-header::before { content: ""; display: block; width: 2.4rem; height: 3px; margin-bottom: .85rem; background: var(--blue); }
.department-layout .section-header h2 { margin-bottom: .7rem; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.story-card { min-width: 0; border-bottom: 1px solid var(--line); }
.story-card > a { display: block; text-decoration: none; }
.story-card a:hover :is(h2, h3) { color: var(--blue); text-decoration: underline; text-decoration-thickness: .055em; text-underline-offset: .14em; }
.card-image { aspect-ratio: 1.55; }
.card-copy { padding: .78rem 0 .9rem; }
.card-copy :is(h2, h3) { overflow-wrap: anywhere; }
.card-copy p { margin: .36rem 0 .45rem; color: var(--muted); font-size: .9rem; }
.reading-time { color: var(--muted); font-size: .76rem; font-weight: 650; }

.page-title { padding-block: clamp(32px, 5.5vw, 76px) clamp(24px, 4vw, 48px); }
.page-title h1 { letter-spacing: -.015em; }
.page-title > p, .story-title > p { max-width: 57ch; margin-top: .7rem; color: var(--muted); font-size: clamp(.98rem, 1.5vw, 1.16rem); }
.listing { padding-bottom: clamp(48px, 7vw, 94px); }
.listing .story-grid { row-gap: clamp(22px, 3vw, 43px); }
.pagination { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.pagination a { border: 1px solid var(--navy); padding: .4rem .7rem; }
.pagination [aria-current] { background: var(--navy); color: var(--white); }
.archive { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); padding-bottom: clamp(45px, 7vw, 95px); }
.archive section { padding: clamp(15px, 2.2vw, 26px); border-top: 3px solid var(--blue); background: var(--wash); }
.archive section h2 { font-size: clamp(1.95rem, 3vw, 2.8rem); }
.archive section h2 a { text-decoration: none; }
.archive section ul { padding-left: 1.15rem; margin-bottom: 0; }
.archive section li { margin: .48rem 0; }
.archive section p { margin-top: .65rem; }

.story-hero { padding-block: clamp(26px, 4.9vw, 65px) clamp(22px, 4vw, 48px); background: var(--wash); border-bottom: 1px solid var(--line); }
.story-hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(20px, 4.4vw, 65px); }
.story-title .section-label { padding: .43rem .62rem; color: var(--navy); background: var(--lime); }
.story-title .section-label:hover { background: var(--navy); color: var(--white); }
.story-title h1 { margin-top: .24em; max-width: 19ch; font-size: clamp(2.8rem, 5.35vw, 5.65rem); letter-spacing: -.015em; text-wrap: balance; }
.story-title .reading-time { display: block; margin-top: .95rem; font-size: .83rem; }
.story-figure img { width: 100%; aspect-ratio: 1.44; object-fit: cover; }
.reading-grid { display: grid; grid-template-columns: minmax(0, 710px) minmax(180px, 248px); grid-template-areas: "prose contents"; gap: clamp(25px, 5.7vw, 88px); justify-content: center; align-items: start; padding-block: clamp(28px, 5vw, 74px) clamp(45px, 6.6vw, 100px); }
.reading-grid > .prose { grid-area: prose; }
.contents { grid-area: contents; position: sticky; top: 24px; min-width: 0; padding: .85rem 1rem; border-top: 3px solid var(--blue); background: var(--wash); }
.contents h2 { font: 700 .94rem/1.3 var(--sans); }
.contents ul { list-style: none; margin: .58rem 0 0; padding: 0; }
.contents li + li { border-top: 1px solid var(--line); }
.contents a { display: block; padding: .53rem 0; font-size: .84rem; line-height: 1.4; text-decoration: none; }
.contents a:hover { color: var(--blue); text-decoration: underline; }
.prose { min-width: 0; max-width: 69ch; color: var(--ink); font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.8; overflow-wrap: anywhere; }
.prose h2 { margin: 1.28em 0 .37em; font-size: clamp(2rem, 3.4vw, 3.12rem); scroll-margin-top: 22px; }
.prose h3 { margin: 1.13em 0 .37em; font-size: clamp(1.58rem, 2.65vw, 2.21rem); scroll-margin-top: 22px; }
.prose :is(h2, h3):target { color: var(--blue); }
.prose p { margin: 0 0 1.1em; }
.prose :where(ul, ol) { padding-inline-start: 1.35em; margin: 0 0 1.1em; }
.prose li { margin-block: .32em; }
.prose a { color: var(--blue); }
.prose blockquote { margin-inline: 0; border-left: 3px solid var(--blue); padding-inline-start: 1rem; }
.prose pre { overflow-x: auto; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose :where(th, td) { padding: .4rem .65rem; border: 1px solid var(--line); }
.standalone { padding-bottom: clamp(46px, 6vw, 90px); }
.standalone .prose { max-width: 74ch; }

.site-footer { background: var(--navy); color: var(--white); }
.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.2rem; padding-block: 1.75rem; }
.footer-identity { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; }
.footer-identity .brand { width: 112px; }
.footer-identity .brand img { filter: brightness(0) invert(1); }
.footer-identity p { color: #e3e5fb; font-size: .8rem; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: .55rem 1.3rem; }
.footer-row nav a { color: var(--white); font-size: .86rem; font-weight: 650; }
.footer-row nav a:hover { color: var(--lime); }
.footer-row a:focus-visible { outline-color: var(--lime); }

@media (max-width: 950px) {
  .department-layout { grid-template-columns: minmax(0, 1fr); }
  .department-layout .section-header { display: flex; justify-content: space-between; }
  .department-layout .section-header::before { display: none; }
  .department-layout .section-header h2 { margin: 0; }
  .archive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .masthead-row { position: relative; display: flex; justify-content: space-between; min-height: 62px; gap: .75rem; }
  .primary-nav, .masthead-link { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: flex; align-items: center; gap: .65rem; min-height: 44px; padding: .46rem .8rem; background: var(--panel); color: var(--navy); font-size: .88rem; font-weight: 700; list-style: none; cursor: pointer; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary::after { content: ""; width: .42rem; height: .42rem; margin-top: -.2rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
  .mobile-nav[open] summary { background: var(--navy); color: var(--white); }
  .mobile-nav[open] summary::after { margin-top: .2rem; transform: rotate(225deg); }
  .mobile-nav summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
  .mobile-nav nav { position: absolute; z-index: 4; inset-inline-end: 0; top: calc(100% + .2rem); width: min(100%, 19rem); padding: .32rem; border: 1px solid var(--line); border-top: 3px solid var(--blue); background: var(--white); box-shadow: 0 12px 26px #1d203728; }
  .mobile-nav nav a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: .42rem .7rem; color: var(--ink); font-size: .88rem; font-weight: 650; text-decoration: none; }
  .mobile-nav nav a:hover, .mobile-nav nav a[aria-current] { background: var(--wash); color: var(--blue); }
  .mobile-nav nav a:focus-visible { outline-offset: -2px; }
  .mobile-archive-link { border-top: 1px solid var(--line); }
  .front-grid { grid-template-columns: minmax(0, 1fr); }
  .front-intro p { max-width: 44ch; }
  .front-side { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; }
  .story-hero-layout { grid-template-columns: minmax(0, 1fr); }
  .story-title h1 { max-width: none; }
  .story-figure img { aspect-ratio: 1.64; }
  .reading-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "contents" "prose"; gap: 1.5rem; }
  .contents { position: static; }
  .contents ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .12rem .85rem; }
  .contents li { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .front-intro h1 { font-size: clamp(3rem, 11vw, 4rem); }
  .lead-image { min-height: 0; aspect-ratio: 1.6; }
  .lead-copy { column-gap: .65rem; }
  .lead-arrow { width: 2rem; font-size: 1.05rem; }
  .front-side .card-copy { padding-inline: .63rem; }
  .front-side .card-image { aspect-ratio: 1.55; }
  .story-grid, .archive { grid-template-columns: minmax(0, 1fr); }
  .story-grid .story-card > a { display: grid; grid-template-columns: minmax(92px, 32%) minmax(0, 1fr); align-items: start; gap: .75rem; padding-bottom: .7rem; }
  .story-grid .card-image { aspect-ratio: 1.15; }
  .story-grid .card-copy { padding: 0; }
  .story-grid .card-copy p { font-size: .84rem; }
  .story-grid h3 { font-size: 1.55rem; }
}
