:root {
  --page: #2c2e33;
  --card-radius: 1.5rem;
  --poster: url('assets/youtube-thumbnail-AndYIYZGHG0.jpg');
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' width='512' height='512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.875'/%3E%3CfeColorMatrix type='matrix' values='.03515625 0 0 0 0 0 .03515625 0 0 0 0 0 .0390625 0 0 0 0 0 1 0'/%3E%3C/filter%3E%3Crect filter='url(%23noise)' width='512' height='512' fill='transparent'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; }
html { font-size: 18pt; }
body { 
  margin: 0; min-width: 320px; min-height: 100vh; overflow-x: hidden;
  color: #fff; background: var(--page); font-family: Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: var(--noise) center / 512px repeat;
}
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.site-wrapper { display: flex; min-height: 100vh; position: relative; z-index: 1; align-items: center; justify-content: center; }
.site-main { width: 100%; max-width: 100%; }
.site-inner { width: 65rem; max-width: 100%; margin: 0 auto; padding: 3rem; }

.trailer-card {
  position: relative; display: flex; width: 100%; min-height: 33rem; overflow: hidden;
  align-items: flex-end; justify-content: flex-start; border-radius: var(--card-radius);
  background: #111; isolation: isolate;
}
.media-layer { position: absolute; z-index: 0; inset: 0; background: var(--poster) center / cover no-repeat; }
.media-layer iframe { display: block; width: 100%; height: 100%; border: 0; }
.trailer-card.is-playing .media-layer { background: #000; }
.card-scrim {
  position: absolute; z-index: 1; inset: 0; pointer-events: none; border-radius: inherit;
  background-image: var(--noise), linear-gradient(14deg, #1a1b1c 14%, rgba(26, 27, 28, .72) 36%, rgba(26, 27, 28, .14) 76%, rgba(26, 27, 28, .08) 100%);
  background-size: 512px, cover; background-position: center, 0 0; background-repeat: repeat, repeat;
}
.play-trigger { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; cursor: pointer; background: transparent; }
.play-trigger::before {
  content: ''; position: absolute; top: 50%; left: 50%; width: 4.5rem; height: 4.5rem;
  border: 1px solid rgba(255,255,255,.85); border-radius: 50%; background: rgba(14, 15, 16, .65);
  box-shadow: 0 .25rem 1.25rem rgba(0,0,0,.28); transform: translate(-50%, -50%);
  transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.play-trigger::after {
  content: ''; position: absolute; top: 50%; left: 50%; border-top: .7rem solid transparent;
  border-bottom: .7rem solid transparent; border-left: 1.08rem solid #fff;
  filter: drop-shadow(0 .08rem .1rem rgba(0,0,0,.3)); transform: translate(-39%, -50%);
  transition: transform .25s ease;
}
.play-trigger:hover::before, .play-trigger:focus-visible::before { background: rgba(14, 15, 16, .86); box-shadow: 0 .35rem 1.5rem rgba(0,0,0,.4); transform: translate(-50%, -50%) scale(1.12); }
.play-trigger:hover::after, .play-trigger:focus-visible::after { transform: translate(-34%, -50%) scale(1.08); }
.play-trigger:focus-visible { outline: 3px solid rgba(255, 255, 255, .8); outline-offset: -7px; border-radius: inherit; }
.trailer-card.is-playing .play-trigger { display: none; }
.trailer-card.is-playing .card-scrim { opacity: 0; }
.trailer-card.is-playing .card-content { opacity: 0; pointer-events: none; visibility: hidden; }

.card-content {
  position: relative; z-index: 3; display: flex; width: 100%; padding: 3rem; align-items: flex-end; gap: 2rem; pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}
.title-block { width: calc(55% + 1rem); pointer-events: auto; }
.card-content nav { width: calc(45% + 1rem); pointer-events: auto; }
.eyebrow {
  width: calc(100% + .25rem); margin: 0; text-transform: uppercase; color: rgba(255,255,255,.388);
  font-size: .75em; font-weight: 500; letter-spacing: .25rem; line-height: 1.5;
}
h1 { margin: .75rem 0 0; color: #fff; font-size: 3em; font-weight: 700; line-height: 1; }
.social-icons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1.25rem; padding: 0; margin: 0; list-style: none; }
.social-icons li { position: relative; }
.social-icons a {
  display: flex; align-items: center; justify-content: center; width: 2em; height: 2em; border-radius: 50%;
  color: #fff; background-color: rgba(255,255,255,.129); text-decoration: none;
  transition: transform .25s ease, background-color .25s ease;
}
.social-icons a:hover, .social-icons a:focus-visible { background-color: rgba(255,255,255,.2); transform: scale(1.2); }
.social-icons a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.social-icons svg { display: block; width: 60%; height: 60%; fill: currentColor; }
.social-icons span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 1680px) { html { font-size: 13pt; } }
@media (max-width: 1280px) { html { font-size: 13pt; } }
@media (max-width: 980px) { html { font-size: 11pt; } }
@media (max-width: 736px) {
  html { font-size: 11pt; }
  .site-inner { padding: 1.25rem; }
  .trailer-card { min-height: 38rem; }
  .card-content { flex-direction: column; justify-content: flex-end; align-items: center; padding: 3rem 2rem; gap: 1.5rem; text-align: center; }
  .title-block, .card-content nav { width: 100%; }
  .social-icons { justify-content: center; font-size: 1.625em; gap: 1.25rem; }
  .eyebrow { width: calc(100% + .21875rem); letter-spacing: .21875rem; }
  h1 { font-size: 2.25em; line-height: 1.125; }
}
@media (max-width: 480px) { .site-inner { padding: 1.25rem; } }
@media (max-width: 360px) {
  .site-inner { padding: .9375rem; }
  .trailer-card { min-height: 28.5rem; }
  .card-content { padding: 2.25rem 1.5rem; }
  .social-icons { gap: .9375rem; }
}
