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

:root {
  --bg: #0a0a0a;
  --bg-lift: #131311;
  --bg-card: #1a1917;
  --text: #e8e2d8;
  --text-muted: #8a8580;
  --accent: #c4a35a;
  --accent-dim: rgba(196, 163, 90, 0.15);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --grid-margin: clamp(1.5rem, 5vw, 6rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- NAV --- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem var(--grid-margin);
  mix-blend-mode: difference;
}
nav .name {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}
nav ul { list-style: none; display: flex; gap: 2.5rem; }
nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: opacity 0.3s;
}
nav a:hover { opacity: 0.6; }
@media (max-width: 768px) { nav ul { display: none; } }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--grid-margin) 8vh;
  overflow: hidden;
}
.hero-image { position: absolute; inset: 0; z-index: 0; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.1) 70%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero .tagline {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-muted);
  max-width: 500px;
}
.hero .scroll-hint {
  position: absolute;
  bottom: 3vh;
  right: var(--grid-margin);
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: drift 2s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --- PAGE HEADER (subpages) --- */
.page-header {
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--grid-margin) 6vh;
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-header-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.3) 100%);
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 1rem;
}
.page-header .subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 50ch;
}

/* --- SECTION UTILITIES --- */
.section-contained { max-width: 68ch; margin-inline: auto; padding: 12vh var(--grid-margin); }
.section-wide { max-width: 1400px; margin-inline: auto; padding: 10vh var(--grid-margin); }
.section-full { width: 100%; padding: 10vh var(--grid-margin); }

.label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 2rem;
  display: block;
}

/* --- BIO SPLIT --- */
.bio-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 90vh; gap: 0; }
.bio-image { position: relative; overflow: hidden; }
.bio-image img { width: 100%; height: 100%; object-fit: cover; }
.bio-text {
  padding: clamp(3rem, 6vw, 8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--bg);
}
.bio-text h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 2.5rem;
}
.bio-text p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; max-width: 50ch; }
@media (max-width: 900px) {
  .bio-section { grid-template-columns: 1fr; min-height: auto; }
  .bio-image { height: 60vh; }
}

/* --- PROSE (about, project pages) --- */
.prose { max-width: 65ch; margin-inline: auto; padding: 8vh var(--grid-margin); }
.prose h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 2rem;
  margin-top: 4rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.9; margin-bottom: 1.5rem; }
.prose p strong { color: var(--text); font-weight: 500; }
.prose .lead { font-size: 1.1rem; color: var(--text); line-height: 1.8; }

/* --- UPCOMING --- */
.upcoming { background: var(--bg-lift); padding: 12vh var(--grid-margin); }
.upcoming-grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 4rem; }
.upcoming-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.upcoming-item:last-child { border-bottom: none; padding-bottom: 0; }
.upcoming-year { font-family: var(--serif); font-size: 4rem; font-weight: 400; color: var(--accent-dim); line-height: 1; min-width: 6rem; }
.upcoming-info h3 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 500; margin-bottom: 0.5rem; }
.upcoming-info h3 em { font-style: italic; font-weight: 400; }
.upcoming-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.upcoming-meta strong { color: var(--text); font-weight: 500; }
.upcoming-desc { color: var(--text-muted); font-size: 0.9rem; max-width: 55ch; line-height: 1.7; }
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}
@media (max-width: 768px) {
  .upcoming-item { grid-template-columns: 1fr; gap: 1rem; }
  .upcoming-year { font-size: 2.5rem; }
}

/* --- FILMOGRAPHY --- */
.filmography { padding: 12vh var(--grid-margin); }
.filmography-header { max-width: 1200px; margin: 0 auto 4rem; }
.filmography-header h2 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 4rem); font-weight: 400; }
.credits-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.04);
}
.credit { background: var(--bg); padding: 2rem 2.5rem; transition: background 0.3s; }
.credit:hover { background: var(--bg-lift); }
.credit-title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin-bottom: 0.3rem; }
.credit-role { color: var(--accent); font-size: 0.85rem; font-weight: 500; margin-bottom: 0.5rem; }
.credit-detail { font-size: 0.8rem; color: var(--text-muted); }
.credit-desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; line-height: 1.6; }

/* --- TIMELINE (full filmography) --- */
.timeline { max-width: 900px; margin: 0 auto; }
.timeline-year {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent);
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.timeline-year:first-child { margin-top: 0; }
.timeline-entry {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
}
.timeline-entry:last-child { border-bottom: none; }
.timeline-title { font-family: var(--serif); font-size: 1.2rem; font-weight: 500; margin-bottom: 0.25rem; }
.timeline-role { color: var(--accent); font-size: 0.85rem; }
.timeline-network { font-size: 0.8rem; color: var(--text-muted); text-align: right; }

/* --- PRESS LIST --- */
.press-list { max-width: 900px; margin: 0 auto; }
.press-item {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.press-item:last-child { border-bottom: none; }
.press-item h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.press-item h3 a { color: var(--text); text-decoration: none; transition: color 0.3s; }
.press-item h3 a:hover { color: var(--accent); }
.press-outlet { font-size: 0.8rem; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; font-weight: 500; }
.press-date { font-size: 0.8rem; color: var(--text-muted); }
.press-excerpt { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-top: 0.75rem; max-width: 60ch; }

/* --- PULL QUOTE --- */
.pullquote { padding: 15vh var(--grid-margin); display: flex; justify-content: center; align-items: center; background: var(--bg); }
.pullquote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  text-align: center;
  max-width: 700px;
  line-height: 1.4;
  color: var(--text);
}
.pullquote blockquote::before { content: ''; display: block; width: 40px; height: 1px; background: var(--accent); margin: 0 auto 2rem; }

/* --- FULL-BLEED IMAGE BREAK --- */
.image-break { width: 100%; height: 60vh; position: relative; overflow: hidden; }
.image-break img { width: 100%; height: 100%; object-fit: cover; }
.image-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, transparent 30%, transparent 70%, rgba(10,10,10,0.3) 100%);
}

/* --- DETAILS --- */
.details { padding: 10vh var(--grid-margin); background: var(--bg-lift); }
.details-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}
.detail-item h4 { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; font-weight: 500; }
.detail-item p { font-size: 0.95rem; line-height: 1.6; color: var(--text); }
.detail-item .muted { color: var(--text-muted); }

/* --- REEL / VIDEO --- */
.video-section { max-width: 1000px; margin: 0 auto; padding: 8vh var(--grid-margin); }
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--bg-lift);
  border: 1px solid rgba(255,255,255,0.06);
}
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-caption { margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-muted); }

/* --- FOOTER --- */
footer { padding: 10vh var(--grid-margin) 4rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
footer h2 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; margin-bottom: 2rem; }
.contact-card h3 { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.8; }
.contact-card a { color: var(--accent); text-decoration: none; transition: opacity 0.3s; }
.contact-card a:hover { opacity: 0.7; }
.footer-links { display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent); }
.copyright { max-width: 1200px; margin: 4rem auto 0; font-size: 0.75rem; color: var(--text-muted); opacity: 0.5; }
@media (max-width: 768px) { .footer-content { grid-template-columns: 1fr; gap: 2rem; } }

/* --- ANIMATIONS --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Film grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}
