:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --bg-3: #18181c;
  --cream: #e8e2d6;
  --cream-dim: rgba(232, 226, 214, 0.58);
  --cream-faint: rgba(232, 226, 214, 0.12);
  --red: #e10600;
  --red-hot: #ff2a22;
  --red-glow: rgba(225, 6, 0, 0.42);
  --line: rgba(232, 226, 214, 0.14);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

body {
  overflow-x: hidden;
  cursor: none;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

.sr-only,
.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 80;
  padding: 10px 14px;
  background: var(--red);
}

.grain,
#hexCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

#hexCanvas {
  opacity: 0.45;
}

.grain {
  z-index: 50;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-ring,
.cursor-dot {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid var(--cream);
  transition: width 0.25s var(--ease), height 0.25s var(--ease);
}

.cursor.is-hover .cursor-ring {
  width: 64px;
  height: 64px;
}

.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
}

.rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
  box-shadow: 0 0 10px var(--red);
  animation: rec 1.15s ease-in-out infinite;
}

@keyframes rec {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.25;
    transform: scale(0.82);
  }
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #09090b;
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.preloader.is-gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: none;
}

.preloader-bar {
  width: min(240px, 60vw);
  height: 2px;
  margin: 22px auto 0;
  background: var(--line);
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--red);
  animation: load 1.1s var(--ease) infinite;
}

@keyframes load {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

.preloader-logo {
  width: min(340px, 72vw);
  margin: 22px auto 10px;
}

.rec-label,
.preloader-code,
.eyebrow,
.kicker,
.nav-yt,
.archive-count,
.cinema-kicker,
.about-rec {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.preloader-code {
  font-variant-numeric: tabular-nums;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 7vw;
  background: linear-gradient(to bottom, rgba(11, 11, 13, 0.92), rgba(11, 11, 13, 0.55) 70%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 11, 13, 0.88);
}

.nav-brand img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-dim);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-on {
  color: var(--cream);
}

.nav-links a.is-on {
  box-shadow: inset 0 -2px 0 var(--red);
}

[hidden] {
  display: none !important;
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 16px;
}

.live-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
}

.nav-yt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--cream);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--line);
  cursor: none;
}

.nav-toggle span {
  display: block;
  height: 1px;
  margin: 6px 10px;
  background: var(--cream);
}

main,
footer {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-content: end;
  padding: 18vh 7vw 8vh;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0b0b0d center / cover no-repeat;
  pointer-events: none;
}

.hero-media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  border: 0;
  transform: translate(-50%, -50%) scale(1.55);
  pointer-events: none;
}

.hero-shield,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-shield {
  cursor: none;
}

.hero-overlay {
  background:
    radial-gradient(ellipse at 70% 40%, rgba(225, 6, 0, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(11, 11, 13, 0.28) 0%, rgba(11, 11, 13, 0.22) 38%, rgba(11, 11, 13, 0.9) 100%);
  pointer-events: none;
}

.hero-frame span {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(232, 226, 214, 0.28);
  z-index: 2;
}

.hero-frame span:nth-child(1) {
  top: 24px;
  left: 24px;
  border-right: 0;
  border-bottom: 0;
}
.hero-frame span:nth-child(2) {
  top: 24px;
  right: 24px;
  border-left: 0;
  border-bottom: 0;
}
.hero-frame span:nth-child(3) {
  bottom: 24px;
  left: 24px;
  border-right: 0;
  border-top: 0;
}
.hero-frame span:nth-child(4) {
  bottom: 24px;
  right: 24px;
  border-left: 0;
  border-top: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.eyebrow-line {
  width: 48px;
  height: 1px;
  background: var(--red);
}

#timecode {
  font-variant-numeric: tabular-nums;
  color: var(--cream);
}

h1,
h2,
.cinema-meta h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.9;
  margin: 0 0 22px;
}

h1 {
  font-size: clamp(4.6rem, 12vw, 9.4rem);
}

h1 em {
  font-style: normal;
  color: var(--cream);
  text-shadow: 0 0 40px rgba(225, 6, 0, 0.18);
}

h1 em::after {
  content: "";
  display: inline-block;
  width: 0.22em;
  height: 0.22em;
  margin-left: 0.12em;
  margin-bottom: 0.18em;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 16px var(--red);
  animation: rec 1.15s ease-in-out infinite;
}

h2 {
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.hero-lead,
.section-head p,
.about-copy p,
.contact p,
.cinema-meta p,
.footer p {
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.7;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid transparent;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: none;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 40px var(--red-glow);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
}

.hero-pills {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 40px 0 0;
  margin: 40px 0 0;
  border-top: 1px solid var(--line);
}

.hero-pills li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--cream-dim);
}

.mesh {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  z-index: 1;
  opacity: 0.35;
}

.mesh path {
  fill: none;
  stroke: rgba(232, 226, 214, 0.28);
  stroke-width: 1;
}

.services,
.werk,
.instagram,
.about,
.links,
.contact,
.process {
  padding: 12vh 7vw;
  scroll-margin-top: 92px;
}

.section-head {
  margin-bottom: 48px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--red);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 28px 24px;
  border: 1px solid var(--line);
  background: rgba(17, 17, 20, 0.55);
  min-height: 220px;
  transition: border-color 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.service-card:hover {
  border-color: var(--red);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 24px var(--red-glow);
}

.service-card span {
  display: block;
  margin-bottom: 28px;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--red);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  line-height: 1;
}

.service-card p {
  margin: 0;
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.65;
}

