* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, 
body{
    width: 100%;
    height: 100%;
    position: relative;
    font-family: aspecta;
    background-color: #000000!important;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}




/*////////////////////////////
  FONTS
/////////////////////////// */


  @font-face {
    font-family: aspecta;
    src: url(/fonts/Aspekta-200.woff2);
    font-weight: 200;
  }
  @font-face {
    font-family: aspecta;
    src: url(/fonts/Aspekta-300.woff2);
    font-weight: 300;
  }
  @font-face {
    font-family: aspecta;
    src: url(/fonts/Aspekta-400.woff2);
    font-weight: 400;
  }
  @font-face {
    font-family: aspecta;
    src: url(/fonts/Aspekta-600.woff2);
    font-weight: 600;
  }

/* Page Loader */
.js .loading::before,
.js .loading::after {
  content: '';
  position: fixed;
  z-index: 1000;
}

.js .loading::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
}

.js .loading::after {
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px;
  border-radius: 50%;
  opacity: 0.4;
  background: var(--color-link);
  animation: loaderAnim 0.7s linear infinite alternate forwards;
}

@keyframes loaderAnim {
  to {
    opacity: 1;
    transform: scale3d(0.5, 0.5, 1);
  }
}

a {
  text-decoration: none;
  color: var(--color-link);
  outline: none;
  cursor: pointer;
}

a:hover {
  color: var(--color-link-hover);
  outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
  /* Provide a fallback style for browsers
	 that don't support :focus-visible */
  outline: none;
  background: lightgrey;
}

