/* =============================================================
   STAGGER FILMS — Shared styles for inner pages
   Used by studio.html, pricing.html, films.html, contact.html, resources.html
   ============================================================= */

:root {
  --charcoal:   #2c2e2a;
  --muted:      #4a4d44;
  --sage:       #6b7060;
  --moss:       #3f4f33;  /* deeper green accent */
  --moss-tint:  #e3e7d9;  /* soft green-tinted bg */
  --sand:       #b8a892;
  --cream:      #f5f0e8;
  --offwhite:   #fbfaf6;
  --dark:       #1a1c19;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.7;
  background: var(--offwhite);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

/* =============================================================
   NAV — light variant, sits on cream/offwhite background
   ============================================================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1.1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--charcoal);
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 168, 146, 0.3);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  font-weight: 400;
  text-decoration: none;
  color: inherit;
}
.nav-logo small {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.5em;
  margin-top: 0.35em;
  opacity: 0.7;
}
.nav-menu {
  display: flex;
  gap: 2.4rem;
}
.nav-menu a {
  color: var(--charcoal);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  font-weight: 400;
  opacity: 0.85;
}
.nav-menu a:hover,
.nav-menu a.is-active { opacity: 1; color: var(--sage); }

/* Hamburger button — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem 0.3rem;
  margin: 0;
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle-bars {
  position: relative;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after  { top:  7px; }

/* Fullscreen drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--offwhite);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 5rem 1.5rem 3rem 1.5rem;
}
.nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
}
.nav-drawer a {
  color: var(--charcoal);
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 300;
  padding: 0.45em 0.6em;
  line-height: 1;
  opacity: 0.92;
}
.nav-drawer a:hover,
.nav-drawer a.is-active { color: var(--sage); opacity: 1; }
.nav-drawer-mark {
  position: absolute;
  top: 1.1rem; left: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  line-height: 1;
  padding: 0;
}
.nav-drawer-mark small {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.5em;
  margin-top: 0.35em;
  opacity: 0.7;
}
.nav-drawer-close {
  position: absolute;
  top: 0.9rem; right: 1.3rem;
  background: none;
  border: 0;
  color: var(--charcoal);
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
.nav-drawer-tagline {
  margin-top: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sage);
  opacity: 0.85;
}
body.menu-open { overflow: hidden; }

/* =============================================================
   SHARED TYPOGRAPHY
   ============================================================= */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.2rem;
  display: block;
}
.section-head {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--charcoal);
  margin: 0 0 1.4rem 0;
}
.section-head--large {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: 0.02em;
}
.divider {
  width: 50px;
  height: 1px;
  background: var(--sand);
  border: none;
  margin: 0 auto;
}
.text-link {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--sage);
}
.text-link:hover { color: var(--sage); }

p { line-height: 1.8; }

/* =============================================================
   PAGE HEADER (used on inner pages instead of hero video)
   ============================================================= */
.page-header {
  padding: 7rem 2rem 5rem 2rem;
  text-align: center;
  background: var(--offwhite);
}
.page-header .eyebrow { text-align: center; }
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin: 0 auto 1.4rem auto;
  max-width: 18ch;
}
.page-header p.intro {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  color: var(--muted);
  max-width: 56ch;
  margin: 1.4rem auto 0 auto;
  line-height: 1.5;
}

/* =============================================================
   SECTION CONTAINER
   ============================================================= */
.section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section--tinted {
  background: var(--cream);
  max-width: none;
  margin: 0;
}
.section--tinted > .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section--moss {
  background: var(--moss-tint);
  max-width: none;
  margin: 0;
}
.section--moss > .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section--dark {
  background: var(--moss);
  color: var(--cream);
  max-width: none;
  margin: 0;
}
.section--dark > .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.section--dark .eyebrow { color: var(--sand); }
.section--dark .section-head { color: var(--cream); }
.section--dark .text-link {
  color: var(--cream);
  border-bottom-color: var(--sand);
}
.section--dark .text-link:hover { color: var(--sand); }

