html {
  overflow-x: hidden;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background-color: #0a0a0a;
  color: #f0f0f0;
  overflow-x: hidden;
}

#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.container {
  position: relative;
  z-index: 1;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 7rem;
}
nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

nav a:hover {
  color: #001996;
  text-shadow: 0 0 5px #3b3bf9;
  -webkit-text-stroke: 0.5px #1d4ed8;
}

.back-btn {
  position: fixed;
  top: 2rem;
  left: 2rem;
  color: #f0f0f0;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.back-btn:hover {
  color: #1d4ed8;
}

.page-container {
  padding: 6rem 8rem;
  text-align: center;
}

.page-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.video-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.video-item {
  display: flex;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid #222;
  padding-bottom: 2rem;
}

.video-thumb {
  width: 250px;
  height: 150px;
  object-fit: cover;
}

.video-info h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.video-info p {
  color: #aaaaaa;
  font-size: 0.95rem;
}
.collection-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.collection-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  text-decoration: none;
  color: #f0f0f0;
  border-bottom: 1px solid #222;
  padding-bottom: 2rem;
  transition: color 0.3s;
}

.collection-item:hover {
  color: #1d4ed8;
}

.collection-thumb {
  width: 250px;
  height: 150px;
  object-fit: cover;
}

.collection-item h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.5rem;
}
.collection-hero {
  width: 100%;
  height: 60vh;
}

.collection-hero .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-info {
  padding: 4rem 8rem;
  border-bottom: 1px solid #222;
  margin-bottom: 4rem;
}

.collection-date {
  color: #aaaaaa;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.collection-desc {
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
  color: #cccccc;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 8rem 8rem 8rem;
}

.photo-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  cursor: pointer;
}
.graphics-page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4rem;
}

.graphics-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  overflow: hidden;
}

.graphics-scroll {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
}

.graphics-item {
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
  cursor: pointer;
}

.graphics-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.graphics-number {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1rem;
  color: #aaaaaa;
  margin-top: 0.8rem;
  display: block;
}

.graphics-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.8rem;
  margin-top: 0.3rem;
  word-wrap: break-word;
}

.arrow-btn {
  background: none;
  border: 1px solid #f0f0f0;
  color: #f0f0f0;
  font-size: 1.2rem;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.arrow-btn:hover {
  background: #f0f0f0;
  color: #0a0a0a;
}
.cursor-glow {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(226, 172, 11), transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition:
    left 0.06s ease,
    top 0.06s ease,
    opacity 0.2s ease;
}
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: #f0f0f0;
  font-size: 2rem;
  cursor: pointer;
}
.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid #f0f0f0;
  color: #f0f0f0;
  font-size: 1.2rem;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.lightbox-prev {
  left: 2rem;
}
.lightbox-next {
  right: 2rem;
}

.lightbox-arrow:hover {
  background: #f0f0f0;
  color: #0a0a0a;
}
.mixed-section {
  margin-bottom: 6rem;
}

.gif-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gif-item img {
  width: 300px;
  height: 200px;
  object-fit: cover;
}

.vr-grid {
  display: flex;
  gap: 1rem;
}

.vr-item img {
  width: 400px;
  height: 250px;
  object-fit: cover;
  cursor: pointer;
}

.p5-container {
  width: 100%;
  height: 600px;
}