a:focus:not(:focus-visible) {
  /* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
  background: transparent;
}

a:focus-visible {
  /* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
  outline: 2px solid red;
  background: transparent;
}

.unbutton {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  cursor: pointer;
}

.unbutton:focus {
  outline: none;
}

  
.slides-nav::before {
  content: 'scroll / drag';
  margin-right: 2rem;
}

.slides-nav__item {
  border: 0;
  background: #fff;
  color: #000;
  width: 60px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slides-nav__item:hover {
  background-color: #ccc;
}
  

/*/////////////////////////// 
    Colors 
///////////////////////////*/
:root {
    --beige: #edece8;
    --white: #ffffff;
    --lte-white: #fafafa;
    --xss-gray: #303030;
    --xdrk-gray: #101010;
}
.beige{ background-color: var(--beige);}
.white{ background-color: var(--white);}
.lte-white{ background-color: var(--lte-white);}
.xdrk-gray{ background-color: var(--xdrk-gray);}
.xss-gray{ background-color: var(--xss-gray);}
.font-lte >*{ color: var(--lte-white)!important;}

/*/////////////////////////// 
    UTILITIES
///////////////////////////*/
.flex {display: flex;}
.flex-row {flex-direction: row !important;}
.flex-col {flex-direction: column !important;}
.flex-center {justify-self: center !important; align-self: center !important;}

.flex-1 {flex: 1}
.flex-2 {flex: 2}
.flex-3 {flex: 3}
.flex-4 {flex: 4}

.obj-fit-scale{ object-fit: scale-down !important; }
.obj-fit-none{ object-fit: none !important;}
.obj-fit-cover{ object-fit: cover !important;}
.obj-fit-contain{ object-fit: contain !important;}

.obj-pos-top{ object-position: top;}
.obj-pos-right{ object-position: right;}
.obj-pos-bottom{ object-position: bottom;}
.obj-pos-left{ object-position: left;}

.mbm-multiply{ mix-blend-mode: multiply;}

.ptb-100{ padding: 100px 0; }

/*/////////////////////////// 
    LAYOUT
///////////////////////////*/

main{
    position: relative;
    height: 100vh;
    width: 100%;  
}
header{
    display: flex;
    justify-content: center;
    position: fixed;
    width: 100%;
    z-index: 100;
}

/*//////// NAV //////////////////*/

nav {
  position: fixed;
  width: 100%;
  padding: 2em;
  display: flex;
  align-items: center;
  transition: opacity 0.4s ease-out;
  opacity: 1;
  z-index: 3;
}
nav.no-fade,
nav.no-fade.nav-fade {
  opacity: 1 !important;
  pointer-events: auto !important;
  transition: none !important;
  visibility: visible !important;
}

nav p,
footer p {
  color: #fff;
  font-size: 12px;
}

nav > div {
  flex: 1;
}

.menu-btn p {
  width: max-content;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  backdrop-filter: blur(20px);
  padding: 6px 12px;
}

.logo {
  display: flex;
  justify-content: center;
  z-index: 10;
}

.local-time {
  display: flex;
  justify-content: flex-end;
}

.logo a {
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.subpage_nav, .subpage_nav .logo a {
  color: black;
}
nav *{
  user-select: none;
}
/*////// END NAV ///////////////*/



.page-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
}
section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

section.project-stills{
    gap: 50px;
}
.container {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 40px;
}



.btn-group{
    display: flex;
    justify-self: flex-end;
    gap: 16px;
}
.nav-btn{
    padding: 8px 30px;
    border-radius: 50px;
    font-family: aspecta;
    font-weight: 300;
    color: rgb(37, 37, 37);
    background-color: white;
    user-select: none;
}
.hero{
    position: relative;
    width: 100%;
    height: inherit;
    line-height: 0;
    background-color: #131313;
    overflow: hidden;
}

.hero-text{
    position: absolute;
    bottom: 20%;
    left: 10%;
    font-family: 'aspecta';
    font-weight: 200;
    color: #ededed;
    font-size: 134px;
    line-height: 120px;
    z-index: 1;
}

/*/////////////////////////
     iNDEX PAGE 
/////////////////////////*/

.landing-container {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
  z-index: 3;
}


.items {
  position: fixed;
  width: 30%;
  height: 100vh;
  padding: 0 2em;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.item, .items a {
  width: max-content;
  padding: 0.25em 0;
  cursor: pointer;
}

.item p {
  color: #fff;
  padding: 6px 12px;
  font-weight: lighter;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  backdrop-filter: blur(20px);
  transition: 0.3s;
}

.item:hover p {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.preview {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.preview-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  z-index: 1;
}

.preview {
  position: absolute;
  width: 100vw;
  height: 100vh;
  color: #fff;
  z-index: 1;
}

.preview-title h1 {
  font-weight: lighter;
  font-size: 80px;
}

.preview-tags p,
.preview-description p {
  font-size: 16px;
  line-height: 120%;
  color: #fff;
}

.preview-img{
  will-change: transform;
  /* transition: all; */
}

/* variant 1 styles */
.preview.variant-1 .preview-img {
  position: absolute;
  bottom: 0%;
  right: 0%;
  margin: 2em;
  width: 300px;
  height: 500px;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  background-color: white;
  overflow: hidden;
}


.preview.variant-1 .preview-title {
  position: absolute;
  top: 35%;
  left: 25%;
}

.preview.variant-1 .preview-tags {
  position: absolute;
  bottom: 25%;
  right: 40%;
}

.preview.variant-1 .preview-description {
  width: 250px;
  position: absolute;
  right: 25%;
  top: 25%;
}

/* variant 2 styles */
.preview.variant-2 .preview-img {
  position: absolute;
  top: 10%;
  right: 5%;
  margin: 2em;
  width: 400px;
  height: 400px;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  background: black;
}

.preview.variant-2 .preview-title {
  position: absolute;
  bottom: 24%;
  left: 50%;
}

.preview.variant-2 .preview-tags {
  position: absolute;
  top: 25%;
  left: 25%;
}

.preview.variant-2 .preview-description {
  width: 250px;
  position: absolute;
  right: 10%;
  bottom: 15%;
}

/* variant 3 styles */
.preview.variant-3 .preview-img {
  position: absolute;
  bottom: 10%;
  left: 15%;
  margin: 2em;
  width: 300px;
  height: 400px;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
}

.preview.variant-3 .preview-title {
  position: absolute;
  bottom: 40%;
  right: 15%;
}

.preview.variant-3 .preview-tags {
  position: absolute;
  bottom: 20%;
  right: 30%;
}

.preview.variant-3 .preview-description {
  width: 250px;
  position: absolute;
  left: 20%;
  top: 15%;
}

/* Custom preview image styles */
.preview.variant-2.preview-5 .preview-img img {
  object-fit: none;
}  
.preview.variant-2.preview-5 .preview-img{
  background: #fff;
}





/*/////////////////////////
     PROJECT HEADER 
/////////////////////////*/

.text-anim{
  visibility: hidden;
}

.proj-title-container{
    display: flex;
    width: 100%;
    min-height: 100vh;
}

h1.project-title {
    font-family: aspecta;
    font-size: 90px;
    line-height: 90px;
    font-style: normal;
    font-weight: 400;
    color: #222222;
    
}

.project-title span {
    display: block;
    font-size: 14px;
    line-height: 44px;
}

.proj-header-container{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 0 40px;
}
.proj-header-container *{
  user-select: none;
}
.project-header{
    display: flex;
    flex-direction: column;
    max-width: 878px;
    width: 100%;
    margin: 0 auto 30px;
}


.word-animate,
.char-animate,
.line-animate {
  display: inline-block;
  transform-origin: center bottom;
  visibility: hidden;
}

.line-animate {
  display: block;
}

.project-header-content{
    display: flex;
    flex-direction: column;
    max-width: 878px;
    width: 100%;
    justify-self: center;
    gap: 2vw;
}

.casestudy-title {
    font-family: aspecta;
    font-size: 28px;
    font-style: normal;
    font-weight: 600;
    line-height: 34px;
    color: #222222;
}

.casestudy-desc {
    font-family: "Source Sans 3", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    color: #222222;
}

.project-details{
    display: flex;
    gap: 4.8vw;
    padding: 20px 0 0;
}

.category > p {
    display: flex;
    flex-direction: column;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
    color: #222222;
}

.category p:first-of-type{
    font-weight: 600;
}



/*/////////////////////////
 PROJECT Content 
/////////////////////////*/

p, ul > li {
    font-family: "Source Sans 3", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    color: #222222;
    max-width: 878px;
}

.content-container {
    display: flex;
    flex-direction: column;
    max-width: 878px;
    width: 84vw;
    margin: 0 auto;
    padding: 80px 0;
}


.content-move-up{
  transition: all .3s ease-in-out;
  animation: contentMoveUp 1s 1.5s forwards;
}

@keyframes contentMoveUp {

  0% { transform: translateY(10%);}
  100% { transform: translateY(0%);}
}

.project-intro {
  height: 100vh; 
  padding-bottom: 80px;
  justify-content: flex-end;
}

.intro-content {
    margin-bottom: 60px;
}
h2.title{
    max-width: 360px;
    font-family: aspecta;
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 60px;
    color: #222222;
    margin-bottom: 24px;
}
.content{
    color: #222222;
    padding: 20px 0;
    max-width: 878px;
}

.content > p {
  padding: 20px 0;
}

.content.list-header{
    font-weight: 600;
    font-size: 24px;
    padding-bottom: 16px;
}
ul li:has(span.list-pref) {
    padding: 0 0 24px;
}
ul li:has(span.list-pref)::before  {
    content: '';
    display: none;
}
ul li span.bold {
    font-weight: 600;
}

ul {
    margin-bottom: 24px;
}
ul li {
    position: relative;
    list-style: none;
    padding: 4px 0 4px 32px;
}
li::before{
    content: '';
    position: absolute;
    left: 3px;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #101010;
}
.italics {
    font-style: italic;
}
.phase {
  width: max-content;
  color: white;
  font-size: 16px;
  font-weight: 500;
  padding: 4px 12px;
  margin-bottom: 12px;
  border-radius: 25px;
  background: #131313;
}

/*/////////////////////////
 PROJECT IMGs 
/////////////////////////*/



#item-01.container{
    /* width: 84vw; */
    /* max-width: 1400px; */
    background: transparent;
}

.img-container {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 680px;
    overflow: hidden;
    clip-path: border-box;
}

.img-wrapper {
  position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 1;
}

.imgDisplay{
  width: 100%;
	height: 130%;
	object-fit: none;
  object-position: center;
	position: absolute;
	bottom: 0;
	left: 0;
}

.img-container:first-of-type {
    margin-top: 0;
}
.img-container.xlogo{
    max-width: 450px;
    margin: 0 auto; 
}

.ds-bgcolor{
    background-color: #082646;
}

.container.slides-wrapper{
    flex-direction: row-reverse;
    position: relative;
    padding: 0!important;
    height: 100%;
    max-height: 680px;
    /* max-height: 790px; */
}

.slides-nav {
    display: flex;
    gap: 24px;
    max-width: 500px;
    justify-content: flex-end;
    position: absolute;
    right: 40px;
    bottom: 20px;
    margin: 0;
    z-index: 100;
}
.slides-nav::before {
    content: 'scroll / drag';
    margin-right: 2rem;
}
.slides {
    position: relative;
    width: 100%;
    /* max-width: 1440px; */
    max-width: 1200px;
    max-height: 680px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 100%;
    grid-template-columns: 100%;
    place-items: center;
    border-radius: 24px;
    /* margin: 0 auto; */
}
.slide {
    width: 100%;
    height: 100%;
    grid-area: 1 / 1 / -1 / -1;
    pointer-events: none;
    opacity: 0;
    overflow: hidden;
    position: relative;
    display: grid;
    place-items: center;
    will-change: transform, opacity;
}
.slide__img {
    /* object-fit: scale-down; */
    width: 100%;
    height: 100%;
    will-change: transform, opacity, filter;
}
.slide--current {
    pointer-events: auto;
    opacity: 1;
}
.slides-nav::before {
    content: '';
}


/* Claude */


.word-animate,
.char-animate,
.line-animate {
  display: inline-block;
  transform-origin: center bottom;
}

.line-animate {
  display: block;
}

/* Additional styles for better descender handling */
.word-animate,
.char-animate {
  position: relative;
  vertical-align: baseline;
}

/* Optional: Force consistent line height for better clipping */
.text-container {
  line-height: 1.4;
  overflow: hidden;
}





/* CSS-First Text Reveal Animation Styles */
/* Add this CSS to handle clipping and positioning */

/* Base wrapper styles - handles overflow and sizing */
.text-reveal-wrapper {
    overflow: hidden;
    display: inline-block;
    vertical-align: baseline;
    position: relative;
  }
  
  /* Word wrapper specific styles */
  .word-wrapper {
    /* Use line-height for proper descender space */
    height: 1.2em;
    line-height: 1.2;
    margin-right: 0.1em; /* Preserve word spacing */
  }
  
  .word-wrapper:last-child {
    margin-right: 0;
  }
  
  /* Character wrapper specific styles */
  .char-wrapper {
    height: 1.3em; /* Slightly more space for characters */
    line-height: 1.3;
    width: auto;
    margin-right: 0;
  }
  
  /* Line wrapper specific styles */
  .line-wrapper {
    height: 1.4em; /* More space for full lines */
    line-height: 1.4;
    display: block;
    width: 100%;
    margin-bottom: 0.1em;
  }
  
  /* Animated elements */
  .text-reveal-element {
    position: relative;
    display: inline-block;
    transform-origin: center bottom;
    white-space: nowrap;
  }
  
  /* Split text base styles */
  .split-word,
  .split-char {
    display: inline-block;
    transform-origin: center bottom;
  }
  
  .split-line {
    display: block;
    transform-origin: center bottom;
  }
  
  /* Enhanced version with CSS custom properties */
  .text-reveal-container {
    --reveal-height: 1.2em;
    --reveal-line-height: 1.2;
    --char-spacing: 0;
    --word-spacing: 0.1em;
    --line-spacing: 0.1em;
  }
  
  .text-reveal-container .word-wrapper {
    height: var(--reveal-height);
    line-height: var(--reveal-line-height);
    margin-right: var(--word-spacing);
  }
  
  .text-reveal-container .char-wrapper {
    height: calc(var(--reveal-height) + 0.1em);
    line-height: var(--reveal-line-height);
    margin-right: var(--char-spacing);
  }
  
  .text-reveal-container .line-wrapper {
    height: calc(var(--reveal-height) + 0.2em);
    line-height: var(--reveal-line-height);
    margin-bottom: var(--line-spacing);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .text-reveal-wrapper {
      height: 1.1em;
    }
    
    .char-wrapper {
      height: 1.2em;
    }
    
    .line-wrapper {
      height: 1.3em;
    }
  }
  
  /* Font-specific adjustments */
  .text-reveal-container.font-georgia {
    --reveal-height: 1.4em; /* Georgia has larger descenders */
  }
  
  .text-reveal-container.font-times {
    --reveal-height: 1.35em;
  }
  
  .text-reveal-container.font-arial {
    --reveal-height: 1.2em;
  }
  
  .text-reveal-container.font-helvetica {
    --reveal-height: 1.15em;
  }
  
  /* Large text adjustments */
  .text-reveal-container.text-large {
    --reveal-height: 1.3em;
  }
  
  .text-reveal-container.text-xl {
    --reveal-height: 1.4em;
  }
  
  /* Utility classes for fine-tuning */
  .tight-reveal {
    --reveal-height: 1.1em;
  }
  
  .loose-reveal {
    --reveal-height: 1.5em;
  }
  
  .no-spacing .word-wrapper {
    margin-right: 0;
  }
  
  .wide-spacing .word-wrapper {
    margin-right: 0.2em;
  }
  
  /* Alternative: CSS mask approach for smooth edges */
  .text-reveal-wrapper.masked {
    mask: linear-gradient(
      to bottom,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
    -webkit-mask: linear-gradient(
      to bottom,
      transparent 0%,
      black 5%,
      black 95%,
      transparent 100%
    );
  }
  
  /* Debug mode - shows wrapper boundaries */
  .debug .text-reveal-wrapper {
    border: 1px solid rgba(255, 0, 0, 0.3);
    background: rgba(255, 0, 0, 0.1);
  }
  
  .debug .text-reveal-element {
    background: rgba(0, 255, 0, 0.1);
  }

  h1.topline{
    margin-bottom: -40px;
  }

  .subtitle {
      margin-top: -20px;
  }



/* grid */

.grid-container {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-row-gap: 60px;
  grid-column-gap: 12px;
  margin-inline: auto;
  width: 84vw;
  max-width: 1400px;
}

.grid-full {
  grid-column: 1 / 12;
}
.grid-half {
  grid-column: 1 / 6;
}
.grid-third {
  grid-column: 1 / 4;
}


@media (min-width: 601px) {
  .spk-media-01 {
      grid-column: 1 / 12;
  }
}
@media (min-width: 601px) {
  .spk-media-02 {
      grid-column: 1 / 4;
  }
} 
@media (min-width: 601px) {
  .spk-media-03 {
      grid-column: 4 / 12;
  }
}
@media (min-width: 601px) {
  .spk-media-04 {
      grid-column: 1 / 12;
  }
}
  @media (min-width: 601px) {
    .spk-media-05 {
        grid-column: 1 / 4;
    }
  }
    @media (min-width: 601px) {
      .spk-media-06 {
          grid-column: 4 / 12;
      }
}
@media (min-width: 601px) {
  .spk-media-07 {
      grid-column: 4 / 8;
  }
}

@media (max-width: 600px) {
  .spk-media-01, .spk-media-02, .spk-media-03, .spk-media-04, .spk-media-05, .spk-media-06, .spk-media-07 {
      grid-column: 1 / 12;
      height: 500px;
  }
}



.img-move{
  transform: translateY(10%);
}

.img-scale{
  transform: scale(1.1);
}
.img-panel-container{
  overflow: hidden;
  display: flex;
  justify-content: center;
  /* height: 0; */
}

.img-alpha {
  visibility: hidden;
  
}

.video-wrapper{
  position: relative;
  width: 100%;
  height: 400vh;
  padding-bottom: 430px;
  display: flex;
  align-items:flex-start;
  justify-content: center;
  margin: 0 auto;
}
.scrolly-video{
  position: relative;
  background-color: rgb(39, 36, 36);
}
img, video {
  display: block;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  width: 100%;
}

.img-frame-wrapper {
  grid-column: 1 / 12;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap:0;
}

.img-frame {
  position: relative;
  grid-column: 3 / 9;
  margin: 130px 0 -130px;
  width: 100%;
  /* height: 800px; */
  /* max-width: 780px; */
  display: flex;
  overflow: hidden;
}

.img-frame-var-2 {
  position: relative;
  grid-column: 2 / 10;
  margin: 130px 0 130px;
  width: 100%;
  /* height: 800px; */
  /* max-width: 780px; */
  display: flex;
  overflow: hidden;
}
.grid_3-9 {
  grid-column: 3 / 9;
}



.frame-pic {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.move-up{
  transform: translateY(15%);
  /* margin-top: 60px; */
}

.img-mobile {
  max-width: 1400px;
  grid-column: 2 / 10;
  margin: 20% 0 10%;
}

.spk-icons {
  max-width: 548px;
}

.spk-yellow {
  background-color: #febd07;
}
.spk-xlte-gray{
  background-color: #ededed;
}
.spk-lte-gray{
  background-color: #e7e8e3;
}
.spk-gray {
  background-color: #eaeaea;
}
.spk-lte-brown{
  background-color: #e0dbd7;
}
.spk-brown{ 
  background-color: #615849;
}

.nw-brown { background: #393939;}

.category > p {
  display: block;
}


/* Thumbnail container styles */
.thumbnails-wrapper {
  position: absolute;
  align-self: center;
  bottom: calc(0% + -66px);
  /* right: 160px; */
  z-index: 20;
}

/* .thumbnails {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  justify-content: center;
  flex-wrap: wrap;
   background: rgba(0, 0, 0, 0.1); 
  backdrop-filter: blur(10px);
} */

.thumbnails {
  display: flex;
  gap: 16px;
  padding: 20px;
  justify-content: center;
  flex-wrap: wrap;
  background: rgb(255 255 255 / 38%);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 31px -10px rgb(94 94 94 / 14%);
  border-radius: 20px;
}

/* Individual thumbnail button */
.thumbnail {
  width: 60px;
  height: 40px;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f0f0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0;
}

/* Thumbnail image */
.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Numbered thumbnail fallback */
.thumbnail--numbered {
  font-size: 14px;
  font-weight: bold;
  color: #666;
  background: #e0e0e0;
}

/* Hover state */
.thumbnail:hover {
  border-color: #007bff;
  transform: scale(1.1);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Active thumbnail */
.thumbnail--active {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

.thumbnail--active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 123, 255, 0.2);
  pointer-events: none;
}

/* Focus styles for accessibility */
.thumbnail:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .thumbnails {
    gap: 6px;
    padding: 15px;
  }
  
  .thumbnail {
    width: 50px;
    height: 35px;
  }
}


/* transition 01 */

.transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  /* flex-direction: row; */
  flex-direction: column;
  z-index: 1000;
  pointer-events: none;
}

/* .transition-wrapper{
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  transform: scale(0);
} */

.transition-row {
  flex: 1;
  display: flex;
}

.transition-row.row-1 .block {
  /* transform-origin: left; */
  transform-origin: top;
}

.transition-row.row-2 .block {
  /* transform-origin: right; */
  transform-origin: bottom;
}

.block {
  flex: 1;
  /* background-color: #ffffff; */
  background-color: #000;
  /* transform: scaleX(1); */
  will-change: transform;
  visibility: visible;
  pointer-events: none !important;
}


.transition-2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 4;
  pointer-events: none;
  display: none;
  z-index: 1000;
}


.transition-2 .transition-row.row-1 .block-2 {
  transform-origin: top;
  /* transform-origin: left; */
}

.transition-2 .transition-row.row-2 .block-2 {
  transform-origin: bottom;
  /* transform-origin: right; */
}

.block-2 {
  flex: 1;
  /* background-color: #ffffff; */
  background-color: rgb(0, 0, 0);
  transform: scaleY(.2);
  will-change: transform;
  visibility: visible;
  pointer-events: none !important;
}
.text-fade{
  opacity: 0;
}

.animate-text{
  /* perspective: 500px; */
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  word-wrap: normal;
}



 /* transition 2*/

 .transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
   flex-direction: row; 
 /* flex-direction: column;*/
  z-index: 1000;
  pointer-events: none;
}

/* .transition-wrapper{
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  transform: scale(0);
} */

.transition-row {
  flex: 1;
  display: flex;
}

.transition-row.row-1 .block {
  transform-origin: left; 
 /*  transform-origin: top;*/
}

.transition-row.row-2 .block {
   transform-origin: right; 
 /* transform-origin: bottom;*/
}

.block {
  flex: 1;
  /* background-color: #ffffff; */
  background-color: #000;
  /* transform: scaleX(1); */
  will-change: transform;
  visibility: visible;
  pointer-events: none !important;
}


.transition-2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  z-index: 4;
  pointer-events: none;
  /* display: none; */
}


