@charset "UTF-8";
:root {
  --paper: #f3eee4;
  --ink: #303a30;
  --muted: #6e746a;
  --sage: #53634b;
  --line: #d8d3c6;
  --ease: cubic-bezier(0.22, 0.68, 0, 1.01);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.4;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid #bd8550;
  outline-offset: 5px;
}
button {
  border: 0;
  background: none;
}
h1,
h2,
p {
  margin: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
em,
i {
  font-weight: 400;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -80px;
  background: white;
  padding: 15px;
}
.skip-link:focus {
  top: 12px;
}
.masthead {
  height: 100px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: relative;
  z-index: 4;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.4px;
}
.brand-mark {
  font-size: 43px;
  width: 48px;
  height: 50px;
  border-right: 1px solid #cbc6b9;
  font-style: italic;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.private-preview {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--muted);
}
.quiet-button,
.back-link {
  font-size: 12px;
  padding: 9px 0;
  border-bottom: 1px solid transparent;
}
.quiet-button:hover,
.back-link:hover {
  border-color: currentColor;
}
.back-link {
  padding: 10px 0;
}
.eyebrow {
  font-size: 9px;
  line-height: 1.8;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scene {
  position: relative;
  min-height: 660px;
  height: calc(100svh - 154px);
  isolation: isolate;
  overflow: hidden;
}
.scene-photo,
.scene-shade,
.kitchen-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-size: cover;
  background-repeat: no-repeat;
}
.scene-photo {
  transition: transform 1.2s var(--ease);
  will-change: auto;
}
.hall-photo {
  background-image: url("../assets/rooms/hall-alt.webp");
  background-position: center 53%;
}
.scene-shade {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(29, 31, 22, 0.56),
      rgba(29, 31, 22, 0.1) 54%,
      rgba(29, 31, 22, 0.06)
    ),
    linear-gradient(0deg, rgba(27, 28, 20, 0.38), transparent 38%);
}
.hall-intro {
  position: absolute;
  top: 11%;
  left: 6vw;
  color: #fffdf3;
  text-shadow: 0 1px 10px #161b1420;
}
.hall-intro h1 {
  font-size: clamp(44px, 5.5vw, 84px);
  line-height: 1.03;
  letter-spacing: -2.5px;
  margin: 16px 0 24px;
}
.hall-intro h1 em {
  color: #e9ddba;
}
.intro-line {
  font-family: Georgia, serif;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.65;
  color: #f0ece0;
}
.room-sign {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 82px;
  padding: 17px 20px;
  background: rgba(250, 247, 238, 0.96);
  box-shadow: 0 14px 40px #27291f26;
  border: 1px solid #fff9;
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    background 0.3s;
  max-width: 320px;
}
.room-sign:hover {
  transform: translateY(-5px);
  background: #fffaf0;
}
.sign-number {
  color: #8b7c64;
  font-family: Georgia, serif;
  font-size: 13px;
}
.room-sign strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 23px;
  font-weight: 400;
  white-space: nowrap;
}
.room-sign small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
  letter-spacing: 0.2px;
  color: #6c7266;
}
.sign-arrow {
  margin-left: 8px;
  font-size: 22px;
  color: #5c6b52;
}
.library-sign {
  left: 7%;
  bottom: 23%;
}
.kitchen-sign {
  right: 6%;
  bottom: 24%;
}
.attic-sign {
  left: 53%;
  top: 36%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
}
.attic-sign .sign-number {
  grid-column: 1 / -1;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 2px;
}
.attic-sign strong {
  font-size: 24px;
}
.future-rooms {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  padding: 22px 6%;
  background: #f1eee7eb;
  color: #5a6357;
  border-top: 1px solid #ffffff60;
}
.future-caption {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 14px;
}
.closed-room {
  font-family: Georgia, serif;
  font-size: 15px;
  border-left: 1px solid #c9c7bc;
  padding-left: 25px;
}
.closed-room small {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 9px;
  line-height: 1.6;
  color: #6b7267;
  margin-top: 4px;
}
.room-intro {
  position: absolute;
  z-index: 2;
  top: 9%;
  left: 6vw;
  color: #fffaf0;
  max-width: 430px;
}
.room-intro h1 {
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -1.7px;
  line-height: 1.1;
  margin: 15px 0;
}
.room-intro > p:not(.eyebrow) {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
}
.kitchen-photo {
  background-image: url("../assets/rooms/kitchen-alt.webp");
  background-position: center 39%;
  filter: saturate(0.76) brightness(0.96);
}
.kitchen-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, #2f332744, transparent 76%),
    linear-gradient(0deg, #44413233, transparent 60%);
}
.kitchen-scene .room-intro {
  top: 7%;
}
.kitchen-scene .eyebrow {
  max-width: 240px;
}
.table-surface {
  position: absolute;
  left: -5%;
  bottom: -12%;
  width: 110%;
  height: 57%;
  background:
    linear-gradient(180deg, #d1b58f18, #906a4044),
    url("../assets/rooms/table.webp") center/cover;
  border-top: 8px solid #ceb89a;
  box-shadow: 0 -10px 40px #3a31142b;
  transform: perspective(1400px) rotateX(24deg);
  transform-origin: bottom;
  z-index: -1;
}
.cookbook-object {
  position: absolute;
  left: 59%;
  top: 33%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(-50%);
  perspective: 1300px;
}
.closed-book {
  position: relative;
  display: block;
  width: clamp(225px, 20vw, 300px);
  aspect-ratio: 4/5;
  padding: 0;
  border-radius: 2px 6px 6px 2px;
  transform: rotateX(18deg) rotateZ(-7deg);
  transform-style: preserve-3d;
  box-shadow:
    10px 15px 7px #4032224a,
    20px 28px 50px #40322244;
  transition:
    transform 0.65s var(--ease),
    box-shadow 0.65s;
  outline-offset: 12px;
}
.closed-book:hover {
  transform: translateY(-8px) rotateX(13deg) rotateZ(-5deg);
  box-shadow:
    12px 18px 8px #4032223a,
    22px 34px 55px #40322244;
}
.closed-book img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px 6px 5px 1px;
  position: relative;
  z-index: 2;
}
.book-paper-edge {
  position: absolute;
  inset: 7px -7px -8px 4px;
  background: repeating-linear-gradient(
    0deg,
    #e6ddcc 0px,
    #fbf5e8 1px,
    #c9bfab 2px
  );
  border-radius: 2px 5px 5px 0;
  border-bottom: 3px solid #c59474;
  box-shadow: 2px 3px 0 #805e46;
}
.cover-binding {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: 13px;
  background: linear-gradient(90deg, #28191255, #ffffff22 50%, transparent);
  pointer-events: none;
}
.book-invitation {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 28px;
  color: #333f2a;
  text-shadow: 0 1px 5px #f5eddb;
}
.small-line {
  width: 1px;
  height: 22px;
  background: #766348;
  margin-bottom: 8px;
}
.book-open-label {
  font-family: Georgia, serif;
  font-size: 21px;
  padding: 7px 15px;
  border-bottom: 1px solid #806944;
  letter-spacing: 0.1px;
}
.book-open-label span {
  margin-left: 10px;
}
.book-note {
  font-size: 10px;
  letter-spacing: 1.5px;
  margin-top: 10px;
  text-transform: uppercase;
}
.kitchen-caption {
  position: absolute;
  bottom: 28px;
  left: 6vw;
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
  color: #3f4c35;
}
.attic-photo {
  background-image: url("../assets/rooms/attic.webp");
  background-position: center 40%;
  filter: brightness(1.15) saturate(0.72);
}
.chroniques-invitation {
  position: absolute;
  right: 7%;
  bottom: 12%;
  padding: 32px 38px;
  max-width: 370px;
  background: #f9f4e7ef;
  box-shadow: 0 20px 50px #171a212a;
}
.chroniques-invitation h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 12px 0 22px;
}
.availability {
  font-family: Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.7 !important;
  max-width: 330px;
}
.library-photo {
  background-image: url("../assets/rooms/library.webp");
  background-position: center;
}
.library-scene .room-intro {
  top: 23%;
}
.library-scene .primary-button {
  margin: 25px 0 16px;
}
.light {
  color: #fff;
}
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 0.3px;
  border-radius: 2px;
}
.primary-button {
  background: var(--sage);
  color: #fffdf4;
  transition: background 0.2s;
}
.primary-button:hover {
  background: #3c5037;
}
.secondary-button {
  border: 1px solid #aab09e;
  background: #fff8;
}
.primary-button:focus-visible {
  outline-color: #b07748;
}
.book-opening-ghost {
  position: fixed;
  object-fit: cover;
  z-index: 150;
  pointer-events: none;
  box-shadow: 14px 22px 50px #34291e55;
  transform-origin: center;
}
.reader {
  min-height: calc(100svh - 100px);
  background:
    linear-gradient(#ddd3bd1f, #ae967230),
    url("../assets/rooms/table.webp") center/cover;
  position: relative;
  padding-bottom: 18px;
}
.reader-toolbar {
  height: 86px;
  background: #f3eee4ee;
  border-bottom: 1px solid #dbd3c0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 4vw;
}
.reader-heading {
  text-align: center;
}
.reader-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #6d7763;
}
.reader-heading h1 {
  font-size: 23px;
  margin-top: 4px;
}
.reader-tools {
  display: flex;
  gap: 8px;
  align-items: center;
}
.toolbar-button {
  min-height: 42px;
  padding: 11px 14px;
  border: 1px solid #bfc4b24d;
  font-size: 12px;
  background: #faf7ef66;
  border-radius: 3px;
  white-space: nowrap;
}
.toolbar-button:hover {
  background: #fff9;
}
.toolbar-button[aria-pressed="true"] {
  background: #dde3d1;
}
.reader-stage {
  height: calc(100svh - 296px);
  min-height: 340px;
  padding: 24px 4vw 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.reader.focus-mode {
  background: #e7e8de;
}
.reader.focus-mode .reader-stage {
  padding-top: 12px;
}
.reading-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 65px;
  padding: 8px 20px;
}
.reading-position {
  min-width: 200px;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
#page-title {
  font-family: Georgia, serif;
  font-size: 15px;
  text-align: center;
  max-width: 48vw;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
#page-status {
  font-size: 10px;
  letter-spacing: 0.8px;
  color: #58654d;
}
.reading-track {
  height: 2px;
  background: #948b7540;
  width: 140px;
  margin-top: 4px;
  overflow: hidden;
}
#reading-progress {
  display: block;
  height: 100%;
  width: 0;
  background: #596c4b;
  transition: width 0.3s;
}
.page-nav {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #a29a8366;
  border-radius: 50%;
  background: #f8f3e5b0;
  font-size: 20px;
}
.page-nav:hover:not(:disabled) {
  background: #fff8e8;
}
.reader-hint {
  font-size: 10px;
  text-align: center;
  color: #57614f;
  letter-spacing: 0.2px;
}
.page-root {
  filter: drop-shadow(0 10px 12px #40301f44);
  position: relative;
}
.book-page {
  background: #f8f2e1;
  overflow: hidden;
  position: relative;
}
.book-page > img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}
.book-page:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px #94866b30;
}
.book-page .page-loading {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 10px;
  color: #64745d;
  background: #faf7efb0;
  padding: 4px 8px;
}
.book-page .page-loading:empty {
  display: none;
}
.book-page .page-error {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #f8f3e3f5;
  gap: 20px;
  font-size: 14px;
  padding: 25px;
  text-align: center;
}
.toc-hotspot {
  position: absolute;
  background: transparent;
  border-radius: 2px;
  padding: 0;
}
.toc-hotspot:hover {
  background: #78945422;
  outline: 1px solid #6b835233;
}
.toc-hotspot:focus-visible {
  background: #78945430;
  outline: 2px solid #697e51;
  outline-offset: 0;
}
.plain-book {
  display: flex;
  justify-content: center;
  max-width: 100%;
  height: 100%;
  gap: 1px;
  filter: drop-shadow(0 10px 12px #40301f44);
}
.plain-book .book-page {
  aspect-ratio: 585/738;
  height: 100%;
  max-width: 50%;
  width: auto;
}
.plain-book.portrait .book-page {
  max-width: 100%;
}
.stf__parent {
  margin: auto;
}
.stf__block {
  will-change: transform;
}
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  padding: 14px 22px;
  max-width: 90vw;
  background: #34432d;
  color: #fff9ef;
  border-radius: 4px;
  font-size: 13px;
  box-shadow: 0 8px 35px #0002;
}
.small-dialog,
.toc-dialog,
.zoom-dialog {
  border: 1px solid #dcd7c7;
  background: #f7f2e7;
  color: var(--ink);
  padding: 0;
  box-shadow: 0 25px 100px #14190e44;
}
.small-dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 43px 36px 34px;
  border-radius: 6px;
  max-height: 85svh;
  overflow: auto;
}
.small-dialog h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 12px 0 21px;
}
.small-dialog p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.8;
  color: #626e59;
  margin-bottom: 17px;
}
.small-dialog small {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: #66745c;
  margin-top: 17px;
}
.dialog-x {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 25px;
  padding: 7px 12px;
  min-width: 44px;
  min-height: 44px;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.dialog-actions .primary-button {
  flex: 1;
}
.photo-credits {
  font-size: 10px;
  line-height: 1.8;
  margin-top: 22px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.photo-credits a {
  text-decoration: underline;
}
dialog::backdrop {
  background: #222a2070;
  backdrop-filter: blur(4px);
}
.toc-dialog {
  width: min(480px, calc(100vw - 20px));
  height: calc(100svh - 40px);
  max-height: 860px;
  border-radius: 5px;
}
.toc-dialog header {
  position: sticky;
  top: 0;
  background: #f7f2e7;
  padding: 30px 28px 22px;
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.toc-dialog h2 {
  font-size: 30px;
  margin-top: 9px;
}
.toc-dialog nav {
  padding: 20px 28px 30px;
}
.toc-section {
  font-family: Georgia, serif;
  font-size: 20px;
  padding: 21px 0 9px;
  color: #a14f50;
}
.toc-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  width: 100%;
  padding: 10px 2px;
  border-bottom: 1px solid #e2ddcf;
  font-size: 13px;
  line-height: 1.4;
  gap: 15px;
  min-height: 38px;
}
.toc-entry:hover {
  color: #9c5051;
  background: #e5ddcb44;
}
.toc-entry.current {
  font-weight: 600;
  color: #48603e;
}
.toc-entry small {
  font-size: 10px;
  white-space: nowrap;
  color: #7b816f;
}
.zoom-dialog {
  width: 100vw;
  max-width: 100vw;
  height: 100svh;
  max-height: 100svh;
  border: 0;
  margin: 0;
  background: #f1ece0;
}
.zoom-dialog header {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 4vw;
  background: #f3eee4;
  border-bottom: 1px solid #d3cdbe;
  gap: 10px;
}
.zoom-dialog h2 {
  font-size: 24px;
  margin-top: 4px;
}
.zoom-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}
.zoom-tools select {
  max-width: 190px;
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px;
  border-radius: 3px;
}
#zoom-level {
  font-size: 11px;
  min-width: 48px;
  text-align: center;
}
.zoom-scroll {
  height: calc(100svh - 86px);
  width: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 26px;
  touch-action: pan-x pan-y pinch-zoom;
  cursor: grab;
}
.zoom-scroll.dragging {
  cursor: grabbing;
  user-select: none;
}
.zoom-scroll img {
  display: block;
  margin: 0 auto;
  max-width: none;
  box-shadow: 0 10px 35px #45352233;
  touch-action: pan-x pan-y pinch-zoom;
}
body.reading .masthead {
  height: 70px;
}
body.reading .brand {
  font-size: 15px;
}
body.reading .brand-mark {
  font-size: 32px;
  height: 37px;
  width: 35px;
}
body.reading #site-footer {
  display: none;
}
body.reading .reader {
  min-height: calc(100svh - 70px);
}
body.reading .reader-stage {
  height: calc(100svh - 266px);
}
#site-footer {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 5vw;
  font-size: 10px;
  color: #67705e;
  letter-spacing: 0.4px;
  background: var(--paper);
}
#site-footer > span:first-child {
  font-family: Georgia, serif;
  font-size: 14px;
}
.footer-note {
  font-style: italic;
}
.noscript {
  padding: 22px;
  background: #fff;
  position: fixed;
  bottom: 0;
  z-index: 9;
}
.scene-enter {
  animation: enter-scene 0.7s var(--ease);
}
@keyframes enter-scene {
  from {
    opacity: 0.3;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (min-width: 1600px) {
  .scene {
    min-height: 720px;
  }
  .cookbook-object {
    top: 29%;
  }
  .closed-book {
    width: 320px;
  }
  .room-sign {
    min-width: 260px;
  }
  .kitchen-sign {
    right: 12%;
  }
  .attic-sign {
    left: 55%;
  }
}
@media (max-width: 900px) {
  .masthead {
    padding: 0 25px;
    height: 85px;
  }
  .header-right {
    gap: 15px;
  }
  .private-preview {
    display: none;
  }
  .scene {
    height: calc(100svh - 134px);
    min-height: 660px;
  }
  .room-sign {
    padding: 14px;
    gap: 9px;
  }
  .room-sign strong {
    font-size: 21px;
  }
  .library-sign {
    left: 5%;
    bottom: 26%;
  }
  .kitchen-sign {
    right: 5%;
    bottom: 26%;
  }
  .attic-sign {
    left: 51%;
    top: 34%;
  }
  .future-rooms {
    gap: 20px;
    padding: 18px 24px;
    flex-wrap: wrap;
  }
  .future-caption {
    display: none;
  }
  .closed-room {
    padding-left: 15px;
  }
  .hall-intro {
    left: 6vw;
    top: 8%;
  }
  .hall-intro h1 {
    font-size: 59px;
  }
  .room-intro {
    left: 6vw;
  }
  .reader-toolbar {
    padding: 8px 18px;
  }
  .reader-heading {
    display: none;
  }
  .reader-stage {
    padding-left: 20px;
    padding-right: 20px;
  }
  .reader-tools {
    gap: 5px;
  }
  .toolbar-button {
    padding: 10px;
  }
  .cookbook-object {
    left: 60%;
    top: 35%;
  }
  .closed-book {
    width: 235px;
  }
  .table-surface {
    height: 53%;
  }
  .kitchen-caption {
    font-size: 12px;
  }
  .footer-note {
    display: none;
  }
}
@media (max-width: 600px) {
  .masthead {
    height: 79px;
    padding: 0 21px;
  }
  .brand {
    font-size: 17px;
    gap: 10px;
  }
  .brand-mark {
    font-size: 35px;
    width: 37px;
    height: 42px;
  }
  .header-right {
    gap: 8px;
    flex-direction: column;
    align-items: flex-end;
  }
  .quiet-button,
  .back-link {
    font-size: 10px;
    padding: 4px 0;
  }
  #motion-toggle {
    font-size: 9px;
  }
  .scene {
    height: calc(100svh - 122px);
    min-height: 730px;
  }
  .hall-photo {
    background-position: 56% center;
  }
  .hall-intro {
    top: 6%;
    left: 26px;
    right: 26px;
  }
  .hall-intro .eyebrow {
    font-size: 8px;
  }
  .hall-intro h1 {
    font-size: 50px;
    line-height: 1.04;
    margin: 13px 0 17px;
    letter-spacing: -1.6px;
  }
  .intro-line {
    font-size: 16px;
    max-width: 300px;
  }
  .desktop-only {
    display: none;
  }
  .hall-scene .scene-shade {
    background:
      linear-gradient(180deg, #27312480, transparent 80%),
      linear-gradient(0deg, #30352177, transparent 64%);
  }
  .room-accesses {
    position: absolute;
    bottom: 155px;
    left: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .room-sign {
    position: relative;
    inset: auto;
    min-height: 69px;
    max-width: none;
    width: 100%;
    display: flex;
    gap: 16px;
    padding: 12px 18px;
    box-shadow: 0 6px 25px #2732201a;
  }
  .room-sign strong {
    font-size: 23px;
  }
  .sign-number {
    font-size: 11px;
    width: 26px;
  }
  .room-sign small {
    font-size: 10px;
  }
  .sign-arrow {
    margin-left: auto;
  }
  .attic-sign .sign-number {
    font-size: 8px;
    line-height: 1.6;
    letter-spacing: 1px;
  }
  .future-rooms {
    padding: 15px 23px;
    gap: 8px 14px;
    justify-content: flex-start;
    min-height: 131px;
  }
  .closed-room {
    font-size: 14px;
    padding-left: 10px;
    flex: 1 0 27%;
    line-height: 1.4;
  }
  .closed-room small {
    font-size: 8px;
    line-height: 1.6;
  }
  .room-intro {
    top: 6%;
    left: 26px;
    right: 26px;
  }
  .room-intro h1 {
    font-size: 47px;
    letter-spacing: -1px;
  }
  .room-intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .room-intro > p:not(.eyebrow) {
    font-size: 16px;
  }
  .kitchen-scene {
    min-height: 655px;
  }
  .kitchen-photo {
    background-position: 40% 18%;
  }
  .kitchen-scene .room-intro {
    top: 6%;
  }
  .cookbook-object {
    left: 53%;
    top: 35%;
  }
  .closed-book {
    width: 205px;
  }
  .table-surface {
    height: 49%;
    bottom: -9%;
  }
  .book-invitation {
    margin-top: 15px;
  }
  .small-line {
    height: 13px;
  }
  .book-open-label {
    font-size: 19px;
  }
  .book-note {
    font-size: 9px;
  }
  .kitchen-caption {
    left: 25px;
    right: 25px;
    text-align: center;
    bottom: 18px;
    font-size: 12px;
  }
  .attic-photo {
    background-position: center;
  }
  .chroniques-invitation {
    left: 25px;
    right: 25px;
    bottom: 42px;
    padding: 28px;
    max-width: none;
  }
  .chroniques-invitation h2 {
    font-size: 32px;
  }
  .attic-scene .room-intro {
    top: 8%;
  }
  .library-scene .room-intro {
    top: 18%;
  }
  .reader-toolbar {
    height: 64px;
    padding: 8px 12px;
    gap: 5px;
  }
  .reader-tools {
    gap: 3px;
  }
  .toolbar-button {
    font-size: 11px;
    padding: 9px 10px;
    min-height: 41px;
  }
  .focus-toggle {
    display: none;
  }
  .reader-stage {
    padding: 14px 10px 6px;
    min-height: 250px;
  }
  body.reading .masthead {
    height: 56px;
    padding: 0 16px;
  }
  body.reading .brand {
    font-size: 13px;
  }
  body.reading .brand-mark {
    font-size: 29px;
  }
  body.reading #motion-toggle {
    display: none;
  }
  body.reading .reader {
    min-height: calc(100svh - 56px);
  }
  body.reading .reader-stage {
    height: calc(100svh - 220px);
  }
  .reader {
    background: #e9e5d9;
  }
  .reading-footer {
    gap: 14px;
    height: 66px;
    padding: 9px;
  }
  .reading-position {
    min-width: 180px;
  }
  #page-title {
    max-width: 58vw;
    font-size: 13px;
    white-space: normal;
    line-height: 1.35;
  }
  #page-status {
    font-size: 9px;
  }
  .reader-hint {
    font-size: 9px;
    padding: 0 22px;
  }
  .zoom-dialog header {
    height: auto;
    min-height: 108px;
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 16px;
    gap: 10px;
  }
  .zoom-dialog h2 {
    font-size: 19px;
  }
  .zoom-dialog .eyebrow {
    font-size: 8px;
  }
  .zoom-tools {
    width: 100%;
    justify-content: space-between;
    gap: 3px;
  }
  .zoom-tools select {
    max-width: 120px;
    font-size: 10px;
    min-height: 35px;
    padding: 4px;
  }
  .zoom-tools .toolbar-button {
    min-height: 35px;
    padding: 7px 9px;
  }
  .zoom-scroll {
    height: calc(100svh - 122px);
    padding: 12px;
  }
  .small-dialog {
    padding: 36px 26px 27px;
  }
  .small-dialog h2 {
    font-size: 31px;
  }
  .dialog-actions {
    flex-direction: column;
  }
  .toc-dialog {
    height: calc(100svh - 16px);
  }
  #site-footer {
    height: 43px;
    padding: 0 20px;
    font-size: 9px;
  }
  #site-footer > span:first-child {
    font-size: 12px;
  }
  #site-footer .quiet-button {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body.reduce-motion *,
