html {
  scroll-snap-type: y proximity;
}

/* ── Page ── */
/* body background removed to allow global texture */
.cl-page {
  width: 100%;
  overflow-x: hidden;
}

/* ════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════ */
.cl-hero {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  background: #0b0b09;
  display: flex;
  align-items: flex-end;
  scroll-snap-align: start;
}

/* All layers (base + hovers) stack exactly */
.cl-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Base is always visible */
.cl-layer-base {
  z-index: 1;
  opacity: 1;
}

/* Hover layers hidden by default */
.cl-layer-hover {
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.25, 1, 0.3, 1);
  pointer-events: none;
}

/* Active hover layer */
.cl-layer-hover.is-active {
  opacity: 1;
}

/* SVG hotspot overlay — sits ABOVE all images, intercepts mouse */
.cl-svg-trigger {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.cl-svg-trigger svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Make each hotspot path show pointer cursor */
.cl-hotspot {
  cursor: pointer;
}

/* Dark gradient at bottom for caption readability */
.cl-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to top, rgba(11, 11, 9, 0.85) 0%, transparent 100%);
  z-index: 5;
  pointer-events: none;
}

/* ── Caption ── */
.cl-hero-caption {
  position: relative;
  z-index: 6;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5vw 4vw;
  gap: 15px;
}

.cl-tag {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #dfa539;
  margin-bottom: 10px;
}

.cl-hero-title {
  font-size: clamp(2rem, 4.5vw, 5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  color: #fff;
  margin: 0;
}

.cl-hero-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  letter-spacing: 1px;
  text-align: center;
}

/* ── Scroll hint ── */
.cl-scroll-hint {
  position: absolute;
  right: 5vw;
  top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 6;
}

.cl-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, #dfa539, transparent);
  animation: clScrollLine 2s ease-in-out infinite;
}

.cl-scroll-hint span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  writing-mode: vertical-rl;
}

@keyframes clScrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ════════════════════════════════════════════════
   STATS
════════════════════════════════════════════════ */
.cl-stats {
  background: #111109;
  border-top: 1px solid rgba(223, 165, 57, 0.12);
  border-bottom: 1px solid rgba(223, 165, 57, 0.12);
  padding: 50px 5vw;
}

.cl-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.cl-stat-item {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.cl-stat-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 2px;
  line-height: 1;
}

.cl-stat-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: #dfa539;
  letter-spacing: -2px;
}

.cl-stat-suffix {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: #dfa539;
}

.cl-stat-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}

.cl-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(223, 165, 57, 0.2);
  flex-shrink: 0;
  margin: 0 30px;
}

/* ════════════════════════════════════════════════
   MARQUEE
════════════════════════════════════════════════ */
.cl-marquee-wrap {
  position: relative;
  z-index: 10;
  background: #7d5a44;
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
}

.cl-marquee-track {
  display: inline-flex;
  animation: clMarquee 22s linear infinite;
}

.cl-marquee-item {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgb(255 255 255 / 80%);
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.cl-marquee-dot {
  font-size: 7px;
  opacity: 0.45;
}

/* Services marquee: same strip, scrolls the opposite way */
.cl-marquee-wrap--services {
  border-top: 1px solid rgb(255 255 255 / 12%);
}

.cl-marquee-wrap--services .cl-marquee-track {
  animation-direction: reverse;
}

.cl-marquee-wrap--services:hover .cl-marquee-track {
  animation-play-state: paused;
}

@keyframes clMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
/* Phones: the 1920x840 wall can't be "cover"-cropped into a portrait
   viewport without slicing the edge logos, so the image becomes a fixed
   band tall enough to show the whole logo grid, and the caption moves
   below it instead of overlaying it. */
@media (max-width: 768px) {
  .cl-hero {
    position: relative;
    height: auto;
    max-height: none;
    aspect-ratio: auto;
    display: block;
    padding-bottom: 28px;
  }

  .cl-layer {
    height: 92vw;
    object-position: 47% center;
  }

  .cl-layer-base {
    position: relative;
  }

  .cl-svg-trigger {
    height: 92vw;
  }

  .cl-hero::after {
    display: none;
  }

  .cl-scroll-hint {
    display: none;
  }

  .cl-hero-caption {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px 20px 0;
    gap: 8px;
  }

  .cl-tag {
    margin-bottom: 4px;
    letter-spacing: 3px;
  }

  .cl-hero-title {
    font-size: 1.7rem;
    letter-spacing: -1px;
  }

  .cl-hero-sub {
    text-align: center;
  }

  .cl-marquee-item {
    font-size: 15px;
    padding: 0 14px;
    gap: 14px;
  }

  .cl-stat-divider {
    display: none;
  }

  .cl-stat-item {
    min-width: 40%;
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  .cl-hero-title {
    font-size: 1.5rem;
  }
}
