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

:root {
  --cream: #F7F4EF;
  --cream-dark: #EFEAE3;
  --accent: #C4622D;
  --dark: #1a1a1a;
  --dark-mid: #2C2820;
  --dark-alt: #242018;
  --text-muted: #666;
  --text-faint: #999;
  --border: #d8d3cc;
  --border-light: #e2ddd6;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { font-family: 'DM Serif Display', serif; font-size: 1.2rem; color: var(--dark); text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: 12px; font-weight: 400; letter-spacing: 0.07em; text-transform: uppercase; color: #555; text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta { font-size: 12px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: #fff; background: var(--accent); border: none; padding: 0.6rem 1.4rem; border-radius: 2px; cursor: pointer; text-decoration: none; transition: opacity 0.2s; }
.nav-cta:hover { opacity: 0.88; }

/* ── PROJECT HEADER ── */
.proj-header { background: var(--dark); padding: 4rem 3rem 3.5rem; }
.proj-breadcrumb { display: flex; align-items: center; justify-content: space-between; margin-bottom: 3rem; }
.proj-back { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.32); text-decoration: none; transition: color 0.2s; }
.proj-back:hover { color: var(--accent); }
.proj-count { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.18); }
.proj-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; font-weight: 500; }
.proj-header h1 { font-family: 'DM Serif Display', serif; font-size: clamp(2.2rem, 4vw, 3.8rem); color: #fff; line-height: 1.06; margin-bottom: 1.5rem; max-width: 700px; }
.proj-header h1 em { font-style: italic; color: var(--accent); }
.proj-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.proj-tag { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.42); border: 1px solid rgba(255,255,255,0.14); padding: 4px 10px; border-radius: 2px; }

/* ── PROJECT BODY ── */
.proj-body { display: grid; grid-template-columns: 260px 1fr; background: var(--cream); border-bottom: 1px solid var(--border-light); }
.proj-meta { padding: 3rem 2.5rem; border-right: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 2rem; }
.meta-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 0.4rem; }
.meta-list { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; }
.meta-list li, .meta-value { font-size: 13.5px; color: var(--dark); line-height: 1.65; }
.meta-link { display: inline-block; margin-top: 0.25rem; font-size: 11px; letter-spacing: 0.06em; color: var(--accent); text-decoration: none; }
.meta-link:hover { opacity: 0.72; }
.proj-desc { padding: 3rem; }
.proj-desc p { font-size: 15px; line-height: 1.9; color: var(--text-muted); max-width: 620px; margin-bottom: 1.25rem; }
.proj-desc p:last-child { margin-bottom: 0; }

/* ── AWARDS ── */
.proj-awards { display: flex; flex-direction: column; gap: 0.6rem; padding-top: 1rem; border-top: 1px solid var(--border-light); }
.award-item { display: flex; gap: 0.6rem; align-items: flex-start; }
.award-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--accent); color: #fff; padding: 2px 7px; border-radius: 2px; white-space: nowrap; margin-top: 1px; flex-shrink: 0; }
.award-text { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ── IMAGES ── */
.proj-images { background: var(--cream-dark); padding: 3rem; display: flex; flex-direction: column; gap: 1rem; }
.proj-img-main { width: 50%; margin: 0 auto; border-radius: 2px; overflow: hidden; background: var(--border); }
.proj-img-main img { width: 100%; height: auto; display: block; }
.proj-img-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; max-width: 50%; margin: 0 auto; }
.proj-img-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; display: block; background: var(--border); }
.proj-video { width: 100%; aspect-ratio: 16 / 9; border-radius: 2px; overflow: hidden; }
.proj-video iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── PROJECT NAV ── */
.proj-nav { display: grid; grid-template-columns: 1fr 1fr; }
.proj-nav-item { padding: 2.25rem 3rem; text-decoration: none; display: flex; flex-direction: column; gap: 0.4rem; background: var(--dark-mid); transition: background 0.2s; }
.proj-nav-item:hover { background: var(--dark-alt); }
.proj-nav-item + .proj-nav-item { border-left: 1px solid rgba(255,255,255,0.07); }
.proj-nav-dir { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.25); }
.proj-nav-next .proj-nav-dir, .proj-nav-next .proj-nav-title { text-align: right; }
.proj-nav-title { font-family: 'DM Serif Display', serif; font-size: 1.05rem; color: rgba(255,255,255,0.65); }

/* ── CTA ── */
.cta-section { background: var(--accent); padding: 5rem 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-h2 { font-family: 'DM Serif Display', serif; font-size: clamp(2rem, 3.5vw, 2.8rem); color: #fff; line-height: 1.12; max-width: 480px; }
.cta-h2 em { font-style: italic; opacity: 0.62; }
.btn-white { font-size: 12px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent); background: #fff; border: none; padding: 0.9rem 2.25rem; border-radius: 2px; cursor: pointer; white-space: nowrap; transition: opacity 0.2s; text-decoration: none; }
.btn-white:hover { opacity: 0.88; }

/* ── FOOTER ── */
footer { background: #111; padding: 2rem 3rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'DM Serif Display', serif; font-size: 1rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 1.75rem; list-style: none; }
.footer-links a { font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.22); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.55); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.16); }
.footer-contact { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-contact a { font-size: 11px; color: rgba(255,255,255,0.35); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.footer-contact a:hover { color: rgba(255,255,255,0.65); }

/* ── LIGHTBOX ── */
#lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
#lb-overlay.lb-open { display: flex; }
#lb-img {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}
#lb-close {
  position: fixed;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
#lb-close:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .proj-header { padding: 2.5rem 1.5rem; }
  .proj-breadcrumb { margin-bottom: 2rem; }
  .proj-body { grid-template-columns: 1fr; }
  .proj-meta { border-right: none; border-bottom: 1px solid var(--border-light); padding: 2rem 1.5rem; }
  .proj-desc { padding: 2rem 1.5rem; }
  .proj-images { padding: 2rem 1.5rem; }
  .proj-img-main { width: 100%; }
  .proj-img-grid { max-width: 100%; }
  .proj-nav-item { padding: 1.75rem 1.5rem; }
  .cta-section { padding: 3rem 1.5rem; flex-direction: column; align-items: flex-start; }
  footer { padding: 1.5rem; }
}
