/* ════════════════════════════════════════════════
   PROJECT SUB-PAGES — matches main site design system
   ════════════════════════════════════════════════ */

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

:root {
  --bg:        #0c0c0b;
  --fg:        #f5f3ef;
  --fg-mid:    #b8b4ab;
  --fg-dim:    #8a8782;
  --accent:    #c9a063;
  --line:      rgba(245,243,239,0.08);
  --display:   'General Sans', -apple-system, Helvetica, Arial, sans-serif;
  --body:      'General Sans', -apple-system, Helvetica, Arial, sans-serif;
  --gutter:    6vw;
}

html, body { background: var(--bg); }

body {
  color: var(--fg);
  font-family: var(--body);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 44px var(--gutter) 28px;
}

.nav-name img { height: 32.5px; width: auto; display: block; }

.nav-back {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.2s ease;
}
.nav-back:hover { color: var(--fg); }

/* ── HERO MEDIA ── */
.project-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}
.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-hero .video-embed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.project-hero .video-embed iframe {
  position: absolute;
  top: 50%; left: 50%;
  width: 177.78vh;
  min-width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
}
.project-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(12,12,11,0.15) 0%, rgba(12,12,11,0.05) 40%, rgba(12,12,11,0.95) 100%);
  pointer-events: none;
}

/* ── BODY ── */
.project-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 9vh var(--gutter) 12vh;
}

.project-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.project-title {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}

.project-synopsis {
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: var(--fg-mid);
  margin-bottom: 44px;
  max-width: 62ch;
}
.project-synopsis em { color: var(--fg); font-style: italic; }

.credits-grid {
  border-top: 1px solid var(--line);
  padding-top: 32px;
}

.credit-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
  padding: 11px 0;
}
.credit-role {
  color: var(--fg-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10.5px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 1px;
}
.credit-name { text-align: right; color: var(--fg-mid); }

.project-trailer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 44px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  border-bottom: 1px solid var(--fg-dim);
  padding-bottom: 4px;
  width: max-content;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.project-trailer-link:hover { color: var(--accent); border-color: var(--accent); }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 52px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--fg); }

footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter) 48px;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-dim);
}

@media (max-width: 700px) {
  /* Match the homepage logo size on mobile so it's consistent across all pages */
  .nav-name img { height: 22.75px; }
}

@media (max-width: 600px) {
  .credit-row { flex-direction: column; gap: 3px; }
  .credit-name { text-align: left; }
}
