/*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */
@font-face {
  font-family: "JI-Renner";
  src: url("./Renner-Book-JI-natural.woff")  format("woff"),
       url("./Renner-Book-JI-natural.ttf")   format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


body
{
	/*text-align: justify;*/
  /*padding-top: 120px; */
  padding-top: var(--nav-height);
  margin: 0;
  padding: 0;
  padding-left: var(--sidebar-w);      /* push content clear of sidebar */
  scrollbar-gutter: stable both-edges; /* avoid layout shift on scrollbars */
  /* make it look decent enough */
  background: #FFF;
  color: #000;
font-family: "JI-Renner", sans-serif;
	font-size: clamp(18px, 2.8vw, 28px);
  /*font-family: "Avenir Next", "Avenir", sans-serif;*/
  overscroll-behavior: none;
}

@media (max-width: 640px) {
  body {
    background: rgba(255, 255, 255, 0.8);
  }
}

main {
  width: 50%;
  min-width:50%;
  max-width: 960px;
  margin: 0 auto;
  padding: 120px 0 100px;
}
/*
html, body { 
  
  margin: 0;
  height: 100%;
  color: white;
  font-size: 18px;
}
*/
footer {
	text-align: justify;
  font-size: 10px;
  /* match desktop main */
  width: 50%;
  

  margin: 50px auto; /* 50px top/bottom, centered horizontally */
}

p {
  text-align: justify;
  font-size: 28px;
  line-height: 28px;
}

main ul,
main ol {
  margin: 1rem 0 1.5rem 1.75rem;
}

main ul {
  list-style: disc;
}

main ol {
  list-style: decimal;
}

ftr{
color: white;
  font-size: 10px;
  line-height: 11px;
  width: 180px;        /* <-- your fixed maximum */
  min-width: 0;           /* lets the flex child actually shrink */
  overflow: hidden; 
  white-space: normal;
  text-overflow: ellipsis;
  box-sizing: border-box;
}


* {
  scroll-behavior: smooth;
}

:root {
  --bw-target: 100%;
  --nav-height: 64px;
  --content-width: 60%;
}

h1[id],
h2[id],
h3[id],
section[id],
[data-anchor-offset] {
  scroll-margin-top: calc(var(--nav-height) + 24px);
}
/*
.bw-heading {
  color: #ffffff;
  transition: background 0.6s ease;
}
*/
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .bw-heading {
    background: linear-gradient(
      to right,
      #ffffff 0%,
      #ffffff var(--bw-target),
      #ffffff var(--bw-target),
      #fff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: 000;
  }
}

/* Menu code starts here */

#menuToggle
{
  display: block;
  /* You can also use relative/absolute here if you want to stay on the top */
  position: fixed !important; /* override sticky */
  /*top: 2rem;*/
  left: 2rem;
  z-index: 1001;              /* above nav */
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: white;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: tomato;
}


#menuToggle input
{
 display: block;
  width: 50px;
  height: 50px;
  position: absolute; /* overlay instead of moving things */
  top: 0;  /* position over the hamburger */
  left: 0;
  
  cursor: pointer;
  
  opacity: 0; /* hide input but keep it clickable */
  z-index: 2; /* sits above the hamburger icon */
  
  -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #FFF;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}

/*
 * Transform all the slices of hamburger
 * into a crossmark.
 */
#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #FFD700;
}

/*
 * But let's hide the middle one.
 */
#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */
#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top left of the screen
 */
#menu
{
  /*position: absolute;
  max-width: 400px;
  width: 100vw;
  max-height: 100vh;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  box-sizing: border-box;
  overflow-y: auto;
  background: #000000;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;*/
  /* to stop flickering of text in safari */
  
  position: fixed;
    inset: 0;             /* shorthand for top:0; right:0; bottom:0; left:0; */
    box-sizing: border-box;
    margin: 0px 0px 0px 0px;
    padding: 100px;
    overflow-y: auto;
    background: #000;
    list-style: none;
    -webkit-font-smoothing: antialiased;
    
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
  padding: 10px 0;
  font-size: 22px;
}

#menu li label
{
  cursor: pointer;
}

/*
 * And let's slide it in from the left
 */

#menuToggle input:checked ~ ul
{
  transform: none;
}


#logo {
	/*padding-top: 20px; */
	display: block;
  	margin: auto;
	max-height: 50px;
	height:100%;
 	width:auto;
}
canvas {
	
}