.transition-2 .transition-row.row-1 .block-2 {
  transform-origin: top;
  /* transform-origin: left; */
}

.transition-2 .transition-row.row-2 .block-2 {
  transform-origin: bottom;
  /* transform-origin: right; */
}

.block-2 {
  flex: 1;
  /* background-color: #ffffff; */
  background-color: rgb(0, 0, 0);
  transform: scaleY(.2);
  will-change: transform;
  visibility: visible;
  pointer-events: none !important;
}


.cursor-circle {
  position: fixed;
  width: 50px;
  height: 50px;
  /* background-color: rgb(0, 0, 0, .8); */
  /* background-color: #0000ff; */
  /* border: 2px solid black; */
  border-radius: 50%;
  pointer-events: none;
  transform-origin: center;
  transform: translate(-50%, -50%);
  transition: all 0.1s ease-out;
  z-index: 9999;
  will-change: transform, opacity;
  opacity: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  mix-blend-mode: exclusion;
  
}
.cursor-circle.changed {
   display: none;
 /* mix-blend-mode: normal;
  transform: scale(5);
  will-change: transform; */
}
/* .circle-inform{
  background-color: rgba(150, 0, 0, 0.8)!important;
  mix-blend-mode: normal;
  transform: scale(2);
  transition: .2s ease-in-out;
} */



