    /* ══════════════════════════════════════════════
       CSS CUSTOM PROPERTIES
    ══════════════════════════════════════════════ */
    @font-face {
      font-family: 'Helvetica Now Display';
      src: url('../fonts/HelveticaNowDisplay-Regular.ttf') format('truetype');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
    }
    
    @font-face {
      font-family: 'Helvetica Now Display';
      src: url('../fonts/HelveticaNowDisplay-Medium.ttf') format('truetype');
      font-weight: 500;
      font-style: normal;
      font-display: swap;
    }
    
    @font-face {
      font-family: 'Helvetica Now Display';
      src: url('../fonts/HelveticaNowDisplay-Bold.ttf') format('truetype');
      font-weight: 700;
      font-style: normal;
      font-display: swap;
    }
    
    @font-face {
      font-family: 'Helvetica Now Display';
      src: url('../fonts/HelveticaNowDisplay-ExtraBold.ttf') format('truetype');
      font-weight: 800;
      font-style: normal;
      font-display: swap;
    }
    
    @font-face {
      font-family: 'Helvetica Now Display';
      src: url('../fonts/HelveticaNowDisplay-Black.ttf') format('truetype');
      font-weight: 900;
      font-style: normal;
      font-display: swap;
    }
    
    @font-face {
      font-family: 'Helvetica Now Display';
      src: url('../fonts/HelveticaNowDisplay-ExtBlk.ttf') format('truetype');
      font-weight: 950;
      font-style: normal;
      font-display: swap;
    }

    :root {

      --primary-color:#f83806;
     /* --bg-color: #e6d8cb; */
     --bg-color: #e6e7df; 
      --bg-dark:#1e1e1e;
      --subtitle-color: #6d6d6d;
      --heading-color:#FFF;

      --primary-font:'Helvetica Now Display', Georgia, serif;
      --secondary-font:'PP Editorial New', Georgia, serif;
      --text-base: clamp(1rem,     0.9rem  + 0.5vw,  1.75rem);
      /* ── Spacing ──────────────────────────────── */
      --gap: 2.5em;
      /* ── Letter-spacing ───────────────────────── */
      --site-max-width: 100%;
      --transition-fast: 150ms;
      --transition-medium: 300ms;
      --transition-slow: 500ms;
      --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
      --transition-base: all var(--transition-medium) var(--ease-soft);
    }

    [data-theme="dark"] {
      --primary-color:#f43508;
      --bg-color: #1e1e1e;
      --subtitle-color: #e4e0db;
      --heading-color:#e0ccbb;

    }


    .lines {
      position: fixed;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: calc(100vw - (4.165% * 2));
      max-width: var(--site-max-width);
      height: 100vh;
      border-left: 1px solid rgba(255, 255, 255, 0.15);
      border-right: 1px solid rgba(255, 255, 255, 0.15);
      pointer-events: none;
      z-index: 2;
      mix-blend-mode: difference;
    }
a{
  margin: 0;
  position: relative;
  font-weight: 400;
  font-family: var(--primary-font);
  text-decoration: none;
  color: var(--bg-dark);
}
[data-theme="dark"] a {
  color: var(--heading-color);
}
  a::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      height: 2px;
      width: 100%;
      background:var(--subtitle-color);
    
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.5s ease;
    }
    a:hover::after {
          transform: scaleX(1);
          transform-origin: left; 
        }
    a:not(:hover)::after {
          transform-origin: right;
        }


    /* ── Reset ──────────────────────────────────── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html.lenis,html.lenis body{height:auto}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-stopped{overflow:clip}.lenis.lenis-smooth iframe{pointer-events:none}
      
    html {
      scroll-behavior: auto;  
      font-size: 100%;
    }

    body {
      background-color: var(--bg-color);
      color: var(  --subtitle-color);
      font-family: var(--primary-font);
      font-size: var(--text-base);
      line-height: 1.65;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: var(--primary-font);
      line-height: 1.05;
      font-weight: 500;
      letter-spacing: -0.02em;
      margin-bottom: 3.33vw;
      color: var(--heading-color);
      mix-blend-mode: difference;
    }

    p { 
      line-height: 1.7;
      font-weight: 400;
      font-family: var(--primary-font);
      color: var(  --subtitle-color);
      margin-bottom: 1em;
     }

    img {
      width: 100%;
      height: auto;
  }
    .text-center {
      text-align: center;
    }
    .text-left{
      text-align: left;
    }
    .text-right{
      text-align: right;
    }


    /* ══════════════════════════════════════════════
       LAYOUT UTILITIES
    ══════════════════════════════════════════════ */
 
