@font-face {
  font-family: 'Bebas Kai';
  font-style: normal;
  font-weight: 400;
  src: url('BebasKai.ttf') format('truetype');
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; background-color: #111; background-image: url("img/3de786ac-ea97-4780-b1b8-51beb8b3b703_rwc_14x0x2621x2852x4096.webp"); background-position: top center; background-repeat: repeat; background-size: contain; min-height: 100%; position: relative; }
html:before { content: ''; height: 100%; left: 0; position: fixed; top: 0; width: 100%; background-color: #000; display: block; opacity: 0.3; pointer-events: none; }
body { margin: 0; font-family: 'Bebas Kai', 'Helvetica Neue', Arial, sans-serif; min-height: 100%; }
ul { margin: 0; padding: 0; } ul li { list-style-type: none; }
img { border: 0; vertical-align: top; max-width: 100%; height: auto; }
a { text-decoration: none; background: transparent; }
a:active, a:focus, a:hover { outline: 0; }
.cfix:after { clear: both; content: ' '; display: block; height: 0; line-height: 0; overflow: hidden; visibility: hidden; }

/* ===== Header / nav (mobile-first: base = mobile) ===== */
.site-header { position: relative; display: flex; align-items: center; justify-content: center; height: 80px; padding: 0 5%; z-index: 3; }

.nav-toggle {
  position: absolute; left: 5%; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer; z-index: 40;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile: nav is a full-screen overlay menu */
.site-header nav {
  position: fixed; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px; width: 100%; text-align: center;
  background: rgba(0, 0, 0, 0.96);
  opacity: 0; visibility: hidden; transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 30;
}
.site-header nav.open { opacity: 1; visibility: visible; }
.site-header nav .page-title, .site-header nav .gallery-title { display: block; padding: 0; }
.site-header nav a { color: #fff; font-family: 'Bebas Kai', 'Helvetica Neue', Arial, sans-serif; font-size: 28px; font-weight: 400; line-height: 32px; text-transform: uppercase; }
.site-header nav a:hover, .site-header nav a.active { color: #AEAEAE; }

.logo-wrap { width: 100%; display: flex; justify-content: center; }
.logo { width: 100%; text-align: center; }
.logo a { display: inline-block; color: #fff; font-family: 'Bebas Kai', 'Helvetica Neue', Arial, sans-serif; font-size: 24px; font-weight: 400; line-height: 24px; text-transform: uppercase; }
.logo img { max-height: 48px; width: auto; display: inline-block; vertical-align: middle; }

.site-wrap, .site-container { position: relative; width: 100%; }
.site-content { position: relative; width: 100%; margin: 0; }

.page-header { text-align: center; padding: 10px 4% 20px; }
.page-header .title { color: #fff; font-family: 'Bebas Kai', 'Helvetica Neue', Arial, sans-serif; font-size: 24px; font-weight: 400; text-transform: uppercase; margin: 0; }
.page-header .description { color: #999; font-family: 'Bebas Kai', 'Helvetica Neue', Arial, sans-serif; font-size: 15px; margin: 8px 0 0; }

/* ===== Project modules ===== */
.project-modules { max-width: 1400px; margin: 0 auto; }
.project-module { margin-bottom: 0; }
.project-module img { width: 100%; height: auto; display: block; }
.project-module.video { max-width: 1280px; margin: 0 auto; position: relative; cursor: pointer; }
.project-module.video iframe { width: 100%; aspect-ratio: 16/9; border: none; display: none; }
.project-module.video.loaded iframe { display: block; }
.project-module.video .video-placeholder { position: relative; width: 100%; padding-bottom: 56.25%; background: #000; overflow: hidden; }
.project-module.video .video-placeholder img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: opacity 0.3s; }
.project-module.video:hover .video-placeholder img { opacity: 0.9; }
.project-module.video .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; background: rgba(0,0,0,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.2s, background 0.2s; z-index: 2; }
.project-module.video:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); background: rgba(255,255,255,0.9); }
.project-module.video .play-btn svg { width: 22px; height: 22px; fill: #fff; transition: fill 0.2s; }
.project-module.video:hover .play-btn svg { fill: #000; }
.project-module.video.loaded .video-placeholder { display: none; }
@media (min-width: 541px) {
  .project-module.video .play-btn { width: 80px; height: 80px; }
  .project-module.video .play-btn svg { width: 30px; height: 30px; }
}

/* ===== Other projects ===== */
.other-projects { margin-top: 40px; padding-bottom: 0; }
.other-projects-title { color: #fff; font-family: 'Bebas Kai', 'Helvetica Neue', Arial, sans-serif; font-size: 22px; font-weight: 400; text-align: center; text-transform: uppercase; margin: 0 0 20px; }
.other-projects .project-covers { display: flex; flex-wrap: wrap; max-width: 1400px; margin: 0 auto; }
.other-projects .project-cover { display: block; position: relative; width: 100%; margin-bottom: 5px; }
.other-projects .project-cover .cover-content-container { overflow: hidden; position: relative; }
.other-projects .project-cover .cover-image-wrap { overflow: hidden; position: relative; }
.other-projects .project-cover .cover-image { position: relative; }
.other-projects .project-cover .cover-image:before { content: ''; display: block; width: 100%; padding-bottom: 56.25%; }
.other-projects .project-cover .cover-image:after { transition: background-color 0.2s ease, opacity 0.2s ease; content: ''; display: block; height: 100%; left: 0; position: absolute; top: 0; width: 100%; background-color: #111111; opacity: 0; }
.other-projects .project-cover .cover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; }
.other-projects .project-cover .cover__img { width: 100%; height: 100%; object-fit: cover; }
.other-projects .project-cover .details-wrap { opacity: 0; position: absolute; top: 0; left: 0; height: 100%; width: 100%; display: flex; align-items: center; background: none; transition: opacity 0.15s ease; }
.other-projects .project-cover, .other-projects .project-cover .cover__img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.other-projects .project-cover:active .details-wrap { opacity: 1; }
.other-projects .project-cover:active .cover-image:after { opacity: 0.9; }
.other-projects .project-cover .details { width: 100%; text-align: center; padding: 0 8%; }
.other-projects .project-cover .title { color: #fff; font-family: 'Bebas Kai', 'Helvetica Neue', Arial, sans-serif; font-size: 15px; font-weight: 400; text-transform: uppercase; padding: 0 4%; }
.other-projects .project-cover .date { color: #999; font-size: 13px; padding-top: 3px; }
@media (min-width: 541px) {
  .other-projects .project-cover { width: calc(50% - 2.5px); margin-right: 5px; }
  .other-projects .project-cover:nth-child(2n) { margin-right: 0; }
  .other-projects .project-cover .title { font-size: 18px; }
}
@media (min-width: 933px) {
  .other-projects .project-cover { width: calc(33.33333% - 3.33333px); }
  .other-projects .project-cover:nth-child(3n) { margin-right: 0; }
  .other-projects .project-cover .details-wrap { opacity: 0; left: 50%; transform: translateX(-50%); transition: opacity 0.15s ease; background: none; }
  .other-projects .project-cover:hover .details-wrap { opacity: 1; }
  .other-projects .project-cover:hover .cover-image:after { opacity: 0.9; }
}

/* ===== Desktop (>= 933px) ===== */
@media (min-width: 933px) {
  .site-header { height: 160px; padding: 0 4%; }
  .nav-toggle { display: none; }
  .site-header nav {
    position: static; display: block; float: left;
    max-width: 100%; width: 30%; padding: 0; margin-right: auto; text-align: left;
    opacity: 1; visibility: visible; background: none;
    gap: 0;
  }
  .site-header nav .page-title, .site-header nav .gallery-title { display: inline-block; vertical-align: middle; }
  .site-header nav .page-title { padding-left: 0; padding-right: 20px; }
  .site-header nav .gallery-title { padding-left: 0; padding-right: 20px; }
  .site-header nav a { color: #AEAEAE; font-size: 19px; line-height: 19px; }
  .site-header nav a:hover, .site-header nav a.active { color: #fff; }

  .logo-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); flex: none; width: 40%; max-width: 40%; margin: 0; display: block; }
  .logo a { font-size: 35px; line-height: 35px; }
  .logo img { max-height: 70px; }

  .site-content { margin-left: 4%; margin-right: 4%; width: 92%; }
  .page-header { padding: 20px 0 30px; }
  .page-header .title { font-size: 32px; }
  .page-header .description { font-size: 16px; margin: 10px 0 0; }

  .other-projects { margin-top: 60px; }
  .other-projects-title { font-size: 24px; margin: 0 0 30px; }
}