/* =============================================================
   CTA BLOCK
   ============================================================= */
.cta-block {
  background: var(--charcoal);
  color: var(--cream);
  text-align: center;
  padding: 6rem 2rem;
}
.cta-block .eyebrow { color: var(--sand); }
.cta-block h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--cream);
  margin: 0 auto 1.4rem auto;
  max-width: 20ch;
}
.cta-block p {
  max-width: 50ch;
  margin: 0 auto 2.4rem auto;
  opacity: 0.85;
}
.cta-block .text-link {
  color: var(--cream);
  border-bottom-color: var(--sand);
}
.cta-block .text-link:hover { color: var(--sand); }

/* =============================================================
   FOOTER
   ============================================================= */
footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 4rem 3rem 2rem 3rem;
}

/* Creative Family block */
.footer-family {
  max-width: 1200px;
  margin: 0 auto 3.5rem auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(245, 240, 232, 0.15);
}
.footer-family .family-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1.8rem;
}
.family-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
@media (max-width: 1024px) {
  .family-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.family-card { display: block; }
.family-card h5 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
  color: var(--cream);
}
.family-card a.family-card-link h5 { color: var(--cream); }
.family-card a.family-card-link {
  display: block;
  text-decoration: none;
  transition: color 0.2s ease;
}
.family-card a.family-card-link:hover h5 { color: var(--sand); }
.family-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(245, 240, 232, 0.7);
  margin: 0 0 0.6rem 0;
}
.family-card .family-links {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.family-card .family-links a {
  color: var(--sand);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.family-card .family-links a:hover { border-bottom-color: var(--sand); }
.family-card .family-links span { color: rgba(245, 240, 232, 0.3); }

@media (max-width: 800px) {
  .family-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-family { margin-bottom: 2.5rem; padding-bottom: 2rem; }
}


.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  align-items: start;
}
.footer-brand .nav-logo { color: var(--cream); }
.footer-brand p {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 1.4rem;
  opacity: 0.7;
}
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-menu a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.85;
}
.footer-menu a:hover { opacity: 1; }
.footer-social { text-align: right; }
.footer-social .label {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.8rem;
  display: block;
}
.footer-social a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(245, 240, 232, 0.15);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.65;
}
.footer-bottom .legal-tagline { text-align: center; }
.footer-bottom .legal-links {
  text-align: right;
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;
}
.footer-bottom .legal-links a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-bottom .legal-links a:hover { opacity: 1; }

/* =============================================================
   FILM THUMBNAIL & LIGHTBOX (used on Films page)
   ============================================================= */
.film-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--dark);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.film-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.film-thumb:hover { transform: scale(1.01); }
.film-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.18);
  transition: background 0.3s;
}
.film-thumb:hover::after { background: rgba(0,0,0,0.32); }
.play-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: transform 0.3s, background 0.3s;
}
.play-icon::before {
  content: '';
  width: 0; height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid var(--charcoal);
  margin-left: 4px;
}
.film-thumb:hover .play-icon {
  transform: translate(-50%, -50%) scale(1.08);
  background: #ffffff;
}

.lightbox {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 100;
  padding: 4rem 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox.is-open { display: flex; }
.lightbox-frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
}
.lightbox-frame iframe {
  width: 100%; height: 100%;
  border: 0; display: block;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-close:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
}
.lightbox-caption {
  position: absolute;
  bottom: -3rem; left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 800px) {
  .nav { padding: 1rem 1.5rem; }
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .section,
  .section--tinted > .section-inner,
  .page-header,
  .cta-block { padding-left: 1.5rem; padding-right: 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-social { text-align: left; }
  .footer-bottom { grid-template-columns: 1fr; gap: 0.8rem; text-align: center; }
  .footer-bottom .legal-tagline,
  .footer-bottom .legal-links { text-align: center; justify-content: center; }
}
