*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* A fully transparent cursor image instead of `cursor: none`: macOS re-shows
   a hidden cursor on every click (OS-level, all browsers), but a transparent
   cursor image is never "hidden", so nothing reappears. `none` is fallback. */
html.has-custom-cursor,
html.has-custom-cursor * {
  cursor: url("assets/blank-cursor.png") 0 0, none !important;
}

/* Same invisible cursor via a transparent 1x1 image. Toggling between this
   and `none` changes the computed cursor value, which forces Chromium/WebKit
   to re-apply the hidden cursor right after a click (otherwise the OS cursor
   reappears until the mouse moves). */
html.has-custom-cursor.cursor-alt,
html.has-custom-cursor.cursor-alt * {
  cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=")
      0 0,
    none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  pointer-events: none;
  opacity: 0;
  /* Position via left/top in JS; avoid transform on the root layer. */
}

.custom-cursor.is-visible {
  opacity: 1;
}

.custom-cursor-spin,
.custom-cursor-label,
.custom-cursor-text {
  display: none;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.custom-cursor.is-label .custom-cursor-spin,
.custom-cursor.is-label .custom-cursor-label {
  display: block;
}

.custom-cursor.is-text .custom-cursor-text {
  display: block;
}

.custom-cursor-label {
  width: 50px;
  height: 61px;
  object-fit: contain;
  transform-origin: 50% 50%;
}

.custom-cursor-text {
  width: 45px;
  height: 86px;
  object-fit: contain;
}

/* Outer wrapper rotates; inner image breathes so both run together. */
.custom-cursor-spin {
  width: 50px;
  height: 61px;
  transform-origin: 50% 50%;
  animation: custom-cursor-spin 7.5s linear infinite;
}

.custom-cursor.is-label .custom-cursor-label {
  animation: custom-cursor-breathe 2.8s ease-in-out infinite;
}

@keyframes custom-cursor-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes custom-cursor-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.82);
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-cursor-spin,
  .custom-cursor.is-label .custom-cursor-label {
    animation: none;
  }
}

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  /* Same artwork as the stage bg, stretched over the whole viewport, so the
     bands around the contained artboard blend in instead of showing gray. */
  background: #4e4e4e url("assets/bg.png") center / 100% 100% no-repeat;
}

body {
  font-family: "Kameron", Georgia, serif;
  color: #bcb5b5;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.viewport {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.scale-wrap {
  position: relative;
  overflow: hidden;
}

.stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 1728px;
  height: 1117px;
  background: transparent;
  transform-origin: top left;
}

/* The artboard's own bg layer is hidden: the body paints the same artwork
   across the entire viewport, so the artboard and the side bands share one
   continuous background with no seam at the artboard edges. */
.bg {
  display: none;
}

.book-frame {
  position: absolute;
  width: 1516px;
  height: 1026px;
  left: calc(50% - 1516px / 2 + 87px);
  top: calc(50% - 1026px / 2 - 1.5px);
  background: url("assets/group-6.png") center / 100% 100% no-repeat;
}