/* /////////////////////////
    HORZ SCROLLING
 /////////////////////////*/

.timeline-container{
    display: block;
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 100px;
}

.timeline {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 10vh;
  padding: 2.25em 1em;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.marker {
  width: 1px;
  height: 100%;
  min-height: 18px;
  background: rgb(70, 70, 70);
}

.scroller {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
  font-family: "Akkurat Mono";
  text-transform: uppercase;
  background: rgb(250, 250, 250);

  cursor: pointer;
  line-height: 124%;
  z-index: 10;
}


/* .scroller::before{
  content: 'DRAG';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 0;
} */
/* .timeline:hover *.marker {
  width: 1px;
  height: 100%;
  background: #fff;
} */



span {
  font-family: "Akkurat Mono";
  font-size: 13px;
  padding: 0 3em;
}

.hscroll-container {
  position: absolute;
  top: 0;
  left: 0;
  /* width: 900vw; */
  width: fit-content;
  height: 90vh;
  display: flex;
  color: white !important;
}

section.hscroll {
  position: relative;
  width: 100vw;
  height: 100%;
  padding: 6em 2em 0 2em;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2em;
  overflow: hidden;
}

#section-1,
#section-4 {
  display: flex;
  justify-content: space-between;
}

section.hscroll:first-of-type {
  /* width: 1200px; */
}

