﻿/* SkullSoul Interactive — About Redesign: Shared CSS
   Inherits all tokens from ../global.css
   ================================================== */

/* ── SHARED ENHANCED ABOUT STYLES ── */
/* =========================================================
   ABOUT HERO VIDEO
========================================================= */

.ab-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background: #050505;
}

/* Video Wrapper */
.ab-hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -5;
}

/* Video */
.ab-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.05);

  filter:
    brightness(.45)
    contrast(1.1)
    saturate(.9);

  animation: heroVideoFloat 14s ease-in-out infinite alternate;
}

/* Fallback */
.ab-hero-video-fallback {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at center,
      rgba(80,0,0,.35),
      rgba(0,0,0,.96)
    );
}

/* Main Dark Overlay */
.ab-hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.55),
      rgba(0,0,0,.72)
    );

  z-index: -4;
}

/* Atmospheric Gradient */
.ab-hero-gradient {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(120,0,0,.12),
      transparent 55%
    );

  z-index: -3;
}

/* Noise */
.ab-hero-noise {
  position: absolute;
  inset: 0;

  background-image:
    url("assets/noise/noise.png");

  opacity: .05;
  mix-blend-mode: soft-light;

  z-index: -2;
  pointer-events: none;
}

/* Optional Canvas */
.about-hero-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Content */
.ab-hero-content {
  position: relative;
  z-index: 10;

  width: min(1100px, 92%);
  margin-inline: auto;

  padding-top: 120px;
  padding-bottom: 120px;
}

/* Eyebrow */
.ab-hero-eyebrow {
  font-size: .78rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);

  margin-bottom: 24px;
  font-family: var(--font-mono);
}

/* Heading */
.ab-hero-h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: .9;
  letter-spacing: -.05em;

  margin-bottom: 32px;
  max-width: 900px;
}

.ab-hero-h1 span {
  color: #c1121f;
  text-shadow:
    0 0 24px rgba(193,18,31,.35);
}

/* Subtitle */
.ab-hero-sub {
  max-width: 700px;

  font-size: 1.1rem;
  line-height: 1.8;

  color: rgba(255,255,255,.74);

  margin-bottom: 42px;
}

/* Buttons */
.ab-hero-ctas {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Scroll Hint */
.ab-scroll-hint {
  position: absolute;

  left: 50%;
  bottom: 42px;

  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;

  z-index: 20;
}

.ab-scroll-hint span {
  font-size: .72rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.ab-scroll-line {
  width: 1px;
  height: 72px;

  background:
    linear-gradient(
      to bottom,
      rgba(255,255,255,.8),
      transparent
    );

  animation: scrollPulse 2s ease-in-out infinite;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes heroVideoFloat {
  from {
    transform: scale(1.05) translateY(0px);
  }

  to {
    transform: scale(1.09) translateY(-10px);
  }
}

@keyframes scrollPulse {
  0% {
    opacity: .35;
    transform: scaleY(.7);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }

  100% {
    opacity: .35;
    transform: scaleY(.7);
  }
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

  .ab-hero {
    min-height: 100svh;
  }

  .ab-hero-content {
    padding-top: 140px;
    padding-bottom: 100px;
  }

  .ab-hero-h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .ab-hero-sub {
    font-size: 1rem;
    line-height: 1.7;
  }

  .ab-scroll-line {
    height: 48px;
  }

}
/* Canvas particle background */
.about-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── HERO (Enhanced) ── */
.ab-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.ab-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 80%, rgba(179,0,0,0.12) 0%, transparent 70%),
              linear-gradient(180deg,#050203 0%,#080808 50%,#050203 100%);
  z-index: 0;
}
.ab-hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}
.ab-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.ab-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}
.ab-hero-eyebrow::before,
.ab-hero-eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--red);
}
.ab-hero-h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}
.ab-hero-h1 span { color: var(--red); }
.ab-hero-sub {
  font-size: 1.05rem;
  color: var(--grey-mid);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease-out) 0.7s forwards;
}
.ab-hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.9s forwards;
}
.ab-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dark);
  animation: fadeIn 1s ease 1.5s forwards;
  opacity: 0;
}
.ab-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollPulse 2s ease-in-out 1.5s infinite;
}

