.modular-story {
  color: var(--ink);
  background: #fff;
}

.modular-story .story-wrap {
  width: min(calc(100% - 48px), 1160px);
  margin: 0 auto;
}

.modular-story .story-eyebrow {
  margin: 0 0 16px;
  color: #2c75a9;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modular-story h1,
.modular-story h2,
.modular-story h3 {
  letter-spacing: -0.035em;
}

.modular-story h2 {
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  line-height: 1.12;
}

.modular-story a:focus-visible,
.modular-story video:focus-visible {
  outline: 3px solid #4fa8e0;
  outline-offset: 4px;
}

.story-hero {
  display: grid;
  min-height: 690px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  background: #0b2d4f;
  color: #fff;
}

.story-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px max(48px, calc((100vw - 1160px) / 2)) 64px;
  padding-right: 60px;
}

.story-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 54px;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
}

.story-breadcrumbs li + li::before {
  margin-right: 10px;
  content: "/";
  color: rgba(255, 255, 255, 0.4);
}

.story-breadcrumbs a:hover,
.story-text-link:hover,
.story-cta-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.story-hero .story-eyebrow,
.story-partnership .story-eyebrow,
.story-cta .story-eyebrow {
  color: #8ed0f7;
}

.story-hero h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 5vw, 5.15rem);
  line-height: 1.04;
}

.story-lede {
  max-width: 610px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: clamp(1.02rem, 1.3vw, 1.2rem);
  line-height: 1.75;
}

.story-hero-actions,
.story-cta .story-wrap > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 36px;
}

.story-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}

.story-text-link svg {
  width: 16px;
  height: 16px;
}

.story-date {
  margin: 52px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.story-hero-image {
  position: relative;
  min-height: 690px;
  margin: 0;
  overflow: hidden;
  background: #38536a;
}

.story-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.story-hero-image figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  max-width: 460px;
  padding: 14px 18px;
  background: rgba(9, 32, 54, 0.88);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.5;
}