.img {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.pos-center{
  position: absolute;
}

.img-2,
.img-3,
.img-4,
.img-6,
.img-7,
.img-9 {
  flex: 3;
}

.img-1,
.img-5,
.img-8 {
  flex: 6;
}

.img.img-1{
  flex: 4;
}
.img.img-1 img{
}

.img.img-2{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 2;
  flex-direction: column;
  background: #fafafa;
}


.img.img-2 > img:first-of-type{
  max-width: 240px;
}
.img.img-2 > img:nth-of-type(2){
  max-width: 380px;
}

.img.img-3{
  flex: 2;
}

.img.img-5{
  flex: 2;
  background: #fff;
}
.img.img-5 img{
  object-fit: cover;
  margin: 40px;
}


.img.img-6{
  flex: 4;
  background: transparent;      
}
.img.img-6 img{
  object-position: top;
  object-fit: cover;
}


.img.img-7{
  flex: 2;  
  display: flex;
  gap: 2em;
}
.img.img-8{
  flex: 4;
  background: transparent;   
}
.img.img-8 img{
  object-fit: contain;
  object-position: center;     
  mix-blend-mode: multiply;
}

.img.img-7 > img{    
}

.img.img-9{
  flex: 2;
  background: transparent;   
}

.sml-label {
  color: rgb(131, 131, 131); 
  padding: 18px 40px 18px 0; 
  font-family: aspecta;
  font-weight: 400;
  font-size: 14px;
  text-transform: capitalize;
  letter-spacing: 1px;
  user-select: none;
}

/*///////////////
 MENU OVERLAY 
//////////////*/


.menu-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: all;
  color: var(--menu-fg-secondary);
  z-index: 2;
}