/* ── ORIGIN SECTION ── */
.ab-origin {
  padding: 140px 0;
  position: relative;
}
.ab-origin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.ab-pull-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  position: sticky;
  top: 120px;
}
.ab-pull-quote em {
  color: var(--red);
  font-style: italic;
}
.ab-origin-body p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--grey);
  margin-bottom: 24px;
}

/* ── STATS WALL ── */
.ab-stats {
  background: var(--near-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}
.ab-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.ab-stat-cell {
  background: var(--near-black);
  padding: 48px 40px;
  text-align: center;
  transition: background 0.3s ease;
}
.ab-stat-cell:hover { background: var(--surface); }
.ab-stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
}
.ab-stat-num .ab-stat-suffix {
  font-size: 0.5em;
  color: var(--red);
}
.ab-stat-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey-dark);
}

/* ── MANIFESTO (Upgraded) ── */
.ab-manifesto {
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.ab-manifesto-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179,0,0,0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}
.ab-manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1.55;
  color: var(--white);
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.ab-manifesto-quote em { color: var(--red); font-style: italic; }
.ab-manifesto-attr {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dark);
  text-align: center;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}

/* ── MISSION & VISION ── */
.ab-mission {
  padding: 120px 0;
}
.ab-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 60px;
  background: var(--border);
}
.ab-mission-card {
  background: var(--surface);
  padding: 60px 48px;
  border-left: 3px solid transparent;
  transition: border-color 0.4s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.ab-mission-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top left, rgba(179,0,0,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.ab-mission-card:hover { border-left-color: var(--red); }
.ab-mission-card:hover::before { opacity: 1; }
.ab-mission-icon {
  font-size: 2rem;
  margin-bottom: 24px;
  display: block;
}
.ab-mission-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.ab-mission-title {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 20px;
}
.ab-mission-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey-mid);
}

/* ── VALUES (Upgraded) ── */
.ab-values { padding: 120px 0; background: var(--near-black); border-top: 1px solid var(--border); }
.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 60px;
}
.ab-value-card {
  background: var(--near-black);
  padding: 48px 32px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.4s ease;
}
.ab-value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.ab-value-card:hover { background: var(--surface); }
.ab-value-card:hover::after { transform: scaleX(1); }
.ab-value-num {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.25em;
  color: var(--red);
  margin-bottom: 20px;
}
.ab-value-title { font-size: 1rem; margin-bottom: 14px; }
.ab-value-text { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.8; }

/* ── TIMELINE ── */
.ab-timeline { padding: 120px 0; }
.ab-timeline-track {
  position: relative;
  max-width: 800px;
  margin: 80px auto 0;
}
.ab-timeline-line {
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
  z-index: 0;
}
.ab-timeline-line-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  background: var(--red);
  height: 0%;
  transition: height 0.1s linear;
}
.ab-timeline-item {
  display: flex;
  gap: 48px;
  padding-left: 56px;
  margin-bottom: 64px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.ab-timeline-item.visible { opacity: 1; transform: translateX(0); }
.ab-timeline-dot {
  position: absolute;
  left: 12px;
  top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid var(--red);
  background: var(--black);
  z-index: 1;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.ab-timeline-item.visible .ab-timeline-dot {
  background: var(--red);
  box-shadow: 0 0 16px rgba(179,0,0,0.5);
}
.ab-timeline-year {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ab-timeline-event-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 10px;
}
.ab-timeline-event-text { font-size: 0.95rem; color: var(--grey-mid); line-height: 1.8; }

/* ── TEAM (Tabbed + Carousel) ── */
.ab-team { padding: 120px 0 80px; background: var(--near-black); border-top: 1px solid var(--border); }
.ab-team-tabs {
  display: flex;
  gap: 0;
  margin-top: 48px;
  margin-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid var(--border);
}
.ab-team-tabs::-webkit-scrollbar { display: none; }
.ab-tab-btn {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-dark);
  padding: 14px 24px;
  border: none;
  border-bottom: 2px solid transparent;
  background: none;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
  white-space: nowrap;
}
.ab-tab-btn:hover { color: var(--white); }
.ab-tab-btn.active { color: var(--red); border-bottom-color: var(--red); }

.ab-team-panel { display: none; }
.ab-team-panel.active { display: block; }

.ab-team-carousel { position: relative; width: 100%; overflow: hidden; margin-top: 0; }
.ab-team-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 40px 60px;
  scroll-behavior: smooth;
}
.ab-team-track::-webkit-scrollbar { display: none; }
.ab-team-card {
  flex: 0 0 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.ab-team-card:hover { border-color: var(--border-red); transform: translateY(-6px); }
.ab-team-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.ab-team-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.8) brightness(0.9);
  transition: filter 0.4s ease, transform 0.5s ease;
}
.ab-team-card:hover .ab-team-card-img img { filter: saturate(1) brightness(1); transform: scale(1.04); }
.ab-team-card-body { padding: 16px 18px 20px; }
.ab-team-card-name { font-family: var(--font-display); font-size: 0.8rem; color: var(--white); margin-bottom: 6px; }
.ab-team-card-role { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.18em; color: var(--red); text-transform: uppercase; line-height: 1.5; }
.ab-carousel-nav {
  position: absolute;
  top: calc(40px + 146px);
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(8,8,8,0.85);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  cursor: pointer;
  z-index: 10;
  transition: background 0.25s, border-color 0.25s;
}
.ab-carousel-nav:hover { background: var(--surface); border-color: var(--border-red); }
.ab-carousel-prev { left: 12px; }
.ab-carousel-next { right: 12px; }

