@charset "UTF-8";
@font-face {
  font-family: "Baskerville Neo";
  src: url("../assets/BaskervilleNeo-TextItalic.woff2") format("woff2"), url("../assets/BaskervilleNeo-TextItalic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Baskerville Neo";
  src: url("../assets/BaskervilleNeo-Text.woff2") format("woff2"), url("../assets/BaskervilleNeo-Text.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
:root {
  --mobile-header-h: 52px;
  --mobile-image-h: 38vh;
  --mobile-gap: 10px;
  --mobile-side-pad: 1.7rem;
  --mobile-caption-h: 2.2rem ;
}

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

html,
body {
  width: 100%;
  height: 100%;
  font-variant-numeric: oldstyle-nums;
  hyphens: auto;
}

body {
  position: relative;
  font-family: "Baskerville Neo", serif;
  background: #dfdfdf;
  color: #111;
  overflow: hidden;
  line-height: 1.5;
  word-break: keep-all;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------------------------
   Desktop base
---------------------------------- */
.chapter-stack {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  scroll-behavior: smooth;
  display: none;
}

.chapter {
  width: 100vw;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #dfdfdf;
}

.page {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #dfdfdf;
}

.page--left {
  border-right: 1px solid rgba(0, 0, 0, 0.45);
}

.page-inner {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.page-inner--left {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 9vh;
  cursor: n-resize;
}

.page-inner--right {
  padding-top: 12.3vh;
  padding-bottom: 5vh;
  cursor: s-resize;
}

.viewer-caption {
  width: min(54%, 380px);
  min-height: 2.6em;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: flex-end;
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.75rem;
  line-height: 1.3;
}

.viewer {
  width: min(54%, 380px);
}

.viewer__mask {
  position: relative;
  width: 100%;
  height: 255px;
  background: #000;
  overflow: hidden;
}

.viewer__track {
  width: 100%;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.viewer__frame {
  width: 100%;
  height: 255px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer__frame img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.chapter-meta {
  width: min(54%, 380px);
  margin-top: 1.5rem;
  text-align: center;
}

.chapter-number {
  margin-bottom: 0.5rem;
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.9rem;
}

.chapter-title {
  font-size: 1.1rem;
  line-height: 1.35;
  font-weight: normal;
}

.text-slider {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.text-slider__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.text-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 0.5vw;
}

.text-slide__body {
  width: min(65%, 500px);
}

.text-slide__body p {
  font-size: 1rem;
  line-height: 1.7;
}

.text-slide__body p + p {
  text-indent: 1.6rem;
}

.text-slide__body p.quote {
  width: min(90%, 450px);
  text-indent: 0;
  margin-left: 1.7rem;
  padding-left: 1.6rem;
  margin-top: 1rem;
  border-left: 2px dotted rgba(0, 0, 0, 0.4);
}

#keyword {
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ---------------------------------
   Desktop home
---------------------------------- */
.desktop-nav {
  position: fixed;
  left: 2rem;
  bottom: 2rem;
  z-index: 120;
  display: none;
}

@media screen and (min-width: 900px) {
  .desktop-nav {
    display: block;
  }
}
.desktop-nav__toggle {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #111;
  color: transparent;
  cursor: pointer;
}

.desktop-nav__panel {
  position: absolute;
  left: 0;
  bottom: 2rem;
  min-width: 15rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.desktop-nav.is-open .desktop-nav__panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.desktop-nav__item {
  display: block;
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  color: inherit;
  text-decoration: none;
}

.desktop-nav__item + .desktop-nav__item {
  margin-top: 0.35rem;
}

.desktop-nav__item:hover {
  opacity: 0.55;
}

.desktop-nav__item.is-current {
  opacity: 0.45;
  pointer-events: none;
}

.chapter--home {
  position: relative;
  background: #dfdfdf;
}

.chapter--home .page {
  cursor: s-resize;
  background: #dfdfdf;
}

.chapter--home .page--left {
  border-right: 0;
}

.chapter--home .page,
.chapter--home .page-inner {
  overflow: visible;
}

.page-inner--home,
.page-inner--home-info {
  height: 100%;
}

.page-inner--home {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-inner--home-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-bottom: 30vh;
}

.home-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

#title,
#name {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: normal;
  white-space: nowrap;
  background-color: white;
  padding: 8px 0;
}

.home-cue {
  position: absolute;
  top: 3.2rem;
  left: 3.2rem;
  z-index: 20;
}

.home-cue__dot {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 100%;
  background: #111;
  cursor: pointer;
}

.home-cue__info {
  margin-top: 0.75rem;
  width: 12rem;
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.75rem;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.home-cue:hover .home-cue__info,
.home-cue:focus-within .home-cue__info {
  opacity: 1;
  transform: translateY(0);
}

@keyframes homeCueFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(4px);
  }
}
.home-back {
  position: absolute;
  bottom: 7vh;
  left: 26%;
  transform: translateX(-50%);
  width: min(44%, 280px);
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: left;
  border-left: 1px solid black;
  padding-left: 13px;
}

.home-scroll-hint {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-scroll-hint__img {
  width: 28px;
  height: auto;
  display: block;
}

/* 살짝 살아있는 느낌 */
.home-scroll-hint {
  animation: scrollHintFloat 1.6s ease-in-out infinite alternate;
}

@keyframes scrollHintFloat {
  from {
    transform: translate(-50%, 0);
  }
  to {
    transform: translate(-50%, 6px);
  }
}
/* hover 시 강조 */
.home-scroll-hint:hover {
  opacity: 1;
  transform: translate(-50%, -2px);
}

.home-viewer {
  position: relative;
  width: min(54%, 380px);
  height: 255px;
  margin-top: 8rem;
  margin-bottom: 1.2rem;
  background: #000;
  overflow: hidden;
  padding: 1.2rem;
  transition: transform 0.3s ease;
}

.home-viewer:hover {
  transform: translateY(-2px);
}

.home-viewer__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
  -o-object-fit: contain;
     object-fit: contain;
  transition: opacity 0.35s ease;
}

.home-viewer__img--base {
  opacity: 1;
}

.home-viewer__img--hover {
  opacity: 0;
}

.home-viewer:hover .home-viewer__img--base {
  opacity: 0;
}

.home-viewer:hover .home-viewer__img--hover {
  opacity: 1;
}

.home-info-block {
  width: min(60%, 450px);
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
}

.fn-trigger {
  background: linear-gradient(to top, rgb(255, 255, 255) 100%, transparent 55%);
  padding: 0.1em;
}

.fn-trigger:hover,
.fn-trigger:focus,
.fn-trigger.is-active {
  background-color: rgba(0, 0, 0, 0.81);
  outline: none;
  color: rgb(124, 124, 124);
}

.folio {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(60%, 450px);
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.8rem;
  line-height: 1.25;
}

sup {
  font-size: 0.5rem;
}

:root {
  --footnote-bottom: 5vh;
}

.footnote-panel {
  position: absolute;
  bottom: var(--footnote-bottom);
  width: 100%;
}

.footnote-item {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  border-top: black 1px solid;
  padding-top: 0.5rem;
}

.footnote-item.is-visible {
  opacity: 0.82;
  transform: translateY(0);
  pointer-events: auto;
}

/* ---------------------------------
   Desktop table of contents
---------------------------------- */
.chapter--toc {
  position: relative;
  background: #dfdfdf;
}

.chapter--toc .page {
  background: #dfdfdf;
}

.chapter--toc .page--left {
  border-right: none;
}

.chapter--toc .page-inner--toc,
.chapter--toc .page-inner--toc-viewer {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toc-spine {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  pointer-events: none;
}

.toc-spine__title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: normal;
  letter-spacing: 1.5px;
  font-size: 1rem;
  background-color: white;
  padding: 20px 0;
}

.toc-viewer {
  position: relative;
  width: min(54%, 380px);
  height: 255px;
  background: #000;
  overflow: hidden;
  padding: 1rem;
}

.toc-viewer__img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: opacity 0.5s ease;
}

.toc-block {
  width: min(60%, 420px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.toc-block--right {
  align-items: flex-start;
  text-align: left;
}

.toc-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toc-item__num {
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.8rem;
  line-height: 1.2;
}

.toc-item__title {
  font-size: 1rem;
  line-height: 1.35;
}

.toc-item:hover,
.toc-item:focus {
  opacity: 0.55;
  transform: translateX(4px);
  outline: none;
}

/* ---------------------------------
   Desktop reading header
---------------------------------- */
.desktop-reading-header {
  display: none;
}

@media screen and (min-width: 900px) {
  .desktop-reading-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 80;
    width: 100%;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .desktop-reading-header__inner {
    padding: 0.75rem 1.2rem 0.7rem;
    background: rgba(223, 223, 223, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0.5px 0.5px 8px 0.5px rgba(128, 128, 128, 0.532);
  }
  .desktop-reading-header__label {
    font-family: "monotype-grotesque", sans-serif;
    font-size: 0.82rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: #111;
    text-align: center;
  }
  .desktop-reading-header__chapter,
  .desktop-reading-header__divider,
  .desktop-reading-header__title {
    display: inline;
  }
  .desktop-reading-header__progress {
    margin-top: 0.45rem;
    transform: translateX(50%);
    width: 50%;
    height: 2px;
    background: rgba(0, 0, 0, 0.066);
    overflow: hidden;
  }
  .desktop-reading-header__bar {
    width: 0%;
    height: 100%;
    background: #111;
    transform-origin: left center;
  }
}
/* ---------------------------------
   Text-only chapters (bibliography / colophon)
---------------------------------- */
.chapter--text .page-inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 9vh;
  cursor: s-resize;
}

.text-block-bb {
  width: min(60%, 450px);
  font-size: 0.8rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.text-block-bb p {
  --text-indent: 1.4rem;
  padding-left: var(--text-indent);
  text-indent: calc(-1 * var(--text-indent));
}

.text-block-bb h1 {
  font-size: 1rem;
  font-weight: normal;
  margin-bottom: 1.2rem;
}

.text-block-bb p + p {
  margin-top: 0.8rem;
}

.chapter--text:last-of-type .text-block {
  opacity: 0.9;
}

/* ---------------------------------
   Mobile base
---------------------------------- */
.mobile-story {
  display: block;
  width: 100%;
  min-height: 100vh;
  padding-top: 3rem;
  background: #dfdfdf;
}

.mobile-reading-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  pointer-events: none;
}

.mobile-reading-header__inner {
  min-height: var(--mobile-header-h);
  padding: 0.75rem 1rem 0.65rem;
  background: rgba(223, 223, 223, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-reading-header__label {
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.78rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #111;
}

.mobile-reading-header__chapter,
.mobile-reading-header__divider,
.mobile-reading-header__title {
  display: inline;
}

.mobile-reading-header__progress {
  margin-top: 0.45rem;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.mobile-reading-header__bar {
  width: 0%;
  height: 100%;
  background: #111;
  transform-origin: left center;
}

/* ---------------------------------
   Mobile home
---------------------------------- */
.mobile-nav {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 70;
}

.mobile-nav__toggle {
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 50%;
  background: #111;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}

.mobile-nav__panel {
  position: absolute;
  left: 0;
  bottom: 2rem;
  min-width: 15rem;
  max-width: calc(100vw - 2rem);
  max-height: 55vh;
  overflow-y: auto;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-nav.is-open .mobile-nav__panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav__item {
  display: block;
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  color: inherit;
  text-decoration: none;
}

.mobile-nav__item + .mobile-nav__item {
  margin-top: 0.4rem;
}

.mobile-nav__item.is-current {
  opacity: 0.45;
}

@media screen and (min-width: 900px) {
  .mobile-nav {
    display: none;
  }
}
.mobile-home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0rem 1.5rem 0rem;
  background: #dfdfdf;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 5rem;
  align-items: center;
}

.mobile-home-cue {
  position: absolute;
  top: calc(env(safe-area-inset-top, 0px) + 0rem);
  left: calc(env(safe-area-inset-left, 0px) + 3rem);
  z-index: 30;
}

.mobile-home-cue__dot {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 100%;
  background: #000000;
  cursor: pointer;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}

.mobile-home-cue__info {
  margin-top: 0.6rem;
  width: -moz-fit-content;
  width: fit-content;
  padding: 0.4rem 0.5rem;
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.72rem;
  line-height: 1.4;
  color: #111;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.mobile-home-cue:hover .mobile-home-cue__info,
.mobile-home-cue:focus-within .mobile-home-cue__info,
.mobile-home-cue.is-open .mobile-home-cue__info {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-home__inner {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.mobile-home__title,
.mobile-home__name {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-weight: normal;
  letter-spacing: 1.2px;
  background-color: white;
  padding: 0.2rem 0;
}

.mobile-home__title {
  font-size: 1rem;
}

.mobile-home__name {
  font-size: 0.95rem;
}

.mobile-home__meta {
  margin-top: 2rem;
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  text-align: center;
}

.mobile-home__hint {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.mobile-home__hint-img {
  width: 30px;
  height: auto;
  display: block;
  opacity: 1;
  animation: hintFloat 1.4s ease-in-out infinite alternate;
}

@keyframes hintFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(6px);
  }
}
.mobile-home__hint-img {
  animation: hintFloat 1.4s ease-in-out infinite alternate;
  opacity: 1;
}

/* ---------------------------------
   Mobile table of contents
---------------------------------- */
.mobile-toc {
  width: 100%;
  min-height: 100vh;
  padding: 5rem 1.5rem 3rem;
  background: #dfdfdf;
}

.mobile-toc__header {
  margin-bottom: 2rem;
  text-align: center;
}

.mobile-toc__title {
  font-size: 1rem;
  font-weight: normal;
}

.mobile-toc__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.mobile-toc__item {
  display: block;
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.9rem;
  line-height: 1.35;
  text-decoration: none;
  color: inherit;
}

.mobile-toc__item:hover,
.mobile-toc__item:active {
  opacity: 0.6;
}

/* ---------------------------------
   Mobile chapters
---------------------------------- */
.mobile-chapter {
  position: relative;
  width: 100%;
  padding-bottom: 20vh;
  background: #dfdfdf;
}

.mobile-chapter + .mobile-chapter {
  margin-top: 8vh;
}

.mobile-chapter-header {
  padding: 0.5rem 1rem 2rem;
  text-align: center;
}

.fn-trigger-mobile {
  background-color: rgb(255, 255, 255);
  padding: 0.02em 0.08em;
  border-radius: 2px;
}

.fn-trigger-mobile.is-active {
  background-color: rgba(188, 188, 188, 0.862);
}

.mobile-footnote {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.mobile-footnote.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-footnote__inner {
  position: relative;
  margin: 0;
  padding: 0.9rem 1rem 1rem;
  background: rgba(0, 0, 0, 0.92);
  color: white;
}

.mobile-footnote__content {
  padding-right: 1.5rem;
}

.mobile-footnote__item {
  display: none;
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
}

.mobile-footnote__item.is-visible {
  display: block;
}

.mobile-footnote__close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  color: white;
  font-size: 1rem;
  line-height: 1;
}

.mobile-chapter {
  position: relative;
  width: 100%;
  padding-bottom: 20vh;
  background: #dfdfdf;
}

.mobile-chapter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4.5rem;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.06) 50%, rgba(0, 0, 0, 0) 100%);
}

.mobile-chapter-number {
  margin-bottom: 0.35rem;
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.82rem;
  line-height: 1.2;
}

.mobile-chapter-title {
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: normal;
}

.mobile-entry {
  position: relative;
  margin-bottom: 24vh;
}

.mobile-entry__figure {
  position: sticky;
  top: var(--mobile-header-h);
  z-index: 10;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1rem 0.8rem;
  background: #dfdfdf;
}

.mobile-entry__figure img {
  width: 100%;
  height: calc(32vh - 0.8rem);
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center top;
     object-position: center top;
}

.mobile-entry__figure {
  position: sticky;
  top: var(--mobile-header-h);
  z-index: 10;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1rem 0;
  background: #dfdfdf;
}

.mobile-entry__caption {
  min-height: var(--mobile-caption-h);
  display: flex;
  align-items: flex-end;
  padding: 0 1.7rem;
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.72rem;
  line-height: 1.3;
  opacity: 0.9;
}

.quote-mobile {
  text-indent: 0 !important;
  margin-left: 1.4rem;
}

.mobile-entry__text {
  font-family: "monotype-grotesque", sans-serif;
  position: relative;
  z-index: 1;
  margin-top: var(--mobile-caption-h);
  padding: 0 1.7rem;
  background: transparent;
  hyphens: auto;
}

.mobile-entry__text p + p {
  margin-top: 0;
  text-indent: 1.4rem;
}

.mobile-entry__text > * {
  width: 100%;
}

.mobile-entry__text p,
.mobile-entry__text blockquote,
.mobile-entry__text h2,
.mobile-entry__text h3,
.mobile-entry__text ul,
.mobile-entry__text ol {
  font-size: 1rem;
  line-height: 1.5;
}

.mobile-entry__text h2,
.mobile-entry__text h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: normal;
}

.mobile-entry__text p + p,
.mobile-entry__text p + blockquote,
.mobile-entry__text blockquote + p,
.mobile-entry__text h2 + p,
.mobile-entry__text h3 + p,
.mobile-entry__text p + h2,
.mobile-entry__text p + h3,
.mobile-entry__text ul + p,
.mobile-entry__text ol + p {
  margin-top: 0rem;
}

.mobile-entry__text blockquote {
  padding-left: 0.75rem;
  border-left: 1px solid rgba(0, 0, 0, 0.4);
}

.mobile-entry__text em,
.mobile-entry__text i {
  font-style: italic;
}

.mobile-entry__text ul,
.mobile-entry__text ol {
  padding-left: 1.5rem;
}

.mobile-entry__text li + li {
  margin-top: 0.35rem;
}

#mobile-keyword {
  font-family: "monotype-grotesque", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* ---------------------------------
   Responsive
---------------------------------- */
@media screen and (max-width: 899px) {
  body {
    overflow-x: hidden;
    overflow-y: auto;
  }
  .chapter-stack {
    height: auto;
    overflow: visible;
    display: none;
  }
  .chapter {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100vh;
  }
  .page {
    width: 100%;
    height: auto;
    min-height: 100vh;
  }
  .page--left {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  }
  .page-inner {
    padding: 2rem 1.25rem 4rem;
  }
  .page-inner--left,
  .page-inner--right {
    padding-top: 2rem;
  }
  .page-inner--right {
    padding-bottom: 12vh;
  }
  .viewer,
  .viewer-caption,
  .chapter-meta,
  .text-slide p {
    width: min(82vw, 420px);
  }
  .text-slider {
    min-height: 60vh;
  }
  .folio {
    bottom: 1rem;
  }
  .mobile-story {
    display: block;
  }
  .home-inner {
    min-height: 65vh;
  }
  #title,
  #name {
    font-size: 0.95rem;
    letter-spacing: 1.2px;
  }
  .home-info-block {
    width: min(82vw, 420px);
    font-size: 0.85rem;
  }
}
@media screen and (min-width: 900px) {
  .chapter-stack {
    display: block;
  }
  .mobile-story {
    display: none;
    padding-top: 0;
  }
  .mobile-reading-header {
    display: none;
  }
  body {
    overflow: hidden;
  }
}
/* ---------------------------------
   Mobile text-only pages
---------------------------------- */
.mobile-text-page {
  font-family: "monotype-grotesque", sans-serif;
  width: 100%;
  min-height: 100vh;
  padding-bottom: 18vh;
  background: #dfdfdf;
}

.mobile-text-page__inner {
  padding: 0 1.7rem 2rem;
  display: flex;
  justify-content: center;
}

.mobile-text-block {
  width: 100%;
  font-size: 0.94rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mobile-text-block p {
  --text-indent: 1.4rem;
  padding-left: var(--text-indent);
  text-indent: calc(-1 * var(--text-indent));
  margin-top: 0.9rem;
}

.mobile-text-block p.no-indent {
  padding-left: 0;
  text-indent: 0;
}

.mobile-text-block p + p {
  margin-top: 0.9rem;
}

.mobile-text-block a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.12em;
  overflow-wrap: anywhere;
  word-break: break-word;
}/*# sourceMappingURL=style.css.map */