/* Field: the original blue homepage, with a research section of illustrated report cards under the hero.
   Everything else comes from ../../assets/site.css. */

.spotlight { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); column-gap: clamp(32px, 5vw, 88px); max-width: 1400px; margin-inline: auto; padding: clamp(56px, 7vw, 104px) var(--gutter); }

/* Left column stays in view while the reports scroll past. */
.about-inner { position: sticky; top: 28px; }
.claim { padding: clamp(24px, 2.6vw, 40px); background: var(--signal); color: #fff; font: 400 clamp(30px, 3vw, 46px)/1.1 var(--display); letter-spacing: -.006em; text-wrap: balance; }
.about-text { padding-top: 28px; }
.about-text p { max-width: 30em; font-size: 19px; line-height: 1.5; color: var(--ink); }
.about-text p + p { margin-top: 14px; }
.asks { margin-top: 32px; border-bottom: 1px solid var(--rule); }
.asks a { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 20px; align-items: baseline; padding-block: 14px; border-top: 1px solid var(--rule); text-decoration: none; }
.asks b { font: 400 30px/1 var(--display); color: var(--accent); white-space: nowrap; }
.asks span { font: 400 20px/1.25 var(--serif); color: var(--ink); }
.asks a:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }

.reports { display: grid; row-gap: 28px; align-content: start; }
.reports h2 { font-size: clamp(34px, 3.4vw, 50px); line-height: 1.08; }
.report { border: 1px solid var(--ink); background: var(--paper); }
.plate { position: relative; display: block; }
.plate img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tag { position: absolute; left: 24px; bottom: 0; max-width: calc(100% - 48px); padding: 7px 12px 8px; background: var(--accent); color: #fff; font: 600 14px/1.25 var(--sans); transform: translateY(50%); }
.tag.policy { background: var(--signal); }
.report-text { padding: 38px 24px 26px; }
.report h3 { font: 400 clamp(28px, 2.6vw, 38px)/1.1 var(--display); color: var(--ink); letter-spacing: -.006em; text-wrap: balance; }
.report h3 a { text-decoration: none; }
.report h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.report-text p { max-width: 38em; margin-top: 12px; font-size: 18px; }
.report-text .when { margin-top: 16px; font-size: 15px; color: var(--muted); }

.report-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.report-pair .report { display: flex; flex-direction: column; }
.report-pair .plate img { aspect-ratio: 3 / 2; }
.report-pair .report-text { display: flex; flex-direction: column; flex: 1; }
.report-pair h3 { font-size: clamp(23px, 1.9vw, 27px); line-height: 1.15; }
.report-pair .report-text p { font-size: 16.5px; }
.report-pair .when { margin-top: auto; padding-top: 16px; }

/* Research page: every publication as a row, illustration on the left. */
.archive { display: grid; row-gap: 28px; }
.archive .report { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.archive .plate img { height: 100%; aspect-ratio: 3 / 2; }
.archive .tag { bottom: 24px; transform: none; }
.archive .report-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 44px); }
.archive .report h2 { font: 400 clamp(28px, 2.8vw, 42px)/1.08 var(--display); letter-spacing: -.006em; text-wrap: balance; }
.archive .report h2 a { text-decoration: none; }
.archive .report h2 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }

.archive-main { padding-top: clamp(40px, 5vw, 72px); }

/* Paper page: title on the left, its illustration on the right, hanging off the bottom of the blue head. */
.with-plate, .under-plate { --hang: clamp(40px, 6vw, 96px); }
.with-plate { padding-bottom: 0; }
.paper-title { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 88px); align-items: start; }
.paper-title > :first-child { padding-bottom: clamp(44px, 6vw, 84px); }
.lead-plate { margin-bottom: calc(-1 * var(--hang)); }
.lead-plate img { width: 100%; height: auto; }
.under-plate { padding-top: calc(var(--hang) + clamp(44px, 6vw, 80px)); }

@media (max-width: 1099px) {
  /* One column. The reports come right after the statement; the four questions follow them. */
  .spotlight { grid-template-columns: minmax(0, 1fr); }
  .about, .about-inner, .about-text { display: contents; }
  .about-text p:first-child { margin-top: 28px; }
  .reports { order: 1; margin-top: 56px; }
  .asks { order: 2; margin-top: 56px; }
  .paper-title { grid-template-columns: minmax(0, 1fr); }
  .paper-title > :first-child { padding-bottom: clamp(28px, 4.5vw, 44px); }
}
@media (max-width: 759px) {
  .report-pair { grid-template-columns: minmax(0, 1fr); }
  .tag { left: 16px; max-width: calc(100% - 32px); }
  .report-text { padding: 34px 16px 22px; }
  .asks span { font-size: 18px; }
  .archive .report { grid-template-columns: minmax(0, 1fr); }
  .archive .plate img { height: auto; }
  .archive .tag { bottom: 0; transform: translateY(50%); }
  .archive .report-text { padding: 34px 16px 22px; }
}
