/* The Office of Statistical Reconciliation's report (records/reconciliation.astro). */
.hero-deck {
  font-style: italic;
}

/* The introduction, and the report's contents beside it */
.report-intro {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 64px;
  align-items: start;
  padding: 68px 0 72px;
}
.report-intro-text {
  max-width: 680px;
}
.report-intro-text p {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.5;
}
.report-intro-text .report-lead,
.report-intro-text .report-thesis {
  font: 500 clamp(26px, 2.3vw, 31px) / 1.22 var(--serif);
}
.report-intro-text .report-lead {
  margin-bottom: 22px;
}
.report-intro-text .report-thesis {
  margin: 26px 0 22px;
}
.report-contents {
  position: sticky;
  top: 32px;
  padding: 24px 28px 22px;
  background: #fbf8f1;
  border-top: 3px solid var(--gold);
  box-shadow: 0 14px 40px #0b162512;
}
.report-contents .eyebrow {
  font-size: 11px;
  color: var(--gold-ink);
}
.report-contents ol {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}
.report-contents li + li {
  border-top: 1px solid #e5dfd5;
}
.report-contents a {
  display: block;
  padding: 10px 0;
  font-size: 18px;
  line-height: 1.3;
}
.report-contents a:hover {
  color: var(--gold-deep);
}

/* Section heads */
.report-head {
  max-width: 720px;
  margin-bottom: 36px;
}
.report-head.centered {
  margin-inline: auto;
  text-align: center;
}
.report-head .section-kicker,
.report-chapter-head .section-kicker {
  color: var(--gold-ink);
}
.report-head h2,
.report-chapter-head h2 {
  margin: 8px 0 12px;
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.02;
}
.report-head p:not(.eyebrow) {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  color: #4d5560;
}

/* Certified Statistical Findings: two tables of identical form */
.report-findings {
  padding: 76px 0 84px;
  background: #efe9dd;
}
.stat-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.stat-table {
  margin: 0;
  background: #fbf8f1;
  box-shadow:
    0 18px 48px #0b162522,
    0 2px 6px #0b162518;
}
.stat-caption {
  padding: 22px 28px 20px;
}
.stat-caption h3 {
  margin: 0;
  font-size: clamp(26px, 2.3vw, 31px);
  font-weight: 500;
  line-height: 1.1;
}
.stat-caption p {
  margin: 4px 0 0;
  font-size: 17px;
  font-style: italic;
}
/* The championship table carries the Hall's navy; the recreational table, its paper */
.stat-table.championship .stat-caption {
  background: radial-gradient(ellipse at 85% 10%, #28405b, #111f32 60%, #091626);
  color: #f5f1e8;
  border-bottom: 3px solid var(--gold);
}
.stat-table.championship .stat-caption p {
  color: #d6c8b4;
}
.stat-table.recreational .stat-caption {
  background: #e7dfd1;
  border-bottom: 3px solid #b9ab94;
}
.stat-table.recreational .stat-caption p {
  color: #4d5560;
}
.stat-table table {
  width: 100%;
  border-collapse: collapse;
}
.stat-table thead th {
  padding: 14px 28px 10px;
  font: 700 11px var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted-ink);
  border-bottom: 1px solid #d9cfbf;
}
.stat-table thead th:last-child,
.stat-table td {
  text-align: right;
}
.stat-table tbody th {
  padding: 14px 12px 14px 28px;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
}
.stat-table td {
  padding: 10px 28px 10px 12px;
  font: 500 26px / 1.1 var(--serif);
  font-variant-numeric: lining-nums;
  color: var(--ink);
}
.stat-table tbody tr + tr {
  border-top: 1px solid #e5dfd5;
}
.stat-table figcaption {
  padding: 14px 28px 18px;
  border-top: 1px solid #d9cfbf;
  font-size: 16px;
  font-style: italic;
  line-height: 1.4;
  color: var(--muted-ink);
}

/* Side by side, the two tables' rows line up, and each finding stays on one line. */
@media (min-width: 1051px) {
  .stat-table tbody th,
  .stat-table td {
    height: 72px;
    padding-block: 10px;
  }
  .stat-table td {
    white-space: nowrap;
  }
}

/* The chapters: the heading beside the text, as in the Hall's history */
.report-chapter {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 56px;
  padding: 64px 0 68px;
}
.report-chapter + .report-chapter {
  border-top: 1px solid var(--line);
}
.report-chapter-head {
  position: sticky;
  top: 32px;
  align-self: start;
}
.report-reference {
  margin: 4px 0 0;
  font-size: 18px;
}
.report-reference span {
  margin-right: 8px;
  font: 700 11px var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-ink);
}
.report-chapter-text {
  max-width: 680px;
}
.report-chapter-text > p {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.5;
}
.report-chapter-text a {
  border-bottom: 1px solid var(--gold);
}
.report-chapter-text a:hover {
  color: var(--gold-deep);
}

