.case-study-mega .mega-article {
  background: #fff;
  color: #ee2c3d;
}

.mega-article *,
.mega-article *::before,
.mega-article *::after {
  box-sizing: border-box;
}

.mega-article h1,
.mega-article h2,
.mega-article p,
.mega-article figure {
  margin: 0;
}

.mega-article img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-copy {
  font-size: var(--type-case-copy);
  line-height: var(--leading-case-copy);
}

.mega-copy p + p {
  margin-top: 1.25em;
}

.mega-kicker {
  font-size: var(--type-case-kicker);
  font-weight: 700;
  line-height: var(--leading-case-kicker);
  text-transform: uppercase;
}

.mega-hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
  padding: 34px 38px 54px;
  border-bottom: 1px solid currentColor;
}

.mega-hero__copy {
  position: relative;
  padding-bottom: 14px;
}

.mega-hero .blog-meta {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  gap: 6px;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid currentColor;
  font-size: var(--type-case-kicker);
}

.mega-hero h1 {
  max-width: 9ch;
  margin-top: 86px;
  font-size: var(--type-editorial-title);
  font-weight: 700;
  line-height: var(--leading-editorial-title);
  letter-spacing: 0;
}

.mega-hero__intro {
  max-width: 510px;
  margin-top: clamp(54px, 7vw, 100px);
}

.case-study-mega.detail-editorial .mega-hero h1 {
  white-space: nowrap;
}

.case-study-mega.detail-editorial .mega-hero__intro {
  margin-top: var(--space-title-copy);
}

.mega-hero__media {
  aspect-ratio: 1000 / 1241;
  overflow: hidden;
}

.mega-video {
  padding: clamp(58px, 7vw, 108px) 38px;
}

.mega-video__frame {
  width: min(78%, 1120px);
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.mega-video__link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
}

.mega-video__link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-video__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  transition: background-color 180ms ease;
}

.mega-video__link span {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid currentColor;
  background: #ee2c3d;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.mega-video__link:hover::after,
.mega-video__link:focus-visible::after {
  background: rgba(0, 0, 0, 0.08);
}

.mega-video__link:focus-visible {
  outline: 2px solid #ee2c3d;
  outline-offset: 4px;
}

.mega-development {
  padding: 44px 38px 66px;
}

.mega-development__turnarounds {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mega-development__turnarounds img {
  height: auto;
  object-fit: contain;
  background: #f3f1ee;
}

.mega-development__world {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  margin-top: 8px;
}

.mega-development__world figure {
  aspect-ratio: 1.42 / 1;
  overflow: hidden;
}

.mega-development__world img {
  object-fit: cover;
}

.mega-development__caption {
  max-width: 1080px;
  margin-top: 34px;
}

.mega-identity {
  display: grid;
  grid-template-columns: minmax(280px, 4fr) minmax(0, 8fr);
  gap: clamp(44px, 6vw, 96px);
  padding: 78px 38px 68px;
  border-top: 1px solid currentColor;
}

.mega-identity__copy h2 {
  max-width: 9ch;
  margin-top: 22px;
  font-size: var(--type-editorial-section);
  font-weight: 700;
  line-height: var(--leading-editorial-section);
  letter-spacing: 0;
}

.mega-identity__copy .mega-copy {
  max-width: 470px;
  margin-top: 48px;
}

.mega-identity__media {
  display: grid;
  grid-template-columns: minmax(0, 0.77885fr) repeat(2, minmax(0, 1fr));
  gap: 0;
  align-content: start;
}

.mega-identity__media > figure {
  overflow: hidden;
}

.mega-identity__media > :nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 567 / 1456;
  background: #f3f1ee;
}

.mega-identity__media > :nth-child(2) {
  grid-column: 2 / 4;
  grid-row: 1;
  aspect-ratio: 1;
  background: #f3f1ee;
}

.mega-identity__media > :nth-child(3) {
  grid-column: 1 / 3;
  grid-row: 2;
  aspect-ratio: 1192 / 670;
  background: #fff;
}

.mega-identity__media > :nth-child(4) {
  grid-column: 3;
  grid-row: 2;
  aspect-ratio: 1;
  background: #0d1115;
}

.mega-identity__media > :nth-child(5) {
  grid-column: 1 / 4;
  grid-row: 3;
  aspect-ratio: 1672 / 941;
  background: #0d1115;
}

.mega-identity__media img {
  object-fit: contain;
}

.case-study-mega .blog-related {
  padding-bottom: 0;
}

@media (max-width: 760px) {
  .mega-copy {
    font-size: var(--type-case-copy);
  }

  .mega-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 62px 20px 42px;
  }

  .mega-hero__copy {
    display: contents;
  }

  .mega-hero .blog-meta {
    position: static;
    order: 1;
    width: 100%;
    margin-bottom: 32px;
  }

  .mega-hero h1 {
    order: 2;
    margin-top: 0;
    font-size: var(--type-editorial-title);
  }

  .mega-hero .mega-hero__media {
    order: 3;
    width: 100%;
    margin-top: 32px;
  }

  .mega-hero__intro {
    order: 4;
    margin-top: 36px;
  }

  .mega-video,
  .mega-development,
  .mega-identity {
    padding-right: 20px;
    padding-left: 20px;
  }

  .mega-video {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .mega-video__frame {
    width: 100%;
  }

  .mega-development {
    padding-top: 34px;
    padding-bottom: 46px;
  }

  .mega-development__world {
    grid-template-columns: 1fr;
  }

  .mega-development__turnarounds {
    grid-template-columns: 1fr;
  }

  .mega-development__world figure {
    aspect-ratio: auto;
  }

  .mega-development__world img {
    height: auto;
  }

  .mega-identity {
    display: block;
    padding-top: 52px;
    padding-bottom: 44px;
  }

  .mega-identity__copy h2 {
    font-size: var(--type-editorial-section);
  }

  .mega-identity__copy .mega-copy {
    margin-top: 34px;
  }

  .mega-identity__media {
    margin-top: 42px;
  }

}