.header-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 8.3333vw;
}
 
.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  width: calc(100% - (8.3333vw * 2));
  margin: 0 auto;
  position: relative;
}
 
#about-section .main-title { grid-column: 1 / 13; }

 
#about-section .about-bio     { grid-column: 1/ 6; }
#about-section .about-bio-2  { grid-column: 7/ 13; }
#about-section .about-avatar     { grid-column: 6/ 13; }


#work-section .work-item:first-child  { grid-column: 1 / 5; }
#work-section .work-item:nth-child(2) { grid-column: 5 /13; }
#work-section .work-item:nth-child(3) { grid-column: 1 / 9; }
#work-section .work-item:nth-child(4) { grid-column: 9 / 13; }
#work-section .work-item:nth-child(5) { grid-column: 1 / 5; }
#work-section .work-item:nth-child(6) { grid-column: 5 / 9; }
#work-section .work-item:nth-child(7) { grid-column: 9 / 13; }

/*
#work-section .work-item:nth-child(3n + 1) {
  grid-column: 1 / 5;
}

#work-section .work-item:nth-child(3n + 2) {
  grid-column: 5 / 9;
}

#work-section .work-item:nth-child(3n + 3) {
  grid-column: 9 / 13;
}*/

#footer .column:first-child   { grid-column: 1 / 3; }
#footer .column:last-child   { grid-column: 3 / 6; }



.portfolio-item ,#project-section .content-wrapper { grid-column: 1 / 13; }
#project-section .subcontent{
  grid-column: 1 / 9;
}
#work-section.pt-0{
  padding-top: 0;
}
.item-portfolio-content {
  grid-column: 3 / 11;
  margin: 0 auto;
}
.grid .portfolio-item ,.grid .portfolio-item-half,.grid .portfolio-item-mixed,.grid .portfolio-item-mixed-2{
  margin-bottom: var(--gap);
}
.work-item  .portfolio-item  {
  margin-bottom: 0;
}
.grid .portfolio-item-half:nth-child(odd) {
  grid-column: 1 / 7;
}

.grid .portfolio-item-half:nth-child(even) {
  grid-column: 7 / 13;
}


.grid .portfolio-item-mixed:nth-child(odd) {
  grid-column: 1 / 6;
}

.grid .portfolio-item-mixed:nth-child(even) {
  grid-column: 6 / 13;
}

.grid .portfolio-item-mixed-2:nth-child(odd) {
  grid-column: 1 / 6;
}

.grid .portfolio-item-mixed-2:nth-child(even) {
  grid-column: 6 / 13;
}


/*-------------------------------------------------------------------------------*/
  /* ───                             MAIN HEADER                             ─── */
