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

:root {
  --green: #1a3a2a;
  --green-mid: #22493a;
  --green-light: #2d5c4a;
  --cream: #f5f0e8;
  --accent: #FFE973;
  --red: #EF373E;
  --tint: #F9CCC2;
  --muted: rgba(245,240,232,0.55);
  --border: rgba(245,240,232,0.08);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--green); color: var(--cream); font-family: var(--sans); font-size: 16px; line-height: 1.6; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(26,58,42,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  color: var(--cream); text-decoration: none; letter-spacing: 0.02em;
  z-index: 201; position: relative;
}

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 0.82rem;
  font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--cream); }

/* Burger button — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  z-index: 201; position: relative;
}

.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Burger open state */
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed; inset: 0; z-index: 199;
  background: rgba(26,58,42,0.98);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
  list-style: none;
}

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

.nav-drawer li a {
  font-family: var(--serif); font-size: 2rem; font-weight: 700;
  color: var(--muted); text-decoration: none; letter-spacing: -0.01em;
  transition: color 0.2s;
}

.nav-drawer li a:hover,
.nav-drawer li a.active { color: var(--cream); }

/* ── FOOTER ── */
footer {
  background: #111f18; padding: 1.75rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(245,240,232,0.06);
}
.footer-copy, .footer-right { font-size: 0.78rem; color: var(--muted); }

/* ── TYPE UTILITIES ── */
.eyebrow { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 1rem; display: block; }
.display { font-family: var(--serif); font-weight: 900; color: var(--cream); line-height: 1.0; }
.display em { font-style: italic; color: var(--accent); }
.intro { font-size: 1.05rem; color: var(--muted); line-height: 1.8; max-width: 640px; }
.body-copy { font-size: 0.95rem; color: var(--muted); line-height: 1.8; }
.section { padding: 5rem 3rem; }
.divider { border: none; border-top: 1px solid var(--border); margin: 4rem 0; }
.tag { display: inline-block; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(255,233,115,0.35); padding: 0.3rem 0.8rem; margin-right: 0.5rem; margin-bottom: 0.5rem; }

/* ── CARDS ── */
.card { background: var(--green-mid); border: 1px solid var(--border); overflow: hidden; text-decoration: none; color: inherit; display: block; transition: transform 0.3s ease; }
.card:hover { transform: translateY(-5px); }
.card-img { width: 100%; overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 1.75rem; }
.card-title { font-family: var(--serif); font-weight: 700; color: var(--cream); line-height: 1.15; margin-bottom: 0.5rem; }
.card-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; }
.card-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(245,240,232,0.25); padding-bottom: 2px; transition: gap 0.2s, border-color 0.2s; }
.card-link:hover { gap: 0.75rem; border-color: var(--cream); }

/* ── GRIDS ── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-case { display: grid; grid-template-columns: 260px 1fr; gap: 5rem; align-items: start; }

/* ── PLACEHOLDERS ── */
.ph { width: 100%; background: var(--green-mid); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 0.5rem; position: relative; overflow: hidden; }
.ph span { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); opacity: 0.5; }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r169 { aspect-ratio: 16/9; } .r43 { aspect-ratio: 4/3; } .r34 { aspect-ratio: 3/4; } .r11 { aspect-ratio: 1/1; } .r32 { aspect-ratio: 3/2; }

/* ── STATS ── */
.stats-row { display: grid; gap: 0; border: 1px solid var(--border); }
.stat-cell { padding: 2rem 1.5rem; border-right: 1px solid var(--border); text-align: center; }
.stat-cell:last-child { border-right: none; }
.stat-num { font-family: var(--serif); font-size: 2.8rem; font-weight: 900; color: var(--accent); line-height: 1; display: block; margin-bottom: 0.4rem; }
.stat-lbl { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* ── META SIDEBAR ── */
.meta-sidebar { position: sticky; top: 6rem; }
.meta-item { margin-bottom: 2.5rem; border-top: 1px solid var(--border); padding-top: 1.25rem; }
.meta-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.meta-value { font-size: 0.88rem; color: var(--cream); font-weight: 500; line-height: 1.7; }

/* ── MARQUEE ── */
.marquee-wrap { background: var(--accent); overflow: hidden; padding: 0.85rem 0; white-space: nowrap; }
.marquee-inner { display: inline-block; animation: marquee 20s linear infinite; }
.marquee-inner span { font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--green); padding: 0 2.5rem; }
.marquee-inner span::after { content: '\2736'; margin-left: 2.5rem; font-style: normal; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── BUTTON ── */
.btn { display: inline-flex; align-items: center; gap: 0.6rem; background: var(--accent); color: var(--green); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.9rem 2rem; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.btn:hover { background: var(--cream); transform: translateY(-2px); }

/* ── CONTACT SECTION ── */
.contact-section { background: var(--accent); text-align: center; padding: 7rem 3rem; }
.contact-section h2 { font-family: var(--serif); font-size: clamp(2.5rem,5vw,4.5rem); font-weight: 900; color: var(--green); margin-bottom: 0.75rem; line-height: 1.05; }
.contact-section p { font-size: 1rem; color: rgba(26,58,42,0.65); margin-bottom: 2rem; }
.contact-email { font-size: 1.1rem; font-weight: 500; color: var(--green); text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.contact-links { display: flex; align-items: center; justify-content: center; gap: 2rem; margin-top: 1.5rem; }
.contact-links a { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(26,58,42,0.55); text-decoration: none; transition: color 0.2s; }
.contact-links a:hover { color: var(--green); }

/* ── NEXT PROJECT ── */
.next-project { display: flex; align-items: center; justify-content: space-between; padding: 3rem; background: var(--green-mid); border-top: 1px solid var(--border); text-decoration: none; color: inherit; transition: background 0.25s; }
.next-project:hover { background: var(--green-light); }
.next-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.next-title { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--cream); }
.next-arrow { font-size: 3rem; color: var(--accent); line-height: 1; }

/* ── BACK LINK ── */
.back-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-bottom: 2rem; transition: color 0.2s; }
.back-link:hover { color: var(--cream); }

/* ── SWATCHES ── */
.swatch-row { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 2rem 0; }
.swatch { text-align: center; }
.swatch-dot { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 0.75rem; }
.swatch-name { font-size: 0.8rem; font-weight: 500; color: var(--cream); }
.swatch-hex { font-size: 0.7rem; color: var(--muted); }

/* ── FADE ── */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── PLAY BUTTON SVG (used in video cards) ── */
.play-icon-svg {
  width: 18px; height: 18px; display: block;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }

  /* Hide desktop nav links, show burger */
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .section { padding: 3rem 1.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-case { grid-template-columns: 1fr; gap: 2.5rem; }
  .meta-sidebar { position: static; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-cell { border-bottom: 1px solid var(--border); }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.5rem; }
  .next-project { flex-direction: column; gap: 1rem; align-items: flex-start; padding: 2rem 1.5rem; }
  .contact-section { padding: 5rem 1.5rem; }
}