.menu-logo {
  width: 2rem;
  height: 2rem;
}

.menu-toggle-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.menu-toggle-label {
  overflow: hidden;
}

.menu-toggle-label p {
  position: relative;
  transform: translateY(0%);
  will-change: transform;
}

.menu-hamburger-icon {
  position: relative;
  width: 3rem;
  height: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--hamburger-icon-border);
  border-radius: 100%;
}

.menu-hamburger-icon span {
  position: absolute;
  width: 15px;
  height: 1.25px;
  background-color: var(--fg);
  transition: all 0.75s cubic-bezier(0.87, 0, 0.13, 1);
  transform-origin: center;
  will-change: transform;
}

.menu-hamburger-icon span:nth-child(1) {
  transform: translateY(-3px);
}

.menu-hamburger-icon span:nth-child(2) {
  transform: translateY(3px);
}

.menu-hamburger-icon.active span:nth-child(1) {
  transform: translateY(0) rotate(45deg) scaleX(1.05);
}

.menu-hamburger-icon.active span:nth-child(2) {
  transform: translateY(0) rotate(-45deg) scaleX(1.05);
}

.menu-overlay,
.menu-overlay-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  color: var(--fg);
  overflow: hidden;
  z-index: 1;
}

.menu-overlay {
  background-color: var(--menu-bg);
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  will-change: clip-path;
}

