@charset "utf-8";
/* ─── ABOUT PAGE ─────────────────────────────────────────────────
   Depends on dragonlings.css for all design tokens and shared
   layout classes. This file adds only what is unique to the
   About page: body scope, team profile grid, role credits,
   and social link buttons.
──────────────────────────────────────────────────────────────── */

/* ─── BODY SCOPE ─────────────────────────────────────────────────── */
body.about-page {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.about-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.06) 2px,
    rgba(0,0,0,0.06) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ─── TEAM GRID ──────────────────────────────────────────────────── */
.abt-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (max-width: 900px) {
  .abt-team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .abt-team-grid { grid-template-columns: 1fr; }
}

/* ─── PROFILE CARD ───────────────────────────────────────────────── */
.abt-profile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: cardReveal 0.55s both;
  transition:
    border-color var(--transition),
    box-shadow var(--transition),
    transform var(--transition);
}

.abt-profile:nth-child(1) { animation-delay: 0.3s; }
.abt-profile:nth-child(2) { animation-delay: 0.42s; }
.abt-profile:nth-child(3) { animation-delay: 0.54s; }
.abt-profile:nth-child(4) { animation-delay: 0.66s; }

.abt-profile:hover {
  border-color: var(--border-h);
  box-shadow:
    0 0 0 1px var(--border-h),
    0 8px 32px rgba(0,0,0,0.6),
    0 0 40px var(--green-glow);
  transform: translateY(-3px);
}

/* Portrait image */
.abt-profile__img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-surface);
  flex-shrink: 0;
}

.abt-profile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: brightness(0.88) saturate(0.85);
  transition: filter var(--transition), transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.abt-profile:hover .abt-profile__img img {
  filter: brightness(1) saturate(1.05);
  transform: scale(1.03);
}

/* Gradient fade at base of portrait */
.abt-profile__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10,13,10,0.75) 100%);
  pointer-events: none;
}

/* Card label area */
.abt-profile__body {
  padding: 0.9rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.abt-profile__name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--green);
  text-shadow: 0 0 10px rgba(34,255,110,0.3);
  line-height: 1.2;
  transition: text-shadow var(--transition);
}

.abt-profile:hover .abt-profile__name {
  text-shadow: 0 0 20px rgba(34,255,110,0.65);
}

.abt-profile__roles {
  font-size: 0.7rem;
  line-height: 1.55;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ─── WHO WE ARE — prose + credits block ────────────────────────── */
.abt-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
  opacity: 0;
  animation: cardReveal 0.6s 0.5s both;
}

@media (max-width: 820px) {
  .abt-about { grid-template-columns: 1fr; }
}

.abt-about__img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.abt-about__img img {
  width: 100%;
  display: block;
  filter: brightness(0.88) saturate(0.9);
}

.abt-about__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,13,10,0.65) 100%);
  pointer-events: none;
}

/* Credit entries — each dev's role line */
.abt-credits {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.abt-credit {
  border-left: 2px solid var(--green-muted);
  padding-left: 0.9rem;
}

.abt-credit__name {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-dim);
  margin-bottom: 0.2rem;
}

.abt-credit__roles {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* ─── SOCIAL LINKS ───────────────────────────────────────────────── */
.abt-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.abt-social__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.abt-social__link:hover {
  border-color: var(--border-h);
  color: var(--green);
  background: var(--green-glow);
  box-shadow: 0 0 18px rgba(34,255,110,0.2);
  transform: translateY(-2px);
  text-decoration: none;
}
