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

html, body {   /*Stop Scrolling Past Page Boundaries*/
  overflow-x: hidden;
  width: 100vw;
  max-width: 100vw;
}

img {
  /*Prevent Pointer Clicks*/
  pointer-events: none;
  user-drag: none;
  -webkit-user-drag: none;
}


body {
  font-family: yu-gothic-pr6n, sans-serif;
font-style: normal;
  color: #333;
  line-height: 1.5;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}

/* Prevent text selection and dragging */
body, * {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE10+/Edge */
  user-select: none;         /* Standard */
}

.logo {
  font-weight: 100 !important;
  font-family: yu-gothic-pr6n, sans-serif;
  letter-spacing: 0.02em;
  font-size: 3rem;
}
/* Landing Page */
.logo-center{ 
  font-weight: 100 !important;
  font-family: yu-gothic-pr6n, sans-serif;
  letter-spacing: 0.02em;
  font-size: 3rem;
  color: whitesmoke;
}

/* Navbar */
.navbar {
  background: #ffffff;
  padding: 3rem 2rem 0 2rem; /* top right bottom left */
  font-size: 1.7rem;
  padding-left: 2rem;
  font-weight: 100;
}

.navbar nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 16rem;
  padding-right: 2rem;
  font-size: 1.4rem;
  text-align: left;
  opacity: 0.2;
}

.nav-links a {
  text-decoration: none;
  color: #333;
}


/* Book/Hero */

.hero {
  padding-top: 0rem; /* Remove top padding */
  padding-bottom: 0rem;
  padding-left: 0rem;
  padding-right: 0rem;;
}
.section-header {
  font-size: 2.2rem;
  font-weight: 400;
  text-align: right;
  letter-spacing: 0.02em;
  margin-bottom: 3rem;
  color: #000000;
  opacity: 0.5;
  margin-top: -3rem;
}

.hero-header {
  text-align: right;
  margin: 0 0 -0rem 0;
  font-size: 2rem;
  font-weight: 300;
  padding-right: 0rem;
  margin: top 0;
}

.hero-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: top;
  gap: 0rem;
  margin-bottom: 0rem;
}

.hero-image img {
  width: 90%;
  height: 90%;
  max-width: 800px;
  max-height: 800px;
  border-radius: 1px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

.hero-images-row {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  overflow-y: hidden ;
  gap: 1rem;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scroll-behavior: smooth;
  max-width: 1400px; 
  margin: 0 auto;   /* Center the gallery */
}

.hero-images-row img {
  flex: 0 0 auto;
  width: 220px;
  height: 320px;
  object-fit: contain;
  border-radius: 1px;
  margin: 0rem;
  margin-bottom: -4rem;
}

.hero-images-row {
  scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.hero-images-row::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
.hero-images-row img {
  scroll-snap-align: start;
}

.hero-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #000000;
  margin-top: 0.5rem;
  font-style: normal;
}

h2 {
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0rem;
  color: #000000;
  text-align: left;
  margin-top: -1rem;
  padding-left: 2.5rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: #00000083;
  text-align: left;
  padding-right: 0rem;
    padding-left: 2.5rem;
}

p {
  font-size: 1.2rem;
  font-weight: 50;
  margin-bottom: 1rem;
  margin-top: 1.2rem;
  color: #000000;
  line-height: 1.8;
  max-width: 36rem;
  padding-left: 2.5rem;
}

/* Video Section */

.video-title {
  text-align: left;    
  padding-right: 0;
  padding-left: 2.4rem;
  margin-top: 0;
  padding-top: 0 !important;
}

.video-subtitle {
  text-align: left;   
  padding-right: 2rem;
  margin-bottom: 1rem;
}
.video-description {
  font-size: 1.2rem;
  font-weight: 50;
  margin-bottom: 1rem;
  margin-top: 1.2rem;
  color: #000000;
  line-height: 1.8;
  max-width: 25rem;
  
} 
.cero-videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.cero-videos video {
  width: 95%;
  height: 95%;
  border-radius: 1px;
  object-fit: contain;
  align-content: center;
  margin: 0 0rem 0 0rem;
}

/* Sounds of Noise */

.video-title2 {
  text-align: center;    
  padding-right: 0;
  margin-top: 0;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.video-subtitle2 {
  text-align: center;   
  margin-bottom: 1rem;
  padding-right: 0 !important;
  padding-left: 0 !important;
}
.video-row {
  display: flex;
  flex-direction: column;   /* Stack videos vertically */
  align-items: center;      /* Center horizontally */
  gap: 2rem;                /* Space between videos */
  margin: 2rem 0;
}
.video-row video {
  border-radius: 0px;
  background: #000;
}
.sounds-of-noise-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #000000;
  margin-top: 0.5rem;
  font-style: normal;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0 0 0;
  background: #ffffff;
  margin-top: 0rem;
  overflow: hidden;
    position: relative;
    min-height: 600px;
}
.footer-content {
    position: relative;
    z-index: 2;
}
.footer-bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90%;
  height: 90%;
  object-fit: cover;
  z-index: 1; /* Image stays behind the text */
  pointer-events: none; /* Allows clicks to pass through */
}
.footer h2 {
  font-size: 3rem;
  color: #000000;
  text-align: right;
  padding-right: 14rem;
  font-weight: 100;
  margin-top: 19rem;
  margin-bottom: 0rem;
  /* Add any other styles you want */
}
.footer p {
  font-size: 2rem;
  color: #000000;
  text-align: right;
  margin-right: 0rem;
  padding-left: 0; 
  margin-top: -1rem;
  max-width: none;
  /* Add any other styles you want */
}
/* --- Responsive --- */

