:root {
  --text: #ffffff;
  --muted: #ffffff;
  --link: #ffffff;
}

* {
  box-sizing: border-box;
  font-family: Arial, sans-serif !important;
}

html,
body {
  min-height: 100%;
  min-height: 100svh;
  background: #000;
}

body {
  position: relative;
  margin: 0;
  min-height: 100svh;
  padding: calc(24px + env(safe-area-inset-top, 0px)) calc(24px + env(safe-area-inset-right, 0px)) calc(72px + env(safe-area-inset-bottom, 0px)) calc(24px + env(safe-area-inset-left, 0px));
  color: var(--text);
  font-family: Arial, sans-serif !important;
  overflow-x: hidden;
  touch-action: manipulation;
}

.enter-screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: #000;
  z-index: 3000;
  overflow: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.enter-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.enter-content {
  text-align: center;
}

.enter-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: min(42vw, 420px);
  max-width: 70vw;
  margin: 0 auto;
}

.enter-image {
  display: block;
  width: min(42%, 126px);
  height: auto;
  margin-top: -70px;
  margin-left: -20px;
}

.enter-video {
  display: block;
  width: min(100%, 320px);
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

.password-form {
  width: 92px;
  margin: 12px auto 0;
  text-align: center;
}

.password-input {
  display: block;
  width: 100%;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 0;
  padding: 0 8px;
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  outline: none;
}

.password-input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.password-input:focus {
  border-color: #fff;
}

.password-error {
  min-height: 14px;
  margin: 6px 0 0;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.bg-mark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(72vw, 1200px);
  max-width: 92vw;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
li,
a,
button,
input,
textarea,
label {
  font-family: Arial, sans-serif !important;
}

.top {
  position: relative;
  max-width: 560px;
  z-index: 10;
  transition: opacity 0.45s ease;
}

.hero-title {
  margin: 0 0 14px;
  font-family: "Times New Roman", Georgia, serif !important;
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 0;
}

.hero-copy {
  margin: 0;
  font-family: "Times New Roman", Georgia, serif !important;
  color: #fff;
  font-size: 1rem;
  line-height: 1.28;
  max-width: 100%;
  white-space: pre;
}

.hero-copy-image {
  display: block;
  position: relative;
  left: 16px; /* increase this value to move it more right */
  width: 274px;
  max-width: none;
  height: auto;
  margin: 0 0 0 -22px;
}

.about-block {
  position: fixed;
  top: calc(24px + env(safe-area-inset-top, 0px));
  right: calc(24px + env(safe-area-inset-right, 0px));
  margin-top: 0;
  z-index: 20;
  text-align: right;
  transition: opacity 0.45s ease;
}

.about-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  letter-spacing: 0.08em;
}

.about-button.active {
  opacity: 0.7;
}

.about-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.45s ease;
}

.about-details.active {
  max-height: 180px;
  opacity: 1;
}

.about-details p {
  margin: 10px 0 0;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.35;
}

.about-details a,
.about-details a:visited,
.about-details a:hover,
.about-details a:active {
  color: #fff;
  text-decoration: none;
}

.lortep {
  position: relative;
  left: 18px;
}

