* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  font-family: "PP Neue Montreal";
  /* background: radial-gradient(#FFFFFF, #E3E4E9); */
  /* background-image: url('images/bg_white.png');
  background-repeat: no-repeat; */
  /* background-attachment: fixed; */

  scroll-behavior: smooth;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
}

/* Import fonts */
@font-face {
  font-family: 'SolareItalic Medium';
  src: url('fonts/SolareItalic-Medium.otf') format('opentype');
  font-style: italic;
  font-weight: normal;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src: url('fonts/PPNeueMontreal-Regular.otf') format(opentype);
  font-style: normal;
  font-weight: normal;
}


img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/bg_white.png');
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.count-wrapper {
  position: relative;
  width: 180px;
  height: 360px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  will-change: transform;
}

.count {
  position: relative;
  width: 1080px;
  height: 360px;
  display: flex;
  justify-content: space-between;
  transform: translateX(-1080px);
  will-change: transform;
}

.digit {
  position: relative;
  width: 180px;
  height: 360px;
}

.digit h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, rgba(249,186,151,1) 0%, rgba(248,124,156,1) 35%, rgba(249,186,151,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: max-content;
  font-size: 360px;
  font-weight: lighter;
  line-height: 1;
}

.revealer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.site-info-left {
  top: 15em;
  left: 10em;
}

.site-info-right {
  top: 20em;
  right: 10em;
}

.site-info {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 0.125em;
}

.line {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  height: 18px;
}

.line p {
  position: relative;
  font-family: "PP Neue Montreal";
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.125px;
  opacity: 0.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translateY(18px);
  will-change: transform;
}

.toggle-btn {
  position: absolute;
  top: 2em;
  right: 2em;
  width: 60px;
  height: 50px;
  border: none;
  transform: scale(0);
  cursor: pointer;
  font-family: "PP Neue Montreal";
}


.header {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1em;
  width: 100vw;
  text-align: center;
  transform-style: preserve-3d;
  perspective: 2000px;
  z-index: 10;
}
/* 
.header h1 {
  position: relative;
  font-family: "SolareItalic Medium";
  background: linear-gradient(90deg, rgba(249,186,151,1) 0%,rgba(248,124,156,1) 35%, rgba(248,124,156,1) 35%, rgba(249,186,151,1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, rgba(249,186,151,1), rgba(248,124,156,1));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.05));
  font-size: 20vw;
  font-weight: lighter;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transform: rotateY(60deg);
  transform-origin: bottom left;
  will-change: transform;
  opacity: 0;
  z-index: 11;
  margin: 0 auto;
  filter: drop-shadow(5px 5px 2px #9A9A9A);
} */

.header {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1em;
  width: 100vw;
  text-align: center;
  transform-style: preserve-3d;
  perspective: 2000px;
  z-index: 10;
}


.header h1 {
  position: relative;
  font-family: "SolareItalic Medium";
  font-size: 20vw;
  font-weight: lighter;
  letter-spacing: -0.02em;
  line-height: 1.5;
  transform: rotateY(60deg);
  transform-origin: bottom left;
  will-change: transform;
  opacity: 0;
  z-index: 11;
  margin: 0 auto;

  background: linear-gradient(90deg, rgba(249,186,151,1), rgba(248,124,156,1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.05));
}

/* ✨ Glass reflection/refraction overlay */
.header h1::before {
  content: "DenyM.C.";
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: -1;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  transform: rotateY(60deg);
  background: linear-gradient(90deg, rgba(249,186,151,0.4), rgba(248,124,156,0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(4px) brightness(1.9);
  opacity: 0.5;
  pointer-events: none;
}




 /* .womanGlass {
  position: relative;
  bottom: 0;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
  transform: rotate(5deg);
  opacity: 0; 
  pointer-events: none;
  filter: drop-shadow(50px 30px 20px #E3E4E9);

} */


/* Liquid button */
.all-projects,
.shiny-button {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.all-projects {
  width: 240px;
  height: 60px;
  font-weight: normal;
  background: none;
  border: none;
  color: #000;
  position: absolute;
  left: 2em;
  overflow: hidden;
  cursor: pointer;
  z-index: 11111111;
}

.shiny-button {
  width: 240px;
  height: 60px;
  font-weight: bold;
  background: none;
  border: none;
  color: #000;
  position: absolute;
  overflow: hidden;
  cursor: pointer;
  z-index: 11111111;
}

.text-shine {
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, #ffffff 0%, #000 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: none;
}

/* .text-shine {
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, #ffffff 0%, #000 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
} */



.btn-liquid {
  /* display: inline-block; */
  position: absolute;
  width: 240px;
  height: 60px;
  border-radius: 27px;
  color: black;
  font: 700 14px/60px "PP Neue Montreal";
  letter-spacing: 0.05em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-liquid .inner {
  position: relative;
  z-index: 2;
}

/* .btn-liquid canvas {
  position: absolute;
  top: -50px;
  right: -50px;
  bottom: -50px;
  left: -50px;

  z-index: 1;
} */

.womanGlass {
  position: relative;
  display: inline-block;
  width: 100%;
  opacity: 0;
  max-width: 500px;
  margin: 0 auto;
  transform: rotate(5deg);
  pointer-events: auto;
}

.womanGlass img {
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
}

#womanCanvas, #glassCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: auto; /* <-- ✨ Set this to none so it doesn't block hover */
}

.container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: flex-end; /* or center if you want vertical centering */
}




/* Section 2 ----------------------------- */

section, #section2 div {
  width: 100vw;
  height: 100vh;
  scroll-snap-align: start;

}


#section2 div{
  text-align: center;
  display: flex;
  justify-content: center;  /* centers horizontally */
  align-items: center;      /* centers vertically */
}


