/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background: #efeae0;            /* warm cream */
  color: #1a1714;                  /* soft black */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.005em;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: opacity .25s ease; }
a:hover { opacity: 0.55; }

/* ---------- NAV ---------- */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(239, 234, 224, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26, 23, 20, 0.08);
  transition: opacity .4s ease, transform .4s ease;
}
#main-nav.hidden { opacity: 0; transform: translateY(-100%); pointer-events: none; }
.nav-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-links a { position: relative; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: currentColor;
}

/* ---------- HERO ---------- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 60px 80px;
  gap: 80px;
  position: relative;
}
.hero-image-wrap {
  flex: 0 0 auto;
  height: min(86vh, 760px);
  aspect-ratio: 661 / 1523;   /* matches re-cropped cover image */
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}
.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-text {
  flex: 0 1 560px;
  max-width: 560px;
}
.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 28px;
  font-weight: 400;
  opacity: 0.6;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(54px, 7.2vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0 0 36px;
}
.hero-logline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  margin: 0 0 40px;
  max-width: 520px;
  color: rgba(26, 23, 20, 0.82);
}
.hero-credit {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0;
  opacity: 0.55;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.5;
}
.hero-scroll-line {
  width: 60px;
  height: 1px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 30%;
  background: #efeae0;
  animation: scrollLine 2.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

/* ---------- SECTIONS (shared) ---------- */
.section {
  padding: 140px 60px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
}
.section-narrow { max-width: 820px; }
.section-dark {
  background: #1a1714;
  color: #efeae0;
  max-width: none;
  padding-left: 60px;
  padding-right: 60px;
}
.section-dark .section-number { color: rgba(239, 234, 224, 0.4); }

.section-header { margin-bottom: 70px; }
.section-number {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-weight: 400;
  color: rgba(26, 23, 20, 0.45);
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
}
.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 20px;
  margin: 0;
  opacity: 0.7;
  max-width: 600px;
}

/* ---------- 02 LOGLINE ---------- */
#logline { text-align: left; padding-top: 100px; padding-bottom: 100px; }
.logline-text {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  margin: 0 0 50px;
  letter-spacing: -0.005em;
}
.logline-sub {
  font-size: 18px;
  line-height: 1.65;
  max-width: 640px;
  opacity: 0.75;
  margin: 0;
}

/* ---------- 03 SYNOPSIS ---------- */
.synopsis-body { max-width: 720px; }
.synopsis-body .lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  line-height: 1.45;
  margin: 0 0 36px;
  color: rgba(26, 23, 20, 0.85);
}
.synopsis-body p {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.7;
}
.synopsis-body strong { font-weight: 500; }

/* ---------- 04 CHARACTERS ---------- */
.characters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.character-image {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #1a1714;
  margin-bottom: 28px;
}
.character-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.character-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 40px;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}
.character-age {
  font-size: 22px;
  font-style: italic;
  opacity: 0.55;
  font-weight: 300;
}
.character-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  margin: 0 0 22px;
  opacity: 0.75;
}
.character-bio {
  margin: 0 0 22px;
  line-height: 1.7;
}
.character-wants, .character-fears {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.55;
}
.character-wants span, .character-fears span {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  width: 70px;
  font-weight: 400;
}

/* ---------- 05 DYNAMIC (dark) ---------- */
#dynamic { padding-top: 140px; padding-bottom: 140px; }
.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.3;
  margin: 0 auto 90px;
  max-width: 880px;
  text-align: center;
  letter-spacing: -0.005em;
}
.pull-quote cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.55;
}
.dynamic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1160px;
  margin: 0 auto 80px;
}
.dynamic-item {
  margin: 0;
  background: #2a2521;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.dynamic-item img { width: 100%; height: 100%; object-fit: cover; }
.dynamic-body {
  max-width: 720px;
  margin: 0 auto;
}
.dynamic-body p {
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 22px;
  opacity: 0.88;
}

/* ---------- 06 WORLDS ---------- */
.worlds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.world-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 32px;
  margin: 0 0 4px;
}
.world-where {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.5;
  margin: 0 0 28px;
}
.world-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 28px;
}
.world-images img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}
.world-body {
  margin: 0;
  line-height: 1.7;
}

