*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0a0a; --bg2: #111111; --bg3: #1a1a1a;
  --text: #f0ede8; --muted: #888; --accent: #c8a96e;
  --border: rgba(255,255,255,0.08);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', sans-serif;
}
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── NAV ── */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 4rem; background: linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, transparent 100%); transition: background 0.3s; }
nav.scrolled { background: rgba(10,10,10,0.97); border-bottom: 1px solid var(--border); }
.nav-logo { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; letter-spacing: 0.05em; color: var(--text); text-decoration: none; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 4rem 6rem; position: relative; overflow: hidden; background: var(--bg); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(200,169,110,0.06) 0%, transparent 60%), radial-gradient(ellipse 50% 80% at 80% 80%, rgba(255,255,255,0.02) 0%, transparent 50%); }
.hero-label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.5rem; }
.hero-title { font-family: var(--font-display); font-size: clamp(3.5rem, 8vw, 7rem); font-weight: 400; line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 2rem; max-width: 900px; }
.hero-title em { font-style: italic; color: var(--accent); }
.hero-sub { display: flex; align-items: center; gap: 3rem; flex-wrap: wrap; }
.hero-desc { font-size: 0.9rem; color: var(--muted); max-width: 400px; line-height: 1.7; }
.hero-scroll { display: flex; align-items: center; gap: 0.75rem; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; margin-left: auto; transition: color 0.2s; }
.hero-scroll:hover { color: var(--text); }
.scroll-line { width: 40px; height: 1px; background: var(--muted); transition: width 0.2s; }
.hero-scroll:hover .scroll-line { width: 60px; background: var(--text); }

/* ── SHARED ── */
section { padding: 6rem 4rem; }
.section-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; line-height: 1.1; margin-bottom: 3rem; }
.divider { width: 100%; height: 1px; background: var(--border); }

/* ── FILTER TABS (shared) ── */
.filter-tabs { display: flex; gap: 0; border: 1px solid var(--border); overflow: hidden; border-radius: 2px; }
.filter-btn { background: none; border: none; border-right: 1px solid var(--border); color: var(--muted); font-family: var(--font-body); font-size: 0.65rem; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.55rem 1.1rem; cursor: pointer; transition: background 0.2s, color 0.2s; }
.filter-btn:last-child { border-right: none; }
.filter-btn:hover { background: var(--bg3); color: var(--text); }
.filter-btn.active { background: var(--accent); color: #0a0a0a; }

/* ── REEL ── */
.reel-section { background: #000; padding: 0; position: relative; }
.reel-title-bar { display: flex; align-items: center; justify-content: space-between; padding: 2rem 4rem; border-bottom: 1px solid var(--border); }
.reel-title-bar span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.reel-embed { width: 100%; aspect-ratio: 16/9; max-height: calc(100vh - 10rem); max-width: calc((100vh - 10rem) * 1.7778); margin: 0 auto; background: #000; }
.reel-embed iframe { width: 100%; height: 100%; display: block; border: none; }

/* ── SELECTED WORKS ── */
.works-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5px; }
.work-item { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg3); cursor: pointer; }
.work-item.hidden { display: none; }
.work-thumb-placeholder { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s; }
.work-item:hover .work-thumb-placeholder { transform: scale(1.04); }
.work-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%); opacity: 0; transition: opacity 0.3s; }
.work-item:hover .work-overlay { opacity: 1; }
.work-category { font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem; }
.work-title { font-family: var(--font-display); font-size: 1rem; font-weight: 400; color: var(--text); line-height: 1.2; }

/* ── ARCHIVE TOGGLE BUTTON ── */
.archive-link-wrap { margin-top: 3rem; display: flex; align-items: center; justify-content: center; }
.archive-link { display: inline-flex; align-items: center; gap: 1rem; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); text-decoration: none; border: 1px solid var(--border); padding: 0.9rem 2rem; transition: color 0.2s, border-color 0.2s; cursor: pointer; background: none; font-family: var(--font-body); }
.archive-link:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
.archive-link-line { width: 30px; height: 1px; background: currentColor; transition: width 0.2s; display: inline-block; }
.archive-link:hover .archive-link-line { width: 50px; }

/* ── ARCHIVE SECTION ── */
#archive { display: none; padding: 0; }
#archive.visible { display: block; }

.archive-header { padding: 5rem 4rem 4rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.archive-header-left p { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }
.archive-header-left h2 { font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.0; }
.archive-count { font-family: var(--font-display); font-size: 4rem; font-weight: 400; color: rgba(255,255,255,0.08); line-height: 1; }

.archive-controls { padding: 2rem 4rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.view-toggle { display: flex; gap: 0; border: 1px solid var(--border); border-radius: 2px; overflow: hidden; }
.view-btn { background: none; border: none; border-right: 1px solid var(--border); color: var(--muted); padding: 0.5rem 0.75rem; cursor: pointer; transition: background 0.2s, color 0.2s; font-size: 0.75rem; }
.view-btn:last-child { border-right: none; }
.view-btn.active { background: var(--bg3); color: var(--text); }

/* GRID VIEW */
.archive-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5px; }
.archive-grid.hidden { display: none; }
.grid-item { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg3); cursor: pointer; }
.grid-item.filtered-out { display: none; }
.grid-item svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.grid-item:hover svg { transform: scale(1.04); }
.grid-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 55%); opacity: 0; transition: opacity 0.3s; }
.grid-item:hover .grid-overlay { opacity: 1; }
.grid-cat { font-size: 0.55rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.25rem; }
.grid-title { font-family: var(--font-display); font-size: 0.85rem; font-weight: 400; color: var(--text); line-height: 1.2; }