body.reduce-motion *:before,
body.reduce-motion *:after {
  animation-duration: 0.01ms !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}

/* Keep scene transitions within their viewport: animate the photograph, not the layout box. */
.scene-enter {
  animation: fade-scene 0.55s var(--ease);
}
.scene-enter .scene-photo {
  animation: enter-scene 0.8s var(--ease);
}
@keyframes fade-scene {
  from {
    opacity: 0.25;
  }
  to {
    opacity: 1;
  }
}

/* The closed book rests flat on the near table, rather than standing upright. */
.table-surface {
  height: 68%;
  bottom: -12%;
  transform: perspective(1400px) rotateX(20deg);
}
.cookbook-object {
  top: 51%;
  left: 59%;
}
.closed-book {
  transform: rotateX(50deg) rotateZ(-7deg);
  box-shadow:
    7px 12px 5px #40322250,
    12px 18px 32px #40322240;
}
.closed-book:hover {
  transform: translateY(-4px) rotateX(46deg) rotateZ(-5deg);
  box-shadow:
    8px 16px 8px #40322240,
    15px 23px 38px #4032223a;
}
.book-invitation {
  margin-top: -60px;
  position: relative;
}
.attic-photo {
  background-position: center 75%;
  filter: brightness(1.04) saturate(0.78);
}
@media (min-width: 1600px) {
  .cookbook-object {
    top: 47%;
  }
  .book-invitation {
    margin-top: -66px;
  }
}
@media (max-width: 900px) {
  .cookbook-object {
    top: 51%;
  }
  .book-invitation {
    margin-top: -44px;
  }
}
@media (max-width: 600px) {
  .cookbook-object {
    top: 49%;
    left: 53%;
  }
  .table-surface {
    height: 68%;
    bottom: -12%;
  }
  .book-invitation {
    margin-top: -36px;
  }
  .attic-photo {
    background-position: center 57%;
  }
}

