/* Shared type and content bounds across the ten presentation pages. */
:root {
  --deck-title-size: 44px;
  --deck-top: 74px;
  --deck-bottom: 66px;
  --deck-gutter: clamp(40px, 5vw, 80px);
  --coral: #ff5b00;
  --brand-blue: #142e90;
}

/* Give the map title a stable reading surface without covering the scene. */
.slide--atlas .atlas__top > div:first-child {
  max-width: min(780px, 70vw);
  padding: 18px 28px 22px 24px;
  border-left: 3px solid var(--coral);
  background: linear-gradient(90deg, rgba(7, 34, 39, .82), rgba(7, 34, 39, .62) 78%, rgba(7, 34, 39, 0));
  backdrop-filter: blur(2px);
}

.slide--atlas .atlas__top h2 {
  text-shadow: 0 2px 14px rgba(4, 24, 27, .42);
}

.slide--atlas .hotspot {
  font-size: 12px;
  gap: 11px;
}

.slide--atlas .hotspot > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-left: 3px solid var(--coral);
  background: rgba(5, 29, 34, .88);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: none;
  box-shadow: 0 8px 22px rgba(3, 24, 27, .18);
  backdrop-filter: blur(5px);
}

.slide--atlas .hotspot button {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  box-shadow: 0 6px 18px rgba(3, 24, 27, .16);
}

.wordmark__logo {
  display: block;
  width: clamp(90px, 7.2vw, 116px);
  max-height: 34px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.wordmark__logo--color {
  display: none;
}

.is-light-chrome .wordmark__logo--white {
  display: none;
}

.is-light-chrome .wordmark__logo--color {
  display: block;
}

.button--dark,
.mobile-gate__actions .button--solid {
  background: var(--brand-blue);
}

.hero__content h1 em,
.atlas__top h2 em,
.close__content h2 em {
  color: var(--coral);
}

.close__credit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}

.close__credit img {
  display: block;
  width: min(150px, 16vw);
  height: auto;
}

body * {
  letter-spacing: 0;
}

h1, h2, h3 {
  overflow-wrap: break-word;
  font-style: normal;
}

.slide .page-title {
  margin: 18px 0 24px;
  font-size: var(--deck-title-size);
  line-height: 1.28;
  font-weight: 600;
  text-wrap: pretty;
}

.title-line {
  display: block;
}

.title-phrase {
  display: inline-block;
}

.slide .page-title strong,
.slide .page-title em {
  font-style: normal;
}

.slide .lede {
  max-width: 430px;
  font-size: 15px;
  line-height: 1.85;
  text-wrap: pretty;
}

.slide > .slide__inner {
  top: var(--deck-top);
  width: 100%;
  max-width: 1440px;
  height: calc(100% - var(--deck-top) - var(--deck-bottom));
  padding: 32px var(--deck-gutter);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 120, 124, .35) transparent;
}

.slide__inner > *,
.slide__inner article > div {
  min-width: 0;
}

.slide .split-layout,
.slide .impact-layout,
.slide .pilot-layout,
.slide .sources-layout {
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 32px 64px;
  align-items: center;
  align-content: safe center;
}

.slide .why-layout,
.slide--proof > .slide__inner {
  justify-content: safe center;
}

.slide .why-heading .page-title {
  margin: 12px 0 0;
}

.why-heading > div {
  min-width: 0;
}

.why-heading > p {
  flex: 0 0 auto;
}

.policy-quote {
  margin-top: 32px;
  font-size: 22px;
}

.policy-line {
  padding: 21px 0;
}

.policy-line h3 {
  font-size: 21px;
  line-height: 1.5;
}

.slide .atlas__top .page-title {
  margin-top: 24px;
  font-size: 42px;
}

.slide .ai-layout {
  grid-template-columns: minmax(360px, .8fr) minmax(0, 1.6fr);
  align-items: center;
  align-content: safe center;
  gap: 40px 48px;
}

.ai-copy .button {
  margin-top: 26px;
}

.journey-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
}

.journey-step {
  min-width: 0;
}

.journey-step__number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(31, 120, 124, .25);
  color: var(--sea-deep);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.journey-step__number span:last-child {
  color: var(--coral);
  font-size: 20px;
  line-height: 1;
}

.journey-step figure {
  margin: 0;
}

.journey-picture {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #183533;
}

.journey-picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journey-picture--capture > img {
  object-position: 38% center;
}

.journey-step figcaption {
  padding-top: 16px;
}

.journey-step h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.journey-step p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.journey-picture--share {
  display: grid;
  place-items: center;
  padding: 14px;
  background: #cedcd5;
}

.memory-postcard {
  width: 100%;
  max-width: 180px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(24, 53, 51, .1);
}

.memory-postcard__heading {
  display: block;
  padding: 10px;
  color: var(--sea-deep);
  font-size: 10px;
}

.memory-postcard img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
}

.memory-postcard__caption {
  padding: 12px;
}

.memory-postcard__caption strong {
  display: block;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
}

.memory-postcard__caption > span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 9px;
}

