/* ============================================================
   About page — Vivacity LEAP
   ============================================================ */

/* SECTION 1: CINEMATIC HERO */
.hero-about { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; border-bottom: 1px solid var(--glass-border); }
.hero-about-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://server5.buildingbrandsmarketing.com/demos/Vivacity/Vivacity%20Team%204%20AI.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-about-bg::after { content: ''; position: absolute; inset: 0; background:
  radial-gradient(ellipse 600px 400px at 65% 40%, rgba(2,203,209,0.08) 0%, transparent 70%),
  linear-gradient(to right, var(--black) 30%, rgba(0,0,0,0.85) 42%, rgba(0,0,0,0.5) 58%, rgba(0,0,0,0.2) 80%, rgba(0,0,0,0.15) 100%),
  linear-gradient(to top, var(--black) 0%, rgba(0,0,0,0.4) 15%, transparent 30%),
  linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 18%); }
.hero-about .grid-peek {
  width: 1100px; height: 800px; top: -30px; right: -60px;
  mask-image: radial-gradient(ellipse 70% 65% at 55% 45%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 55% 45%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
}
.hero-about-inner { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 160px 40px 120px; }
.hero-about-tag { font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--teal); font-weight: 400; margin-bottom: 32px; display: flex; align-items: center; gap: 16px; }
.hero-about-tag::before { content: ''; width: 40px; height: 1px; background: linear-gradient(90deg, var(--teal), var(--lime)); }
.hero-about h1 { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 58px; line-height: 1.12; letter-spacing: -1px; margin-bottom: 28px; max-width: 650px; }
.hero-about h1 strong { font-weight: 600; background: linear-gradient(135deg, var(--teal), var(--lime)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-about-sub { font-size: 17px; color: var(--gray-mid); line-height: 1.7; margin-bottom: 48px; max-width: 480px; }
.hero-about-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* SECTION 2: FOUNDING STORY — VERTICAL TIMELINE */
.story-section { padding: 120px 0; border-bottom: 1px solid var(--glass-border); position: relative; overflow: hidden; }
.story-section .grid-peek {
  width: 900px; height: 760px; bottom: -40px; left: -30px;
  mask-image: radial-gradient(ellipse 75% 65% at 40% 55%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 40% 55%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 75%);
}
.story-header { margin-bottom: 64px; }
.story-header h2 { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 40px; margin-bottom: 16px; }
.story-header h2 strong { font-weight: 600; }
.story-header p { color: var(--gray-mid); font-size: 16px; max-width: 500px; line-height: 1.7; }

.timeline { position: relative; padding-left: 60px; }
.timeline::before { content: ''; position: absolute; top: 0; left: 23px; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--teal), rgba(2,203,209,0.4) 30%, rgba(60,207,90,0.4) 60%, rgba(121,211,18,0.4) 85%, var(--lime)); }
.timeline-motif { position: absolute; left: 0; top: -20px; width: 48px; height: 48px; opacity: 0.1; }
.timeline-motif img { width: 100%; height: 100%; }
.timeline-item { position: relative; margin-bottom: 64px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -43px; top: 6px; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--teal); background: rgba(2,203,209,0.15); box-shadow: 0 0 12px rgba(2,203,209,0.3); transition: all 0.4s; }
.timeline-item:nth-child(even) .timeline-dot { border-color: var(--lime); background: rgba(121,211,18,0.15); box-shadow: 0 0 12px rgba(121,211,18,0.3); }
.timeline-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; font-weight: 500; }
.timeline-item:nth-child(even) .timeline-label { color: var(--lime); }
.timeline-title { font-size: 20px; font-weight: 500; margin-bottom: 10px; line-height: 1.3; }
.timeline-body { color: var(--gray-mid); font-size: 15px; line-height: 1.7; max-width: 520px; }
.timeline-end-motif { display: flex; justify-content: flex-start; padding-left: 0; margin-top: 48px; }
.timeline-end-motif img { width: 36px; height: auto; opacity: 0.08; }

/* SECTION 3: CLINICAL PHILOSOPHY */
.philosophy-section { padding: 100px 0; border-bottom: 1px solid var(--glass-border); position: relative; overflow: hidden; background: var(--dark-subtle); }
.philosophy-section::before { content: ''; position: absolute; bottom: 0; left: -100%; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--teal), var(--lime), transparent); animation: electricSlide 4s ease-in-out infinite; z-index: 3; }
.philosophy-section::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 600px 300px at 50% 50%, rgba(2,203,209,0.03) 0%, transparent 70%); pointer-events: none; }
.philosophy-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; text-align: center; }
.philosophy-inner h2 { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 38px; line-height: 1.3; margin-bottom: 32px; }
.philosophy-inner h2 strong { font-weight: 600; }
.philosophy-quote { color: var(--white); font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 22px; line-height: 1.6; margin-bottom: 24px; position: relative; padding: 0 20px; }
.philosophy-quote::before { content: ''; position: absolute; left: 50%; top: -16px; transform: translateX(-50%); width: 40px; height: 1px; background: linear-gradient(90deg, var(--teal), var(--lime)); }
.philosophy-body { color: var(--gray-mid); font-size: 16px; line-height: 1.8; }

