/* Decorative artwork is painted behind the content and ignored by assistive technology. */
:root {
  --ship-drawing: url("vega-rigning.png");
}

.home .intro-heading {
  position: relative;
  isolation: isolate;
  background-color: var(--paper);
}

.home .intro-heading::after {
  content: "";
  display: block;
  width: min(23rem, 100%);
  height: 11rem;
  margin-top: .7rem;
  background: var(--ship-drawing) left center / contain no-repeat;
  mix-blend-mode: multiply;
  opacity: .43;
  pointer-events: none;
}

.home .membership-inner {
  position: relative;
  isolation: isolate;
}

.home .membership-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 20%;
  width: min(43%, 31rem);
  aspect-ratio: 760 / 470;
  transform: translateY(-50%);
  background: url("sea-chart.svg") center / contain no-repeat;
  mask-image: radial-gradient(ellipse 70% 64% at 63% 50%, #000 26%, transparent 74%);
  opacity: .25;
  pointer-events: none;
}

.editorial-page {
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: linear-gradient(180deg, var(--editorial-wash), transparent 34rem);
}

.editorial-page--sail {
  --editorial-wash: rgb(229 217 195 / 35%);
  --editorial-art: var(--ship-drawing);
  --editorial-opacity: .34;
  background-color: var(--paper);
}

.editorial-page--sail::before {
  mix-blend-mode: multiply;
}

.editorial-page--chart {
  --editorial-wash: rgb(211 227 222 / 42%);
  --editorial-art: url("sea-chart.svg");
  --editorial-opacity: .24;
}

.editorial-page::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 2.5rem;
  right: max(-2rem, calc((100% - 1470px) / 2));
  width: clamp(25rem, 50vw, 54rem);
  aspect-ratio: 720 / 460;
  background: var(--editorial-art) right top / contain no-repeat;
  mask-image: radial-gradient(ellipse 82% 78% at 67% 45%, #000 30%, transparent 78%);
  opacity: var(--editorial-opacity);
  pointer-events: none;
}

@media (max-width: 700px) {
  .home .intro-heading::after {
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: -.75rem;
    width: 9rem;
    height: 5.5rem;
    margin: 0;
    background-size: contain;
    opacity: .14;
  }

  .home .membership-inner::before {
    right: 0;
    width: min(70%, 19rem);
    opacity: .15;
  }

  .editorial-page::before {
    top: .8rem;
    right: -5rem;
    width: 23rem;
    opacity: .12;
  }
}

@media print {
  .home .intro-heading::after,
  .home .membership-inner::before,
  .editorial-page::before {
    display: none;
  }
}
.hero-photo video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

.hero-photo video.is-playing {
  opacity: 1;
}

[data-hero-toggle][hidden] {
  display: none;
}
