/* ============================================================
   Penny Revise Media — about.css
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   ABOUT HERO
══════════════════════════════════════════════════════════ */
.about-hero {
  position: relative;
  padding: 160px 0 90px;
  overflow: hidden;
  text-align: center;
  z-index: 2;
}
.about-hero-scan {
  position: absolute;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
  animation: scanDown 7s linear infinite;
  z-index: 1;
}
.about-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.about-hero-orb.orb-a {
  width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(0,102,255,0.13) 0%, transparent 70%);
  top: -120px; left: 50%;
  transform: translateX(-50%);
  animation: floatOrb 10s ease-in-out infinite;
}
.about-hero-orb.orb-b {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,60,172,0.08) 0%, transparent 70%);
  bottom: 0; right: 8%;
  animation: floatOrb 14s ease-in-out infinite reverse;
}
.about-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 2rem;
}
.about-hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.about-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 1.25rem;
}
.about-hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════
   MANIFESTO
══════════════════════════════════════════════════════════ */
.manifesto-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Terminal */
.manifesto-terminal {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,240,255,0.07);
}
.term-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.term-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-left: 0.5rem;
}
.term-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 260px;
}
.term-line {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
}
.term-prompt {
  color: var(--accent);
  flex-shrink: 0;
  font-weight: 700;
}
.term-cmd {
  color: var(--text);
  letter-spacing: 0.05em;
}
.term-output { padding-left: 1rem; }
.term-out {
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.term-success .term-out { color: var(--accent); }
.term-cursor {
  color: var(--accent);
  font-size: 0.9rem;
  animation: blink 1s step-end infinite;
  margin-top: 0.25rem;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Manifesto right */
.manifesto-text {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}
.manifesto-text strong { color: var(--text); font-weight: 600; }

.manifesto-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.mstat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.mstat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  display: inline;
}
.mstat-unit {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
}
.mstat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ══════════════════════════════════════════════════════════
   VALUES
══════════════════════════════════════════════════════════ */
.values-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  border: 1.5px solid var(--border);
}
.value-card {
  background: var(--surface);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.value-card:hover { background: var(--surface-2); }
.value-card:hover .vc-icon { transform: scale(1.15); }

.vc-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
  transition: transform 0.3s var(--ease);
}
.vc-num {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  opacity: 0.7;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}
.value-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ══════════════════════════════════════════════════════════
   TEAM
══════════════════════════════════════════════════════════ */
.team-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.team-card:hover {
  border-color: var(--border-2);
  box-shadow: 0 0 30px rgba(0,240,255,0.08);
  transform: translateY(-4px);
}
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.4s;
}
.team-card:hover .team-photo img { filter: grayscale(0%); }

.team-photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.team-initials {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--border-2);
  letter-spacing: 0.05em;
}

/* Cyan top bar on hover */
.team-photo::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
  transform-origin: left;
}
.team-card:hover .team-photo::after { transform: scaleX(1); }

.team-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.team-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
}
.team-role {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-transform: uppercase;
}
.team-bio {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 0.35rem;
}
.team-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border: 1px solid var(--border-2);
  border-radius: 3px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  transition: color 0.3s, border-color 0.3s;
  align-self: flex-start;
}
.team-social:hover { color: var(--accent); border-color: var(--accent); }

/* ══════════════════════════════════════════════════════════
   TECH STACK
══════════════════════════════════════════════════════════ */
.stack-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.stack-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s, background 0.3s;
  cursor: default;
}
.stack-card:hover {
  background: var(--surface-2);
  border-color: var(--border-2);
  box-shadow: 0 0 24px rgba(0,240,255,0.08);
  transform: translateY(-4px);
}
.sc-icon {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 0.6rem;
}
.sc-name {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.sc-cat {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════
   TIMELINE
══════════════════════════════════════════════════════════ */
.timeline-section {
  padding: 8rem 0;
  position: relative;
  z-index: 2;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.timeline {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

/* Center spine */
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent) 10%,
    var(--accent) 90%,
    transparent
  );
  transform: translateX(-50%);
  opacity: 0.3;
}

.tl-item {
  display: flex;
  width: 50%;
  position: relative;
  padding-bottom: 3.5rem;
}
.tl-left  { justify-content: flex-end; padding-right: 3rem; }
.tl-right { justify-content: flex-start; padding-left: 3rem; margin-left: 50%; }

.tl-dot {
  position: absolute;
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--accent);
  top: 1rem;
  z-index: 1;
}
.tl-left  .tl-dot { right: -6px; }
.tl-right .tl-dot { left: -6px; }

.tl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
  max-width: 340px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.tl-card:hover {
  border-color: var(--border-2);
  box-shadow: 0 0 24px rgba(0,240,255,0.07);
}
.tl-year {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}
.tl-card h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.tl-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .stack-grid { grid-template-columns: repeat(4, 1fr); }
  .team-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .manifesto-inner { grid-template-columns: 1fr; gap: 3rem; }
  .values-grid     { grid-template-columns: repeat(2, 1fr); }
  .stack-grid      { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .about-hero { padding: 120px 0 60px; }
  .about-hero-title { font-size: 2.2rem; }
  .manifesto-section,
  .values-section,
  .team-section,
  .stack-section,
  .timeline-section { padding: 5rem 0; }
  .values-grid { grid-template-columns: 1fr; }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
  .stack-grid  { grid-template-columns: repeat(2, 1fr); }
  .manifesto-stats { grid-template-columns: repeat(2, 1fr); }

  /* Timeline — single column on mobile */
  .timeline::before { left: 16px; }
  .tl-item  { width: 100%; padding-left: 3rem; padding-right: 0; margin-left: 0; justify-content: flex-start; }
  .tl-left  { padding-right: 0; }
  .tl-left  .tl-dot { right: auto; left: 10px; }
  .tl-right .tl-dot { left: 10px; }
  .tl-card  { max-width: 100%; }
}

@media (max-width: 480px) {
  .team-grid  { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}
