/* Round 01 — the fire-rain impact remains as the homepage itself. */
.topnav { padding: 12px 16px 10px; transition: background-color 200ms cubic-bezier(.23,1,.32,1); }
.nav-scrolled .topnav { padding: 12px 16px 10px; }
.phoenix-intro .intro-film,
.phoenix-intro .intro-veil { transition-duration: 400ms; }
.phoenix-intro.gone { transition: opacity 400ms cubic-bezier(.23,1,.32,1), visibility 0s linear 420ms; }

.hero {
  display: block;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  background: #050706;
}
.lake-handoff {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  overflow: hidden;
  background: #050403;
}
.lake-handoff img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(.78) brightness(.62) contrast(1.06);
}
.section-film--hero {
  display: block;
  z-index: 1;
  opacity: 0;
}
.hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4,6,5,.88) 0%, rgba(4,6,5,.58) 43%, rgba(4,6,5,.12) 75%, rgba(4,6,5,.26) 100%),
    linear-gradient(180deg, rgba(3,4,3,.52) 0%, transparent 34%, rgba(3,4,3,.16) 73%, rgba(3,4,3,.76) 100%);
}
.hero-entry {
  position: absolute;
  z-index: 3;
  top: clamp(132px, 17vh, 186px);
  left: 6vw;
  width: min(790px, 55vw);
  max-width: none;
}
.hero h1 {
  max-width: 790px;
  font-size: clamp(44px, 4vw, 60px);
  line-height: 1.1;
}
.hero p.lede { max-width: 540px; color: rgba(220,214,204,.72); }
.hero-actions, .now-screening { display: none; }
.ambient-ripples { display: none; }
.sound-toggle, .replay-phoenix { overflow: visible; }
.control-label {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  color: rgba(231,224,213,.68);
  font: 11px/1 "Kaiti SC", "STKaiti", serif;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-50%, -3px, 0);
  transition: opacity 180ms cubic-bezier(.23,1,.32,1), transform 180ms cubic-bezier(.23,1,.32,1);
  pointer-events: none;
}
@media (hover:hover) and (pointer:fine) {
  .sound-toggle:is(:hover,:focus-visible) .control-label,
  .replay-phoenix:is(:hover,:focus-visible) .control-label { opacity: 1; transform: translate3d(-50%,0,0); }
}
.handoff-note {
  z-index: 5;
  right: 4vw;
  bottom: 22px;
  left: auto;
  color: rgba(231,215,191,.56);
  font-size: 13px;
}
.lake-hint {
  max-width: 420px;
  margin-top: 18px;
  color: rgba(214, 204, 188, .48);
  font: 13px/1.7 "Kaiti SC", "STKaiti", serif;
}
.lake-plates {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.lake-plate {
  position: absolute;
  top: var(--point-y);
  left: var(--point-x);
  width: 72px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: auto;
  cursor: pointer;
  appearance: none;
}
.lake-plate-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 16px;
  border: 1px solid rgba(186, 214, 214, .38);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(112, 148, 150, .12), inset 0 0 8px rgba(214, 232, 230, .08);
  opacity: .7;
  transform: translate3d(-50%, -50%, 0);
  animation: lake-plate-breathe 9s ease-in-out infinite;
}
.lake-plate-ring::after {
  content: "";
  position: absolute;
  inset: 3px 10px;
  border: 1px solid rgba(214, 232, 230, .16);
  border-radius: 50%;
}
body.intro-playing .lake-plate { opacity: 0; pointer-events: none; }
body.lake-revealing .lake-plate { opacity: .28; }
.lake-plate[aria-pressed="true"] .lake-plate-ring {
  border-color: rgba(208, 154, 88, .72);
  opacity: 1;
}
.lake-plate.is-opened:not(.has-local-note) .lake-plate-ring {
  opacity: .88;
  border-color: rgba(186, 214, 214, .55);
}
.lake-plate.has-local-note .lake-plate-ring {
  opacity: 1;
  border-color: rgba(214, 232, 230, .78);
  box-shadow: 0 0 18px rgba(186, 214, 214, .24), inset 0 0 8px rgba(214, 232, 230, .14);
}
.lake-plate.has-local-note[aria-pressed="true"] .lake-plate-ring {
  border-color: rgba(208, 154, 88, .72);
}
.lake-plate:focus-visible { outline: none; }
.lake-plate:focus-visible .lake-plate-ring {
  box-shadow: 0 0 0 2px #d09a58, 0 0 0 6px rgba(7,6,5,.8);
}
@keyframes lake-plate-breathe {
  0%, 100% { opacity: .55; }
  50% { opacity: .82; }
}
.lake-screen {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}
.lake-screen[hidden] { display: none; }
.lake-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: saturate(.42) brightness(.48) contrast(1.06);
  clip-path: circle(0 at var(--reveal-x, 50%) var(--reveal-y, 50%));
  -webkit-clip-path: circle(0 at var(--reveal-x, 50%) var(--reveal-y, 50%));
  transition: clip-path 920ms cubic-bezier(.22,.61,.36,1), filter 1.1s ease;
}
.lake-screen.is-up { pointer-events: auto; }
.lake-screen.is-up img {
  filter: saturate(.58) brightness(.58) contrast(1.04);
  clip-path: circle(82% at var(--reveal-x, 50%) var(--reveal-y, 50%));
  -webkit-clip-path: circle(82% at var(--reveal-x, 50%) var(--reveal-y, 50%));
}
.lake-screen-copy {
  position: absolute;
  left: 6vw;
  bottom: 7vh;
  z-index: 1;
  max-width: min(520px, 78vw);
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition: opacity 420ms ease 280ms, transform 420ms ease 280ms;
}
.lake-screen.is-up .lake-screen-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.lake-screen-film {
  color: rgba(222, 198, 166, .78);
  font: 13px/1.4 "Kaiti SC", "STKaiti", serif;
}
.lake-screen-question {
  margin-top: 10px;
  color: #efe9de;
  font: 400 clamp(22px, 2.6vw, 34px)/1.35 "Songti SC", "STSong", serif;
  letter-spacing: -.03em;
  text-shadow: 0 4px 24px rgba(0,0,0,.7);
}
.lake-screen-enter {
  display: inline-block;
  margin-top: 16px;
  border-bottom: 1px solid rgba(224, 191, 146, .5);
  color: rgba(242, 230, 214, .86);
  font: 13px/1.4 "Kaiti SC", "STKaiti", serif;
}
.hero-entry, .impact-map { transition: opacity 360ms ease; }
body.lake-revealing .hero-entry,
body.lake-revealing .impact-map {
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .lake-plate-ring { animation: none; }
  .lake-screen img,
  .lake-screen-copy { transition: none; }
  .lake-screen img,
  .lake-screen.is-up img {
    clip-path: none;
    -webkit-clip-path: none;
  }
}

