/* Impavido Productions. NORD-style type (letterspaced geometric caps, medium weight); Jost is the free stand-in. */
:root {
  --ink: #0A0908;
  --carbon: #141311;
  --paper: #F2EFE9;
  --gold: #C9A961;
  --smoke: #8A857C;
  --sans: "Jost", "Futura", "Century Gothic", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

/* display voice: NORD-style letterspaced caps, medium weight, never heavy */
.display {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.2;
}

/* small metadata voice */
.meta {
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--smoke);
}

/* ---------- nav ---------- */
.site-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.8rem 4vw;
}

.site-nav .wordmark {
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  gap: 2.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav ul a {
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--paper);
  opacity: 0.7;
}

.site-nav ul a:hover { opacity: 1; }

/* phone menu button; shown under 720px only */
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  /* match the reel's 16:9 frame on desktop so its burned-in film titles (bottom-left) are never cropped */
  height: min(56.25vw, 92svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-still {
  position: absolute;
  inset: 0;
  background: url("assets/reel-poster.jpg") center / cover no-repeat;
  filter: saturate(0.8) contrast(1.04);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}

/* reel sound toggle: icon shows the current state, bottom-right, clear of the reel's burned-in titles (bottom-left) */
.sound-toggle {
  position: absolute;
  right: 4vw;
  bottom: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: none;
  border: 0;
  color: var(--paper);
  opacity: 0.85;
  cursor: pointer;
}
.sound-toggle[hidden] { display: none; }
.sound-toggle:hover, .sound-toggle:focus-visible { color: var(--gold); opacity: 1; }
.sound-toggle .sound-on, .sound-toggle.is-on .sound-off { display: none; }
.sound-toggle.is-on .sound-on { display: inline; }

@media (prefers-reduced-motion: reduce) {
  .hero-video, .sound-toggle { display: none; }
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,9,8,0.8) 0%, rgba(10,9,8,0.2) 32%, rgba(10,9,8,0.2) 55%, rgba(10,9,8,0.72) 78%, rgba(10,9,8,0.55) 100%);
}

.hero-inner {
  position: relative;
  /* clears the reel's title band (bottom ~15% of the frame) */
  padding: 0 4vw 10.5vw;
  width: 100%;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  margin: 0.4rem 0 1.2rem;
}

.hero .hook {
  max-width: 32em;
  margin: 0;
  opacity: 0.8;
}

/* ---------- film rows ---------- */
.film-row {
  position: relative;
  display: block;
  min-height: 56vh;
  text-decoration: none;
  overflow: hidden;
  border-top: 1px solid rgba(242,239,233,0.08);
}

.film-row .row-still {
  position: absolute;
  inset: 0;
  background-position: center 35%;
  background-size: cover;
  filter: saturate(0.7) brightness(0.55);
  transition: filter 0.5s ease;
}

.film-row:hover .row-still,
.film-row:focus-visible .row-still {
  filter: saturate(0.95) brightness(0.75);
}

.film-row .row-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,9,8,0.78) 0%, rgba(10,9,8,0.15) 65%, rgba(10,9,8,0) 100%);
}

.film-row .row-inner {
  position: relative;
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 4vw;
}

.film-row h2 {
  font-size: clamp(1.4rem, 3.4vw, 2.7rem);
  margin: 0.5rem 0 0.7rem;
  max-width: 20em;
}

.film-row .row-honor {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.75;
}

/* ---------- about ---------- */
.about {
  max-width: 44em;
  padding: 6rem 4vw 5rem;
}

.about p { margin: 0 0 1.3rem; }
.about .quiet { color: var(--smoke); font-size: 0.95rem; }
.about a { color: var(--paper); }
.about a:hover { color: var(--gold); }

/* ---------- coming soon ---------- */
.coming-soon {
  border-top: 1px solid rgba(242,239,233,0.08);
  padding: 4rem 4vw 4.5rem;
}

.coming-soon ul { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.coming-soon li { font-size: clamp(1rem, 2vw, 1.4rem); padding: 0.5rem 0; opacity: 0.85; }

/* ---------- contact ---------- */
.contact {
  border-top: 1px solid rgba(242,239,233,0.08);
  padding: 5rem 4vw 6rem;
}

.contact h2 {
  font-size: clamp(1.2rem, 2.8vw, 2.1rem);
  margin: 0 0 1.8rem;
}

.contact .button {
  display: inline-block;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--paper);
  border: 1px solid rgba(242,239,233,0.4);
  padding: 0.95rem 2.4rem;
  text-decoration: none;
}

.contact .button:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid rgba(242,239,233,0.08);
  padding: 1.8rem 4vw 2.4rem;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer a { text-decoration: none; color: var(--paper); opacity: 0.8; }
.site-footer a:hover { color: var(--gold); opacity: 1; }
.site-footer .links { display: flex; gap: 1.6rem; }

/* ---------- film page ---------- */
.film-hero { padding: 6.5rem 4vw 0; }

.frame {
  background: #000;
  padding: 2.2vh 0;
}

.frame .ratio {
  position: relative;
  aspect-ratio: 16 / 9;
}

.frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.film-title {
  font-size: clamp(1.7rem, 4.2vw, 3.4rem);
  margin: 2rem 0 0.7rem;
}

.film-meta { margin: 0; }

.logline {
  max-width: 30em;
  margin: 2rem 0 0;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* laurels: wins only, one quiet line for the rest */
.laurel-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1px;
  background: rgba(242,239,233,0.1);
  border: 1px solid rgba(242,239,233,0.1);
  margin: 3.5rem 0 0;
}

