:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #202a35;
  background: #f3f6f8;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  line-height: 1.65;
}

.page-width {
  width: min(100% - 2.5rem, 70rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.6rem 0.9rem;
  transform: translateY(-180%);
  color: #fff;
  background: #123e5b;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  padding: clamp(3rem, 8vw, 6.5rem) 0;
  color: #fff;
  background: linear-gradient(125deg, #103e5a, #1464a5);
}

.hero {
  max-width: 70rem;
}

.eyebrow,
.story-date {
  margin: 0 0 0.75rem;
  color: #5fc8e8;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero-intro {
  max-width: 48rem;
  margin: 2rem 0 0.5rem;
  font-size: clamp(1.15rem, 2.5vw, 1.55rem);
}

.hero-question {
  display: block;
  margin-top: 0.25rem;
  font-size: clamp(1.6rem, 4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
}

.hero-summary {
  max-width: 48rem;
  margin: 1rem 0 0;
  color: #e0edf4;
  font-size: 1.1rem;
}

main {
  padding-block: clamp(2rem, 6vw, 5rem);
}

.stories {
  display: grid;
  gap: 1rem;
}

.story,
.closing-note {
  min-width: 0;
  padding: clamp(1rem, 2.2vw, 1.5rem);
  background: #fff;
  border: 1px solid #dce5ea;
  border-radius: 0.5rem;
}

.story-heading {
  margin-bottom: 1rem;
}

.story-heading h2,
.closing-note h2 {
  margin: 0;
  color: #123e5b;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.story-date {
  margin-bottom: 0.5rem;
  color: #1464a5;
  letter-spacing: 0.06em;
}

.story-copy {
  min-width: 0;
  margin: 0;
}

.story-copy p {
  margin: 0.75rem 0;
}

.story-copy strong {
  color: #123e5b;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.story-media {
  min-width: 0;
}

.story-media--pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
}

.story-video {
  display: block;
  width: 100%;
  max-height: 34rem;
  margin: 0;
  background: #101820;
  border-radius: 0.35rem;
  object-fit: contain;
}

.story-video--landscape {
  aspect-ratio: 16 / 9;
}

.story-video--portrait {
  width: min(100%, 15rem);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
}

.story-image {
  min-width: 0;
  margin: 0;
  text-align: center;
}

.story-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
}

.closing-note {
  margin-top: 1.5rem;
  background: #e7f1f6;
  border-color: #c8dce7;
}

.closing-note p {
  max-width: 58rem;
  margin: 0.85rem 0 0;
}

.site-footer {
  padding: 1.5rem 0;
  color: #d9e8f0;
  background: #123e5b;
  font-size: 0.9rem;
}

@media (max-width: 36rem) {
  .page-width {
    width: min(100% - 1.25rem, 70rem);
  }

  .story,
  .closing-note {
    border-radius: 0.35rem;
  }

  .story-media--pair {
    gap: 0.5rem;
  }
}

@media (max-width: 22rem) {
  .story-media--pair {
    grid-template-columns: 1fr;
    max-width: 15rem;
    margin-inline: auto;
  }
}

@media (max-width: 58rem) {
  .story-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .story-media:not(.story-media--pair) {
    width: 100%;
    max-width: 30rem;
    margin-inline: auto;
  }

  .story-media--pair {
    width: 100%;
    max-width: 32rem;
    margin-inline: auto;
  }
}