/* ---------- 07 CHIHUAHUAS ---------- */
.chihuahuas-lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4;
  max-width: 720px;
  margin: 0 0 70px;
  opacity: 0.85;
}
.chihuahuas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.chihuahuas-grid img {
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  width: 100%;
  filter: grayscale(15%);
  transition: filter .6s ease, transform .6s ease;
}
.chihuahuas-grid img:hover {
  filter: grayscale(0);
  transform: scale(1.02);
}

/* ---------- 08 DIRECTOR ---------- */
.director-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 70px;
  align-items: start;
}
.director-image {
  position: sticky;
  top: 100px;
}
.director-image img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  background: #1a1714;
}
.image-caption {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin: 14px 0 0;
  opacity: 0.55;
}
.director-text p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  line-height: 1.55;
  margin: 0 0 22px;
  font-weight: 400;
}
.director-text p:first-child::first-letter {
  font-size: 64px;
  float: left;
  line-height: 0.85;
  margin: 6px 10px 0 0;
  font-weight: 500;
}

/* ---------- 09 VISUAL PLAN (dark) ---------- */
#visual .visual-body {
  max-width: 820px;
  margin: 0 0 90px;
}
.visual-body p {
  font-size: 18px;
  line-height: 1.75;
  margin: 0 0 22px;
  opacity: 0.92;
}
.visual-body strong { font-weight: 500; }
.visual-body em { font-style: italic; opacity: 0.85; }
.visual-refs-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 28px;
  opacity: 0.55;
}
.references-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.references-grid figure {
  margin: 0;
}
.references-grid img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  background: #2a2521;
}
.references-grid figcaption {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.5;
}

/* ---------- 10 TEAM ---------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.team-portrait {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #1a1714;
  margin-bottom: 28px;
}
.team-portrait img {
  width: 100%; height: 100%; object-fit: cover;
}
.team-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 36px;
  margin: 0 0 4px;
}
.team-role {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin: 0 0 22px;
  opacity: 0.55;
}
.team-bio {
  margin: 0 0 22px;
  line-height: 1.7;
}
.team-link a {
  font-size: 13px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.team-mentor {
  margin: 30px 0 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(26, 23, 20, 0.12);
}
.team-mentor img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}
.team-mentor figcaption {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
}

/* ---------- 11 CONTACT ---------- */
.contact-body {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  margin: 0 0 50px;
  line-height: 1.5;
}
.contact-people {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.contact-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  margin: 0 0 4px;
}
.contact-role {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.55;
  margin: 0 0 14px;
}
.contact-email {
  font-size: 16px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.contact-pdf {
  font-size: 14px;
  opacity: 0.6;
  font-style: italic;
}

/* ---------- FOOTER ---------- */
footer {
  text-align: center;
  padding: 60px 40px 50px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
  border-top: 1px solid rgba(26, 23, 20, 0.1);
}

/* ---------- FADE-IN ON SCROLL ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  #main-nav { padding: 14px 24px; }
  .nav-links { gap: 18px; font-size: 10px; }
  .nav-links li:nth-child(5),
  .nav-links li:nth-child(6) { display: none; }

  #hero {
    flex-direction: column;
    padding: 90px 24px 60px;
    gap: 40px;
  }
  .hero-image-wrap { height: auto; width: clamp(180px, 50vw, 280px); }
  .hero-text { text-align: left; }
  .hero-scroll { left: 24px; bottom: 30px; }
  .section { padding: 90px 24px; }
  .section-dark { padding-left: 24px; padding-right: 24px; }

  .characters-grid,
  .worlds-grid,
  .team-grid,
  .director-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .director-image { position: static; }

  .dynamic-grid {
    grid-template-columns: 1fr;
  }

  .chihuahuas-grid { grid-template-columns: repeat(2, 1fr); }
  .references-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .nav-links li:nth-child(3),
  .nav-links li:nth-child(4) { display: none; }
  body { font-size: 16px; }
}
