/* ======================================================================
   06. About Section
   ====================================================================== */
#about {
  --bg: var(--sp-theme-bg-base);
  --surface: var(--sp-theme-surface);
  --surface-2: var(--sp-theme-surface-soft);
  --line: var(--sp-theme-border);
  --line-strong: var(--sp-theme-border-strong);
  --text: var(--sp-theme-text-heading);
  --muted: var(--sp-theme-text-muted);
  --muted-2: var(--sp-theme-text-subtle);
  --active: var(--sp-theme-primary);
  --shadow: var(--sp-shadow-outline);
  --radius: 0.55rem;
  --shell-width: var(--sp-shell-width-desktop);
  --page-gap: var(--sp-space-page);
  --grid-gap: 0.7rem;
  --header-gap: var(--sp-space-header);
  --title-size: var(--sp-type-section-title);
  --detail-title: var(--sp-type-detail-sm);
  --sans: var(--sp-font-sans);
}

#about * {
  box-sizing: border-box;
}

#about,
#about {
  margin: 0;
  height: 100%;
}

#about {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#about img,
#about video {
  display: block;
  max-width: 100%;
}

#about button,
#about input,
#about textarea,
#about select {
  font: inherit;
}

#about .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#about .about-shell {
  height: 100svh;
}

#about .about-copy {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  min-height: 100%;
  align-content: start;
}

#about .about-kicker,
#about .about-title,
#about .about-body,
#about .about-bio {
  grid-column: 1 / -1;
}

#about .about-kicker {
  margin: 0;
  font-size: var(--sp-type-body-reading-sm);
  line-height: 1.4;
  color: var(--muted);
  letter-spacing: 0.01em;
}

#about .about-title {
  margin: 0.625rem 0 0;
  font-size: var(--detail-title);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
}

#about .about-body {
  margin-top: 1.45rem;
  padding-top: 1.45rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.15rem;
}

.single-page-site :is(h1, h2, h3, .section-label, .kicker, .hero-kicker, .hero-card__meta, .nav-trigger__label, .nav-panel__eyebrow, .nav-panel__title, .nav-group__label, .nav-item__label, .news-list-title, .about-kicker, .equipment-kicker, .footer-note-label) {
  font-family: var(--sp-font-display);
}

#about .about-body p,
#about .about-bio p {
  margin: 0;
  font-size: var(--sp-type-body-lg);
  line-height: 1.88;
  color: var(--muted);
}

#about .about-bio {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.9rem;
}

#about .about-bio p {
  font-size: var(--sp-type-body-sm-plus);
  line-height: 1.78;
  color: var(--muted-2);
}

#about .carousel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100%;
  gap: 1rem;
}

#about .carousel-viewport {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

#about .carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 420ms cubic-bezier(.2, .75, .26, .98);
  will-change: transform;
}

#about .carousel-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  background-color: #dbdce1;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

#about .carousel-slide.lightbox-trigger,
#equipments .visual-frame.lightbox-trigger {
  cursor: zoom-in;
}

#about .carousel-slide.lightbox-trigger:focus-visible,
#equipments .visual-frame.lightbox-trigger:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--active) 68%, transparent);
  outline-offset: -2px;
}

#about .carousel-slide::before {
  content: none;
}

#about .carousel-slide::after {
  content: attr(data-caption);
  position: absolute;
  inset: auto 1rem 1rem auto;
  font-size: var(--sp-type-caption-sm);
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.88);
  z-index: 1;
  padding: 0.35rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(20, 22, 28, 0.18);
  backdrop-filter: blur(4px);
}

#about .carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.58rem;
  padding: 0.1rem 0 0.1rem;
}

#about .carousel-dot {
  appearance: none;
  border: 0;
  margin: 0;
  padding: 0;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 999px;
  background: rgba(79, 86, 98, 0.18);
  box-shadow: inset 0 0 0 1px rgba(79, 86, 98, 0.16);
  cursor: pointer;
  transition: transform 140ms ease, background-color 140ms ease;
}

#about .carousel-dot[aria-selected="true"] {
  background: var(--active);
  transform: scale(1.05);
  box-shadow: inset 0 0 0 1px rgba(79, 86, 98, 0.55);
}

#about .carousel-dot:focus-visible {
  outline: 2px solid rgba(79, 86, 98, 0.42);
  outline-offset: 3px;
}

@media (max-width: 80rem) {
  #about .about-shell {
    width: min(100vw - 2.5rem, 88rem);
  }

  #about .spread {
    column-gap: 2.5rem;
  }
}

@media (max-width: 64rem) {
  #about .spread {
    grid-template-columns: 1fr;
    row-gap: 2.75rem;
    min-height: auto;
  }

  #about .spread::after {
    display: none;
  }

  #about .left-page,
  #about .right-page {
    grid-column: auto;
  }

  #about .left-scroll,
  #about .right-scroll {
    padding: 0;
  }

  #about .carousel-viewport {
    min-height: 26rem;
  }
}

@media (max-width: 48rem) {
  #about .about-shell {
    width: min(100vw - 1rem, 44rem);
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    gap: 0.8rem;
    height: auto;
    min-height: 100svh;
  }

  #about .about-header {
    gap: 0.72rem;
  }

  #about .about-header h1 {
    font-size: var(--sp-type-section-title-mobile);
  }

  #about .spread {
    row-gap: 1.2rem;
    height: auto;
  }

  #about .left-page,
  #about .right-page {
    height: auto;
  }

  #about .left-scroll,
  #about .right-scroll {
    height: auto;
    overflow: visible;
  }

  #about .about-title {
    font-size: var(--sp-type-subsection-title);
  }

  #about .about-body p {
    font-size: var(--sp-type-body-plus);
    line-height: 1.82;
  }

  #about .about-bio p {
    font-size: var(--sp-type-control);
    line-height: 1.74;
  }

  #about .carousel {
    gap: 0.8rem;
  }

  #about .carousel-viewport {
    min-height: 22rem;
  }
}