.journey-note {
  margin-top: 18px;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.ai-footer,
.pilot-foot {
  position: static;
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.8;
}

.slide .proof__heading .page-title {
  margin: 12px 0 0;
}

.proof__heading > div {
  min-width: 0;
}

.outcome-list h3 {
  font-size: 22px;
  line-height: 1.45;
}

.outcome-list p,
.timeline-step p {
  line-height: 1.7;
}

.sources-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.source-card {
  min-width: 0;
  min-height: 0;
  padding: 20px;
}

.source-card h3 {
  font-size: 20px;
  line-height: 1.45;
}

.source-legend {
  flex-wrap: wrap;
  gap: 10px 18px;
}

.sources-foot {
  align-self: start;
}

.slide--pilot .pilot-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 40px 80px;
}

.pilot-intro {
  min-width: 0;
}

.pilot-intro .page-title {
  margin-bottom: 20px;
}

.pilot-intro .lede {
  max-width: 530px;
}

.reach-calculation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, .72fr) 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  max-width: 590px;
  margin-top: 32px;
  padding: 19px 0 17px;
  border-top: 1px solid rgba(31, 120, 124, .28);
  border-bottom: 1px solid rgba(31, 120, 124, .28);
}

.reach-calculation > div {
  min-width: 0;
}

.reach-calculation b {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(29px, 3.2vw, 45px);
  font-weight: 600;
  line-height: 1.1;
  white-space: nowrap;
}

.reach-calculation span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.reach-calculation > i {
  color: var(--coral);
  font-family: var(--display);
  font-size: 25px;
  font-style: normal;
  text-align: center;
}

.reach-calculation__result {
  padding-left: 18px;
  border-left: 2px solid var(--coral);
}

.reach-calculation__result b {
  color: var(--coral);
}

.pilot-assumption {
  max-width: 590px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.city-benefits {
  min-width: 0;
  border-top: 1px solid rgba(31, 120, 124, .28);
}

.city-benefits__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 14px;
  color: var(--sea-deep);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
}

.city-benefits__heading small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
}

.city-benefit {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 18px;
  padding: 17px 0;
  border-top: 1px solid rgba(31, 120, 124, .17);
}

.city-benefit > span {
  color: var(--coral);
  font-size: 11px;
  padding-top: 4px;
}

.city-benefit > div {
  min-width: 0;
}

.city-benefit small {
  color: var(--sea-deep);
  font-size: 10px;
}

.city-benefit h3 {
  margin: 5px 0 5px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.4;
}