/* Cuisine V2: the approved scene is a single perspective, not stacked photographs. */
.kitchen-approved {
  min-height: 540px;
  background: #d7c4a7;
}
.kitchen-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.kitchen-composition {
  position: absolute;
}
#kitchen-visual {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
.book-hotspot {
  position: absolute;
  left: 38.5%;
  top: 45%;
  width: 40.2%;
  height: 45.9%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  clip-path: polygon(1.5% 9%, 69% 0, 100% 86%, 15% 100%, 0 21%);
  transition: background 0.2s;
}
.book-hotspot:hover {
  background: rgba(255, 245, 204, 0.06);
}
.book-hotspot:focus-visible {
  outline: none;
  background: rgba(255, 245, 204, 0.17);
}
.kitchen-art:has(.book-hotspot:focus-visible)
  + .kitchen-title-shade
  ~ .kitchen-book-action
  .book-open-label {
  outline: 3px solid #9e703d;
  outline-offset: 5px;
}
.kitchen-title-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(29, 33, 22, 0.26), transparent 28%);
}
.kitchen-approved .room-intro {
  top: 26px;
  left: 5.6%;
  max-width: 350px;
  pointer-events: none;
  text-shadow: 0 2px 18px #25291e44;
}
.kitchen-approved .room-intro h1 {
  font-size: clamp(42px, 4.1vw, 66px);
  margin: 9px 0 10px;
}
.kitchen-approved .room-intro .eyebrow {
  max-width: 340px;
  font-size: 8px;
  letter-spacing: 1.7px;
}
.kitchen-approved .room-intro > p:not(.eyebrow) {
  font-size: 16px;
}
.kitchen-book-action {
  position: absolute;
  z-index: 2;
  left: 59%;
  bottom: 17px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.kitchen-book-action .book-open-label {
  color: #34452d;
  font-size: 20px;
  background: #f9f2e3ee;
  border: 1px solid #ffffffaa;
  border-radius: 2px;
  padding: 11px 22px;
  box-shadow: 0 4px 20px #4b391b18;
}
.kitchen-book-action .book-open-label:hover {
  background: #fff8e9;
}
.kitchen-book-action .book-note {
  margin-top: 3px;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #34402b;
  background: #f9f2e3bf;
  padding: 3px 8px;
}
/* A single cover is centred; spreads retain the existing reader layout. */
.reader.showing-cover[data-layout="double"] #book-mount {
  transform: translateX(calc(var(--leaf-width, 0px) * -0.5));
}
.reader.showing-cover #next-page {
  border-color: #66744e;
  background: #f7f1dd;
}
@media (min-width: 1600px) {
  .kitchen-approved .room-intro {
    top: 35px;
  }
}
@media (max-width: 900px) {
  .kitchen-approved .room-intro {
    left: 26px;
    max-width: 290px;
  }
  .kitchen-book-action {
    left: 57%;
  }
}
@media (max-width: 600px) {
  .kitchen-approved {
    min-height: 600px;
    height: calc(100svh - 122px);
    background: #f1e9dc;
  }
  .kitchen-art {
    top: 146px;
    bottom: 65px;
  }
  .kitchen-approved .room-intro {
    top: 22px;
    left: 24px;
    right: 20px;
    max-width: none;
    color: #38452f;
    text-shadow: none;
  }
  .kitchen-approved .room-intro h1 {
    font-size: 42px;
    margin: 5px 0 7px;
  }
  .kitchen-approved .room-intro .eyebrow {
    font-size: 7px;
    letter-spacing: 1.4px;
    max-width: 330px;
  }
  .kitchen-approved .room-intro > p:not(.eyebrow) {
    font-size: 15px;
  }
  .kitchen-title-shade {
    display: none;
  }
  .kitchen-book-action {
    bottom: 8px;
    left: 50%;
    gap: 0;
    width: 100%;
  }
  .kitchen-book-action .book-open-label {
    font-size: 17px;
    padding: 9px 22px;
    background: #fff8ee;
    min-height: 40px;
  }
  .kitchen-book-action .book-note {
    font-size: 7px;
    margin-top: 1px;
    background: none;
  }
}
@media (max-width: 600px) and (min-height: 950px) {
  .kitchen-approved {
    height: 780px;
  }
  .kitchen-art {
    top: 180px;
    bottom: 100px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .book-hotspot {
    transition: none;
  }
}

/* Keep the whole book inside the crop even on a tall phone or a wide monitor. */
.kitchen-book-action {
  bottom: 6px;
}
@media (max-width: 600px) {
  .kitchen-art {
    max-height: calc((100vw - 24px) * 1.4);
  }
  .kitchen-book-action {
    bottom: 8px;
  }
}

.reader.page-turning #book-mount {
  transition: transform 650ms var(--ease);
}

/* Keep the approved images whole: no stretching/cropping when source ratios differ. */
.book-page > img {
  object-fit: contain;
}