:root {
  --primary-clr: rgb(83, 83, 83);
}


#nokey {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1; /* ensure it’s behind everything else */
}

@keyframes slidein {
  0%,
  100% {
    background-position: 20% 0%;
    background-size: 3400px;
  }
  50% {
    background-position: 100% 0%;
    background-size: 2400px;
  }
}

.album-cover {
  width: 90%;
}

.swiper {
  width: 100%;
  padding: 40px 0 100px;
}
/*
.swiper {
  width: 100vw;   
  max-width: none;
  margin-left: calc(-50vw + 50%); 
  padding: 40px 0 100px;
  overflow: visible; 
}
*/
/*
.swiper-slide {
  position: relative;
  max-width: 200px;
  aspect-ratio: 1/1;
  border-radius: 10px;
}
*/
.swiper-slide {
  position: relative;
  max-width: 200px;
  aspect-ratio: 1/1;
  border-radius: 10px;
}

.swiper-slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  -webkit-box-reflect: below -5px linear-gradient(transparent, transparent, rgba(0, 0, 0, 0.4));
  pointer-events: none;
  user-select: none;
}

.swiper-slide-active .overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 22, 37, 0.6);
  border-radius: inherit;
  opacity: 0;
  transition: all 0.4s linear;
}

.swiper-slide:hover .overlay {
  opacity: 1;
}

.swiper-slide .overlay ion-icon {
  opacity: 0;
}

.swiper-slide-active:hover .overlay ion-icon {
  font-size: 4rem;
  color: #eb0b0b;
  opacity: 1;
  cursor: pointer;
}

/* Music Player */

.music-player {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--primary-clr);
  width: 100%;
  max-width: 380px;
  padding: 10px 30px;
  border-radius: 20px;
  padding: 10px 20px; /* reduce padding on small screens */
  margin: 0 auto;     /* center it */
}

.music-player h1 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.6;
}

.music-player p {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.6;
}


/* Music Player Progress */

#progress {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 7px;
  background: rgba(163, 162, 164, 0.4);
  border-radius: 4px;
  margin: 32px 0 24px;
  cursor: pointer;
}

#progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(163, 162, 164, 0.9);
  width: 16px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  outline: 4px solid var(--primary-clr);
  box-shadow: 0 6px 10px rgba(5, 36, 28, 0.3);
}
/*
#volume-range {
  display: flex;
  align-items: center;
  gap: 10px;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 7px;
  background: rgba(163, 162, 164, 0.4);
  border-radius: 4px;
  margin: 32px 0 24px;
  cursor: pointer;
}
*/
#volume-range {
  flex: 1; /* take remaining space next to the icon */
  appearance: none;
  -webkit-appearance: none;
  height: 7px;
  background: rgba(163, 162, 164, 0.4);
  border-radius: 4px;
  cursor: pointer;
}
/*
#volume-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(163, 162, 164, 0.9);
  width: 16px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  outline: 4px solid var(--primary-clr);
  box-shadow: 0 6px 10px rgba(5, 36, 28, 0.3);
}
*/
#volume-range::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(163, 162, 164, 0.9);
  width: 16px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  outline: 4px solid var(--primary-clr);
  box-shadow: 0 6px 10px rgba(5, 36, 28, 0.3);
}
/* Music Player Controls */

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

.controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  aspect-ratio: 1/1;
  margin: 20px;
  background: rgba(163, 162, 164, 0.3);
  color: var(--primary-clr);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  outline: 0;
  font-size: 1.1rem;
  box-shadow: 0 10px 20px rgba(5, 36, 28, 0.3);
  cursor: pointer;
  transition: all 0.3s linear;
}

.controls button:is(:hover, :focus-visible) {
  transform: scale(0.96);
}

.controls button:nth-child(2) {
  transform: scale(1.3);
}

.controls button:nth-child(2):is(:hover, :focus-visible) {
  transform: scale(1.25);
}

/* Wrapper for icon + slider */
.volume {
  display: flex;
  align-items: center;
  gap: 10px;          /* spacing between icon and slider */
  margin: 16px 0;     /* adjust spacing from other controls */
  width: 100%;        /* slider takes the full width */
}

.volume i {
  font-size: 20px;
  color: var(--primary-clr);
}
/* Header ANIM*/
//failover for firefox which applies the final state of the animation for some reason.
//updated for hue interpolation changes.
//wonder if there are other things that can be updated here now
@supports(animation-timeline: view()){
  @keyframes fade-out {
    to {
      background-size: 150%;
      opacity: 0;
    }
  }
  @keyframes zoom-out {
    to {
      font-size: 2rem;
      padding-left: .1em;
    }
  }
  @keyframes appear {
    to {
      opacity: 1;
    }
  }
  @keyframes max-out {
    to {
      max-width: 100%;
    }
  }
  .hero {
    animation: fade-out linear both;
    animation-timeline: view();
    animation-range: exit -100px;
    
  }

  nav {
    
  position: sticky; /* keeps nav visible while scrolling */
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: #000;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 1rem 1rem;
  overflow-y: auto; /* allow nav to scroll if content is tall */
  box-sizing: border-box;
    animation: max-out linear both;
    animation-timeline: view();
    animation-range-start: 80vh;
    animation-range-end: 100vh;
  }
  nav:after {
  content: '';           /* required for it to render */
  position: absolute;    /* place relative to nav, not viewport */
  left: 0;
  bottom: 0;
  width: 100%;           /* now 100% of nav, not screen */
  height: .05em;
  opacity: 0;
    animation: appear linear both;
    animation-timeline: view();
    animation-range-start: 60vh;
    animation-range-end: 100vh;
  }
  .logo {
    animation: zoom-out linear both;
    animation-timeline: view();
    animation-range-start: 10vh;
    animation-range-end: 100vh;
  }
}
@supports(not(animation-timeline: view())) {
  .notice:after {
    content: ' animation-timeline of scroll and view are currently not supported in your browser.';
  }
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..700&display=swap');

.hero, nav, main {
  max-width: 100%; /*75ch*/
  /*margin: 0 auto;*/
  /*padding-inline: 1em;*/
}
h1, h2, h3 {
  text-wrap: balance;
  /*line-height: .8; */
}
p {
  text-wrap: pretty;
  line-height: 1.5;
}
/*
nav ul {
  padding-right: 0px;
  margin: 0;
  display: inline-flex;
  gap: 1rem;
  list-style: none;
}*/
nav ul {
  display: flex;
  flex-direction: column; /* stack items vertically */
  gap: 0.5rem;            /* space between links */
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: flex-start; /* align to left (or center if you prefer) */
}
nav ul li {
  list-style: none;
  display: inline-block;
  cursor: pointer;
  transition: .5s linear;
}

nav ul li:hover {
  text-decoration: underline #5EB0E5;
}

.hero .btn {
  display: inline;
  position: relative;
  padding: .5em 1em;
  cursor: pointer;
}

.hero .btn::before,
.hero .btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(40deg in hsl longer hue, hsl(0, 100%, 70%), hsl(360, 100%, 70%));
  z-index: -1;
  clip-path: polygon(90% 0, 100% 50%, 90% 99%, 0% 100%, 8% 50%, 0% 0%);
}

.hero .btn::after {
  background: #1f2020;
  inset: 3px;
}
       
