/* ==========================================================================
   3PEDIA DIGITAL — ABOUT US & TEAM PAGE STYLES (about-team.css v4.0)
   ========================================================================== */

/* --- SUBPAGE CENTERED HERO --- */
.sub-hero-centered {
  min-height: auto;
  padding: 130px 0 60px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.sub-hero-centered::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  pointer-events: none;
}

.sub-hero-in {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
  margin: 0 auto 24px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

.h1-brutalist {
  font-family: 'Archivo', sans-serif;
  font-stretch: 110%;
  font-size: clamp(32px, 5.2vw, 60px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 auto 20px;
  max-width: 980px;
  text-align: center;
}

.h1-brutalist .faint-accent {
  color: var(--ink-faint);
}

.hero-sub-clean {
  max-width: 680px;
  margin: 0 auto 12px;
  font-size: clamp(14.5px, 1.4vw, 16.5px);
  line-height: 1.7;
  color: var(--ink-soft);
  font-family: 'Space Grotesk', sans-serif;
  text-align: center;
}

/* --- ORIGIN & PULL QUOTE --- */
.origin { background: var(--bg-alt); }
.origin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }

.pull-quote {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 44px 40px;
  box-shadow: var(--shadow);
}

.pull-quote::before {
  content: '"';
  position: absolute;
  top: -6px;
  left: 22px;
  font-family: 'Archivo', sans-serif;
  font-size: 100px;
  font-weight: 900;
  color: var(--line);
  line-height: 1;
}

.pull-quote p {
  font-family: 'Archivo', sans-serif;
  font-stretch: 106%;
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.pull-quote .attr {
  margin-top: 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12.5px;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}

/* --- INTERACTIVE NAME DECODE --- */
.decode { background: var(--bg); }
.decode-head { max-width: 700px; margin: 0 auto 60px; text-align: center; }
.decode-word { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-bottom: 50px; }

.dc-letter {
  font-family: 'Archivo', sans-serif;
  font-stretch: 120%;
  font-weight: 900;
  font-size: clamp(34px, 7vw, 84px);
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  color: var(--ink-faint);
  transition: color 0.3s var(--ease);
  line-height: 1;
}

.dc-letter:hover,
.dc-letter.on { color: var(--ink); }

.decode-panel {
  max-width: 640px;
  margin: 0 auto;
  min-height: 120px;
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: opacity 0.25s ease;
}

.decode-panel .dp-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
}

.decode-panel .dp-name {
  font-family: 'Archivo', sans-serif;
  font-stretch: 110%;
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.decode-panel .dp-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.decode-hint {
  text-align: center;
  margin-top: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0.05em;
}

/* --- VISION & MILESTONES --- */
.vision,
.miles { background: var(--bg-alt); }
.pl-head { max-width: 700px; margin-bottom: 60px; }
.pl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; }

.pl-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.pl-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.pl-ghost { position: absolute; top: -16px; right: -4px; font-family: 'Archivo', sans-serif; font-stretch: 120%; font-size: 100px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; user-select: none; }
.pl-name { font-family: 'Archivo', sans-serif; font-stretch: 110%; font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 12px; position: relative; z-index: 1; }
.pl-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.72; position: relative; z-index: 1; }

.miles-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mile-card { background: var(--surface); border: 1px solid var(--line); padding: 30px 24px; text-align: center; }
.mile-y { font-family: 'Archivo', sans-serif; font-stretch: 112%; font-size: 15px; font-weight: 800; color: var(--ink-faint); margin-bottom: 14px; letter-spacing: 0.06em; }
.mile-t { font-family: 'Archivo', sans-serif; font-stretch: 108%; font-size: 16px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.mile-d { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }

/* --- TEAM PAGE SPECIFIC COMPONENTS --- */
.team { background: var(--bg); }
.team-head { max-width: 700px; margin-bottom: 44px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn { font-family: 'Space Grotesk', sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; padding: 11px 20px; border: 1px solid var(--line); border-radius: 30px; color: var(--ink-soft); transition: all 0.3s var(--ease); cursor: pointer; }
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tm-card { perspective: 1400px; height: 300px; }
.tm-card.hide { display: none; }
.tm-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); transform-style: preserve-3d; }
.tm-card:hover .tm-inner { transform: rotateY(180deg); }
.tm-face { position: absolute; inset: 0; backface-visibility: hidden; border: 1px solid var(--line); background: var(--surface); padding: 26px 22px; display: flex; flex-direction: column; }
.tm-front { justify-content: flex-end; }
.tm-photo { width: 100%; aspect-ratio: 1; background: linear-gradient(135deg, var(--bg-alt), var(--line)); border-radius: 50%; max-width: 78px; margin-bottom: 18px; display: flex; align-items: center; justify-content: center; font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 22px; color: var(--ink-faint); }
.tm-name { font-family: 'Archivo', sans-serif; font-stretch: 108%; font-size: 17px; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
.tm-role { font-family: 'Space Grotesk', sans-serif; font-size: 11.5px; color: var(--ink-faint); letter-spacing: 0.03em; }
.tm-tag { position: absolute; top: 20px; right: 20px; font-family: 'Space Grotesk', sans-serif; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); border: 1px solid var(--line); padding: 4px 9px; border-radius: 20px; }
.tm-back { transform: rotateY(180deg); background: var(--ink); color: var(--bg); justify-content: center; }
.tm-back .tb-lb { font-family: 'Space Grotesk', sans-serif; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244, 244, 244, 0.5); margin-bottom: 12px; }
.tm-back .tb-txt { font-family: 'Archivo', sans-serif; font-stretch: 104%; font-size: 15px; font-weight: 600; line-height: 1.4; }
body.dark .tm-back { color: #0A0A0A; }
body.dark .tm-back .tb-lb { color: rgba(10, 10, 10, 0.5); }

.culture { background: var(--bg-alt); }
.cul-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1400px; }
.cul-card { background: var(--surface); border: 1px solid var(--line); padding: 36px 30px; position: relative; overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.cul-card::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.cul-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.cul-card:hover::after { transform: scaleX(1); }
.cul-ghost { position: absolute; top: -14px; right: -4px; font-family: 'Archivo', sans-serif; font-stretch: 120%; font-size: 90px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line); pointer-events: none; }
.cul-name { font-family: 'Archivo', sans-serif; font-stretch: 110%; font-size: 18px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; position: relative; z-index: 1; }
.cul-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.68; position: relative; z-index: 1; }

.team-ticker-wrap { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; background: var(--bg-alt); overflow: hidden; white-space: nowrap; }
.team-ticker-track { display: inline-flex; gap: 36px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); animation: tickerScroll 28s linear infinite; }

.hero-stat-row { display: flex; justify-content: center; gap: 0; margin-top: 46px; flex-wrap: wrap; }
.hero-stat { text-align: center; padding: 0 34px; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: none; }
.hero-stat b { display: block; font-family: 'Archivo', sans-serif; font-stretch: 112%; font-size: 28px; font-weight: 800; }
.hero-stat span { font-family: 'Space Grotesk', sans-serif; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .origin-grid,
  .pl-grid,
  .cul-grid { grid-template-columns: 1fr; gap: 36px; }
  .miles-grid,
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .miles-grid,
  .team-grid { grid-template-columns: 1fr; }
  .pull-quote { padding: 28px 22px; }
  .hero-stat { padding: 0 18px; border-right: none; }
}

.team-head.sec-head-center {
  max-width: 820px;
  margin: 0 auto 36px;
}

.tm-filters-center {
  justify-content: center;
}