@import url("./mobile-layout.css?v=20261018.3");

/* Shared full-screen hero and reveal panel for the secondary pages. */
body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #header-image-main .meta-arrow {
  display: none !important;
}

body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #colophon,
body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #footer {
  display: none !important;
}

body.page-id-114 #content {
  display: none !important;
}

html.page-window-page {
  width: 100%;
  height: 100vh;
  height: 100lvh;
  overflow: hidden;
  overscroll-behavior: none;
  background-color: #142b30;
}

body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) {
  width: 100%;
  height: 100vh !important;
  height: 100dvh !important;
  height: 100lvh !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  min-height: 100lvh !important;
  max-height: 100vh !important;
  max-height: 100dvh !important;
  max-height: 100lvh !important;
  overflow: hidden !important;
  overscroll-behavior: none;
  background-color: transparent !important;
  background-repeat: no-repeat, no-repeat !important;
  background-position: center top, center top !important;
  background-size: 100% 100%, cover !important;
  background-attachment: fixed, fixed !important;
}

body:is(.page-id-114, .page-id-143, .page-id-145) {
  background-image:
    linear-gradient(
      180deg,
      rgba(8, 65, 92, 0.74) 0%,
      rgba(28, 17, 10, 0.74) 28%,
      rgba(28, 17, 10, 0.56) 62%,
      rgba(28, 17, 10, 0.34) 100%
    ),
    var(--archive-hero-photo) !important;
}

body:is(.page-id-1212, .page-id-125, .book-detail-page) {
  background-image:
    linear-gradient(
      180deg,
      rgba(8, 65, 92, 0.74) 0%,
      rgba(28, 17, 10, 0.74) 28%,
      rgba(28, 17, 10, 0.56) 62%,
      rgba(28, 17, 10, 0.34) 100%
    ),
    var(--shared-hero-photo) !important;
}

body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #header-image-main,
body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #header-image-main-inside {
  height: 100vh !important;
  min-height: 100vh !important;
  max-height: 100vh !important;
  height: 100dvh !important;
  min-height: 100dvh !important;
  max-height: 100dvh !important;
}

body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #header-image-main .header-image,
body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #header-overlay,
body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #content::before {
  display: none !important;
}

body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #header-page-title .entry-title {
  transform-origin: center;
  transition:
    opacity 600ms ease,
    filter 650ms ease,
    transform 650ms ease;
}

body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145).poems-window-open #header-page-title .entry-title {
  opacity: 0;
  filter: blur(12px);
  transform: scale(1.06);
  pointer-events: none;
}

body.page-id-112 .poems-refresh-content,
body.page-id-114 .poems-refresh-content,
body:is(.page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #content {
  position: fixed !important;
  z-index: 1001 !important;
  top: var(--subpage-window-center) !important;
  left: 50% !important;
  display: block !important;
  box-sizing: border-box !important;
  width: var(--subpage-window-width) !important;
  height: var(--subpage-window-height) !important;
  max-height: calc(100vh - 2rem) !important;
  max-height: calc(100dvh - 2rem) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 18px;
  background: var(--subpage-window-surface) !important;
  -webkit-backdrop-filter: blur(22px) saturate(0.85) brightness(1.08);
  backdrop-filter: blur(22px) saturate(0.85) brightness(1.08);
  box-shadow:
    0 20px 60px rgba(10, 20, 20, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  animation: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  filter: blur(12px) !important;
  transform: translate(-50%, -46%) scale(0.96) !important;
  transform-origin: center center !important;
  transition:
    opacity 650ms ease,
    filter 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1),
    visibility 0s linear 650ms;
  scrollbar-color: rgba(15, 139, 141, 0.55) transparent;
  scrollbar-width: thin;
}

body.page-id-112.poems-window-open .poems-refresh-content,
body.page-id-114.poems-window-open .poems-refresh-content,
body:is(.page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145).poems-window-open #content {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  filter: blur(0) !important;
  transform: translate(-50%, -50%) scale(1) !important;
  transition-delay: 0s;
}

