.album-page {
  --album-paper: #f4f3ef;
  --album-white: #fbfaf7;
  --album-ink: #24334b;
  --album-blue: #245183;
  --album-line: #d9dddD;
  background: var(--album-paper);
  color: var(--album-ink);
}

.album-page .site-header {
  background: #f4f3eff0;
  border-bottom-color: #24334b1a;
  backdrop-filter: blur(16px);
}
.album-page .site-primary-nav a:hover,
.album-page .site-work-nav a:hover { color: var(--album-blue); }
.album-page .site-work-nav a[aria-current="page"]::after { background: var(--album-blue); }
.album-page .site-work-nav::before { color: #88939f; }
.album-page :focus-visible { outline-color: var(--album-blue); }
.album-page .skip { background: var(--album-white); }

.album-story { height: 680svh; padding-top: var(--site-header-height); }
.album-story.no-webgl { height: 100svh; min-height: 550px; }
.album-story.no-webgl .album-helix-canvas { display: none; }
@media (min-width: 701px) {
  .album-story.no-webgl .album-story-heading { top: 10%; }
  .album-story.no-webgl .album-story-heading h1 { font-size: clamp(45px, 4.8vw, 65px); }
}
.album-stage {
  position: sticky;
  top: var(--site-header-height);
  height: calc(100svh - var(--site-header-height));
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 54% 56%, #fff 0, #f8f8f5 46%, var(--album-paper) 100%);
}
.album-stage::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(90deg, #f4f3efbf 0, transparent 22%, transparent 78%, #f4f3ef55 100%);
  pointer-events: none;
}
.album-stage-topline,
.album-stage-bottomline {
  position: absolute;
  z-index: 9;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #778493;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .16em;
}
.album-stage-topline { top: 28px; }
.album-stage-bottomline { bottom: 25px; }
.album-orbit-progress { flex: 1; max-width: 260px; height: 1px; background: #24518336; }
.album-orbit-progress i { display: block; width: 100%; height: 2px; background: var(--album-blue); transform: scaleX(0); transform-origin: left; }
.album-story-heading {
  position: absolute;
  z-index: 10;
  left: 2%;
  top: 20%;
  width: 96%;
  text-align: center;
  pointer-events: none;
}
.album-eyebrow {
  margin: 0 0 19px;
  color: var(--album-blue);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .21em;
}
.album-story-heading h1 {
  margin: 0;
  font-family: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif;
  font-size: clamp(62px, 8.7vw, 116px);
  font-weight: 500;
  letter-spacing: -.075em;
  line-height: 1.08;
}
.album-story-heading h1 em { color: var(--album-blue); font-style: normal; }
.album-rail {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: end;
  gap: 9px;
  padding: 0 8% 100px;
  transition: opacity .25s;
}
.album-rail-card {
  display: block;
  flex: 0 0 min(18%, 190px);
  padding: 4px;
  background: #fff;
  border: 1px solid #dce1e6;
  box-shadow: 0 9px 22px #1d304022;
  cursor: pointer;
}
.album-rail-card:nth-child(n+7) { display: none; }
.album-rail-card img { display: block; width: 100%; height: auto; aspect-ratio: 1.4425; object-fit: contain; }
.album-rail-card:focus-visible { outline-offset: 5px; }
.album-helix-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.album-helix-back { z-index: 1; }
.album-helix-front { z-index: 3; }
.album-stage.has-webgl .album-rail { visibility: hidden; opacity: 0; pointer-events: none; }
.album-stage.has-webgl .album-helix-canvas { opacity: 1; }
.album-stage.has-webgl .album-helix-front { pointer-events: auto; cursor: pointer; }
.album-helix-canvas:focus-visible { outline: 3px solid var(--album-blue); outline-offset: -5px; }
.album-story-controls {
  position: absolute;
  z-index: 8;
  left: 5%;
  right: 5%;
  bottom: 48px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}
.album-orbit-index { display: flex; align-items: baseline; gap: 8px; min-width: 104px; white-space: nowrap; color: #84909d; font-size: 12px; }
.album-orbit-index span:first-child { color: var(--album-blue); font-size: 34px; letter-spacing: -.09em; line-height: 1; }
.album-orbit-index small { display: block; margin-left: 10px; color: #68798b; font-size: 9px; letter-spacing: .04em; }
.album-story-actions { min-width: 200px; }
.album-story-actions p { margin: 0 0 6px; color: #718092; font-size: 10px; letter-spacing: .04em; }
.album-story-actions a { display: inline-flex; gap: 14px; padding-bottom: 4px; border-bottom: 1px solid var(--album-blue); color: var(--album-blue); font-size: 12px; }
.album-story-actions a:hover { color: #15385f; border-color: #15385f; }

.album-reader {
  position: relative;
  z-index: 8;
  max-width: 1720px;
  margin: 0 auto;
  padding: clamp(90px, 10vw, 160px) max(5%, calc((100vw - 1510px) / 2)) 0;
  scroll-margin-top: calc(var(--site-header-height) + 20px);
  background: var(--album-paper);
}
.album-reader-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  margin-bottom: 58px;
}
.album-reader-heading .album-eyebrow { margin-bottom: 20px; }
.album-reader-heading h2 {
  margin: 0;
  font-family: 'Songti SC', 'STSong', 'Noto Serif CJK SC', serif;
  font-size: clamp(43px, 5.2vw, 75px);
  line-height: 1.1;
  letter-spacing: -.065em;
  font-weight: 600;
}
.album-reader-heading h2 span { color: var(--orange); }
.album-reader-help {
  max-width: 22em;
  margin: 0 0 4px;
  color: #6d7b8b;
  font-size: 12px;
  line-height: 1.9;
}
.album-reader-help p { margin: 0; }
.album-reader-help a { display: inline-block; margin-top: 9px; padding-bottom: 3px; border-bottom: 1px solid var(--album-blue); color: var(--album-blue); font-size: 11px; }
.album-reader-help a:hover { color: var(--orange); border-color: var(--orange); }
.album-reader-shell {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 60px);
  align-items: start;
  border-top: 1px solid #24334b2e;
  padding-top: 30px;
}
.album-side-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  color: #6d7b8b;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
}
.album-side-label span { color: var(--album-blue); }
.album-thumbs {
  display: grid;
  gap: 13px;
  max-height: min(76vh, 850px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2px 15px 10px 2px;
  scrollbar-color: #adb8c1 transparent;
  scrollbar-width: thin;
}
.album-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 5px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  opacity: .62;
  transition: opacity .2s, border-color .2s, background .2s;
}
.album-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1.4425; object-fit: contain; background: #fff; box-shadow: 0 2px 8px #24334b1a; }
.album-thumb span { display: block; margin-top: 6px; color: #657386; font-size: 9px; letter-spacing: .1em; }
.album-thumb:hover,
.album-thumb[aria-current="page"] { opacity: 1; }
.album-thumb[aria-current="page"] { border-color: var(--album-blue); background: #e9eef1; }
.album-thumb[aria-current="page"] span { color: var(--album-blue); font-weight: 750; }
.album-viewer { min-width: 0; }
.album-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 51px;
  margin-bottom: 18px;
}
.album-page-count { display: flex; align-items: baseline; gap: 8px; color: #84909d; font-size: 11px; font-weight: 600; }
.album-page-count span:first-child { color: var(--album-ink); font-size: 32px; line-height: 1; font-weight: 550; letter-spacing: -.06em; }
.album-count-slash { font-weight: 300; color: #aab2bb; }
.album-viewer-actions { display: flex; align-items: center; gap: 7px; }
.album-icon-button,
.album-expand-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 43px;
  min-height: 43px;
  border: 1px solid #c4ccd3;
  border-radius: 50%;
  color: var(--album-ink);
  transition: background .2s, color .2s, border-color .2s;
}
.album-icon-button { font-size: 20px; line-height: 1; }
.album-icon-button:hover:not(:disabled),
.album-expand-button:hover { background: var(--album-ink); border-color: var(--album-ink); color: #fff; }
.album-icon-button:disabled { opacity: .3; cursor: not-allowed; }
.album-toolbar-separator { width: 1px; height: 23px; margin: 0 7px; background: #cbd2d8; }
.album-expand-button { gap: 14px; padding: 0 16px; border-radius: 24px; font-size: 11px; }
.album-expand-button span { font-size: 18px; }
.album-image-button {
  display: block;
  position: relative;
  width: 100%;
  padding: 12px;
  overflow: hidden;
  border: 1px solid #e2e4e3;
  background: #fff;
  box-shadow: 0 34px 80px #24334b18, 0 4px 13px #24334b0d;
  cursor: zoom-in;
}
.album-image-button:active { transform: none; }
.album-image-button img { display: block; width: 100%; height: auto; aspect-ratio: 1.4425; object-fit: contain; background: #fff; }
.album-load-error { position: absolute; inset: 12px; display: grid; place-items: center; background: #f1f3f3; color: #715340; font-size: 12px; }
.album-load-error[hidden] { display: none; }
.album-viewer-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 17px; color: #84909d; font-size: 10px; letter-spacing: .04em; }
.album-bottom-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 65px;
  padding: 26px 0 55px;
  border-top: 1px solid #24334b2b;
  font-size: 12px;
}
.album-bottom-nav a:hover { color: var(--album-blue); }
.album-footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; min-height: 130px; padding: 30px 6%; background: #e9ecec; color: #6f7a86; font-size: 10px; }
.album-footer .logo { color: var(--album-ink); }
.album-footer > a:last-child:hover { color: var(--album-blue); }

.album-zoom {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #202b3a;
  color: #f5f7fa;
  box-shadow: none;
  overflow: hidden;
}
.album-zoom::backdrop { background: #14202de8; }
.album-zoom[open] { display: grid; grid-template-rows: 64px minmax(0, 1fr) 65px; }
.album-zoom-toolbar,
.album-zoom-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(15px, 3vw, 45px); font-size: 11px; letter-spacing: .05em; }
.album-zoom-toolbar { border-bottom: 1px solid #ffffff22; }
.album-zoom-toolbar > div { display: flex; align-items: center; gap: 22px; }
.album-zoom-toolbar button,
.album-zoom-nav button { color: #f5f7fa; font-size: 11px; padding: 10px 0; }
.album-zoom-toolbar button:hover,
.album-zoom-nav button:hover:not(:disabled) { color: #f5a265; }
.album-zoom-toolbar button[aria-pressed="true"] { color: #f5a265; }
.album-zoom-nav { border-top: 1px solid #ffffff22; }
.album-zoom-nav span { color: #b2bfcb; font-size: 10px; }
.album-zoom-nav button:disabled { opacity: .28; cursor: not-allowed; }
.album-zoom-canvas { min-height: 0; display: grid; place-items: center; overflow: auto; padding: 18px; }
.album-zoom-canvas img { display: block; max-width: 100%; max-height: calc(100dvh - 165px); width: auto; height: auto; object-fit: contain; box-shadow: 0 15px 45px #0005; cursor: zoom-in; }
.album-zoom-canvas.is-zoomed { display: block; }
.album-zoom-canvas.is-zoomed img { max-width: none; max-height: none; width: max(100%, 2400px); height: auto; margin: 0 auto; cursor: zoom-out; }

@media (max-width: 900px) {
  .album-story-heading { left: 7%; width: 86%; }
  .album-story-heading h1 { font-size: clamp(48px, 7vw, 66px); }
  .album-reader-shell { grid-template-columns: 125px minmax(0, 1fr); gap: 24px; }
}

@media (min-width: 701px) and (max-height: 700px) {
  .album-story-heading { top: 10%; }
  .album-story-heading .album-eyebrow { margin-bottom: 5px; }
  .album-story-heading h1 { font-size: clamp(48px, 5.5vw, 70px); line-height: 1.08; }
}

@media (max-width: 700px) {
  .album-story { height: 620svh; }
  .album-stage { min-height: 0; }
  .album-stage-topline,
  .album-stage-bottomline { left: 7%; right: 7%; font-size: 7px; }
  .album-stage-topline { top: 21px; }
  .album-stage-bottomline { bottom: 18px; }
  .album-story-heading { left: 5%; top: 18%; width: 90%; }
  .album-story-heading h1 { font-size: clamp(36px, 9vw, 49px); line-height: 1.17; }
  .album-story-heading h1 span, .album-story-heading h1 em { display: block; }
  .album-eyebrow { margin-bottom: 15px; font-size: 8px; }
  .album-rail { gap: 6px; padding: 0 6% 100px; }
  .album-rail-card { flex-basis: 30%; padding: 3px; }
  .album-story-controls { left: 7%; right: 7%; bottom: 45px; gap: 10px; }
  .album-orbit-index { min-width: 0; gap: 5px; font-size: 10px; }
  .album-orbit-index span:first-child { font-size: 27px; }
  .album-orbit-index small { display: none; }
  .album-story-actions { min-width: 0; text-align: right; }
  .album-story-actions p { font-size: 8px; }
  .album-story-actions a { font-size: 10px; }
  .album-orbit-progress { max-width: 100px; }
  .album-reader { padding: 90px 7% 0; }
  .album-reader-heading { display: block; margin-bottom: 30px; }
  .album-reader-heading h2 { font-size: 46px; }
  .album-reader-help { margin-top: 15px; font-size: 11px; }
  .album-reader-shell { display: flex; flex-direction: column; gap: 16px; padding-top: 17px; }
  .album-thumbs-wrap,
  .album-viewer { width: 100%; }
  .album-side-label { margin-bottom: 8px; }
  .album-thumbs { display: flex; gap: 7px; max-height: none; overflow-x: auto; overflow-y: hidden; padding: 0 0 8px; scroll-snap-type: x proximity; }
  .album-thumb { flex: 0 0 82px; padding: 3px; scroll-snap-align: start; }
  .album-thumb span { margin-top: 3px; font-size: 8px; }
  .album-viewer-toolbar { margin-bottom: 9px; }
  .album-page-count span:first-child { font-size: 25px; }
  .album-icon-button,
  .album-expand-button { min-width: 39px; min-height: 39px; }
  .album-expand-button { gap: 5px; padding: 0 10px; font-size: 9px; }
  .album-expand-button span { font-size: 15px; }
  .album-image-button { padding: 6px; }
  .album-viewer-foot { font-size: 8px; }
  .album-bottom-nav { margin-top: 42px; padding-bottom: 42px; font-size: 10px; }
  .album-footer { min-height: 110px; padding: 25px 7%; flex-wrap: wrap; }
  .album-zoom[open] { grid-template-rows: 55px minmax(0, 1fr) 55px; }
  .album-zoom-toolbar,
  .album-zoom-nav { gap: 8px; padding: 0 12px; font-size: 9px; }
  .album-zoom-toolbar > div { gap: 15px; }
  .album-zoom-nav span { display: none; }
  .album-zoom-canvas { padding: 8px; }
  .album-zoom-canvas img { max-height: calc(100dvh - 126px); }
  .album-zoom-canvas.is-zoomed img { width: max(170%, 1500px); }
}

@media (max-width: 390px) {
  .album-story-heading { top: 18%; }
  .album-story-heading h1 { font-size: 35px; }
  .album-stage-bottomline span:last-child { display: none; }
  .album-expand-button { font-size: 0; }
  .album-expand-button span { font-size: 16px; }
  .album-bottom-nav { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .album-story { height: 100svh; min-height: 550px; }
  .album-stage { position: relative; top: 0; height: 100%; }
  .album-stage-bottomline span:last-child { display: none; }
  .album-thumb,
  .album-icon-button,
  .album-expand-button { transition: none; }
}
