.summer-case-page {
  --summer-bg: #101819;
  --summer-ink: #f2eedc;
  --summer-copy: rgb(242 238 220 / 78%);
  --summer-muted: rgb(242 238 220 / 52%);
  --summer-line: rgb(242 238 220 / 24%);
  --docs-copy: rgb(242 238 220 / 94%);
  --docs-line: var(--summer-line);
  --docs-muted: rgb(242 238 220 / 78%);
  --ellemen-red: #d9faff;
  margin: 0;
  background: linear-gradient(135deg, #101819 0%, #263738 52%, #405657 100%);
  color: var(--summer-copy);
  font-family: var(--mono);
}

.summer-case-page .site-header {
  display: none;
}

.summer-case {
  width: 100%;
  margin: 0;
  padding: 0;
}

.summer-case-hero,
.summer-case-story {
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
}

.summer-case-hero {
  position: relative;
  display: block;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.summer-case-hero::after {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: min(54vw, 760px);
  background: linear-gradient(90deg, rgb(5 12 13 / 84%) 0%, rgb(8 16 17 / 68%) 42%, rgb(8 16 17 / 30%) 72%, transparent 100%);
  content: "";
  pointer-events: none;
}

.summer-case-intro {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: block;
  width: min(100% - 52px, 1120px);
  height: 100%;
  margin: 0 auto;
  padding: 44px 0 32px;
}

.summer-case-cover {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #315b3d;
}

.summer-case-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.summer-case-intro .docs-case-meta {
  width: min(100%, var(--brand-case-sidebar));
}

.summer-case-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: var(--summer-ink);
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
}

.summer-case-page.case-viewer-page .summer-case-close {
  display: none;
}

.summer-case-story {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: min(100% - 52px, 1120px);
  height: auto;
  margin: 0 auto;
  padding: 38px 0 32px;
}

.summer-case-video-wrap {
  position: relative;
  display: grid;
  grid-area: auto;
  flex: 0 1 auto;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  aspect-ratio: auto;
  margin: 0;
  min-width: 0;
  min-height: 0;
  background: #0a0a0a;
}

.summer-case-video {
  display: block;
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
  max-height: 54vh;
  aspect-ratio: auto;
  background: #0a0a0a;
  object-fit: contain;
}

@media (min-width: 761px) {
  .summer-case-video-wrap {
    width: min(100%, calc(54vh * 16 / 9));
    aspect-ratio: 16 / 9;
    justify-self: start;
    overflow: hidden;
  }

  .summer-case-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none;
  }
}

.summer-case-copy {
  color: var(--summer-copy);
  font-size: 12px;
  line-height: 1.56;
}

.summer-case-copy p,
.summer-case-copy h2 {
  margin: 0;
}

.summer-case-eyebrow {
  margin-bottom: 10px !important;
  color: var(--summer-muted);
  font-size: 10px;
}

.summer-case-copy h2 {
  color: var(--summer-ink);
  font-family: var(--sans);
  font-size: var(--case-section-title-size);
  font-weight: 600;
  line-height: var(--case-section-title-line-height);
}

.summer-case-copy h2 span {
  display: block;
}

.summer-case-body-copy {
  display: grid;
  gap: 8px;
  max-width: 820px;
  margin-top: 18px;
}

@supports (height: 100dvh) {
  .summer-case-hero {
    height: 100dvh;
    min-height: 100dvh;
    max-height: 100dvh;
  }

  .summer-case-story {
    min-height: 100dvh;
  }
}

@media (max-width: 760px) {
  .summer-case-intro,
  .summer-case-story {
    width: min(100% - 32px, 1120px);
  }

  .summer-case-intro {
    padding-top: 56px;
  }

  .summer-case-story {
    padding: 44px 0 24px;
  }

  .summer-case-video {
    height: auto;
    max-height: none;
  }

}
