body {
  margin: 0;
  background: #fff;
  font-family: Helvetica, Arial, sans-serif;
  color: #222;
}

.container {
  width: 100%;
  text-align: center;
}

.slider-wrap {
  width: 860px;
  margin: 140px auto 0 auto;
  position: relative;
}

.slider {
  width: 860px;
  height: 520px;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide.active {
  display: block;
}

.slide-inner {
  width: 100%;
  height: auto;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* media */
.main-media {
  height: 60vh;
  max-height: 520px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.15);
  transform-origin: center;
}

.image-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px; /* A slightly wider gap looks better on desktop */
  width: 100%;
  max-width: 860px; /* Matches your desktop slider width */
  margin: 0 auto;
}

.image-row img {
  max-width: 31%; /* Ensures all 3 fit nicely side-by-side */
  height: auto;
  max-height: 520px; /* Matches your desktop .main-media constraint */
  object-fit: contain;
}

/* captions */
.caption {
  display: block;
  margin-top: 45px;
  font-size: 12px;
  color: #9a9a9a;
  font-family: "Courier New", Courier, monospace;
  letter-spacing: 0.05em;
  font-weight: 400;
  text-align: center;
}

/* NAV */
.nav {
  width: 747px;
  margin: 75px auto 60px auto;
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  font-family: Helvetica, Arial, sans-serif;
}

.nav a {
  text-decoration: none;
  color: #222;
  font-size: 13px;
  font-weight: 400;
}

.nav a.active {
  font-weight: 600;
}

.nav a:hover {
  text-decoration: none;
}

/* SCROLLER BUTTONS — OPTION 2 */
.side-button {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  background: #000;
  border-radius: 50%;
  border: none;
  padding: 0;
  line-height: 0;
  z-index: 999;
  display: block;
}

.left-button {
  left: calc(50% - 490px);
}

.right-button {
  left: calc(50% + 490px);
}

/* VIDEO MUTE BUTTON */
video {
  cursor: pointer;
}

/* INFO PAGE */
.info-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-text {
  width: 699px;
  max-width: 90vw;
  margin: 300px auto 0 auto;
  text-align: center;
}

.info-text p {
  margin: 0 auto 20px auto;
  max-width: 690px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 400;
  font-family: Helvetica, Arial, sans-serif;
}

.info-text strong {
  font-weight: 600;
}

.info-text a {
  color: #222;
  text-decoration: underline;
}

.info-nav {
  width: 747px;
  margin: 268px auto 60px auto;
  display: flex;
  justify-content: flex-start;
  gap: 40px;
}

.custom-cursor {
  position: fixed;
  transition: width 0.15s ease, height 0.15s ease, transform 0.1s ease;
  width: 15px;
  height: 15px;
  background: #000;
  border-radius: 50%;
  pointer-events: none;
  /* 👇 offset so mouse is NOT in the center */
  transform: translate(-20%, -20%);
  z-index: 999999;
}

/* 👇 grow on hover */
.custom-cursor.hover {
  width: 20px;
  height: 20px;
}

html, body, * {
  cursor: none !important;
}


/* MOBILE CONTROLS */
@media only screen and (max-width: 768px) {

  /* 1. FORCE THE PAGE TO BE THE FULL HEIGHT OF THE PHONE */
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Prevents accidental bouncing/scrolling */
  }

  .container {
    height: 100dvh;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
.info-page {
    /* Force full height and centering, just like the slider */
    min-height: 100dvh !important;
    width: 100vw !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

.info-text {
    width: 85vw !important; 
    max-width: 100% !important;
    margin: 0 !important; /* Removes the 300px desktop top-margin */
    padding: 0 !important; /* Removes the padding-bottom that was pushing it up */
    text-align: center !important;
margin-top: -30px !important;
  }

.info-text p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 auto 15px auto !important; /* Centers the paragraph lines */
    max-width: 100% !important; /* Overrides the desktop 690px width */
  }

.nav, .info-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 75px !important; /* Strict height for consistency */
    background: #fff !important; 
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important; /* Same gap as photography page */
    margin: 0 !important;
    z-index: 99999;
  }

  /* 2. OVERRIDE DESKTOP MARGINS & SIZES */
  .slider-wrap, 
  .slider {
    width: 100vw !important;
    height: 100dvh !important; 
    margin: 0 !important; /* This kills that 140px desktop margin */
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

.nav a, .info-nav a {
    font-size: 12px !important;
    text-decoration: none !important;
    white-space: nowrap; /* Prevents names from breaking into two lines */
  }

  /* 3. FIX THE DISPLAY CONFLICT */
  .slide {
    display: none !important; /* Hide inactive slides */
    width: 100% !important;
    height: 100% !important;
  }

  /* When a slide is active, it MUST be flex to center content */
  .slide.active {
    display: flex !important; 
    align-items: center !important;
    justify-content: center !important;
  }

  .slide-inner {
    width: 90vw !important; 
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    /* Pushes content up slightly to leave room for the fixed nav */
    padding-bottom: 80px !important; 
    box-sizing: border-box !important;
  }

  /* 4. MEDIA SCALING */
  .main-media {
    max-width: 100% !important;
    max-height: 60dvh !important; 
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transform: scale(1) !important; /* Removes the 1.15 scale from desktop */
  }

  .caption {
    margin-top: 15px !important;
    font-size: 10px !important;
    text-align: center !important;
  }

  /* 5. IMAGE ROW (The 3-image slide) */
  .image-row {
    display: flex !important;
    flex-direction: row !important;
    gap: 5px !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .image-row img {
    max-width: 31% !important;
    height: auto !important;
  }

  /* 6. HIDE ELEMENTS */
 .side-button {
    display: none !important;
  }

  /* 7. NAVIGATION FIXED TO BOTTOM */
  .nav, .info-nav {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 70px !important;
    background: #fff !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 20px !important;
    z-index: 9999;
  }

  .nav a { font-size: 12px !important; }
}