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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #111;
  color: #e8e4dc;
  font-family: system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid #c9b89a;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: #e8e4dc;
  color: #111;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  z-index: 20;
}

.skip:focus {
  top: 1rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: #000;
  border-bottom: 1px solid #000;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 44px;
  width: auto;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b7b1a6;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #e8e4dc;
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.45em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #e8e4dc;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0;
}

/* Layout */

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.slides {
  position: absolute;
  inset: 0;
}

.slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.6s ease;
}

.slides img.is-on {
  opacity: 1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #111 0%, rgb(17 17 17 / 0.15) 42%, rgb(17 17 17 / 0.28) 100%);
}

.hero-overlay {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 0 0 3.25rem;
}

.hero h1,
.page-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  margin: 0 0 0.4rem;
}

.hero h1 {
  font-style: normal;
}

.lede {
  max-width: 38rem;
  color: #b7b1a6;
  margin: 0;
}

.hero .kicker {
  color: #d5cfc4;
  margin-bottom: 0.55rem;
}

.section {
  padding: 4rem 0;
}

.section-head {
  text-align: center;
  margin-bottom: 2rem;
}

h2,
.section-head h2,
.section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.9rem;
  margin: 0 0 0.4rem;
}

.kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9488;
}

.section p {
  max-width: 40rem;
  color: #c6c0b4;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.45rem;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  background: transparent;
  color: #e8e4dc;
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
}

.btn:hover {
  background: rgb(232 228 220 / 0.08);
}

.btn-solid {
  background: #e8e4dc;
  color: #111;
  border-color: #e8e4dc;
}

.btn-solid:hover {
  background: #fff;
}

hr {
  border: 0;
  border-top: 1px solid #2a2a2a;
  margin: 0;
}

/* Cards / films */

.pair,
.cards {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .pair,
  .cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
  }
}

.cards.films-home {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
}

@media (min-width: 600px) {
  .cards.films-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
    max-width: none;
  }
}

@media (min-width: 900px) {
  .cards.films-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: #1a1a1a;
  overflow: hidden;
  border-radius: 8px;
}

.films-home .card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.films-home .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.9rem 1rem 1.05rem;
}

.films-home .card h3 {
  font-size: 1.2rem;
}

.films-home .card p {
  font-size: 0.9rem;
}

.films-home .card .btn {
  margin-top: auto;
  padding: 0.65rem 1rem;
  font-size: 0.68rem;
}

.poster-empty {
  width: 100%;
  aspect-ratio: 2 / 3;
  display: grid;
  place-items: center;
  background: #161616;
  color: #5c574e;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.card.coming-soon {
  border: 1px dashed #3a3a3a;
  background: #161616;
}

.card.coming-soon h3,
.card.coming-soon p {
  color: #7a7468;
}

.card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card img.poster,
.project-row img.poster {
  aspect-ratio: 2 / 3;
  object-position: center top;
}

.card-body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.card h3,
.film h3,
.work h3,
.work-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.55rem;
  margin: 0 0 0.25rem;
}

.card p {
  margin: 0 0 1rem;
}

.card .btn {
  margin-top: 0.25rem;
}

.meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9488;
  margin: 0 0 0.8rem;
}

.film img,
.teaser img {
  width: 100%;
  object-fit: cover;
}

.film a {
  text-decoration: none;
}

.watch {
  margin-top: 1.25rem;
  padding: 2rem 1rem;
  border: 1px dashed #3a3a3a;
  border-radius: 8px;
  color: #7a7468;
  font-size: 0.9rem;
  text-align: center;
}

/* Photo grid */

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

@media (min-width: 800px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.teasers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

@media (min-width: 720px) {
  .teasers {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.teasers img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

/* Writing */

.statement {
  max-width: 40rem;
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid #2a2a2a;
}

.statement p:first-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  line-height: 1.45;
  color: #e8e4dc;
}

.split {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.work-card {
  background: #1a1a1a;
  border-radius: 8px;
  padding: 1.2rem 1.25rem 1.35rem;
  margin-top: 0.85rem;
}

.work-card p {
  margin: 0.4rem 0 0;
}

.work-card.placeholder {
  border: 1px dashed #3a3a3a;
  background: transparent;
}

.work-card.placeholder h3,
.work-card.placeholder p {
  color: #7a7468;
}

.tag {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.15rem 0.5rem;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9488;
}

.panel {
  margin-top: 3rem;
  padding: 1.75rem 1.5rem;
  background: #1a1a1a;
  border-radius: 8px;
}

.panel h2 {
  margin-bottom: 0.6rem;
}

.card.portrait img,
.portrait {
  object-position: top;
}

/* Bio */

.bio,
.bio-band {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .bio,
  .bio-band {
    grid-template-columns: 2fr 3fr;
    align-items: center;
    gap: 3rem;
  }
}

.bio img,
.bio-band img {
  width: 100%;
  border-radius: 8px;
}

.bio-band {
  padding: 2rem;
  background: #1a1a1a;
  border-radius: 8px;
}

.bio-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
  margin: 1.25rem 0 1.5rem;
}

.bio-facts dt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9488;
}

.bio-facts dd {
  margin: 0.15rem 0 0;
}

.bio-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}

