:root {
  --ink: #0d0a0b;
  --wine: #2a1218;
  --cream: #f2e8df;
  --muted: #a3918a;
  --rose: #d7a09d;
  --line: rgba(242, 232, 223, 0.17);
  --serif: "Didot", "Bodoni 72", ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(18px, 4.2vw, 56px);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--cream);
  background: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.player-open {
  position: fixed;
  width: 100%;
  overflow: hidden;
}

::selection {
  color: var(--ink);
  background: var(--rose);
}

a {
  color: inherit;
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img,
video,
svg {
  display: block;
}

img {
  max-width: 100%;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 400;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--cream);
  font-size: 10px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: calc(100% - var(--pad) - var(--pad) - var(--safe-left) - var(--safe-right));
  max-width: 1360px;
  margin-inline: auto;
}

.brand {
  color: var(--cream);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.25em;
  line-height: 1;
  text-decoration: none;
}

.brand-dot {
  color: var(--rose);
  letter-spacing: 0;
}

/* ------------------------------------------------------------------
   Masthead
------------------------------------------------------------------ */

.masthead {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 0;
  padding-top: var(--safe-top);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  border-bottom: 1px solid rgba(242, 232, 223, 0.14);
}

.masthead-note,
.masthead-meta {
  color: rgba(242, 232, 223, 0.56);
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.masthead-note {
  margin-left: auto;
  margin-right: clamp(24px, 4vw, 60px);
}

.masthead-meta {
  color: var(--rose);
}

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------ */

.hero {
  position: relative;
  display: flex;
  min-height: clamp(440px, 62svh, 720px);
  overflow: hidden;
  align-items: flex-end;
  isolation: isolate;
  background: var(--ink);
}

.hero-media,
.hero-wash {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  filter: saturate(0.82) contrast(1.04) brightness(0.74);
  transform: scale(1.02);
  animation: hero-drift 24s var(--ease) infinite alternate;
}

.hero-wash {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(13, 10, 11, 0.9) 0%, rgba(13, 10, 11, 0.5) 53%, rgba(13, 10, 11, 0.1) 100%),
    linear-gradient(0deg, rgba(13, 10, 11, 0.96) 0%, rgba(13, 10, 11, 0.05) 72%),
    radial-gradient(60% 80% at 78% 10%, rgba(85, 28, 36, 0.25), transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 140px;
  padding-bottom: clamp(28px, 4.6vw, 54px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: rgba(242, 232, 223, 0.62);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rose);
}

.hero-title {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(4.6rem, 8.6vw, 8.8rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.82;
  animation: rise-in 900ms var(--ease) both;
}

.hero-title em {
  color: var(--rose);
  font-style: italic;
  font-weight: 400;
}

.hero-deck {
  max-width: 23em;
  margin: 25px 0 0;
  color: rgba(242, 232, 223, 0.68);
  font-size: 13px;
  line-height: 1.65;
  animation: rise-in 900ms 90ms var(--ease) both;
}

.scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 27px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(242, 232, 223, 0.4);
  color: var(--cream);
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
  animation: rise-in 900ms 160ms var(--ease) both;
}

.scroll-link span {
  color: var(--rose);
  font-size: 13px;
  animation: cue-drop 2.3s var(--ease) infinite;
}

.hero-side {
  position: absolute;
  z-index: 1;
  right: 20px;
  bottom: 28px;
  color: rgba(242, 232, 223, 0.42);
  font-size: 7px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

/* ------------------------------------------------------------------
   Film wall
------------------------------------------------------------------ */

.films {
  padding-block: 26px 42px;
  background: var(--ink);
  scroll-margin-top: 20px;
}

.film-bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.film-bar h2,
.film-bar span {
  margin: 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 7.5px;
  font-weight: 650;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.film-bar span {
  color: var(--rose);
}

.film-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.film-card {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(242, 232, 223, 0.1);
  border-radius: 2px;
  background: #1a1114;
  color: var(--cream);
  text-align: left;
  cursor: pointer;
  isolation: isolate;
}

.card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03) brightness(0.8);
  transition: transform 900ms var(--ease), filter 500ms ease;
}

.card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 7, 8, 0.45), transparent 38%),
    linear-gradient(0deg, rgba(9, 7, 8, 0.88), transparent 64%);
  pointer-events: none;
}