@media (min-width: 701px) and (hover: hover) and (pointer: fine) {
body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145):not(.poems-window-open) {
  --subpage-nav-motion: 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

body.page-id-112:not(.poems-window-open) .poems-refresh-content,
body.page-id-114:not(.poems-window-open) .poems-refresh-content,
body:is(.page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145):not(.poems-window-open) #content {
  transition:
    opacity 240ms ease,
    filter 240ms ease,
    transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1),
    visibility 0s linear 240ms !important;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145):not(.poems-window-open) #header-page-title .entry-title {
  transition:
    opacity 240ms ease,
    filter 240ms ease,
    transform 240ms ease-out !important;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145):not(.poems-window-open) #access.subpage-centered-nav,
body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145):not(.poems-window-open) .subpage-home-button {
  transition: transform var(--subpage-nav-motion), opacity 180ms ease !important;
}

}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  body.page-id-112:not(.poems-window-open) .poems-refresh-content,
  body.page-id-114:not(.poems-window-open) .poems-refresh-content,
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145):not(.poems-window-open) #content,
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145):not(.poems-window-open) #header-page-title .entry-title,
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145):not(.poems-window-open) #access.subpage-centered-nav,
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145):not(.poems-window-open) .subpage-home-button {
    transition: none !important;
  }
}

body:is(.page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #content :is(
  #main,
  #post-1212,
  #post-125,
  #post-143,
  #post-145,
  .article-inner,
  .entry-content,
  .about-page-sheet,
  .wp-block-columns,
  .wp-block-column,
  .events-entry
) {
  background: transparent !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

body.page-id-114 .poems-refresh-year-heading,
body:is(.page-id-143, .page-id-145) .events-year-heading {
  padding-left: 48px;
}

@media (max-width: 700px) {
  body:is(.page-id-112, .page-id-114) .poems-refresh-content,
  body:is(.page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #content {
    --subpage-window-width: min(calc(100vw - 3rem), 560px);
  }

  body.page-id-114 .poems-refresh-year-heading,
  body:is(.page-id-143, .page-id-145) .events-year-heading {
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:is(.page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #header-page-title .entry-title,
  body.page-id-114 .poems-refresh-content,
  body:is(.page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) #content {
    transition-duration: 0.01ms;
    transition-delay: 0s;
  }

  .page-window-close,
  .page-window-scroll-fade {
    transition: none !important;
  }

}

/* Shared homepage-aligned title, navigation, and panel positions. */
body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) {
  --subpage-window-width: min(calc(100vw - 3rem), 1160px);
  --subpage-window-height: 70vh;
  --subpage-window-center: max(
    calc(var(--subpage-window-height) / 2 + 1rem),
    calc(50vh - 100px)
  );
  --subpage-window-nav-gap: 12px;
  --subpage-nav-motion: 650ms cubic-bezier(0.22, 1, 0.36, 1);
  --subpage-open-nav-offset: calc(
    var(--subpage-window-center) + var(--subpage-window-height) / 2 +
    var(--subpage-window-nav-gap) - 50vh - 46.484px
  );
  --subpage-window-surface: rgba(247, 250, 249, 0.64);
  --page-window-title-size: clamp(20px, 2.4vw, 32px);
  --page-window-title-inset: clamp(12px, 2vw, 28px);
  --page-window-title-offset: calc(var(--page-window-title-size) + 38px);
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  #header-page-title .entry-title {
  translate: 0 -4.91px !important;
}

body:is(.page-id-1212, .page-id-125, .book-detail-page) #header-page-title .entry-title {
  translate: 0 -23.61px !important;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  #masthead #access {
  visibility: hidden !important;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  #access.subpage-centered-nav {
  position: fixed !important;
  z-index: 1000 !important;
  top: calc(50% + 46.484px) !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  display: block !important;
  box-sizing: border-box !important;
  width: min(680px, calc(100vw - 5rem)) !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  translate: -50% 0 !important;
  transform: translateY(0) !important;
  animation: none !important;
  text-align: center;
  font: 600 clamp(16px, 1.15vw, 18px)/1.8 Muli, sans-serif !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  filter: none;
  will-change: transform;
  transition:
    transform var(--subpage-nav-motion),
    opacity 240ms ease !important;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145).poems-window-open
  #access.subpage-centered-nav {
  transform: translateY(
    calc(var(--subpage-open-nav-offset) - var(--subpage-nav-center-shift, 0px))
  ) !important;
}