/* From the Statistical Review Committee Minutes */
.minutes {
  margin-top: 36px;
  padding: 32px 40px 30px;
  background: #fbf8f1;
  box-shadow:
    0 18px 48px #0b162522,
    0 2px 6px #0b162518;
}
.minutes-head {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 18px;
  border-bottom: 3px double #c5baa8;
}
.minutes-head img {
  display: block;
  margin: 0 auto 10px;
}
.minutes-house {
  margin: 0 0 10px;
  font: 700 12px var(--sans);
  letter-spacing: 0.2em;
}
.minutes-head h3 {
  margin: 0;
  font-size: clamp(25px, 2.3vw, 29px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
}
.minutes-lines {
  margin: 0;
}
.minutes-lines div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 8px 0;
}
.minutes-lines dt {
  padding-top: 5px;
  font: 700 11px var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-ink);
}
.minutes-lines dd {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
}

/* Questions of Statistical Interpretation, and the supplemental note on annual titles */
.method-questions {
  margin: 0;
}
.method-questions div {
  padding: 18px 0;
  border-bottom: 1px solid #e0d8cc;
}
.method-questions div:first-child {
  padding-top: 4px;
}
.method-questions dt {
  font: 600 clamp(24px, 2.2vw, 28px) / 1.15 var(--serif);
}
.method-questions dd {
  margin: 8px 0 0;
}
.method-questions dd p {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.45;
  color: #3f4652;
}
.method-questions dd p:last-child {
  margin-bottom: 0;
}
.annual-note {
  margin-top: 40px;
  padding: 22px 26px 18px;
  border-left: 2px solid var(--gold);
  background: #efe9dd;
}
.annual-note h3 {
  margin: 0 0 10px;
  font: 700 11px var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.annual-note p {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.45;
  color: #3f4652;
}

/* The Official Determination: on the paper-toned frame of the Hall's letters */
.report-determination {
  padding: 76px 16px 92px;
  background: #ebe4d6;
}
.determination {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: 44px 60px 40px;
  background: #fbf8f1;
  box-shadow:
    0 22px 60px #0b162530,
    0 2px 6px #0b162520;
}
.determination-head {
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 3px double #c5baa8;
}
.determination-head img {
  display: block;
  margin: 0 auto 12px;
}
.determination-authority {
  margin: 0;
  font: 700 12px var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.determination-authority span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gold-ink);
}
.determination-lead {
  margin: 26px 0 8px;
  font-size: 19px;
  line-height: 1.45;
}
.determination-findings {
  list-style: none;
  margin: 0;
  padding: 0;
}
.determination-findings li {
  padding: 16px 0 14px;
  border-bottom: 1px solid #e5dfd5;
}
.determination-findings .finding-label {
  margin: 0 0 4px;
  font: 700 11px var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.determination-findings p:not(.finding-label) {
  margin: 0;
  font-size: 19px;
  line-height: 1.45;
}
.determination-close {
  margin: 22px 0 0;
  font-size: 19px;
}
.determination-final {
  margin: 26px 0 0;
  padding: 18px 0 20px;
  border-block: 3px double #c5baa8;
  text-align: center;
  font: italic 500 clamp(25px, 2.7vw, 31px) / 1.2 var(--serif);
}
.determination-sig {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 34px auto 0;
  text-align: center;
}
.sig-script {
  min-width: 260px;
  padding: 0 10px 4px;
  border-bottom: 1px solid #8f8576;
  font-family: 'Pinyon Script', cursive;
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1.1;
  white-space: nowrap;
  color: #23324a;
}
.sig-name {
  margin-top: 10px;
  font: 700 11px var(--sans);
  letter-spacing: 0.18em;
}
.sig-title {
  margin-top: 3px;
  font-size: 16px;
  font-style: italic;
  color: var(--muted-ink);
}
.determination-qualification {
  margin: 30px 0 0;
  text-align: center;
  font-size: 15px;
  font-style: italic;
  color: var(--muted-ink);
}

@media (max-width: 1050px) {
  .stat-tables {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
}
@media (max-width: 900px) {
  .report-intro {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 52px;
  }
  .report-contents {
    position: static;
    max-width: 520px;
  }
  .report-chapter {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 48px 0 52px;
  }
  .report-chapter-head {
    position: static;
  }
}
@media (max-width: 700px) {
  .report-intro-text p,
  .report-chapter-text > p {
    font-size: 18px;
  }
  .report-findings {
    padding: 52px 0 60px;
  }
  .stat-caption {
    padding: 18px 20px 16px;
  }
  .stat-table thead th {
    padding: 12px 18px 8px;
  }
  .stat-table tbody th {
    padding: 12px 8px 12px 18px;
    font-size: 17px;
  }
  .stat-table td {
    padding: 10px 18px 10px 8px;
    font-size: 22px;
  }
  .stat-table figcaption {
    padding: 12px 18px 16px;
    font-size: 15px;
  }
  .minutes {
    padding: 26px 20px 24px;
  }
  .minutes-lines div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .minutes-lines dt {
    padding-top: 0;
  }
  .minutes-lines dd {
    font-size: 18px;
  }
  .method-questions dd p {
    font-size: 18px;
  }
  .annual-note {
    padding: 18px 18px 14px;
  }
  .report-determination {
    padding: 48px 12px 60px;
  }
  .determination {
    padding: 30px 22px 30px;
  }
  .determination-findings p:not(.finding-label),
  .determination-lead,
  .determination-close {
    font-size: 18px;
  }
  .sig-script {
    min-width: 0;
    width: 100%;
  }
}
