/* ════════════════════════════════════════════════════
   ABOUT PAGE STYLES  —  bob- namespace
   Paste this block at the bottom of pages.css
════════════════════════════════════════════════════ */

/* ── VARIABLE ALIASES ── */
:root {
  --nav-height:         var(--nav-h, 90px);
  --space-4xl:          48px;
  --space-lg:           20px;
  --fs-h3:              clamp(22px, 3vw, 30px);
  --color-bg-secondary: rgba(10, 6, 0, 0.95);
}

/* ══════════════════════════════════
   SECTION BACKGROUNDS & SPACING
══════════════════════════════════ */
.bob-about-hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  background: var(--color-bg-secondary);
}

.bob-stats-section {
  padding-top: 0;
  background: var(--color-bg-secondary);
}

.bob-founder-section {
  background: var(--color-bg-secondary);
}

/* ══════════════════════════════════
   STATS BAR
══════════════════════════════════ */
.bob-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.15);
  border-radius: 16px;
  overflow: hidden;
}

.bob-stat-item {
  padding: 36px 24px;
  text-align: center;
  background: rgba(10, 6, 0, 0.75);
  backdrop-filter: blur(12px);
  transition: background 0.28s ease;
}

.bob-stat-item:hover {
  background: rgba(251, 191, 36, 0.06);
}

.bob-stat-number {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.bob-stat-label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ══════════════════════════════════
   ABOUT CONTENT LAYOUT
══════════════════════════════════ */
.bob-about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.bob-about-content--top {
  align-items: flex-start;
}

/* ══════════════════════════════════
   ABOUT IMAGE
══════════════════════════════════ */
.bob-about-image {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.bob-about-image img {
  display: block;
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center top;
  border-radius: 18px;
  border: 1px solid rgba(251, 191, 36, 0.18);
  filter: brightness(0.88) contrast(1.05) saturate(0.92);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.bob-about-image:hover img {
  filter: brightness(0.96) contrast(1.05) saturate(1.05);
  transform: scale(1.02);
}

/* Gold shimmer top edge */
.bob-about-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
  z-index: 2;
}

/* Gradient fade at bottom */
.bob-about-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(10, 6, 0, 0.55) 0%, transparent 100%);
  border-radius: 0 0 18px 18px;
  pointer-events: none;
  z-index: 1;
}

/* ══════════════════════════════════
   ABOUT TEXT
══════════════════════════════════ */
.bob-about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.4px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.bob-about-text h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 12px;
  margin-bottom: 24px;
}

.bob-about-text p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  font-weight: 300;
  margin-bottom: 16px;
}

/* ══════════════════════════════════
   FOUNDER
══════════════════════════════════ */
.bob-founder-name {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.3px;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
}

.bob-founder-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: var(--space-lg);
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold), #c8860a);
  color: #0a0600;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(251, 191, 36, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

/* Mail icon via CSS mask */
.bob-founder-btn::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-color: #0a0600;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Shimmer sweep on hover */
.bob-founder-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.45s ease;
}

.bob-founder-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(251, 191, 36, 0.45);
  filter: brightness(1.08);
  color: #0a0600;
  text-decoration: none;
}

.bob-founder-btn:hover::after {
  left: 130%;
}

/* Founder image — ensure visible height even if src is missing */
.bob-founder-section .bob-about-image {
  min-height: 420px;
  background: rgba(251, 191, 36, 0.04);
  border: 1px solid rgba(251, 191, 36, 0.15);
}

.bob-founder-section .bob-about-image img {
  height: 100%;
  min-height: 420px;
}

/* ══════════════════════════════════
   TEAM GRID
══════════════════════════════════ */
.bob-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.bob-team-card {
  background: rgba(20, 12, 0, 0.60);
  border: 1px solid rgba(251, 191, 36, 0.15);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  backdrop-filter: blur(12px);
  transition:
    border-color 0.28s ease,
    transform    0.28s ease,
    box-shadow   0.28s ease;
}

.bob-team-card:hover {
  border-color: rgba(251, 191, 36, 0.40);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.bob-team-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.bob-team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.85) grayscale(0.1) contrast(1.05);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.bob-team-card:hover .bob-team-photo img {
  filter: brightness(0.96) grayscale(0) contrast(1.05);
  transform: scale(1.05);
}

.bob-team-photo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(10, 6, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
}

.bob-team-card-body {
  padding: 20px 18px 24px;
}

.bob-team-name {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.bob-team-role {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: 0.9;
}

.bob-team-bio {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.7;
  font-weight: 300;
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media (max-width: 1024px) {
  .bob-team-grid { grid-template-columns: repeat(2, 1fr); }
  .bob-stats     { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .bob-about-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .bob-about-image img { height: 300px; }
  .bob-team-photo      { height: 180px; }
}

@media (max-width: 480px) {
  .bob-stats      { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .bob-stat-item  { padding: 24px 16px; }
  .bob-team-grid  { grid-template-columns: 1fr 1fr; }
  .bob-team-photo { height: 150px; }
  .bob-about-image img { height: 240px; }
}