/* ============================================================
   ABOUT PAGE  --  about.css
   Extends styles.css — shared tokens/components live there.
   ============================================================ */

/* ---------- About hero banner ---------- */
.about-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 4rem;
  isolation: isolate;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(160deg, rgba(61, 36, 24, 0.7), rgba(26, 15, 8, 0.92)),
    url("../images/hero/hero-plate.jpg") center / cover no-repeat;
  filter: blur(3px) saturate(0.9);
  transform: scale(1.05);
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(26, 15, 8, 0.5);
}

.about-hero-content {
  animation: heroRise 0.65s ease-out both;
}

.about-eyebrow {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--gold-400);
  margin-bottom: 0.3rem;
  letter-spacing: 0.03em;
}

.about-hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 1.0;
  color: var(--cream-50);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
  margin-bottom: 0.5rem;
}

.about-hero-role {
  font-size: 1.05rem;
  color: var(--cream-100);
  opacity: 0.85;
  font-weight: 500;
}

/* ---------- Bio section ---------- */
.about-bio {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.about-bio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .about-bio-grid {
    grid-template-columns: 380px 1fr;
    gap: 5rem;
    align-items: start;
  }
}

/* Photo */
.about-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.about-photo-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  /* Warm cocoa background so the photo's white bg fades into the page */
  background: var(--cocoa-800);
  border: 1px solid rgba(212, 162, 76, 0.25);
  box-shadow: 0 0 80px -20px rgba(212, 162, 76, 0.35);
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: brightness(1.02) saturate(1.05);
}

/* Soft vignette — fades bottom edge only, doesn't darken the subject */
.about-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(26, 15, 8, 0.4) 100%
  );
  pointer-events: none;
  border-radius: inherit;
}

/* Shown when profpic.jpeg hasn't been dropped in yet */
.about-photo-frame.photo-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 40% 30%, #5c3a26, #1a0f08 75%);
}
.about-photo-frame.photo-missing .about-photo {
  display: none;
}
.about-photo-frame.photo-missing::after {
  content: "Drop profpic.jpeg into\A images/Whos doing it like this/";
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: rgba(245, 217, 154, 0.5);
  text-align: center;
  white-space: pre;
  padding: 1rem;
  line-height: 1.6;
}

.about-photo-caption {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: var(--gold-300);
  text-align: center;
}

/* Text */
.about-text p {
  font-size: 1.05rem;
  color: var(--cream-100);
  margin-top: 1.2rem;
  max-width: 62ch;
  line-height: 1.75;
}

.about-text strong {
  color: var(--cream-50);
  font-weight: 600;
}

.about-name-title {
  margin-bottom: 0;
}

.about-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  border-radius: 2px;
  margin: 1.25rem 0 0;
}

.about-quote {
  margin: 2.2rem 0 0;
  padding: 1.5rem 1.8rem;
  border-left: 3px solid var(--gold-500);
  background: rgba(212, 162, 76, 0.06);
  border-radius: 0 12px 12px 0;
  font-family: var(--font-hand);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  color: var(--gold-300);
  line-height: 1.45;
  position: relative;
}

.about-quote-mark {
  font-size: 2.5rem;
  line-height: 0;
  vertical-align: -0.3em;
  color: var(--gold-500);
  opacity: 0.7;
  font-family: Georgia, serif;
}
.about-quote-mark--close { margin-left: 0.1em; }

/* ---------- Active nav link (current page) ---------- */
.nav-active {
  color: var(--gold-400) !important;
}
.nav-active::after {
  transform: scaleX(1) !important;
  background: var(--gold-400) !important;
}

/* ---------- Values band ---------- */
.about-values {
  background: var(--cocoa-900);
  border-top: 1px solid rgba(212, 162, 76, 0.12);
  border-bottom: 1px solid rgba(212, 162, 76, 0.12);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.about-values .section-title {
  margin-bottom: 2.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--cocoa-800);
  border: 1px solid rgba(212, 162, 76, 0.2);
  border-radius: 16px;
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (hover: hover) {
  .value-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 162, 76, 0.5);
    box-shadow: 0 0 50px -15px rgba(212, 162, 76, 0.3);
  }
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(212, 162, 76, 0.1);
  border: 1px solid rgba(212, 162, 76, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--cream-100);
  font-size: 0.97rem;
  line-height: 1.6;
}

/* ---------- CTA band ---------- */
.about-cta {
  padding: clamp(4rem, 9vw, 6rem) 0;
  text-align: center;
}

.about-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.about-cta-logo {
  width: clamp(100px, 20vw, 160px);
  height: auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
}

.about-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--gold-400);
  line-height: 1.1;
}

.about-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
