html {
  scroll-behavior: smooth;
}

:root {
  /* Premium Light Palette */
  --bg-body: #fafafa;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-dim: #6b7280;
  
  /* Refined Borders - Darker for light mode */
  --border: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 0, 0, 0.1);
  
  /* Modern Luxury Accents - Electric Violet & Cyan */
  --accent-primary: #7c3aed;
  --accent-secondary: #0891b2; /* Slightly darker cyan for contrast */
  
  /* Animation Variables */
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --accent-glow: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #7c3aed 50%, #d946ef 100%);
  --accent-gradient-hover: linear-gradient(135deg, #22d3ee 0%, #8b5cf6 50%, #e879f9 100%);
  
  /* Luxury Spacing */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 120px;
  
  /* Modern Geometry */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* High-end Depth - Softer shadows for light mode */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 16px -4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.15);
  --glass: blur(20px) saturate(180%);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg-body);
  color: var(--text-main);
  /* Modern clean sans-serif stack */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  /* Subtle mesh gradient background */
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(124, 58, 237, 0.05), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.05), transparent 25%);
  background-attachment: fixed;
}

/* Typography - Premium & Editorial */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 800;
  margin-bottom: var(--space-lg);
  background: linear-gradient(to bottom, #111827, #4b5563);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-xl);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

p {
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
  font-weight: 400;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Utilities */
/* Motion Utilities */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-up {
  opacity: 0; /* Start hidden */
  animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.animate-scale-in {
  opacity: 0;
  animation: fadeInScale 0.8s var(--ease-out-quart) forwards;
}

.animate-slide-right {
  opacity: 0;
  animation: slideInRight 0.8s var(--ease-out-quart) forwards;
}

/* Stagger Delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }

/* Hover Lift Effect */
.hover-lift {
  transition: transform 0.4s var(--ease-out-quart), box-shadow 0.4s var(--ease-out-quart);
}
.hover-lift:hover {
  transform: translateY(-8px);
}

/* Image Reveal Effect */
.reveal-image {
  overflow: hidden;
}
.reveal-image img, 
.reveal-image .placeholder-image {
  animation: scaleDown 1.2s var(--ease-out-expo) forwards;
  transform: scale(1.1);
}
@keyframes scaleDown {
  to { transform: scale(1); }
}

.container {
  width: 100%;
  max-width: 1400px; /* Wider container for luxury feel */
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.text-center { text-align: center; }

/* Premium Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.4s var(--ease-out-quart);
  cursor: pointer;
  border: 1px solid transparent;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--accent-gradient);
  background-size: 200% 200%;
  animation: gradientShift 5s ease infinite;
  color: white;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
  border: none;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.03);
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.badge:hover {
  border-color: var(--accent-glow);
  color: var(--text-main);
  background: rgba(139, 92, 246, 0.05);
}

/* Glass Navbar */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1400px;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: var(--glass);
  -webkit-backdrop-filter: var(--glass);
  border: 1px solid var(--border);
  padding: 16px 24px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 2;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  background: rgba(0, 0, 0, 0.03);
  padding: 8px 32px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-link-active {
  color: var(--text-main) !important;
}

/* Sections */
section {
  padding: var(--space-2xl) 0;
  scroll-margin-top: 80px; /* Space for fixed header */
  position: relative;
}

/* Target Highlight Animation */
@keyframes targetHighlight {
  0% {
    background-color: rgba(124, 58, 237, 0.1);
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
  }
  50% {
    background-color: rgba(124, 58, 237, 0.05);
    box-shadow: 0 0 50px 0 rgba(124, 58, 237, 0.2);
  }
  100% {
    background-color: transparent;
    box-shadow: 0 0 0 0 transparent;
  }
}

section:target {
  animation: targetHighlight 2s ease-out forwards;
  border-radius: var(--radius-lg);
}

footer:target {
    animation: targetHighlight 2s ease-out forwards;
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Offset for fixed nav */
  position: relative;
  overflow: hidden; /* Ensure no overflow from decorative elements */
}

.hero-content {
  max-width: 1000px;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 2;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 1;
  opacity: 0.6;
  animation: floatOrb 20s infinite ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
  top: -100px;
  right: -50px;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3), transparent 70%);
  bottom: -50px;
  left: -50px;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-subtitle {
  display: inline-block;
  color: var(--accent-secondary);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}

.philosophy-box {
  position: relative;
  padding: var(--space-lg);
  margin: var(--space-2xl) 0;
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--text-main);
  background: linear-gradient(to right, rgba(0,0,0,0.02), transparent);
  border-left: 3px solid var(--accent-glow);
  font-weight: 300;
}

/* Experience Cards */
.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  background: var(--bg-card-hover);
}

.card:hover::before {
  opacity: 1;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.exp-role {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.exp-company {
  color: var(--accent-secondary);
  font-weight: 500;
}

.exp-date {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-family: monospace;
  background: rgba(0,0,0,0.03);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.exp-list {
  margin: 0;
  padding-left: var(--space-lg);
  color: var(--text-muted);
}

.exp-list li {
  margin-bottom: var(--space-sm);
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

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

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  height: 100%;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
}

.skill-card:hover {
  border-color: var(--accent-glow);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.skill-title {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  margin-bottom: var(--space-lg);
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  transform: translateY(-12px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-lg);
}

.project-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.project-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.1), transparent 40%);
  opacity: 0.4;
  transition: opacity 0.5s ease;
}

.project-card:hover .project-image::after {
  opacity: 0.1;
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f1f5f9 25%, #e2e8f0 25%, #e2e8f0 50%, #f1f5f9 50%, #f1f5f9 75%, #e2e8f0 75%, #e2e8f0 100%);
    background-size: 20px 20px;
    opacity: 0.5;
    transition: all 0.5s ease;
}

.project-card:hover .project-image-placeholder {
    transform: scale(1.1);
    opacity: 0.4;
}

.project-content {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--text-main);
}

.project-category {
  color: var(--accent-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

/* Education */
.edu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  padding: var(--space-lg) 0;
}

.edu-item:last-child {
  border-bottom: none;
}

.edu-details h3 {
  margin-bottom: 4px;
}

.edu-year {
  background: rgba(0,0,0,0.04);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-family: monospace;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Footer */
.footer {
  background: linear-gradient(to bottom, #f3f4f6, #e5e7eb);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.05) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

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

.contact-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
}

.contact-item:hover {
  color: var(--accent-secondary);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  
  .nav {
    top: 0;
    width: 100%;
    border-radius: 0;
    padding: var(--space-md);
  }

  .nav-links { display: none; } /* Simplified for prototype */
  
  .exp-header {
    flex-direction: column;
    gap: 4px;
  }
  
  .edu-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .philosophy-box {
    font-size: 1.1rem;
    padding: var(--space-md);
  }
}

/* Project Detail Page Styles */
.project-hero {
  padding-top: 120px;
  padding-bottom: var(--space-2xl);
  background: linear-gradient(to bottom, var(--bg-body) 0%, var(--bg-card) 100%);
}

.project-hero.split .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.project-hero.split .project-cover-image {
    margin-bottom: 0;
    height: 100%;
    min-height: 400px;
    order: 2;
    aspect-ratio: 4/3;
}

.project-hero.split .project-header-wrapper {
    order: 1;
}

@media (max-width: 900px) {
    .project-hero.split .container {
        grid-template-columns: 1fr;
    }
    .project-hero.split .project-cover-image {
        order: -1;
        aspect-ratio: 16/9;
        min-height: auto;
    }
}

.back-link {
  display: inline-block;
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  font-weight: 500;
}

.back-link:hover {
  color: var(--accent-secondary);
  transform: translateX(-4px);
}

.project-header {
  max-width: 800px;
  margin-bottom: var(--space-xl);
}

.project-category-badge {
  color: var(--accent-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.project-lead {
  font-size: 1.35rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 700px;
}

.project-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-2xl);
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.meta-value {
  font-weight: 600;
  color: var(--text-main);
}

.project-cover-image {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card-hover);
  margin-bottom: var(--space-2xl);
  border: 1px solid var(--border);
}

.placeholder-image {
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--bg-card) 25%, var(--bg-card-hover) 25%, var(--bg-card-hover) 50%, var(--bg-card) 50%, var(--bg-card) 75%, var(--bg-card-hover) 75%, var(--bg-card-hover) 100%);
  background-size: 40px 40px;
  opacity: 0.5;
}

.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.content-text h2 {
  font-size: 1.8rem;
  margin-top: var(--space-xl);
}

.sidebar-card {
  background: var(--bg-card);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}

.deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.deliverables-list li {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
}

.gallery-section {
  padding: var(--space-2xl) 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.gallery-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
}

.gallery-item.large {
  grid-row: span 2;
  aspect-ratio: 3/4;
}

.gallery-item.wide {
  grid-column: span 2;
  aspect-ratio: 2/1;
}

.gallery-grid.three-col .gallery-item.wide {
  grid-column: span 3;
}

/* Deliverables Grid */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.deliverable-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.deliverable-card:hover {
  border-color: var(--accent-secondary);
  color: var(--text-main);
  transform: translateY(-2px);
}

/* Social Media Grid specific for 1080x1080 posts */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.social-post-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1; /* 1080x1080 square */
  border: 1px solid var(--border);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-post-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
  z-index: 1;
}

.social-post-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.8);
  padding: var(--space-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  transform: translateY(100%);
  transition: transform 0.2s ease;
}

