/* Stories & News: a zero-card editorial journal with a layered lead and sticky social stream. */
.stories-page {
  background: #fff;
}

.stories-page section[id],
.stories-page article[id] {
  scroll-margin-top: 112px;
}

.stories-page h2 {
  max-width: 12ch;
}

.stories-masthead {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(460px, 1.12fr);
  min-height: 710px;
  color: #fff;
  background: var(--signature-deep-blue);
}

.stories-masthead-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(5rem, 8vw, 8rem) clamp(2rem, 6vw, 7rem);
  padding-left: max(1.5rem, calc((100vw - 1400px) / 2));
}

.stories-masthead h1 {
  max-width: 9ch;
  margin-bottom: 2rem;
  color: #fff;
  font-size: var(--type-program-hero);
}

.stories-masthead-copy > p:not(.kicker) {
  max-width: 45ch;
  margin-bottom: 2rem;
  font-size: 1.15rem;
}

.stories-masthead-copy > a {
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  text-underline-offset: .25em;
}

.stories-masthead-media {
  position: relative;
  min-height: 710px;
  margin: 0;
  overflow: hidden;
  background: var(--brand-541);
}

.stories-masthead-media::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 52%, rgb(0 59 113 / 78%));
  content: "";
  pointer-events: none;
}

.stories-masthead-media::after {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 8px;
  background: var(--brand-warm-red);
  content: "";
}

.stories-masthead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stories-masthead-media figcaption {
  position: absolute;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(2rem, 6vw, 5rem);
  left: clamp(1.5rem, 5vw, 5rem);
  z-index: 3;
  max-width: 28ch;
  color: #fff;
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
}

.stories-masthead-media figcaption span {
  display: block;
  margin-bottom: .5rem;
  color: var(--brand-7499);
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 700;
}

.lead-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  min-height: 820px;
  padding: 9rem max(1.5rem, calc((100vw - 1360px) / 2));
  overflow: hidden;
  background: var(--brand-7499-50);
}

.lead-story::before {
  position: absolute;
  top: 11%;
  right: 0;
  width: 61%;
  height: 78%;
  background: var(--brand-7499);
  content: "";
}

.lead-story-copy {
  position: relative;
  z-index: 2;
  margin-right: clamp(-8rem, -6vw, -3rem);
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 5vw, 5rem) clamp(2.5rem, 5vw, 5rem) 0;
  background: var(--brand-7499-50);
}

.lead-story-copy .story-sequence {
  margin: 2.5rem 0 1.25rem;
  color: var(--brand-7475);
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 700;
}

.lead-story h2 {
  max-width: 9ch;
  margin-bottom: 1.75rem;
}

.lead-story-copy > p:not(.kicker, .story-sequence) {
  max-width: 48ch;
  margin-bottom: 2rem;
  font-size: 1.12rem;
}

.lead-story-copy > a {
  font-family: var(--font-ui);
  font-weight: 700;
  text-underline-offset: .22em;
}

.lead-story > figure {
  position: relative;
  z-index: 1;
  min-height: 600px;
  margin: 0;
  overflow: hidden;
  background: var(--brand-541);
}

.lead-story > figure img {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
}

.lead-story > figure figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: .85rem 1.1rem;
  color: #fff;
  background: var(--brand-541);
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 700;
}

.story-ledger {
  display: grid;
  grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr);
  gap: clamp(4rem, 9vw, 9rem);
  padding: 9rem max(1.5rem, calc((100vw - 1240px) / 2));
  background: #fff;
}

.story-ledger-heading p:last-child {
  max-width: 36ch;
}

.story-ledger-lines {
  border-top: 2px solid var(--brand-541);
}

.story-ledger-lines article {
  display: grid;
  grid-template-columns: minmax(150px, .55fr) minmax(0, 1.2fr) auto;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  padding: 2.4rem 0;
  border-bottom: 1px solid rgb(0 59 113 / 34%);
}

.story-ledger-lines article > p,
.story-ledger-lines article > div > p {
  margin: 0;
}

.story-ledger-lines article > p span,
.story-ledger-lines article > p strong {
  display: block;
  font-family: var(--font-ui);
  font-size: .9375rem;
  line-height: 1.45;
}

.story-ledger-lines article > p span {
  color: var(--brand-7475);
  font-weight: 700;
}

.story-ledger-lines article > p strong {
  margin-top: .35rem;
  font-weight: 500;
}

.story-ledger-lines h3 {
  margin: 0 0 .8rem;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.12;
}

.story-ledger-lines article > a {
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 700;
  white-space: nowrap;
  text-underline-offset: .22em;
}

.social-journal {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr);
  min-height: 145vh;
  color: #fff;
  background: var(--brand-7475);
}

.social-journal-intro {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  align-self: start;
  min-height: calc(100vh - 84px);
  padding: 6rem clamp(2rem, 6vw, 7rem);
  padding-left: max(1.5rem, calc((100vw - 1400px) / 2));
}

.social-journal-intro h2 {
  color: #fff;
}

.social-journal-intro > p:not(.kicker) {
  max-width: 39ch;
  font-size: 1.12rem;
}

.social-journal-intro > a {
  margin-top: 1.5rem;
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 700;
  text-underline-offset: .24em;
}

