/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-size: 16px;
  color: #fff;
  background: #000;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

/* =============================================
   NAV
   ============================================= */
.site-wrap {
  max-width: 1400px;
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 30px 40px;
  background: #000;
}

.nav__brand {
  position: relative;
  font-weight: 700;
  margin-right: auto;
  cursor: pointer;\n  text-decoration: none;
}

.nav__brand-r,
.nav__brand-g,
.nav__brand-b {
  display: block;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -2px;
  white-space: nowrap;
  mix-blend-mode: screen;
  transition: transform 0.5s ease-out 0.1s;
  cursor: pointer;
}

.nav__brand-r {
  color: rgb(255, 0, 0);
  /* transform: translate(-2.5%, -7%); */
  transform: translate(-0.35%, 3%);
}

.nav__brand-g {
  position: absolute;
  top: 0;
  left: 0;
  color: rgb(0, 255, 0);
  transform: translate(-2.5%, -7%);
}

.nav__brand-b {
  position: absolute;
  top: 0;
  left: 0;
  color: rgb(0, 0, 255);
  transform: translate(1%, -7.5%);
}


.nav__brand-reset{
  transform: translate(0%, 0%)!important;
  /* transition: none; */
}
.nav__brand-reset-device{
  transform: translate(0%, 0%)!important;
  transition: none;
}

.nav__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}

