/* =========================================
   DESIGN SYSTEM — Dark Glassmorphism Theme
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #060b14;
  --bg-secondary: #0d1628;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 179, 237, 0.3);

  --accent-primary: #63b3ed;
  --accent-secondary: #9f7aea;
  --accent-tertiary: #68d391;
  --accent-pink: #f687b3;

  --gradient-hero: linear-gradient(135deg, #63b3ed 0%, #9f7aea 50%, #f687b3 100%);
  --gradient-card: linear-gradient(135deg, rgba(99,179,237,0.1) 0%, rgba(159,122,234,0.1) 100%);

  --text-primary: #f0f4ff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --shadow-glow: 0 0 40px rgba(99, 179, 237, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

/* =========================================
   ANIMATED BACKGROUND
   ========================================= */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(99, 179, 237, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 110%, rgba(159, 122, 234, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(6, 11, 20, 0) 0%, rgba(6, 11, 20, 0.8) 100%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

/* =========================================
   NOISE TEXTURE OVERLAY
   ========================================= */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* =========================================
   SCROLLBAR
   ========================================= */

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: rgba(99, 179, 237, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99, 179, 237, 0.6); }

/* =========================================
   SELECTION
   ========================================= */

::selection {
  background: rgba(99, 179, 237, 0.3);
  color: #fff;
}

/* =========================================
   GLASS CARD COMPONENT
   ========================================= */

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(99, 179, 237, 0.2);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* =========================================
   NAVIGATION
   ========================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(6, 11, 20, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  background: rgba(6, 11, 20, 0.95);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* =========================================
   LAYOUT
   ========================================= */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

main {
  min-height: 100vh;
}

/* =========================================
   SECTION BASE
   ========================================= */

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--accent-primary);
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.7;
}

/* =========================================
   HERO SECTION
   ========================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99, 179, 237, 0.1);
  border: 1px solid rgba(99, 179, 237, 0.25);
  color: var(--accent-primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.hero-title .gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent-secondary);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-hero);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 24px rgba(99, 179, 237, 0.3);
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(99, 179, 237, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-smooth);
  letter-spacing: 0.01em;
}

.btn-secondary:hover {
  border-color: rgba(99, 179, 237, 0.4);
  background: rgba(99, 179, 237, 0.06);
  transform: translateY(-2px);
}

.hero-socials {
  display: flex;
  gap: 12px;
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon-link:hover {
  color: var(--accent-primary);
  border-color: rgba(99, 179, 237, 0.4);
  background: rgba(99, 179, 237, 0.08);
  transform: translateY(-2px);
}

/* HERO RIGHT — Avatar */
.hero-avatar-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.avatar-ring {
  position: relative;
  width: 320px;
  height: 320px;
}

.avatar-ring::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: var(--gradient-hero);
  animation: spin-slow 8s linear infinite;
  z-index: 0;
}

.avatar-ring::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--bg-primary);
  z-index: 1;
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-img {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  object-fit: cover;
  z-index: 2;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
}

.avatar-blob {
  position: absolute;
  inset: -40px;
  background: radial-gradient(ellipse at center, rgba(99, 179, 237, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
  animation: blob-pulse 4s ease-in-out infinite;
}

@keyframes blob-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* Floating badges on avatar */
.float-badge {
  position: absolute;
  background: rgba(13, 22, 40, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  z-index: 10;
  animation: float-gentle 3s ease-in-out infinite;
}

.float-badge-1 {
  top: 20px;
  right: -30px;
  animation-delay: 0s;
  border-color: rgba(99, 179, 237, 0.3);
}

.float-badge-2 {
  bottom: 40px;
  left: -30px;
  animation-delay: 1.5s;
  border-color: rgba(159, 122, 234, 0.3);
}

.float-badge-3 {
  bottom: 40px;
  right: -30px;
  animation-delay: 0.75s;
  border-color: rgba(104, 211, 145, 0.3);
}

.float-badge-4 {
  top: 20px;
  left: -30px;
  animation-delay: 2.25s;
  border-color: rgba(246, 135, 179, 0.3);
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .hero-avatar-container { order: -1; }
  .hero-description { margin-left: auto; margin-right: auto; }
  .hero-cta-group { justify-content: center; }
  .hero-socials { justify-content: center; }
  .avatar-ring { width: 220px; height: 220px; }
  .float-badge-1 { right: 0; }
  .float-badge-2 { left: 0; }
}

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

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 100px;
  transition: var(--transition-smooth);
  cursor: default;
}

.skill-chip:hover {
  background: rgba(99, 179, 237, 0.08);
  border-color: rgba(99, 179, 237, 0.35);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

/* =========================================
   EXPERIENCE SECTION
   ========================================= */

.experience-list {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.experience-list::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent-primary), transparent);
}

.experience-item {
  display: flex;
  gap: 32px;
  padding: 0 0 40px 56px;
  position: relative;
}

.experience-item::before {
  content: '';
  position: absolute;
  left: 13px;
  top: 4px;
  width: 15px;
  height: 15px;
  background: var(--bg-primary);
  border: 2px solid var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(99, 179, 237, 0.4);
}

.experience-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: var(--transition-smooth);
  flex: 1;
}

