@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/sourcesans-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --blue: #096abe;
  --blue-dark: #07559a;
  --navy: #031059;
  --orange: #f0801d;
  --ink: #031059;
  --paper: #ffffff;
  --tint: #eef4fb;
  --rule: #c9d6ea;
  --link: #075aa3;
  --focus: #f0801d;
  --measure: 44rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}

h1, h2, h3, h4, .wordmark {
  font-family: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  line-height: 1.15;
}

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { color: var(--navy); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
img { max-width: 100%; height: auto; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

.wrap {
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-block: 0.75rem;
}
.wordmark {
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.wordmark:hover { color: #fff; }
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}
.site-nav a:hover { text-decoration: underline; color: #fff; }

/* Hero (mirrors the report cover) */
.hero {
  background: var(--blue);
  color: #fff;
}
.hero .wrap { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(2rem, 5vw, 3.5rem); }
.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 1.02;
}
.hero h1::after {
  content: "";
  display: block;
  width: min(26rem, 70%);
  height: 0.5rem;
  margin-top: 1rem;
  background: var(--navy);
}
.hero .lede {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}
.cover-band {
  background: var(--navy);
  color: var(--orange);
}
.cover-band .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  padding-block: 1.5rem;
}
.cover-band p {
  margin: 0;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.25;
}
.cover-band .credits {
  font-size: 1.05rem;
  line-height: 1.5;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.15rem;
  border: 2px solid #fff;
  border-radius: 0.25rem;
  background: #fff;
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
}
.btn:hover { background: var(--tint); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Accessibility notice */
.access {
  margin: clamp(2rem, 5vw, 3rem) auto 0;
  border-left: 0.5rem solid var(--orange);
  background: var(--tint);
  padding: 1.25rem 1.5rem;
  max-width: var(--measure);
}
.access h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  color: var(--navy);
}
.access p { margin: 0.5rem 0 0; }
.access a { font-weight: 700; overflow-wrap: anywhere; }

/* Section headings */
.section-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.5rem;
}
.section-title::after {
  content: "";
  display: block;
  width: 8rem;
  height: 0.35rem;
  margin-top: 0.6rem;
  background: var(--navy);
}

/* Viewer */
.viewer-section { padding-block: clamp(2.5rem, 6vw, 4rem); }
.viewer {
  background: var(--navy);
  border-radius: 0.375rem;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  color: #fff;
}
.viewer:fullscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0;
  padding: 1rem 2rem;
}
.viewer-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  touch-action: pan-y pinch-zoom;
}
.viewer:fullscreen .viewer-stage { flex: 1; min-height: 0; }
.spread {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: calc(min(100%, (100vh - 12rem) * 1.414));
  aspect-ratio: 1310 / 926.5;
  margin: 0 auto;
}
.viewer:fullscreen .spread { max-width: calc((100vh - 7rem) * 1.414); }
.spread.single-mode { aspect-ratio: 1310 / 1853; max-width: calc(min(100%, (100vh - 12rem) * 0.707)); }
.spread img {
  display: block;
  width: 50%;
  height: auto;
  background: #fff;
  box-shadow: 0 0.25rem 1.25rem rgba(0,0,0,0.35);
  align-self: flex-start;
}
.spread.single-mode img { width: 100%; }
.spread img + img { box-shadow: 0.25rem 0.25rem 1.25rem rgba(0,0,0,0.35); }
.spread.turn-next { animation: turn-next 260ms ease-out; }
.spread.turn-prev { animation: turn-prev 260ms ease-out; }
@keyframes turn-next {
  from { opacity: 0.2; transform: perspective(1600px) rotateY(-8deg) translateX(1.5rem); }
  to { opacity: 1; transform: none; }
}
@keyframes turn-prev {
  from { opacity: 0.2; transform: perspective(1600px) rotateY(8deg) translateX(-1.5rem); }
  to { opacity: 1; transform: none; }
}
.viewer-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
}
.viewer-controls .btn { min-width: 2.75rem; justify-content: center; }
.viewer-controls .btn[disabled] { opacity: 0.4; cursor: default; }
.page-status {
  min-width: 9rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.page-jump {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}
.page-jump select {
  min-height: 2.75rem;
  font: inherit;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  border: 2px solid #fff;
  max-width: 14rem;
}
.viewer-help {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.95rem;
  color: #dfe7f5;
}
.viewer-help a { color: #fff; }
.no-js .viewer-controls, .no-js .viewer-help { display: none; }

/* Text version */
.text-version {
  border-top: 0.5rem solid var(--blue);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.report-meta {
  max-width: var(--measure);
  margin: 0 auto 2rem;
}
.report-meta .subtitle {
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.25;
  color: var(--blue);
  margin: 0 0 0.75rem;
}
.toc {
  max-width: var(--measure);
  margin: 0 auto 3rem;
  border: 2px solid var(--rule);
  border-radius: 0.375rem;
}
.toc summary {
  cursor: pointer;
  padding: 0.9rem 1.25rem;
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 1.4rem;
  color: var(--navy);
}
.toc nav { padding: 0 1.25rem 1.25rem; }
.toc ol { margin: 0; padding-left: 1.25rem; }
.toc ol ol { padding-left: 1.25rem; margin-bottom: 0.4rem; }
.toc li { margin: 0.2rem 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.report {
  max-width: var(--measure);
  margin: 0 auto;
}
.report h2 {
  font-size: clamp(1.85rem, 4.5vw, 2.4rem);
  text-transform: uppercase;
  color: var(--blue);
  margin: 3.5rem 0 1.25rem;
}
.report h2::after {
  content: "";
  display: block;
  width: 6rem;
  height: 0.3rem;
  margin-top: 0.5rem;
  background: var(--navy);
}
.report h2.part {
  background: var(--navy);
  color: #fff;
  padding: 1.5rem 1.5rem 1.25rem;
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  margin-top: 4.5rem;
  margin-bottom: 0;
}
.report h2.part::after { background: var(--blue); width: 5rem; }
.report .part-sub {
  background: var(--navy);
  color: var(--orange);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.3;
  padding: 0 1.5rem 1.5rem;
  margin: 0 0 2rem;
}
.report h3 {
  font-size: 1.6rem;
  color: var(--blue);
  margin: 2.5rem 0 0.75rem;
}
.report h4 {
  font-size: 1.3rem;
  color: var(--blue);
  margin: 2rem 0 0.5rem;
}
.report p, .report li { overflow-wrap: break-word; }
.report ul { padding-left: 1.4rem; }
.report ul li { margin: 0.6rem 0; }
.report ul li::marker { color: var(--blue); }
.report ul.orgs {
  columns: 2 14rem;
  column-gap: 2rem;
  font-weight: 700;
  padding-left: 1.2rem;
}
.report ul.orgs li { margin: 0.15rem 0; break-inside: avoid; }
.report ul.recs { list-style: none; padding-left: 0; }
.report ul.recs li {
  padding: 0.75rem 0 0.75rem 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
}
.report .ref {
  display: inline-block;
  min-width: 3.5rem;
  margin-right: 0.35rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.report .sig { font-weight: 700; }
.report .source { font-weight: 700; color: var(--blue-dark); }
.report .callout {
  font-weight: 700;
  border-left: 0.35rem solid var(--blue);
  padding-left: 1rem;
}
.report .credit { font-size: 0.9rem; color: #46507a; }
.report sup { line-height: 0; font-size: 0.7em; }
.report sup a { text-decoration: none; font-weight: 700; padding: 0 0.1em; }
.notes {
  border-top: 2px solid var(--blue);
  margin: 1.25rem 0 1.75rem;
  padding-top: 0.5rem;
  font-size: 0.95rem;
  font-style: italic;
}
.notes ol { margin: 0; padding-left: 1.5rem; }
.notes li { margin: 0.35rem 0; }
.notes a { overflow-wrap: anywhere; }
.notes .back { font-style: normal; text-decoration: none; }
.to-top {
  display: inline-block;
  margin-top: 2.5rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #fff;
  margin-top: 3rem;
}
.site-footer .wrap {
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  padding-block: 2.5rem;
  font-size: 1rem;
}
.site-footer p { margin: 0.25rem 0; }
.site-footer a { color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.site-footer .wordmark { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.site-footer .orange { color: var(--orange); font-family: "Oswald", "Arial Narrow", Arial, sans-serif; font-size: 1.1rem; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 40rem) {
  body { font-size: 1.0625rem; }
  .site-nav { width: 100%; }
  .report h2.part { padding: 1.25rem 1rem 1rem; }
  .report .part-sub { padding: 0 1rem 1.25rem; }
}

@media print {
  .site-header, .hero .actions, .viewer-section, .toc, .to-top, .skip-link, .notes .back { display: none !important; }
  .hero, .cover-band { background: none; color: #000; }
  .cover-band { color: #000; }
  body { font-size: 11pt; color: #000; }
  .report h2.part, .report .part-sub { background: none; color: #000; padding-left: 0; }
  .site-footer { background: none; color: #000; }
  .site-footer a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
