/* ABOUT */

#about {
  padding: 8rem 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.about__grid {
  display: grid;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: 3fr 2fr;
  }
}

#about .section-headline {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3rem;
  line-height: 1.1;
}

.about__copy {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--ink-dim);
  max-width: 42rem;
  line-height: 1.7;
}

.about__copy p+p {
  margin-top: 1.5rem;
}

.about__resume {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(237, 230, 211, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 3rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.25rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about__resume:hover {
  color: #fff;
  border-color: #fff;
}

.about__portrait {
  position: relative;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
}

.about__portrait .fc-photo-wrap {
  position: relative;
  will-change: transform;
}

/* ─── FC Canvas ─────────────────────────────────────────────────────── */
#fc-canvas {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ─── Scanlines overlay ─────────────────────────────────────────────── */
.fc-scanlines {
  position: absolute;
  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: 2;
}

/* ─── Vignette ──────────────────────────────────────────────────────── */
.fc-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 60% at 50% 50%,
    transparent 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* ─── Flicker overlay — JS toggles background ──────────────────────── */
.fc-flicker {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  pointer-events: none;
  z-index: 4;
  transition: background 0.05s linear;
}

/* ─── Identity label ────────────────────────────────────────────────── */
.fc-identity-label {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(237, 230, 211, 0.6);
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
}

/* ─── Rule easter egg ───────────────────────────────────────────────── */
.fc-rule {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--fire);
  text-transform: uppercase;
  text-align: center;
  max-width: 80%;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ─── Film burn corner ──────────────────────────────────────────────── */
.fc-burn {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 30%;
  background: radial-gradient(
    ellipse at 100% 0%,
    rgba(255, 80, 20, 0.08) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 3;
}

.about__corner {
  position: absolute;
  width: 2rem;
  height: 2rem;
  border-color: var(--border-active);
  z-index: 20;
  margin: 1rem;
  pointer-events: none;
}

.about__corner--tl {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
  mix-blend-mode: difference;
}

.about__corner--br {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid;
  border-right: 2px solid;
  mix-blend-mode: difference;
}