.werk-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.werk-grid .film-card:nth-child(1),
.werk-grid .film-card:nth-child(2) {
  grid-column: span 1;
}

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ig-grid .film-card img {
  aspect-ratio: 1;
}

.ig-fallback {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.ig-embed {
  width: min(420px, 100%);
  border: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}

.ig-embed iframe {
  display: block;
  width: 100%;
  height: 640px;
  border: 0;
}

.film-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  isolation: isolate;
  cursor: none;
}

.film-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 0.8s var(--ease), filter 0.8s;
  filter: saturate(0.85) contrast(1.05);
}

.film-card:hover img {
  transform: scale(1.12);
  filter: saturate(1) contrast(1.1);
}

.film-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(transparent, rgba(8, 8, 10, 0.92));
}

.card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(232, 226, 214, 0.4);
  background: rgba(11, 11, 13, 0.45);
  backdrop-filter: blur(8px);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.card-play::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 26px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--cream);
}

.film-card:hover .card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.card-meta {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
}

.card-meta p {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.card-meta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1;
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 8px;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: rgba(11, 11, 13, 0.72);
  border: 1px solid var(--line);
}

.link-list {
  max-width: 640px;
  display: grid;
  gap: 12px;
}

.link-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  background: rgba(17, 17, 20, 0.7);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.link-row em {
  font-style: normal;
  color: var(--cream-dim);
  letter-spacing: 0.08em;
  text-transform: none;
  font-size: 13px;
}

.link-row:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  background:
    linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.05)),
    var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-visual {
  position: relative;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 18%;
  background: var(--bg-2);
  border: 1px solid var(--line);
}

.about-visual img {
  width: 72%;
  height: auto;
  border: 0;
}

.about-rec {
  position: absolute;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(11, 11, 13, 0.72);
}

.text-link {
  display: inline-block;
  margin-top: 18px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
}

.contact {
  text-align: center;
}

.contact h2,
.contact p {
  margin-left: auto;
  margin-right: auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--cream-dim);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 28px 7vw 40px;
  border-top: 1px solid var(--line);
}

.footer img {
  height: 28px;
  width: auto;
}

.cinema {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 6, 8, 0.86);
  backdrop-filter: blur(18px);
  display: none;
  place-items: center;
  padding: 6vh 6vw;
}

.cinema.is-open {
  display: grid;
}

.cinema-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: 1px solid var(--line);
  padding: 10px 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  cursor: none;
}

.cinema-stage {
  width: min(1100px, 100%);
}

.cinema-frame {
  position: relative;
  background: #000 center / cover no-repeat;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
}

.cinema-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cinema-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  background: rgba(8, 8, 10, 0.35);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
}

.cinema-play .card-play {
  position: static;
  opacity: 1;
  transform: none;
}

.cinema-meta {
  margin-top: 22px;
}

.cinema-meta h3 {
  font-size: 3rem;
  margin-bottom: 8px;
}

.cinema-meta a {
  display: inline-flex;
  margin-top: 16px;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0a0a0c;
}

.marquee-track {
  display: flex;
  gap: 48px;
  padding: 18px 0;
  width: max-content;
  animation: ticker 28s linear infinite;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  color: var(--cream-dim);
}

.marquee-track span::after {
  content: "●";
  margin-left: 48px;
  color: var(--red);
  font-size: 0.55em;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: none;
}

.process-grid li {
  padding: 28px 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(225, 6, 0, 0.08), transparent 42%);
}

.process-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--red);
  letter-spacing: 0.22em;
  font-size: 12px;
}

.process-grid h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  margin: 0 0 10px;
  letter-spacing: 0.04em;
}

.process-grid p {
  margin: 0;
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.6;
}

.slate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 36px auto 0;
  text-align: left;
}

.slate label {
  display: grid;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}

.slate-full,
.slate button,
.form-status {
  grid-column: 1 / -1;
}

.slate input,
.slate textarea,
.slate select {
  width: 100%;
  background: rgba(17, 17, 20, 0.8);
  border: 1px solid var(--line);
  padding: 14px 16px;
  outline: none;
  cursor: none;
}

.slate input:focus,
.slate textarea:focus,
.slate select:focus {
  border-color: var(--red);
}

.form-status {
  margin: 0;
  min-height: 1.4em;
}

.reveal,
.process-grid li,
.service-card {
  opacity: 0;
  transform: translateY(18px);
  animation: none;
}

.reveal.is-in,
.process-grid li.is-in,
.service-card.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

@media (hover: none) {
  body,
  .btn,
  .film-card,
  .nav-toggle,
  .cinema-close {
    cursor: auto;
  }

  .cursor {
    display: none;
  }

  .card-play {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ig-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 18px;
    padding: 24px 7vw 32px;
    background: rgba(11, 11, 13, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .services-grid,
  .werk-grid,
  .ig-grid,
  .process-grid,
  .about,
  .footer,
  .slate {
    grid-template-columns: 1fr;
    display: grid;
  }

  .live-chip {
    display: none;
  }

  .link-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    justify-items: start;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .process-grid li,
  .service-card {
    opacity: 1;
    transform: none;
  }
}

.page-article,
.page-404 {
  padding: 18vh 7vw 12vh;
  min-height: 70vh;
  max-width: 820px;
}

.page-article .page-body,
.page-404 p {
  color: var(--cream-dim);
  font-weight: 300;
  line-height: 1.7;
  max-width: 58ch;
}

.page-404 .btn {
  margin-top: 28px;
}

body:not([data-layout="home"]) .services,
body:not([data-layout="home"]) .werk,
body:not([data-layout="home"]) .links,
body:not([data-layout="home"]) .contact {
  padding-top: 16vh;
}