.city-benefit p {
  max-width: 430px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.city-benefit--active {
  padding-left: 14px;
  border-left: 2px solid var(--coral);
  background: rgba(255, 255, 255, .2);
}

.slide--pilot .pilot-timeline {
  min-width: 0;
}

.slide--pilot .timeline-step {
  padding: 17px 0;
}

.slide--pilot .timeline-step h3 {
  font-size: 25px;
  line-height: 1.35;
}

.slide--pilot .timeline-step small {
  font-size: 10px;
}

.slide--pilot .pilot-foot {
  justify-content: space-between;
}

.hero__content,
.close__content {
  top: max(120px, 18%);
  left: clamp(40px, 10vw, 164px);
  right: clamp(40px, 10vw, 164px);
  bottom: 100px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.hero__content h1 {
  font-size: 112px;
  line-height: 1.06;
}

.hero__content h1 em {
  font-style: normal;
}

.close__content h2 {
  font-size: 64px;
  line-height: 1.22;
  margin: 20px 0 24px;
}

.close__credit,
.hero__meta {
  bottom: 76px;
}

.is-light-chrome .wordmark__mark {
  border-color: rgba(23, 33, 40, .3);
}

.is-light-chrome .counter i {
  color: rgba(23, 33, 40, .45);
}

.chapter-nav__item {
  position: relative;
}

.chapter-nav__item.is-active::after {
  left: 0;
  bottom: 24px;
  transform: none;
}

.support-drawer {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-gate__panel h2 {
  font-size: 30px;
  line-height: 1.35;
}

.mobile-gate__actions .button--solid {
  background: var(--ink);
  color: #fff;
}

@media (max-width: 1100px) {
  :root {
    --deck-title-size: 38px;
    --deck-gutter: 40px;
  }

  .slide .ai-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .ai-copy .lede {
    max-width: 600px;
  }

  .journey-picture {
    aspect-ratio: 5 / 4;
  }

  .memory-postcard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }

  .memory-postcard__heading {
    grid-column: 1 / -1;
  }

  .memory-postcard img {
    align-self: center;
  }

  .memory-postcard__caption {
    padding: 8px;
  }

  .memory-postcard__caption strong {
    font-size: 15px;
  }

  .slide .split-layout,
  .slide .impact-layout,
  .slide .pilot-layout,
  .slide .sources-layout {
    gap: 28px 40px;
  }

  .slide--pilot .pilot-layout {
    gap: 28px;
  }

  .proof__heading {
    display: block;
  }

  .proof__heading > p {
    max-width: 640px;
    margin-top: 16px;
  }

  .slide .atlas__top .page-title {
    font-size: 36px;
  }
}

@media (max-width: 900px) {
  .slide .split-layout,
  .slide .impact-layout,
  .slide .pilot-layout,
  .slide .sources-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sources-foot {
    grid-column: 1;
  }

  .hero__content h1 {
    font-size: 92px;
  }

  .close__content h2 {
    font-size: 56px;
  }
}

@media (min-width: 901px) and (max-height: 800px) {
  :root {
    --deck-title-size: 40px;
  }

  .slide > .slide__inner {
    padding-top: 22px;
    padding-bottom: 22px;
  }

  .hero__content {
    top: 108px;
  }

  .hero__content h1 {
    font-size: 88px;
  }

  .hero__rule {
    margin: 20px 0 16px;
  }

  .hero__lead {
    margin-bottom: 22px;
  }

  .policy-quote {
    margin-top: 24px;
  }

  .policy-line {
    padding: 16px 0;
  }

  .slide .ai-layout {
    row-gap: 24px;
  }
}

@media (max-width: 620px) {
  :root {
    --deck-title-size: 30px;
    --deck-top: 60px;
    --deck-bottom: 56px;
    --deck-gutter: 24px;
  }

  .slide--atlas .atlas__top > div:first-child {
    max-width: calc(100vw - 48px);
    padding: 14px 16px 17px 17px;
    background: linear-gradient(90deg, rgba(7, 34, 39, .84), rgba(7, 34, 39, .68) 86%, rgba(7, 34, 39, 0));
  }

  .slide > .slide__inner {
    padding: 26px var(--deck-gutter) 24px;
    align-content: start;
  }

  .slide .why-layout,
  .slide--proof > .slide__inner {
    justify-content: flex-start;
  }

  .slide .page-title {
    margin: 14px 0 20px;
    line-height: 1.35;
  }

  .slide .lede {
    font-size: 14px;
  }

  .slide .atlas__top .page-title {
    font-size: 28px;
    margin-top: 18px;
    line-height: 1.25;
  }

  .slide--atlas .hotspot {
    gap: 7px;
    font-size: 10px;
  }

  .slide--atlas .hotspot > span {
    min-height: 29px;
    max-width: 145px;
    overflow: hidden;
    padding: 5px 8px;
    border-left-width: 2px;
    font-size: 10px;
    text-overflow: ellipsis;
  }

  .slide--atlas .hotspot button {
    width: 34px;
    height: 34px;
    font-size: 10px;
  }

  .slide .ai-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .journey-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .journey-step figure {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
  }

  .journey-picture {
    aspect-ratio: 4 / 5;
  }

  .journey-step figcaption {
    padding-top: 0;
  }

  .journey-step h3 {
    font-size: 20px;
    text-wrap: balance;
  }

  .memory-postcard {
    display: block;
  }

  .memory-postcard__heading {
    padding: 8px;
    font-size: 9px;
  }

  .memory-postcard__caption > span {
    font-size: 8px;
    margin-top: 5px;
  }

  .journey-picture--share {
    padding: 10px;
  }

  .ai-footer,
  .pilot-foot {
    display: grid;
    gap: 6px;
  }

  .policy-line h3 {
    font-size: 18px;
  }

  .reach-calculation {
    margin-top: 24px;
  }

  .reach-calculation b {
    font-size: 30px;
  }

  .slide--pilot .timeline-step {
    padding: 13px 0;
  }

  .slide--pilot .timeline-step h3 {
    font-size: 21px;
  }

  .city-benefits__heading {
    font-size: 19px;
  }

  .city-benefits__heading small {
    display: none;
  }

  .city-benefit {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 13px 0;
  }

  .city-benefit h3 {
    font-size: 20px;
  }

  .city-benefit p {
    font-size: 10px;
  }

  .pilot-assumption {
    font-size: 10px;
  }

  .source-card h3,
  .outcome-list h3 {
    font-size: 20px;
  }

  .sources-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sources-foot {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .hero__content,
  .close__content {
    top: 106px;
    left: 24px;
    right: 24px;
    bottom: 132px;
  }

  .hero__content h1 {
    font-size: 72px;
    line-height: 1.1;
  }

  .hero__sub {
    line-height: 1.7;
  }

  .hero__rule {
    margin: 24px 0 18px;
  }

  .close__content h2 {
    font-size: 40px;
    line-height: 1.3;
  }

  .hero__meta,
  .close__credit {
    bottom: 74px;
    line-height: 1.8;
    gap: 8px;
  }

  .chapter-nav__item.is-active::after {
    bottom: 23px;
  }

  .mobile-gate__panel h2 {
    font-size: 28px;
  }

  .support-drawer {
    top: 60px;
    bottom: var(--deck-bottom);
    padding: 64px 24px 80px;
  }
}

@media (max-width: 360px) {
  :root {
    --deck-title-size: 28px;
  }

  .close__content h2 {
    font-size: 36px;
  }

  .journey-step figure {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .journey-picture {
    aspect-ratio: 5 / 4;
  }

  .memory-postcard {
    max-width: 152px;
  }

  .journey-step h3 {
    text-wrap: wrap;
  }
}
