.site-main--default {
  min-height: 70vh;
}

.default-page__hero {
  min-height: clamp(28rem, 36vw, 43rem);
}

.default-page__hero-inner {
  min-height: inherit;
  display: flex;
  align-items: flex-start;
  padding-top: calc(var(--header-height) + clamp(3rem, 5.2vw, 6.25rem));
  padding-bottom: clamp(4rem, 6.25vw, 7.5rem);
}

.site-main--default .entry__title {
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 5vw, 6rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.default-page__content {
  padding-block: clamp(5rem, 6.25vw, 7.5rem) clamp(8rem, 10vw, 12rem);
  background: var(--color-white);
  color: var(--color-ink);
}

.default-page__content-inner {
  max-width: var(--container-narrow);
}

.default-page__featured-media {
  margin: 0 0 clamp(3rem, 5vw, 6rem);
  overflow: hidden;
  border-radius: 0 clamp(3rem, 5vw, 6rem) 0 0;
  background: var(--color-surface);
}

.default-page__featured-media img {
  width: 100%;
  height: auto;
  display: block;
}

.site-main--default .entry__content {
  width: min(100%, 52rem);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
}

.site-main--default .entry__content > * + * {
  margin-top: var(--space-4);
}

.site-main--default .entry__content :is(h2, h3, h4) {
  margin-top: var(--space-7);
  line-height: var(--line-height-heading);
}

.site-main--default .entry__content :is(img, video, iframe) {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

.site-main--default .entry__content a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-main--not-found,
.not-found,
.not-found__inner {
  min-height: 100svh;
}

.not-found {
  color: var(--color-ink);
}

.not-found__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-top: calc(var(--header-height) + clamp(2.5rem, 5vw, 6rem));
  padding-bottom: clamp(3rem, 5vw, 6rem);
  text-align: center;
}

.not-found__code {
  margin: auto 0 clamp(3rem, 5vw, 6rem);
  font-family: var(--font-display);
  font-size: clamp(9rem, 25vw, 30rem);
  font-weight: 500;
  line-height: 0.66;
  letter-spacing: -5px;
}

.not-found__content {
  width: min(100%, 52rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 3rem);
}

.not-found__title {
  max-width: 11ch;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 6.25rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.not-found__body {
  max-width: 38rem;
  font-size: clamp(0.9375rem, 1vw, 1.125rem);
}

.not-found__link {
  min-height: 3rem;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-inline: 1.5rem;
}

@media (max-width: 48rem) {
  .default-page__hero {
    min-height: 31rem;
  }

  .default-page__hero-inner {
    padding-top: calc(var(--header-height) + var(--space-6));
    padding-bottom: var(--space-7);
  }

  .site-main--default .entry__title {
    font-size: clamp(3rem, 12.5vw, 4.25rem);
  }

  .default-page__content {
    padding-block: var(--space-7) var(--space-9);
  }

  .default-page__featured-media {
    margin-bottom: var(--space-7);
    border-radius: 0 clamp(2.5rem, 12vw, 4rem) 0 0;
  }

  .not-found__inner {
    padding-top: calc(var(--header-height) + var(--space-6));
    padding-bottom: var(--space-7);
  }

  .not-found__code {
    margin-bottom: var(--space-7);
    font-size: clamp(8rem, 42vw, 13rem);
  }

  .not-found__title {
    font-size: clamp(3rem, 14vw, 4.75rem);
  }

  .not-found__body {
    max-width: 28rem;
  }
}
