/* ==========================================================================
   ABOUT PAGE — about.css
   Gibeon Builders Construction | Exhibit 2
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. HERO BANNER
   -------------------------------------------------------------------------- */
.about-hero {
  position: relative;
  min-height: 60vh;
  background: var(--color-ink);
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  overflow: hidden;
}

/* Giant ghost background text */
.about-hero-bg-text {
  position: absolute;
  bottom: -20px;
  left: -10px;
  font-family: var(--font-display);
  font-size: clamp(160px, 20vw, 260px);
  font-weight: 700;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* Breadcrumb — absolute positioned */
.about-hero-breadcrumb {
  position: absolute;
  top: 96px;
  left: 80px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0; /* revealed by GSAP */
}

.about-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-hero-breadcrumb a:hover {
  color: rgba(255, 255, 255, 0.65);
}

.about-hero-breadcrumb .bc-sep {
  color: var(--color-red);
}

.about-hero-breadcrumb .bc-current {
  color: rgba(255, 255, 255, 0.7);
}

/* Foreground content */
.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--space-8);
}

/* Small red label */
.about-hero-content .hero-label {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 20px;
  opacity: 0; /* revealed by GSAP */
}

/* Page title */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

/* Char-split animation elements (JS-injected, mirrors gallery style) */
.page-title .char {
  display: inline-block;
  overflow: hidden;
}

.page-title .char-inner {
  display: inline-block;
}

/* Animated red underline */
.about-hero-content .title-underline {
  width: 0;
  height: 3px;
  background: var(--color-red);
  margin-top: 28px;
  animation: aboutDrawUnderline 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

@keyframes aboutDrawUnderline {
  to { width: 64px; }
}

/* Subtext */
.about-hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 28px;
  max-width: 480px;
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   2. OUR STORY
   -------------------------------------------------------------------------- */
.section-story {
  padding: 140px 0;
  background: var(--color-white);
}

.story-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-8);
  display: grid;
  grid-template-columns: 42fr 58fr;
  gap: var(--space-16);
  align-items: start;
}

.story-left {
  position: sticky;
  top: 120px;
  padding-right: 80px;
}

.story-pull-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 400;
  color: var(--color-ink);
  line-height: 1.45;
  border-left: 4px solid rgba(184, 19, 26, 0.25);
  padding-left: 28px;
  margin-top: 20px;
  margin-bottom: 0;
}

.story-right {
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-para {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
  color: #4a4845;
}

.story-divider {
  display: none;
}

/* Founding detail row */
.founding-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid rgba(17, 17, 16, 0.08);
  padding-top: 36px;
}

.founding-item {
  display: flex;
  flex-direction: column;
  padding-right: 32px;
}

.founding-item:not(:last-child) {
  border-right: 1px solid rgba(17, 17, 16, 0.08);
}

.founding-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-red);
  display: block;
  margin-bottom: 8px;
}

.founding-value {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  color: var(--color-ink);
  display: block;
  line-height: 1.2;
}

.founding-value--big {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}


/* --------------------------------------------------------------------------
   3. VALUES SECTION
   -------------------------------------------------------------------------- */
.section-values {
  background: var(--color-ink);
  padding: 130px 0;
}

.values-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-8);
}

.values-header {
  margin-bottom: 72px;
}

.values-h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: var(--space-3);
  max-width: 600px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.value-card {
  background: #161614;
  padding: 56px 52px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.value-card:hover {
  background: #1c1c1a;
}

/* Animated top border line */
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--color-red);
  transition: width 0.4s ease;
}

.value-card:hover::before {
  width: 100%;
}

/* Ghost number — large decorative */
.value-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  bottom: 20px;
  right: 28px;
  line-height: 1;
  user-select: none;
}

.value-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
}

.value-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.5);
}


/* --------------------------------------------------------------------------
   4. TEAM SECTION
   -------------------------------------------------------------------------- */
.section-team {
  background: var(--color-stone);
  padding: 130px 0;
}

.team-inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-8);
}

.team-header {
  margin-bottom: 72px;
}

.team-h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.1;
  margin-top: var(--space-3);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--color-white);
  border-radius: 3px;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(17, 17, 16, 0.1);
}

/* Image container */
.team-img-wrap {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}

/* Monogram avatar — diagonal stripe texture with red accent bar */
.team-monogram {
  width: 100%;
  height: 280px;
  background: repeating-linear-gradient(
    -45deg,
    var(--color-ink)  0px,
    var(--color-ink)  20px,
    #1c1c1a           20px,
    #1c1c1a           40px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  letter-spacing: -0.04em;
  user-select: none;
  position: relative;
}

.team-monogram::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-red);
}

/* Red hover overlay */
.team-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(184, 19, 26, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-img-overlay {
  opacity: 1;
}

/* Card text content */
.team-card-content {
  padding: 32px 36px 36px;
}

.team-role {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 10px;
}

.team-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--color-muted);
}

/* Footer link accent */
.team-card-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(17, 17, 16, 0.07);
}

.team-profile-link {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-red);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.team-profile-link:hover {
  opacity: 0.75;
}


/* --------------------------------------------------------------------------
   5. STATS BAR
   -------------------------------------------------------------------------- */
.stats-band {
  background: var(--color-red);
  padding: 72px 0;
}

.stats-row {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-8);
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 700;
  color: white;
  line-height: 1;
  display: block;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 10px;
  display: block;
}


/* --------------------------------------------------------------------------
   6. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .about-hero { min-height: 55vh; }
  .story-inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .story-left { position: static; padding-right: 0; margin-bottom: 48px; }
}

@media (max-width: 768px) {
  .about-hero { padding-bottom: 60px; }
  .about-hero-breadcrumb { top: 60px; left: 28px; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .story-right { padding-left: 0; }
  .stats-row { flex-wrap: wrap; gap: 48px 0; }
  .stat-item { width: 50%; border-right: none !important; }
}

@media (max-width: 600px) {
  .founding-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .founding-item {
    border-right: none !important;
    padding-right: 0;
    border-bottom: 1px solid rgba(17, 17, 16, 0.08);
    padding-bottom: 24px;
  }
  .founding-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

@media (max-width: 480px) {
  .page-title { font-size: clamp(44px, 12vw, 64px); }
  .story-pull-quote { font-size: clamp(22px, 5vw, 30px); }
  .value-card { padding: 40px 32px; }
  .team-card-content { padding: 24px 24px 28px; }
}
