/* ==========================================================================
   About Page — a fully bespoke mega-hero, distinct from the homepage:
   giant interactive typography, cursor-tilt photo card, role typewriter,
   marquee ticker. Everything below the hero (bio/skills/journey/etc)
   keeps its previous styling untouched.
   ========================================================================== */

.about-mega-hero {
  position: relative;
/*   min-height: 100vh; */
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 24px 90px;
}

.about-hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}
.about-hero-orb {
  position: absolute; border-radius: 50%; filter: blur(140px); pointer-events: none;
}
.about-hero-orb-1 { width: 620px; height: 620px; background: var(--violet); opacity: 0.3; top: -260px; left: -160px; }
.about-hero-orb-2 { width: 480px; height: 480px; background: var(--teal); opacity: 0.18; bottom: -220px; right: -140px; }

.about-mega-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: center;
}

.about-mega-eyebrow {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 20px;
}

.about-mega-name { margin: 0 0 26px; line-height: 0.88; }
.about-mega-line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
}
.about-mega-line-outline {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.85);
  color: transparent;
}
.about-mega-line-outline .name-accent { -webkit-text-stroke: 0; color: var(--violet); }

.about-mega-role {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  margin: 24px 0 36px;
  min-height: 1.6em;
}
.about-mega-cursor { animation: about-blink 1s step-end infinite; color: var(--violet); }
@keyframes about-blink { 50% { opacity: 0; } }


.about-mega-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-mega-actions .btn-primary {
  background: #fff;
  color: #000;
  padding: 14px 22px;
  border-radius: 32px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(100, 80, 220, 0.3);
}

.about-mega-actions .btn-primary:hover {
  background: #fff;
  color: var(--ink);
}

.about-mega-resume {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

.about-mega-resume:hover {
  color: #fff;
}

.about-mega-actions { margin-bottom: 0; }
.about-mega-resume { color: rgba(255,255,255,0.8); }
.about-mega-resume:hover { color: #fff; }

.about-magnetic { transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.about-magnetic:hover { transform: translateY(-3px) scale(1.03); }

/* ---- Tilt photo card ---- */
.about-mega-visual { display: flex; justify-content: center; perspective: 1200px; }
.about-tilt-card {
  position: relative;
  width: 100%; max-width: 320px; aspect-ratio: 1;
  border-radius: 28px;
  overflow: visible;
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}
.about-tilt-glow {
  position: absolute; inset: -30px;
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%);
  opacity: 0.35; filter: blur(30px);
  z-index: 0;
}
.about-tilt-photo {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
}

.about-float-chip {
  position: absolute; z-index: 2;
  background: rgba(255,255,255,0.95); color: var(--ink);
  font-size: 0.78rem; font-weight: 700;
  padding: 7px 16px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  animation: about-float 4s ease-in-out infinite;
  transform: translateZ(40px);
}
.about-float-chip-1 { top: 6%; left: -14%; animation-delay: 0s; }
.about-float-chip-2 { top: 44%; right: -18%; animation-delay: 1.3s; }
.about-float-chip-3 { bottom: 4%; left: -8%; animation-delay: 2.6s; }
@keyframes about-float {
  0%, 100% { transform: translateZ(40px) translateY(0); }
  50% { transform: translateZ(40px) translateY(-10px); }
}

/* ---- Stats row ---- */
.about-hero-stats-row {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 64px; padding-top: 28px;
  max-width: var(--max-width); margin-left: auto; margin-right: auto;
}
.about-hero-stat { flex: 1; min-width: 120px; text-align: center; color: rgba(255,255,255,0.9); transition: transform 0.15s ease; }
.about-hero-stat:hover { transform: translateY(-2px); }
.about-hero-stat-count {
  display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700;
  letter-spacing: -0.02em; color: #fff; margin-bottom: 4px;
}
.about-hero-stat-label { font-family: var(--font-mono); font-size: 0.74rem; color: rgba(255,255,255,0.48); }

/* ---- Scroll cue ---- */
.about-scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%) rotate(90deg);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  animation: about-bounce 1.8s ease-in-out infinite;
  z-index: 2;
}
.about-scroll-cue:hover { background: rgba(255,255,255,0.16); }
@keyframes about-bounce {
  0%, 100% { transform: translateX(-50%) rotate(90deg) translateY(0); }
  50% { transform: translateX(-50%) rotate(90deg) translateY(6px); }
}