/* SECTION 4: TEAM BIOS */
.team-section { padding: 120px 0; border-bottom: 1px solid var(--glass-border); position: relative; overflow: hidden; }
.team-section .grid-peek {
  width: 1000px; height: 800px; top: -50px; right: -80px;
  mask-image: radial-gradient(ellipse 70% 65% at 60% 45%, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 60% 45%, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 40%, transparent 70%);
}
.team-header { text-align: center; margin-bottom: 80px; }
.team-header h2 { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 40px; margin-bottom: 16px; }
.team-header h2 strong { font-weight: 600; }
.team-header p { color: var(--gray-mid); font-size: 16px; max-width: 480px; margin: 0 auto; }

.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }

.team-card { background: var(--dark-card); border: 1px solid var(--glass-border); padding: 56px 40px 48px; text-align: center; position: relative; overflow: hidden; cursor: pointer; transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.team-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--teal), var(--lime)); transform: scaleX(0); transition: transform 0.4s; transform-origin: left; }
.team-card:hover::before, .team-card.expanded::before { transform: scaleX(1); }
.team-card:hover, .team-card.expanded { background: rgba(20,20,20,0.95); box-shadow: 0 8px 40px rgba(2,203,209,0.08), inset 0 1px 0 rgba(255,255,255,0.04); border-color: rgba(2,203,209,0.15); }

.team-photo-wrap { width: 130px; height: 130px; border-radius: 50%; margin: 0 auto 28px; position: relative; }
.team-photo-ring { position: absolute; inset: -5px; border-radius: 50%; border: 1px solid rgba(2,203,209,0.15); transition: all 0.5s; }
.team-photo-ring::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(2,203,209,0.06); }
.team-card:hover .team-photo-ring, .team-card.expanded .team-photo-ring { border-color: var(--teal); box-shadow: 0 0 30px rgba(2,203,209,0.12), 0 0 60px rgba(2,203,209,0.04); }
.team-photo-inner { width: 100%; height: 100%; border-radius: 50%; background: var(--dark-subtle); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.team-photo-inner .photo-placeholder { width: 70%; height: 70%; object-fit: contain; opacity: 0.15; transition: opacity 0.4s; }
.team-card:hover .photo-placeholder, .team-card.expanded .photo-placeholder { opacity: 0.25; }
.team-photo-inner .photo-real { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }

.team-card[data-accent="lime"] .team-photo-ring { border-color: rgba(121,211,18,0.15); }
.team-card[data-accent="lime"] .team-photo-ring::after { border-color: rgba(121,211,18,0.06); }
.team-card[data-accent="lime"]:hover .team-photo-ring,
.team-card[data-accent="lime"].expanded .team-photo-ring { border-color: var(--lime); box-shadow: 0 0 30px rgba(121,211,18,0.12), 0 0 60px rgba(121,211,18,0.04); }
.team-card[data-accent="lime"]:hover, .team-card[data-accent="lime"].expanded { border-color: rgba(121,211,18,0.15); }
.team-card[data-accent="lime"]::before { background: linear-gradient(90deg, var(--lime), var(--teal)); }

.team-name { font-size: 20px; font-weight: 600; margin-bottom: 6px; transition: all 0.3s; }
.team-title { font-size: 12px; color: var(--teal); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 0; font-weight: 400; transition: all 0.3s; }
.team-card[data-accent="lime"] .team-title { color: var(--lime); }

.team-expand-hint { margin-top: 20px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--gray-dim); transition: all 0.4s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.team-expand-hint svg { width: 12px; height: 12px; transition: transform 0.4s; }
.team-card.expanded .team-expand-hint svg { transform: rotate(180deg); }
.team-card:hover .team-expand-hint { color: var(--gray-mid); }

.team-expanded-content { max-height: 0; overflow: hidden; transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s; opacity: 0; }
.team-card.expanded .team-expanded-content { max-height: 400px; opacity: 1; }
.team-bio { color: var(--gray-mid); font-size: 14px; line-height: 1.7; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--glass-border); text-align: left; }
.team-creds { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.team-cred-tag { padding: 4px 12px; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid rgba(2,203,209,0.2); color: var(--gray-mid); background: rgba(2,203,209,0.03); font-weight: 400; }
.team-card[data-accent="lime"] .team-cred-tag { border-color: rgba(121,211,18,0.2); background: rgba(121,211,18,0.03); }
.team-personal-note { margin-top: 16px; font-size: 13px; color: var(--gray-dim); font-style: italic; line-height: 1.6; text-align: left; }

/* SECTION 5: CREDENTIALS STRIP */
.creds-strip { padding: 48px 0; border-bottom: 1px solid var(--glass-border); background: var(--dark-card); overflow: hidden; position: relative; }
.creds-strip-label { text-align: center; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gray-dim); margin-bottom: 28px; }
.creds-scroll { display: flex; gap: 60px; align-items: center; animation: credScroll 20s linear infinite; width: max-content; }
.creds-scroll:hover { animation-play-state: paused; }
@keyframes credScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.cred-badge { display: flex; align-items: center; gap: 12px; white-space: nowrap; padding: 10px 24px; border: 1px solid var(--glass-border); background: rgba(255,255,255,0.02); backdrop-filter: blur(4px); transition: all 0.3s; flex-shrink: 0; }
.cred-badge:hover { border-color: rgba(2,203,209,0.2); background: rgba(2,203,209,0.03); }
.cred-badge-icon { width: 28px; height: 28px; opacity: 0.5; flex-shrink: 0; }
.cred-badge-icon svg { width: 100%; height: 100%; }
.cred-badge-text { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gray-mid); font-weight: 400; }
.creds-strip::before, .creds-strip::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.creds-strip::before { left: 0; background: linear-gradient(to right, var(--dark-card), transparent); }
.creds-strip::after { right: 0; background: linear-gradient(to left, var(--dark-card), transparent); }

