@charset "UTF-8";

@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-500.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2");
  font-style: normal; font-weight: 600; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-style: normal; font-weight: 700; font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-800.woff2") format("woff2");
  font-style: normal; font-weight: 800; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-400.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-500.woff2") format("woff2");
  font-style: normal; font-weight: 500; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-600.woff2") format("woff2");
  font-style: normal; font-weight: 600; font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3f3ef;
  --ink: #121310;
  --muted: #555950;
  --signal: #f2f400;
  --line: #cecec5;
  --gutter: clamp(24px, 4.6vw, 88px);
  --sans: "HarmonyOS Sans SC", "MiSans", "Noto Sans CJK SC", "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "Barlow Condensed", "DIN Alternate", "Arial Narrow", sans-serif;
  --data: "IBM Plex Mono", "Bahnschrift", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; }
::selection { background: var(--signal); color: var(--ink); }
.site { min-height: 100svh; display: grid; grid-template-rows: 96px 1fr 64px; }

.header {
  position: relative; z-index: 5; margin: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 36px; height: 36px; }
.brand > span { font-size: 17px; font-weight: 700; letter-spacing: .05em; }
.header nav { display: flex; align-items: center; gap: 44px; height: 100%; font-size: 13px; font-weight: 600; }
.header nav > * { position: relative; height: 100%; display: inline-flex; align-items: center; }
.current::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--signal); }
.guide-link { gap: 16px; transition: color .2s; }
.guide-link > span { font-size: 21px; font-family: sans-serif; transition: transform .2s; }
.guide-link:hover > span { transform: translate(2px, -2px); }

.hero { position: relative; isolation: isolate; min-height: 620px; overflow: clip; }
.backdrop, .artwork {
  position: absolute; inset: 0 0 0 35%;
  clip-path: polygon(41% 0, 100% 0, 100% 100%, 0 100%);
}
.backdrop { z-index: -2; background: #dcdfd5; }
.backdrop::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(#727b681f .8px, transparent .8px);
  background-size: 6px 6px;
  mask-image: linear-gradient(140deg, transparent 30%, black 100%);
}
.artwork { overflow: hidden; pointer-events: none; }
.artwork-inner { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); transform: translate3d(var(--art-x, 0px), var(--art-y, 0px), 0); transition: transform .7s cubic-bezier(.2,.65,.25,1); }
.key-art { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: art-reveal .6s .1s both; }
.intro { position: relative; z-index: 2; margin: 0 0 0 calc(var(--gutter) + 2.8vw); width: 350px; padding: clamp(62px, 9vh, 120px) 0 64px; }
.eyebrow { margin: 0 0 24px; display: flex; align-items: center; gap: 10px; font: 600 12px/1 var(--mono); letter-spacing: .19em; animation: reveal .6s .08s both; }
.eyebrow > span { width: 7px; height: 7px; background: var(--ink); }
h1 { margin: 0; font-size: clamp(92px, 8.4vw, 156px); font-weight: 900; line-height: 1.08; letter-spacing: -.075em; }
h1 > span { position: relative; display: block; width: max-content; padding-right: .08em; animation: title-reveal .65s cubic-bezier(.2,.65,.25,1) both; }
h1 > span:nth-child(2) { animation-delay: .1s; }
.title-stop { position: absolute; right: -.24em; bottom: .13em; width: .13em; height: .13em; background: var(--ink); }
.description { margin: 28px 0 34px; font-size: 15px; line-height: 1.6; letter-spacing: .09em; color: var(--muted); animation: reveal .6s .2s both; }
.enter {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 42px;
  width: 248px; height: 64px; background: var(--signal); position: relative;
  border: 1px solid var(--ink); box-shadow: 5px 5px 0 var(--ink);
  font-size: 16px; font-weight: 700; overflow: hidden;
  transition: color .22s, box-shadow .22s, transform .22s;
  animation: reveal .6s .3s both;
}
.enter::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateX(-101%); transition: transform .25s cubic-bezier(.2,.65,.25,1); }
.enter-label { position: relative; z-index: 1; padding-left: 25px; letter-spacing: .12em; }
.enter-arrow { position: relative; z-index: 1; height: 100%; width: 58px; flex: none; display: grid; place-items: center; border-left: 1px solid color-mix(in srgb, var(--ink) 24%, transparent); }
.enter-arrow svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.7; transition: transform .25s; }
.enter:hover { color: var(--signal); box-shadow: 2px 2px 0 var(--ink); transform: translate(3px, 3px); }
.enter:hover::before { transform: translateX(0); }
.enter:hover .enter-arrow { border-color: color-mix(in srgb, var(--signal) 45%, transparent); }
.enter:hover svg { transform: translateX(3px); }
.enter:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); }
.edge-mark { position: absolute; right: 0; top: 30%; width: 5px; height: 100px; background: var(--ink); }
.edge-mark::after { content: ""; position: absolute; right: 0; top: 108px; width: 5px; height: 20px; background: var(--ink); }