.story-feature-strip {
  display: grid;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.story-feature-strip div {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 92px;
  padding: 20px 15px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.story-feature-strip div:first-child {
  border-left: 1px solid var(--line);
}

.story-feature-strip strong {
  color: #2c75a9;
  font-size: 0.7rem;
}

.story-section {
  padding: 112px 0;
}

.story-two-col {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 100px;
}

.story-prose p,
.story-section-head > p:last-child {
  color: #475c70;
  line-height: 1.8;
}

.story-prose p + p {
  margin-top: 22px;
}

.story-prose a,
.story-notes a,
.story-example-grid a,
.story-gallery-link a {
  color: #145f94;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.story-subhead {
  max-width: 460px;
  margin: 24px 0 0;
  color: #5b7185;
  font-size: 1.12rem;
  line-height: 1.65;
}

.story-section-head {
  max-width: 830px;
  margin: 0 0 46px;
}

.story-section-head > p:last-child {
  margin: 22px 0 0;
  font-size: 1.05rem;
}

.story-factory,
.story-examples {
  background: #f2f6f9;
}

.story-media-grid {
  display: grid;
  height: 600px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 18px;
}

.story-media-grid figure,
.story-process-media figure,
.story-example-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #d7e3eb;
}

.story-media-grid img,
.story-process-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-media-side {
  display: grid;
  min-height: 0;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-media-grid figcaption,
.story-process-media figcaption,
.story-video-row figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 25px 20px 16px;
  background: linear-gradient(transparent, rgba(6, 27, 47, 0.92));
  color: #fff;
  font-size: 0.72rem;
  line-height: 1.5;
}

.story-video-row {
  display: grid;
  align-items: center;
  margin-top: 66px;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 76px;
}

.story-video-copy h3 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.story-video-copy > p:last-child {
  max-width: 420px;
  margin: 20px 0 0;
  color: #52677b;
}

.story-video-row figure {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #082844;
}

.story-video-row video {
  display: block;
  width: 100%;
  height: 510px;
  object-fit: contain;
}

.story-video-row figcaption,
.story-process-media figure:last-child figcaption {
  position: static;
  padding: 11px 16px;
  background: #082844;
  color: #fff;
}

.story-path {
  background: #fff;
}

.story-steps {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.story-steps > div {
  padding: 32px 24px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-steps span {
  display: block;
  margin-bottom: 46px;
  color: #2c75a9;
  font-size: 0.75rem;
  font-weight: 700;
}

.story-steps h3 {
  font-size: 1.17rem;
}

.story-steps p {
  margin: 14px 0 0;
  color: #52677b;
  font-size: 0.82rem;
}

.story-process-media {
  display: grid;
  height: 470px;
  margin-top: 25px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.story-process-media video {
  display: block;
  width: 100%;
  height: calc(100% - 44px);
  background: #0b2d4f;
  object-fit: contain;
}

.story-permanent {
  background: #eaf1f6;
}

.story-caution {
  margin-top: 30px;
  padding: 22px 25px;
  border-left: 4px solid #2c75a9;
  background: #fff;
}

.story-caution strong {
  color: #0b2d4f;
}

.story-caution p {
  margin: 8px 0 0;
  font-size: 0.82rem;
}

.story-example-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.story-example-grid figure {
  background: #fff;
}

.story-example-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.story-example-grid figcaption {
  display: grid;
  min-height: 133px;
  padding: 22px;
  gap: 8px;
}

.story-example-grid strong {
  color: #0b2d4f;
  font-size: 0.92rem;
}

.story-example-grid span {
  color: #52677b;
  font-size: 0.75rem;
  line-height: 1.55;
}

.story-gallery-link {
  margin: 30px 0 0;
  color: #52677b;
  font-size: 0.88rem;
}

.story-gallery-link a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.story-gallery-link svg {
  width: 15px;
  height: 15px;
}

.story-partnership,
.story-cta {
  color: #fff;
  background: #0b2d4f;
}

.story-partnership .story-prose p {
  color: rgba(255, 255, 255, 0.76);
}

.story-partnership .story-subhead {
  color: rgba(255, 255, 255, 0.68);
}

.story-partner-list {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-partner-list span {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #cae7f7;
  font-size: 0.78rem;
  font-weight: 600;
}

.story-cta {
  padding: 90px 0 100px;
  background: #174a7e;
}

.story-cta h2 {
  max-width: 720px;
}

.story-cta .story-wrap > p:not(.story-eyebrow) {
  max-width: 760px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.77);
  line-height: 1.75;
}

.story-cta-link {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
}

.story-notes {
  padding: 58px 0 76px;
  border-top: 1px solid var(--line);
}

.story-notes h2 {
  font-size: 1.15rem;
}

.story-notes p {
  max-width: 900px;
  margin: 16px 0 0;
  color: #617589;
  font-size: 0.75rem;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .story-hero {
    grid-template-columns: 1fr;
  }

  .story-hero-copy {
    padding: 46px 32px 64px;
  }

  .story-breadcrumbs {
    margin-bottom: 45px;
  }

  .story-hero-image {
    height: 450px;
    min-height: 0;
  }

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

  .story-two-col {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .story-video-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

@media (max-width: 600px) {
  .modular-story .story-wrap {
    width: min(calc(100% - 36px), 1160px);
  }

  .story-hero-copy {
    padding: 32px 18px 48px;
  }

  .story-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.7rem);
  }

  .story-hero-image {
    height: 400px;
  }

  .story-feature-strip {
    padding: 0 18px;
  }

  .story-feature-strip div {
    min-height: 74px;
    padding: 12px 9px;
    font-size: 0.7rem;
  }

  .story-section {
    padding: 72px 0;
  }

  .story-media-grid {
    height: auto;
    grid-template-columns: 1fr;
  }

  .story-media-primary {
    height: 520px;
  }

  .story-media-side {
    height: 250px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 1fr;
  }

  .story-video-row video {
    height: 390px;
  }

  .story-steps,
  .story-example-grid {
    grid-template-columns: 1fr;
  }

  .story-steps span {
    margin-bottom: 20px;
  }

  .story-process-media {
    height: auto;
    grid-template-columns: 1fr;
  }

  .story-process-media figure {
    height: 420px;
  }

  .story-cta {
    padding: 70px 0 80px;
  }
}