.page {
  position: absolute;
  top: 62px;
  height: 1009px;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.page-left {
  width: 446px;
  left: 251px;
  background-image: url("assets/rectangle-13.png");
}

.page-right {
  width: 941px;
  left: 697px;
  background-image: url("assets/rectangle-11.png");
}

.page-left-research {
  width: 440px;
  height: 1008px;
  left: 247px;
  top: 62px;
  background-image: url("assets/rectangle-14.png");
  z-index: 1;
}

.left-page-3d {
  position: absolute;
  left: 247px;
  top: 62px;
  width: 440px;
  height: 1008px;
  perspective: 1600px;
  perspective-origin: 100% 50%;
  z-index: 2;
  pointer-events: none;
}

.left-page-leaf {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform-origin: right center;
  will-change: transform;
}

.research-stage[data-mode="reading"] .left-page-leaf {
  transform: rotateY(-180deg);
  opacity: 0;
  pointer-events: none;
}

.left-page-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.page-face-bg {
  position: absolute;
  inset: 0;
  background: url("assets/rectangle-14.png") center / 100% 100% no-repeat;
}

.page-right-research {
  width: 940px;
  height: 1008px;
  left: 697px;
  top: 62px;
  background-image: url("assets/group-8.png");
  transition: opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.page-right-essay {
  width: 941px;
  height: 1009px;
  left: 697px;
  top: 62px;
  background-image: url("assets/rectangle-11.png");
  opacity: 0;
  transition: opacity 320ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
  pointer-events: none;
}

.research-stage[data-mode="reading"] .page-right-research {
  opacity: 0;
}

.research-stage[data-mode="reading"] .page-right-essay {
  opacity: 1;
}

.research-stage[data-mode="toc"] .page-right-research {
  opacity: 0;
}

.research-stage[data-mode="toc"] .page-right-essay {
  opacity: 1;
}

.research-stage[data-mode="toc"] .left-page-leaf {
  opacity: 0;
  pointer-events: none;
}

.research-stage[data-mode="toc"] .research-title,
.research-stage[data-mode="toc"] .research-blurb {
  opacity: 0;
  pointer-events: none;
}

.research-stage[data-mode="toc"] .research-hit {
  pointer-events: none;
}

.research-stage[data-mode="toc"] .research-scroll {
  overflow-y: auto;
  opacity: 1;
  pointer-events: auto;
}

.research-stage[data-mode="toc"].is-toc-empty .research-scroll {
  opacity: 0;
  pointer-events: none;
}

.research-stage[data-mode="toc"] .research-essay-side,
.research-stage[data-mode="reading"].has-essay-index .research-essay-side {
  display: block;
}

.research-stage[data-mode="toc"] .paper-current-title {
  display: none;
}

.research-stage[data-mode="toc"] .paper-toc {
  top: 96px;
  max-height: 900px;
  overflow-y: auto;
  gap: 22px;
}

.research-stage[data-mode="toc"] .paper-toc-item.is-active {
  opacity: 1;
}

.research-stage[data-mode="cover"] .left-page-leaf {
  opacity: 1;
  pointer-events: none;
  transform: none;
}

.research-stage[data-mode="cover"] .research-title {
  opacity: 1;
  pointer-events: none;
}

.research-stage[data-mode="cover"] .page-right-research {
  opacity: 1;
}

.research-stage[data-mode="cover"] .page-right-essay {
  opacity: 0;
}

.research-stage[data-mode="cover"] .research-scroll {
  opacity: 0;
  pointer-events: none;
}

.research-stage[data-mode="cover"] .research-essay-side {
  display: none;
}

.research-stage.has-essay-index[data-mode="reading"] .paper-current-title {
  display: flex;
}

.research-stage.has-essay-index[data-mode="reading"] .research-title {
  opacity: 0;
  pointer-events: none;
}

.toc-abstract-label {
  margin: 0 0 18px;
  font-family: "Kameron", Georgia, serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
  color: #bcb5b5;
}

.toc-abstract {
  font-family: "Kameron", Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  color: #bcb5b5;
  text-align: left;
}

.toc-abstract p {
  margin: 0 0 1em;
}

.toc-abstract p:last-child {
  margin-bottom: 0;
}

.nav-item {
  position: absolute;
  display: block;
  transition: transform 220ms ease, filter 220ms ease;
  z-index: 3;
}

.nav-item:hover,
.nav-item:focus-visible {
  transform: translateX(6px);
  filter: brightness(1.08);
  outline: none;
}

.nav-logo {
  width: 253px;
  height: 254px;
  left: 8px;
  top: 79px;
}

.nav-research,
.nav-research-active {
  width: 254px;
  height: 79px;
  left: -2px;
  top: 418px;
}

.nav-documentary,
.nav-documentary-active {
  width: 214px;
  height: 81px;
  left: 33px;
  top: 479px;
}

.nav-exhibition,
.nav-exhibition-active {
  width: 204px;
  height: 79px;
  left: 34px;
  top: 542px;
}

.nav-interpretive,
.nav-interpretive-active {
  width: 227px;
  height: 83px;
  left: 7px;
  top: 603px;
}

.nav-tour,
.nav-tour-active {
  width: 191px;
  height: 82px;
  left: 37px;
  top: 665px;
}

.nav-poetry,
.nav-poetry-active {
  width: 146px;
  height: 83px;
  left: 74px;
  top: 726px;
}

.nav-youngarts,
.nav-youngarts-active {
  width: 179px;
  height: 83px;
  left: 36px;
  top: 788px;
}

.nav-paper,
.nav-paper-active {
  width: 227px;
  height: 83px;
  left: 7px;
  top: 603px;
}

.nav-resume,
.nav-resume-active {
  width: 155px;
  height: 95px;
  left: 46px;
  top: 940px;
}

.title-left {
  position: absolute;
  width: 355px;
  height: 551px;
  left: 282px;
  top: 136px;
  font-weight: 600;
  font-size: 42px;
  line-height: 60px;
  text-align: center;
  color: #bcb5b5;
  z-index: 2;
}

.author {
  position: absolute;
  width: 227px;
  height: 33px;
  left: 346px;
  top: 729px;
  font-weight: 600;
  font-size: 28px;
  line-height: 33px;
  color: #bcb5b5;
  text-align: center;
  z-index: 2;
}

.heading-what,
.heading-why {
  position: absolute;
  font-weight: 700;
  font-size: 42px;
  line-height: 50px;
  color: #bcb5b5;
  z-index: 2;
}

.heading-what {
  width: 854px;
  height: 50px;
  left: 802px;
  top: 137px;
}

.heading-why {
  width: 536px;
  height: 50px;
  left: 802px;
  top: 713px;
}

.body-what,
.body-why {
  position: absolute;
  width: 818px;
  left: 802px;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #967272;
  z-index: 2;
}

.body-what {
  height: 480px;
  top: 203px;
}

.body-why {
  height: 240px;
  top: 779px;
}

.body-what p + p,
.body-why p + p {
  margin-top: 0.85em;
}

.nav-logo-research {
  width: 253px;
  height: 254px;
  left: 8px;
  top: 79px;
}

.research-abstract-block {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: auto;
}

.research-abstract a {
  pointer-events: auto;
}

.research-abstract-label {
  position: absolute;
  width: 123px;
  height: 36px;
  /* 399 - 248 = 151 relative to left page shell */
  left: 152px;
  top: 75px;
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
  color: #bcb5b5;
  text-align: left;
}

.research-abstract {
  position: absolute;
  width: 398px;
  height: 914px;
  /* 269 - 248 = 21 */
  left: 22px;
  top: 141px;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  text-align: left;
  color: #bcb5b5;
  overflow: hidden;
}

.research-stage {
  perspective: 1800px;
}

.research-title {
  position: absolute;
  width: 778px;
  height: 251px;
  left: 778px;
  top: 311px;
  font-weight: 700;
  font-size: 52px;
  line-height: 62px;
  text-align: center;
  color: #bcb5b5;
  z-index: 6;
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform;
  pointer-events: none;
  backface-visibility: hidden;
}

.research-stage[data-mode="reading"] .research-title {
  width: 387px;
  height: 415px;
  left: 283px;
  top: 137px;
  font-size: 42px;
  line-height: 60px;
}

.research-blurb {
  position: absolute;
  width: 778px;
  height: 120px;
  left: 778px;
  top: 856px;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #bcb5b5;
  z-index: 4;
  transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.research-stage[data-mode="reading"] .research-blurb {
  opacity: 0;
  pointer-events: none;
}

.research-hit {
  position: absolute;
  left: 697px;
  top: 62px;
  width: 941px;
  height: 1009px;
  z-index: 3;
}

.research-stage[data-mode="reading"] .research-hit {
  pointer-events: none;
}

.research-scroll {
  position: absolute;
  left: 786px;
  top: 137px;
  width: 778px;
  height: 912px;
  z-index: 4;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1) 40ms;
  scrollbar-width: none;
  overscroll-behavior: contain;
  scroll-padding-top: 0;
  overflow-anchor: none;
}

.research-stage[data-mode="reading"] .research-scroll {
  overflow-y: auto;
  opacity: 1;
  pointer-events: auto;
}

.research-scroll:focus {
  outline: none;
}

.research-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.research-essay {
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #bcb5b5;
  padding: 0 18px 48px 0;
}

.essay-rail {
  position: absolute;
  /* Centered in the right gutter between essay text and page edge (~1564–1638). */
  left: 1583px;
  top: 160px;
  width: 36px;
  height: 860px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.research-stage[data-mode="reading"] .essay-rail:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

.essay-rail-mark {
  appearance: none;
  border: 0;
  padding: 0;
  position: relative;
  width: 28px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: rgba(188, 181, 181, 0.38);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, width 160ms ease;
}

/* Invisible expanded hit zone so the key cursor triggers easily. */
.essay-rail-mark::after {
  content: "";
  position: absolute;
  top: -6px;
  bottom: -6px;
  left: -16px;
  right: -16px;
}

.essay-rail-mark:hover,
.essay-rail-mark:focus-visible {
  background: rgba(188, 181, 181, 0.82);
  outline: none;
  transform: scaleX(1.15);
}

.essay-rail-mark.is-active {
  width: 32px;
  background: #bcb5b5;
}

.essay-p {
  margin: 0 0 1em;
  text-align: left;
}

.essay-heading {
  margin: 1.4em 0 0.75em;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #bcb5b5;
}

.essay-quote {
  margin: 0.9em 0 0.9em 1.5em;
  padding: 0;
  border: 0;
  font-style: italic;
  color: #bcb5b5;
}

.essay-quote em {
  font-style: italic;
}

.research-essay em {
  font-style: italic;
}

.research-essay strong {
  font-weight: 700;
}

.research-essay a {
  color: #d4c4c4;
  text-decoration: underline;
  text-underline-offset: 2px;
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.essay-poem-line {
  margin: 0 0 0.2em;
  text-align: left;
  white-space: pre-wrap;
}

.body-what a,
.body-why a,
.research-abstract a {
  color: #d4c4c4;
  text-decoration: underline;
  text-underline-offset: 2px;
  pointer-events: auto;
  cursor: pointer;
}

.research-stage[data-mode="reading"] .research-essay-side {
  display: block;
}

.research-essay-side[hidden] {
  display: none !important;
}

/* Cover/detail shared shell: only text + active label differ per section */

.documentary-stage .research-abstract {
  height: 408px;
}

.documentary-title {
  width: 532px;
  height: 62px;
  left: 937px;
  top: 311px;
  font-size: 52px;
  line-height: 62px;
}

.documentary-meta {
  position: absolute;
  width: 293px;
  height: 552px;
  left: 1057px;
  top: 425px;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #bcb5b5;
  z-index: 4;
  pointer-events: none;
  transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.documentary-meta p {
  margin: 0;
}

.documentary-meta-gap {
  margin-top: 1.1em !important;
}

.documentary-stage[data-mode="reading"] .documentary-meta {
  opacity: 0;
  pointer-events: none;
}

.exhibit-title {
  width: 839px;
  height: 186px;
  left: 748px;
  top: 326px;
  font-size: 52px;
  line-height: 62px;
}

.exhibit-quote {
  position: absolute;
  width: 398px;
  height: 144px;
  left: 22px;
  top: 141px;
  font-weight: 400;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: #bcb5b5;
  margin: 0;
}

.exhibit-thesis {
  position: absolute;
  width: 398px;
  height: 168px;
  left: 22px;
  top: 358px;
  font-weight: 400;
  font-size: 22px;
  line-height: 24px;
  text-align: center;
  color: #bcb5b5;
  margin: 0;
}

.exhibit-credit {
  position: absolute;
  width: 285px;
  height: 72px;
  left: 1025px;
  top: 717px;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #bcb5b5;
  z-index: 4;
  pointer-events: none;
}

/* Interpretive / multi-essay paper — toc then reading */
.paper-stage[data-mode="reading"] .page-right-essay {
  opacity: 1;
}

.paper-stage[data-mode="toc"] .page-right-essay {
  opacity: 1;
}

.paper-stage[data-mode="toc"] .paper-current-title {
  display: none;
}

.paper-stage[data-mode="toc"] .paper-toc {
  top: 96px;
  max-height: 900px;
  overflow-y: auto;
  gap: 22px;
}

.paper-stage[data-mode="toc"] .research-scroll,
.paper-stage[data-mode="toc"] .paper-scroll {
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
}

.paper-stage[data-mode="toc"].is-toc-empty .research-scroll,
.paper-stage[data-mode="toc"].is-toc-empty .paper-scroll {
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
}

.paper-stage[data-mode="toc"] .essay-rail {
  opacity: 0;
  pointer-events: none;
}

.paper-stage .page-left-research {
  opacity: 1;
}

.paper-side {
  position: absolute;
  left: 247px;
  top: 62px;
  width: 440px;
  height: 1008px;
  z-index: 4;
  pointer-events: none;
}

.paper-current-title {
  position: absolute;
  width: 394px;
  min-height: 180px;
  max-height: 560px;
  left: 22px;
  top: 75px;
  font-family: "Kameron", Georgia, serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
  text-align: left;
  color: #bcb5b5;
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.paper-toc {
  position: absolute;
  left: 22px;
  top: 691px;
  width: 394px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  pointer-events: auto;
}

.paper-toc-item {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  width: 394px;
  min-height: 0;
  background: transparent;
  font-family: "Kameron", Georgia, serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-align: left;
  color: #bcb5b5;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: opacity 160ms ease, transform 160ms ease;
}

.paper-toc-item.is-active {
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
}

.paper-toc-marker {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid #bcb5b5;
  background: transparent;
  box-sizing: border-box;
}

.paper-toc-item.is-active .paper-toc-marker,
.paper-toc-marker.is-filled {
  background: #bcb5b5;
}

.paper-toc-item.is-active .paper-toc-marker {
  margin-top: 12px;
}

.paper-current-title .paper-toc-marker {
  margin-top: 12px;
}

.paper-toc-label {
  flex: 1;
  min-width: 0;
}

.paper-toc-item:hover,
.paper-toc-item:focus-visible {
  opacity: 1;
  outline: none;
  transform: none;
}

.paper-stage.is-single-essay .paper-toc-marker,
.paper-stage.is-single-essay .paper-toc {
  display: none !important;
}

.paper-stage.is-single-essay .paper-current-title {
  display: block;
  left: 36px;
  width: 367px;
  text-align: left;
}

.paper-stage.is-single-essay.title-center .paper-current-title {
  text-align: center;
  left: 22px;
  width: 394px;
}

.research-blurb[hidden] {
  display: none !important;
}

.paper-stage .paper-scroll,
.paper-stage .research-scroll {
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
}

.paper-stage .essay-rail:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

/* Resume — detail-only */
.resume-stage[data-mode="reading"] .page-right-essay {
  opacity: 1;
}

.resume-stage .page-left-research {
  opacity: 1;
}

.resume-side {
  position: absolute;
  left: 247px;
  top: 62px;
  width: 440px;
  height: 1008px;
  z-index: 4;
  pointer-events: none;
}

.resume-bio-label {
  position: absolute;
  width: 47px;
  height: 36px;
  left: 198px;
  top: 80px;
  margin: 0;
  font-family: "Kameron", Georgia, serif;
  font-weight: 600;
  font-size: 30px;
  line-height: 36px;
  color: #bcb5b5;
  text-align: center;
}

.resume-photo {
  position: absolute;
  width: 200px;
  height: 200px;
  left: 120px;
  top: 145px;
  overflow: hidden;
}

.resume-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resume-bio-text {
  position: absolute;
  width: 398px;
  left: 22px;
  top: 365px;
  margin: 0;
  font-family: "Kameron", Georgia, serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 23px;
  text-align: left;
  color: #bcb5b5;
  overflow: visible;
}

.resume-bio-text p {
  margin: 0 0 12px;
}

.resume-bio-text p:last-child {
  margin-bottom: 0;
}

.resume-stage .resume-scroll,
.resume-stage .research-scroll {
  opacity: 1;
  pointer-events: auto;
  overflow-y: auto;
}

.resume-stage .essay-rail:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

.resume-essay {
  font-family: "Kameron", Georgia, serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #bcb5b5;
}

.resume-header {
  margin-bottom: 28px;
}

.resume-name {
  margin: 0 0 8px;
  font-weight: 600;
  font-size: 28px;
  line-height: 34px;
  color: #bcb5b5;
  text-align: left;
}

.resume-contact {
  margin: 0;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #bcb5b5;
}

.resume-section {
  margin-top: 28px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 22px;
  line-height: 28px;
}

.resume-subhead {
  margin: 16px 0 8px;
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: #bcb5b5;
}

.resume-list {
  margin: 0 0 8px;
  padding-left: 1.2em;
  list-style: disc;
  color: #bcb5b5;
}

.resume-list li {
  margin: 0 0 0.45em;
  padding-left: 0.15em;
}

.resume-list ul {
  margin: 0.35em 0 0.55em;
  padding-left: 1.15em;
  list-style: circle;
}

.page-gallery {
  width: 1389px;
  height: 1009px;
  left: 249px;
  top: 62px;
  background-image: url("assets/rectangle-11.png");
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.exhibit-slide {
  position: absolute;
  width: 1296px;
  height: 733px;
  left: 296px;
  top: 214px;
  border-radius: 30px;
  overflow: hidden;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease, transform 180ms ease;
  background: #1c1c1c;
  padding: 0;
  border: 0;
  appearance: none;
  cursor: zoom-in;
}

.exhibit-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
  pointer-events: none;
}

.research-stage[data-mode="gallery"] .exhibit-slide:hover {
  transform: scale(1.005);
}

.exhibit-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  background: rgba(20, 20, 20, 0.88);
  cursor: zoom-out;
}

.exhibit-lightbox[hidden] {
  display: none !important;
}

.exhibit-lightbox img {
  max-width: min(1600px, 92vw);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  pointer-events: none;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.exhibit-lightbox-close {
  position: absolute;
  top: 28px;
  right: 32px;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 8px 10px;
  font-family: "Kameron", Georgia, serif;
  font-size: 18px;
  line-height: 1;
  color: #bcb5b5;
  cursor: pointer;
  z-index: 1001;
}

.exhibit-lightbox-close:hover,
.exhibit-lightbox-close:focus-visible {
  opacity: 0.75;
  outline: none;
}

.exhibit-nav-btn {
  position: absolute;
  width: 30px;
  height: 18px;
  left: 929px;
  padding: 0;
  border: 0;
  appearance: none;
  background: transparent;
  cursor: pointer;
  z-index: 8;
  opacity: 0;
  pointer-events: none;
}

/* Invisible expanded hit zone so the key cursor triggers easily. */
.exhibit-nav-btn::after {
  content: "";
  position: absolute;
  top: -20px;
  bottom: -20px;
  left: -30px;
  right: -30px;
  transition: opacity 200ms ease, transform 160ms ease, filter 160ms ease;
}

.exhibit-nav-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.exhibit-nav-up {
  top: 148px;
}

.exhibit-nav-down {
  top: 995px;
}

.exhibit-nav-btn:hover,
.exhibit-nav-btn:focus-visible {
  transform: scale(1.08);
  filter: brightness(1.12);
  outline: none;
}

.exhibit-nav-btn:disabled {
  opacity: 0.28 !important;
  cursor: default;
  transform: none;
  filter: none;
}

.research-stage[data-mode="gallery"] .page-gallery {
  opacity: 1;
}

.research-stage[data-mode="gallery"] .page-left-research,
.research-stage[data-mode="gallery"] .page-right-research,
.research-stage[data-mode="gallery"] .page-right-essay,
.research-stage[data-mode="gallery"] .left-page-3d,
.research-stage[data-mode="gallery"] .research-scroll,
.research-stage[data-mode="gallery"] .research-blurb,
.research-stage[data-mode="gallery"] .exhibit-credit,
.research-stage[data-mode="gallery"] .research-title,
.research-stage[data-mode="gallery"] .exhibit-title {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.research-stage[data-mode="gallery"] .essay-rail:not([hidden]) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 7;
}

.research-stage[data-mode="gallery"] .exhibit-slide {
  opacity: 1;
  pointer-events: auto;
}

.research-stage[data-mode="gallery"] .exhibit-nav-btn:not([hidden]) {
  opacity: 1;
  pointer-events: auto;
}

.research-stage[data-mode="gallery"] .research-hit {
  left: 249px;
  width: 1389px;
  height: 1009px;
  top: 62px;
  pointer-events: none;
  z-index: 5;
}

@media (prefers-reduced-motion: reduce) {
  .page-right-research,
  .page-right-essay,
  .research-blurb,
  .research-scroll,
  .left-page-leaf {
    transition: none !important;
  }

  .research-stage[data-mode="reading"] .left-page-leaf {
    transform: rotateY(-180deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-item {
    transition: none;
  }

  .nav-item:hover,
  .nav-item:focus-visible {
    transform: none;
    filter: none;
  }
}
