:root{
  --bg: #ffffff;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  background: var(--bg);
}

/* ---------- corner label ---------- */

.corner-label{
  position: absolute;
  top: 28px;
  left: 32px;
  z-index: 10;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #000;
  text-decoration: none;
}

/* ---------- intro ---------- */

.intro{
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.intro::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #EBC4D8;
  background-image: url('../../intro.jpg');
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.2);
  transform-origin: center bottom;
}

.intro .corner-label{
  color: #fff;
}

.intro-arrow-wrap{
  position: absolute;
  left: 50%;
  bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 1;
}

.intro-arrow{
  color: #fff;
  transform: rotate(90deg);
  animation: intro-bounce 1.8s ease-in-out infinite;
}

@keyframes intro-bounce{
  0%, 100% { transform: rotate(90deg) translateX(0); }
  50% { transform: rotate(90deg) translateX(5px); }
}

/* ---------- horizontal scroll track ---------- */

.hscroll-track{
  position: relative;
  background-color: #FCFCFB;
}

.hscroll-sticky{
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hscroll-row{
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 10vw;
  will-change: transform;
}

.hscroll-item{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;
}

.hscroll-item img{
  display: block;
  height: auto;
  width: auto;
  max-height: 51.84vh;
  max-width: 90vw;
}

.hscroll-caption{
  margin-top: 10px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
}

/* ---------- outro ---------- */

.outro{
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(40, 40, 40);
}

.outro .corner-label{
  color: #fff;
}

.outro-link{
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.outro-book{
  display: block;
  width: 48vw;
  height: auto;
}

.outro-footer{
  position: absolute;
  bottom: 28px;
  left: 32px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

.corner-label-arrow{
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  margin-top: -3px;
  color: currentColor;
}

@media (max-width: 1080px){
  .outro-link{
    width: 75%;
  }
  .outro-book{
    width: 100%;
  }
}

@media (max-width: 560px){
  .hscroll-item img{
    max-height: 38.88vh;
  }
  .hscroll-row{
    gap: 28px;
    padding: 0 6vw;
  }
}
