/* about.css – About page styles */

/* ════════════════════════════════════
   ABOUT HERO
════════════════════════════════════ */
.about-hero {
  background-image: url('../assets/about-bg.jpg');
}

.about-hero-content .page-eyebrow {
  font-size: var(--size-xs);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-sm);
}

.about-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--white);
}

.about-hero-content h1 span { color: var(--color-accent); }

.about-hero-content .sub {
  font-size: var(--size-lg);
  color: var(--grey-text);
  margin-top: var(--sp-md);
  max-width: 480px;
}

/* ════════════════════════════════════
   ABOUT CONTENT
════════════════════════════════════ */
.about-block {
  max-width: 700px;
}

.about-text {
  font-size: var(--size-lg);
  color: var(--grey-text);
  line-height: 1.75;
  margin-bottom: var(--sp-md);
}

.about-text:last-of-type {
  margin-bottom: 0;
}

.about-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-top: var(--sp-xl);
}

.minimal-link {
  color: var(--white);
  border-bottom: 1px solid transparent;
  font-size: var(--size-base);
  transition: color var(--t-fast), border-color var(--t-fast);
}

.minimal-link:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.link-separator {
  color: var(--color-border);
}

/* ════════════════════════════════════
   IMAGE BAND
   Full-bleed photo divider between the intro copy
   and the team section. Uses .reveal-band (global.css)
   for the scroll-triggered slow fade-in.
════════════════════════════════════ */
.about-image-band {
  height: 46vh;
  min-height: 280px;
  max-height: 460px;
  background-image: url('../assets/jaguar-team-mid.jpg');
  background-position: center 38%;
}

.about-image-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 28, 27, 0.55) 0%,
    rgba(26, 28, 27, 0.05) 30%,
    rgba(26, 28, 27, 0.05) 70%,
    rgba(26, 28, 27, 0.6) 100%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .about-image-band {
    height: 34vh;
    min-height: 220px;
  }
}

/* ════════════════════════════════════
   TEAM
════════════════════════════════════ */
.team-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--sp-lg);
  align-items: stretch;
  max-width: 980px;
  margin: 0 auto;
}

.team-split-axis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1px;
  min-height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(var(--green-rgb), 0.35) 35%,
    rgba(var(--green-rgb), 0.55) 50%,
    rgba(var(--green-rgb), 0.35) 65%,
    transparent 100%
  );
  position: relative;
}

.team-split-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: var(--r-full);
  background: var(--color-bg);
  border: 2px solid rgba(var(--green-rgb), 0.65);
  box-shadow: 0 0 12px rgba(var(--green-rgb), 0.25);
}

.team-card {
  height: 100%;
  padding: var(--sp-xl);
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  background: var(--grey-1);
}

.team-card--creative {
  border-top: 2px solid var(--color-accent);
}

.team-card--engineer {
  border-top: 2px solid rgba(255, 255, 255, 0.35);
}

.team-card-copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  min-height: 0;
}

.team-card .member-bio {
  flex: 1 1 auto;
  min-height: 4.75rem;
  margin-bottom: 0;
}

.team-card-actions {
  margin-top: auto;
  padding-top: var(--sp-lg);
  width: 100%;
}

.section-header.text-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.member-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
}

.team-card--creative .member-photo--placeholder {
  background: linear-gradient(
    145deg,
    rgba(var(--green-rgb), 0.14) 0%,
    var(--grey-1) 55%,
    var(--surface-layer) 100%
  );
}

.team-card--engineer .member-photo--placeholder {
  background: linear-gradient(
    215deg,
    rgba(255, 255, 255, 0.06) 0%,
    var(--grey-1) 55%,
    var(--surface-layer) 100%
  );
}

.member-photo--placeholder .member-initials {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  opacity: 0.85;
}

.team-card .member-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  min-height: 2.75rem;
  margin-top: 0;
  padding: 0.625rem 1.125rem;
  box-sizing: border-box;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: var(--r-sm);
  transition:
    background-color var(--t-fast),
    color var(--t-fast),
    border-color var(--t-fast),
    box-shadow var(--t-fast);
}

.team-card .member-profile-link:hover {
  color: var(--black);
  background: var(--white);
  border-color: var(--white);
  box-shadow: var(--shadow-green);
}

.team-card .member-profile-link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}
