/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d0d;
  --bg2: #141414;
  --bg3: #1a1a1a;
  --border: rgba(255,255,255,0.08);
  --text: #f0ede8;
  --muted: #888;
  --accent: #c9a84c;
  --accent-dim: rgba(201,168,76,0.15);
  --white: #ffffff;
  --nav-h: 72px;
  --radius: 4px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
.serif { font-family: 'Playfair Display', Georgia, serif; }
h1, h2, h3 { font-weight: 600; line-height: 1.1; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-family: 'Playfair Display', Georgia, serif;
  margin-bottom: 48px;
  color: var(--white);
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}
nav.scrolled {
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-contact-btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 24px;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-contact-btn:hover { background: var(--accent); color: var(--bg); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; }

/* ===== HERO ===== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/headshots/08_RomanM00101_2_1.jpg');
  background-size: cover;
  background-position: center 10%;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,0.2) 0%,
    rgba(13,13,13,0.1) 40%,
    rgba(13,13,13,0.7) 70%,
    rgba(13,13,13,0.97) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 60px 80px;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.hero-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s var(--ease) 0.5s forwards;
}

.hero-tagline {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.6);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease) 0.9s forwards;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.35); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.2s forwards;
}
.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease infinite 1.5s;
}

/* ===== SECTIONS ===== */
section { padding: 100px 60px; }

.container { max-width: 1200px; margin: 0 auto; }

/* ===== REEL SECTION ===== */
#reel { background: var(--bg); }

.reel-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.reel-tab {
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  cursor: pointer;
}
.reel-tab.active { color: var(--white); border-color: var(--accent); }
.reel-tab:hover:not(.active) { color: rgba(255,255,255,0.6); }

.reel-panel { display: none; }
.reel-panel.active { display: block; }

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Voice Over Panel */
.vo-intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  max-width: 500px;
}

.audio-tracks { display: flex; flex-direction: column; gap: 2px; }

.audio-track {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: var(--bg2);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}
.audio-track:hover, .audio-track.playing { border-color: rgba(201,168,76,0.3); background: var(--bg3); }

.audio-play-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
  color: var(--white);
}
.audio-track.playing .audio-play-btn { background: var(--accent); border-color: var(--accent); color: #0d0d0d; }
.audio-play-btn:hover { background: rgba(255,255,255,0.1); }

.audio-info { flex: 1; min-width: 0; }
.audio-title { font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.audio-client { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.audio-progress-wrap {
  flex: 2; display: flex; flex-direction: column; gap: 6px;
}
.audio-progress {
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.audio-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}
.audio-times { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }

/* Bud Light promo */
.budlight-promo {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.budlight-promo img { width: 80px; height: 80px; object-fit: contain; border-radius: 4px; }
.budlight-promo-text h4 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.budlight-promo-text p { font-size: 0.875rem; color: var(--muted); }
.budlight-watch-btn {
  margin-left: auto;
  padding: 10px 22px;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.budlight-watch-btn:hover { background: var(--accent); color: #0d0d0d; }

/* ===== GALLERY SECTIONS ===== */
#headshots, #candids { background: var(--bg); }
#previous-work { background: var(--bg2); }

.gallery-grid {
  columns: 3;
  column-gap: 12px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  display: block;
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s ease;
}
.gallery-item img.loaded { opacity: 1; }
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(201,168,76,0);
  transition: background 0.3s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item:hover::after { background: rgba(201,168,76,0.08); }

/* Previous Work - uniform grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.work-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.work-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.4s ease;
}
.work-item img.loaded { opacity: 1; }
.work-item:hover img { transform: scale(1.06); }

/* ===== ABOUT ===== */
#about { background: var(--bg2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  border-radius: 4px;
  display: block;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  right: 16px; bottom: 16px;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 4px;
  z-index: -1;
}

.about-text .section-label { display: block; margin-bottom: 12px; }
.about-text h2 { margin-bottom: 28px; }
.about-text p {
  color: rgba(240,237,232,0.7);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 1.0rem;
}
.about-text p:last-of-type { margin-bottom: 36px; }

.about-credits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}
.credit-tag {
  padding: 6px 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(240,237,232,0.6);
}

.social-links { display: flex; gap: 16px; }
.social-link {
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 16px;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); }

/* ===== RESUME ===== */
#resume { background: var(--bg); }
.resume-wrap {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.resume-img {
  width: 260px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.resume-img img { width: 100%; display: block; }
.resume-content { flex: 1; }
.resume-content .section-label { display: block; margin-bottom: 12px; }
.resume-content h2 { margin-bottom: 24px; }
.resume-content p { color: var(--muted); margin-bottom: 36px; line-height: 1.8; }
.resume-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.resume-download:hover { background: var(--accent); color: #0d0d0d; }

/* ===== CONTACT ===== */
#contact { background: var(--bg2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.contact-intro .section-label { display: block; margin-bottom: 12px; }
.contact-intro h2 { margin-bottom: 20px; }
.contact-intro p { color: var(--muted); line-height: 1.8; margin-bottom: 32px; }

.contact-socials { display: flex; flex-direction: column; gap: 12px; }
.contact-social-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(240,237,232,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.contact-social-link:hover { color: var(--white); }
.contact-social-link svg { width: 18px; height: 18px; flex-shrink: 0; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: rgba(201,168,76,0.5); }
.form-group textarea { height: 140px; }

.form-submit {
  align-self: flex-start;
  padding: 16px 40px;
  background: var(--accent);
  color: #0d0d0d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.35); }
.form-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-success {
  display: none;
  padding: 16px 20px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 0.9rem;
}
.form-success.show { display: block; }

/* ===== FOOTER ===== */
footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  padding: 40px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.footer-logo span { color: var(--accent); }
.footer-copy { font-size: 12px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 12px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.lightbox.open { display: flex; }
.lightbox.visible { opacity: 1; }

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.8);
}
.lightbox-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 32px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--white); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  padding: 20px;
  transition: color 0.2s;
  line-height: 1;
  user-select: none;
}
.lightbox-nav:hover { color: var(--white); }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ===== VIDEO MODAL ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.97);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.video-modal.open { display: flex; }
.video-modal.visible { opacity: 1; }
.video-modal video {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 4px;
  box-shadow: 0 30px 100px rgba(0,0,0,0.8);
}
.video-modal-close {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 32px;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: color 0.2s;
}
.video-modal-close:hover { color: var(--white); }

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* ===== KEYFRAMES ===== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===== MOBILE NAV ===== */
@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .nav-links, .nav-contact-btn { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(13,13,13,0.98);
    backdrop-filter: blur(16px);
    padding: 32px 24px 40px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open a { font-size: 15px; padding: 12px 0; border-bottom: 1px solid var(--border); }

  section { padding: 72px 24px; }
  .hero-content { padding: 0 24px 60px; }
  .hero-scroll { right: 24px; }
  .gallery-grid { columns: 2; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-wrap::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .resume-wrap { flex-direction: column; }
  .resume-img { width: 100%; max-width: 280px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
  .budlight-promo { flex-wrap: wrap; }
  .budlight-watch-btn { margin-left: 0; }
}

@media (max-width: 560px) {
  .gallery-grid { columns: 1; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
