:root {
  color-scheme: light;
  --paper: #f6f3eb;
  --ink: #211e1a;
  --secondary: #615951;
  --line: #d7d0c4;
  --accent: #9c3d4c;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --edge: clamp(1.25rem, 5vw, 5rem);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 1rem/1.6 var(--sans);
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(100% - var(--edge) * 2, 1280px); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  inset: .75rem auto auto .75rem;
  z-index: 3;
  background: var(--paper);
  padding: .5rem 1rem;
}
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}
.wordmark {
  font: bold 2.45rem/.9 var(--serif);
  letter-spacing: -.075em;
  text-decoration: none;
  padding-bottom: .14em;
}
.wordmark span, .page-title span, .accent { color: var(--accent); }
.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem clamp(1.15rem, 3.2vw, 3.35rem);
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  position: relative;
  color: var(--secondary);
  font-size: .9rem;
  font-weight: 550;
  text-decoration: none;
}
.site-nav a::after {
  content: '';
  position: absolute;
  inset: auto 0 3px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding: clamp(2.4rem, 5.3vw, 5.1rem) 0 clamp(1.6rem, 3.1vw, 3rem);
}
.page-title {
  margin: 0;
  font: normal clamp(3.2rem, 7.25vw, 7.1rem)/.98 var(--serif);
  letter-spacing: -.063em;
}
.intro p {
  margin: 0;
  font-size: clamp(.875rem, 1.35vw, 1.05rem);
  font-weight: 600;
  color: var(--secondary);
}
.feature {
  min-height: clamp(25rem, 44vw, 36rem);
  display: grid;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fffaf1;
  background: #39434a;
}
.feature-image, .feature-image::after { position: absolute; inset: 0; z-index: -1; }
.feature-image img { height: 100%; object-fit: cover; object-position: 55% 52%; }
.feature-image::after {
  content: '';
  z-index: 0;
  background: linear-gradient(90deg, #121b24eb 0%, #161f2ab5 28%, #15202a24 62%, transparent 82%);
}
.feature-copy { padding: clamp(1.75rem, 4.65vw, 4.4rem); }
.label {
  margin: 0;
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.feature .label { color: #f1dbc7; }
.feature h2 {
  margin: .22em 0 .24em;
  font: normal clamp(3.5rem, 7.4vw, 7.3rem)/.88 var(--serif);
  letter-spacing: -.065em;
}
.feature h2 em { display: block; font-weight: normal; }
.feature-credit { margin: 0 0 1.5rem; font-size: .975rem; font-weight: 525; }
.feature-credit span { margin-inline: .35rem; color: #e9c2a8; }
.feature-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .55rem 1.1rem;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: background 160ms ease;
}
.feature-link:hover { background: #f1dbc7; }
.feature-link:focus-visible, .trailer-play:focus-visible { outline: 3px solid white; outline-offset: 4px; }
.television-work { padding: clamp(2.75rem, 5.5vw, 5.3rem) 0 clamp(4rem, 8vw, 7.5rem); }
.section-title {
  margin: 0;
  font: normal clamp(2rem, 3.5vw, 3.2rem)/1.07 var(--serif);
  letter-spacing: -.045em;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.25vw, 2rem);
  margin-top: 1.35rem;
}
.project-card { border-bottom: 1px solid var(--line); }
.project-card a { display: block; height: 100%; text-decoration: none; }
.card-image { aspect-ratio: 16 / 9; overflow: hidden; background: #dfd6c6; }
.card-image img { height: 100%; object-fit: cover; transition: transform 300ms ease; }
.project-card a:hover img { transform: scale(1.035); }
.card-info { padding: 1rem 0 1.2rem; }
.card-info .label { color: var(--accent); font-size: .78rem; }
.card-info h3 {
  margin: .34rem 0 .6rem;
  font: normal clamp(1.65rem, 2.7vw, 2.65rem)/1.03 var(--serif);
  letter-spacing: -.045em;
}
.project-card a:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .15em; }
.card-info p { margin: 0; }
.card-info .card-producer { color: var(--secondary); font-size: .9rem; }
.secondary-category {
  min-height: 63vh;
  padding: clamp(3.1rem, 7vw, 7rem) 0 clamp(4rem, 8vw, 7rem);
}
.credit-list {
  border-top: 1px solid var(--line);
  padding: 0;
  margin: clamp(1.75rem, 4vw, 3.75rem) 0 0;
  list-style: none;
}
.credit-list li { border-bottom: 1px solid var(--line); padding-block: 1.4rem; }
.credit-list h2 { margin: 0; font: normal clamp(1.7rem, 3.5vw, 3rem)/1.1 var(--serif); letter-spacing: -.037em; }
.credit-list p { margin: .35rem 0 0; color: var(--secondary); }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { justify-content: flex-start; min-height: 94px; flex-wrap: wrap; }
.footer-inner .wordmark { font-size: 1.95rem; }
.footer-inner p { margin: 0; color: var(--secondary); font-size: .9rem; }
.footer-inner .text-link { margin-left: auto; }
.text-link { text-underline-offset: .24em; font-weight: 600; font-size: .9rem; }
.text-link:hover { color: var(--accent); }
.project-page { padding-block: clamp(2rem, 4vw, 4rem) clamp(4rem, 7vw, 7rem); }
.project-intro {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: end;
  gap: 2rem clamp(2rem, 7vw, 6rem);
  margin: clamp(1.8rem, 4.5vw, 4rem) 0 clamp(1.8rem, 4vw, 3.8rem);
}
.project-intro .page-title { margin-top: .65rem; font-size: clamp(3.2rem, 6.4vw, 6.25rem); }
.project-credits { margin: 0; }
.project-credits div {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  align-items: baseline;
  padding: .46rem 0;
  gap: .75rem;
  border-bottom: 1px solid var(--line);
}
.project-credits dt { color: var(--secondary); font-size: .875rem; }
.project-credits dd { margin: 0; font-size: .95rem; font-weight: 650; }
.synopsis { margin: 1.2rem 0 0; max-width: 46ch; }
.project-cover { background: #dbd3c4; }
.project-cover img { aspect-ratio: 16 / 9; object-fit: cover; }
.project-section { margin-top: clamp(2.8rem, 6vw, 5.5rem); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; }
.video-stage {
  width: min(100%, 840px);
  aspect-ratio: 16 / 9;
  margin-top: 1.05rem;
  background: #211e1a;
}
.trailer-play { height: 100%; display: grid; place-items: center; position: relative; }
.trailer-play img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.63); }
.play-label {
  position: absolute;
  display: flex;
  gap: .65rem;
  align-items: center;
  padding: .65rem 1.1rem;
  background: var(--paper);
  font-weight: 650;
}
.trailer-play:hover .play-label { background: #f1dbc7; }
.play-icon { width: 0; height: 0; border-block: .4rem solid transparent; border-left: .65rem solid currentColor; }
.video-stage iframe { display: block; border: 0; width: 100%; height: 100%; }
.gallery {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.7rem, 2vw, 1.5rem);
}
.gallery-image {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 3;
  background: #eae3d8;
}
.gallery-image:hover { outline: 1px solid var(--accent); }
.gallery-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lightbox {
  padding: .75rem;
  width: min(100% - 1.25rem, 66rem);
  max-height: calc(100dvh - 1rem);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
.lightbox::backdrop { background: #171410e8; }
.lightbox-bar { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin-bottom: .65rem; }
.lightbox-bar span { font-size: .875rem; }
.lightbox-button {
  background: transparent;
  color: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  padding: .25rem .55rem;
}
.lightbox-button:hover { border-color: var(--line); }
.lightbox-close { margin-left: auto; }
.lightbox img { object-fit: contain; max-height: calc(100dvh - 7rem); background: #211e1a; }
@media (max-width: 850px) {
  .header-inner { gap: .6rem 1.5rem; }
  .project-intro { grid-template-columns: 1fr; }
  .project-notes { max-width: 38rem; }
}
@media (max-width: 700px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 1rem 0 .5rem; }
  .site-nav { width: 100%; gap: 0 1.2rem; }
  .site-nav a { font-size: .875rem; }
  .intro { flex-direction: column; gap: .5rem; }
  .feature { min-height: 28rem; }
  .feature-image img { object-position: 64% center; }
  .feature-image::after { background: linear-gradient(0deg, #121b24 0%, #161f2abf 29%, #15202a21 69%, transparent); }
  .feature h2 { margin-block: .18em .27em; }
  .project-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .card-info { padding-bottom: 1rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { gap: .75rem 1rem; padding-block: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