/*-------------------------------------------------------------------------------*/

    header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      margin: auto;
      will-change: transform; 
      mix-blend-mode: difference;
      font-family: var(--primary-font);
    }
    header:after{
      content: '';
      position: absolute;
      width: 120vw;
      height: 1px;
      bottom: 0;
      background: rgba(255, 255, 255, 0.15);
      left: -10vw;
    }

    header .time, header .logo a ,#clock{
      font-family: var(--primary-font);
      margin: 0;
      color: var(--subtitle-color);
      text-decoration: none;
    }
    header .logo a {
      text-decoration: none;
      color: var(--heading-color);
      font-weight: 800;
      text-transform: uppercase;
    }
    header .logo a::after{
      display: none;
    }

    nav {
      position: relative;
      z-index: 101;
      height: 64px;
      padding: 0 2em;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      mix-blend-mode: difference;
      
    }

    nav ul {
      list-style: none;
      display: flex;
      gap: 1em;
  }

  nav ul li a {
    color: var(--heading-color);
    font-family: var(--primary-font);
    text-decoration: none;
    position: relative;
  }

  nav ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background:var(--heading-color);
  
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
  }
  nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left; 
  }
  nav ul li a:not(:hover)::after {
    transform-origin: right;
  }



  .time {
    display: flex;
    gap: 1em;
    align-items: center;
}
.header-wrapper .logo { justify-self: start; }
.header-wrapper nav   { justify-self: center; }
.header-wrapper .time { justify-self: end; }
/* ===============================
   TOGGLE BUTTON
================================= */
.nav-toggle {
  position: relative;
  width: 40px;
  height: 30px;
  cursor: pointer;
  z-index: 2000;
  display: none;
  mix-blend-mode: difference;
}

.nav-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background:var(--bg-color);
  left: 0;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

/* ===============================
   MOBILE NAV
================================= */
nav.mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  overflow: hidden;
  height: 0;
  z-index: 1500;
  display: flex;
  align-items: flex-start;
}

nav.mobile ul {
  list-style: none;
  width: 100%;
  padding-top: 0;
  display: flex;
  flex-direction: column;
}

nav.mobile li {
  width: 100%;
  border-bottom: 1px solid #eee;
  overflow: hidden;
}

nav.mobile a {
  display: block;
  width: 100%;
  padding: 30px;
  font-size: 2rem;
  text-decoration: none;
  color: #111;
  transform: translateY(100%);
  opacity: 0;
}





/*-------------------------------------------------------------------------------*/
  /* ───                             MAIN HEADER                             ─── */
/*-------------------------------------------------------------------------------*/

/*-------------------------------------------------------------------------------*/
  /* ───                            LOGOS MARQUE                             ─── */
/*-------------------------------------------------------------------------------*/

