html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #0b0b0b;
  color: #eaeaea;
  font-family: Helvetica, Arial, sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

/* NAVIGATION */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  gap: 20px;
  padding: 20px 40px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

nav a {
  color: #eaeaea;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.8;
}

nav a:hover {
  opacity: 1;
}

/* HERO */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  font-size: 42px;
  font-weight: 400;
  margin: 0;
  letter-spacing: 3px;
}

.hero p {
  opacity: 0.7;
  margin-top: 10px;
}

/* SECTIONS */

.work,
.info {
  padding: 120px 40px;
  max-width: 1000px;
  margin: auto;
}

.work h2,
.info h2 {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-bottom: 30px;
  opacity: 0.8;
}

.work h2 {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
}

/* GRID */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* FILM CARD */

.film {
  display: block;
  text-decoration: none;
  color: inherit;
}

.film p {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.8;
  letter-spacing: 1px;
}

/* THUMBNAILS */

.thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.film:hover img {
  transform: scale(1.03);
  opacity: 0.85;
}



/* VIDEO SYSTEM (CINEMATIC WRAPPER) */


.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;

  /* hides load flash + softens UI perception */
  background: #000;
}

.video {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}


.video {
  margin: 60px 0;
  background: #000;
  padding: 8px 0;
  border-radius: 2px;
  overflow: hidden;
}

.video {
  margin: 50px 0;
  background: #000;
  overflow: hidden;
  position: relative;
}

/* This is the KEY part for hiding YouTube UI visually */
.video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  display: block;

  /* subtle fade-in for cinematic feel */
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* INFO PAGE */

.info {
  max-width: 800px;
  padding-top: 140px;
}

.info h1 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.info h2 {
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.7;
}

.info p {
  line-height: 1.7;
  opacity: 0.85;
}

/* META */

.meta {
  opacity: 0.6;
  font-size: 13px;
  margin-bottom: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* LINKS */

a {
  color: #eaeaea;
}

/* CREDITS */

.credits-section {
  margin-top: 80px;
}

.credits-group {
  margin-bottom: 50px;
}

.credits-group h5 {
  margin: 0 0 18px 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.55;
}

.credits-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credits-group li {
  margin-bottom: 10px;
  opacity: 0.85;
  line-height: 1.8;
}

.credits-group li:last-child {
  margin-bottom: 0;
}

.credits-section {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}