.impact-map {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.impact-point {
  position: absolute;
  top: var(--point-y);
  left: var(--point-x);
  width: 190px;
  height: 104px;
  color: #e9e1d5;
  text-decoration: none;
  opacity: .76;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: auto;
  transition: opacity 300ms cubic-bezier(.23,1,.32,1);
  transition-delay: var(--point-delay, 0s);
}
body.intro-playing .impact-point { opacity: 0; }
.impact-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 104px;
  height: 29px;
  border: 1px solid rgba(255,204,126,.52);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(221,112,30,.15), inset 0 0 12px rgba(255,218,156,.09);
  opacity: .88;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition: transform 600ms cubic-bezier(.77,0,.175,1), opacity 240ms cubic-bezier(.23,1,.32,1);
  animation: impact-breathe 8s ease-in-out infinite;
  animation-delay: calc(var(--point-delay, 0s) + 400ms);
  will-change: transform, opacity;
}
.impact-ring::after {
  content: "";
  position: absolute;
  inset: 5px 13px;
  border: 1px solid rgba(255,230,188,.24);
  border-radius: 50%;
}
.impact-point--screening .impact-ring {
  width: 132px;
  height: 36px;
  border-color: rgba(255,218,155,.86);
  box-shadow: 0 0 34px rgba(225,117,32,.25), inset 0 0 18px rgba(255,225,170,.16);
  opacity: 1;
}
.impact-point--letter .impact-ring {
  width: 58px;
  height: 17px;
  border-color: rgba(178,194,193,.42);
  box-shadow: 0 0 16px rgba(112,142,144,.12);
  opacity: .58;
}
.impact-label {
  position: absolute;
  top: 50%;
  left: calc(50% + 68px);
  width: 220px;
  opacity: 0;
  transform: translate3d(10px, -50%, 0);
  transition: opacity 220ms cubic-bezier(.23,1,.32,1) 180ms, transform 220ms cubic-bezier(.23,1,.32,1) 180ms;
  pointer-events: none;
}
.impact-point--reverse .impact-label {
  right: calc(50% + 68px);
  left: auto;
  text-align: right;
  transform: translate3d(-10px, -50%, 0);
}
.impact-label strong {
  display: block;
  font: 400 19px/1.3 "Songti SC", "STSong", serif;
  letter-spacing: -.02em;
  text-shadow: 0 2px 14px rgba(0,0,0,.9);
}
.impact-label small {
  display: block;
  margin-top: 6px;
  color: rgba(224,217,207,.62);
  font: 11px/1.55 "Kaiti SC", "STKaiti", serif;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0,0,0,.9);
}
.impact-point.is-focused { opacity: 1; transition-delay: 0s; }
.impact-point.is-focused .impact-ring { transform: translate3d(-50%, -50%, 0) scale(1.35); animation-play-state: paused; }
.impact-point.is-focused .impact-label { opacity: 1; transform: translate3d(0, -50%, 0); }
.impact-point.is-defocused { opacity: .42; transition-delay: 0s; }
.impact-point.is-visited .impact-ring { border-color: rgba(208,154,88,.9); opacity: 1; }
.impact-point.is-returned .impact-ring { box-shadow: 0 0 38px rgba(208,154,88,.38), inset 0 0 18px rgba(255,225,170,.16); }
.impact-point:focus-visible { outline: none; }
.impact-point:focus-visible .impact-ring { box-shadow: 0 0 0 2px #d09a58, 0 0 0 6px rgba(7,6,5,.8), 0 0 34px rgba(225,117,32,.3); }

@keyframes impact-breathe {
  0%, 100% { opacity: .82; }
  50% { opacity: .94; }
}

.dive-veil {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: #030302;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms cubic-bezier(.23,1,.32,1) 380ms;
}
body.lake-diving .dive-veil { opacity: 1; }
body.lake-diving .impact-point.is-diving .impact-ring {
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(.06);
  animation: none;
  transition: transform 400ms cubic-bezier(.4,0,1,1), opacity 180ms cubic-bezier(.23,1,.32,1) 220ms;
}
body.lake-diving .impact-point.is-diving .impact-label { opacity: 0; transition-delay: 0s; }
body.lake-paused .impact-ring,
body.lake-low-motion .impact-ring { animation-play-state: paused; }
body.lake-low-motion .impact-point.is-focused .impact-ring { transform: translate3d(-50%, -50%, 0); }

/* Crystal island is one video frame and one caption. Notes stay off the picture. */
.island-scene {
  position: relative;
  min-height: 100svh;
  height: 100svh;
  padding: 0;
  overflow: hidden;
}
.island-screening-still { display: none !important; }
.section-film--island {
  display: block;
  z-index: 0;
}
.island-scene .warm-light,
.island-canvas,
#islandImg,
.island-stage,
.island-scene .scene-title,
.island-scene .feature-band,
.island-scene .island-notes,
.island-scene .scene-copy { display: none !important; }
.island-screening-link {
  position: absolute;
  top: auto;
  right: auto;
  bottom: max(32px, 9vh);
  left: max(22px, 6vw);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  width: min(360px, 78vw);
  padding: 0;
  color: #eee7dc;
  text-decoration: none;
  transition: opacity 260ms cubic-bezier(.23,1,.32,1);
}
body.lake-diving .island-screening-link { opacity: .72; }
.island-screening-kicker,
.island-screening-link h2,
.island-screening-link p,
.island-screening-action {
  position: static;
  display: block;
  margin: 0;
  transform: none;
}
.island-screening-kicker {
  color: rgba(222,198,166,.78);
  font: 13px/1.4 "Kaiti SC", "STKaiti", serif;
  letter-spacing: .08em;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
}
.island-screening-link h2 {
  max-width: 8em;
  font: 400 clamp(30px, 3.6vw, 46px)/1.18 "Songti SC", "STSong", serif;
  letter-spacing: -.03em;
  text-shadow: 0 8px 38px rgba(0,0,0,.6);
}
.island-screening-link p {
  max-width: 28em;
  color: rgba(231,225,215,.78);
  font: 14px/1.75 "Songti SC", "STSong", serif;
  text-shadow: 0 2px 16px rgba(0,0,0,.78);
}
.island-screening-action {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(224,191,146,.55);
  color: rgba(242,230,214,.9);
  font: 13px/1.4 "Kaiti SC", "STKaiti", serif;
}
.island-screening-link:focus-visible { outline: 2px solid #d09a58; outline-offset: 6px; }

@media (max-width: 820px) {
  .hero { min-height: 100svh; }
  .hero-entry { top: 126px; left: 7vw; width: 86vw; }
  .hero h1 { max-width: 8.6em; font-size: clamp(39px, 10.8vw, 58px); }
  .hero p.lede { max-width: 88%; font-size: 13px; line-height: 1.82; }
  .handoff-note { display: none; }
  .impact-point { width: 132px; height: 76px; }
  .impact-ring { width: 74px; height: 21px; }
  .impact-point--screening .impact-ring { width: 94px; height: 27px; }
  .impact-label,
  .impact-point--reverse .impact-label {
    top: calc(50% + 21px);
    right: auto;
    left: 50%;
    width: 156px;
    opacity: 1;
    text-align: center;
    transform: translate3d(-50%, 0, 0);
    transition: opacity 180ms cubic-bezier(.23,1,.32,1);
  }
  .impact-label strong { font-size: 15px; }
  .impact-label small { display: none; }
  .impact-point--screening { --point-x:68%!important; --point-y:52%!important; }
  .impact-point[data-impact="classics"] { --point-x:29%!important; --point-y:63%!important; }
  .impact-point[data-impact="studies"] { --point-x:70%!important; --point-y:70%!important; }
  .impact-point[data-impact="materials"] { --point-x:31%!important; --point-y:80%!important; }
  .impact-point[data-impact="rain"] { --point-x:70%!important; --point-y:88%!important; }
  .impact-point--letter { --point-x:48%!important; --point-y:95%!important; }
  .lake-plate[data-film="shawshank"] { --point-x:50%; --point-y:42%; }
  .lake-plate[data-film="farewell"] { --point-x:22%; --point-y:54%; }
  .lake-plate[data-film="niulai"] { --point-x:78%; --point-y:54%; }
  .lake-screen-copy { left: 7vw; bottom: 10vh; }
  .lake-screen-question { font-size: clamp(18px, 5.6vw, 26px); }
  .impact-point.is-focused .impact-label { transform: translate3d(-50%, 0, 0); }
  .impact-point.is-focused .impact-ring { transform: translate3d(-50%, -50%, 0) scale(1.12); }
  .impact-point.is-defocused { opacity: .76; }
  .impact-ring { animation-duration: 12s; }
  .control-label { opacity: 1; transform: translate3d(-50%,0,0); }
  .dive-veil { transition-duration: 160ms; transition-delay: 280ms; }
  body.lake-diving .impact-point.is-diving .impact-ring { transition-duration: 300ms; }
  .island-scene { min-height: 100svh; height: 100svh; padding: 0; }
  .island-screening-link {
    left: 7vw;
    right: 7vw;
    bottom: max(28px, 8vh);
    width: auto;
    gap: 10px;
  }
  .island-screening-link h2 { font-size: clamp(28px, 8.4vw, 40px); }
  .island-screening-link p { max-width: 22em; font-size: 13px; }
}

.archive-shell[hidden] { display: none !important; }
.nav-dir {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  color: #efe9de;
  cursor: pointer;
}
.site-directory { display: none; }

@media (max-width: 900px) {
  .topnav,
  .nav-scrolled .topnav,
  .hub-nav,
  .nav-scrolled .hub-nav {
    width: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    pointer-events: none;
  }
  .brand { left: 20px; }
  .topnav > a,
  .hub-nav > a { display: none !important; }
  .nav-dir {
    display: block;
    position: fixed;
    top: 16px;
    right: 10px;
    z-index: 92;
    min-width: 44px;
    min-height: 44px;
    padding: 12px 10px 8px;
    border-bottom: 1px solid rgba(215, 198, 178, .55);
    font: 20px/1 "Kaiti SC", STKaiti, "Songti SC", STSong, "Noto Serif CJK SC", serif;
    letter-spacing: .08em;
    color: #efe9de;
    touch-action: manipulation;
  }
  .nav-dir:focus-visible {
    outline: 1px solid #d09a58;
    outline-offset: 4px;
  }
  .site-directory:not([hidden]) {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 91;
    padding: 96px 28px 40px;
    background: rgba(7, 6, 5, .96);
    gap: 0;
  }
  .site-directory a {
    display: block !important;
    padding: 20px 0;
    border-bottom: 1px solid rgba(235, 228, 215, .12);
    font: 400 26px/1.15 "Songti SC", STSong, "Noto Serif CJK SC", serif;
    color: #efe9de;
    letter-spacing: -.02em;
  }
  .site-directory a[aria-current="page"] { color: #d09a58; }
  .site-directory .rain-full { display: inline; }
  .site-directory .rain-short { display: none; }
  body.dir-open { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .impact-point { opacity: .82; transition: none; }
  body.intro-playing .impact-point { opacity: .82; }
  .impact-ring { animation: none; transition: none; }
  .impact-label,
  .impact-point--reverse .impact-label { opacity: 1; transform: translate3d(0,-50%,0); transition: none; }
  .impact-point--reverse .impact-label { transform: translate3d(0,-50%,0); }
  .impact-point.is-focused .impact-ring { transform: translate3d(-50%,-50%,0); }
  .impact-point.is-defocused { opacity: .82; }
  .dive-veil { display: none; }
  .island-screening-still--color { opacity: .22; transition: none; }
}