.footer { margin: 0 var(--gutter); border-top: 1px solid var(--ink); display: grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: 20px; position: relative; z-index: 2; }
.footer::before { content: ""; position: absolute; left: 0; top: -1px; width: 64px; height: 3px; background: var(--signal); }
@font-face {
  font-family: "Noto Sans SC Statement";
  src: url("/assets/fonts/statement-noto-sans-sc.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
.edition { justify-self:start; font: 500 10px/1 var(--data); letter-spacing: .08em; color: var(--muted); }
.footer-center {
  justify-self: center; color: var(--muted);
  font: 500 12px/1.4 "HarmonyOS Sans SC", "Noto Sans SC Statement", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  letter-spacing: 0; text-align: center; text-wrap: pretty;
}
.footer-mark { justify-self:end; display: flex; gap: 3px; height: 14px; }
.footer-mark b { display: block; width: 4px; background: var(--ink); transform: skewX(-25deg); }
.footer-mark b:last-child { background: #8f9188; }
.page-wipe { position: fixed; z-index: 20; inset: 0; background: var(--ink); pointer-events: none; transform: translateY(101%); transition: transform .28s cubic-bezier(.7,0,.25,1); }
.leaving .page-wipe { transform: translateY(0); }

@keyframes reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes title-reveal { from { opacity: 0; transform: translateY(26px); clip-path: inset(0 0 100%); } to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 0); } }
@keyframes art-reveal { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 1800px) {
  .site { grid-template-rows: 112px 1fr 76px; }
  .intro { width: 480px; }
}
@media (min-width: 1000px) and (max-height: 800px) {
  .site { grid-template-rows: 80px 1fr 52px; }
  .hero { min-height: 510px; }
  .intro { padding-top: 52px; padding-bottom: 45px; }
  h1 { font-size: clamp(88px, 8vw, 116px); }
  .eyebrow { margin-bottom: 17px; }
  .description { margin: 22px 0 28px; }
  .enter { height: 56px; }
}
@media (max-width: 1099px) {
  .intro { margin-left: var(--gutter); width: 300px; }
  h1 { font-size: 98px; }
  .hero { min-height: 640px; }
}
@media (max-width: 759px) {
  .site { grid-template-rows: 76px 1fr 76px; }
  .header nav { gap: 0; font-size: 12px; }
  .current { display: none !important; }
  .guide-link { gap: 9px; }
  .brand { gap: 9px; }
  .brand svg { width: 30px; height: 30px; }
  .brand > span { font-size: 15px; }
  .hero { min-height: 0; display: flex; align-items: flex-start; flex-direction: column; }
  .intro { width: auto; margin: 0 var(--gutter); padding: 38px 0 0; }
  .eyebrow { margin-bottom: 17px; font-size: 10px; }
  h1 { font-size: clamp(60px, 12vw, 88px); line-height: 1.1; letter-spacing: -.07em; display: flex; gap: .08em; }
  .title-stop { display: none; }
  .description { margin: 17px 0 24px; font-size: 13px; }
  .enter { width: 208px; height: 54px; font-size: 14px; box-shadow: 4px 4px 0 var(--ink); gap: 22px; }
  .enter-label { padding-left: 20px; }
  .enter-arrow { width: 50px; }
  .backdrop, .artwork { inset: 180px 0 0; clip-path: polygon(100% 0,100% 100%,0 100%,0 64%); }
  .key-art { object-position: 46% center; }
  .edge-mark { top: auto; bottom: 110px; height: 48px; width: 3px; }
  .edge-mark::after { width: 3px; top: 55px; height: 12px; }
  .footer { display:grid; grid-template-columns:1fr auto; grid-template-rows:auto auto; align-content:center; gap:8px 12px; padding:8px 0; }
  .footer-center { grid-column:1 / -1; grid-row:1; width:100%; font-size:11px; line-height:1.45; }
  .edition { grid-column:1; grid-row:2; }
  .edition { font-size: 9px; letter-spacing: .05em; }
  .footer-mark { grid-column:2; grid-row:2; display: none; }
}
@media (max-width: 759px) and (min-height: 820px) {
  .hero { min-height: 0; }
  .intro { padding-top: 50px; }
}
@media (min-width: 760px) and (max-width: 999px) {
  .site { grid-template-rows: 80px 1fr 56px; }
  .hero { min-height: 650px; }
  .intro { padding-top: 90px; }
}
@media (min-width: 1000px) and (max-width: 1099px) and (max-height: 800px) {
  .hero { min-height: 510px; }
}
@media (min-width: 760px) and (max-width: 999px) and (orientation: portrait) {
  .hero { min-height: 0; }
  .intro { width: auto; padding-top: 48px; }
  h1 { display: flex; gap: .08em; font-size: 96px; }
  .title-stop { display: none; }
  .eyebrow { margin-bottom: 20px; }
  .description { margin: 22px 0 28px; }
  .backdrop, .artwork { inset: 220px 0 0; clip-path: polygon(100% 0,100% 100%,0 100%,0 64%); }
}
@media (max-width: 759px) and (max-height: 740px) {
  .site { grid-template-rows: 64px 1fr 76px; }
  .intro { padding-top: 24px; }
  .eyebrow { margin-bottom: 12px; }
  h1 { font-size: clamp(52px, 12vw, 72px); }
  .description { margin: 12px 0 20px; }
  .enter { height: 50px; }
}
@media (min-width: 760px) and (max-height: 540px) {
  .site { grid-template-rows: 60px 1fr 36px; }
  .hero { min-height: 294px; }
  .intro { padding: 24px 0; }
  .eyebrow { font-size: 9px; margin-bottom: 12px; }
  h1 { font-size: 62px; line-height: 1.04; }
  .description { font-size: 12px; margin: 14px 0 18px; line-height: 1.5; }
  .enter { width: 210px; height: 46px; font-size: 13px; }
  .edge-mark { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .artwork-inner { transform: none; }
}