/* Desktop */
@media (min-width: 1024px) {
  .hero {
    padding: 6rem 2rem;
  }

  .projects .project-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablets and Small Screens */
@media (max-width: 600px) {
  body {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0rem;
    margin-bottom: 0rem;
  }

  .navbar nav {
    flex-direction: column;
    align-items: left;
  }

  .nav-links {
    gap: 4rem;
    font-size: 0.5rem;
    padding-top: 0rem;
    padding-right: 0;
    padding-left: 0;
    flex-direction: row;
    opacity: 0.5;
  }

  .logo {
    font-size: 2.6rem;
    }

  .hero {
    padding: 1rem;
  }

  .hero-top {
    display: block;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
  }

  .hero-images-row img {
    width: 30%;;
    max-width: 100vw;
    height: auto;
    min-height: 260px;
    margin-top: -5rem;
    margin-bottom: -6rem;
  }

  .hero-images-row {
    gap: 0.5rem;
    max-width: 70vw;
  }

  .section-header {
    text-align: right;
    padding: 0;
    margin: 0rem 0 0.5rem 0;
    font-size: 1.3rem;
    opacity: 0.5;
  }
h2 {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0rem;
  color: #000000;
  text-align: center;
  margin-top: 1rem;
}
h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: #00000083;
  text-align: center;
  padding-right: 0rem;
    padding-left: 0rem;
}
p {
  font-size: 0.7rem;
  font-weight: 50;
  margin-bottom: 1rem;
  margin-top: 1.2rem;
  color: #000000;
  line-height: 1.8;
  max-width: 36rem;
  padding-left: 0rem;
  text-align: center;
}
.hero-caption {
  text-align: center;
  font-size: 0.5rem;
  color: #000000;
  margin-top: 0.5rem;
  margin-bottom: 0rem;
  font-style: normal;
}
/* VIDEO STYLES */
@media (max-width: 600px) {
  /* ...existing mobile styles... */

  .video-title,
  .video-title2 {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 0rem;
    color: #000000;
    text-align: center;
    margin-top: 2.3rem;
    padding-left: 0;
    padding-right: 0;
  }

  .video-subtitle,
  .video-subtitle2 {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: #00000083;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }

  .video-description {
    font-size: 0.7rem;
    font-weight: 50;
    margin-bottom: 1rem;
    margin-top: 1.2rem;
    color: #000000;
    line-height: 1.8;
    max-width: 36rem;
    padding-left: 0;
    text-align: center;
  }
  .hero-caption,
  .sounds-of-noise-caption {
    text-align: center;
    font-size: 0.5rem;
    color: #000000;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-style: normal;
  }
  .video-row {
  display: flex;
  flex-direction: column;   /* Stack videos vertically */
  align-items: center;      /* Center horizontally */
  gap: 0.7rem;                /* Space between videos */
  margin: 0rem 0;
}
.video-row video {
  border-radius: 0px;
  background: #000;
  width: 100% !important;
  max-width: 100vw;
  height: auto !important;
}

/* FOOTER STYLES */
.footer {
  position: relative;
  min-height: 125px;
  padding: 0;
  margin-left: -1rem;
  margin-right: -1rem;
  margin-top: 0;
  margin-bottom: 0;
  display: flex;
  align-items: center;      /* Vertically center content */
  /* No justify-content, so content stays right-aligned if needed */
}

.footer-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Vertically center h2 and p */
  align-items: flex-end;    /* Right-align text */
  z-index: 2;
  position: relative;
}

.footer-bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 125px;
  padding-right: 4.5rem;
  z-index: 1; /* Image stays behind the text */
  pointer-events: none; /* Allows clicks to pass through */
}

.footer h2 {
  font-size: 1.1rem;
  color: #000000;
  text-align: right;
  padding-right: 5.7rem;
  font-weight: 100;
  margin: 2rem 0 -1rem 0;
}

.footer p {
  font-size: 0.7rem;
  color: #000000;
  text-align: right;
  margin: 0;
  padding-right: 1rem; 
  margin-top: 0.5rem;
  max-width: none;
}