:root {
  --bg: #0d0b02;
  --gold: #e2c376;
  --cream: #f3ede0;
  --cream-dim: #b8b2a3;
  --line: rgba(226, 195, 118, 0.18);
  --card: #171717;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Afacad Flux', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, video { max-width: 100%; display: block; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 200px;
  background: #000000;
}

.logo { font-size: 35px; font-weight: 600; letter-spacing: 0.06em; }

nav { display: flex; align-items: center; gap: 40px; font-size: 30px; letter-spacing: 0.02em; }

.nav-work { position: relative; cursor: pointer; display: flex; align-items: center; gap: 6px; }

.nav-work svg { width: 10px; height: 10px; transition: transform 0.2s ease; }

.nav-work:hover svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 50px;
  left: 0;
  min-width: 220px;
  background: var(--card);
  border-radius: 4px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-work:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 25px;
  color: var(--cream-dim);
  transition: color 0.15s ease, background 0.15s ease;
}

.dropdown a:hover { color: var(--gold); background: rgba(226, 195, 118, 0.06); }

nav > a:hover { color: var(--gold); }
nav .current { color: var(--gold); }

.hero { padding: 48px 48px 36px; text-align: center; max-width: 800px; margin: 0 auto; }

.hero h1 {
  font-size: 65px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero p { font-size: 22px; color: var(--cream-dim); line-height: 1.6; max-width: 800px; margin: 0 auto; }

.grid-section { padding: 16px 48px 56px; max-width: 1150px; margin: 0 auto; }

.tile-wrap { position: relative; }

.feature-tile {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 8 / 3;
  background: var(--card);
}

.feature-tile video, .feature-tile img {
  width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: opacity 0.35s ease;
  border-radius: 14px;
}

.feature-tile:hover video, .feature-tile:hover img { opacity: 0; }

.tile-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  background: transparent;
  color: var(--gold);
  font-size: 81px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.tile-wrap:hover .tile-label { opacity: 1; }

.small-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.small-tile {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--card);
}

.small-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: opacity 0.35s ease; }

.small-tile:hover img { opacity: 0; }

.tile-wrap:has(.small-tile) .tile-label { font-size: 58px; padding: 12px; }

.page-header { max-width: 900px; margin: 0 auto; padding: 70px 48px 40px; text-align: center; }

.page-header h2 {
  font-size: 70px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--gold);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.page-header p { font-size: 22px; color: var(--cream-dim); line-height: 1.6; max-width: 620px; margin: 0 auto; }

.project-block { max-width: 1100px; margin: 0 auto; padding: 0 48px 64px; }

.project-block-1430 { max-width: 1430px; }

.project-block-1375 { max-width: 1375px; }

.project-block-wide { max-width: 1485px; }

.project-block h1 { font-size: 32px; font-weight: 700; color: var(--gold); margin-bottom: 22px; }

.project-block h3 { font-size: 32px; font-weight: 600; color: var(--gold); margin-bottom: 22px; margin-top: 40px; text-align: center; }

.meta-line { font-size: 14px; color: var(--cream-dim); margin-bottom: 6px; }

.meta-line strong { color: var(--cream); font-weight: 600; }

.project-block p.body-copy {
  font-size: 16px; color: var(--cream-dim); line-height: 1.7; max-width: 720px; margin: 16px 0 28px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.media-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; aspect-ratio: 4 / 3; }

.media-grid-3col { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }

.media-grid-3col img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; border-radius: 14px; cursor: pointer; }

.media-grid-square img { aspect-ratio: 1 / 1; }

.media-grid-natural { align-items: start; }

.media-grid-natural img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top;
  aspect-ratio: auto;
  display: block;
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 11, 2, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  cursor: pointer;
  padding: 32px;
}

.lightbox-overlay.active { display: flex; }

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.media-single { margin-bottom: 24px; }

.media-grid-2col-square {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.media-grid-2col-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  cursor: pointer;
}

.info-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 32px;
}

.info-left p:first-child, .info-right p:first-child { margin-top: 0; }

.social-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.social-row img, .social-row video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  cursor: pointer;
}

.merch-section { max-width: 1430px; margin: 0 auto; padding: 0 48px 64px; }

.merch-badge-wrap { text-align: center; margin-bottom: 40px; }

.merch-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  font-weight: 700;
  font-size: 22px;
  padding: 14px 32px;
  border-radius: 14px;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.merch-col { text-align: center; }

.merch-col h3 { font-size: 26px; font-weight: 700; color: var(--gold); text-align: center; margin: 20px 0 10px; }

.merch-col p { color: var(--cream-dim); font-size: 15px; line-height: 1.6; text-align: center; }

.carousel {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
}

.carousel-track { position: relative; width: 100%; height: 100%; }

.carousel-track img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.carousel-track img.active { display: block; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 11, 2, 0.55);
  border: none;
  color: var(--cream);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.carousel-btn:hover { background: rgba(13, 11, 2, 0.85); }

.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }

.carousel-counter {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(13, 11, 2, 0.7);
  color: var(--cream);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  z-index: 5;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.video-grid .video-embed { margin-bottom: 0; }

.video-grid h3 { font-size: 22px; margin-top: 20px; margin-bottom: 4px; text-align: left; }

.video-grid .meta-line, .video-grid .body-copy { text-align: left; }

.video-grid .meta-line { margin-bottom: 4px; }

.video-grid .body-copy { margin: 8px 0 0; }

.video-embed { position: relative; }

.video-click-catch {
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: 10;
}

.video-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 11, 2, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 32px;
}

.video-lightbox-overlay.active { display: flex; }

.video-lightbox-wrap {
  width: 90vw;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.video-lightbox-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
}

.video-poster {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(13, 11, 2, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.video-poster:hover .play-icon { background: rgba(13, 11, 2, 0.85); }

.play-icon svg { width: 24px; height: 24px; fill: var(--cream); margin-left: 4px; }

.info-left h1 { margin-bottom: 20px; }

.info-right .body-copy { margin: 0; }

.media-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.media-grid-2x2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  cursor: pointer;
}

.video-text-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.video-text-row .video-embed { margin-bottom: 0; }

.video-text-row .info-text .body-copy { margin-top: 12px; margin-bottom: 0; max-width: none; }

.media-single img { width: 100%; border-radius: 14px; }

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
  background: var(--card);
}

.video-embed iframe { width: 100%; height: 100%; border: 0; }

.caption { font-size: 14px; color: var(--cream-dim); margin-bottom: 28px; }

.section-desc { font-size: 22px; color: var(--cream-dim); line-height: 1.6; text-align: center; max-width: 620px; margin: 0 auto 28px; }

.about-wrap { max-width: 700px; margin: 0 auto; padding: 60px 48px 100px; text-align: center; }

.about-wrap img {
  width: 180px; height: 180px; object-fit: cover; border-radius: 50%; margin: 0 auto 32px;
}

.about-wrap h1 { font-size: 30px; font-weight: 700; color: var(--gold); margin-bottom: 20px; }

.about-wrap p { font-size: 22px; color: var(--cream-dim); line-height: 1.7; margin-bottom: 20px; }

.about-wrap .contact-line { margin-top: 32px; font-size: 22px; color: var(--cream); }

.about-wrap .contact-line a { color: var(--gold); border-bottom: 1px solid var(--gold); }

footer {
  padding: 32px 48px; text-align: center; font-size: 13px; color: var(--cream-dim); letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .feature-tile, .small-tile {
    aspect-ratio: auto;
    overflow: visible;
  }

  .feature-tile video, .feature-tile img, .small-tile img {
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  .feature-tile:hover video, .feature-tile:hover img,
  .small-tile:hover img { opacity: 1; }

  .tile-label {
    position: static;
    opacity: 1;
    pointer-events: auto;
    color: var(--gold);
    text-align: center;
    padding: 0 4px;
    margin-top: 16px;
  }

  .grid-section > .tile-wrap { margin-bottom: 28px; }

  .tile-wrap:has(.feature-tile) .tile-label { font-size: 44px; }

  .tile-wrap:has(.small-tile) .tile-label { font-size: 32px; margin-top: 12px; }
}

@media (max-width: 700px) {
  .small-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  header { padding: 20px 24px; flex-direction: column; gap: 14px; }
  nav { gap: 22px; font-size: 24px; }
  .dropdown a { font-size: 24px; }
  .grid-section { padding: 24px 24px 80px; }
  .hero { padding: 56px 24px 40px; }
  .page-header { padding: 40px 24px 28px; }
  .project-block { padding: 0 24px 48px; }
  .about-wrap { padding: 48px 24px 72px; }

  .hero p { font-size: 19px; }

  .page-header h2 { font-size: 38px; }

  .page-header p { font-size: 19px; }

  .section-desc { font-size: 19px; }

  .video-grid { grid-template-columns: 1fr; }

  .media-grid-3col { grid-template-columns: 1fr; }

  .info-grid { grid-template-columns: 1fr; gap: 12px; }

  .rizyl-top { display: flex; flex-direction: column; }
  .rizyl-top .media-grid-2x2 { order: -1; }
  .rizyl-top .video-embed { margin-bottom: 40px; }

  .merch-badge { padding: 8px 24px; }

  .media-grid-2col-square { gap: 10px; }
  .media-grid-2x2 { gap: 10px; }
  .media-single { margin-bottom: 10px; }

  .info-left { display: flex; flex-wrap: wrap; gap: 6px 24px; }

  .social-row { grid-template-columns: 1fr; }
  .merch-grid { grid-template-columns: 1fr; }

  .grid-section > .tile-wrap { margin-bottom: 32px; }

  .tile-wrap:has(.feature-tile) .tile-label { font-size: 32px; }

  .tile-wrap:has(.small-tile) .tile-label { font-size: 27px; margin-top: 14px; }
}