nav:after {
  content: '';
  position: absolute;
  opacity: 0;
  height: .05em;
  width: 100%;
  bottom: 0;
  background: //fallback
    linear-gradient(90deg,
        hsl(0, 100%, 70%),
        hsl(30, 100%, 70%),
        hsl(60, 100%, 70%),
        hsl(90, 100%, 70%),
        hsl(120, 100%, 70%),
        hsl(150, 100%, 70%),
        hsl(180, 100%, 70%),
        hsl(210, 100%, 70%),
        hsl(240, 100%, 70%),
        hsl(270, 100%, 70%),
        hsl(300, 100%, 70%),
        hsl(330, 100%, 70%),
        hsl(360, 100%, 70%)
      );
 // background: linear-gradient(in hsl longer hue 90deg, #f66 0 0);
  background: linear-gradient(40deg in hsl longer hue, hsl(0, 100%, 70%), hsl(0, 100%, 70%));
}
.logo {
  font-weight: 900;
  font-size: 10cqi;
  background: //fallback
      linear-gradient(45deg,
          hsl(0, 100%, 70%),
          hsl(30, 100%, 70%),
          hsl(60, 100%, 70%),
          hsl(90, 100%, 70%),
          hsl(120, 100%, 70%),
          hsl(150, 100%, 70%),
          hsl(180, 100%, 70%),
          hsl(210, 100%, 70%),
          hsl(240, 100%, 70%),
          hsl(270, 100%, 70%),
          hsl(300, 100%, 70%),
          hsl(330, 100%, 70%),
          hsl(360, 100%, 70%)
        );
  //background: linear-gradient(in hsl longer hue 90deg, #f66 0 0);
  background: linear-gradient(40deg in hsl longer hue, hsl(0, 100%, 70%), hsl(360, 100%, 70%));
  background-clip: text;
  color: #000;
}
.hero h1 {
  font-size: clamp(2rem, 7cqi, 10rem);
  font-weight: 100;
  max-width: 50%;
  color: hsl(290 85% 75%);
}
/* Navbar container */
nav {
  position: fixed;     /* pin to viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;        /* or 80px if you want it taller */
  background: #000;
  z-index: 2000;       /* higher than menu/background */
  display: flex;
  justify-content: center;
  align-items: center;
overflow-x: hidden;
}

/* Logo inside nav */
nav #logo {
  height: 40px;
  width: auto;
  display: block;
}

/* DEBUG 
* {
  outline: 1px solid red;
}*/

/* Fashion lookbook slider */

.fashion-lookbook {
  margin: 40px auto 0;
  display: grid;
  gap: 28px;
  --look-accent: rgba(255, 215, 0, 0.85);
  --look-accent-solid: #ffd700;
  --look-accent-soft: rgba(255, 0, 0, 0.12);
  --look-accent-strong: rgba(255, 215, 0, 0.45);
  max-width: 400px;
}

.lookbook-stage {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  width: 100%;
  min-height: 360px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  isolation: isolate;
}

.lookbook-stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.lookbook-stage__canvas canvas {
  width: 100%;
  height: 100%;
  display: block;
  transform: scale(1.02);
  transition: transform 600ms ease;
}

.lookbook-stage__source {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.lookbook-stage__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 600ms ease, opacity 300ms ease;
  z-index: 0;
}

.fashion-lookbook.is-transitioning .lookbook-stage__fallback {
  transform: scale(1.06);
}

.fashion-lookbook.is-transitioning .lookbook-stage.has-webgl canvas {
  transform: scale(1.06);
}

.lookbook-stage.has-webgl canvas {
  transform: scale(1.02);
}

.lookbook-stage.has-webgl .lookbook-stage__fallback {
  opacity: 0;
  visibility: hidden;
}

.lookbook-stage__info {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 28px 32px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 35%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
}

.lookbook-stage__label {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--look-accent);
}

.lookbook-stage__title {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 600;
}