.laurel {
  background: var(--carbon);
  padding: 1.4rem 1.2rem;
  text-align: center;
}

.laurel .honor {
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.4rem;
}

.laurel .fest {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.85;
}

.laurel-more {
  margin: 1.2rem 0 0;
  color: var(--smoke);
  font-size: 0.95rem;
}

/* stills strip */
.stills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.5rem;
  margin: 3.5rem 0 0;
}

.stills .still { aspect-ratio: 16 / 9; overflow: hidden; }
.stills .still img { width: 100%; height: 100%; object-fit: cover; }

/* the signature: end credits */
.end-credits {
  margin: 5rem auto 0;
  max-width: 560px;
  padding: 0 4vw;
}

.end-credits .credit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 0.45rem 0;
}

.end-credits .role {
  text-align: right;
  color: var(--smoke);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  align-self: center;
}

.end-credits .name {
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.film-nav {
  display: flex;
  justify-content: space-between;
  padding: 5rem 4vw 5rem;
}

.film-nav a { text-decoration: none; color: var(--paper); }
.film-nav a:hover { color: var(--gold); }

/* ---------- about page ---------- */
.about-page {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 4rem;
  align-items: start;
  padding: 9rem 4vw 3rem;
}

.about-page h1 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin: 0 0 1.6rem; }
.about-page p { margin: 0 0 1.3rem; max-width: 38em; }
.about-page .quiet { color: var(--smoke); font-size: 0.95rem; }

.portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--carbon);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.filmo {
  padding: 2rem 4vw 4rem;
}

.filmo h2 { margin: 0 0 1.4rem; }

.filmo-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(242,239,233,0.08);
}

.filmo-title {
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--paper);
}

.filmo-title:hover { color: var(--gold); }

.filmo-role { color: var(--smoke); font-size: 0.9rem; }

/* ---------- contact page ---------- */
.contact-page {
  max-width: 44em;
  padding: 9rem 4vw 4rem;
}

.contact-page h1 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin: 0 0 1.6rem; }
.contact-page p { margin: 0 0 1.2rem; max-width: 38em; }
.contact-page a { color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }
.contact-page a:hover { color: var(--gold); }

.services {
  list-style: none;
  padding: 0;
  margin: 0.4rem 0 2rem;
  max-width: 26em;
}

.services li {
  padding: 0.65rem 0;
  border-top: 1px solid rgba(242,239,233,0.08);
}

.services li:last-child { border-bottom: 1px solid rgba(242,239,233,0.08); }

/* credits page reuses filmo rows with a wider status column */
.credits-list h2 { margin: 2.6rem 0 0.9rem; }
.credits-list { max-width: 64em; }
.credits-list .filmo-row { grid-template-columns: 4.5rem 1fr auto; }
.credits-list .filmo-title { color: var(--paper); text-decoration: none; }
.credits-list a.filmo-title:hover { color: var(--gold); }
.credits-list span.filmo-title { cursor: default; }
.credits-imdb { margin-top: 2.6rem; color: var(--smoke); }

/* ---------- social icons ---------- */
.social-row {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.social-row a {
  color: var(--paper);
  opacity: 0.75;
  text-decoration: none;
  display: block;
}

.social-row a:hover { color: var(--gold); opacity: 1; }
.social-row svg { display: block; }
.site-footer .social-row { margin-top: 0; }

/* ---------- responsive ---------- */
@media (max-width: 720px) {
  /* phone nav: one row, wordmark left and menu button right. 0.5rem + 44px button + 0.5rem = 3.75rem tall. */
  .site-nav { align-items: center; padding: 0.5rem 4vw; }
  .site-nav .wordmark { position: relative; z-index: 2; }
  .nav-toggle {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 7px;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--paper); }
  .site-nav.open .nav-toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .site-nav.open .nav-toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .site-nav ul { display: none; }
  .site-nav.open ul {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    position: fixed;
    inset: 0;
    z-index: 1;
    padding: 0 4vw;
    background: var(--ink);
  }
  .site-nav.open ul a { font-size: 1.3rem; letter-spacing: 0.2em; opacity: 1; }
  body:has(.site-nav.open) { overflow: hidden; }
  .site-nav .wordmark { letter-spacing: 0.2em; }
  .display { letter-spacing: 0.14em; }
  /* phones: show the reel's full 16:9 frame under the nav, headline block below it (3.75rem = phone nav height).
     A tall crop cut two thirds of each shot and blew the reel's own title card up behind the headline. */
  .hero { height: auto; display: block; }
  .hero-still, .hero-video { top: 3.75rem; bottom: auto; height: 56.25vw; }
  .hero-shade { display: none; }
  .hero-inner { padding: calc(3.75rem + 56.25vw + 1.8rem) 4vw 2.4rem; }
  .sound-toggle { top: calc(3.75rem + 56.25vw - 46px); bottom: auto; }
  .film-row { min-height: 44vh; }
  .film-row .row-inner { min-height: 44vh; padding: 2rem 5vw; }
  .about-page { grid-template-columns: 1fr; gap: 2rem; padding-top: 7rem; }
  .portrait { max-width: 240px; }
  .filmo-row { grid-template-columns: 3.5rem 1fr; }
  .filmo-role { grid-column: 2; }
  .credits-list .filmo-row { grid-template-columns: 3.5rem 1fr; }
  .film-hero { padding-top: 6rem; }
  .laurel { padding: 1.1rem 1rem; }
  .end-credits .credit { gap: 1rem; }
  .film-nav { font-size: 0.85rem; }
  .contact { padding: 3.5rem 4vw 4.5rem; }
}