.logos-wrapper{
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  width: 100vw;
  display: block;
  margin-top: 6em;
}
[data-theme="dark"] .logos-wrapper{
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.marquee-advanced {
  width: 100vw;
  position: relative;
  overflow: hidden;
  z-index: 12;
 
}
.logos-wrapper .marquee-advanced{
  width: calc(100vw - (4.165% * 2));
  position: relative;
  overflow: hidden;
  z-index: 12;
 margin: 0 auto;
}

.marquee-advanced__scroll {
  will-change: transform;
  width: 100%;
  display: flex;
  position: relative;
}

.marquee-advanced__collection {
  will-change: transform;
  display: flex;
  position: relative;
}

.marquee-advanced__item {
  justify-content: flex-start;
  align-items: center;
  font-size: max(4em, 8vw);
  display: flex;
}
.marquee__advanced__p {
    white-space: nowrap;
    margin-bottom: 0;
    margin-right: .25em;
    font-size: 2em;
    color: #1e1e1e;
    font-family: var(--primary-font);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
 
}

[data-theme="dark"] .marquee__advanced__p  {
  color:#e0ccbb;
}

 
.marquee__advanced__p .line,.marquee__advanced__p .char{
  color: var(--primary-color);
  z-index: 999999;
}
.companies-logos .marquee-advanced__item-width svg path,
 .companies-logos .marquee-advanced__item-width svg path, 
.companies-logos .marquee-advanced__item-width svg polygon,
.companies-logos .marquee-advanced__item-width svg rect{
  fill: #1e1e1e;
}
 
[data-theme="dark"] .companies-logos .marquee-advanced__item-width svg path,
[data-theme="dark"] .companies-logos .marquee-advanced__item-width svg path,
[data-theme="dark"] .companies-logos .marquee-advanced__item-width svg polygon,
[data-theme="dark"] .companies-logos .marquee-advanced__item-width svg rect{
  fill: var(--heading-color);
}
.marquee-advanced__item-width {
  justify-content: center;
  align-items: center;
  width: 200px;
  height: auto;
  margin: 1em;
  display: flex; 
}

[data-marquee-status="inverted"] .marquee__advanced__arrow-svg, [data-marquee-direction="right"][data-marquee-status="normal"] .marquee__advanced__arrow-svg {
    transform: rotate(-359.999deg);
}
.marquee__advanced__arrow-svg, [data-marquee-direction="right"][data-marquee-status="inverted"] .marquee__advanced__arrow-svg {
    transition: 0.5s cubic-bezier(0.625, 0.05, 0, 1);
    transform: rotate(-180deg);
}
.marquee__advanced__arrow-svg {
    color: #1e1e1e;
    width: auto;
    height: 0.75em;
    position: relative;
    margin: 0 20px;
    display: flex;
    padding: 0;
    vertical-align: middle;
}
.marquee__advanced__arrow-svg  path {
  fill: #1e1e1e;
} 
[data-theme="dark"]   .marquee__advanced__arrow-svg  path{
  fill: #e0ccbb;
}
 .marque-animate .marquee__advanced__arrow-svg {
  font-size: 2em;
  line-height: 1;
}
/*-------------------------------------------------------------------------------*/
  /* ───                            LOGOS MARQUE                             ─── */
/*-------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------*/
  /* ───                           ABOUT SECTION                             ─── */
/*-------------------------------------------------------------------------------*/

    #about-section {
      background: var(--bg-color);
      padding: 12em 0 0 0;
      position: relative;
    }
    #about-section .profile-img-wrapper{
      position: relative;
      width: 100%;
      height: auto;
      margin-top: 1.5em;
    }
 
    #about-section .service-title {
      margin-top: 3.33vw;
      margin-bottom: 1.66vw;
  }
    #about-section .profile-img{
      display: block;
      z-index: 2;
      position: relative;
      mix-blend-mode: luminosity;
 
    }
    #about-section .about-bio .subtitle span {
      width: 50px;
      height: 50px;
      background: var(--heading-color);
      position: relative;
      display: inline-flex;
      margin: 0 20px 0 0;
      top: 8px;
 
      position: relative;
  }
 
 


    ul.specs-list {
      list-style: none;
      margin-top: 2.5em;
  }

  ul.specs-list  li {
    margin-bottom: 0.5em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.5em;
    color: var(--heading-color);
    mix-blend-mode: difference;
  }
    #about-section .profile-img-wrapper .pixel_overlay {
      width: 30%;
      height: auto;
      display: block;
      overflow: visible !important;
      position: absolute;
      z-index: 2;
  }

  #about-section .profile-img-wrapper .pixel_overlay path {
    fill: var(--bg-color);
  }


    #about-section .cube-01 {top:100px;left:100px;}
    #about-section .cube-02 {top:100px;right:100px;}
    #about-section .cube-03 {bottom:100px;left:100px;}
    #about-section .cube-04 {bottom:100px;right:100px;}

    #about-section .cube-01,
    #about-section .cube-02,
    #about-section .cube-03,
    #about-section .cube-04 {
      width: auto;
      height: auto;
      background-color: transparent;
      position: absolute;
      padding: 1em;
      border: 1px solid var(--subtitle-color);
      font-size: 0.75em;
      display: flex;
      flex-direction: row;
      align-content: center;
      justify-content: center;
      align-items: center;
      gap: 1em;
      text-transform: uppercase;
}
    #about-section h1,   .lg-heading , .lg-heading  span, .title span div{
      font-size: clamp(48px, 9vw, 240px);
      text-transform: uppercase;
      line-height: 1.05;
      font-family: var(--primary-font);
      font-weight: 800;
      margin-bottom: 13.32vw;
      
    }

    .line-mask {
      overflow: hidden;
      display: block;
      margin: -2rem 0;
      padding: 1rem 0;
    }
    .line {
      display: block;
   
    }
    .word-mask {
      overflow: hidden;
      display: inline-block;
      vertical-align: bottom;
      margin: -2rem 0;
      padding: 1rem 0;
    }
    
    .word {
      display: inline-block;
    }
 
    #hero-section .lg-heading{
      margin-bottom: 0;
    }
    #about-section h1 span{
      font-family: var(--primary-font);
      font-weight: 400;
    }

  .subtitle {
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 400;
    line-height: 1.4;
    font-family: var(--primary-font);
  
}
/*-------------------------------------------------------------------------------*/
  /* ───                           ABOUT SECTION                             ─── */