/* LIST VIEW */
.archive-list { display: none; }
.archive-list.visible { display: block; }
.list-item { display: grid; grid-template-columns: 100px 1fr auto auto; align-items: center; gap: 2rem; padding: 1.25rem 4rem; border-bottom: 1px solid var(--border); cursor: pointer; transition: background 0.15s; }
.list-item:hover { background: var(--bg2); }
.list-item.filtered-out { display: none; }
.list-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--bg3); position: relative; flex-shrink: 0; }
.list-thumb svg { width: 100%; height: 100%; display: block; }
.list-title { font-family: var(--font-display); font-size: 1rem; font-weight: 400; color: var(--text); margin-bottom: 0.25rem; }
.list-cat { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.list-year { font-size: 0.75rem; color: var(--muted); white-space: nowrap; }
.list-role { font-size: 0.7rem; color: var(--muted); white-space: nowrap; text-align: right; }
.list-arrow { font-size: 0.9rem; color: var(--muted); transition: color 0.2s, transform 0.2s; }
.list-item:hover .list-arrow { color: var(--accent); transform: translateX(4px); }

.no-results { padding: 4rem; text-align: center; color: var(--muted); font-size: 0.85rem; display: none; }
.no-results.visible { display: block; }

/* ── ABOUT ── */
.about-section { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.about-photo { aspect-ratio: 3/4; background: var(--bg3); border: 1px solid var(--border); overflow: hidden; }
.about-photo-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }
.about-photo-placeholder svg { opacity: 0.3; }
.about-content { padding-top: 1rem; }
.about-content p { font-size: 0.95rem; color: rgba(240,237,232,0.75); line-height: 1.9; margin-bottom: 1.5rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.stat-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 400; color: var(--accent); line-height: 1; margin-bottom: 0.4rem; }
.stat-label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.tag { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: 0.35rem 0.75rem; border-radius: 2px; }

/* ── CONTACT ── */
.contact-section { padding: 6rem 4rem 5rem; }
.contact-inner { max-width: 700px; }
.contact-email { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; font-style: italic; color: var(--text); text-decoration: none; display: inline-block; margin-bottom: 3rem; border-bottom: 1px solid var(--border); padding-bottom: 0.25rem; transition: color 0.2s, border-color 0.2s; }
.contact-email:hover { color: var(--accent); border-color: var(--accent); }
.contact-socials { display: flex; gap: 2rem; flex-wrap: wrap; }
.social-link { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.social-link:hover { color: var(--text); }
.social-link::before { content: ''; display: inline-block; width: 16px; height: 1px; background: currentColor; }

/* ── FOOTER ── */
footer { padding: 2rem 4rem; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
footer p { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.05em; }

/* ── LIGHTBOX ── */
.lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 200; align-items: center; justify-content: center; padding: 2rem; }
.lightbox-overlay.open { display: flex; }
.lightbox-box { background: #111; width: 100%; max-width: 860px; border: 0.5px solid rgba(255,255,255,0.1); overflow: hidden; }
.lightbox-video { width: 100%; aspect-ratio: 16/9; background: #000; display: flex; align-items: center; justify-content: center; position: relative; }
.lightbox-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.lightbox-video-placeholder { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lb-play { width: 64px; height: 64px; border: 1px solid rgba(255,255,255,0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.lb-play svg { margin-left: 4px; }
.lb-play-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.lightbox-info { display: grid; grid-template-columns: 1fr auto; gap: 2rem; padding: 1.75rem 2rem; align-items: start; }
.lightbox-cat { font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.lightbox-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 400; color: var(--text); margin-bottom: 0.75rem; }
.lightbox-desc { font-size: 0.85rem; color: rgba(240,237,232,0.6); line-height: 1.7; }
.lightbox-meta { display: flex; flex-direction: column; gap: 1rem; min-width: 120px; }
.lightbox-meta-item span:first-child { display: block; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.lightbox-meta-item span:last-child { font-size: 0.85rem; color: var(--text); }
.lightbox-close { position: fixed; top: 1.5rem; right: 1.5rem; background: rgba(10,10,10,0.8); border: 1px solid var(--border); color: var(--muted); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; transition: color 0.2s, border-color 0.2s; z-index: 201; }
.lightbox-close:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav, section, .contact-section, .archive-header, .archive-controls, footer { padding-left: 2rem; padding-right: 2rem; }
  .reel-title-bar { padding: 1.2rem 2rem; }
  .hero { padding: 0 2rem 4rem; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .list-item { grid-template-columns: 80px 1fr auto; padding: 1rem 2rem; }
  .list-role { display: none; }
  .lightbox-info { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .list-item { grid-template-columns: 70px 1fr; }
  .list-year, .list-arrow { display: none; }
}
