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

  html {
    scroll-behavior: smooth;
}

  h1 {
    font-family: "neulis-neue", sans-serif;
    font-weight: 600;
    font-style: bold;
  }

  h2 {
    font-family: "neulis-neue", sans-serif;
    font-weight: 500;
    font-style: normal;
  }
  
  body {
    font-family: "futura-pt", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #000;
    background-color: #5668A6;

  }

  .plain-bg { 
    background-image: none; 
    background-color: #f5f5f5;
  }
  
  /* -------------------------
     NAV
  -------------------------- */
  
  .nav {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  
  .logo img {
    max-width: 200px;
    width: 100%;
  }
  
  .nav-links {
    display: flex;
    justify-content: center;
    background-color: #e7e7e7;
    padding: 10px 18px;
    border-radius: 999px;
  }
  
  .nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
  }

  .nav-links a:hover {
    color: #5668A6; 
    transition: 0.3s;
  }
  
  .cta {
    justify-self: end;
    border: 1px solid #5668A6;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: #5668A6;
    font-size: 14px;
  }

  .cta:hover {
    color: white;
    background-color: #5668A6;
    transition: 0.3s;
    transform: scale(1.05);
  }

  /* -------------------------
   HAMBURGER MENU
-------------------------- */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 1100;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: black;
  transition: 0.3s ease;
}

/* Fullscreen menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #5668A6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 1000;
}

.mobile-menu a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
}

.mobile-menu.active {
  transform: translateY(0);
}

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
  .nav-links,
  .cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Close (X) button */
.close-btn {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.close-btn span {
  position: absolute;
  width: 30px;
  height: 2px;
  background: white;
  top: 14px;
  left: 0;
}

.close-btn span:first-child {
  transform: rotate(45deg);
}

.close-btn span:last-child {
  transform: rotate(-45deg);
}

  #nextproj {
    display: block;
    margin: 60px auto 0 auto; /* 40px top margin + horizontal centering */
    width: fit-content;
  }

  
  /* -------------------------
     GRID
  -------------------------- */

.hero {
  position: relative;
  background-color: #5668A6;
  color: white;
  padding: 350px 200px 200px;
  z-index: -1;
}

/* Shared rip styling */
.rip {
  position: absolute;
  width: 100%;
  left: 0;
  z-index: -1;
}

/* Top rip sits slightly outside */
.rip-top {
  top: -120px;
}

/* Bottom rip pushed further down */
.rip-bottom {
  bottom: -1350px; /* THIS moves it lower */
  overflow: hidden;
}

.kez-cutout {
  position: absolute;
  max-width: 450px;
  z-index: -2;
  margin-top: -200px;
}
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .kez-intro {
    max-width: 800px; 
    color: white;
  }

  .kez-intro h2:first-child {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  @keyframes spin { 
    from { transform: translate(-50%, -50%) rotate(0deg); } 
    to { transform: translate(-50%, -50%) rotate(360deg); } 
  } 

  .view-proj:first-child { 
    animation: spin 10s linear infinite; 
    position: absolute; 
    top: 100%; 
    left: 50%; 
    width: 150px; 
    height: 150px;
    background-color: #000;
    border-radius: 100px;
    padding: 10px;
  }

  .view-proj:nth-child(2) {
    position: absolute; 
    top: 96%; 
    left: 48%; 
    width: 60px; 
    height: 60px;
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    z-index: 3;
    margin-top: 280px;
  }
  
  .card {
    background: #fff;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .card:hover {
    color: black;
    opacity: 80%;
    transition: 0.5s;
    transform: scale(1.03);
  }

  .card:hover .overlay {
    opacity: 1;
  }

  .card:hover .overlay h2 {
    transform: translateY(0);
  }

  .card:hover .overlay-text {
    transform: translateY(0);
  }

  .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .overlay-text {
    text-align: center;
    padding: 20px;
    max-width: 90%;
    transform: translateY(10px);
    transition: transform 0.3s ease;
  }
  
  .overlay h2 {
    margin: 0 0 8px;
    font-size: 1.8rem;
    color: white;
  }
  
  .overlay p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
  }

   /* -------------------------
     MOBILE
  -------------------------- */
  @media (hover: none) {
    .overlay {
      opacity: 1;
      background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0)
      );
      align-items: flex-end;
    }
  
    .overlay-text {
      text-align: left;
    }
  }

  /* -------------------------
   CASE STUDY
-------------------------- */

.case-study {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

/* Header */
.case-header {
  max-width: 750px;
  margin: 120px auto 64px;
  text-align: center;
}

.case-header h1 {
  font-size: 5rem;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.case-subtitle {
  font-size: 16px;
  color: #555;
}

/* Hero */
.case-hero {
  height: 600px;
  margin-bottom: 64px;
}

.case-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Info */
.case-info {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 80px;
}

.meta {
  list-style: none;
  font-size: 16px;
}

.meta li {
  margin-bottom: 24px;
}

.description p {
  font-size: 16px;
  line-height: 1.6;
}

/* Blocks */
.case-block {
  margin-bottom: 20px;

}

.case-block img {
  width: 100%;
  height: 650px;
  border-radius: 16px;
  margin-top: 20px;
  object-fit: cover;
}

/* Split Section */
.case-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: center;
}

.split-image img {
  width: 100%;
  height: 600px;
  border-radius: 16px;
  object-fit: cover;
}

.split-text p {
  font-size: 16px;
  line-height: 1.6;
}

/* Apparel Section */
.apparel-section {
  max-width: 1200px;
}

.apparel-container {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  column-gap: 100px;
  row-gap: 0px;
}

.clothing { 
  text-align: center; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
}

.clothing img {
  width: 200%;
  height: auto;
  transition: transform 0.25s ease;
}

.clothing img:hover {
  transform: scale(1.4);
}

#apparel-intro {
  margin-top: 150px;
}

.events-section {
  max-width: 1200px;
  margin-bottom: 80px;
}

.events-container {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  column-gap: 20px;
  row-gap: 20px;
}

.events { 
  text-align: center; 
  display: flex; 
  justify-content: center; 
  align-items: center; 
}

.events img {
  width: 100%;
  height: auto;
  transition: transform 0.25s ease;
}

.events img:hover {
  transform: scale(1.3);
}



/* -------------------------
   CASE STUDY RESPONSIVE
-------------------------- */

@media (max-width: 768px) {
  .case-header h1 {
    font-size: 36px;
  }

  .case-info {
    grid-template-columns: 1fr;
  }

  .case-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .case-block img,
  .split-image img {
    height: auto;       /* Let the image scale naturally */
    object-fit: contain; /* Show the whole image without cropping */
  }
}
  
  
  /* -------------------------
     FOOTER
  -------------------------- */
  
  .footer {
    background: #5668A6;
    color: #fff;
    text-align: center;
    padding: 48px 24px;
    margin-top: 80px;
    z-index: 100;
  }

  .footerlogo img {
    max-width: 800px;
    width: 100%;
  }
  
  .footer-links {
    margin: 16px 0;
  }
  
  .footer-links a {
    margin: 0 8px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
  }
  
  .footer p {
    font-size: 12px;
    opacity: 0.8;
  }
  
  /* -------------------------
     RESPONSIVE
  -------------------------- */
  
  @media (max-width: 900px) {
    .grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 600px) {
    .nav {
      grid-template-columns: 1fr;
      gap: 16px;
      text-align: center;
    }
  
    .cta {
      justify-self: center;
    }
  
    .grid {
      grid-template-columns: 1fr;
    }
  }
  