/*-------------------------------------------------------------------------------*/


#work-section{
  width: 100%;
  position: relative;
  background-color:var(--bg-color);
  padding: 13.32vw 0;
 
}
.item-image-wrapper {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.item-image-wrapper .item-image-centered {
  z-index: 9;
  background:transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  position: absolute;
  inset: 0;                 
  margin: auto;            
  width: 50%;
  height: 50%;
  transform: scale(0);     
  transform-origin: center;
  filter: none;
  border-radius: 8px;
}
.item-image-wrapper a::after{
  display: none;
}
.item-image-wrapper .item-image-centered img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  filter: none;
  border-radius: 8px;
}

.item-image-wrapper img,.item-image-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;  
  display: block;   
  transition: var(--transition-slow);   
  border-radius: 8px;
}


.item-image-wrapper:hover img,.item-image-wrapper:hover video {
  filter: grayscale(100%) blur(20px);
  transition: var(--transition-slow);   
  transform: scale(1.05); 
  border-radius: 8px;
  
}
.item-image-wrapper:hover .item-image-centered  img ,.item-image-wrapper:hover .item-image-centered  video{
  filter: none;
  transition: var(--transition-slow);   
  transform: scale(1.0); 
  border-radius: 8px;
  
}
.image-wrapper, .image-wrapper img ,.video-wrapper, .video-wrapper video {
  display: block;
  overflow: hidden;
  border-radius: 8px;
 
}
#work-section .work-item  .image-wrapper, .image-wrapper img ,#work-section .work-item  .video-wrapper, .video-wrapper video  {
  height: 100%;
  border-radius: 8px;
}
.portfolio-items-wrapper {
  padding: 0;
  position: relative;
  width: 100%;
  z-index: 59;
  background:transparent;
  border-radius: 8px;
 
}
.portfolio-item {
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
}
 
 
.category-label {
  padding: 20px 0 0 0;
  color:var(--subtitle-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  margin-bottom: 0
}
.project-label {
  font-size: 1em;
  width: fit-content;
  padding: 0;
  text-transform: capitalize;
  letter-spacing: 0;
  font-family: var(--primary-font);
  font-weight: 500;
  display: flex;
  color: var(--heading-color);
  mix-blend-mode: difference;
}
.project-label span {
  color: var(--subtitle-color);
  font-size: 0.74em;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  line-height: 1;
}
.item-content {
  position: relative;
  z-index: 9;
  width: 100%;
  opacity: 1;
  mix-blend-mode: difference;
}


.spinner {
  position: relative;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 34px;
  height: 34px;
  top: 0;
  animation: rotate 4s linear infinite;
  transform-origin: center;
}
.spinner svg{
  width: 34px;
  height: 34px;
 
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


  #pin-wrap {
    height: 200vh;
    position: relative;
  }
  #pin-inner {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    position: sticky; /* keep sticky */
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    overflow: hidden;
    isolation: isolate; 
  }
  
  /* ─── TOP TEXT ─── */
  .hero-top {
    display: flex;
    justify-content: center;
    align-items: end;
    padding-bottom: 1em;
    z-index: 2;
    grid-row: 1;
  }
  
  .hero-top-right {
    max-width: 600px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 400;
    line-height: 1.25;
    color: var(--heading-color);
    margin-top: 1em;
    font-family: var(--primary-font);
    font-weight: 400;
  }
  
  .video-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;  
    pointer-events: none;
  }
  
  .video-inner {
    position: relative;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    will-change: width, height, border-radius;
    background: #111;
    pointer-events: all;
  }
  
  .video-inner::after {
    content: '';
    display: block;
    padding-top: 0;
  }
  
  video, .video-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  

  .video-placeholder {
    background: linear-gradient(135deg, #1a1a2a 0%, #0d0d0d 50%, #1a120a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .video-placeholder svg {
    opacity: 0.2;
    width: 64px;
  }
  
  /* ─── BOTTOM TEXT ─── */
  .hero-bottom {
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 0;
    padding-bottom: 0;
    z-index: 2;
    grid-row: 3;
  }
  
  .hero-bottom-left {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(48px, 7vw, 96px);
    line-height: 0.92;
    letter-spacing: 0.01em;
  }
  
  .hero-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    padding-top: 8px;
  }
 





 /*-------------------------------------------------------------------------------*/
  /* ───                    PRE FOOTER    FULLSCREEN CTA                      ─── */