#section2 h1{
    width: 80%;
  font-size: 60px;
  font-weight: normal;
  line-height: 1.5;
  text-transform: uppercase;
  color: #1A1A1A;
}



#section3 {
  position: relative;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
}

.three-container canvas {
  width: 100%;
  height: 100%;
  display: block;
}


/* Page transition */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 9999;
  pointer-events: none;
  opacity: 1; /* Start fully visible so it fades out */
  transition: opacity 0.4s ease;
}




/* START EXPERIENCE PAGE STYLE ----------------------------------*/


#section1, #section4 {
  display: flex;
  justify-content: center; /* centers horizontally */
  align-items: center;     /* centers vertically */
  height: 100vh;           /* full viewport height */
  width: 100vw;            /* full viewport width */
  text-align: center;
  padding: 2rem;
}
.text {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 800px;
}


/* 3D section2 */
.crystal-label {
  position: absolute;
  bottom: 0%;
  right: 0%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3em;
  pointer-events: none;
  text-align: right;
  /* filter: drop-shadow(0 0 4px rgba(255, 1, 65, 0.3)); */
}

.crystal-label .date,
.crystal-label .cta {
  font-family: "PP Neue Montreal", monospace;
  color: #000;
  font-size: 18px;
  /* text-shadow: 0 0 5px rgba(0, 0, 0, 0.1); */
}

.crystal-label .cta {
  font-size: 18px;
  font-weight: bold;
  opacity: 1;
}

.defined{
  text-align: center;
  position: absolute;
  color: #000;
  z-index: 1111;
  font-size: 18px;
}


.model2 {
  width: 100%;
  height: 100%;
  position: relative;
}

.model2 canvas {
  width: 100%;
  height: 100%;
  display: block;
}


#section2, #section3 {
  width: 100vw;
  height: 100vh;
  position: relative;
}



.model3 {
  width: 100%;
  height: 100vh;
  position: relative;
  
}

.model3 canvas {
  width: 100%;
  height: 100%;
  display: block;
}


.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}


/* Section4 */
.crystalText span{
  color: #F37F9C;
  font-weight: 500;
}




/* Your existing background stays here */
.bg-wrapper {
  position: relative;
  background-image: url('images/bg_white.png'); /* your current background */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
}

.bg-impulse-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mix-blend-mode: screen;
}

/* Single pulse effect */
.bg-pulse {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(71, 105, 125, 1) 0%, transparent 60%);
  border-radius: 50%;
  transform: scale(0.5);
  opacity: 0;
  pointer-events: none;
  filter: blur(40px);
}



/* Optional: smoother transition on scroll */
body.footer-visible {
  background: black;
}

.footer-contact {
  position: relative;
  z-index: 200;
  height: 100vh;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
  pointer-events: none;
  background: transparent; /* Important: don't bring black here */
}

.footer-contact.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}


.footer-content {
  text-align: center;
}

.footer-email {
  font-size: 2rem;
  font-family: 'Solare Regular', serif;
  margin-bottom: 2rem;
}

.footer-address {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 3rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  height: 100px;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  pointer-events: none;
  z-index: 2;
}



.background-fader {
  background-color: black;
  opacity: 0;
  z-index: 100;
  transition: opacity 2s ease-in-out;
}
body.footer-visible .background-fader {
  opacity: 1;
}

body.footer-visible {
  background: black;
}


.background-fader::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9), black);
  pointer-events: none;
}
.footer-trigger {
  position: relative;
  height: 100vh;
  z-index: 100;
}

#end-marker {
  height: 1px;
}


