:root {
  color-scheme: dark;
  --red: #f21c13;
  --black: #080808;
  --cream: #eee9dd;
  --paper-ink: #15110e;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-snap-type: y proximity; background: var(--black); }
body { min-width: 1100px; margin: 0; background: var(--black); }
a { color: inherit; text-decoration: none; }

.iqoo-screen {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  scroll-snap-align: start;
}

.iqoo-nav {
  position: absolute;
  top: 32px;
  right: 0;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 30px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
  font-size: 10px;
  font-weight: 400;
}

.iqoo-nav p { margin: 0; }
.iqoo-nav a:last-child { justify-self: end; }

.iqoo-cover .iqoo-nav,
.iqoo-insight .iqoo-nav,
.iqoo-idea .iqoo-nav {
  border-bottom: 0;
}

.iqoo-cover { background: #ec2221; color: var(--black); }

.iqoo-cover.video-playing { background: #000; }

.iqoo-cover.video-playing .iqoo-nav,
.iqoo-cover.video-playing .iqoo-cover-footer {
  color: #aeb6bb;
}

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

.iqoo-cover-lockup {
  position: absolute;
  inset: 108px 42px 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.3vh, 30px);
}

.iqoo-cover-crop {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
}

.iqoo-cover-crop img {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
}

.iqoo-cover-logo-crop {
  width: clamp(230px, 18vw, 340px);
  aspect-ratio: 7.2 / 1;
  transform: translateX(24px) scale(1.65);
  transform-origin: center;
}

.iqoo-cover-logo-crop img {
  top: -1240%;
  left: -127.8%;
  width: 355.56%;
}

.iqoo-cover-title-crop {
  width: clamp(410px, 33vw, 630px);
  aspect-ratio: 0.94 / 1;
}

.iqoo-cover-title-crop img {
  top: -27.3%;
  left: -104.8%;
  width: 309.68%;
}

.iqoo-cover-play,
.iqoo-video-play {
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
}

.iqoo-cover-play {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border: 0;
  background: #080808;
  color: #fff;
  transform: translateY(20px);
}

.iqoo-cover-play span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.iqoo-cover-video {
  position: absolute;
  inset: 84px 42px 28px;
  z-index: 2;
  display: none;
  width: calc(100% - 84px);
  height: calc(100% - 112px);
  background: #000;
  object-fit: contain;
}

.iqoo-cover.video-playing .iqoo-cover-lockup { display: none; }
.iqoo-cover.video-playing .iqoo-cover-video { display: block; }

.iqoo-cover-footer {
  position: absolute;
  right: 30px;
  bottom: 20px;
  left: 30px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: inherit;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
  font-size: 9px;
  font-weight: 400;
  pointer-events: none;
}

.iqoo-cover-note {
  position: absolute;
  top: 12vh;
  right: 4.6vw;
  margin: 0;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.05;
}

.iqoo-insight { background: var(--black); color: var(--cream); }

.iqoo-video-stage {
  position: absolute;
  top: 50%;
  right: 42px;
  left: 42px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  transform: translateY(-50%);
}

.iqoo-video-stage video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.iqoo-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  border: 1px solid rgb(255 255 255 / 72%);
  background: rgb(0 0 0 / 20%);
  color: #fff;
  transform: translate(-50%, -50%);
}

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

.iqoo-video-stage.is-playing .iqoo-video-play { display: none; }

.iqoo-insight-copy {
  position: absolute;
  top: 29vh;
  right: 5vw;
  z-index: 2;
  width: 30vw;
}

.iqoo-insight-copy-relocated {
  top: 52vh;
  right: auto;
  left: 3.5vw;
  width: 27vw;
}

.iqoo-insight-copy.iqoo-insight-copy-relocated h3 {
  margin-bottom: 28px;
  padding-bottom: 0;
  border-bottom: 0;
  color: #d83b30;
}

.iqoo-insight-copy h3 {
  margin: 0 0 34px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--cream);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17.5px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.56;
}

.iqoo-insight-copy p {
  margin: 0;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.56;
}

.iqoo-screen-count {
  position: absolute;
  right: 42px;
  bottom: 24px;
  z-index: 3;
  margin: 0;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
  font-size: 9px;
  font-weight: 400;
}

.iqoo-idea { background: var(--black); color: var(--cream); }

.iqoo-sequence-crop {
  position: absolute;
  top: 22vh;
  right: 3.5vw;
  left: 3.5vw;
  overflow: hidden;
  aspect-ratio: 10.97 / 1;
}

.iqoo-sequence-crop img {
  position: absolute;
  top: -178.7%;
  left: -5.05%;
  display: block;
  width: 110.1%;
  height: auto;
  max-width: none;
}

.iqoo-idea-copy {
  position: absolute;
  top: 52vh;
  right: 4.5vw;
  width: 27vw;
}

.iqoo-idea-copy h3 {
  margin: 0 0 28px;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17.5px;
  font-weight: 500;
  color: #d83b30;
  letter-spacing: 0;
  line-height: 1.56;
}

.iqoo-idea-copy p {
  margin: 0 0 18px;
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  line-height: 1.56;
}

.iqoo-insight-copy .iqoo-copy-label,
.iqoo-idea-copy .iqoo-copy-label {
  margin: 0 0 18px !important;
  color: #8e8e8e;
  font-family: "Courier New", "PingFang SC", "Microsoft YaHei", monospace;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.2;
}

.iqoo-end { background: var(--red); color: var(--black); }

.iqoo-end-lockup {
  position: absolute;
  inset: 11vh 8vw 5vh;
  display: grid;
  place-items: center;
}

.iqoo-lettering {
  display: block;
  width: auto;
  height: auto;
  max-width: min(68vw, 1180px);
  max-height: 60vh;
  object-fit: contain;
}

.iqoo-end-lockup p { position: absolute; margin: 0; text-align: center; }
.iqoo-brand { bottom: 10vh; font-size: clamp(18px, 1.7vw, 30px); font-weight: 900; }
.iqoo-tagline { bottom: 4vh; font-size: 10px; font-weight: 800; line-height: 1.15; }
.iqoo-lettering-source { position: fixed; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

@media (max-height: 760px) {
  .iqoo-insight-copy { top: 31vh; }
  .iqoo-insight-copy-relocated { top: 52vh; }
  .iqoo-idea h2 { font-size: 20vw; }
}
