/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #3a3a42;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0.3;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(58, 58, 66, 0.4) 0%,
    rgba(58, 58, 66, 0.7) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-hero-label {
  color: rgba(255, 255, 255, 0.5);
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

/* ===== ABOUT STORY ===== */
.about-story {
  padding: 8rem 0;
  background: var(--color-bg-alt);
}
.about-story-content {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.about-story-text {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}

/* ===== TEAM DOSSIERS ===== */
.team-dossiers {
  padding: 8rem 0;
  background: var(--color-bg);
}

.dossier-files {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

/* The clickable tab (closed file) */
.dossier-tab {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  padding: 1.5rem 2rem;
  background: #3a3a42;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: none;
  cursor: pointer;
  font-family: var(--font-body);
  text-align: left;
  transition: all 0.3s ease;
}
.dossier-file:last-child .dossier-tab {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dossier-tab:hover {
  background: #44444d;
}
.dossier-file.is-open .dossier-tab {
  background: #2e2e35;
  border-color: #2e2e35;
}
.dossier-file.is-open .dossier-tab:hover {
  background: #333339;
}
.dossier-file.is-open + .dossier-file .dossier-tab {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dossier-tab-number {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(198, 40, 40, 0.15);
  padding: 0.3rem 0.6rem;
  white-space: nowrap;
}
.dossier-file.is-open .dossier-tab-number {
  background: rgba(198, 40, 40, 0.2);
}

.dossier-tab-name {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.01em;
}
.dossier-file.is-open .dossier-tab-name {
  color: #fff;
}

.dossier-tab-role {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}
.dossier-file.is-open .dossier-tab-role {
  color: rgba(255, 255, 255, 0.4);
}

.dossier-tab-toggle {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.4);
  transition: transform 0.4s var(--ease-smooth);
}
.dossier-file.is-open .dossier-tab-toggle {
  transform: rotate(180deg);
  color: rgba(255, 255, 255, 0.4);
}

/* The opened dossier content */
.dossier-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease-smooth);
  background: #2e2e35;
  border-left: 1px solid #2e2e35;
  border-right: 1px solid #2e2e35;
}
.dossier-file.is-open .dossier-content {
  max-height: 1200px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dossier-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  padding: 2.5rem 2rem 3rem;
}

/* Photo */
.dossier-photo-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.dossier-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(30%);
}

/* Field entries */
.dossier-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.dossier-field {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dossier-field-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}
.dossier-field-value {
  display: block;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* Divider between fields and bio */
.dossier-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 1.5rem 0;
}

/* Bio text */
.dossier-bio p {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1rem;
}
.dossier-bio p:last-child {
  margin-bottom: 0;
}
