:root {
  color-scheme: dark;
  background: #020509;
  color: #f1eee7;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-snap-type: y proximity;
  background: #020509;
}

body {
  min-width: 320px;
  margin: 0;
  background: #020509;
}

.tibet-video-cover {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  scroll-snap-align: start;
}

.tibet-media {
  position: absolute;
  top: 86px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  overflow: hidden;
  background: #000;
}

.tibet-media video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
  object-position: center;
}

.tibet-video-cover.is-playing video {
  object-fit: contain;
}

.tibet-overlay-copy {
  position: absolute;
  top: 9%;
  right: 0.8%;
  z-index: 1;
  width: 20.5%;
  color: rgb(255 255 255 / 88%);
  font-family: "Kailasa", "Noto Serif Tibetan", serif;
  font-size: clamp(14px, 0.95vw, 22px);
  line-height: 1.34;
  pointer-events: none;
}

.tibet-overlay-copy p {
  margin: 0 0 clamp(8px, 0.85vh, 12px);
}

.tibet-overlay-copy strong {
  color: #fff;
  font-weight: 600;
}

.tibet-video-cover.is-playing .tibet-overlay-copy {
  display: none;
}

.tibet-cover-footer {
  position: absolute;
  right: 30px;
  bottom: 20px;
  left: 30px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #aeb6bb;
  font-size: 9px;
  pointer-events: none;
}


.tibet-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 50%;
  background: rgb(0 0 0 / 22%);
  color: #fff;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.tibet-transcript {
  min-height: 100vh;
  padding: 34px 30px 44px;
  background: #030303;
  scroll-snap-align: start;
}

.tibet-transcript > header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid rgb(255 255 255 / 14%);
  color: #8e969b;
  font-size: 9px;
  text-transform: uppercase;
}

.tibet-transcript > header span {
  transform: translateY(20px);
}

.tibet-transcript-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(40px, 7vw, 120px);
  max-width: 1500px;
  margin: 0 auto;
  padding-top: clamp(38px, 6vh, 72px);
}

.tibet-transcript article {
  min-width: 0;
}

.tibet-transcript h2 {
  margin: 0 0 30px;
  color: #8e969b;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tibet-transcript p {
  margin: 0 0 clamp(15px, 2.1vh, 24px);
  color: #e5e2da;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(10px, 0.73vw, 12px);
  line-height: 1.65;
}

.tibet-transcript article[lang="en"] p {
  color: #d6d5d1;
}

.tibet-transcript article[lang="en"] {
  transform: translateX(-3vw);
}

.tibet-transcript article[lang="zh-CN"] p,
.tibet-transcript article[lang="zh-CN"] h2,
.tibet-transcript article[lang="en"] p,
.tibet-transcript article[lang="en"] h2 {
  font-style: italic;
}

.tibet-transcript article[lang="bo"] p,
.tibet-transcript article[lang="bo"] h2 {
  font-family: "Kailasa", "Noto Serif Tibetan", serif;
  line-height: 1.65;
}

.tibet-play span {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.tibet-play:hover,
.tibet-play:focus-visible {
  background: rgb(255 255 255 / 16%);
}

.tibet-video-cover.is-playing .tibet-play {
  display: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.tibet-screen {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  scroll-snap-align: start;
  background: #020509;
}

.tibet-story > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.tibet-story::after {
  position: absolute;
  inset: 0;
  background: rgb(0 5 12 / 35%);
  content: "";
  pointer-events: none;
}

.tibet-nav,
.tibet-title,
.tibet-narration,
.tibet-story footer,
.tibet-film-label {
  position: absolute;
  z-index: 1;
}

.tibet-nav {
  top: 32px;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  padding: 24px 30px;
  align-items: center;
  font-size: 10px;
}

.tibet-nav p {
  margin: 0;
}

.tibet-nav a:last-child {
  justify-self: end;
}

.tibet-title {
  top: 12vh;
  left: 5vw;
}

.tibet-title p,
.tibet-title h1 {
  margin: 0;
}

.tibet-title p {
  margin-bottom: 12px;
  color: #b9c4cc;
  font-size: 9px;
}

.tibet-title h1 {
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 500;
  letter-spacing: 0;
}

.tibet-narration {
  top: 23vh;
  right: auto;
  left: 5vw;
  display: grid;
  grid-template-columns: minmax(260px, 370px);
  gap: clamp(12px, 1.5vh, 18px);
  align-items: start;
}

.tibet-narration p {
  margin: 0;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: clamp(10px, 0.78vw, 12px);
  line-height: 1.5;
}

.tibet-opening p:first-child {
  margin-bottom: 12px;
  color: #d5b674;
  font-family: "Courier New", monospace;
  font-size: 10px;
}

.tibet-story footer {
  right: 30px;
  bottom: 24px;
  left: 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #b9c4cc;
  font-size: 9px;
}

.tibet-film {
  display: grid;
  place-items: center;
}

.tibet-film video {
  display: block;
  width: 100%;
  height: 100vh;
  background: #000;
  object-fit: contain;
}

.tibet-film-label {
  top: 24px;
  left: 30px;
  margin: 0;
  color: #a9b3ba;
  font-size: 9px;
  pointer-events: none;
}

@media (max-width: 880px) {
  .tibet-media {
    top: 82px;
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .tibet-overlay-copy {
    width: 36%;
    font-size: 7px;
  }

  .tibet-transcript-grid {
    grid-template-columns: 1fr;
  }

  .tibet-transcript article[lang="en"] {
    transform: none;
  }

  .tibet-story {
    min-height: 1120px;
  }

  .tibet-title {
    top: 100px;
    right: 24px;
    left: 24px;
  }

  .tibet-narration {
    top: 210px;
    right: 24px;
    left: 24px;
    grid-template-columns: minmax(0, 370px);
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .tibet-media {
    right: 20px;
    left: 20px;
  }

  .tibet-overlay-copy {
    display: none;
  }

  .tibet-story {
    min-height: 1500px;
  }

  .tibet-nav {
    padding: 20px;
  }

  .tibet-nav p {
    display: none;
  }

  .tibet-narration {
    grid-template-columns: 1fr;
  }

}
