@font-face {
  font-family:"Portfolio Display";
  src:url("/fonts/noto-serif-display-intro.woff") format("woff");
  font-style:italic;
  font-display:swap;
}
body[data-route="/"] main h1#hero-name {
  grid-column:1/-1;grid-row:1;
  display:grid;grid-template-columns:minmax(0,.76fr) minmax(0,1.24fr);
  grid-template-columns:subgrid;align-items:baseline;
  font-size:clamp(3.5rem,7.7vw,8.25rem) !important;
  line-height:1.04 !important;letter-spacing:-.047em !important;
  margin:0;white-space:nowrap;
}
#hero-name em {
  justify-self:center;position:relative;left:5%;
  font-family:"Portfolio Display",Baskerville,Georgia,serif;
}
html[lang="zh-CN"] #hero-name em {font-family:"Songti SC","Noto Serif CJK SC",serif;font-style:normal}
.cover-layout.night-hero {grid-template-rows:repeat(4,auto)}
.cover-layout .cover-copy {grid-row:2;align-self:start}
.cover-layout .cover-bio {grid-row:3}
.cover-layout .hero-scene {grid-row:2/4;align-self:start}
.cover-layout .cover-footer {grid-row:4}
@media(max-width:720px) {
  body[data-route="/"] main h1#hero-name {
    display:flex;gap:.18em;align-items:baseline;
    font-size:clamp(1.75rem,7.9vw,3.6rem) !important;
  }
  #hero-name em {left:auto}
  .cover-layout.night-hero {grid-template-rows:repeat(5,auto)}
  .cover-layout .hero-scene {grid-row:3}
  .cover-layout .cover-bio {grid-row:4}
  .cover-layout .cover-footer {grid-row:5}
}
.site-signature {
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:40;
}
.site-signature span {
  position:absolute;
  width:clamp(1.35rem,2.4vw,2rem);
  aspect-ratio:1;
  background:url("/art/identity/zlf.png") center / contain no-repeat;
  opacity:.58;
}
.site-signature span:not(:last-child) {translate:-50% -50%}
.site-signature span:nth-child(1) {left:27.8%;top:73%}
.site-signature span:nth-child(2) {left:87.1%;top:38.4%}
.site-signature span:nth-child(3) {left:88.3%;top:86.4%}
.site-signature span:nth-child(4) {left:6.4%;top:8.7%}
.site-signature span:nth-child(5) {left:26.2%;top:33.9%}
.site-signature span:nth-child(6) {left:65.2%;top:43.5%}
.site-signature span:last-child {
  bottom:max(.85rem,env(safe-area-inset-bottom));
  left:max(.85rem,env(safe-area-inset-left));
}
.ft-stage::after,.ss-render:has(canvas)::after,
.sn-sticky:has(canvas)::after,.ig-stage::after,.ig-comic-stage::after {
  content:"";
  position:absolute;
  bottom:10px;
  left:10px;
  width:clamp(1rem,2vw,1.65rem);
  aspect-ratio:1;
  background:url("/art/identity/zlf.png") center / contain no-repeat;
  opacity:.55;
  pointer-events:none;
  z-index:12;
}
.about-winter {max-width:29rem;margin:clamp(1.5rem,4vw,4rem) auto}
.about-winter img {display:block;width:100%;height:auto}
.resume-view figure {width:min(100%,53rem);margin:1.25rem 0}
.resume-view figure img {display:block;width:100%;height:auto;box-shadow:0 1px 15px #3b241917}
img,video {-webkit-touch-callout:none}

/* The index uses plum for navigation and a ruled edge to close the chapter. */
.home-index .home-index-head {
  border-inline-start: 4px solid #644076;
  padding-inline-start: clamp(16px, 3vw, 32px);
}
.home-index .home-index-head h2,
.disc-library .disc-index-heading { color: #58326b; }
.disc-library .disc-index-heading {
  margin: 0;
  padding: .85rem .65rem;
  background: #eee7f1;
  font: 600 1rem/1.3 var(--sans);
}
.disc-library .disc-index > a { padding-inline: .65rem; }
.disc-library .disc-index > a:is([aria-current="true"], :focus-visible, :hover) {
  background: #f4eef6;
  color: #58326b;
  box-shadow: inset 3px 0 #644076;
}
.home-index .home-bento > a h3 {
  text-decoration: underline;
  text-decoration-color: #9b7ba5;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
section.home-index {
  border-bottom: 2px solid #9b7ba5;
  padding-bottom: clamp(32px, 5vw, 72px);
}
@media (max-width: 800px) {
  .disc-library .disc-index > a > span > i {
    display: block;
    margin: .3rem 0 0;
    line-height: 1.4;
  }
}

/* Home chapter navigation and cover contact sheet */
body[data-route="/"] section.home-index {background:#e7eafa;color:#19264e;padding-top:clamp(40px,7vw,108px);border:0}
.home-index .home-index-head #home-index-title {font:700 clamp(76px,14vw,208px)/.94 var(--sans);letter-spacing:-.055em;color:#293e94;margin:.12em 0}
body[data-route="/"] .home-index-head {border:0;padding:0}
.home-next {display:flex;align-items:center;justify-content:space-between;background:#293e94;color:white!important;padding:20px max(6vw,24px);font:500 clamp(16px,2vw,28px)/1.3 var(--sans);text-decoration:none}
.home-next span {font-size:1.4em}
body[data-route="/"] #project-films {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:clamp(20px,4vw,66px);background:#edf0fa;padding:clamp(28px,7vw,104px);box-sizing:border-box}
#project-films .original-cover-row a {display:block;background:white;padding:clamp(8px,1.3vw,20px);color:#182957}
#project-films .original-cover-row:first-child {grid-column:1/-1;width:min(100%,780px);justify-self:center}
.cover-caption {display:flex;align-items:baseline;gap:.8em;padding-top:.6em;font:500 clamp(16px,2.3vw,34px)/1.2 var(--serif)}
.cover-caption small {font:500 .8rem var(--sans);color:#354ca5}
body[data-route="/"] .home-about {background:#f3f0ea;padding-block:clamp(30px,5vw,72px)}
.home-scroll-cue {position:fixed;right:18px;bottom:max(18px,env(safe-area-inset-bottom));z-index:35;display:flex;gap:8px;align-items:center;border:1px solid #adb6de;border-radius:30px;background:#fff;color:#293e94;padding:10px 17px;font:600 14px var(--sans);cursor:pointer}
.home-scroll-cue[hidden]{display:none}
.home-scroll-cue span {font-size:24px}
@media(prefers-reduced-motion:no-preference){.home-scroll-cue span{animation:hint-hand 1.2s ease-in-out 3}@keyframes hint-hand{50%{transform:translateY(4px)}}}
@media(max-width:600px){body[data-route="/"] #project-films{grid-template-columns:1fr;gap:24px}.original-cover-row:nth-child(even){margin-right:7%!important}.original-cover-row:nth-child(odd):not(:first-child){margin-left:7%!important}}
