/* ============================================
   SNAPFIRE — Who We Are page styles
   Matches index.html / demos.css design tokens exactly.
   ============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --color-bg: #0a0a0f;
  --color-bg-alt: #111118;
  --color-bg-card: #16161f;
  --color-bg-card-hover: #1c1c28;
  --color-surface: #1e1e2a;
  --color-border: #2a2a3a;
  --color-border-light: #3a3a4a;
  --color-text: #e8e8ef;
  --color-text-muted: #8888a0;
  --color-text-dim: #5a5a70;
  --color-accent: #ff6b35;
  --color-accent-light: #ff8c5a;
  --color-accent-glow: rgba(255, 107, 53, 0.15);
  --color-accent-dark: #e05a2a;
  --color-secondary: #6c63ff;
  --color-secondary-glow: rgba(108, 99, 255, 0.1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --section-pad: 80px;
  --container-max: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

.section__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ── Navigation (shared) ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; padding: 16px 0;
  transition: var(--transition); background: transparent;
}
.nav--scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  padding: 12px 0;
}
.nav__container {
  max-width: var(--container-max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--color-text); font-weight: 700; font-size: 1.25rem;
}
.nav__logo-icon { color: var(--color-accent); display: flex; align-items: center; }
.nav__logo-icon img { width: 32px; height: 32px; }
.nav__logo-text { letter-spacing: -0.02em; }
.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: 0.9rem; font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition); position: relative;
}
.nav__link:hover { color: var(--color-text); }
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--color-accent);
  transition: width var(--transition);
}
.nav__link:hover::after { width: 100%; }
.nav__link--cta {
  background: var(--color-accent); color: #fff !important;
  padding: 8px 20px; border-radius: 100px; font-weight: 600;
  transition: background var(--transition), transform var(--transition);
}
.nav__link--cta:hover { background: var(--color-accent-dark); transform: translateY(-1px); }
.nav__link--cta::after { display: none; }
.nav__link--active { color: var(--color-accent) !important; }
.nav__link--active::after { width: 100%; }
.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--color-text); transition: var(--transition); border-radius: 2px;
}

/* ── Hero ── */
.about-hero {
  position: relative; padding: 160px 0 80px;
  overflow: hidden; border-bottom: 1px solid var(--color-border);
}
.about-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.about-hero__glow { position: absolute; border-radius: 50%; filter: blur(120px); }
.about-hero__glow--1 { width: 500px; height: 500px; background: var(--color-accent); top: -200px; right: -80px; opacity: 0.1; }
.about-hero__glow--2 { width: 400px; height: 400px; background: var(--color-secondary); bottom: -150px; left: -80px; opacity: 0.07; }
.about-hero__content { position: relative; z-index: 1; }
.about-hero__badge {
  display: inline-block; font-family: var(--font-mono);
  font-size: 0.8rem; font-weight: 500; color: var(--color-accent);
  background: var(--color-accent-glow); border: 1px solid rgba(255,107,53,0.2);
  padding: 8px 20px; border-radius: 100px; margin-bottom: 24px; letter-spacing: 0.05em;
}
.about-hero__title {
  font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 800;
  line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px;
}
.about-hero__title--accent {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.about-hero__subtitle { font-size: 1.1rem; color: var(--color-text-muted); max-width: 620px; line-height: 1.7; }

/* ── Team ── */
.team { padding: var(--section-pad) 0; }
.team__photo-wrapper { margin-top: 40px; max-width: 720px; }
.team__photo {
  width: 100%; height: auto; border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}
.team__names { display: flex; gap: 48px; margin-top: 24px; }
.team__name-item h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 4px; }
.team__name-item p { font-size: 0.9rem; color: var(--color-text-muted); }

/* ── CTA banner ── */
.about-cta {
  padding: var(--section-pad) 0;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  text-align: center;
}
.about-cta__title { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 16px; }
.about-cta__subtitle { font-size: 1.05rem; color: var(--color-text-muted); max-width: 500px; margin: 0 auto 32px; }
.about-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons (shared) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  border-radius: 100px; border: none; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.btn--primary { background: var(--color-accent); color: #fff; box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3); }
.btn--primary:hover { background: var(--color-accent-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255, 107, 53, 0.4); }
.btn--secondary { background: transparent; color: var(--color-text); border: 1px solid var(--color-border-light); }
.btn--secondary:hover { border-color: var(--color-accent); color: var(--color-accent-light); transform: translateY(-2px); }

/* ── Footer (shared) ── */
.footer { padding: 64px 0 32px; border-top: 1px solid var(--color-border); background: var(--color-bg-alt); }
.footer__top { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--color-border); }
.footer__tagline { font-size: 0.9rem; color: var(--color-text-muted); margin-top: 12px; max-width: 280px; }
.footer__links { display: flex; gap: 64px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h5 { font-size: 0.85rem; font-weight: 600; color: var(--color-text); margin-bottom: 4px; }
.footer__col a { font-size: 0.85rem; color: var(--color-text-muted); transition: color var(--transition); }
.footer__col a:hover { color: var(--color-accent); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 0.8rem; color: var(--color-text-dim); }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--color-bg-alt); border-left: 1px solid var(--color-border);
    flex-direction: column; padding: 80px 32px 32px; gap: 24px;
    transition: right var(--transition);
  }
  .nav__menu--open { right: 0; }
  .nav__toggle--active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle--active span:nth-child(2) { opacity: 0; }
  .nav__toggle--active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .team__names { gap: 32px; }
  .footer__top { flex-direction: column; }
  .footer__links { flex-wrap: wrap; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
