/* ============================================================================
   ABOUT — the studio as a player profile. This is the trust moment, so it gets
   the most air on the page: photography left, equipment sheet right, then the
   record, the crew and the paperwork. Brackets appear ONCE, on the profile.
   ========================================================================= */

.about {
  position: relative;
}

/* ---------------------------------------------------------------- feature */
.about__feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 430px);
  align-items: start;
  gap: clamp(24px, 3.4vw, 56px);
}

.about__shots {
  display: grid;
  gap: clamp(16px, 1.6vw, 24px);
}

/* photos wear the same bevel as the panels — same hand, same day */
.about__shot {
  --cut: 18px;
  clip-path: var(--clip-bevel);
  aspect-ratio: 16 / 11;
}
.about__shot--sm {
  clip-path: var(--clip-bevel-alt);
  aspect-ratio: 21 / 7;
}

/* floating HUD readout — sits in the scrim the .media gradient already lays down */
.about__readout {
  --cut: 8px;
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 2;
  display: grid;
  gap: var(--sp-2);
  min-width: 168px;
  padding: var(--sp-3) var(--sp-4);
  clip-path: var(--clip-bevel);
  background: var(--glass-2);
  box-shadow: inset 0 0 0 1px var(--line-hot);
}
.about__readout-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-5);
}
.about__readout b {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.about__tag {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  z-index: 2;
  padding: 6px 10px;
  background: var(--glass-2);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text-soft);
}

/* ---------------------------------------------------------------- profile */
.about__profile {
  --cut: 18px;
}
.about__profile-body {
  display: grid;
  gap: var(--sp-5);
  padding: var(--sp-6) var(--sp-5);
}
.about__profile-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
}
.about__name {
  margin-top: var(--sp-1);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

/* the level plaque — the one place a number gets to shout */
.about__lvl {
  --cut: 6px;
  display: grid;
  place-items: center;
  gap: 1px;
  min-width: 58px;
  padding: var(--sp-2) var(--sp-3);
  clip-path: var(--clip-bevel);
  background: color-mix(in oklab, var(--go) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--go) 45%, transparent),
    0 0 22px -8px var(--go);
  flex: none;
}
.about__lvl-k {
  font-family: var(--f-hud);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-hud);
  color: color-mix(in oklab, var(--go) 70%, var(--text-dim));
}
.about__lvl-n {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 800;
  line-height: 1;
  color: var(--go);
  font-variant-numeric: tabular-nums;
}

.about__rank {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}
.about__rank-txt {
  font-family: var(--f-hud);
  font-size: var(--fs-hud);
  font-weight: 700;
  letter-spacing: var(--track-hud);
  color: var(--go);
}

.about__attrs {
  display: grid;
  gap: var(--sp-4);
}

/* the radar caps overshoot the -60..60 viewBox by a few units on purpose;
   this padding is what keeps them off the panel's clip edge */
.about__radar-wrap {
  display: grid;
  place-items: center;
  padding: var(--sp-5) var(--sp-4) var(--sp-1);
  border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------------- story */
.about__story {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  margin-top: clamp(56px, 7vw, 112px);
}
.about__portrait {
  --cut: 16px;
  clip-path: var(--clip-bevel-alt);
  aspect-ratio: 3 / 4;
}
.about__prose {
  display: grid;
  gap: var(--sp-5);
  max-width: 62ch;
}
.about__prose p {
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: var(--text-soft);
}

/* ---------------------------------------------------------------- counters */
.about__counters {
  --cut: 18px;
  margin-top: clamp(56px, 7vw, 112px);
}
.about__film {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.about__film img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  mix-blend-mode: screen;
  mask-image: linear-gradient(100deg, #000, transparent 58%);
  -webkit-mask-image: linear-gradient(100deg, #000, transparent 58%);
}
.about__counters-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: var(--sp-7);
}
.about__counter {
  display: grid;
  gap: var(--sp-3);
  justify-items: center;
  text-align: center;
  padding-inline: var(--sp-4);
}
.about__counter + .about__counter {
  border-left: 1px solid var(--line);
}
.about__counter .counter {
  line-height: 1;
}

/* ---------------------------------------------------------------- crew */
.about__crew,
.about__certs {
  margin-top: clamp(56px, 7vw, 112px);
}

.about__band {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.about__band .divider {
  flex: 1;
  min-width: 0;
}

.about__crew-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-5);
}
.about__member-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "mono id"
    "foot foot";
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
}

/* monogram, not a stock portrait — a roster reads more honest than a headshot */
.about__mono {
  --cut: 8px;
  grid-area: mono;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  clip-path: var(--clip-bevel);
  background: linear-gradient(
    150deg,
    color-mix(in oklab, var(--cy) 16%, transparent),
    color-mix(in oklab, var(--vi) 14%, transparent)
  );
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text);
}

.about__member-id {
  grid-area: id;
  display: grid;
  gap: 3px;
  min-width: 0;
}
.about__member-name {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.about__member-role {
  font-family: var(--f-hud);
  font-size: var(--fs-hud);
  font-weight: 600;
  letter-spacing: var(--track-hud);
  color: var(--cy);
}
.about__member-spec {
  font-size: var(--fs-sm);
  color: var(--text-dim);
}

.about__member-foot {
  grid-area: foot;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

/* ---------------------------------------------------------------- badges */
.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  list-style: none;
}

/* ============================================================== responsive */
@media (max-width: 1080px) {
  .about__feature {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .about__profile {
    max-width: 520px;
  }
  .about__shot {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 900px) {
  .about__story {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .about__portrait {
    max-width: 380px;
    aspect-ratio: 4 / 3;
  }
  .about__crew-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

@media (max-width: 780px) {
  .about__counters-body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-6) 0;
    padding-block: var(--sp-6);
  }
  /* 2x2: only the right-hand column keeps a rule, or the grid reads as a table */
  .about__counter + .about__counter {
    border-left: 0;
  }
  .about__counter:nth-child(even) {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .about__shot {
    aspect-ratio: 4 / 3;
  }
  .about__shot--sm {
    aspect-ratio: 16 / 7;
  }
  .about__readout {
    left: var(--sp-4);
    bottom: var(--sp-4);
    min-width: 0;
  }
  .about__readout-row {
    gap: var(--sp-4);
  }
  .about__profile-body {
    padding: var(--sp-5) var(--sp-4);
  }
  .about__member-body {
    padding: var(--sp-4);
  }
  .about__counter {
    padding-inline: var(--sp-2);
  }
}

/* Reduced motion: nothing here animates on its own — the bar fill, the radar
   plot and the reveals all land on their end state via the shared rules. */
