/* Custom Font Definition */
@font-face {
  font-family: 'LayGrotesk';
  src: url('../wof/LayGrotesk-Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --dark: #242423;
  --light: #ffffff;
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

html, body {
  /* Standard 100vh works best with normalizeScroll(true) in JS */
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-color: white;
  font-family: 'LayGrotesk'; 
  font-size: 14px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2 {
  margin: 0;
  line-height: 1;
  font-family: 'LayGrotesk';
  font-weight: 400;
}

p { margin: 0; }

a {
	color: #000000;
    text-decoration: none;	
}

a:hover {
	color: #808080;
    text-decoration: none;	
}
	
.stage {
  position: relative;
  background: white;
  visibility: hidden;
}

/* ========================================================================== 
    Nav Header
    ========================================================================== */
.header {
  position: fixed;
  left: 40px;
  top: 24px;
  z-index: 100;
  display: flex;
  mix-blend-mode: difference;
  color: var(--light);
}
@media all and (max-width: 768px) {
  .header { display: block; left: 24px; }
}

.logo {
    position: fixed;
    left: -120px !important;
    top: -120px !important;
    scale: 0.35 !important;
    z-index:100;
}


/* ========================================================================== 
   Video Background Styles
   ========================================================================== */
.video-bg {
  position: absolute;
  top: -10vh;
  left: 0;
  width: 100%;
  height: 120vh;
  z-index: 0; 
  pointer-events: none;
  overflow: hidden;
}

.video-bg__el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.video-bg__el--desktop { display: block; }
.video-bg__el--mobile { display: none; }

@media all and (max-width: 768px) {
  .video-bg__el--desktop { display: none; }
  .video-bg__el--mobile { display: block; }
  .video-bg { top: 0; height: 100%; }
}

.video-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.2); 
  z-index: 1;
}

/* ========================================================================== 
    Intro & Footer
    ========================================================================== */
.intro, .footer {
  height: 100vh;
}

.intro {
  position: relative;
  padding: 5vw;
  overflow: hidden;
  color: var(--light);
}

.intro__content {
    position: absolute;
    right: 100px;
    bottom: 90px;
    z-index: 3;
    mix-blend-mode: difference;
    color: white;
}

@media (max-width: 768px) {
    .intro__content { right: 5vw; bottom: 15vh; }
}

.intro__title {
    font-size: 13vw;
    letter-spacing: -1.3vw;
    text-align: right;
    margin-top: -3vw;
    margin-bottom: -1vw;
}

.intro__subtitle {
	font-size: 2vw;
	letter-spacing: -0.2vw;
	mix-blend-mode: difference;
	color: var(--light);
    text-align: right;
	margin-right: -1vw;
}

@media (max-width: 768px) {
    .intro__subtitle { font-size: 4vw; }
}

.intro__txt {
    text-align: right;
	margin-right: 6vw;
}

/* Discover Button */
.discover-btn {
    left: 50% !important;
    bottom: 0 !important;
    transform: translateX(-50%);
    right: auto !important;
    z-index: 10;
}

/* ========================================================================== 
    Slides
    ========================================================================== */
.slide {
  display: flex;
  align-items: stretch;
  height: 100vh;
  overflow: hidden;
  color: var(--dark);
}

/* Desktop Alternating layout */
@media (min-width: 769px) {
    .slide:nth-of-type(odd) {
      background: #C4CDC4;
      flex-direction: row-reverse;
    }
}

/* MOBILE FIX 1: Inverse Sequence */
/* flex-direction: column puts Col 1 (Text) on TOP, Col 2 (Image) on BOTTOM */
@media (max-width: 768px) {
    .slide { flex-direction: column !important; }
}

.col { flex-basis: 50%; }

@media (max-width: 768px) {
    .col { flex-basis: auto; width: 100%; height: 50%; }
}

.col--1 { position: relative; z-index: 1; }
.col--2 { position: relative; overflow: hidden; }

/* ========================================================================== 
    Column Content
    ========================================================================== */
.col__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  height: 100%;
  padding: 6vw;
}

