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

:root {
  --ink:     #0e0c0a;
  --paper:   #f4f0eb;
  --warm:    #e8e2d9;
  --mid:     #7a746d;
  --gold:    #a8844a;
  --rule:    #cdc7be;
  --dark-bg: #111009;
  --fd: 'Cormorant Garamond', Georgia, serif;
  --fb: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--fb);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem;
  height: 64px;
  background: rgba(244, 240, 235, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}

nav.dark-nav {
  background: rgba(14, 12, 10, 0.9);
  border-bottom-color: rgba(255,255,255,0.08);
}

.nav-logo {
  font-family: var(--fd);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.3s;
}

nav.dark-nav .nav-logo { color: var(--paper); }

.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mid);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
nav.dark-nav .nav-links a:hover { color: var(--paper); }

/* ─── HERO ─── */
#home {
  position: relative;
  min-height: 100vh;
  background: var(--dark-bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 7rem;
  overflow: hidden;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 15% 110%, rgba(168,132,74,0.18) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 90% -10%, rgba(168,132,74,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-number {
  position: absolute;
  top: 50%;
  right: 4vw;
  transform: translateY(-50%);
  font-family: var(--fd);
  font-size: clamp(18rem, 28vw, 28rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,0.025);
  letter-spacing: -0.05em;
  pointer-events: none;
  user-select: none;
}

.hero-content { position: relative; z-index: 2; max-width: 820px; }

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: fadeUp 1s 0.3s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-name {
  font-family: var(--fd);
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.5s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-name em {
  font-style: italic;
  color: rgba(244,240,235,0.5);
}

.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 1s 0.7s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-bio {
  max-width: 520px;
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(244,240,235,0.6);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s 0.85s cubic-bezier(0.16,1,0.3,1) forwards;
}

.hero-bio strong { color: rgba(244,240,235,0.9); font-weight: 400; }

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 1s cubic-bezier(0.16,1,0.3,1) forwards;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--fb);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(244,240,235,0.35);
  color: var(--paper);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:hover {
  background: rgba(244,240,235,0.1);
  border-color: rgba(244,240,235,0.6);
}

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.btn-gold:hover {
  background: #8e6d3a;
  border-color: #8e6d3a;
  color: #fff;
}

.btn-dark {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-dark:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-dark-filled {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-dark-filled:hover {
  background: var(--gold);
  border-color: var(--gold);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.32s; }
.reveal-delay-4 { transition-delay: 0.44s; }

/* ─── INNER SECTIONS ─── */
.section-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 8rem 3rem 6rem;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
  gap: 2rem;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--fd);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
}

.section-count {
  font-family: var(--fd);
  font-size: 5rem;
  font-weight: 300;
  color: var(--warm);
  line-height: 1;
  letter-spacing: -0.02em;
}

.section-intro {
  max-width: 580px;
  font-size: 1rem;
  line-height: 1.85;
  color: #4a4540;
  margin-bottom: 3.5rem;
}

/* ─── PLACEHOLDERS ─── */
.placeholder {
  border: 1px dashed var(--rule);
  background: var(--warm);
  padding: 3.5rem 2rem;
  text-align: center;
  color: var(--mid);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* ─── WORKS LIST ─── */
.group-label {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mid);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
}

.work-item {
  display: grid;
  grid-template-columns: 1fr;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--rule);
  gap: 0.4rem;
  transition: background 0.2s;
}

.work-item:last-of-type { border-bottom: none; }

.work-title {
  font-family: var(--fd);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
}

.work-collab {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-style: italic;
}

.work-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #4a4540;
  max-width: 600px;
  margin-top: 0.3rem;
}

.works-group { margin-bottom: 3.5rem; }

/* ─── CREDENTIALS ─── */
.credential-list {
  list-style: none;
  margin-bottom: 3rem;
}

.credential-list li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
  color: #4a4540;
  line-height: 1.75;
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.credential-list li::before {
  content: '—';
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.8rem;
}

/* ─── PULL QUOTE ─── */
.pull-quote {
  font-family: var(--fd);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--mid);
  max-width: 640px;
  padding: 2.5rem 0 2.5rem 2rem;
  border-left: 2px solid var(--gold);
  margin: 3rem 0;
}

/* ─── VENTURE CARD ─── */
.venture-card {
  border: 1px solid var(--rule);
  padding: 2.5rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.venture-card-body { flex: 1; min-width: 200px; }

.venture-card-title {
  font-family: var(--fd);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.venture-card-desc {
  font-size: 0.92rem;
  color: #4a4540;
  line-height: 1.8;
  max-width: 480px;
}

/* ─── CONTACT ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-type {
  padding: 2rem;
  border: 1px solid var(--rule);
}

.contact-type-label {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.contact-type-title {
  font-family: var(--fd);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.contact-type-desc {
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark-bg);
  color: rgba(244,240,235,0.35);
  text-align: center;
  padding: 2.5rem 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

footer a { color: var(--gold); text-decoration: none; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.6rem; letter-spacing: 0.1em; }
  #home { padding: 0 6vw 5rem; }
  .section-wrap { padding: 5rem 1.5rem 4rem; }
  .section-header { grid-template-columns: 1fr; }
  .section-count { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 1rem; }
  .hero-number { display: none; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
}
