/* ═══════════════════════════════════════════════════════
   aboutme.css  —  About Me page
   ═══════════════════════════════════════════════════════ */

:root {
  --pink:         #F1C2C2;
  --orange:       #E8541A;
  --orange-light: #FF6B2B;
  --dark:         #1a1a1a;
  --white:        #ffffff;

  --cursor-color:       var(--pink);
  --cursor-trail-color: var(--pink);
  --page-transition-bg: #1a1a1a;

  --arrive-y:      40px;
  --arrive-scale:  0.96;
  --arrive-rotate: -1deg;

  --nav-bg: linear-gradient(to bottom, rgba(232,84,26,0.95) 0%, rgba(232,84,26,0.6) 50%, transparent 100%);
  --nav-bg-scrolled: rgba(26,26,26,0.96);
  --nav-cta-scrolled-color: var(--orange);
  --nav-cta-scrolled-hover-bg: var(--orange);
  --nav-cta-scrolled-hover-color: var(--white);
  --nav-mobile-bg: rgba(26,26,26,0.97);

  --footer-bg:     var(--dark);
  --footer-accent: var(--orange);
}

body { background: var(--dark); }

/* Nav links sit outside <nav> — same as index.html */
.nav-links {
  position: fixed;
  top: 1.5rem;
  right: 3rem;
  z-index: 9001;
  background: none;
}
@media (max-width: 768px) {
  .nav-links {
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(26,26,26,0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 8999;
  }
}

/* ── HERO ── */
#about-hero {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}
#about-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.45;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 65% at 50% 48%, rgba(232,84,26,0.28) 0%, rgba(180,60,10,0.1) 45%, transparent 70%);
  z-index: 1;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(17,17,17,0.25) 0%, transparent 40%, rgba(17,17,17,0.45) 100%);
  z-index: 1;
}
.about-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 5vw;
}
.about-hero-title {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-size: clamp(4rem, 18vw, 10rem);
  color: var(--white);
  line-height: 0.85;
  letter-spacing: -0.03em;
  margin-bottom: 4rem;
}
.about-row { display: block; will-change: transform, opacity; }
.about-hero-sub {
  font-family: 'Cousine', monospace;
  font-size: clamp(0.62rem, 1.1vw, 0.82rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  will-change: transform, opacity;
}

/* ── CONTENT WRAPPER (orange) ── */
.about-content-wrapper {
  background-color: var(--orange);
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 140px 140px;
  position: relative;
  z-index: 5;
  margin-top: -100px;
  clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
  filter: drop-shadow(0 -14px 28px rgba(0,0,0,0.5));
}

/* ── WHO AM I ── */
.about-who {
  padding: 9rem 5vw 4rem;
}
.about-who-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 960px;
  margin: 0 auto;
}
.about-who-text {
  flex: 1;
}
.about-who-img {
  width: clamp(160px, 22vw, 300px);
  object-fit: contain;
  flex-shrink: 0;
}
.about-eyebrow {
  font-family: 'Cousine', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}
.about-section-title {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: var(--white);
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-bottom: 2.5rem;
}
.about-section-title em {
  font-style: italic;
  color: rgba(255,255,255,0.65);
}
.about-intro-body {
  font-family: 'Cousine', monospace;
  font-size: 0.82rem;
  line-height: 2;
  color: rgba(255,255,255,0.85);
  max-width: 640px;
}

.about-who-text{
  flex: 1;
}
.about-who-img{
  width: clamp(180px, 26vw, 320px);
  object-fit: contain;
}

/* ── DETAILS (two-col) ── */
.about-details {
  padding: 3rem 5vw 8rem;
}
.about-details-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.about-col-label {
  font-family: 'Cousine', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.2rem;
}
.about-col-body {
  font-family: 'Cousine', monospace;
  font-size: 0.8rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.8);
}



/* ── SCROLLY SECTION ── */
.scrolly-section {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 5vw 8rem;
  overflow: visible;
}

#scrollySvg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}

.scrolly-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 260px;
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

.scrolly-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(6px);
  will-change: opacity, transform;
  z-index: 1;
}

.scrolly-block--right .scrolly-card {
  grid-column: 2;
  padding-left: 3rem;
}

.scrolly-block--left .scrolly-card {
  grid-column: 1;
  padding-right: 3rem;
  text-align: right;
}

.scrolly-label {
  display: block;
  font-family: 'Cousine', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.scrolly-heading {
  font-family: 'Fraunces', serif;
  font-optical-sizing: auto;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.scrolly-body {
  font-family: 'Cousine', monospace;
  font-size: 0.75rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.75);
}

.scrolly-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.scrolly-block--left .scrolly-tags { justify-content: flex-end; }

.scrolly-tag {
  font-family: 'Cousine', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
}

@media (max-width: 768px) {
  .scrolly-block,
  .scrolly-block--right,
  .scrolly-block--left {
    grid-template-columns: 32px 1fr;
  }
  .scrolly-block--right .scrolly-card,
  .scrolly-block--left .scrolly-card {
    grid-column: 2;
    padding-left: 1.5rem;
    padding-right: 0;
    text-align: left;
  }
  .scrolly-block--left .scrolly-tags { justify-content: flex-start; }
}

.want-a-chat{
  background-color: #1a1a1a;
  padding: 6rem 5vw;
}

.want-a-chat div{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.btn-light {
  display: inline-block;
  background: var(--white);
  color: var(--dark);
  font-family: 'Cousine', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.2rem 3.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-light:hover {
  background: var(--pink);
  transform: translateY(-2px);
}



.contact-title{
  font-family: 'Fraunces', serif;
  text-align: center;
  font-size: clamp(3rem,7vw,6rem);
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.contact-sub{
  font-family: 'Cousine', monospace;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .about-details-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-content-wrapper { clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%); margin-top: -50px; }
  .about-who { padding: 6rem 5vw 3rem; }
  .about-who-inner { flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
  .about-who-img { width: clamp(120px, 45vw, 200px); order: -1; }
  .about-intro-body { max-width: 100%; text-align: left; }
  .about-section-title { font-size: clamp(3rem, 12vw, 5rem); }

  /* Timeline collapses: drop center column, cards stack with left indent */
  .timeline-item,
  .timeline-item.left {
    grid-template-columns: 40px 1fr;
  }
  .timeline-card,
  .timeline-item.left .timeline-card {
    grid-column: 2;
    padding-left: 1.5rem;
    padding-right: 0;
    text-align: left;
  }
  .timeline-item.left .timeline-tags { justify-content: flex-start; }
}
@media (max-width: 480px) {
  .nav-links li:nth-child(1), .nav-links li:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #about-hero { position: relative; top: auto; }
}
