/* About James finished-page pass.
   Keeps the established About content and lower-page structure intact while
   matching the completed Home / Weddings / Occasions / Collaborations styling. */
.about-page {
  --about-finished-radius: 22px;
  --about-finished-radius-small: 14px;
}

/* Match the standard internal-page opening rhythm and keep hero columns top-aligned. */
@media (min-width: 901px) {
  .about-page .about-hero {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .about-page .about-hero-grid {
    align-items: start;
  }

  .about-page .about-hero-copy h1 {
    max-width: 17ch;
    font-size: clamp(2.05rem, 3.35vw, 3.35rem);
    line-height: 1.06;
    margin-bottom: 14px;
  }

  .about-page .about-hero-media img {
    height: 340px;
    max-height: none;
    aspect-ratio: auto;
  }
}

@media (max-width: 900px) {
  .about-page .about-hero {
    padding-top: 54px;
  }

  .about-page .about-hero-grid {
    align-items: start;
  }
}

/* Pill actions throughout the page. */
.about-page .btn {
  border-radius: 999px;
}

/* Rounded photography and existing bordered panels only; no structural layout changes. */
.about-page .about-hero-media,
.about-page .about-performance-media,
.about-page .about-business-media,
.about-page .about-tuition-gallery figure,
.about-page .about-luthiery-panel,
.about-page .about-history-details,
.about-page .about-history-panel,
.about-page .about-background-panel {
  border-radius: var(--about-finished-radius);
  overflow: hidden;
}

/* Workbench imagery keeps its existing open-caption layout but gains soft image edges. */
.about-page .about-case-shot,
.about-page .about-case-single,
.about-page .about-before-after,
.about-page .about-bridge-card {
  border-radius: var(--about-finished-radius-small);
  overflow: hidden;
}

.about-page .about-case-shot img,
.about-page .about-case-single img,
.about-page .about-before-after img,
.about-page .about-bridge-card img {
  border-radius: inherit;
}

/* Existing service/instrument chips use the same pill silhouette. */
.about-page .about-service-list span,
.about-page .about-instrument-list span {
  border-radius: 999px;
}

/* The lower four business routes deliberately remain open columns; only their actions become pills. */
.about-page .about-final-card .btn {
  border-radius: 999px;
}

/* Section-aware floating arrow, matching the completed pages. */
.about-page .section-scroll-next {
  position: fixed;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 9998;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(244,210,124,.72);
  border-radius: 50%;
  background: rgba(5,5,5,.12);
  color: var(--gold-light);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .2s ease, transform .2s ease, border-color .2s ease, background .2s ease;
}

.about-page .section-scroll-next.is-visible {
  opacity: .86;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.about-page .section-scroll-next svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.65));
  transition: transform .18s ease;
}

.about-page .section-scroll-next:hover,
.about-page .section-scroll-next:focus-visible {
  opacity: 1;
  border-color: var(--gold-light);
  background: rgba(5,5,5,.22);
  outline: none;
}

.about-page .section-scroll-next:hover svg,
.about-page .section-scroll-next:focus-visible svg {
  transform: translateY(2px);
}

@media (max-width: 640px) {
  .about-page .section-scroll-next {
    width: 42px;
    height: 42px;
    bottom: max(14px, env(safe-area-inset-bottom));
  }

  .about-page .section-scroll-next svg {
    width: 20px;
    height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page .section-scroll-next,
  .about-page .section-scroll-next svg {
    transition: none;
  }
}

/* Final route actions: these were formerly underline-style text links.
   Give them true pill-button dimensions so the labels sit comfortably inside. */
.about-page .about-final-card .btn,
.about-page .about-final-card .btn-primary {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(210,162,58,.68);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-light);
  box-shadow: none;
  line-height: 1;
  white-space: nowrap;
}

.about-page .about-final-card .btn:hover,
.about-page .about-final-card .btn:focus-visible,
.about-page .about-final-card .btn-primary:hover,
.about-page .about-final-card .btn-primary:focus-visible {
  border-color: var(--gold-light);
  background: rgba(210,162,58,.06);
  color: var(--cream);
}

@media (max-width: 420px) {
  .about-page .about-final-card .btn,
  .about-page .about-final-card .btn-primary {
    white-space: normal;
    text-align: center;
    line-height: 1.25;
    padding: 10px 16px;
  }
}
