:root {
  /* Colors */
  --bg-body: #09090b;
  --bg-card: #18181b;
  --bg-elevated: #27272a;
  
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  --accent-primary: #eab308; /* Gold/Amber */
  --accent-secondary: #a16207;
  --accent-subtle: rgba(234, 179, 8, 0.1);
  
  --border-color: #3f3f46;
  --border-hover: #52525b;
  
  /* Spacing */
  --space-xs: 0.5rem;   /* 8px */
  --space-sm: 1rem;     /* 16px */
  --space-md: 1.5rem;   /* 24px */
  --space-lg: 2.5rem;   /* 40px */
  --space-xl: 4rem;     /* 64px */
  
  /* Typography */
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(234, 179, 8, 0.15);
  
  /* Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-body);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

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

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  max-width: 65ch;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-primary);
  font-weight: 400;
}

.text-accent {
  color: var(--accent-primary);
}

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

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

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Components */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #fff; /* Always white on accent */
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 0 30px rgba(234, 179, 8, 0.3);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: var(--bg-elevated);
}

/* Nav */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-sm) 0;
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: var(--space-md);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--text-primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: var(--space-xl);
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: var(--accent-primary);
  border-radius: 50%;
  opacity: 0.05;
  filter: blur(80px);
  z-index: -1;
}

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

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content p {
    margin: 0 auto var(--space-md);
  }
  
  .hero-actions {
    justify-content: center;
  }
}

.hero-image-wrapper {
  position: relative;
  padding: var(--space-md);
}

.hero-image-frame {
  position: relative;
  border-radius: 200px 200px 0 0; /* Arch shape */
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  aspect-ratio: 3/4;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 20%; /* Focus on Mian's face, cropping out the left */
  transform: scale(1.15); /* Slight zoom to enhance focus */
  transform-origin: 60% 25%;
}

.hero-deco-ring {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent-primary);
  border-radius: 200px 200px 0 0;
  transform: translate(16px, 16px);
  z-index: -1;
  opacity: 0.3;
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--text-primary);
}

.card-meta {
  color: var(--accent-primary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  display: block;
}

/* Timeline */
.timeline {
  position: relative;
  border-left: 2px solid var(--border-color);
  margin-left: var(--space-md);
  padding-left: var(--space-lg);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(var(--space-lg) * -1 - 6px); /* Align with line */
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 0 4px var(--bg-body);
}

.timeline-date {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

/* Quote */
.quote-section {
  background: var(--bg-elevated);
  text-align: center;
}

.quote-icon {
  color: var(--accent-primary);
  opacity: 0.5;
  margin-bottom: var(--space-md);
}

blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

cite {
  color: var(--text-secondary);
  font-style: normal;
  font-weight: 600;
}

/* Gallery Placeholders */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  aspect-ratio: 1;
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Forms */
.form-group {
  display: grid;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.form-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.form-input,
.form-textarea {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  width: 100%;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

/* Utilities */
.flex-gap-md { display: flex; gap: var(--space-md); }
.flex-between-end { display: flex; justify-content: space-between; align-items: flex-end; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mt-md { margin-top: var(--space-md); }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-md { max-width: 600px; }
.object-top { object-position: top; }
.img-focus-mian {
  object-position: 60% 20%;
  transform: scale(1.2);
  transform-origin: 60% 25%;
}
.flex-center { display: flex; align-items: center; justify-content: center; }
.opacity-30 { opacity: 0.3; }
.bg-zinc-800 { background: #27272a; }
.bg-zinc-700 { background: #3f3f46; }
.bg-zinc-600 { background: #52525b; }

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: var(--space-xl) 0;
  text-align: center;
  color: var(--text-muted);
}
