:root {
  color-scheme: dark;
  --ink: #111617;
  --paper: #faf5e9;
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", "SimSun", serif;
  --edge: clamp(24px, 4.5vw, 86px);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.masthead {
  min-height: 72px;
  padding: max(14px, env(safe-area-inset-top)) max(var(--edge), env(safe-area-inset-right)) 14px max(var(--edge), env(safe-area-inset-left));
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.masthead h1 { margin: 0; font: 500 19px/1.3 var(--serif); letter-spacing: .12em; }
.masthead h1 span {
  margin-left: .5em;
  font: italic 17px/1.2 Georgia, "Times New Roman", serif;
  letter-spacing: .01em;
  color: #d9d7ca;
}
.maker { font: 500 10px/1.2 Georgia, serif; text-transform: uppercase; letter-spacing: .22em; }
main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #263a44;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 410px;
  height: calc(100vh - 96px);
  height: calc(100svh - 96px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
}
.panorama, main::after {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.panorama { z-index: -2; }
.panorama img {
  display: block;
  position: absolute;
  top: 0;
  width: 53%;
  height: 100%;
  object-fit: cover;
}
.lake-still { left: 0; object-position: 44% 50%; }
.reef-still {
  right: 0;
  object-position: 50% 50%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 11.3%);
  mask-image: linear-gradient(to right, transparent, #000 11.3%);
}
main::after {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, rgb(7 15 20 / .91), rgb(9 18 24 / .61) 15%, rgb(10 19 26 / .13) 41%, transparent 67%);
}
.scene {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--edge) clamp(34px, 6vh, 80px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.caption { max-width: 100%; }
.place { margin: 0 0 10px; font-size: clamp(11px, .95vw, 14px); letter-spacing: .15em; }
.place span { padding: 0 .1em; }
h2 { margin: 0; font: 400 clamp(38px, 5.7vw, 96px)/1.08 var(--serif); letter-spacing: .04em; }
.original-name {
  margin: 7px 0 0;
  font: italic 400 clamp(20px, 2.1vw, 36px)/1.22 Georgia, "Times New Roman", serif;
  color: #eee7d8;
}
.action {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: clamp(22px, 3.7vh, 46px);
  min-height: 32px;
  font: 500 14px/1.3 "PingFang SC", system-ui, sans-serif;
  letter-spacing: .09em;
}
.action i { display: inline-block; font: 400 24px/1 Georgia, serif; transition: transform .3s ease; }
.scene:focus-visible { outline: 3px solid #fff6d0; outline-offset: -6px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .scene:hover .action i { transform: translateX(5px); }
  .scene:hover .action { text-decoration: underline; text-underline-offset: .4em; }
}
@media (max-width: 600px) {
  :root { --edge: clamp(14px, 4.1vw, 24px); }
  .masthead { min-height: 60px; }
  .masthead h1 { font-size: 16px; }
  .masthead h1 span { font-size: 15px; }
  main { height: calc(100svh - 77px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); min-height: 400px; }
  .scene { padding-bottom: max(30px, 5.5svh); }
  .place { font-size: 11px; margin-bottom: 12px; letter-spacing: .03em; }
  h2 { font-size: clamp(29px, 8vw, 48px); white-space: nowrap; }
  .original-name { font-size: clamp(13px, 3.5vw, 19px); white-space: nowrap; }
  .action { font-size: 13px; gap: 9px; margin-top: 22px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .masthead { min-height: 42px; padding-top: 7px; padding-bottom: 7px; }
  main { height: calc(100svh - 53px); min-height: 235px; }
  .scene { padding-bottom: 15px; }
  .place { margin-bottom: 5px; }
  h2 { font-size: clamp(32px, 4.5vw, 55px); }
  .original-name { font-size: 18px; margin-top: 2px; }
  .action { min-height: 24px; margin-top: 9px; }
}