.lookbook-stage__description {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.lookbook-stage__counter {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  z-index: 1;
}

.lookbook-preview {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) rgba(255, 255, 255, 0.08);
}

.lookbook-preview::-webkit-scrollbar {
  height: 6px;
}

.lookbook-preview::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.lookbook-preview::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.4);
  border-radius: 999px;
}

.lookbook-preview__item {
  flex: 0 0 120px;
  aspect-ratio: 3 / 4;
  border: none;
  border-radius: 18px;
  background-image: var(--preview-image, linear-gradient(135deg, #111, #333));
  background-size: cover;
  background-position: center;
  position: relative;
  cursor: pointer;
  transition: transform 260ms ease, box-shadow 260ms ease, opacity 260ms ease;
  box-shadow: 0 14px 22px rgba(0, 0, 0, 0.35);
  opacity: 0.6;
}

.lookbook-preview__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.85) 100%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.lookbook-preview__item:hover,
.lookbook-preview__item:focus-visible {
  transform: translateY(-6px);
  opacity: 0.85;
  outline: none;
}

.lookbook-preview__item.is-active {
  transform: translateY(-10px) scale(1.04);
  opacity: 1;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.55);
}

.lookbook-preview__item.is-active::after {
  opacity: 1;
}

.lookbook-preview__item span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: 12px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  z-index: 1;
}

.lookbook-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lookbook-nav {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  width: 46px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease;
}

.lookbook-nav:hover,
.lookbook-nav:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
  outline: none;
}

.lookbook-progress {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.22);
  height: 6px;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
}

.lookbook-progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--look-accent-solid);
  box-shadow: 0 0 0 4px var(--look-accent-soft);
  border: none;
}

.lookbook-progress::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--look-accent-solid);
  box-shadow: 0 0 0 4px var(--look-accent-soft);
  border: none;
}

.lookbook-progress:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--look-accent-strong);
}

.lookbook-noscript {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.lookbook-noscript a {
  color: #ffd700;
}


@media (max-width: 800px) {
	footer {
    width: 80%;
  }
	main {
        width: 80%;
      }
  .lookbook-stage {
    min-height: 320px;
  }

  .lookbook-stage__title {
    font-size: 22px;
  }

  .lookbook-preview {
    gap: 12px;
  }

  .lookbook-preview__item {
    flex: 0 0 100px;
  }
	@supports (animation-timeline: view()) {
    nav { animation: none !important; }
  }
}


body.inverted {
  background: none !important; /* or transparent / #fff / #000 as you prefer */
}

body.inverted > *:not(nav) {
  filter: invert(1) hue-rotate(180deg);

}

/* Keep images/videos correct inside the inverted area */
body.inverted > *:not(nav) img,
body.inverted > *:not(nav) video {
  filter: invert(1) hue-rotate(180deg);
}


/*portfolio*/

:root {
  --gap: 1.25rem;
  --speed: 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --closed: 5rem;
  --open: 30rem;
  --accent: #ff6b35;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/*
body {
  background: #07090d;
  color: #c5c7ce;
}
*/
.head {
  max-width: 1400px;
  margin: auto;
  padding: 70px 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
}
.head h2 {
  font: 400 1.5rem/1.2 Inter, sans-serif;
  color: #fff;
}
@media (min-width: 1024px) {
  .head h2 {
    font-size: 2.25rem;
  }
}
.nav-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
}
.nav-btn:hover {
  background: var(--accent);
}
.nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.slider {
  max-width: 1400px;
  margin: auto;
  overflow: hidden;
}

.controls {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}
.track {
  display: flex;
  gap: var(--gap);
  align-items: flex-start;
  justify-content: center;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 40px;
}
.track::-webkit-scrollbar {
  display: none;
}

.project-card {
  position: relative;
  flex: 0 0 var(--closed);
  height: 26rem;
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  transition: flex-basis var(--speed), transform var(--speed);
}
.project-card[active] {
  flex-basis: var(--open);
  transform: translateY(-6px);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}
.project-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(75%);
  transition: filter 0.3s, transform var(--speed);
}
.project-card:hover .project-card__bg {
  filter: brightness(0.9) saturate(100%);
  transform: scale(1.06);
}

