.cover-opening { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.cover-hero {
  flex: 1; position: relative; isolation: isolate; display: flex; align-items: center;
  padding: clamp(2rem, 5vh, 4rem) clamp(1.25rem, 5vw, 6rem) clamp(1rem, 3vh, 2rem);
  background: var(--paper); color: #fffdf4;
}
.cover-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; }
.cover-hero.is-playing .cover-film { opacity: 1; }
.cover-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to right, rgba(12,17,16,.95) 12%, rgba(12,17,16,.05) 100%);
}
.cover-content { width: 40vw; }
.cover-identity { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.cover-identity .portrait-link { --portrait-size: clamp(6.5rem, 9.75vw, 10.4rem); }
.cover-identity h1 { font: 450 clamp(2.55rem, 5.5vw, 6rem)/1 var(--serif); letter-spacing: -.055em; }
.cover-identity h1 span { display: block; margin-top: .6rem; font: 400 2.1rem/1.2 var(--serif); letter-spacing: .2em; }
.cover-content .bio-copy { margin-top: clamp(1.3rem, 3vh, 2.5rem); font: 400 clamp(1rem, 1.25vw, 1.22rem)/1.55 var(--sans); text-align: justify; hyphens: auto; }
.cover-content .bio-copy a { color: inherit; text-decoration-color: #b5bab6; }
.cover-socials { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1rem; }
.cover-socials a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid #fff8; border-radius: 50%; color: inherit; }
.cover-socials svg { display: block; width: 1.13rem; height: 1.13rem; }
.cover-socials a:is(:hover, :focus-visible) { border-color: currentColor; background: #ffffff20; }
.cover-socials a:focus-visible, .cover-scroll:focus-visible { outline-color: currentColor; }
.cover-controls {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline;
  margin-top: clamp(.65rem, 2vh, 1.1rem);
}
.cover-scroll {
  grid-column: 2; width: max-content;
  display: grid; justify-items: center; gap: .15rem; padding: .5rem 1rem;
  color: white; font: .82rem/1.25 var(--mono); text-decoration: none;
  white-space: nowrap; text-shadow: 0 1px 3px #101412, 0 0 5px #101412;
}
.cover-scroll span { font: 1.25rem/1 var(--sans); }
@media (prefers-reduced-motion: no-preference) {
  html[data-style="cover"] { scroll-behavior: smooth; }
  .cover-film { transition: opacity 1s ease-in-out; }
  .cover-scroll span { animation: cover-nudge 1.8s ease-in-out 3; }
  @keyframes cover-nudge { 50% { transform: translateY(4px); } }
}
[data-style="cover"] .study-page { padding-top: .9rem; }
@media (max-width: 750px) {
  .cover-hero { align-items: flex-end; padding-top: clamp(2.5rem, 12svh, 8rem); padding-bottom: 1rem; }
  .cover-hero::after { background: linear-gradient(to top, rgba(15,21,20,.97) 42%, rgba(15,21,20,.15) 100%); }
  .cover-content { width: 100%; }
  .cover-identity h1 { font-size: clamp(2.3rem, 8vw, 3.7rem); }
}

.language-switch {
  justify-self: end; padding: .4rem .15rem; color: #e0e2dd; text-shadow: 0 1px 3px #101412;
  font: .875rem/1.4 var(--sans); text-decoration: none;
}
.language-switch:is(:hover, :focus-visible) { color: white; text-decoration: underline; }
:lang(zh-CN) .cover-content .bio-copy { line-height: 1.75; hyphens: none; }
