:root{
  --stage-black: #0B0B0D;
  --paper: #F2EDE4;
  --paper-dim: #A8A29A;
  --hairline: #2A2A2E;
}

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

html{ scroll-behavior: smooth; }

body{
  background: var(--stage-black);
  color: var(--paper);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; text-decoration: none; }

img{ display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- NAV ---------- */
header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  background: linear-gradient(to bottom, rgba(11,11,13,0.85), transparent);
}

header .brand{
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

header .brand svg{
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

header .name{
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

header nav{ display: flex; gap: clamp(1rem, 3vw, 2.25rem); }

header nav a{
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper-dim);
  transition: color 0.2s ease;
}
header nav a:hover, header nav a:focus-visible{ color: var(--paper); }

/* ---------- HERO CAROUSEL ---------- */
.carousel{
  position: relative;
  height: 100svh;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar{ display:none; }

.slide{
  flex: 0 0 100%;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.5rem, 5vw, 4rem);
}

.slide img{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide::after{
  /* Gradient scrim so captions stay readable over any photo */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,13,0.95) 0%, rgba(11,11,13,0.55) 30%, rgba(11,11,13,0.1) 60%, transparent 80%);
  z-index: 1;
}

.slide .caption{ position: relative; z-index: 2; max-width: 40rem; }

.slide .eyebrow{
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 0.6rem;
}

.slide h1{
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.slide .venue{
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: var(--paper-dim);
}

.dots{
  position: absolute;
  bottom: clamp(1.5rem, 5vw, 2.5rem);
  right: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}
.dots button{
  width: 6px; height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(242,237,228,0.35);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
}
.dots button.active{ background: var(--paper); transform: scale(1.3); }

/* ---------- SECTION LABELS ---------- */
.section-label{
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 4vw, 3rem) 1.5rem;
}
.section-label span{
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--paper);
}
.section-label::after{
  content:"";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

#work .section-label span{
  font-size: clamp(2rem, 4vw, 2.75rem);
}

/* ---------- WORK GRID ---------- */
.work-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
@media (max-width: 900px){
  .work-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .work-grid{ grid-template-columns: 1fr; }
}

.work{
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: flex-end;
  padding: clamp(1rem, 2vw, 1.5rem);
  overflow: hidden;
  isolation: isolate;
}

.work img{
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: saturate(0.35) brightness(0.55);
  transition: filter 0.6s ease;
}
.work:hover img, .work:focus-within img{ filter: saturate(1) brightness(1); }

.work::after{
  content:"";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,11,13,0.9) 0%, rgba(11,11,13,0.45) 30%, rgba(11,11,13,0.08) 60%, transparent 80%);
  z-index: 1;
}

.work .info{ position: relative; z-index: 2; }
.work h2{
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
}
.work .venue{ margin-top: 0.3rem; color: var(--paper-dim); font-size: 0.8rem; }

/* ---------- SHOW DETAIL PAGE ---------- */
.show-meta{
  padding: clamp(7rem, 12vw, 9rem) clamp(1.25rem, 4vw, 3rem) 1rem;
}
.show-meta-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem 4rem;
}
.show-meta-left{
  flex: 1 1 24rem;
  max-width: 34rem;
}
.show-meta-right{
  flex: 1 1 20rem;
  max-width: 26rem;
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.back-link{
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}
.back-link:hover{ color: var(--paper); }

.show-meta h1{
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.75rem);
}
.show-meta .venue{
  margin-top: 0.5rem;
  color: var(--paper-dim);
  font-size: 1rem;
}
.show-meta .date{
  margin-top: 0.25rem;
  color: var(--paper-dim);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.show-awards{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.award-badge{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #E8A860;
  color: #E8A860;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}
.premiere-badge{
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--paper-dim);
  color: var(--paper);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.show-review{
  padding-left: 1.25rem;
  border-left: 2px solid #E8A860;
}
.show-review p{
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--paper);
}
.show-review cite{
  display: block;
  margin-top: 0.6rem;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  color: var(--paper-dim);
}

.show-description{
  max-width: 42rem;
  margin-top: 1.5rem;
  line-height: 1.7;
  color: var(--paper-dim);
}
.show-description p{ margin-bottom: 1rem; }

.show-gallery{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem) 4rem;
}
@media (max-width: 640px){
  .show-gallery{ grid-template-columns: 1fr; }
}

.show-gallery-item{
  position: relative;
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: none;
}
.show-gallery-item img{
  position: static;
  width: 100%;
  height: auto;
  object-fit: unset;
  transition: transform 0.5s ease;
}
.show-gallery-item:hover img, .show-gallery-item:focus-visible img{ transform: scale(1.03); }

.photo-credit{
  text-align: right;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 3rem;
  margin-top: -1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
}

/* ---------- CREATIVE TEAM ---------- */
.creative-team{
  max-width: 42rem;
  margin: 0 auto;
  padding: 1rem 1.5rem 5rem;
}
.creative-team .section-label{ padding-left: 0; padding-right: 0; justify-content: center; }
.creative-team .section-label::after{ content: none; }
.team-list{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  row-gap: 0.75rem;
  max-width: 30rem;
  margin: 0 auto;
}
.team-row{ display: contents; }
.team-row dt{
  grid-column: 1;
  justify-self: end;
  text-align: right;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper-dim);
}
.team-row dd{
  grid-column: 2;
  justify-self: start;
  text-align: left;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--hairline);
  font-family: 'Fraunces', serif;
  font-size: 1rem;
}