.nav__links a:nth-child(1):hover { color: #ff3333; }
.nav__links a:nth-child(2):hover { color: #33cc66; }
.nav__links a:nth-child(3):hover { color: #3399ff; }

/* =============================================
   HAMBURGER BUTTON
   ============================================= */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: opacity 0.2s;
}

.nav__hamburger:hover span {
  opacity: 0.6;
}

/* =============================================
   NAV DRAWER
   ============================================= */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 300;
}

.nav-overlay.is-visible {
  display: block;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: #0a0a0a;
  border-left: 1px solid #1f1f1f;
  z-index: 400;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 16px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

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

.nav-drawer__close {
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 48px;
  padding: 0;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.nav-drawer__close:hover {
  opacity: 1;
}

.nav-drawer__links {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-end;
}

.nav-drawer__links a {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-drawer__links a:nth-child(1):hover { color: #ff3333; }
.nav-drawer__links a:nth-child(2):hover { color: #33cc66; }
.nav-drawer__links a:nth-child(3):hover { color: #3399ff; }

/* =============================================
   FADE-IN ELEMENTS
   ============================================= */
.fade-hidden {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.fade-hidden.fade-in {
  opacity: 1;
}

.fade-hidden.fade-up {
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-hidden.fade-up.fade-in {
  transform: translateY(0);
}

/* =============================================
   KEY IMAGE
   ============================================= */
.key-image {
  width: 100%;
  padding: 0 40px 66px;
}

.key-image__inner {
  width: 100%;
  height: 550px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  margin: 20px 0;
  overflow: hidden;
  /* Replace background with an actual image: */
  /* background-image: url('your-hero-image.jpg'); */
  /* background-size: cover; */
  /* background-position: center; */
}

/* =============================================
   RGB SPLIT EFFECT
   ============================================= */
@keyframes move-red {
  from { transform: translate(-.35%, 0%); filter: blur(3.5px); }
  to { transform: translate(0%, 0%); filter: blur(0px); }
}
@keyframes move-green {
  from { transform: translate(-.75%, -3%); filter: blur(3.5px); }
  to { transform: translate(0%, 0%); filter: blur(0px); ;}
}
@keyframes move-blue {
  from { transform: translate(.75%, -1.5%); filter: blur(3.5px); }
  to { transform: translate(0%, 0%); filter: blur(0px); }
}
.moving-red {
  animation: 1.2s 1 move-red ease-in;
  animation-fill-mode: forwards;
  animation-delay: .5s;
}
.moving-green {
  animation: 1.2s 1 move-green ease-in;
  animation-fill-mode: forwards;
  animation-delay: .5s;
}
.moving-blue {
  animation: 1.2s 1 move-blue ease-in;
  animation-fill-mode: forwards;
  animation-delay: .5s;
}
/*  */
.full_container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.non_moving_container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.channel {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen; 
  /* animation: 3s all 2s */
}

.channel h1 {
  font-size: clamp(48px, 13vw, 200px);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 1.05;
  text-align: center;
  margin: 0;
  white-space: nowrap;
}
.key-image h2 {
  font-size: clamp(13px, 3.35vw, 53px);
  font-weight: 700;
  /* letter-spacing: -1px; */
  line-height: 1;
  text-align: center;
  margin: 0;
  white-space: nowrap;
  margin-top: 3.6vw;
  position: relative;
  top: -100px;
}

.channel.red h1 {
  color: rgb(255, 0, 0);
  mix-blend-mode: screen;
  transform: translate(-.35%, 0%);
}

.channel.green h1 {
  color: rgb(0, 255, 0);
  mix-blend-mode: screen;
  transform: translate(-.75%, -3%);
}

.channel.blue h1 {
  color: rgb(0, 0, 255);
  mix-blend-mode: screen;
  transform: translate(.75%, -1.5%);
}
.title_reset{
  transform: translate(0, 0)!important;
}
.blur{
    filter: blur(3.5px);
}

.key-image__label {
  display: block;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.key-image__sub {
  font-size: 14px;
  color: #555;
  font-weight: 400;
}

/* =============================================
   FEATURE CARDS
   ============================================= */
.features {
  padding: 0 40px 66px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-card {
  width: 100%;
  min-height: 400px;
  border: 1px solid #1f1f1f;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.feature-card__media {
  position: absolute;
  inset: 0;
  background: #161616;
  background-size: cover;
  background-position: center;
}

.feature-card__content {
  position: relative;
  width: 33.333%;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
  gap: 16px;
  background: rgba(240, 240, 240, 0.9);
  backdrop-filter: blur(2px);
}

.feature-card--b .feature-card__content {
  margin-left: auto;
}

.feature-card__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.65);
}

.feature-card__title {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1; 
  color: #000000;
}
/* .glance .feature-card__title{
  filter: drop-shadow(2px 2px 0 rgba(255, 0, 0, .5)); 
}
.custom_quote .feature-card__title{
  filter: drop-shadow(2px 2px 0 rgba(0, 255, 0, .5));  
} */


.feature-card__desc {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.85);
  max-width: 380px;
}

.feature-card__link {
  font-size: 14px;
  font-weight: 600;
  color: #000000;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  transition: opacity 0.2s;
}

.feature-card__link:hover {
  opacity: 0.6;
}

/* =============================================
   WORK GRID (9 × 9)
   ============================================= */
.grid-section {
  padding: 56px 40px 80px;
}

.grid-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
}

.grid-section__title {
  font-size: 40px;
  font-weight: 700; 
  letter-spacing: -0.8px;
}

.grid-section__count {
  font-size: 13px;
  color: #444;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.work-card {
  position: relative;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

.work-card:hover {
  border-color: #333;
  /* transform: translateY(-2px); */
}

.work-card__img {
  width: 100%;
  aspect-ratio: 1;
  background: #111;
  display: block;
  /* Add background-image per card as needed */
}

.work-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(240, 240, 240, 0.9);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.work-card:hover .work-card__info {
  opacity: 1;
  transform: translateY(0);
}

.touch-device .work-card__info {
  opacity: 1;
  transform: translateY(0);
}

.work-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-card__type {
  font-size: 10px;
  letter-spacing: 1px;;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.65);
  font-weight: 600;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  border-top: 1px solid #1a1a1a;
  padding: 32px 40px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__name {
  font-size: 16px;
  font-weight: 700;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 14px;
  color: #555;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #fff;
}

.footer__copy {
  font-size: 13px;
  color: #333;
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1025px) {
  .nav {
    padding: 16px 24px;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .key-image {
    padding: 0 24px 16px;
    margin-top: 24px;
  }

  .key-image__inner {
    height: 400px;
    padding: 28px;
  }

  .key-image__label {
    font-size: 32px;
  }

  .features {
    padding: 0 24px 16px;
  }

  .feature-card {
    min-height: 360px;
  }

  .feature-card__content {
    width: 50%;
    min-height: 360px;
    padding: 32px;
    background: rgba(240, 240, 240, 0.7);
  }

  .feature-card__title {
    font-size: 40px;
  }

  .grid-section {
    padding: 40px 24px 60px;
  }

  .work-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .key-image h2 {
    top: -70px;
  }
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 769px) {
  

  .footer {
    padding: 24px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 560px) {
    .feature-card__content {
      width: 100%;
      backdrop-filter: blur(5px);
    }
  .nav__links {
    gap: 20px;
  }

  .key-image__inner {
    height: 280px;
  }

  .key-image__label {
    font-size: 24px;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .nav-drawer {
    width: 100%;
  }
}

@media (max-width: 450px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
  .key-image__inner {
    height: 220px;
    padding-top: 0;
  }
  .channel h1 {
  font-size: clamp(48px, 17vw, 200px);
}
  .key-image h2 {
    font-size: clamp(13px, 4.25vw, 53px);
    top: -57px;
  }
}