/*-------------------------------------------------------------------------------*/
  #cta-section {
    min-height: 175vh;
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 6em 0;
    text-align: center;
    border-top: 1px solid rgba(0,0,0,0.15);
  }
  
  [data-theme="dark"] #cta-section {
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  #cta-section h1{
    margin-bottom: 4vw;
  }
  
  #cta-section  .tile-wrapper {
    grid-column: 1 / 13;
  }
  .cta-video-wrapper {
    width: 100%;
    height: auto;
    position: relative;
  }
  
  .cta-video-wrapper video{
    width: 100%;
    height: auto;
    position: relative;
  }
 /*-------------------------------------------------------------------------------*/
  /* ───                           PRE FOOTER    CTA                         ─── */
/*-------------------------------------------------------------------------------*/
#footer-cta .footer-cta{
  padding: 6em 0;
  border-top: 1px solid rgba(0,0,0,0.15);
  border-bottom: 1px solid rgba(0,0,0,0.15);
 
}
 #footer-cta .title-wrapper {grid-column: 1 / 9;}
 #footer-cta .gif-slider {grid-column: 9 / 13;}

[data-theme="dark"]   #footer-cta .footer-cta {
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom:  1px solid rgba(255,255,255,0.15);
}
#footer-cta .footer-cta h1 {
  margin: 0;
  font-weight: 400;
  font-family: var(--primary-font);
  font-size:clamp(34px, 4vw, 100px);
  margin-bottom: 0;
}
#footer-cta .footer-cta .cta-email {
  margin: 0;
  position: relative;
  font-weight: 400;
  font-family: var(--primary-font);
  text-decoration: none;
  color:var(--subtitle-color);
  font-size: clamp(20px, 3.33vw, 90px);
}
 

#footer-cta .footer-cta a.cta-email::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background:var(--subtitle-color);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
#footer-cta .footer-cta a.cta-email:hover::after {
  transform: scaleX(1);
  transform-origin: left; 
}
#footer-cta .footer-cta a.cta-email:not(:hover)::after {
  transform-origin: right;
}
/*
.footer-texture{
  position: absolute;
  z-index: -1;
  background: url(../img/footer-texture.gif);
  background-repeat: repeat;
  background-position: left top;
  border: 0;
  background-size: 250px auto;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.1;
}*/

/*-------------------------------------------------------------------------------*/
  /* ───                             MAIN FOOTER                             ─── */
