* {
  box-sizing: border-box;
}

body {
  
  margin: 0;
  padding: 0;
  background: #1B1B1B;
  font-family: sans-serif;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;

  background-image: url("img/noise.png");
  background-repeat: repeat;

  opacity: 0.035;
  pointer-events: none;

  z-index: -2;
}



@font-face {
  font-family: 'DM Sans';
  src: url('fonts/DMSans.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;

}


.pin {
  position: relative;
  min-height: 100vh;   /* can grow */
  overflow: visible;
  
}

.pin-content {
  position: relative;
  z-index: 0;
}

/* @supports (height: 100dvh) {
  .pin { min-height: 100dvh; }  /* IMPORTANT: min-height, not height */



#sequence{
  position: fixed;
  inset: 0;
  width: 100%;
    height: 100%;

  object-fit: cover;
  object-position: 50% 50%; /* desktop default */
  z-index: -1;
  pointer-events: none; /* <-- KEY */
}



/* Blurred circle in the top-right */
.blur-circle {
  position: fixed;
  top: -300px;
  right: -800px;
  width: 2000px;
  height: 1700px;
  pointer-events: none;
  z-index: -3;

  background: radial-gradient(
    circle,
    rgba(45,47,58,0.8) 0%,
    rgba(45,47,58,0.5) 30%,
    rgba(45,47,58,0.25) 55%,
    rgba(45,47,58,0) 75%
  );
}




p { 
  color: #DDDDDD;
  font-size: 26px;
  margin-top: 18px;
  margin-bottom: 18px;
  font-weight: 200;
  max-width: 42ch;


}

h1 {
     color: #DDDDDD;
    font-weight: 200;
    font-size: 48px;
    padding: 0;
    line-height: 1;
    margin-bottom: 0;
    margin-top: 24px;
    
}



h2 {
   font-size: 28px;
  font-weight: 300;
  color: #DDDDDD;
  margin: 0;


}

h3 { 
  color: #DDDDDD;
     font-weight: 300;
     font-size: 12px;
     margin-top: 0;
     margin-bottom: 0;



}

h5 {
     color: #DDDDDD;
     font-weight: 300;
     font-size: 16px;
     margin-top: 0;
     opacity: .7;
    
}

.project-link {            /* or grid, match your layout */
  
  text-decoration: none;
  color: inherit;
}

.project-link:hover {
  opacity: 0.9;               /* subtle hover feedback */
}

.project-link:focus-visible {
  outline: 2px solid #ace306; /* keyboard accessibility */
  outline-offset: 6px;
}




/* HERO */

.hero {
  max-width: 1000px;
  padding: 0px;
  height: fit-content;
}

.hero h1 {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 24px;
  
}

.hero p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  max-width: 68ch;
  margin: 0;
  padding: 0;
}


/* RESET */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #1B1B1B;
  font-family: 'DM Sans', sans-serif;
  color: #DDDDDD;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-items: center;
  padding: 32px 48px;
}

.nav img {
  width: 28px;
}

.desktop-nav {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
}

.desktop-nav a {
  text-decoration: none;
  color: #DDDDDD;
  font-weight: 300;
}

.desktop-nav a:hover {
  color: #ace306;
}

/* MAIN LAYOUT */
.intro-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  max-width: 1400px;
  margin-left: 100px;
  margin-right: 100px;
  margin-bottom: 120px;
}

/* LEFT TEXT */
.hero h1 {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 24px;
}

.hero p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.85;
  max-width: 65ch;
}

/* RIGHT META */
.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-top: 79px;
}

.meta-block {
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.25);
  height: 40px;
}

.meta-block h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  opacity: 0.6;
}

.meta-block p {
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.85;
}



.column {
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.25);
}

.column:first-child {
  border-left: none;
  padding-left: 0;
}

.column h4 {
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.7;
  color: #DDDDDD;
}

.column p {
  font-size: 13px;
  line-height: 1.5;
}


/* NAV */

