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

:root {
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-dark: #8A6A1F;
  --ink: #0D0D0D;
  --border: rgba(201,168,76,0.2);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--ink);
  color: #E8E6E0;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(13,13,13,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid var(--border);
  transition: padding 0.3s;
}

nav.scrolled { padding: 0.85rem 4rem; }

.nav-logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
  text-decoration: none;
}
.nav-logo span { color: #E8E6E0; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: #A09E98;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--ink) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 2px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--gold); font-size: 1.4rem;
  cursor: pointer;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 4rem 6rem;
  position: relative; overflow: hidden;
}

.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(var(--gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute; top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; max-width: 780px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.75rem;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 32px; height: 1px; background: var(--gold);
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.1; color: #F0EDE6;
  margin-bottom: 1.75rem;
}
h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-size: 1.125rem; color: #8A8880;
  max-width: 560px; margin-bottom: 2.75rem; line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-block;
  background: var(--gold); color: var(--ink);
  padding: 0.875rem 2rem;
  font-family: var(--sans); font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.04em;
  text-decoration: none; border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  padding: 0.875rem 2rem;
  font-family: var(--sans); font-weight: 500;
  font-size: 0.9rem; letter-spacing: 0.04em;
  text-decoration: none; border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  display: flex; gap: 3rem;
  margin-top: 4rem; padding-top: 2.5rem;
  border-top: 0.5px solid var(--border);
}
.stat-num {
  font-family: var(--serif);
  font-size: 2rem; color: var(--gold);
  line-height: 1; margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.8rem; color: #6B6860;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ── SECTIONS ── */
section { padding: 6rem 0; }
section:nth-child(even) { background: #0A0908; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 4rem; }

.section-label {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #F0EDE6; line-height: 1.15;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.05rem; color: #7A7870;
  max-width: 520px; line-height: 1.8;
  margin-bottom: 3rem;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 3rem;
}

.service-card {
  padding: 2.25rem;
  background: #0D0D0D;
  transition: background 0.2s;
}
.service-card:hover { background: #141310; }

.service-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: rgba(201,168,76,0.12);
  line-height: 1; margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1rem; font-weight: 600;
  color: #D8D5CE; margin-bottom: 0.75rem;
}
.service-card p { font-size: 0.875rem; color: #5E5C57; line-height: 1.7; margin-bottom: 1.25rem; }

.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
  font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(201,168,76,0.08);
  border: 0.5px solid rgba(201,168,76,0.2);
  padding: 0.2rem 0.6rem; border-radius: 2px;
}

/* ── WHY ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem; margin-top: 3rem;
}

.pillar {
  display: flex; gap: 1.25rem;
  padding: 1.75rem;
  background: rgba(255,255,255,0.02);
  border: 0.5px solid rgba(255,255,255,0.06);
  border-radius: 4px;
}
.pillar-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(201,168,76,0.08);
  border: 0.5px solid rgba(201,168,76,0.2);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.pillar h3 { font-size: 0.95rem; font-weight: 600; color: #D8D5CE; margin-bottom: 0.4rem; }
.pillar p { font-size: 0.875rem; color: #5E5C57; line-height: 1.7; }

.manifesto {
  margin-top: 3rem; padding: 2.5rem;
  background: rgba(201,168,76,0.04);
  border-left: 2px solid var(--gold);
}
.manifesto blockquote {
  font-family: var(--serif);
  font-size: 1.4rem; color: #C8C5BE;
  line-height: 1.5; font-style: italic;
  margin-bottom: 1rem;
}
.manifesto p { font-size: 0.9rem; color: #5E5C57; line-height: 1.8; }

/* ── PORTFOLIO ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}

.project-card {
  background: #111010;
  border: 0.5px solid rgba(255,255,255,0.06);
  border-radius: 4px; overflow: hidden;
  transition: border-color 0.2s;
}
.project-card:hover { border-color: rgba(201,168,76,0.3); }

.project-thumb {
  height: 140px;
  background: linear-gradient(135deg, #1A1810 0%, #0D0D10 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.04);
}
.project-body { padding: 1.5rem; }
.project-cat {
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.project-card h3 { font-size: 1rem; font-weight: 600; color: #D8D5CE; margin-bottom: 0.5rem; }
.project-card p { font-size: 0.85rem; color: #5E5C57; line-height: 1.65; }

/* ── CONTACT ── */
#contact { text-align: center; }
.contact-inner { max-width: 600px; margin: 0 auto; }
.contact-inner p { color: #6B6860; margin-bottom: 2.5rem; }

.contact-links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.contact-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 0.5px solid rgba(201,168,76,0.25);
  color: var(--gold-light); text-decoration: none;
  font-size: 0.875rem; font-weight: 500; border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.contact-link:hover { border-color: var(--gold); background: rgba(201,168,76,0.05); color: var(--gold); }

/* ── FOOTER ── */
footer {
  padding: 2.5rem 4rem;
  border-top: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: #080807;
}
.footer-logo { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); }
footer p { font-size: 0.8rem; color: #3A3832; }
.footer-tag { font-size: 0.75rem; color: #2A2820; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-content > * { animation: fadeUp 0.7s ease both; }
.hero-eyebrow { animation-delay: 0.1s; }
.hero-content h1 { animation-delay: 0.2s; }
.hero-sub { animation-delay: 0.3s; }
.hero-actions { animation-delay: 0.4s; }
.hero-stats { animation-delay: 0.5s; }

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { 
    display: none; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(13,13,13,0.98);
    padding: 1.5rem; gap: 1.25rem;
    border-bottom: 0.5px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .container { padding: 0 1.5rem; }
  #hero { padding: 7rem 1.5rem 4rem; }
  .hero-stats { gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 0.75rem; text-align: center; padding: 2rem 1.5rem; }
}