.hover-section {
  position: fixed;
  left: calc(24px + env(safe-area-inset-left, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  margin: 0;
  max-width: none;
  z-index: 20;
  transition: opacity 0.45s ease;
}

.hover-list {
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: flex-start;
}

.hover-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: fit-content;
}

.hover-trigger {
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
  color: #fff;
  cursor: pointer;
  width: fit-content;
  user-select: none;
}

.music-link,
.music-link:visited,
.music-link:hover,
.music-link:active {
  color: #fff;
  text-decoration: none;
}

.press-section {
  position: fixed;
  right: 24px;
  bottom: 24px;
  margin: 0;
  z-index: 20;
  transition: opacity 0.45s ease;
}

.press-list {
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: flex-end;
}

.press-item {
  width: fit-content;
}

.press-trigger {
  display: inline-flex;
  align-items: center;
  font-size: 1.1rem;
  color: #fff;
  cursor: pointer;
  width: fit-content;
  user-select: none;
}

.center-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 100svh;
  width: auto;
  max-width: 100vw;
  overflow: hidden;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.center-preview video {
  height: 100%;
  width: auto;
  max-width: 100vw;
  max-height: 100%;
  display: block;
}

.center-preview.active {
  opacity: 1;
}

.image-preview {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(52vw, 760px);
  max-width: 82vw;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.image-preview img {
  width: 100%;
  display: block;
}

.image-preview.active {
  opacity: 1;
}

.site-footer {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: min(92vw, 760px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  line-height: 1.25;
  text-align: center;
  z-index: 25;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.site-credit,
.site-watermark {
  margin: 0;
}

body.video-focus .bg-video,
body.video-focus .top,
body.video-focus .press-section,
body.video-focus .site-footer {
  opacity: 0;
}

body.video-focus .about-block {
  opacity: 0;
}

body.video-focus .hover-item:not(.active) {
  opacity: 0;
  pointer-events: none;
}

body.video-focus .hover-trigger {
  opacity: 0;
}

@supports (height: 100dvh) {
  html,
  body {
    min-height: 100dvh;
  }

  body {
    min-height: 100dvh;
  }

  .center-preview {
    height: 100dvh;
  }
}

@media (hover: none), (pointer: coarse) {
  .center-preview.active {
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  body {
    padding: calc(18px + env(safe-area-inset-top, 0px)) calc(18px + env(safe-area-inset-right, 0px)) calc(118px + env(safe-area-inset-bottom, 0px)) calc(18px + env(safe-area-inset-left, 0px));
  }

  .enter-media {
    width: min(58vw, 260px);
    max-width: 72vw;
  }

  .enter-video {
    width: min(100%, 220px);
    max-width: 100%;
  }

  .enter-image {
    width: min(40%, 88px);
    margin-top: -4px;
  }

  .bg-video {
    object-fit: contain;
    object-position: center center;
  }

  .hero-copy-image {
    left: 0;
    width: min(274px, 100%);
    margin-left: 0;
  }

  .hover-section {
    left: calc(18px + env(safe-area-inset-left, 0px));
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .press-section {
    right: 18px;
    bottom: calc(52px + env(safe-area-inset-bottom, 0px));
  }

  .about-block {
    top: calc(18px + env(safe-area-inset-top, 0px));
    right: calc(18px + env(safe-area-inset-right, 0px));
  }

  .about-button,
  .hover-trigger,
  .press-trigger {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }

  .about-button,
  .hover-trigger {
    min-height: 32px;
  }

  .center-preview {
    width: 100vw;
    height: 100svh;
    max-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .center-preview video {
    width: 100vw;
    height: auto;
    max-width: 100vw;
    max-height: 100svh;
    object-fit: contain;
  }

  .image-preview {
    width: min(72vw, 320px);
  }

  .site-footer {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 36px);
    font-size: clamp(0.52rem, 1.6vw, 0.62rem);
    letter-spacing: 0.02em;
    gap: 4px;
    z-index: 40;
  }
}


@media (max-width: 480px) {
  body {
    padding: calc(16px + env(safe-area-inset-top, 0px)) calc(16px + env(safe-area-inset-right, 0px)) calc(120px + env(safe-area-inset-bottom, 0px)) calc(16px + env(safe-area-inset-left, 0px));
  }

  .enter-media {
    width: min(62vw, 240px);
    max-width: 74vw;
  }

  .enter-video {
    width: min(100%, 200px);
  }

  .enter-image {
    width: min(40%, 78px);
  }

  .about-block {
    top: calc(16px + env(safe-area-inset-top, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
  }

  .about-button,
  .hover-trigger,
  .press-trigger {
    font-size: 0.72rem;
  }

  .hover-section,
  .press-section {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }

  .hover-section {
    left: calc(16px + env(safe-area-inset-left, 0px));
  }

  .press-section {
    right: 16px;
  }

  .site-footer {
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 32px);
    font-size: clamp(0.5rem, 1.55vw, 0.56rem);
    gap: 3px;
  }
}

@media (max-width: 480px) and (min-height: 880px) {
  .hover-section,
  .press-section {
    bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-height: 460px) and (max-width: 932px) {
  .hover-list {
    gap: 8px;
  }

  .hover-trigger,
  .about-button {
    min-height: 24px;
    font-size: 0.68rem;
  }

  .hover-section {
    bottom: calc(48px + env(safe-area-inset-bottom, 0px));
  }

  .site-footer {
    bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    font-size: 0.52rem;
    gap: 2px;
  }
}

@supports (height: 100dvh) {
  @media (max-width: 768px) {
    .center-preview {
      height: 100dvh;
    }

    .center-preview video {
      max-height: 100dvh;
    }
  }
}