.experience-content:hover {
  border-color: rgba(99, 179, 237, 0.2);
  background: var(--bg-card-hover);
}

.exp-period {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 8px;
}

.exp-role {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.exp-company {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-secondary);
  margin-bottom: 12px;
}

.exp-description {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* =========================================
   PROJECT CARDS
   ========================================= */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.project-card:hover {
  border-color: rgba(99, 179, 237, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 179, 237, 0.1);
}

.project-card-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

/* ── PORTRAIT IMAGE BLUR BACKDROP ── */
.img-blur-bg {
  position: absolute;
  inset: -12px;
  background-size: cover;
  background-position: center;
  filter: blur(5px) brightness(0.22) saturate(1.6);
  transform: scale(1.15);
  z-index: 0;
}

.project-card-image.is-portrait img {
  object-fit: contain;
  position: relative;
  z-index: 1;
}

.project-card:hover .project-card-image img {
  transform: scale(1.06);
}

.project-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(6,11,20,0.8) 100%);
}

.project-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.project-card-desc {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-chip {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(99, 179, 237, 0.1);
  border: 1px solid rgba(99, 179, 237, 0.2);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.project-card-arrow {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 24px 16px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  gap: 6px;
  transition: var(--transition-fast);
}

.project-card:hover .project-card-arrow {
  color: var(--accent-primary);
}

/* =========================================
   CONTACT SECTION
   ========================================= */

.contact-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}

.contact-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  pointer-events: none;
}

.contact-box-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.contact-box-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
}

.footer-social-links .social-icon-link {
  width: 36px;
  height: 36px;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* =========================================
   ALL PROJECTS PAGE HEADER
   ========================================= */

.page-hero {
  padding: 140px 0 80px;
  text-align: center;
}

.page-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* =========================================
   PROJECT DETAIL PAGE
   ========================================= */

.detail-hero {
  padding: 130px 0 60px;
}

.detail-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 40px;
  transition: var(--transition-fast);
}

.detail-back-link:hover {
  color: var(--accent-primary);
}

.detail-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.1;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

/* Main image */
.detail-main-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
  position: relative;
}

.detail-main-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
}

.detail-main-image.is-portrait {
  background: var(--bg-secondary);
}

.detail-main-image.is-portrait img {
  object-fit: contain;
}

/* Thumbnails */
.detail-thumbnails {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.detail-thumb {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-smooth);
  opacity: 0.6;
}

.detail-thumb:hover,
.detail-thumb.active {
  border-color: var(--accent-primary);
  opacity: 1;
  transform: scale(1.05);
}

/* Prose content */
.detail-prose {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.95rem;
}

.detail-prose p { margin-bottom: 16px; }
.detail-prose strong { color: var(--text-primary); }
.detail-prose h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 10px;
  margin-top: 24px;
  letter-spacing: 0.02em;
}
.detail-prose ul { padding-left: 20px; margin-bottom: 16px; }
.detail-prose li {
  margin-bottom: 6px;
  color: var(--text-secondary);
}
.detail-prose li::marker { color: var(--accent-primary); }

/* CTA links */
.detail-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

/* =========================================
   DIVIDER / ACCENT LINE
   ========================================= */

.accent-divider {
  width: 48px;
  height: 3px;
  background: var(--gradient-hero);
  border-radius: 100px;
  margin: 16px auto 0;
}

/* =========================================
   ANIMATIONS — FADE IN ON SCROLL
   ========================================= */

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.fade-in-up.visible {
  opacity: 1;
  transform: none;
}

.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }
.fade-delay-5 { transition-delay: 0.5s; }

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .contact-box { padding: 40px 24px; }
  .projects-grid { grid-template-columns: 1fr; }
  .detail-main-image img { height: 240px; }
}