/* ── CULTURE ── */
.ab-culture { padding: 120px 0; }
.ab-culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 60px;
}
.ab-culture-cell {
  background: var(--black);
  padding: 60px 40px;
  border-bottom: 2px solid transparent;
  transition: background 0.3s, border-color 0.4s;
}
.ab-culture-cell:hover { background: var(--surface); border-bottom-color: var(--red); }
.ab-culture-icon { font-size: 2.4rem; margin-bottom: 24px; display: block; }
.ab-culture-title { font-size: 1rem; margin-bottom: 14px; }
.ab-culture-text { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.8; }

/* ── CTA SECTION ── */
.ab-cta {
  padding: 160px 0;
  background: var(--near-black);
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ab-cta::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(179,0,0,0.07) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glowPulse 5s ease-in-out infinite;
}
.ab-cta-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.25em; color: var(--red); text-transform: uppercase; margin-bottom: 24px; display: block; }
.ab-cta h2 { font-size: clamp(2rem, 5vw, 4rem); max-width: 700px; margin: 0 auto 24px; }
.ab-cta-sub { font-size: 1.05rem; color: var(--grey-mid); max-width: 520px; margin: 0 auto 48px; line-height: 1.8; }
.ab-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.3); }
}
@keyframes glitch {
  0%, 95%, 100% { transform: none; opacity: 1; }
  96% { transform: translateX(-3px); opacity: 0.8; }
  97% { transform: translateX(3px) skewX(2deg); opacity: 0.9; }
  98% { transform: translateX(-1px); opacity: 1; }
}
@keyframes particleDrift {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-100vh) translateX(var(--dx,20px)); opacity: 0; }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .ab-origin-grid { grid-template-columns: 1fr; gap: 60px; }
  .ab-pull-quote { position: static; font-size: clamp(1.6rem,4vw,2.4rem); }
  .ab-stats-grid { grid-template-columns: repeat(2,1fr); }
  .ab-values-grid { grid-template-columns: repeat(2,1fr); }
  .ab-mission-grid { grid-template-columns: 1fr; }
  .ab-culture-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .ab-hero-h1 { font-size: clamp(2.5rem,10vw,4.5rem); }
  .ab-stats-grid { grid-template-columns: 1fr 1fr; }
  .ab-values-grid { grid-template-columns: 1fr; }
  .ab-culture-grid { grid-template-columns: 1fr; }
  .ab-timeline-item { padding-left: 40px; }
  .ab-team-tabs { gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .ab-hero-eyebrow, .ab-hero-h1, .ab-hero-sub, .ab-hero-ctas, .ab-scroll-hint {
    opacity: 1;
    transform: none;
  }
}
