:root {
  --cream: #F0EBE3;
  --cream-light: #F7F4EF;
  --stone: #E2DBD0;
  --warm-dark: #1C1915;
  --warm-dark2: #2A2621;
  --text: #1C1915;
  --text-mid: #5C564D;
  --text-light: #908A80;
  --accent: #8B7355;
  --accent-light: #A8936F;
  --accent-hover: #705C43;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', -apple-system, sans-serif; background: var(--cream); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(240,235,227,0.88); backdrop-filter: blur(24px); box-shadow: 0 1px 0 rgba(28,25,21,0.06); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 72px; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 500; letter-spacing: 0.02em; }
.nav-logo span { color: var(--accent); font-style: italic; }
.nav-links { display: flex; gap: 36px; align-items: center; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; color: var(--text-mid); letter-spacing: 0.02em; transition: color 0.25s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a::after { content: ''; position: absolute; bottom: -6px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }
.nav-cta { font-size: 13px !important; font-weight: 600 !important; color: var(--white) !important; background: var(--warm-dark); padding: 10px 28px; border-radius: 100px; transition: all 0.3s ease; }
.nav-cta:hover { background: var(--accent); }
.nav-cta::after { display: none !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 6px 0; border-radius: 2px; }

/* PROJECT PAGE */
.project-hero { padding: 100px 40px 60px; max-width: 1200px; margin: 0 auto; }
.project-back { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text-mid); margin-bottom: 32px; transition: color 0.2s, gap 0.2s; }
.project-back:hover { color: var(--accent); gap: 12px; }
.project-header { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: end; margin-bottom: 48px; }
.project-title { font-family: 'Playfair Display', serif; font-size: clamp(32px, 4vw, 52px); font-weight: 400; line-height: 1.12; }
.project-title em { font-style: italic; color: var(--accent); }
.project-meta-box { background: var(--cream-light); border: 1px solid var(--stone); border-radius: var(--radius-sm); padding: 24px; }
.project-meta-item { margin-bottom: 16px; }
.project-meta-item:last-child { margin-bottom: 0; }
.project-meta-label { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 4px; }
.project-meta-value { font-size: 15px; font-weight: 500; color: var(--text); }
.project-cover { width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; }
.project-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.project-description { max-width: 800px; margin: 0 auto 64px; }
.project-description p { font-size: 16px; color: var(--text-mid); line-height: 1.85; font-weight: 300; margin-bottom: 16px; }

/* Gallery */
.project-gallery { max-width: 1200px; margin: 0 auto; padding: 0 40px 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.gallery-item { border-radius: var(--radius); overflow: hidden; background: var(--cream-light); border: 1px solid var(--stone); }
.gallery-item img { width: 100%; display: block; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item.full-width { grid-column: 1 / -1; }
.gallery-caption { padding: 16px 20px; }
.gallery-caption h3 { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 500; margin-bottom: 6px; }
.gallery-caption p { font-size: 13px; color: var(--text-mid); line-height: 1.6; font-weight: 300; }

/* Project nav */
.project-nav { max-width: 1200px; margin: 0 auto; padding: 0 40px 80px; display: flex; justify-content: space-between; border-top: 1px solid var(--stone); padding-top: 40px; }
.project-nav a { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--text-mid); transition: color 0.2s; }
.project-nav a:hover { color: var(--accent); }
.project-nav a strong { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 500; color: var(--text); }
.project-nav a:hover strong { color: var(--accent); }

/* Footer */
.footer { background: var(--warm-dark); border-top: 1px solid rgba(255,255,255,0.04); padding: 28px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 16px; color: rgba(255,255,255,0.4); }
.footer-logo span { color: var(--accent); font-style: italic; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-social { display: flex; gap: 28px; }
.footer-social a { font-size: 13px; color: rgba(255,255,255,0.3); font-weight: 400; transition: color 0.25s; }
.footer-social a:hover { color: var(--accent-light); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94); }
.reveal.from-left { transform: translateX(-60px) translateY(0); }
.reveal.from-right { transform: translateX(60px) translateY(0); }
.reveal.visible { opacity: 1; transform: translateY(0) translateX(0) scale(1); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { padding: 0 24px; }
  .project-hero { padding: 100px 24px 40px; }
  .project-header { grid-template-columns: 1fr; gap: 24px; }
  .project-gallery { padding: 0 24px 60px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.full-width { grid-column: auto; }
  .project-nav { padding: 0 24px 60px; padding-top: 40px; }
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
