/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

:root {
  --black:     #080808;
  --dark:      #111111;
  --mid:       #1e1e1e;
  --border:    rgba(255,255,255,0.07);
  --white:     #F7F4EF;
  --off-white: #B8B3AA;
  --gold:      #C9A84C;
  --gold-dim:  rgba(201,168,76,0.15);
  --red:       #C84B31;

  --ph1: linear-gradient(135deg,#1a0f08,#3d2010);
  --ph2: linear-gradient(135deg,#080f1a,#102035);
  --ph3: linear-gradient(135deg,#0d1a08,#1e3510);
  --ph4: linear-gradient(135deg,#1a1608,#352e10);
  --ph5: linear-gradient(135deg,#130818,#2d1035);
  --ph6: linear-gradient(135deg,#081a16,#103530);
  --ph7: linear-gradient(135deg,#1a0808,#351010);
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-weight: 400;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── PLACEHOLDER BACKGROUNDS ── */
.ph-bg-1 { background: var(--ph1); }
.ph-bg-2 { background: var(--ph2); }
.ph-bg-3 { background: var(--ph3); }
.ph-bg-4 { background: var(--ph4); }
.ph-bg-5 { background: var(--ph5); }
.ph-bg-6 { background: var(--ph6); }
.ph-bg-7 { background: var(--ph7); }

/* ── NAV ── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 52px;
  transition: background 0.35s, padding 0.35s;
}
#nav.scrolled {
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(14px);
  padding: 18px 52px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white); text-decoration: none;
  transition: color 0.3s;
}
.nav-logo:hover { color: var(--gold); }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--off-white); text-decoration: none;
  transition: color 0.3s; position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

/* ══════════════════════════════
   HOME PAGE — LANDING
══════════════════════════════ */
.page-home {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-start;
}

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: clamp(80px, 14vh, 130px);
  min-height: 100vh;
  gap: 0;
  position: relative;
}

/* Subtle radial glow behind name */
.landing::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at 50% 30%, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* NAME */
.landing-name-wrap {
  text-align: center;
  opacity: 0; animation: fadeUp 0.9s ease 0.2s forwards;
}
.landing-eyebrow {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.landing-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; line-height: 0.85;
  font-size: clamp(5.5rem, 15vw, 15rem);
  letter-spacing: -0.025em;
}
.ln-1 { display: block; font-style: italic; font-weight: 300; }
.ln-2 { display: block; font-weight: 600; }

/* REEL STRIP */
.reel-strip {
  width: 100%;
  overflow: hidden;
  margin: clamp(28px, 4vh, 48px) 0;
  position: relative;
  opacity: 0; animation: fadeIn 1s ease 0.6s forwards;
}
/* Edge fade — smooth disappear into nothing */
.reel-strip::before,
.reel-strip::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 200px; z-index: 2; pointer-events: none;
}
.reel-strip::before { left: 0;  background: linear-gradient(to right, var(--black) 0%, transparent 100%); }
.reel-strip::after  { right: 0; background: linear-gradient(to left,  var(--black) 0%, transparent 100%); }

.reel-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: reelScroll 32s linear infinite;
}
.reel-track:hover { animation-play-state: paused; }

@keyframes reelScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.reel-item {
  flex-shrink: 0;
  width: clamp(160px, 18vw, 260px);
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity 0.4s;
}
.reel-item:hover { transform: scale(1.06); opacity: 0.85; }

/* Video sits on top of placeholder */
.reel-item video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 2;
}

/* Placeholder — explicitly set backgrounds so tiles are always visible */
.reel-ph {
  position: absolute; inset: 0; z-index: 1;
}
.reel-ph.ph-bg-1 { background: linear-gradient(135deg,#1a0f08,#3d2010); }
.reel-ph.ph-bg-2 { background: linear-gradient(135deg,#080f1a,#102035); }
.reel-ph.ph-bg-3 { background: linear-gradient(135deg,#0d1a08,#1e3510); }
.reel-ph.ph-bg-4 { background: linear-gradient(135deg,#1a1608,#352e10); }
.reel-ph.ph-bg-5 { background: linear-gradient(135deg,#130818,#2d1035); }
.reel-ph.ph-bg-6 { background: linear-gradient(135deg,#081a16,#103530); }
.reel-ph.ph-bg-7 { background: linear-gradient(135deg,#1a0808,#351010); }

/* Shimmer sweep so tiles feel alive */
.reel-ph::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.06) 50%,
    transparent 80%
  );
  background-size: 300% 100%;
  animation: shimmer 2.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* TITLE */
.landing-title-wrap {
  text-align: center;
  opacity: 0; animation: fadeUp 0.9s ease 0.8s forwards;
}
.landing-title {
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--off-white);
}
.title-divider { margin: 0 12px; color: var(--gold); }

/* ══════════════════════════════
   WORK PAGE
══════════════════════════════ */
.page-work { min-height: 100vh; }

.work-main {
  padding: 120px 52px 80px;
}
.work-page-header { margin-bottom: 48px; }
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300; font-style: italic;
  color: var(--white);
}

.work-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.gallery-item {
  position: relative; display: block;
  overflow: hidden; text-decoration: none;
  cursor: pointer;
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 16 / 7;   /* cinematic wide format */
  overflow: hidden;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-thumb img,
.gallery-thumb video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-item:hover .gallery-thumb img,
.gallery-item:hover .gallery-thumb video { transform: scale(1.05); }

/* Hover overlay */
.gallery-hover {
  position: absolute; inset: 0;
  background: rgba(8,8,8,0.7);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 28px 32px;
  opacity: 0;
  transition: opacity 0.35s;
}
.gallery-item:hover .gallery-hover { opacity: 1; }

.gh-cat {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.gh-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  font-weight: 600; color: var(--white);
}

/* ══════════════════════════════
   PROJECT DETAIL PAGE
══════════════════════════════ */
.page-project { min-height: 100vh; }

.project-main {
  padding: 100px 52px 80px;
  max-width: 1200px; margin: 0 auto;
}

.back-link {
  display: inline-block; margin-bottom: 40px;
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--off-white); text-decoration: none;
  transition: color 0.3s;
}
.back-link:hover { color: var(--gold); }

.project-video-wrap {
  width: 100%; aspect-ratio: 16/9;
  background: var(--dark);
  overflow: hidden; margin-bottom: 52px;
  position: relative;
}
.project-video-wrap iframe,
.project-video-wrap img,
.project-video-wrap video {
  width: 100%; height: 100%; object-fit: cover; border: none;
}

.video-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.video-ph-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  color: rgba(247,244,239,0.2);
}
.big-play {
  width: 80px; height: 80px;
  border: 1.5px solid rgba(201,168,76,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: rgba(201,168,76,0.3);
}
.video-ph-inner p { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; }

.project-meta-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.project-cat {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold);
}
.project-year {
  font-size: 0.65rem; letter-spacing: 0.15em;
  color: var(--off-white);
}
.project-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 600; line-height: 1.05;
  margin-bottom: 32px;
}
.project-details-row {
  display: flex; gap: 60px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0; margin-bottom: 40px;
}
.detail-label {
  font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 5px;
}
.detail-val { font-size: 0.9rem; color: var(--white); }

.project-desc {
  font-size: 1rem; line-height: 1.9; color: var(--off-white);
  max-width: 680px;
}

.project-nav {
  display: flex; justify-content: space-between;
  margin-top: 80px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.proj-nav-btn {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--off-white); text-decoration: none;
  transition: color 0.3s;
}
.proj-nav-btn:hover { color: var(--gold); }

/* ══════════════════════════════
   ABOUT PAGE
══════════════════════════════ */
.page-about { min-height: 100vh; }

.about-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.about-photo-col {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
}
.about-photo-wrap {
  width: 100%; height: 100%;
  background: var(--mid);
  overflow: hidden;
}
.about-photo-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-photo-ph {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; color: rgba(247,244,239,0.15);
}
.about-photo-ph svg { width: 64px; height: 64px; }
.about-photo-ph p { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; }

.about-text-col {
  padding: 140px 72px 80px;
  display: flex; flex-direction: column; justify-content: center;
}
.about-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.about-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.0; margin-bottom: 12px;
}
.about-name em { font-style: italic; }
.about-role {
  font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--off-white); margin-bottom: 48px;
}
.about-bio p {
  font-size: 0.97rem; line-height: 1.9; color: var(--off-white);
  margin-bottom: 18px;
}
.about-credits {
  margin-top: 52px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.credit {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.credit-co { font-size: 0.88rem; color: var(--white); font-weight: 500; }
.credit-role {
  font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold);
}

/* ══════════════════════════════
   CONTACT PAGE
══════════════════════════════ */
.page-contact { min-height: 100vh; }

.contact-main {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 100vh; align-items: center;
  padding: 100px 52px;
  gap: 80px;
}
.contact-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.0; margin-bottom: 28px;
}
.contact-heading em { font-style: italic; color: var(--gold); }
.contact-sub {
  font-size: 0.9rem; line-height: 1.85; color: var(--off-white);
  max-width: 400px; margin-bottom: 56px;
}
.contact-links { display: flex; flex-direction: column; gap: 0; }
.contact-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; transition: border-color 0.3s;
}
.contact-item:first-child { border-top: 1px solid var(--border); }
.contact-item:hover .ci-val { color: var(--gold); }
.ci-label {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--off-white);
}
.ci-val {
  font-size: 0.9rem; color: var(--white);
  transition: color 0.3s;
}

/* Decorative visual */
.contact-right { display: flex; align-items: center; justify-content: center; }
.contact-visual {
  position: relative; width: 360px; height: 360px;
  display: flex; align-items: center; justify-content: center;
}
.cv-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.15);
  animation: ringPulse 4s ease-in-out infinite;
}
.cv-ring-1 { width: 100%; height: 100%; animation-delay: 0s; }
.cv-ring-2 { width: 70%; height: 70%; animation-delay: 0.6s; border-color: rgba(201,168,76,0.22); }
.cv-ring-3 { width: 40%; height: 40%; animation-delay: 1.2s; border-color: rgba(201,168,76,0.35); }
@keyframes ringPulse {
  0%,100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.04); }
}
.cv-center {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  z-index: 1;
}
.cv-initials {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem; font-weight: 600; color: var(--gold);
  letter-spacing: 0.06em;
}
.cv-loc {
  font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--off-white);
}

/* ══════════════════════════════
   ANIMATIONS & SHARED
══════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  #nav { padding: 20px 24px; }
  #nav.scrolled { padding: 14px 24px; }
  .nav-links { gap: 20px; }
  .work-main, .project-main { padding: 100px 24px 60px; }
  .work-gallery { grid-template-columns: 1fr; }
  .about-main { grid-template-columns: 1fr; min-height: auto; }
  .about-photo-col { position: relative; height: 60vw; }
  .about-text-col { padding: 48px 24px 60px; }
  .contact-main { grid-template-columns: 1fr; padding: 100px 24px 60px; }
  .contact-right { display: none; }
}