#access.subpage-centered-nav :is(div, ul, li, a, span) {
  translate: none !important;
  transform: none !important;
  animation: none !important;
}

#access.subpage-centered-nav > div {
  position: relative !important;
  top: var(--subpage-nav-center-shift, 0px) !important;
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

#access.subpage-centered-nav > div > ul {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5em 2em !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#access.subpage-centered-nav > div > ul > li {
  order: 0 !important;
  display: block !important;
  float: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.8 !important;
}

#access.subpage-centered-nav > div > ul > li > a {
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font: inherit !important;
  line-height: inherit !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 180ms ease;
}

#access.subpage-centered-nav > div > ul > li > a > span {
  display: inline-block !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: inherit !important;
}

#access.subpage-centered-nav > div > ul > li:is(
  .current-menu-item,
  .current_page_item,
  .current-menu-parent,
  .current-menu-ancestor,
  .current_page_parent,
  .current_page_ancestor
) > a {
  color: #fff !important;
}

#access.subpage-centered-nav > div > ul > li:is(
  .current-menu-item,
  .current_page_item,
  .current-menu-parent,
  .current-menu-ancestor,
  .current_page_parent,
  .current_page_ancestor
) > a > span::before {
  background-color: #0f8b8d !important;
  opacity: 0.45 !important;
  translate: var(--active-page-offset-x, 3px) var(--active-page-offset-y, 2px) !important;
  width: calc(100% + 30px) !important;
}

#access.subpage-centered-nav > div > ul > li:not(.current-menu-item):not(.current_page_item):not(.current-menu-parent):not(.current-menu-ancestor):not(.current_page_parent):not(.current_page_ancestor):hover > a > span::before {
  opacity: 0 !important;
  width: 0 !important;
}

#access.subpage-centered-nav > div > ul > li > a:hover,
#access.subpage-centered-nav > div > ul > li:is(
  .current-menu-item,
  .current_page_item,
  .current-menu-parent,
  .current-menu-ancestor,
  .current_page_parent,
  .current_page_ancestor
) > a:hover {
  color: #e9b44c !important;
}

#access.subpage-centered-nav > div > ul > li > a:focus-visible {
  color: #e9b44c !important;
  outline: 2px solid #e9b44c;
  outline-offset: 5px;
}

#access.subpage-centered-nav .subpage-active-nav-title,
#access.subpage-centered-nav .subpage-active-nav-title .caption-title-word,
#access.subpage-centered-nav .subpage-active-nav-title .cry-single,
#access.subpage-centered-nav .subpage-active-nav-title .cry-double {
  color: #fff !important;
}

#access.subpage-centered-nav .subpage-active-nav-title .caption-title-word {
  display: inline-block;
  line-height: inherit;
}

#access.subpage-centered-nav .subpage-active-nav-title .caption-title-word > span {
  line-height: inherit !important;
  vertical-align: baseline;
  opacity: 1 !important;
  animation: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#access.subpage-centered-nav .subpage-active-nav-title .cry-single,
#access.subpage-centered-nav .subpage-active-nav-title .cry-double {
  margin: 0 !important;
  padding: 0 !important;
  transition: color 0.5s ease-out;
}

#access.subpage-centered-nav .subpage-active-nav-title .cry-single.animated-letter,
#access.subpage-centered-nav .subpage-active-nav-title .cry-double.animated-letter {
  color: #e9b44c !important;
}

#access.subpage-centered-nav > div > ul > li > a:hover > span.subpage-active-nav-title .cry-single,
#access.subpage-centered-nav > div > ul > li > a:hover > span.subpage-active-nav-title .cry-double,
#access.subpage-centered-nav > div > ul > li > a:focus-visible > span.subpage-active-nav-title .cry-single,
#access.subpage-centered-nav > div > ul > li > a:focus-visible > span.subpage-active-nav-title .cry-double {
  color: #e9b44c !important;
}

@media (prefers-reduced-motion: reduce) {
  #access.subpage-centered-nav .subpage-active-nav-title .caption-title-word > span,
  #access.subpage-centered-nav .subpage-active-nav-title .cry-single,
  #access.subpage-centered-nav .subpage-active-nav-title .cry-double {
    animation: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  #access.subpage-centered-nav .subpage-active-nav-title .cry-double {
    display: none !important;
  }
}

