@layer layout {
  body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slide {
    aspect-ratio: var(--slide-aspect);
    width: min(100vw, calc(100dvh * var(--slide-aspect)));
    overflow: hidden;
    position: relative;
    container-type: inline-size;
  }

  .nav-zone {
    position: absolute;
    background: transparent;
    z-index: 1;
  }

  .nav-zone--prev {
    top: 33.33%;
    height: 33.33%;
    left: 0;
    width: 20%;
  }

  .nav-zone--next {
    top: 33.33%;
    height: 33.33%;
    right: 0;
    width: 20%;
  }

  .nav-zone--first {
    top: 0;
    height: 20%;
    left: 33.33%;
    width: 33.33%;
  }

  .nav-zone--last {
    bottom: 0;
    height: 20%;
    left: 33.33%;
    width: 33.33%;
  }

  .slide-number {
    position: absolute;
    bottom: 1.2cqw;
    left: 1.2cqw;
    font-size: 1.1cqw;
    opacity: 0.4;
    color: inherit;
    text-decoration: none;
    z-index: 2;
  }
  .slide-number:hover {
    opacity: 0.8;
  }


  .slide > svg {
    display: block;
    width: 100%;
    height: 100%;
  }

  svg rect.frame {
    fill: var(--color-sheet);
  }
}

@layer layout {
  .bullets text {
    text-anchor: start;
  }

  .bullets__header {
    --font-width: 100;
    font-size: 132px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .bullets__item {
    font-size: 56px;
  }

  .bullets__mark {
    fill: var(--bullet-mark, oklch(from var(--color-ultramarine) var(--600)));
  }

  /* A one-sentence slide: <text class="statement"> per line. */
  .statement {
    --font-width: 150;
    font-size: 120px;
    font-weight: 700;
    text-anchor: start;
  }
}
