:root {
  --blue: #005bbb;
  --dark-blue: #003d58;
  --teal: #007b80;
  --purple: #4b006e;
  --purple-dark: #470a68;
  --text: #05051f;
  --muted: #555;
  --footer-line: linear-gradient(90deg, #4b006e, #005bbb);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-stretch: normal;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  color: var(--purple-dark);
  font-weight: 700;
}

.section-inner {
  width: min(100% - 48px, 820px);
  margin: 0 auto;
}

.section-inner.narrow {
  width: min(100% - 48px, 720px);
}

.accent-underline {
  display: inline;
  background-image: linear-gradient(
    90deg,
    #00a8e8 0%,
    #00a8e8 62%,
    rgba(0, 168, 232, 0.18) 100%
  );
  background-repeat: no-repeat;
  background-size: 100% 6px;
  background-position: 0 88%;
}

/* ================================
   HERO
================================ */

.disaster-hero {
  position: relative;
  min-height: 386px;
  background: linear-gradient(90deg, #4b006e 0%, #1f3d9d 100%);
  color: #fff;
  overflow: visible;
}

.disaster-hero-inner {
  position: relative;
  width: min(100% - 220px, 1280px);
  min-height: 386px;
  margin: 0 auto;
}

.disaster-hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 140px;
}

.eyebrow {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 24px;
}

.disaster-hero h1 {
  font-size: 53px;
  line-height: 1.28;
  font-weight: 400;
  margin: 0;
  max-width: 650px;
}

.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-img {
  position: absolute;
  display: block;
  object-fit: cover;
  box-shadow: none;
}

.hero-img-top {
  top: 86px;
  right: 64px;
  width: 370px;
  height: 190px;
}

.hero-img-main {
  top: 330px;
  right: 258px;
  width: 380px;
  height: 238px;
}

.hero-img-small {
  top: 350px;
  right: 0;
  width: 218px;
  height: 112px;
}

.shape {
  position: absolute;
  display: block;
}

.shape-cyan {
  top: 242px;
  right: 365px;
  width: 132px;
  height: 62px;
  background: #00a8e8;
}

.shape-purple {
  top: 132px;
  right: 0;
  width: 80px;
  height: 36px;
  background: var(--purple);
}

.shape-blue {
  top: 454px;
  right: -18px;
  width: 100px;
  height: 46px;
  background: var(--blue);
}

/* ================================
   RECOVERY / CASE STUDY
================================ */

.recovery {
  padding: 280px 24px 108px;
  border-bottom: 4px solid transparent;
  border-image: linear-gradient(90deg, #4b006e, #005bbb) 1;
}

.recovery h2 {
  color: var(--blue);
  font-size: 42px;
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 100px;
}

.recovery h3 {
  color: var(--blue);
  font-size: 42px;
  line-height: 1.18;
  font-weight: 400;
  margin: 0 0 54px;
}

.case-study h4 {
  color: #25272d;
  font-size: 27px;
  line-height: 1.35;
  font-weight: 400;
  margin: 0 0 28px;
}

.case-study p {
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 28px;
}

.case-study a {
  color: var(--blue);
}

.case-list,
.case-list ul {
  padding-left: 22px;
  margin: 0;
}

.case-list > li {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 24px;
}

.case-list ul {
  margin-top: 14px;
}

.case-list ul li {
  font-size: 15px;
  line-height: 1.55;
  margin-bottom: 14px;
}

.case-list li::marker {
  color: var(--text);
}

/* ================================
   IMAGE-ONLY ANIMATIONS
================================ */

.js-enabled [data-animate-images] .hero-img,
.js-enabled [data-animate-images] .shape {
  opacity: 0;
}

[data-animate-images].is-visible .hero-img,
[data-animate-images].is-visible .shape {
  animation: imageSlideInRight 900ms ease-out both;
}

[data-animate-images].is-visible .hero-img-main {
  animation-delay: 120ms;
}

[data-animate-images].is-visible .hero-img-small {
  animation-delay: 220ms;
}

[data-animate-images].is-visible .shape-cyan {
  animation-delay: 80ms;
}

[data-animate-images].is-visible .shape-purple {
  animation-delay: 160ms;
}

[data-animate-images].is-visible .shape-blue {
  animation-delay: 260ms;
}

@keyframes imageSlideInRight {
  from {
    opacity: 0;
    transform: translateX(70px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================
   RESPONSIVE: TABLET
================================ */

@media (max-width: 1100px) {
  .disaster-hero-inner {
    width: min(100% - 80px, 1280px);
  }

  .disaster-hero h1 {
    font-size: 46px;
  }

  .hero-img-top {
    right: 20px;
    width: 320px;
  }

  .hero-img-main {
    right: 190px;
    width: 340px;
  }

  .hero-img-small {
    width: 190px;
  }
}

/* ================================
   RESPONSIVE: MOBILE
================================ */

@media (max-width: 900px) {
  .section-inner,
  .section-inner.narrow {
    width: min(100% - 48px, 720px);
  }

  .disaster-hero {
    min-height: auto;
    overflow: hidden;
  }

  .disaster-hero-inner {
    width: 100%;
    min-height: 620px;
    padding: 0 14px;
  }

  .disaster-hero-copy {
    padding-top: 64px;
  }

  .eyebrow {
    font-size: 15px;
    margin-bottom: 16px;
  }

  .disaster-hero h1 {
    font-size: 36px;
    line-height: 1.3;
    max-width: none;
  }

  .accent-underline {
    background-size: 100% 4px;
    background-position: 0 86%;
  }

  .hero-collage {
    position: relative;
    height: 420px;
    margin-top: 76px;
  }

  .hero-img-top {
    top: 0;
    right: 38px;
    width: 270px;
    height: 138px;
    z-index: 3;
  }

  .hero-img-main {
    top: 178px;
    left: 0;
    right: auto;
    width: 292px;
    height: 176px;
    z-index: 3;
  }

  .hero-img-small {
    top: 196px;
    right: 0;
    width: 130px;
    height: 82px;
    z-index: 4;
  }

  .shape-cyan {
    top: 112px;
    left: 102px;
    right: auto;
    width: 96px;
    height: 46px;
    z-index: 2;
  }

  .shape-purple {
    top: 32px;
    right: 0;
    width: 52px;
    height: 26px;
    z-index: 1;
  }

  .shape-blue {
    top: 274px;
    right: 0;
    width: 64px;
    height: 36px;
    z-index: 2;
  }

  .recovery {
    padding: 72px 24px 84px;
  }

  .recovery h2,
  .recovery h3 {
    font-size: 34px;
  }

  .recovery h2 {
    margin-bottom: 76px;
  }

  .recovery h3 {
    margin-bottom: 42px;
  }

  .case-study h4 {
    font-size: 24px;
  }

  .case-study p,
  .case-list > li,
  .case-list ul li {
    font-size: 15px;
  }
}

/* ================================
   RESPONSIVE: SMALL MOBILE
================================ */

@media (max-width: 560px) {
  .section-inner,
  .section-inner.narrow {
    width: min(100% - 40px, 420px);
  }

  .disaster-hero-inner {
    min-height: 620px;
  }

  .disaster-hero h1 {
    font-size: 32px;
  }

  .hero-collage {
    height: 420px;
  }

  .recovery h2,
  .recovery h3 {
    font-size: 30px;
  }

  .case-study h4 {
    font-size: 22px;
  }
}