/* ---- Marquee ticker ---- */
.about-marquee {
  background: var(--surface); border-bottom: 1px solid var(--border-soft);
  overflow: hidden; padding: 18px 0;
}
.about-marquee-track {
  display: flex; width: max-content;
  animation: about-marquee-scroll 26s linear infinite;
}
.about-marquee-set {
  display: inline-flex; align-items: center; gap: 14px; white-space: nowrap;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink);
  padding-right: 14px;
}
.about-marquee-dot { color: var(--violet); font-size: 0.9rem; }
@keyframes about-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.about-marquee:hover .about-marquee-track { animation-play-state: paused; }

/* ---- Achievements / skill bars / journey polish (adds to earlier rules) ---- */
.achievement-badge { box-shadow: 0 2px 8px rgba(217,147,43,0.12); }
.journey-dot { animation: about-pulse-dot 2.4s ease-in-out infinite; }
@keyframes about-pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px var(--teal-tint); }
  50% { box-shadow: 0 0 0 8px var(--teal-tint); }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .about-mega-hero { padding: 100px 20px 70px; min-height: auto; }
  .about-mega-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .about-mega-eyebrow, .about-mega-role { justify-content: center; }
  .about-mega-actions { justify-content: center; }
  .about-tilt-card { max-width: 240px; }
  .about-float-chip { display: none; } /* avoid overlap/clipping on narrow layouts */
	  .about-mega-hero {
    padding: 100px 20px 70px;
    min-height: auto;
  }

  .about-mega-inner {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  /* Keep text first */
  .about-mega-text {
    display: contents;
  }

  .about-mega-eyebrow {
    order: 1;
  }

  .about-mega-name {
    order: 2;
  }

  .about-mega-role {
    order: 3;
  }

  /* Put image after role */
  .about-mega-visual {
    order: 4;
    justify-content: center;
  }

  /* Put buttons below image */
  .about-mega-actions {
    order: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
  }

  .about-tilt-card {
    max-width: 240px;
  }

  .about-float-chip {
    display: none;
  }
}

@media (max-width: 640px) {

  .about-mega-line {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .about-hero-stats-row {
    margin-top: 44px;
  }

  .about-hero-stat {
    min-width: 45%;
  }

  .about-marquee-set {
    font-size: 0.92rem;
  }

  .about-mega-actions {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-top: 15px;
  }

  .about-mega-hero {
    padding: 50px 20px 70px;
  }

  .about-mega-inner {
    gap: 10px;
  }

  .about-mega-role {
    margin: 0;
  }

  .about-mega-visual {
    margin-top: 15px;
  }

  .about-mega-actions .btn,
  .about-mega-actions .btn-text {
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    font-size: 0.85rem;
  }

}
@media (prefers-reduced-motion: reduce) {
  .about-float-chip, .about-scroll-cue, .journey-dot, .about-marquee-track { animation: none; }
}


/* ==========================================================
   ABOUT PAGE — ACHIEVEMENTS / SKILLS / JOURNEY REDESIGN
   ========================================================== */

.about-achievements,
.about-skills,
.about-journey {
  margin-top: 80px;
}


/* ---------- Shared section heading ---------- */

.about-section-heading {
  margin-bottom: 30px;
}

.about-section-heading .section-kicker {
  display: block;
  margin-bottom: 10px;

  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  color: var(--violet);
}

.about-section-heading h2,
.about-achievements > h2,
.about-skills > h2,
.about-journey > h2 {
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 0 0 28px;

  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}


/* ==========================================================
   ACHIEVEMENTS
   ========================================================== */

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.achievement-badge {
  position: relative;

  display: flex;
  align-items: center;
  gap: 16px;

  padding: 20px 22px;

  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;

  overflow: hidden;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.achievement-badge::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;

  width: 3px;

  background: linear-gradient(
    to bottom,
    var(--violet),
    var(--teal)
  );

  opacity: 0;

  transition: opacity 0.25s ease;
}

.achievement-badge:hover {
  transform: translateY(-4px);

  border-color: rgba(100, 80, 220, 0.25);

  box-shadow:
    0 16px 40px rgba(0,0,0,0.08);
}

.achievement-badge:hover::before {
  opacity: 1;
}

.achievement-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  flex-shrink: 0;

  border-radius: 12px;

  background: rgba(217,147,43,0.10);
  color: #c88216;
}

.achievement-icon svg {
  width: 19px;
  height: 19px;
}

.achievement-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}


/* ==========================================================
   SKILLS
   ========================================================== */

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.skill-card {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 90px;

  padding: 20px;

  border: 1px solid var(--border-soft);
  border-radius: 16px;

  background: var(--surface);

  overflow: hidden;

  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.skill-card::after {
  content: "";

  position: absolute;

  width: 120px;
  height: 120px;

  border-radius: 50%;

  background: var(--violet);

  filter: blur(55px);

  opacity: 0;

  right: -60px;
  bottom: -60px;

  transition: opacity 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);

  border-color: rgba(100, 80, 220, 0.35);

  box-shadow:
    0 18px 45px rgba(0,0,0,0.08);
}