.social-journal-intro > small {
  margin-top: 1rem;
  color: rgb(255 255 255 / 78%);
  font-family: var(--font-ui);
  font-size: .9375rem;
}

.social-journal-stream {
  padding: 10vh clamp(2rem, 5vw, 6rem) 18vh;
  background: var(--signature-deep-blue);
}

.social-journal-stream article {
  max-width: 700px;
  padding: 4.5rem 0;
  border-top: 1px solid rgb(255 255 255 / 42%);
}

.social-journal-stream article:nth-child(2) {
  margin-top: 18vh;
  margin-left: clamp(0rem, 6vw, 6rem);
  border-bottom: 1px solid rgb(255 255 255 / 42%);
}

.social-meta {
  display: grid;
  grid-template-columns: 42px 1fr;
  margin-bottom: 2rem;
  font-family: var(--font-ui);
}

.social-meta > span {
  grid-row: 1 / 3;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: #1877f2;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.social-meta strong,
.social-meta small {
  display: block;
  font-size: .9375rem;
  line-height: 1.4;
}

.social-meta small {
  color: rgb(255 255 255 / 72%);
}

.social-journal-stream h3 {
  max-width: 16ch;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.social-journal-stream article > p:not(.social-meta) {
  max-width: 48ch;
  font-size: 1.08rem;
}

.social-journal-stream figure {
  position: relative;
  margin: 2.5rem 0 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.social-journal-stream figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-journal-stream figcaption {
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  padding: .45rem .65rem;
  color: #fff;
  background: rgb(0 59 113 / 92%);
  font-family: var(--font-ui);
  font-size: .9375rem;
  font-weight: 700;
}

.event-preview {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: clamp(4rem, 10vw, 10rem);
  padding: 9rem max(1.5rem, calc((100vw - 1240px) / 2));
  background: var(--brand-7499);
}

.event-preview-heading > p:last-child {
  max-width: 40ch;
}

.event-preview ol {
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--brand-541);
  list-style: none;
}

.event-preview li {
  display: grid;
  grid-template-columns: 48px minmax(180px, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.7rem 0;
  border-bottom: 1px solid rgb(0 59 113 / 34%);
}

.event-preview li span,
.event-preview li strong,
.event-preview li small {
  font-family: var(--font-ui);
  font-size: .9375rem;
  line-height: 1.5;
}

.event-preview li span {
  color: var(--brand-7475);
  font-weight: 700;
}

.event-preview li strong {
  font-size: 1.05rem;
}

.event-preview li small {
  color: var(--brand-7475);
}

.stories-note {
  display: grid;
  grid-template-columns: .45fr 1.55fr;
  gap: 3rem;
  padding: 3rem max(1.5rem, calc((100vw - 1240px) / 2));
  color: #fff;
  background: var(--brand-541);
  border-top: 7px solid var(--brand-warm-red);
}

.stories-note strong {
  font-family: var(--font-ui);
}

.stories-note p {
  max-width: 65ch;
  margin: 0;
}

@media (max-width: 1100px) {
  .stories-masthead {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  }

  .story-ledger,
  .event-preview {
    gap: 4rem;
  }

  .story-ledger-lines article {
    grid-template-columns: minmax(120px, .45fr) minmax(0, 1.2fr);
  }

  .story-ledger-lines article > a {
    grid-column: 2;
  }
}

@media (max-width: 900px) {
  .stories-masthead,
  .lead-story,
  .story-ledger,
  .social-journal,
  .event-preview,
  .stories-note {
    grid-template-columns: 1fr;
  }

  .stories-masthead {
    min-height: auto;
  }

  .stories-masthead-copy {
    min-height: 570px;
    padding: 7rem 1.5rem 5rem;
  }

  .stories-masthead-media {
    min-height: 520px;
  }

  .stories-masthead-media::after {
    inset: 0 0 auto;
    width: auto;
    height: 7px;
  }

  .lead-story,
  .story-ledger,
  .event-preview {
    padding: 6rem 1.5rem;
  }

  .lead-story::before {
    display: none;
  }

  .lead-story-copy {
    margin: 0;
    padding: 0 0 3rem;
  }

  .lead-story > figure,
  .lead-story > figure img {
    min-height: 460px;
  }

  .story-ledger {
    gap: 3rem;
  }

  .social-journal {
    min-height: auto;
  }

  .social-journal-intro {
    position: relative;
    top: auto;
    min-height: auto;
    padding: 6rem 1.5rem;
  }

  .social-journal-stream {
    padding: 2rem 1.5rem 7rem;
  }

  .social-journal-stream article:nth-child(2) {
    margin: 4rem 0 0;
  }

  .stories-note {
    gap: 1rem;
    padding: 2.5rem 1.5rem;
  }
}

@media (max-width: 620px) {
  .stories-masthead-copy {
    min-height: 520px;
  }

  .stories-masthead-media {
    min-height: 400px;
  }

  .lead-story > figure,
  .lead-story > figure img {
    min-height: 330px;
  }

  .story-ledger-lines article {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .story-ledger-lines article > a {
    grid-column: auto;
  }

  .event-preview li {
    grid-template-columns: 40px 1fr;
  }

  .event-preview li small {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
