/* ─── ABOUT PAGE STYLES ───
   Extends css/style.css — do not duplicate base tokens.
   Only page-specific styles live here.
─────────────────────────────── */

/* ─── ABOUT HERO ─── */
.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  position: relative;
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-hero-content .badge {
  margin-bottom: 1.5rem;
}

.about-hero p {
  margin: 2rem auto;
  max-width: 600px;
}

/* ─── WHO I AM SECTION ─── */
.who-section {
  background: var(--surface-color);
}

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.who-content .badge {
  margin-bottom: 1.5rem;
}

.who-content h2 {
  margin-bottom: 1.5rem;
}

.who-content p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.who-content p em {
  color: var(--text-main);
  font-style: normal;
  font-weight: 500;
}

/* Avatar Card */
.avatar-card {
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.avatar-inner {
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.avatar-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #f5ede0 0%, #ece3d8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.avatar-placeholder .icon-xl {
  width: 80px;
  height: 80px;
  stroke-width: 1;
  opacity: 0.4;
}

.avatar-label {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.avatar-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.avatar-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.avatar-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* ─── STATS SECTION ─── */
.stats-section {
  background: var(--bg-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.about-stat-card {
  cursor: default;
}

.stat-inner {
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius-md);
}

.stat-inner .stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-main);
}

.stat-inner .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ─── SKILLS SECTION ─── */
.skills-section {
  background: var(--surface-color);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.skill-item {
  padding: 2rem;
  background: var(--bg-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.skill-item:hover {
  transform: translateY(-0.5px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-color: rgba(0,0,0,0.06);
}

.skill-icon {
  width: 52px;
  height: 52px;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.skill-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.skill-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── STORY SECTION ─── */
.story-section {
  background: var(--bg-color);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.story-timeline {
  position: sticky;
  top: 8rem;
}

.story-timeline .badge {
  margin-bottom: 1.5rem;
}

.story-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.story-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
}

.story-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.story-step .step-number {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--border-color);
  line-height: 1;
  padding-top: 0.15rem;
}

.step-body h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.step-body p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── VALUES SECTION ─── */
.values-section {
  background: var(--surface-color);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  padding: 2.5rem;
  background: var(--bg-color);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-0.5px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.value-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--border-color);
  margin-bottom: 1rem;
  font-style: italic;
}

.value-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── CTA SECTION (Transparent Glass + Water Droplets) ─── */
.cta-section {
  background: transparent;
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

.cta-card {
  width: 100%;
}

.cta-inner {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(40px) saturate(1.8) !important;
  -webkit-backdrop-filter: blur(40px) saturate(1.8) !important;
  color: var(--text-main);
  overflow: hidden;
  position: relative;
  border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.05),
    inset 0 0 30px rgba(255, 255, 255, 0.1);
  transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

/* ─── CTA Background Bubbles (Visible through Glass) ─── */
.cta-bg-bubbles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.cta-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(212, 82, 42, 0.15) 0%, transparent 70%);
  filter: blur(20px);
  animation: cta-bubble-roam 15s ease-in-out infinite;
}

.cta-bubble-1 {
  width: 250px;
  height: 250px;
  top: -10%;
  left: -5%;
  background: radial-gradient(circle at 30% 30%, rgba(180, 140, 90, 0.1) 0%, transparent 70%);
}

.cta-bubble-2 {
  width: 300px;
  height: 300px;
  bottom: -15%;
  right: 5%;
  animation-delay: -5s;
}

.cta-bubble-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  left: 60%;
  animation-delay: -10s;
  background: radial-gradient(circle at 30% 30%, rgba(212, 82, 42, 0.08) 0%, transparent 70%);
}

@keyframes cta-bubble-roam {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(100px, -50px) scale(1.1); }
  66% { transform: translate(-50px, 80px) scale(0.9); }
}

/* Subtle Glass Refraction Highlights */
.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.05) 40%, transparent 100%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
  display: block !important;
}

/* Removed texture */

.cta-body {
  padding: 5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-inner .badge {
  background: rgba(255,255,255,0.35);
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.5);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.cta-inner h2 {
  color: var(--text-main);
  margin-bottom: 1rem;
}

/* ─── Sliding Water Droplets on Glass (JS-driven) ─── */
.cta-droplets-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  border-radius: inherit;
}

.cta-inner p {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-inner .btn-primary {
  background: var(--text-main);
  color: #fff;
}

.cta-inner .btn-primary:hover {
  background: var(--accent-hover);
}

.cta-inner .btn-secondary {
  color: var(--text-main);
  border-color: var(--border-color);
}

.cta-inner .btn-secondary:hover {
  background: rgba(0,0,0,0.03);
  border-color: var(--text-main);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .who-grid {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .who-grid {
    grid-template-columns: 1fr;
  }

  .who-visual {
    order: -1;
  }

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

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

  .story-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .story-timeline {
    position: static;
  }

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

  .cta-body {
    padding: 3rem 2rem;
  }
}