.p5-frame {
  width: 100%;
  height: 100%;
  border: none;
}
.p5-layout {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.p5-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.p5-code {
  background: #111;
  padding: 1.5rem;
  font-family: "Space Mono", monospace;
  font-size: 0.8rem;
  color: #cccccc;
  line-height: 1.7;
  overflow-x: auto;
  white-space: pre;
  margin-bottom: 0.2rem;
}

.p5-desc {
  color: #aaaaaa;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.3rem;
}
.no-lightbox-arrows .lightbox-arrow {
  display: none;
}
.video-project {
  margin-bottom: 5rem;
  text-align: center;
}

.video-thumbs {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.video-thumbs img {
  width: 30%;
  height: 200px;
  object-fit: cover;
}

.video-trigger {
  cursor: pointer;
  transition:
    transform 0.5s ease,
    opacity 0.5s ease;
}

.video-trigger:hover {
  opacity: 0.7;
  transform: scale(1.03);
}

.video-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.video-desc {
  color: #aaaaaa;
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}
.video-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

.video-lightbox.active {
  display: flex;
}

.lightbox-video {
  width: 90%;
  max-height: 90vh;
}
.photo-item img,
.graphics-item img,
.vr-item img {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.photo-item img:hover,
.graphics-item img:hover,
.vr-item img:hover {
  transform: scale(1.03);
}
.lightbox-video::-webkit-media-controls-download-button {
  display: none;
}
.series-name {
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #aaaaaa;
  margin-bottom: 2rem;
}
.gif-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.gif-item {
  text-align: center;
}

.gif-name {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #aaaaaa;
}
.vr-container {
  width: 100%;
  height: 600px;
}

.vr-frame {
  width: 100%;
  height: 100%;
  border: none;
}
.p5-subtitle {
  color: #aaaaaa;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-top: 0.3rem;
}
.name {
  cursor: none;
}
.glitch-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.glitch-item {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.glitch-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.glitch-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  margin-top: 0.8rem;
}

.glitch-desc {
  color: #aaaaaa;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.3rem;
}

.glitch-video {
  text-align: center;
}

.glitch-video video {
  width: 80%;
  max-height: 500px;
}
.glitch-original {
  text-align: center;
  margin-bottom: 3rem;
}

.glitch-original img {
  width: 500px;
  height: 350px;
  object-fit: cover;
}
/* === TABLET (max 1024px) === */
@media (max-width: 1024px) {
  .name {
    font-size: 5rem;
  }

  .cursor-glow {
    display: none;
  }
}
.page-container {
  padding: 4rem 4rem;
}

.page-title {
  font-size: 4rem;
}

.photo-grid {
  grid-template-columns: repeat(2, 1fr);
  padding: 0 4rem 4rem 4rem;
}

.collection-info {
  padding: 3rem 4rem;
}

.p5-layout {
  flex-direction: column;
}

.p5-frame {
  height: 400px;
}

.glitch-grid {
  flex-direction: column;
  align-items: center;
}

.graphics-item {
  min-width: 250px;
  max-width: 250px;
}

.video-thumbs img {
  height: 150px;
}

.vr-frame {
  height: 400px;
}

.gif-item img {
  width: 250px;
}

@media (max-width: 600px) {
  html {
    overflow-x: hidden;
    max-width: 100vw;
  }

  body.no-scroll {
    height: 100vh;
    overflow: hidden;
    width: 100vw;
    max-width: 100%;
  }

  .name {
    font-size: 2.5rem;
  }

  .container {
    padding: 0 1rem;
    width: 100%;
  }

  nav {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .back-btn {
    font-size: 0.8rem;
    top: 1rem;
    left: 1rem;
  }

  .page-container {
    padding: 5rem 1.5rem 3rem 1.5rem;
  }

  .page-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
  }

  .mixed-section .page-title {
    font-size: 1.8rem;
    margin-top: 4rem;
  }

  .collection-list {
    flex-direction: column;
  }

  .collection-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .collection-thumb {
    width: 100%;
    height: 200px;
  }

  .collection-hero {
    height: 35vh;
  }

  .collection-info {
    padding: 2rem 1.5rem;
  }

  .photo-grid {
    grid-template-columns: repeat(1, 1fr);
    padding: 0 1.5rem 3rem 1.5rem;
  }

  .photo-item img {
    height: 250px;
    width: 100%;
  }

  .video-project {
    margin-bottom: 3rem;
  }

  .video-thumbs {
    flex-direction: column;
    align-items: center;
  }

  .video-thumbs img {
    width: 100%;
    height: 200px;
  }

  .video-title {
    font-size: 1.5rem;
  }

  .graphics-page {
    height: auto;
    padding: 5rem 1rem 3rem 1rem;
  }

  .graphics-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .graphics-scroll {
    width: 100%;
    overflow-x: scroll;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .graphics-item {
    min-width: 85vw;
    max-width: 85vw;
    flex-shrink: 0;
  }

  .graphics-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #0a0a0a;
  }

  .graphics-title {
    font-size: 1.2rem;
    white-space: normal;
    word-wrap: break-word;
  }
  .arrow-btn {
    display: none;
  }

  .p5-layout {
    flex-direction: column;
  }

  .p5-container {
    height: 300px;
  }

  .p5-frame {
    height: 300px;
  }

  .p5-code {
    font-size: 0.7rem;
    overflow-x: auto;
  }

  .glitch-grid {
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem;
  }

  .glitch-item {
    width: 100%;
  }

  .glitch-item img {
    width: 100%;
    height: auto;
  }

  .glitch-original {
    padding: 0 1.5rem;
  }

  .glitch-original img {
    width: 100%;
    height: auto;
  }

  .glitch-video video {
    width: 100%;
  }

  .gif-grid {
    flex-direction: column;
    align-items: center;
    padding: 0 1.5rem;
  }

  .gif-item {
    width: 100%;
  }

  .gif-item img {
    width: 100%;
    height: auto;
  }

  .vr-container {
    height: 300px;
  }

  .vr-frame {
    height: 300px;
  }

  .mixed-section {
    margin-bottom: 4rem;
  }

  .series-name {
    font-size: 0.9rem;
  }

  .lightbox-arrow {
    padding: 0.5rem 0.8rem;
  }

  .lightbox-img {
    max-width: 95%;
  }

  .lightbox-video {
    width: 95%;
  }
}