.nav {
  /* position: fixed; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 48px;
  
}

.nav nav {
  position: fixed;
  display: flex;
  gap: 48px;
  
}

.nav a {
  color: #ddd;
  text-decoration: none;
  font-weight: 300;
  z-index: 20;
}

.nav img { width: 30px;
  z-index: 20;



}

.desktop-nav a:hover {
  color: #ace306;
}


/* Desktop default */
.desktop-nav {
  position: fixed;
  top: 20px;
  right: 40px;
  display: flex;
  gap: 40px;
  color: #DDDDDD;
  z-index: 5;

}

.nav-list a, ul {
  color: #DDDDDD;
  font-weight: 300;
  text-decoration: none;
  list-style: none;
}

.desktop-nav a {
  color: #DDDDDD;
  text-decoration: none;
}

/* Hide hamburger on desktop */
.mobile-nav-toggle {
  display: none;
}

.scroll-space {
  height: 500px; /* adjust to control slow feeling */
}


.intro-container { 
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 3;   
 


}

.about-container { 
  
  display: flex;
  flex-direction: row;
  justify-content: space-between;


}

.about-height { padding-top: 120px;
  
 

}

.intro {
  position: relative;   /* ADD THIS */
  will-change: transform;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-left: 100px;
  margin-right: 100px;
  padding-bottom: 80px;
  height: 90vh;
  overflow: hidden;
  z-index: 1;           /* IMPORTANT */
}

.intro-about { 
    will-change: transform;       
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: 0;
  margin-left: 100px;
  margin-right: 100px;
  padding-bottom: 60px;

    overflow: visible;
  
}




.intro img { 
  width: 200px;


}

.intro-about img { 
  width: 200px;


}

.intro-text { 
  width: 550px;
  height: auto;       /* keeps the correct proportions */
  z-index: 10;  
}

.about-text { 
  width: 550px;
  height: auto;       /* keeps the correct proportions */
  z-index: 10;  
  margin-bottom: 96px;
}

.subheader { text-align: right;
  padding: 24px 0px 0px 0px;
  


}

.home-works {
  position: relative;   /* ← THIS is the missing piece */
  z-index: 5;
  padding-top: 380px;
  padding-left: 100px;
  padding-right: 140px;
  display: block;
}


.home-works-container {
 display: flex;
 flex-direction: column;
 
}

/* ============================= */
/* HOME WORKS — CINEMATIC LAYOUT */
/* ============================= */

.home-works-list {
  display: flex;
  flex-direction: column;
  gap: 46px;
}



.work-item {
   width: min(600px, 100%);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-decoration: none;   /* add this */
  color: inherit;          /* and this */
  will-change: transform, opacity;
}

/* Image area */
.work-media {
  display: flex;
  justify-content: flex-end; /* pushes image to right */
}

.work-media img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
}

/* Right rail */
.work-meta {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap:12px;
}

/* Title (override your global h2) */
.work-meta h2 {
  color: #DDDDDD;
    font-weight: 300;
    font-size: 36px;
    padding: 0;
    line-height: 1;
}


.text-group { 
  display: flex;
flex-direction: row;
align-items: baseline;
}

.work-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* LEFT align text */
  text-align: left;
  gap: 8px;
  width: 90%;
}



/* Type */
.work-type {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
  padding-left: 12px;
}

/* Description */
.work-desc {
  font-size: 12px;
  opacity: 0.6;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

/* CTA */
.work-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #DDDDDD;
  font-size: 12px;
  opacity: 0.6;
  line-height: 1.6;
  white-space: nowrap;
  padding-top: 13px;
}

.cta-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Premium subtle hover */
.work-item:hover .work-cta {
  transform: translateX(6px);
  opacity: 1;
}

.works-works {
 
 padding: 100px;
 
 
  
}





.home-works-container > :nth-child(2) {
  margin-top: 16px;
}

.worksh1 { 
  margin-top: 72px;
  font-size: 52px;



}




/* CONTENT */

/* Works work conten */

/* card wrapper */
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

/* 🔥 THIS fixes your giant image issue */


/* text styling */
.feature-text h3 {
  font-size: 18px;
  font-weight: 400;
}

.feature-text .sub {
  font-size: 13px;
  opacity: 0.7;
  margin: 2px 0;
}

.feature-text .meta {
  font-size: 12px;
  opacity: 0.5;
  line-height: 1.4;
  padding: 0;
}


.works-feature-gallery {
  margin-top: 100px;
margin-bottom: 100px;
}

/* ---------- Reusable container ---------- */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

