@font-face {
  font-family: "Noto Serif";
  src: url("vendor/noto-serif/NotoSerif-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif";
  src: url("vendor/noto-serif/NotoSerif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --story-paper: #fff;
  --story-title-color: #002625;
  --story-text: #304e4e;
  --story-link: #087a96;
  --story-divider: #c2c2c2;
  --story-heading-font: "Avenir Next World", "Avenir Next", "Segoe UI", sans-serif;
  --story-body-font: "Noto Serif", Georgia, serif;
  --story-header-height: 64px;
  --story-reading-width: 933px;
  background: var(--story-paper);
  color: var(--story-text);
  font: 19.2px/1.65 var(--story-body-font);
}

* { box-sizing: border-box; }
body { margin: 0; }
figure { margin: 0; }
button { font: inherit; }
a { color: var(--story-link); text-underline-offset: .15em; }
button:focus-visible, a:focus-visible, iframe:focus-visible {
  outline: 3px solid var(--story-link);
  outline-offset: 3px;
}

.story-header {
  align-items: center;
  background: var(--story-paper);
  border-bottom: 1px solid var(--story-divider);
  display: flex;
  height: var(--story-header-height);
  position: sticky;
  top: 0;
  z-index: 5;
}
.story-header-inner {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-inline: auto;
  max-width: 1280px;
  width: calc(100% - 32px);
}
.story-logo { display: block; height: 40px; object-fit: contain; width: 40px; }
.story-header-title { color: var(--story-title-color); font-size: 14px; }

.story-cover { scroll-margin-top: var(--story-header-height); }
.story-cover-inner {
  margin-inline: auto;
  padding-block: clamp(64px, 8.06vw, 116px) 99px;
  width: min(var(--story-reading-width), calc(100% - 80px));
}
.story-title {
  color: var(--story-title-color);
  font: 700 clamp(39.8px, 4.5vw, 57.3px)/1.2 var(--story-heading-font);
  margin: 0;
}
.story-summary {
  color: var(--story-text);
  font: 400 27.6px/1.4 var(--story-body-font);
  margin: 16px 0;
}
.story-byline, .story-date {
  color: var(--story-text);
  display: block;
  font: 400 16px/1.4 var(--story-body-font);
  margin: 0;
}
.story-byline { font-weight: 700; }
.story-date { margin-top: 4px; }

.story-lead-map { margin-inline: 40px; scroll-margin-top: var(--story-header-height); }
.story-map-frame {
  background: #bbe7ff;
  border: 0;
  display: block;
  width: 100%;
}
.story-lead-map .story-map-frame { aspect-ratio: 1360 / 761; }
.story-lead-map figcaption {
  color: #3d6665;
  font: 400 16px/1.65 var(--story-body-font);
  padding: 8px 16px 0;
  text-align: center;
}

.story-content {
  margin-inline: auto;
  max-width: calc(var(--story-reading-width) + 64px);
  overflow-wrap: anywhere;
  padding: 34px 32px 64px;
}
.story-after-map { padding-block: 24px 16px; }
.story-block { margin: 0 0 32px; white-space: pre-line; }
.story-block:last-child { margin-bottom: 0; }
.story-block-center { text-align: center; }
.story-block-spacer { display: none; }
.story-block-blank-line { display: block; margin: 0; min-height: 1.65em; }
.story-block:where(h2, h3, h4) {
  color: var(--story-title-color);
  font-family: var(--story-heading-font);
  font-weight: 700;
  line-height: 1.2;
}
h2.story-block { font-size: clamp(27.6px, 3vw, 39.8px); margin-block: 64px 16px; }
h3.story-block { font-size: 25px; margin-block: 32px 16px; }
h4.story-block { font-size: 21px; margin-block: 32px 16px; }
.story-block:first-child:where(h2, h3, h4) { margin-top: 0; }
ul.story-block, ol.story-block { padding-inline-start: 22px; }
.story-block li + li { margin-top: .48em; }
.sm-text-color-1f2121 { color: #1f2121; }

.story-sidecar {
  --stage-height: calc(100svh - var(--story-header-height));
  --narrative-height: var(--stage-height);
  display: grid;
  grid-template-areas: "narrative stage";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.story-sidecar-narration { grid-area: narrative; min-width: 0; }
.story-slide {
  align-content: center;
  display: grid;
  min-height: var(--narrative-height);
  scroll-margin-top: var(--story-header-height);
}
.story-narrative {
  overflow-wrap: anywhere;
  padding: 64px clamp(32px, 4.445vw, 64px);
}
.story-stage {
  align-self: start;
  background: var(--story-paper);
  grid-area: stage;
  height: var(--stage-height);
  isolation: isolate;
  min-width: 0;
  overflow: hidden;
  position: sticky;
  top: var(--story-header-height);
  z-index: 3;
}
.story-media {
  background: var(--story-paper);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity .35s ease, visibility 0s linear .35s;
  visibility: hidden;
}
.story-media-active {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
  visibility: visible;
  z-index: 1;
}
.story-media .story-map-frame { height: 100%; }
.story-image-button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  display: flex;
  height: 100%;
  justify-content: center;
  min-height: 0;
  padding: 0;
  width: 100%;
}
.story-image { display: block; height: 100%; object-fit: contain; width: 100%; }
.story-media:first-child .story-image { object-position: center top; }
.story-button {
  background: var(--story-link);
  border: 1px solid var(--story-link);
  border-radius: 0;
  color: white;
  display: block;
  font: 700 16px/1.3 var(--story-body-font);
  min-width: 155px;
  padding: 20px 18px;
  text-align: center;
  text-decoration: none;
  width: fit-content;
}
.story-button:disabled { cursor: default; }
.story-button + p.story-block { margin-top: 32px; }

.story-image-dialog {
  background: transparent;
  border: 0;
  max-height: 96svh;
  max-width: 96vw;
  overflow: auto;
  padding: 42px 0 0;
  position: relative;
}
.story-image-dialog::backdrop { background: #000e; }
.story-image-dialog img { display: block; max-height: calc(96svh - 42px); max-width: 100%; object-fit: contain; }
.story-image-dialog button {
  background: white;
  border: 0;
  color: var(--story-title-color);
  cursor: pointer;
  font: 600 25px/32px var(--story-heading-font);
  height: 32px;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 32px;
}
.story-scene-nav {
  bottom: 44px;
  display: grid;
  gap: 8px;
  left: 24px;
  position: fixed;
  z-index: 4;
}
.story-scene-nav[hidden] { display: none; }
.story-scene-nav button {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: flex;
  height: 16px;
  justify-content: center;
  padding: 0;
  width: 16px;
}
.story-scene-nav button::after {
  background: #c2c2c2;
  border-radius: 50%;
  content: "";
  height: 8px;
  width: 8px;
}
.story-scene-nav button[aria-current="step"]::after { background: var(--story-link); }
@media (prefers-reduced-motion: reduce) {
  .story-media { transition: none; }
}

@media (min-width: 741px) {
  .story-slide:first-child { align-content: start; }
  .story-slide:first-child .story-narrative {
    padding-block-start: 32px;
  }
}

@media (max-width: 740px) {
  :root { font-size: 16px; }
  .story-cover-inner { padding-block: 64px 56px; width: calc(100% - 32px); }
  .story-title { font-size: 39.8px; }
  .story-summary { font-size: 19.2px; line-height: 1.65; }
  .story-byline, .story-date { font-size: 13.3px; line-height: 1.65; }
  .story-lead-map { margin-inline: 16px; }
  .story-lead-map .story-map-frame { height: max(380px, 65svh); }
  .story-content { padding-inline: 16px; }
  h2.story-block { line-height: 1.4; }
  .story-sidecar {
    --stage-height: clamp(175px, 33svh, 320px);
    --narrative-height: calc(100svh - var(--story-header-height) - var(--stage-height));
    display: block;
  }
  .story-slide { align-content: start; scroll-margin-top: calc(var(--story-header-height) + var(--stage-height)); }
  .story-narrative { padding: 38px 16px; }
  .story-scene-nav { display: none; }
}