/* SECTION 6: LOCATION */
.location-section { padding: 120px 0; border-bottom: 1px solid var(--glass-border); position: relative; overflow: hidden; }
.location-section .grid-peek {
  width: 900px; height: 700px; bottom: -20px; left: -60px;
  mask-image: radial-gradient(ellipse 70% 60% at 35% 55%, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.12) 45%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 35% 55%, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.12) 45%, transparent 70%);
}
.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; position: relative; z-index: 1; }
.location-content h2 { font-family: 'Outfit', sans-serif; font-weight: 200; font-size: 38px; line-height: 1.3; margin-bottom: 24px; }
.location-content h2 strong { font-weight: 600; }
.location-content p { color: var(--gray-mid); font-size: 16px; line-height: 1.8; margin-bottom: 24px; }

.location-stats { display: flex; gap: 40px; margin: 36px 0; padding: 28px 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.location-stat { text-align: center; flex: 1; }
.location-stat-num { font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 200; background: linear-gradient(135deg, var(--teal), var(--lime)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: 8px; }
.location-stat-label { font-size: 10px; color: var(--gray-mid); letter-spacing: 2px; text-transform: uppercase; line-height: 1.5; }

.location-details { display: flex; flex-direction: column; gap: 16px; }
.location-detail { display: flex; align-items: center; gap: 14px; color: var(--gray-mid); font-size: 14px; }
.location-detail svg { width: 16px; height: 16px; flex-shrink: 0; }

.location-map-wrap { position: relative; height: 440px; border: 1px solid var(--glass-border); background: var(--dark); overflow: hidden; }
.location-map-placeholder { width: 100%; height: 100%; position: relative; }
.location-map-placeholder svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.map-pin-group { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); text-align: center; z-index: 2; }
.map-pin-glow { width: 80px; height: 80px; border-radius: 50%; background: radial-gradient(circle, rgba(2,203,209,0.15) 0%, rgba(2,203,209,0.04) 50%, transparent 70%); margin: 0 auto; display: flex; align-items: center; justify-content: center; animation: pinGlow 3s ease-in-out infinite; }
@keyframes pinGlow { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.7; } }
.map-pin-icon { width: 28px; height: 28px; }
.map-pin-label { margin-top: 12px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); font-weight: 500; }
.map-pin-sub { font-size: 11px; color: var(--gray-dim); letter-spacing: 1px; margin-top: 4px; }
.map-dev-note { position: absolute; bottom: 16px; right: 16px; font-size: 10px; letter-spacing: 1px; color: var(--gray-dim); background: rgba(0,0,0,0.6); padding: 6px 12px; border: 1px solid var(--glass-border); z-index: 3; }

/* CTA (page-specific override) */
.cta-section .grid-peek {
  width: 1200px; height: 900px; bottom: 10px; left: -40px;
  mask-image: radial-gradient(ellipse 75% 60% at 35% 55%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 35% 55%, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-about h1 { font-size: 36px; }
  .hero-about-inner { padding: 140px 24px 80px; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; }
  .location-grid { grid-template-columns: 1fr; gap: 40px; }
  .location-stats { gap: 20px; }
  .creds-scroll { gap: 40px; }
  .hero-about-bg { background-position: 65% center; }
  .hero-about-bg::after { background:
    radial-gradient(ellipse 400px 300px at 60% 40%, rgba(2,203,209,0.06) 0%, transparent 70%),
    linear-gradient(to right, var(--black) 15%, rgba(0,0,0,0.82) 45%, rgba(0,0,0,0.6) 100%),
    linear-gradient(to top, var(--black) 0%, rgba(0,0,0,0.5) 20%, transparent 35%),
    linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, transparent 20%); }
}