.project-card__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  padding: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 2;
}
.project-card__title {
  color: #fff;
  font-weight: 700;
  font-size: 1.35rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.project-card__thumb,
.project-card__desc,
.project-card__btn {
  display: none;
}

.project-card[active] .project-card__content {
  flex-direction: row;
  align-items: center;
  padding: 1.2rem 2rem;
  gap: 1.1rem;
}
.project-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.project-card[active] .project-card__text {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  margin-right: auto;
  color: #101220;
}

.project-card[active] .project-card__title {
  writing-mode: horizontal-tb;
  transform: none;
  font-size: 2.4rem;
  margin: 0;
  color: inherit;
}

.project-card[active] .project-card__thumb {
  display: block;
}

.project-card[active] .project-card__desc {
  display: block;
  margin: 0;
  color: inherit;
}

.project-card__thumb {
  width: 133px;
  height: 269px;
  border-radius: 0.45rem;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.project-card__desc {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.4;
  max-width: 16rem;
}
.project-card__btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 9999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  margin-top: 0.6rem;
}

.project-card[active] .project-card__btn {
  display: inline-flex;
}
.project-card__btn:hover {
  background: #ff824f;
}

.dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 20px 0;
}
.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 0.3s;
}
.dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

@media (max-width: 767px) {
  :root {
    --closed: 4rem;
    --open: 22rem;
  }
  .head {
    padding: 50px 20px 30px;
  }
  .track {
    flex-direction: column;
    scroll-snap-type: y mandatory;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 0;
  }
  .project-card {
    height: 20rem;
  }
  .project-card__title {
    font-size: 1.1rem;
    writing-mode: horizontal-tb;
    transform: none;
    text-align: center;
    padding-inline: 0.3rem;
  }
  .nav-btn {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }
}
@media (max-width: 767px) {
  :root {
    --closed: 100%;
    --open: 100%;
    --gap: 0.8rem;
  }

  #spinnball-section,
  #spinnball-wrapper,
  #spinnball-canvas {
    height: 100 !important;
    min-height: 100vh !important;
    width: 100vw !important;
    position: relative;
  }

  .project-card__thumb {
    display: none !important;
  }

  .head {
    padding: 30px 15px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .slider {
    padding: 0 15px;
  }

  .track {
    flex-direction: column;
    scroll-snap-type: y mandatory;
    gap: 0.8rem;
    padding-bottom: 20px;
  }

  .project-card {
    height: auto;
    min-height: 80px;
    flex: 0 0 auto;
    width: 100%;
    scroll-snap-align: start;
  }

  .project-card[active] {
    min-height: 420px;
    transform: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }

  .project-card__content {
    flex-direction: row;
    justify-content: flex-start;
    padding: 1rem;
    align-items: center;
    gap: 1rem;
  }

  .project-card__title {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 1.2rem;
    margin-right: auto;
  }

  .project-card__thumb,
  .project-card__desc,
  .project-card__btn {
    display: none;
  }

  .project-card[active] .project-card__content {
    align-items: flex-start;
    padding: 1.5rem;
  }

  .project-card[active] .project-card__title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
  }

  .project-card[active] .project-card__thumb {
    max-width: 200px;
    height: 267px;
    border-radius: 0.35rem;
    margin-bottom: 1rem;
  }

  .project-card[active] .project-card__desc {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .project-card[active] .project-card__btn {
    align-self: center;
    width: 100%;
    text-align: center;
    padding: 0.7rem;
  }

  .dots {
    display: none;
  }

  .controls {
    width: 100%;
    justify-content: space-between;
    padding: 0 15px 20px;
  }

  .nav-btn {
    position: static;
    transform: none;
  }
}
.project-card__btn {
  margin-top: 0.4rem;
}