.card-meta {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 10px;
  left: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(242, 232, 223, 0.66);
  font-size: 6px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-meta span:last-child {
  color: var(--rose);
  text-align: right;
}

.card-title {
  position: absolute;
  z-index: 1;
  right: 11px;
  bottom: 11px;
  left: 11px;
  font-family: var(--serif);
  font-size: clamp(1.22rem, 1.9vw, 1.72rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.card-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(242, 232, 223, 0.55);
  border-radius: 50%;
  color: var(--cream);
  background: rgba(13, 10, 11, 0.18);
  opacity: 0.92;
  transform: translate(-50%, -50%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: color 220ms ease, background 220ms ease, transform 220ms var(--ease);
}

.card-play svg {
  width: 12px;
  height: 12px;
  margin-left: 1px;
}

.card-play svg path {
  fill: currentColor;
}

.film-card:active .card-image {
  filter: saturate(1) contrast(1.03) brightness(0.9);
  transform: scale(1.035);
}

.film-card:active .card-play {
  color: var(--ink);
  background: var(--cream);
}

.noscript {
  margin: 22px 0;
  color: var(--muted);
  font-size: 12px;
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */

.site-footer {
  padding-block: 18px calc(18px + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background: var(--ink);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  color: var(--muted);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-inner .brand {
  font-size: 10px;
}

/* ------------------------------------------------------------------
   Player
------------------------------------------------------------------ */

.player {
  position: fixed;
  z-index: 300;
  inset: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--cream);
  background: #090708;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  animation: player-in 280ms ease both;
}

.player-shell {
  min-height: 100%;
  padding: 0 var(--pad) calc(24px + var(--safe-bottom));
}

.player-bar {
  position: sticky;
  z-index: 4;
  top: 0;
  display: flex;
  align-items: center;
  height: calc(58px + var(--safe-top));
  margin-inline: calc(0px - var(--pad));
  padding: var(--safe-top) var(--pad) 0;
  border-bottom: 1px solid rgba(242, 232, 223, 0.13);
  background: rgba(9, 7, 8, 0.96);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
}

.player-brand {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.25em;
  line-height: 1;
}

.player-count {
  margin-left: 19px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.player-close {
  display: grid;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(242, 232, 223, 0.27);
  border-radius: 50%;
  color: var(--cream);
  background: transparent;
  cursor: pointer;
}

.player-close svg {
  width: 17px;
  height: 17px;
}

.player-main {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: calc(100svh - 100px);
  max-width: 1120px;
  margin-inline: auto;
  padding-top: 20px;
}

.player-stage {
  position: relative;
  width: min(100%, 1000px);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.player-stage.is-portrait {
  width: min(100%, 355px);
  aspect-ratio: 9 / 16;
}

.player-stage video {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.player-stage video:focus {
  outline: none;
}

.player-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: rgba(9, 7, 8, 0.92);
  color: rgba(242, 232, 223, 0.7);
  font-size: 11px;
  text-align: center;
}

.player-error button {
  padding: 9px 14px;
  border: 1px solid rgba(242, 232, 223, 0.32);
  border-radius: 999px;
  color: var(--cream);
  background: transparent;
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}

.player-caption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, 1000px);
  margin-top: 17px;
}

.player-stage.is-portrait + .player-caption {
  width: min(100%, 355px);
}

.player-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.player-dot {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
}

.player-title {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.7rem, 4.5vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.93;
}

.player-nav {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
}

.player-step {
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(242, 232, 223, 0.28);
  border-radius: 50%;
  color: var(--cream);
  background: transparent;
  cursor: pointer;
}

.player-step svg {
  width: 17px;
  height: 12px;
}

.player-step--next {
  border-color: var(--cream);
  color: var(--ink);
  background: var(--cream);
}

.player-step:active {
  opacity: 0.7;
}

/* ------------------------------------------------------------------
   Motion and responsive
------------------------------------------------------------------ */

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.075);
  }
}

@keyframes cue-drop {
  0%,
  100% {
    transform: translateY(-2px);
    opacity: 0.55;
  }
  50% {
    transform: translateY(3px);
    opacity: 1;
  }
}

@keyframes player-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (hover: hover) and (pointer: fine) {
  .film-card:hover .card-image {
    filter: saturate(1) contrast(1.03) brightness(0.92);
    transform: scale(1.045);
  }

  .film-card:hover .card-play {
    color: var(--ink);
    background: var(--cream);
  }

  .player-close:hover,
  .player-step:hover {
    background: rgba(242, 232, 223, 0.09);
  }

  .player-step--next:hover {
    color: var(--ink);
    background: #fff7ef;
  }

  .scroll-link:hover span {
    transform: translateY(3px);
  }
}

@media (max-width: 1100px) {
  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .film-card .card-title {
    font-size: clamp(1.3rem, 3.4vw, 1.7rem);
  }
}

@media (max-width: 680px) {
  .masthead-inner {
    height: 60px;
  }

  .masthead-note {
    display: none;
  }

  .masthead-meta {
    margin-left: auto;
  }

  .hero {
    min-height: clamp(430px, 64svh, 590px);
  }

  .hero-media img {
    object-position: center 20%;
  }

  .hero-wash {
    background:
      linear-gradient(0deg, rgba(13, 10, 11, 0.97) 0%, rgba(13, 10, 11, 0.62) 46%, rgba(13, 10, 11, 0.12) 82%),
      linear-gradient(90deg, rgba(13, 10, 11, 0.4), transparent 75%);
  }

  .hero-content {
    padding-top: 105px;
    padding-bottom: 24px;
  }

  .hero-title {
    margin-top: 18px;
    font-size: clamp(3.7rem, 16vw, 5.6rem);
  }

  .hero-deck {
    max-width: 21em;
    margin-top: 19px;
    font-size: 12px;
  }

  .scroll-link {
    margin-top: 22px;
  }

  .hero-side {
    display: none;
  }

  .films {
    padding-block: 18px 32px;
  }

  .film-grid {
    gap: 7px;
    margin-top: 10px;
  }

  .film-bar h2,
  .film-bar span {
    font-size: 7px;
  }

  .card-meta {
    top: 8px;
    right: 8px;
    left: 8px;
    font-size: 5.5px;
  }

  .card-title {
    right: 9px;
    bottom: 9px;
    left: 9px;
    font-size: 1.24rem;
  }

  .card-play {
    width: 30px;
    height: 30px;
  }

  .card-play svg {
    width: 10px;
    height: 10px;
  }

  .footer-inner {
    gap: 9px 15px;
    font-size: 6.5px;
  }

  .footer-inner span:nth-child(2) {
    order: 3;
    width: 100%;
  }

  .player-main {
    min-height: 0;
    justify-content: flex-start;
    padding-top: 16px;
  }

  .player-caption {
    align-items: center;
    gap: 14px;
    margin-top: 13px;
  }

  .player-title {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .player-step {
    width: 39px;
    height: 39px;
  }
}

@media (max-width: 370px) {
  .hero-title {
    font-size: 3.45rem;
  }

  .card-title {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
