/* ============================================================
   BIOGRAPHY PAGE STYLES
   Direction: "Sunlit Recital" — light, warm, dramatic
   ============================================================ */

/* --- Utility --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- Page Hero (shorter than homepage hero, still dramatic) --- */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-orchard-900.jpg');
  background-size: cover;
  background-position: center 25%;
  filter: blur(2px);
  transform: scale(1.1);
}

/* Blurred banner: 1600px is plenty even on large screens */
@media (min-width: 900px) {
  .page-hero__bg { background-image: url('../images/hero-orchard-1600.jpg'); }
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 13, 11, 0.4) 0%,
    rgba(15, 13, 11, 0.5) 50%,
    rgba(15, 13, 11, 0.7) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: var(--space-4xl);
  animation: heroFadeIn 1s var(--ease-out) both;
}

.page-hero__subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  font-style: italic;
  color: rgba(255,255,255,0.8);
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-xs);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: var(--color-white);
  letter-spacing: var(--tracking-wide);
}

/* Gold rule in hero context stays white/light */
.page-hero .gold-rule {
  background: rgba(255,255,255,0.4);
}


/* --- Bio Intro --- */
.bio-intro {
  background: var(--color-bg);
}

.bio-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (min-width: 768px) {
  .bio-intro__grid {
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
  }
}

.bio-intro__portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .bio-intro__portrait-frame {
    max-width: none;
    position: sticky;
    top: calc(var(--space-4xl) + 60px);
  }
}

.bio-intro__portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-intro__lead {
  font-family: var(--font-accent);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-text-heading);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-xl);
  max-width: none;
}

.bio-intro__text p:not(.bio-intro__lead) {
  color: var(--color-text);
}


/* --- Bio Sections --- */
.bio-section {
  background: var(--color-bg);
  padding-block: var(--space-2xl);
}

.bio-section:nth-child(even) {
  background: var(--color-surface);
}

.bio-section--highlight {
  background: var(--color-surface) !important;
  border-top: 2px solid var(--color-crimson-muted);
  border-bottom: 2px solid var(--color-crimson-muted);
}

.bio-section__header {
  margin-bottom: var(--space-xl);
}

.bio-section__header h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-xs);
}

.bio-section__content p {
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

.bio-section__content p:last-child {
  margin-bottom: 0;
}


/* --- Bio Quote (pull quote) --- */
.bio-quote {
  background: var(--color-surface);
  padding-block: var(--space-3xl);
  position: relative;
}

.bio-quote::before,
.bio-quote::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: var(--space-xl);
  background: linear-gradient(to bottom, transparent, var(--color-crimson-muted));
}

.bio-quote::before {
  top: 0;
}

.bio-quote::after {
  bottom: 0;
  background: linear-gradient(to bottom, var(--color-crimson-muted), transparent);
}

.bio-quote__block {
  text-align: center;
  border: none;
  padding: 0;
}

.bio-quote__block p {
  font-family: var(--font-accent);
  font-size: var(--text-2xl);
  font-style: italic;
  color: var(--color-text-heading);
  line-height: var(--leading-snug);
  max-width: none;
}


/* --- Bio Highlight Box --- */
.bio-highlight {
  margin-top: var(--space-2xl);
}

.bio-highlight__inner {
  padding: var(--space-xl);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-crimson);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.bio-highlight__inner h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-crimson);
  margin-bottom: var(--space-md);
}

.bio-highlight__inner p {
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.bio-highlight__inner p:last-child {
  margin-bottom: 0;
}


/* --- Roles Grid --- */
.bio-roles {
  margin-top: var(--space-2xl);
}

.bio-roles__title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-crimson);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
  margin-bottom: var(--space-lg);
}

.bio-roles__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .bio-roles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bio-role {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.bio-role:hover {
  border-color: var(--color-border-accent);
  box-shadow: var(--shadow-sm);
}

.bio-role__name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text-heading);
  margin-bottom: var(--space-2xs);
}

.bio-role__work {
  font-family: var(--font-accent);
  font-size: var(--text-base);
  font-style: italic;
  color: var(--color-text);
}

.bio-role__composer {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}


/* --- Credentials --- */
.bio-credentials {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

@media (min-width: 640px) {
  .bio-credentials {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bio-credential {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-lg);
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.bio-credential__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--color-crimson-muted);
  color: var(--color-crimson);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: var(--tracking-wider);
}

.bio-credential h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: var(--space-3xs);
}

.bio-credential p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: 0;
}


/* --- Bio CTA --- */
.bio-cta {
  background: var(--color-bg);
  padding-block: var(--space-4xl);
}

.bio-cta__content {
  text-align: center;
}

.bio-cta__text {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-text);
  max-width: 40ch;
  margin: 0 auto var(--space-2xl);
}

.bio-cta__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}


/* --- Download Button Row (Press Kit section) --- */
.bio-downloads {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}


/* --- Active Nav Link --- */
.nav__link--active {
  color: var(--color-crimson) !important;
}

.nav__link--active::after {
  width: 100%;
  background: var(--color-crimson);
}