/* Carry the landing-page title into the scroll panel as a sticky heading. */
.page-window-sticky-title {
  position: sticky !important;
  z-index: 12 !important;
  top: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: calc(var(--page-window-title-size) + 20px);
  margin: 0 !important;
  padding: 8px var(--page-window-title-inset) 12px !important;
  padding-right: calc(var(--page-window-title-inset) + 52px) !important;
  border-radius: 17px 17px 0 0;
  background: linear-gradient(
    180deg,
    rgba(24, 34, 32, 0.44) 0%,
    rgba(24, 34, 32, 0.32) 34%,
    rgba(24, 34, 32, 0.17) 70%,
    rgba(24, 34, 32, 0) 100%
  ) !important;
  color: #fff !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: var(--page-window-title-size) !important;
  font-weight: 700 !important;
  letter-spacing: -0.035em !important;
  line-height: 1 !important;
  text-align: left !important;
  transform: translateY(-8px) scale(1.04) !important;
  transform-origin: left top;
  isolation: isolate;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  filter: blur(12px) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition:
    opacity 600ms ease,
    filter 650ms ease,
    transform 650ms ease,
    visibility 0s linear 650ms;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145).poems-window-open
  .page-window-sticky-title {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: blur(0) !important;
  transition-delay: 0s;
}

.page-window-sticky-title.animated-title .caption-title-word > span {
  animation-play-state: paused !important;
}

body.poems-window-open
  .page-window-sticky-title.animated-title
  .caption-title-word
  > span {
  animation-play-state: running !important;
}

/* Keep a persistent close control and a soft fade beneath the sticky heading. */
.page-window-close {
  position: sticky !important;
  z-index: 24 !important;
  top: 8px !important;
  display: grid !important;
  box-sizing: border-box;
  width: 40px !important;
  height: 40px !important;
  margin: 8px 10px -48px auto !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid rgba(23, 111, 112, 0.35) !important;
  border-radius: 50% !important;
  background: rgba(247, 250, 249, 0.76) !important;
  box-shadow: 0 2px 12px rgba(10, 20, 20, 0.12);
  color: #176f70 !important;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(0.94);
  transition:
    opacity 220ms ease,
    transform 220ms ease,
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    visibility 0s linear 220ms;
}

.page-window-close svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.page-window-close:hover,
.page-window-close:focus-visible {
  border-color: #e9b44c !important;
  background: rgba(247, 250, 249, 0.96) !important;
  color: #9b6c0f !important;
}

.page-window-close:focus-visible {
  outline: 2px solid #e9b44c;
  outline-offset: 3px;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145).poems-window-open
  .page-window-close {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  transition-delay: 0s;
}

.page-window-scroll-fade {
  position: sticky;
  z-index: 11;
  top: 0;
  display: block;
  width: 100%;
  height: clamp(112px, calc(var(--page-window-title-size) + 84px), 148px);
  margin-bottom: calc(-1 * clamp(112px, calc(var(--page-window-title-size) + 84px), 148px));
  background: linear-gradient(
    180deg,
    rgba(24, 34, 32, 0.2) 0%,
    rgba(24, 34, 32, 0.13) 32%,
    rgba(24, 34, 32, 0.05) 68%,
    rgba(24, 34, 32, 0) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.page-window-scrolled .page-window-scroll-fade {
  opacity: 1;
}

@media (max-width: 700px) {
  body:is(.page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
    .page-window-sticky-title {
    top: -20px !important;
    margin-top: -20px !important;
    margin-bottom: 20px !important;
  }

  body:is(.page-id-143, .page-id-145) .events-year-heading {
    top: var(
      --page-window-year-sticky-top,
      calc(var(--page-window-title-offset) - 20px)
    ) !important;
  }

  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
    #header-page-title .entry-title {
    translate: 0 -21.19px !important;
  }

  body:is(.page-id-1212, .page-id-125, .book-detail-page) #header-page-title .entry-title {
    translate: 0 -47.94px !important;
  }

  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
    #access.subpage-centered-nav {
    top: calc(50% + 7.234px) !important;
  }

  #access.subpage-centered-nav > div > ul {
    column-gap: 1.5em !important;
  }
}