.skill-card:hover::after {
  opacity: 0.14;
}

.skill-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;

  flex-shrink: 0;

  margin-right: 13px;

  border-radius: 10px;

  background: var(--violet);
  color: #fff;
}

.skill-card-icon svg {
  width: 16px;
  height: 16px;
}

.skill-card-name {
  position: relative;
  z-index: 1;

  font-size: 0.98rem;
  font-weight: 600;

  color: var(--ink);
}

.skill-card-arrow {
  position: relative;
  z-index: 1;

  margin-left: auto;

  font-size: 1.1rem;

  color: rgba(0,0,0,0.35);

  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.skill-card:hover .skill-card-arrow {
  transform: translate(3px, -3px);

  color: var(--violet);
}


/* ==========================================================
   JOURNEY
   ========================================================== */

.journey-timeline {
  position: relative;

  max-width: 900px;

  margin-top: 35px;

  padding-left: 32px;
}

.journey-timeline::before {
  content: "";

  position: absolute;

  left: 7px;
  top: 8px;
  bottom: 8px;

  width: 1px;

  background: linear-gradient(
    to bottom,
    var(--violet),
    var(--teal),
    transparent
  );
}

.journey-item {
  position: relative;

  padding-bottom: 28px;
}

.journey-item:last-child {
  padding-bottom: 0;
}

.journey-dot {
  position: absolute;

  left: -32px;
  top: 7px;

  width: 15px;
  height: 15px;

  border-radius: 50%;

  background: var(--surface);

  border: 3px solid var(--violet);

  z-index: 2;

  box-shadow:
    0 0 0 5px rgba(100,80,220,0.08);
}

.journey-content {
  position: relative;

  padding: 22px 25px;

  background: var(--surface);

  border: 1px solid var(--border-soft);

  border-radius: 16px;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.journey-content:hover {
  transform: translateX(6px);

  box-shadow:
    0 16px 40px rgba(0,0,0,0.07);
}

.journey-year {
  display: inline-flex;

  margin-bottom: 8px;

  padding: 5px 10px;

  border-radius: 999px;

  background: rgba(100,80,220,0.10);

  color: var(--violet);

  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.06em;
}

.journey-title {
  margin: 0 0 7px;

  font-size: 1.15rem;
  font-weight: 700;

  color: var(--ink);
}

.journey-desc {
  margin: 0;

  color: var(--text-muted);

  line-height: 1.7;

  font-size: 0.95rem;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 760px) {

  .about-achievements,
  .about-skills,
  .about-journey {
    margin-top: 60px;
  }

  .achievement-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .skill-card {
    min-height: 78px;
    padding: 16px;
  }

  .skill-card-arrow {
    display: none;
  }

  .journey-timeline {
    padding-left: 27px;
  }

  .journey-dot {
    left: -27px;
  }

}


@media (max-width: 480px) {

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .achievement-badge {
    padding: 17px;
  }

  .journey-content {
    padding: 18px;
  }
	.about-skill-name {
  font-size: 0.80rem;
}
	.about-skill-dot {
  width: 5px;
  height: 5px;
 
  box-shadow: 0 0 0 3px rgba(100, 80, 220, 0.1);
}


}


/* ---- Skills & Expertise ---- */

.about-skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 900px;
}

.about-skill-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;

  font-weight: 600;
  color: var(--ink);

  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
}

.about-skill-item:hover {
  transform: translateY(-3px);
  border-color: var(--violet);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.about-skill-item::before {
  content: "✦";
  color: var(--violet);
  font-size: 0.8rem;
}

/* ==========================================================
   SKILLS
   ========================================================== */

.about-skills-section {
  margin-top: 70px;
}

.about-skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
 
}

.about-skill-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 7px 12px;

  background: #fff;
  border: 1px solid rgba(20, 25, 40, 0.08);
  border-radius: 14px;

  font-weight: 600;
  color: var(--ink);

  box-shadow: 0 8px 24px rgba(20, 25, 40, 0.05);

  transition: 
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.about-skill-card:hover {
  transform: translateY(-4px);
  border-color: rgba(100, 80, 220, 0.3);
  box-shadow: 0 14px 30px rgba(20, 25, 40, 0.1);
}

.about-skill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(100, 80, 220, 0.1);
}

.about-skill-name {
  font-size: 0.95rem;
}

.achievement-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

.achievement-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--violet);
}

.achievement-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.achievement-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.achievement-link:hover {
  color: inherit;
}