/* ---------- Feature Gallery ---------- */
.feature-gallery {
  padding: 48px 0;
}

/* Grid layout */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* ← your requested spacing */
}

/* Each image container */
.feature-item {
  overflow: hidden; /* ← important for crop on hover */
  
  position: relative;
}

/* Image styling */
.feature-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease; /* smooth scaling */
}

/* Hover effect */
.feature-item:hover img {
  transform: scale(1.15); /* ← 15% zoom */
}

/* ---------- Feature image section ---------- */
.feature {
  padding: 48px 0 64px;
}

.feature-frame {
  margin: 0;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.20);
  overflow: hidden;
  
}

.feature-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

/* FEATURE VIDEO */

.feature-video {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* breaks out of container */
  overflow: hidden;
}

.feature-video video {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- Case study section ---------- */
.case {
  padding: 64px 0 96px;
  margin-left: 100px;
  margin-right: 100px;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 190px 64px; /* row gap, column gap */
  align-items: start;
}

.case-block {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  height: 100%;
}

.case-block h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}

.case-list {
  margin: 0 0 18px;
  padding-left: 18px;
  list-style: none;
}

.case-list li {
  position: relative;
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
}

/* subtle dash marker */
.case-list li::before {
  content: "•";
  position: absolute;
  left: -18px;
  color: rgba(255,255,255,0.35);
}

.lede {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 62ch;
  
}

.body {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.case-media {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
 

}

.case-media img {
  width: 100%;
  height: auto;
  display: block;
  
}

.case-media-mobile {display: none;}


footer { height: 400px;
  max-width: 100%;
  min-height: 100%;
  border: 2px solid #DDDDDD;
  margin-top: 100px;
  padding: 80px 20px 20px 20px;
  height: 400px;
  max-width: 100%;
  min-height: 100%;
  border: 2px solid #DDDDDD;
  border-left: none;
  border-right: none;
  
  
   


}


  .footer-logo { 
    z-index: 10;
    width: 26px;


  }

   .footer-nav {
    margin: 0;
    padding-top: 30px;
    gap: 30px;
    display: flex;
    justify-content: center;
  align-items: center;
  padding: 32px 48px;
 

  }

  .footer-nav a {
    margin: 0;
    padding-left: 0;
  font-size: 20px;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 62ch;
  

  }

   .foot-contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px;
  


  }







  /* tablet */
@media (max-width: 1024px){



h1 { font-size: 32px;


}

  .nav-list {
  position: none;
}

 .container {
    padding: 0 24px;
    margin-bottom: 42px;
  }

  .case-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

.feature-gallery { display: none;



}

.feature { margin-bottom: 50px;


}

.feature-video { margin-bottom: 50px;


}

.case-media { margin-bottom: 50px;

}

.case-media-mobile { 
  display: block;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 100px;
}

.case-media-mobile img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 100px;
  
}

.intro {
  position: relative;   /* ADD THIS */
  will-change: transform;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-left: 20px;
  margin-right: 20px;
  padding-bottom: 20px;
  height: 90vh;
  overflow: hidden;
  z-index: 1;           /* IMPORTANT */
}

  .intro-layout {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 100px;
  }



  .meta {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 5px;
  }



  .work-item {
    margin-left: 0;   /* ← THIS is the key fix */
    width: 100%;
    max-width: 100%; /* optional, keeps it nice */
  }




 

  .intro-container {
    flex-direction: column;
  }

  .intro-text {
    width: 100%;
    max-width: 420px;
  }

  .intro img {
    width: 140px;
  }

  /* ---------- Case study section ---------- */
.case {
  padding: 0;
  margin-left: 20px;
  margin-right: 20px;
}


/* subtle dash marker */
.case-list li::before {
  content: "•";
  position: absolute;
  left: -18px;
  color: rgba(255,255,255,0.35);
}

.lede {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 62ch;
  
}