.menu-overlay-content {
  display: flex;
  transform: translateY(-50%);
  will-change: transform;
  pointer-events: all;
}

.menu-media-wrapper {
  flex: 2;
  opacity: 0;
  will-change: opacity;
}

.menu-media-wrapper img {
  opacity: 0.25;
}

.menu-content-wrapper {
  flex: 3;
  position: relative;
  display: flex;
}

.menu-content-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-footer {
  margin: 0 auto;
}

.menu-content-main,
.menu-footer {
  width: 75%;
  padding: 2rem;
  display: flex;
  align-items: flex-end;
  gap: 2rem;
}

.menu-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-col:nth-child(1) {
  flex: 3;
}

.menu-col:nth-child(2) {
  flex: 2;
}

.menu-link a {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.menu-tag a,
.menu-footer p {
  color: var(--menu-fg-secondary);
}

.line {
  position: relative;
  will-change: transform;
}

@media (max-width: 1000px) {
  h1 {
    font-size: 3rem;
    letter-spacing: -0.05rem;
  }

  section h1 {
    width: 100%;
  }

  .menu-media-wrapper {
    display: none;
  }

  .menu-content-main,
  .menu-footer {
    width: 100%;
  }

  .menu-content-main {
    top: 50%;
    flex-direction: column;
    align-items: flex-start;
    gap: 5rem;
  }

  .menu-link a {
    font-size: 3rem;
  }

  .menu-tag a {
    font-size: 1.25rem;
  }
}


.cursor-circle.cursor-scroll {
  height: 120px !important;
  width: 120px !important;
  background: rgba(255, 255, 255, 0.13) !important;
  
  /* background-color: transparent !important; */
  mix-blend-mode: difference !important;
  backdrop-filter: blur(7px);
  /* box-shadow: 0 2px 0px 0 rgba(0 0 0 / .1); */
  
}
.cursor-circle.cursor-scroll::after {
  content: 'Scroll';
  font-size: 18px;
  font-family: aspecta;
  font-weight: 500;
  height: 120px !important;
  width: 120px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  /* mix-blend-mode: exclusion !important; */
  color: rgb(0, 0, 0);
}

/* .cursor-circle.cursor-scroll::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: red;
  z-index: 6;
} */

/* .cursor-circle.cursor-scroll::before {
  content: '';
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: red;
  z-index: 6;
} */