/* ============================================================
   THE THROUGHLINE — About Page Styles
   ============================================================ */

/* ============================================================
   PAGE HEADER — office sketch right side
   ============================================================ */

.about-page-header {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

/* Office sketch pinned to right inside navy header */
.about-header-sketch {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(360px, 50vw, 720px);
  pointer-events: none;
  opacity: 0.38;
}

.about-header-sketch__img {
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .about-header-sketch {
    width: 220px;
    opacity: 0.15;
    right: -8%;
  }
}

/* ============================================================
   SCROLL WATERMARK — fixed, only visible below navy header
   ============================================================ */

.about-watermark {
  position: fixed;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(380px, 55vw, 700px);
  pointer-events: none;
  z-index: 0;
  opacity: 0;                /* starts hidden — JS reveals once past header */
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.about-watermark.watermark-visible {
  opacity: 0.35;
}

.about-watermark.watermark-hidden {
  opacity: 0;
}

@media (max-width: 900px) {
  .about-watermark {
    display: none;
  }
}

.about-watermark__img {
  width: 100%;
  height: auto;
}

/* Ensure prose content sits above watermark */
.about-photo-section .container,
.about-prose .container,
.about-pullquote .container,
.about-cta .container,
.about-supervision .container {
  position: relative;
  z-index: 1;
}

/* ============================================================
   PHOTO SECTION
   ============================================================ */

.about-photo-section {
  padding-bottom: 0;
}

.about-photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: var(--cream-darker);
}

.about-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Placeholder state when photo not yet loaded */
.about-photo--placeholder .about-photo__img {
  display: none;
}

.about-photo__placeholder-inner {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background-color: var(--cream-darker);
  border: 1px solid var(--cream-dark);
}

.about-photo--placeholder .about-photo__placeholder-inner {
  display: flex;
}

.about-photo__placeholder-inner span {
  font-size: 0.75rem;
  color: var(--warm-gray-light);
  letter-spacing: 0.05em;
}

/* Subtle sepia overlay — feels like a developed photo */
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(28, 43, 58, 0.15) 100%
  );
  pointer-events: none;
}

/* Credential block */
.about-credential {
  text-align: center;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--cream-darker);
  margin-top: var(--space-lg);
  max-width: 420px;
  margin-inline: auto;
}

.about-credential__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: var(--space-xs);
}

.about-credential__title {
  font-size: 0.85rem;
  color: var(--warm-gray);
  letter-spacing: 0.03em;
  margin-bottom: var(--space-xs);
}

.about-credential__super {
  font-size: 0.8rem;
  color: var(--warm-gray-light);
  font-style: italic;
}

/* ============================================================
   PROSE SECTIONS
   ============================================================ */

.about-prose {
  background-color: var(--cream);
}

.about-prose--alt {
  background-color: var(--cream-dark);
  border-top: 1px solid var(--cream-darker);
  border-bottom: 1px solid var(--cream-darker);
}

.prose-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

/* ============================================================
   PULL QUOTE
   ============================================================ */

.about-pullquote {
  background-color: var(--navy);
  padding-block: var(--space-4xl);
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow */
.about-pullquote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(139, 111, 78, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* Logo watermark on left side of pull quote */
.about-pullquote::after {
  content: '';
  position: absolute;
  left: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 40vw, 560px);
  height: clamp(280px, 40vw, 560px);
  background-image: url('../images/logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.12;
  pointer-events: none;
}

.pullquote {
  position: relative;
  text-align: center;
  padding: 0 var(--space-lg);
  z-index: 1;
}

/* Large decorative quote mark */
.pullquote::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 12rem);
  color: var(--sepia);
  opacity: 0.2;
  position: absolute;
  top: -2rem;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1;
  pointer-events: none;
}

.pullquote__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  line-height: 1.35;
  color: var(--cream);
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin-inline: auto;
}

.pullquote__cite {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sepia-pale);
  position: relative;
  z-index: 1;
}

.pullquote__cite::before {
  content: '— ';
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.about-cta {
  background-color: var(--cream);
  text-align: center;
}

.about-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--cream-darker);
  border-radius: var(--radius-md);
  background-color: var(--white);
}

.about-cta__text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--navy);
  font-weight: 300;
  max-width: 520px;
}

.about-cta__note {
  color: var(--warm-gray-light);
  margin-top: calc(-1 * var(--space-md));
}

.about-cta__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--sepia);
  margin-top: calc(-1 * var(--space-sm));
}

/* ============================================================
   SUPERVISION DISCLOSURE
   ============================================================ */

.about-supervision {
  background-color: var(--cream-dark);
  border-top: 1px solid var(--cream-darker);
  padding-block: var(--space-lg);
}

.about-supervision__text {
  font-size: 0.775rem;
  color: var(--warm-gray-light);
  text-align: center;
  letter-spacing: 0.02em;
}
