/* GO ZERMATT — pixel-close recreation from MEDIA/SNAG-0000.png */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #000;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* —— Hero: grayscale → color on hover (same baked-in type, exact size/spacing) —— */
.hero {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #1a1a1a;
  cursor: default;
  outline: none;
  overflow: hidden;
}

.hero__img {
  width: 100%;
  height: auto;
  vertical-align: top;
  filter: grayscale(1);
  transition: filter 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateZ(0);
}

.hero:hover .hero__img,
.hero:focus-visible .hero__img {
  filter: grayscale(0);
}

.band {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #111;
}

.band__img {
  width: 100%;
  height: auto;
  vertical-align: top;
}

.site-footer__copy {
  background: #8c0000;
  color: #fff;
  padding: clamp(2.25rem, 5vw, 3.5rem) clamp(1.5rem, 8vw, 6.5rem);
  line-height: 1.55;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
}

.site-footer__copy p {
  margin: 0 0 1.15rem;
  max-width: 58rem;
}

.site-footer__copy p:last-child {
  margin-bottom: 0;
}

.site-footer__copy a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.band--footer-bar {
  background: #000;
}

/* Transparent hit targets over footer bar image text/icons */
.hit {
  position: absolute;
  display: block;
  z-index: 2;
}

.hit--cwd {
  left: 46%;
  top: 28%;
  width: 18%;
  height: 44%;
}

.hit--facebook {
  right: 3.2%;
  top: 18%;
  width: 2.6%;
  min-width: 28px;
  height: 64%;
}

/* Scroll reveal — subtle, keeps pixel art intact */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero__img {
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 640px) {
  .hit--cwd {
    left: 38%;
    width: 28%;
  }

  .hit--facebook {
    right: 2%;
    width: 8%;
    min-width: 36px;
  }
}
