html:has(meta[name=home-lettering-preview]) {
  scrollbar-gutter: stable;
}

body.site-shell--home > #main-content {
  scrollbar-gutter: stable;
}

.home-shell .home-author-lettering {
  --hero-note-surface: rgb(255 255 255 / 78%);
  --hero-note-text: #1d2c59;
  display: block;
  padding: 0;
  border: 0;
  background: var(--hero-note-surface);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--hero-note-text);
  font: 400 26px/1.3 Arial, sans-serif;
  text-align: center;
  text-shadow: none;
  transform: rotate(-5deg);
  border-radius: 10px;
}
.home-shell .home-author-lettering .home-author-lettering__drawing {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  overflow: visible;
}
.home-shell .home-author-lettering .home-author-lettering__fallback {
  position: absolute;
  inset: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: inherit;
  font: 400 26px/1.3 Arial, sans-serif;
}

@media (prefers-reduced-transparency: reduce) {
  .home-shell .home-author-lettering {
    --hero-note-surface: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.home-shell .hero-slide__accent.home-author-lettering {
  width: clamp(240px, 26vw, 360px);
  aspect-ratio: 10/7;
  box-shadow: 0 8px 24px rgba(16, 35, 74, 0.14);
}

.home-shell .hero-slide__content .hero-slide__accent.home-author-lettering {
  color: var(--hero-note-text);
  background: var(--hero-note-surface);
}

.home-shell .join-union__accent.home-author-lettering {
  width: min(28%, 300px);
  aspect-ratio: 2/1;
}

.home-shell .join-union__accent.home-author-lettering[data-lettering-variant=reference] {
  aspect-ratio: 1000/420;
}

@media (min-width: 768px) and (max-width: 1279px) {
  .home-shell .join-union__accent.home-author-lettering {
    position: relative;
    inset: auto;
    grid-column: 1/-1;
    justify-self: end;
    width: 280px;
    margin-top: 10px;
  }
}
@media (max-width: 767px) {
  .home-shell .hero-slide__content.container:has(> .home-author-lettering--hero) {
    padding-bottom: 88px;
  }
  .home-shell .hero-slide__accent.home-author-lettering {
    position: relative;
    inset: auto;
    flex-shrink: 0;
    align-self: flex-end;
    margin-top: 32px;
    width: min(100%, 300px);
    max-width: 100%;
  }
  .home-shell .join-union__accent.home-author-lettering {
    width: min(100% - 40px, 280px);
    right: 20px;
  }
}