.body {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

.case-media {
  display: flex;
  flex-direction: column;
  gap: 72px;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 0;
  margin-right: 0;
  overflow: hidden;
 

}

.case-media img {
  width: 100%;
  height: auto;
  display: block;
  
}



  .feature-grid {
    grid-template-columns: 1fr; /* ← single column */
    gap: 16px; /* optional: slightly tighter spacing */

  }

  .feature-item {
  overflow: hidden; /* ← important for crop on hover */
  
  position: relative;
}






    /* Home works section */
 

  .home-works-container {
 display: flex;
 flex-direction: column;
 padding-right: 0;
 
 
  
}

.home-works {
  margin: 0;
  padding: 0 20px;
  width: 100%;
}

.home-works img {
  
  width:100%;
  margin-top: 33px;

  
}


.home-works-list {
  display: flex;
  flex-direction: column;
  gap: 46px;
  padding: 0;
}



/* Image area */
.work-media {
  display: flex;
  justify-content: flex-end; /* pushes image to right */
}

.work-media img {
  width: 100%;
  max-height: 650px;
  object-fit: cover;
}

/* Right rail */


  .work-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Title (override your global h2) */
.work-meta h2 {
  color: #DDDDDD;
    font-weight: 300;
    font-size: 36px;
    padding: 0;
    line-height: 1;
}


.text-group { 
  display: flex;
  flex-direction: row;
align-items: baseline;
    gap: 4px;
}



.work-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* LEFT align text */
  text-align: left;
  gap: 8px;
  width: 90%;
}



/* Type */
.work-type {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
  padding-left: 12px;
}

/* Description */
.work-desc {
  font-size: 12px;
  opacity: 0.6;
  line-height: 1.6;
  margin: 0;
}

/* CTA */
.work-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #DDDDDD;
  font-size: 12px;
  opacity: 0.6;
  line-height: 1;
  white-space: normal;
  padding-top: 8px;
}



.cta-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Premium subtle hover */
.work-item:hover .work-cta {
  transform: translateX(6px);
  opacity: 1;
}



.works-menu-column { 
  width: 100%;
  padding: 24px;
padding-top: 68px;

}

    /* Nav */

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

    
  .nav-list {
    top: 12px;
    
  }

  .nav-list a {
    font-size: 22px;
  }

  .mobile-nav-toggle {
    display: block;
    position: fixed;
    top: 26px;
    right: 28px;
    font-size: 32px;
    background: none;
    border: none;
    color: #DDDDDD;
    z-index: 1100;
    padding: 0%;
  }

  .desktop-nav {
    position: fixed;
    text-align: center;
    margin-top: 0;
    padding-top: 40%;
    top: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background:#1B1B1B;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }



  

  .desktop-nav a {
    text-decoration: none;
    color: #DDDDDD;
    
  }

 

  .nav.open .desktop-nav {
    transform: translateX(0);
  }



/* MOBILE META */

.meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 32px; /* horizontal */
  row-gap: 92px;    /* vertical (bigger) */
  padding-top: 50px;
}

.meta-block {
  padding-left: 20px;
  border-left: 1px solid rgba(255,255,255,0.25);
  height: 40px;
}

.meta-block h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
  opacity: 0.6;
}


.column {
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,0.25);
}

.column:first-child {
  border-left: none;
  padding-left: 0;
}

.column h4 {
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.7;
  color: #DDDDDD;
}

.column p {
  font-size: 12px;
  line-height: 1.5;
}




 

  /* Scroll length tuning */
  .scroll-space {
    height: 500px;
  }



.works-feature-gallery {
  padding: 20px;
}

.sequence-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);

  /* 🔥 radial fade mask */
  mask-image: radial-gradient(
    circle at center,
    rgba(0,0,0,.5) 0%,
    rgba(89, 89, 89, 1) 10%,
    rgba(201, 201, 201, 0) 50%
  );

  -webkit-mask-image: radial-gradient(
    circle at center,
    rgba(0,0,0,1) 0%,
    rgba(145, 145, 145, 0.8) 10%,
    rgba(208, 208, 208, 1) 90%
  );
}


  #sequence{
    object-position: 65% 50%;
    z-index: -5;
    width: 100%;
    height: 100%;
  }


footer {
  position: relative;  /* 🔥 REQUIRED */
  z-index: 10;
}

  .footer-logo { 
    z-index: 5;
    width: 30px;


  }

  .footer-nav {
    margin: 0;
    padding-left: 30px;
    padding-top: 30px;
 

  }

  .footer-nav a {
    margin: 0;
    padding-left: 0;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 62ch;
  

  }

  .footer-container { 
    padding-top: 80px;


  }

 



}