@supports (height: 100dvh) {
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) {
    --subpage-window-height: 70dvh;
    --subpage-window-center: max(
      calc(var(--subpage-window-height) / 2 + 1rem),
      calc(50dvh - 100px)
    );
    --subpage-open-nav-offset: calc(
      var(--subpage-window-center) + var(--subpage-window-height) / 2 +
      var(--subpage-window-nav-gap) - 50dvh - 46.484px
    );
  }
}

/* Keep a symmetric, keyboard-accessible home control on every subpage. */
body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  #masthead .menu-burger {
  top: calc(env(safe-area-inset-top, 0px) + 12px) !important;
  right: auto !important;
  left: calc(env(safe-area-inset-left, 0px) + 12px) !important;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .subpage-home-button {
  --subpage-home-top: 50%;
  position: fixed !important;
  z-index: 1110 !important;
  top: var(--subpage-home-top) !important;
  right: auto !important;
  left: 50% !important;
  display: grid !important;
  width: 44px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  translate: -50% -50% !important;
  transform: translateY(0) !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  text-decoration: none !important;
  opacity: 1 !important;
  transition: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145):not(.poems-window-open)
    #access.subpage-centered-nav {
    transform: translateY(0) !important;
    transition: transform var(--subpage-nav-motion), opacity 180ms ease !important;
    will-change: transform;
  }

  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145).poems-window-open
    #access.subpage-centered-nav {
    transform: translateY(
      calc(var(--subpage-open-nav-offset) - var(--subpage-nav-center-shift, 0px))
    ) !important;
    transition: transform var(--subpage-nav-motion), opacity 240ms ease !important;
    will-change: transform;
  }
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .subpage-home-button svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: color 180ms ease;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .subpage-home-button svg .home-icon-outline {
  --home-icon-rest-stroke: #fff;
  stroke: #fff;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .subpage-home-button svg .home-icon-white-detail {
  --home-icon-rest-stroke: #fff;
  stroke: #fff;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .subpage-home-button svg .home-icon-windows {
  --home-icon-rest-stroke: #e9b44c;
  stroke: #e9b44c;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .subpage-home-button svg .home-icon-teal-detail {
  --home-icon-rest-stroke: #176f70;
  stroke: #176f70;
}

body:not(.home) .subpage-home-button svg .home-icon-animated {
  animation: subpage-home-spot 9s ease-in-out calc(var(--home-line-delay) * 0.75) infinite;
}

@keyframes subpage-home-spot {
  0%, 2.5%, 6%, 100% { stroke: var(--home-icon-rest-stroke); }
  3.5%, 5% { stroke: var(--home-line-highlight); }
}

body:not(.home) .subpage-home-button:is(:hover, :focus-visible) svg .home-icon-animated {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  body:not(.home) .subpage-home-button svg .home-icon-animated {
    animation: none !important;
  }
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .subpage-home-button::before {
  position: absolute;
  inset: -12px -4px;
  content: "";
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .subpage-home-button:hover {
  color: #e9b44c !important;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .subpage-home-button:hover svg :is(.home-icon-outline, .home-icon-white-detail, .home-icon-windows, .home-icon-door, .home-icon-teal-detail) {
  stroke: #e9b44c;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .subpage-home-button:focus-visible {
  color: #e9b44c !important;
  outline: 2px solid #e9b44c;
  outline-offset: 5px;
}

/* Frosted, responsive drawer; keep it above the reading panel when expanded. */
body.burgermenu-active #mobile-menu {
  z-index: 1100 !important;
  background: rgba(6, 102, 100, 0.78) !important;
  -webkit-backdrop-filter: blur(clamp(8px, calc(0.35vw + 0.4vh), 14px)) saturate(1.08);
  backdrop-filter: blur(clamp(8px, calc(0.35vw + 0.4vh), 14px)) saturate(1.08);
}

body.burgermenu-active #access.subpage-centered-nav {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.burgermenu-active nav#mobile-menu #mobile-nav a {
  font-size: clamp(18px, calc(2.4vh + 0.2vw), 23px) !important;
  line-height: 1.5 !important;
}

body.burgermenu-active #mobile-menu li {
  padding-block: clamp(3px, 0.5vh, 7px) !important;
}

