:root {
  --paper: #ffffff;
  --title: #151515;
  --body: #111111;
  --line: rgba(21, 21, 21, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
}

body {
  min-width: 320px;
  color: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  width: 100%;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: clamp(8px, 1.4vh, 18px) 0 clamp(22px, 3vh, 34px);
}

.hero {
  width: 100%;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: hidden;
}

.hero picture {
  display: block;
}

.hero-image {
  display: block;
  width: min(92vw, 1200px);
  height: auto;
  max-height: min(58vh, 690px);
  object-fit: contain;
  object-position: center top;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: 50% 20%;
  animation: slowZoom 28s ease-in-out infinite alternate;
}

.notice {
  width: min(760px, 84vw);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: clamp(34px, 5vh, 58px);
}

.language {
  width: 100%;
  max-width: 720px;
}

.language h1,
.language h2 {
  margin: 0;
  color: var(--title);
  font-family: "Cormorant Garamond", Didot, "Bodoni MT", Georgia, serif;
  font-size: clamp(1.45rem, 2.7vmin, 2.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.language p {
  margin: 10px auto 0;
  max-width: 640px;
  color: var(--body);
  font-family: Manrope, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(0.86rem, 1.45vmin, 0.98rem);
  font-weight: 400;
  line-height: 1.56;
}

.language .return-date {
  margin-top: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.rule {
  width: 72px;
  height: 1px;
  margin: clamp(18px, 2.8vh, 28px) 0;
  background: var(--line);
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.035);
  }
}

@media (max-width: 700px) {
  .page {
    padding-top: 6px;
    padding-bottom: 18px;
  }

  .hero-image {
    width: min(98vw, 760px);
    max-height: 47vh;
  }

  .notice {
    width: 90vw;
    padding-top: 26px;
  }

  .language h1,
  .language h2 {
    font-size: clamp(1.12rem, 5.2vw, 1.55rem);
  }

  .language p {
    font-size: clamp(0.74rem, 3vw, 0.88rem);
    line-height: 1.5;
  }

  .rule {
    margin: 16px 0;
  }
}

@media (max-height: 760px) {
  .hero-image {
    width: min(90vw, 1080px);
    max-height: 50vh;
  }

  .notice {
    padding-top: 24px;
  }

  .language h1,
  .language h2 {
    font-size: clamp(1.2rem, 2.5vmin, 1.8rem);
  }

  .language p {
    font-size: clamp(0.74rem, 1.28vmin, 0.86rem);
    line-height: 1.42;
  }

  .rule {
    margin: 14px 0;
  }
}

@media (max-width: 420px), (max-height: 660px) {
  .hero-image {
    width: min(102vw, 760px);
    max-height: 43vh;
  }

  .notice {
    width: 92vw;
    padding-top: 20px;
  }

  .language h1,
  .language h2 {
    font-size: clamp(0.98rem, 4.8vw, 1.28rem);
  }

  .language p {
    margin-top: 8px;
    font-size: clamp(0.66rem, 2.65vw, 0.75rem);
    line-height: 1.34;
  }

  .rule {
    width: 56px;
    margin: 12px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image {
    animation: none;
  }
}