.col__content--1 { background: var(--light); }
.col__content--2 { background: var(--light); }
.col__content--3 { background: var(--light); }
.col__content--4 { background: var(--light); }
.col__content--5 { background: var(--light); }
.col__content--6 { background: var(--light); }
.col__content--7 { background: var(--light); }
.col__content--8 { background: var(--light); }

.col__content-title {
  margin: -1vw 0 0 0;
  font-size: 7vw;
  letter-spacing: -0.7vw;
  mix-blend-mode: difference;
  color: var(--dark);
}

@media all and (max-width: 768px) {
  .col__content-title { font-size: 14vw; letter-spacing: -1vw; }
}

.col__content-subtitle {
  margin: 0 -10px -2vw 0;
  font-size: 2vw;
  letter-spacing: -0.2vw;
  mix-blend-mode: difference;
  color: var(--dark);
}

@media all and (max-width: 768px) {
  .col__content-subtitle { margin: 0 0 0 0; font-size: 4vw; }
}

.col__content-wrap {
  display: flex;
  margin: 10px;
}

@media all and (max-width: 768px) {
  .col__content-wrap { margin: 0 0 10px 0; }
}

.col__content-txt {
  max-width: 15vw;
  order: 2;
  margin-left: 32px;
}

@media all and (max-width: 768px) {
  .col__content-txt {
    max-width: 100%; 
    margin: 0;
    /* Removed padding-bottom since button is gone */
    padding-bottom: 0px; 
    font-size: 10px;
  }
}

.slide__scroll-link {
  position: absolute;
  right: -50px;
  bottom: 0;
  background: var(--dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: var(--dark);
  font-size: 18px;
  color: white;
  text-decoration: none;
  font-family: 'LayGrotesk';
}

/* Flip link position for reversed slides (Desktop) */
.slide:nth-of-type(odd) .slide__scroll-link {
    right: auto;
    left: -50px;
}
.slide:nth-of-type(even) .slide__scroll-line {
    left: auto;
    right: 26px;
}

/* ========================================================================== 
   MOBILE BUTTONS
   ========================================================================== */
@media all and (max-width: 768px) {
  
  /* MOBILE FIX 2: REMOVE Next Buttons */
  /* We hide the default scroll links inside slides */
  .slide:not(.intro) .slide__scroll-link,
  .discover-btn {
      display: none !important;
  }

  /* Keep Discover and Top buttons visible and styled */
  
  .footer__link-top {
      width: 50px !important;
      height: 50px !important;
  }
}

/* ========================================================================== 
   Conditional Text Alignment
   ========================================================================== */
@media (min-width: 769px) {
    .slide:nth-of-type(even) .col__content { align-items: flex-end; text-align: right; }
    .slide:nth-of-type(even) .col__content-txt { margin-left: 0; margin-right: -10px; margin-bottom: 1.5vw; }

    .slide:nth-of-type(odd) .col__content { align-items: flex-start; text-align: left; }
    .slide:nth-of-type(odd) .col__content-txt { margin-left: 0; margin-right: 0; margin-bottom: 1.5vw; }
}

@media (max-width: 768px) {
    .col__content { align-items: flex-start !important; text-align: left !important; }
}

/* ========================================================================== 
    Column Image
    ========================================================================== */
.col__image-wrap {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100vh;
}

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

@media (max-width: 768px) {
	.img { width: 100%; height: 100%; }
    .col__image-wrap { height: 100%; position: relative; }
}

/* ========================================================================== 
    Footer
    ========================================================================== */
.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #cecece;
  position: relative;
}

.footer__link {
  font-size: 5vw;
  color: var(--dark);
  text-decoration: none;
  font-family: 'LayGrotesk';
}

.footer__link-top {
  position: absolute;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: var(--dark);
  font-size: 18px;
  color: white;
  text-decoration: none;
  font-family: 'LayGrotesk';
}

.footer__copyright {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
}