@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@300;400;500&display=swap');
:root {
  color-scheme: dark;
  --font-latin: Arial;
  --font-chinese: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --ink: #f3eafa;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --page-gutter: clamp(24px, 5vw, 80px);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  background: #211b3d;
  color: var(--ink);
  font-family: var(--font-latin), var(--font-chinese);
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 1px solid #d8bee8;
  outline-offset: 4px;
}
#landscape,
#atmosphere,
.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}
.grain {
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.page {
  position: relative;
  height: 100%;
  min-height: 0;
  padding: clamp(24px, 4vh, 40px) var(--page-gutter) var(--space-6);
  display: flex;
  flex-direction: column;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
}
.brand > span {
  font-family: var(--font-latin), sans-serif;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: 0.8px;
  line-height: 1;
}
.brand-cn {
  display: block;
  font-family: var(--font-latin), var(--font-chinese);
  font-size: 10px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 3.5px;
  margin-top: var(--space-1);
  padding-left: 2px;
  color: #c9b9d6;
}
.about-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  background: none;
  border: 0;
  font-size: 12px;
  letter-spacing: 1.5px;
  line-height: 1.5;
  padding: var(--space-2) 0;
}
.about-link:focus-visible {
  outline: none;
  text-decoration: underline;
  text-decoration-color: #c6a7d480;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.about-link span {
  letter-spacing: 0;
  line-height: 1;
  font-size: 16px;
  color: #d7c0ed;
}
main {
  margin-top: clamp(48px, 11vh, 120px);
  position: relative;
  width: fit-content;
}
.eyebrow {
  margin: 0;
  line-height: 1.6;
  font-size: 9px;
  letter-spacing: 3.2px;
  color: #d4c2e1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
h1 {
  font-family: var(--font-latin), var(--font-chinese);
  font-size: clamp(48px, 5.5vw, 84px);
  font-weight: 300;
  letter-spacing: 7px;
  line-height: 1.4;
  margin: 0 0 var(--space-4);
  text-shadow: 0 2px 40px #20192e55;
}
.elsewhere {
  color: #e1c5f2;
}
.intro {
  font-size: 13px;
  line-height: 2;
  letter-spacing: 2px;
  color: #c9bad6;
  margin: 0 0 var(--space-6);
}
.explore {
  background: #e7d9ee;
  color: #3b2b4d;
  border: 1px solid #f7edff55;
  border-radius: 2px;
  min-height: 48px;
  padding: var(--space-3) var(--space-6);
  line-height: 1.5;
  font-size: 12px;
  letter-spacing: 1.5px;
  display: inline-flex;
  gap: var(--space-4);
  align-items: center;
  transition:
    background 0.25s,
    transform 0.25s;
}
.explore:hover {
  background: #fff1ff;
  transform: translateY(-3px);
}
.explore:focus-visible {
  outline: none;
  background: #fff1ff;
  box-shadow: inset 0 0 0 2px #9178a6;
}
.explore span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: none;
  font-family: var(--font-latin), sans-serif;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
}
footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #b5a2c6;
  letter-spacing: 1.6px;
}
dialog {
  background: #2b233eee;
  color: var(--ink);
  border: 1px solid #a786ba55;
  padding: 40px;
  width: min(470px, 88vw);
  box-shadow: 0 25px 100px #100d24aa;
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
}
dialog::backdrop {
  background: #14102099;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}
.dialog-brand {
  margin: var(--space-6) 0;
}
dialog p:not(.eyebrow) {
  font-size: 13px;
  margin: 0;
  line-height: 2;
  color: #d4c5df;
}
.close {
  position: absolute;
  right: var(--space-2);
  top: var(--space-2);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
  background: none;
  border: 0;
  font-size: 25px;
  font-weight: 200;
  color: #c1a9d0;
}
.close:hover,
.close:focus-visible {
  outline: none;
  color: var(--ink);
  background: #c6a7d41a;
  border-radius: 50%;
}
@media (max-width: 600px) {
  .page {
    padding: var(--space-6) var(--page-gutter);
  }
  .brand > span {
    font-size: 23px;
  }
  main {
    margin-top: clamp(48px, 10vh, 88px);
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.8px;
    gap: var(--space-2);
  }
  h1 {
    font-size: clamp(40px, 11vw, 51px);
    letter-spacing: 4px;
  }
  .intro {
    font-size: 12px;
    letter-spacing: 1.4px;
  }
  footer {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .about-link {
    font-size: 11px;
  }
  dialog {
    padding: var(--space-8) var(--space-6);
  }
}
@media (max-height: 650px) {
  .page {
    padding-top: var(--space-4);
    padding-bottom: var(--space-4);
  }
  main {
    margin-top: var(--space-8);
  }
  h1 {
    font-size: clamp(36px, 8vh, 52px);
    line-height: 1.3;
    margin: 0 0 var(--space-4);
  }
  .intro {
    margin-bottom: var(--space-4);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

#atmosphere {
  pointer-events: none;
  mix-blend-mode: screen;
}