@media (prefers-reduced-motion: reduce) {
  html body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145):not(.poems-window-open)
    #access.subpage-centered-nav,
  html body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145).poems-window-open
    #access.subpage-centered-nav,
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
    #access.subpage-centered-nav,
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
    .subpage-home-button,
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
    .subpage-home-button svg {
    transition: none !important;
  }

}

@media (max-width: 700px), (orientation: landscape) and (max-height: 500px) and (max-width: 1000px) {
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
    #access.subpage-centered-nav,
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145).poems-window-open
    #access.subpage-centered-nav {
    display: block !important;
    top: calc(50% + 7.234px) !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: none !important;
  }

  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
    .subpage-home-button,
  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145).poems-window-open
    .subpage-home-button {
    transform: translateY(0) !important;
    transition: none !important;
  }

  body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145).poems-window-open
    #access.subpage-centered-nav,
  body.burgermenu-active #access.subpage-centered-nav {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  body.page-id-1212 #post-1212 .book-cover-caption__publication,
  body.page-id-1212 #post-1212 .book-cover-caption__detail {
    font: 400 12px/1.4 Muli, Arial, sans-serif !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
  }

  body.page-id-1212 #post-1212 .book-cover-caption__publication {
    color: #176f70 !important;
  }

  body.page-id-1212 #post-1212 .book-cover-caption__detail {
    color: #68736f !important;
  }

  body.page-id-125 #post-125 .about-page-copy p:not(.about-contact):not(.about-email) {
    color: #162521 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  body.page-id-125 #post-125 .about-page-copy a:not([class]) {
    color: #8c6416 !important;
    text-decoration-color: #e9b44c !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
  }

  body.page-id-125 #post-125 .about-page-copy a:not([class]):hover {
    color: #0f8b8d !important;
    text-decoration-color: #0f8b8d !important;
  }
}

/* Navigation stays in the centered page links; remove the separate hamburger drawer. */
body #masthead .site-header-bottom .menu-burger,
body #masthead #nav-toggle,
body nav#mobile-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Keep the publication rights and availability notes centered and unbolded. */
body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .page-window-note {
  text-align: center !important;
  color: #111 !important;
  font-family: Muli, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

body.page-id-125 #post-125 .about-page-copy .page-window-note {
  text-align: center !important;
  color: #111 !important;
  font-family: Muli, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .page-window-note :is(strong, b) {
  font-weight: 400 !important;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .page-window-note a {
  color: #8c6416 !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: 400 !important;
  line-height: inherit !important;
  text-decoration-line: underline !important;
  text-decoration-color: #e9b44c !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 2px !important;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
  .page-window-note a:hover {
  color: #0f8b8d !important;
  text-decoration-color: #0f8b8d !important;
}

/* Compact reading panels share a scrollport and header, not legacy page padding. */
@media (max-width: 700px), (orientation: landscape) and (max-height: 500px) and (max-width: 1000px) {
  html:is(.page-window-page, .poems-window-page) body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145) {
    --subpage-window-width: min(calc(100vw - 3rem), 560px);
    --subpage-window-height: 70vh;
    --subpage-window-height: 70dvh;
    --subpage-window-center: max(
      calc(var(--subpage-window-height) / 2 + 1rem),
      calc(50dvh - 100px)
    );
  }

  html:is(.page-window-page, .poems-window-page) body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
    :is(.poems-refresh-content, #content) {
    padding: 0 0 24px !important;
    background: var(--subpage-window-surface) !important;
    -webkit-backdrop-filter: blur(22px) saturate(0.85) brightness(1.08);
    backdrop-filter: blur(22px) saturate(0.85) brightness(1.08);
  }

  html:is(.page-window-page, .poems-window-page) body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
    .page-window-sticky-title {
    top: 0 !important;
    margin: 0 !important;
  }

  html:is(.page-window-page, .poems-window-page) body:is(.page-id-1212, .page-id-125, .book-detail-page)
    #content > #main {
    box-sizing: border-box;
    padding-inline: 20px !important;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1000px) {
  html:is(.page-window-page, .poems-window-page) body:is(.page-id-112, .page-id-114, .page-id-1212, .page-id-125, .book-detail-page, .page-id-143, .page-id-145)
    :is(.poems-refresh-content, #content, .page-window-sticky-title) {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}