/*-------------------------------------------------------------------------------*/
.footer-wrap {
  position: relative;
  overflow: hidden;
  z-index: 19;
}
.footer-footer__dark.footer__dark {
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  background:var(--bg-dark);
  z-index: 0;
  display: none;
}

  #footer {
    padding: 6em 0 0 0;
    position: relative;
    background:var(--bg-dark);
    position: relative;
    overflow: hidden;
  }
  #footer h1,   #footer h2,   #footer h3,   #footer h4,   #footer h5,   #footer h6{
    font-family: var(--primary-font);
    font-weight: 800;
    margin-bottom: 2vw;
    color: #e0ccbb;
    text-transform: uppercase;
  }
 
ul.footer-nav {
  list-style: none;
}

ul.footer-nav li {
  list-style: none;
  width: auto;
}

ul.footer-nav li a {
  text-decoration: none;
  color: #e4e0db;
  font-family: var(--primary-font);
  position: relative;
}
ul.footer-nav li a:hover{
  color: var(--subtitle-color);
}
ul.footer-nav li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background:var(--subtitle-color);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
ul.footer-nav li a:hover::after {
  transform: scaleX(1);
  transform-origin: left; 
}
ul.footer-nav li a:not(:hover)::after {
  transform-origin: right;
}


#footer .footer-logo {
  width: 100vw;
  padding: 6em 1em 0 1em;
  bottom: -20px;
  position: relative;
  z-index: 999;
}

#footer .footer-logo  svg {
  width: 100%;
  height: auto;
}

[data-theme="dark"] #footer .footer-logo svg path,[data-theme="light"] #footer .footer-logo svg path {
  fill: #e0ccbb;
}

/*-------------------------------------------------------------------------------*/
  /* ───                             MAIN FOOTER                             ─── */
/*-------------------------------------------------------------------------------*/

.toggle {
  width: 50px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.track {
  width: 100%;
  height: 100%;
  background: var(--subtitle-color);
  border-radius: 13px;
  transition: background 0.5s ease;
}

.knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  background: var(--heading-color);
  border-radius: 50%;
  transition: background 0.5s ease;
  will-change: transform;
}




/*-------------------------------------------------------------------------------*/
  /* ───                              PROJECTS PAGE                          ─── */
/*-------------------------------------------------------------------------------*/


#project-section {
  padding: 9em 0 6em 0;
 
}
#project-section .grid {
  gap: 0;
}
#project-section .subtitle{
  margin-bottom: 0;
}

.video-wrapper{
  position: relative;
  width: 100%;
  height: auto;
}

.video-wrapper video {
  position: relative;
  width: 100%;
  height: auto;
}

.item-portfolio-content {
  padding: 4em 0;
  max-width: 70%;
}

.item-portfolio-content  h2 {
  margin-bottom: 0.5em;
}
#project-section h4{
  margin-bottom: 2em;
}
.item-portfolio-content p:last-child{
  margin-bottom: 0;
}
.button-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-content: center;
}
ul.service-list {
  list-style: none;
  display: flex;
  gap: 20px;
  mix-blend-mode: difference;
}

ul.service-list li {
  padding: 0 0.5em;
  background: var(--bg-dark);
  border-radius: 0.5em;
  color: var(--heading-color);
}


.gif-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.gif-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.gif-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/*-------------------------------------------------------------------------------*/
  /* ───                              RESPONSIVE CSS                         ─── */
/*-------------------------------------------------------------------------------*/
@media (max-width: 1024px) {
  .time{display: none;}
  .header-wrapper nav   { justify-self: flex-end; }
}

@media (max-width: 768px) {
 #footer  .col-1-5{
      flex: 0 0 44%;
  }
  nav{
    padding: 0;
  }
  nav ul {
    gap: 0.75em;
}
.grid {
  gap: var(--gap);
  width: calc(100% - (8.3333vw * 2));
  margin: 0 auto;
  position: relative;
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  flex-flow: column;
  padding-bottom: 0;
  display: flex;
}
ul.service-list{

  flex-direction: column;
}

.item-portfolio-content {
  padding: 4em 0;
  max-width: 100%;
}


}