.social-post-item:hover .social-post-caption {
  transform: translateY(0);
}

.showcase-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) 0;
  margin-top: var(--space-2xl);
  border-top: 1px solid var(--border);
}

.showcase-image {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.next-project {
  background: var(--bg-card);
  padding: var(--space-2xl) 0;
  border-top: 1px solid var(--border);
  margin-top: var(--space-2xl);
}

.subtitle {
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid, .gallery-grid.three-col {
    grid-template-columns: 1fr;
  }
  
  .gallery-item.wide, .gallery-grid.three-col .gallery-item.wide {
    grid-column: span 1;
  }
  
  .showcase-section {
    grid-template-columns: 1fr;
  }
}

/* Marquee Strip */
.marquee-section {
  padding: var(--space-lg) 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  margin-bottom: var(--space-2xl);
}

.marquee-track {
  display: flex;
  gap: var(--space-2xl);
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-item {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  -webkit-text-stroke: 1px transparent;
  transition: all 0.3s ease;
}

.marquee-item:hover {
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-primary);
  transform: scale(1.05);
  cursor: default;
}

.marquee-separator {
  color: var(--accent-secondary);
  font-size: 1rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Utility Classes for Cleanup */
.hero-lead {
  font-size: 1.25rem;
  max-width: 600px;
}

.hero-buttons {
  margin-top: var(--space-xl);
  display: flex;
  gap: var(--space-md);
}

.section-desc {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.edu-school {
  margin: 0;
}

.footer-title {
  margin-bottom: var(--space-md);
}

.footer-copyright {
  margin-top: var(--space-2xl);
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Resume Page Styles */
.resume-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px var(--space-lg) var(--space-2xl);
}

.resume-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.resume-contact {
  display: flex;
  gap: var(--space-lg);
  color: var(--text-muted);
  margin-top: var(--space-md);
  flex-wrap: wrap;
}

.resume-section {
  margin-bottom: var(--space-2xl);
}

.resume-section h2 {
  font-size: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: var(--space-sm);
  margin-bottom: var(--space-lg);
  color: var(--accent-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.resume-item {
  margin-bottom: var(--space-xl);
}

.resume-item:last-child {
  margin-bottom: 0;
}

.resume-role {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.resume-company {
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.resume-date {
  font-family: monospace;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.resume-list {
  margin: 0;
  padding-left: var(--space-lg);
  color: var(--text-muted);
}

.resume-list li {
  margin-bottom: 4px;
}

.philosophy-text {
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.1rem;
  border-left: 3px solid var(--accent-primary);
  padding-left: var(--space-md);
}

.resume-skills-grid {
  display: grid;
  gap: var(--space-md);
}

.resume-skill-row strong {
  color: var(--text-main);
}

.resume-skill-row span {
  color: var(--text-muted);
}

.print-btn {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 100;
}

@media print {
  .nav, .print-btn, .footer { display: none; }
  body { background: white; color: black; }
  .resume-container { padding: 0; max-width: 100%; }
  .resume-header { border-bottom: 2px solid #000; }
  .resume-section h2 { border-bottom: 1px solid #000; color: #000; }
  .resume-role { color: #000; }
  .resume-company, .resume-list { color: #333; }
  a { text-decoration: none; color: black; }
}

/* Brand Guidelines Project Specifics */
.brand-section {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--border);
}

.color-palette {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.color-swatch {
  height: 120px;
  border-radius: var(--radius-md);
  position: relative;
  border: 1px solid var(--border);
}

.color-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-sm);
  background: rgba(0,0,0,0.5);
  font-family: monospace;
  font-size: 0.8rem;
  color: white;
  border-bottom-left-radius: var(--radius-md);
  border-bottom-right-radius: var(--radius-md);
}

.typography-showcase {
  background: var(--bg-card);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin-top: var(--space-lg);
}

.type-sample-primary {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--text-main);
}

.type-sample-secondary {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--text-muted);
}

.logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.logo-box {
  background: var(--bg-card);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
}

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