/* ---------- LIGHTBOX ---------- */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(11,11,13,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.active{ opacity: 1; pointer-events: auto; }
.lightbox img{
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
}
.lightbox-close{
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--paper);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem;
}

/* ---------- SIMPLE PAGES (About / Contact) ---------- */
.page{
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(7rem, 12vw, 9rem) 1.5rem 5rem;
}
.page h1{
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 1.5rem;
}
.page p{ line-height: 1.7; color: var(--paper-dim); margin-bottom: 1rem; }
.page a.email{ color: var(--paper); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- ABOUT PAGE ---------- */
.about-page{
  padding: clamp(7rem, 12vw, 9rem) clamp(1.25rem, 4vw, 3rem) 6rem;
}
.about-page h1{
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: 2.5rem;
}

.about-hero{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
}
/* Position via "order" rather than flex-direction: row-reverse — reversing
   the row also reverses the packing direction, which left the bio stranded
   in whatever empty space was left on the right instead of flush left.
   Both photo and bio have flex-grow: 0 — they hold their own size and
   justify-content: space-between opens the gap between them, so the photo
   stays pinned to its edge and the bio to the other, with more or less
   breathing room in the middle depending on viewport width. */
.about-hero--left .about-photo{ order: 1; }
.about-hero--left .about-bio{ order: 2; }
.about-hero--right .about-photo{ order: 2; }
.about-hero--right .about-bio{ order: 1; }

.about-photo{ flex: 0 1 25rem; max-width: 25rem; }
.about-photo img{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}

.about-bio{ flex: 0 1 42rem; max-width: 42rem; }
.about-bio-section + .about-bio-section{ margin-top: 2.5rem; }
.about-bio-heading{
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--paper);
  margin-bottom: 0.75rem;
}
.about-bio p{
  line-height: 1.7;
  color: var(--paper-dim);
  margin-bottom: 1rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.about-columns{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--hairline);
}
@media (max-width: 720px){
  .about-columns{ grid-template-columns: 1fr; }
}
.about-column .section-label{ padding: 0 0 1.5rem; }
.about-list{ display: flex; flex-direction: column; gap: 1rem; }
.about-list-item{ display: block; }
.about-list-item .primary{
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: var(--paper);
}
.about-list-item .secondary{
  display: block;
  margin-top: 0.2rem;
  color: var(--paper-dim);
  font-size: 0.85rem;
}
a.about-list-item{ transition: opacity 0.2s ease; }
a.about-list-item:hover, a.about-list-item:focus-visible{ opacity: 0.7; }

.credit-group + .credit-group{ margin-top: 1.75rem; }
.credit-group .about-list{ gap: 0.75rem; }
.credit-group-label{
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--paper-dim);
  margin-bottom: 0.85rem;
}
.credit-item{
  display: block;
  line-height: 1.5;
}
.credit-item .credit-title{
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  color: var(--paper);
}
.credit-item .credit-meta{
  color: var(--paper-dim);
  font-size: 0.85rem;
}
a.credit-item{ transition: opacity 0.2s ease; }
a.credit-item:hover, a.credit-item:focus-visible{ opacity: 0.7; }

/* ---------- FOOTER ---------- */
footer{
  padding: 3rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
footer .contact-link{
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 1.1rem;
}
footer .socials{ display: flex; gap: 1.25rem; }
footer .socials a{ font-size: 0.8rem; color: var(--paper-dim); letter-spacing: 0.05em; }
footer .socials a:hover{ color: var(--paper); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .work img{ transition: none; }
}
