/* About — was About.module.css. The bundler's hashed class names are
   replaced by a plain c-About_ prefix so the stylesheet stands alone. */

.c-About_about {
  position: relative;
  width: 100%;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--base-100);
  color: var(--base-1000);
  overflow: clip;
}

.c-About_inner {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2.5rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.c-About_headlineWrap {
  position: relative;
  width: max-content;
  max-width: 100%;
  /* Match .c-About_headline so callout top/left em offsets resolve the same as before */
  font-size: clamp(2.75rem, 7.5vw, 7.5rem);
  line-height: 0.9;
}

.c-About_headline {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1em;
  line-height: inherit;
  max-width: 18ch;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.c-About_callout {
  z-index: 10;
}

.c-About_calloutPoke {
  top: 0.75em;
  right: -0.1em;
}

.c-About_calloutReally {
  /* 5th line ("Even pitch") + original 0.25em offset on that line */
  top: calc(0.9em * 4 + 0.25em);
  left: -0.1em;
}

.c-About_line {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.c-About_word {
  position: relative;
  z-index: 1;
}

.c-About_spot {
  position: relative;
  z-index: 2;
  display: block;
  flex-shrink: 0;
  width: 0.45em;
  height: 0.45em;
  margin: 0 0.15em;
  cursor: pointer;
}

.c-About_spotPanel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.45em;
  height: 0.45em;
  border-radius: 0.04em;
  background-color: var(--base-1000);
  overflow: hidden;
  transform: translate(-50%, -50%);
  backface-visibility: hidden;
  will-change: transform, width, height;
}

.c-About_spot[data-active="true"] {
  z-index: 20;
}

.c-About_spotPanel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (max-width: 999px) {
  .c-About_spot {
    cursor: default;
    pointer-events: none;
  }

  .c-About_headlineWrap {
    font-size: clamp(2.75rem, 13vw, 5.5rem);
  }

  .c-About_headline {
    max-width: 100%;
  }

  .c-About_callout {
    display: none;
  }
}

@media (max-width: 768px) {
  .c-About_inner {
    gap: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .c-About_headlineWrap {
    font-size: clamp(2.5rem, 14vw, 4.5rem);
  }
}