/* Project list */

.project-row {
  display: grid;
  gap: 1.15rem;
  margin-top: 0.9rem;
  padding: 1rem;
  background: #1a1a1a;
  border-radius: 8px;
}

@media (min-width: 640px) {
  .project-row {
    grid-template-columns: 200px 1fr;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1rem 1.25rem 1rem 1rem;
    min-height: 332px;
  }
}

.project-row img,
.thumb-empty {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: #222;
  border-radius: 8px;
}

.thumb-empty {
  border: 1px dashed #3a3a3a;
  background: #161616;
}

.project-row > div:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-row h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: 1.55rem;
  margin: 0 0 0.25rem;
}

.project-row p {
  margin: 0.35rem 0 0.9rem;
}

.project-row.placeholder {
  background: #1a1a1a;
}

.project-row.placeholder h3,
.project-row.placeholder p {
  color: #7a7468;
}

/* Project page */

.project-hero {
  overflow: hidden;
}

.project-hero img {
  width: 100%;
  height: min(72vh, 640px);
  object-fit: cover;
}

.project-hero.is-empty {
  background: #161616;
  border-bottom: 1px dashed #3a3a3a;
}

.hero-empty {
  height: min(22vw, 160px);
  display: grid;
  place-items: center;
  color: #5c574e;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-sheet {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 1rem;
  background: #1a1a1a;
  border-radius: 8px;
}

@media (min-width: 640px) {
  .project-sheet {
    grid-template-columns: min(240px, 34%) 1fr;
    align-items: start;
    gap: 1.75rem;
    padding: 1rem 1.5rem 1rem 1rem;
  }
}

.project-sheet .poster-aside {
  width: 100%;
  margin: 0;
}

.project-sheet .credits {
  margin-top: 0;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  align-content: start;
}

.credits {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .credits {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.credits dt {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9488;
  margin: 0 0 0.35rem;
}

.credits dd {
  margin: 0;
  color: #c6c0b4;
}

.stills {
  display: grid;
  gap: 0.5rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .stills {
    grid-template-columns: 1fr 1fr;
  }
}

.stills img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.stills.dense {
  grid-template-columns: 1fr 1fr;
}

@media (min-width: 800px) {
  .stills.dense {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.poster-aside {
  width: min(280px, 100%);
  margin: 2rem 0 0;
}

.poster-aside img,
.poster-aside .poster-empty {
  border-radius: 8px;
}

/* Full-bleed page (bio, contact) */

.page-stage {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 4.8rem);
  display: flex;
  flex-direction: column;
}

.page-stage-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.page-stage-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-stage-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 0.32);
}

.page-stage-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.page-stage-content > .kicker,
.page-stage-content > .page-title {
  text-shadow: 0 1px 18px rgb(0 0 0 / 0.55);
}

.page-stage .bio-band {
  margin-top: 1.5rem;
}

.contact-copy .page-title {
  text-shadow: none;
}

.bio-band .contact-form {
  max-width: none;
  margin-top: 0;
}

.bio-band .email-display {
  margin-top: 0.35rem;
}

.bio-band .social-row {
  margin-top: 1.5rem;
}

.email-display {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.25;
  text-decoration: none;
  border-bottom: 1px solid rgb(232 228 220 / 0.35);
  width: fit-content;
}

.email-display:hover {
  border-bottom-color: #e8e4dc;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 1.6rem;
  margin-top: 2.25rem;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.social-row a {
  color: #9a9488;
  text-decoration: none;
}

.social-row a:hover {
  color: #e8e4dc;
}

.socials {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.socials li {
  margin: 0.35rem 0;
}

.socials a {
  color: #c6c0b4;
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  max-width: 26rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9488;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.8rem;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  background: #111;
  color: #e8e4dc;
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form textarea {
  min-height: 7rem;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #c9b89a;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.form-note[hidden] {
  display: none;
}

.form-ok {
  color: #c6b59a;
}

.form-bad {
  color: #d9a3a3;
}

/* Footer */

.site-footer {
  padding: 2.25rem 1.5rem 2.5rem;
  background: #000;
  border-top: 1px solid #000;
  color: #7a7468;
  font-size: 0.88rem;
}

.footer-inner {
  width: min(1080px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

.site-footer a {
  color: #b7b1a6;
  text-decoration: none;
}

.site-footer a:hover {
  color: #e8e4dc;
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 0.7rem;
}

.footer-nav,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-label {
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9488;
}

/* Mobile nav */

@media (max-width: 719px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    background: #000;
    border-bottom: 1px solid #1a1a1a;
    padding: 0.5rem 1.25rem 1rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.65rem 0;
    border-top: 1px solid #2a2a2a;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slides img {
    transition: none;
  }
}
