:root { color-scheme: dark; color: #eadcc5; background: #090e17; font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, Georgia, serif; }
* { box-sizing: border-box; }
#sample-price-title { scroll-margin-top: calc(var(--site-chrome-header-space, 90px) + 24px + env(safe-area-inset-top, 0px)); }
html, body { width: 100%; min-height: 100%; margin: 0; }
body { min-width: 280px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.sample-chamber {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: #090e17 url('./assets/chamber-desktop-1672.webp') center / cover no-repeat;
}
.sample-chamber::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, #02050940, #0205090a 40%, #02050966); }
.sample-main {
  max-width: 1440px; min-height: 100svh; margin: auto;
  padding: calc(var(--site-chrome-header-space) + 24px + env(safe-area-inset-top, 0px)) 4vw calc(var(--site-chrome-footer-space) + 22px + env(safe-area-inset-bottom, 0px));
}
.sample-heading { text-align: center; text-shadow: 0 3px 16px #02050f; }
.sample-eyebrow { margin: 0 0 12px; font-size: 10px; line-height: 1.4; letter-spacing: .2em; color: #c6a974; }
.sample-heading h1 { margin: 0; color: #edc88d; font-weight: 400; font-size: clamp(34px, 4vw, 58px); line-height: 1.18; }
.sample-rule { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 14px auto 10px; color: #d3ae69; }
.sample-rule::before, .sample-rule::after { content: ''; width: 50px; height: 1px; background: linear-gradient(90deg, transparent, #b99350); }
.sample-rule::after { transform: rotate(180deg); }
.sample-rule span { font-size: 13px; line-height: 1; }
.sample-introduction { margin: 0; font-size: clamp(16px, 1.6vw, 22px); line-height: 1.45; }
.sample-note { margin: 8px 0 0; color: #c5b89d; font-size: 12px; line-height: 1.5; }
.sample-access-summary { width: min(100%, 920px); margin: 24px auto 0; padding: 18px 24px; border-block: 1px solid #b5945659; background: #08121dd9; text-align: center; }
.sample-access-summary p { margin: 0 0 12px; color: #e7d6b7; font-size: 16px; line-height: 1.55; }
.sample-access-summary strong { display: block; font-weight: 400; color: #edcf96; }
.sample-access-summary span { display: block; font-size: 14px; color: #cdbfa6; }
.sample-access-summary .sample-availability { margin: 0; font-size: 14px; }
.sample-main a, .sample-main a:visited { color: #edcf96; text-underline-offset: 3px; }
.sample-main a:hover { color: #fff1d3; }
.sample-enlarge { display: block; width: 100%; min-height: 44px; padding: 10px 16px; border: 0; background: transparent; color: #edcf96; font: inherit; font-size: 14px; cursor: pointer; }
.sample-enlarge:hover { background: #cba87312; color: #fff1d3; }
.sample-enlarge:focus-visible { outline: 2px solid #f4d09a; outline-offset: -3px; }
.sample-prose h2 { font-size: clamp(27px, 3vw, 38px); font-weight: 400; color: #edcf96; margin: 12px 0; line-height: 1.25; }
.sample-prose p { font-size: 18px; color: #eadcc5; line-height: 1.8; }
.sample-prose .sample-card-caption { color: #c5b89d; font-size: 14px; line-height: 1.6; }
.sample-prose summary { padding: 12px 0; color: #edcf96; cursor: pointer; min-height: 44px; }
.sample-prose details[open] summary { margin-bottom: 14px; }
.sample-prose .sample-source { font-size: 14px; color: #c5b89d; }
.sample-zoom { width: min(98vw, 1900px); max-width: 98vw; max-height: 96svh; padding: 16px; border: 1px solid #ad874d; background: #08121df7; color: #edcf96; }
.sample-zoom::backdrop { background: #020509df; }
.sample-zoom-header { display: flex; align-items: center; justify-content: space-between; gap: 18px; position: sticky; top: 0; background: #08121d; z-index: 1; }
.sample-zoom h2 { margin: 0; font-weight: 400; font-size: 23px; }
.sample-zoom button { min-height: 44px; padding: 10px 18px; color: #edcf96; font: inherit; background: transparent; border: 1px solid #ad874d; cursor: pointer; }
.sample-zoom p { font-size: 14px; line-height: 1.5; }
.sample-zoom-viewport { max-height: calc(96svh - 135px); overflow: auto; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y pinch-zoom; }
.sample-zoom img { display: block; width: max(100%, 1450px); max-width: none; height: auto; }
body:has(.sample-zoom[open]) { overflow: hidden; }
.sample-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin: 34px auto 0; }
.sample-frame {
  position: relative; isolation: isolate;
  min-width: 0; margin: 0; padding: 9px; border: 1px solid #ad874d;
  background: linear-gradient(110deg, #302318, #151512 22%, #241c15 68%, #322417);
  box-shadow: inset 0 0 0 2px #070b0c, inset 0 0 0 3px #c9a469b8, inset 0 0 0 5px #372d207a,
    0 1px 0 #efcf9580, 0 5px 0 #05080999, 0 18px 35px #010409aa;
}
.sample-frame::before { content: ''; position: absolute; inset: 5px; border: 1px solid #a0814d8c; pointer-events: none; }
.sample-frame-corner { position: absolute; z-index: 2; width: 31px; height: 31px; background: url('./assets/reading-example/frame-corner-v3.svg') center / contain no-repeat; pointer-events: none; }
.sample-frame-corner-tl { top: -1px; left: -1px; }
.sample-frame-corner-tr { top: -1px; right: -1px; transform: rotate(90deg); }
.sample-frame-corner-br { bottom: -1px; right: -1px; transform: rotate(180deg); }
.sample-frame-corner-bl { bottom: -1px; left: -1px; transform: rotate(270deg); }
.sample-frame figcaption {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 43px;
  padding: 5px 18px; margin: 0 0 5px;
  border-top: 1px solid #d9b579a1; border-bottom: 1px solid #a988536e;
  color: #edcf9a; font-size: 16px; line-height: 1.3; letter-spacing: .015em; text-shadow: 0 1px 2px #000;
  background: linear-gradient(90deg, #05080a2b, transparent 35%, #05080a21), url('./assets/reading-example/frame-wood-v3.svg?v=2') center / 100% 100%;
  box-shadow: inset 0 1px 0 #ebc68712, inset 0 -2px 4px #0007;
}
.sample-frame figcaption span { font-size: 11px; color: #bd9f6b; }
.sample-frame picture { display: block; overflow: hidden; border: 1px solid #bc955a91; box-shadow: 0 0 0 1px #070b0d, 0 0 0 2px #a4855040; cursor: zoom-in; }
.sample-frame img { display: block; width: 100%; height: auto; }
.sample-details {
  position: relative; width: min(100%, 980px); margin: 46px auto 0;
  padding: clamp(28px, 4vw, 54px) clamp(25px, 5vw, 72px);
  border: 1px solid #b594566b;
  background: radial-gradient(ellipse at 50% 0, #ae855b0c, transparent 60%), #08121ded;
  box-shadow: inset 0 0 0 5px #08121d, inset 0 0 0 6px #b5945626, 0 20px 45px #01040960;
}
.sample-details::before, .sample-details::after {
  content: '❖'; position: absolute; left: 50%; transform: translateX(-50%);
  top: -9px; padding: 0 12px; background: #111a23; color: #b99b66; font-size: 14px; line-height: 18px;
}
.sample-details::after { top: auto; bottom: -9px; }
.sample-detail-section { position: relative; }
.sample-detail-section + .sample-detail-section { margin-top: 33px; padding-top: 31px; border-top: 1px solid #b5945635; }
.sample-detail-number { display: block; margin-bottom: 9px; color: #b99b66; font-size: 11px; letter-spacing: .12em; }
.sample-detail-section h2 { margin: 0 0 16px; color: #e6c791; font-size: clamp(26px, 2.5vw, 34px); font-weight: 400; line-height: 1.25; scroll-margin-top: calc(var(--site-chrome-header-space) + 18px); }
.sample-detail-section p { color: #dfd2bb; font-size: 17px; line-height: 1.75; margin: 0 0 16px; }
.sample-detail-section p:last-child { margin-bottom: 0; }
.sample-inclusions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 25px; }
.sample-inclusions > div { border-left: 1px solid #ba985c5c; padding-left: 18px; }
.sample-inclusions h3 { color: #edcf96; font-size: 19px; font-weight: 400; line-height: 1.4; margin: 0 0 10px; }
.sample-inclusions p { color: #cdbfa6; font-size: 15px; line-height: 1.7; }
.sample-book-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 22px; list-style: none; padding: 0; margin: 14px 0 0; }
.sample-book-list li { min-width: 0; padding: 6px 0; border-bottom: 1px solid #b5945626; font-style: italic; overflow-wrap: anywhere; }
.sample-book-list .sample-book-english { display: block; color: #dfd2bb; font-size: 14px; line-height: 1.32; }
.sample-book-list .sample-book-chinese { display: block; margin-top: 2px; color: #bca77f; font-family: 'Songti SC', STSong, SimSun, serif; font-size: 12px; line-height: 1.35; letter-spacing: .02em; }
.sample-return {
  display: table; margin: 30px auto 0; min-height: 44px; padding: 13px 30px;
  border: 1px solid #ba985c; box-shadow: inset 0 0 0 3px #07101b, inset 0 0 0 4px #bd985e42;
  background: #07101bc9; color: #edcf96; font-size: 15px; line-height: 1.35; text-decoration: none;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.sample-return:hover { color: #fff1d3; border-color: #ead1a1; }
.sample-return:focus-visible { outline: 2px solid #f4d09a; outline-offset: 5px; }
@media (min-width: 601px) and (max-width: 1100px) and (orientation: landscape) {
  .sample-chamber { background-image: url('./assets/chamber-tablet-landscape-1448.webp'); }
  .sample-gallery { gap: 18px; }
}
@media (max-width: 1100px) and (orientation: portrait) {
  .sample-chamber { background-image: url('./assets/chamber-tablet-portrait-1086.webp'); }
  .sample-gallery { grid-template-columns: minmax(0, 1fr); max-width: 760px; gap: 28px; }
}
@media (max-width: 600px) {
  .sample-chamber { background-image: url('./assets/chamber-mobile-941.webp'); }
  .sample-main { padding-inline: 18px; padding-top: calc(var(--site-chrome-header-space) + 18px + env(safe-area-inset-top, 0px)); }
  .sample-access-summary { padding: 14px 16px; margin-top: 18px; }
  .sample-access-summary p { font-size: 15px; }
  .sample-access-summary span, .sample-access-summary .sample-availability { font-size: 13px; }
  .sample-prose p { font-size: 17px; }
  .sample-zoom { padding: 10px; }
  .sample-zoom h2 { font-size: 18px; }
  .sample-heading h1 { font-size: 32px; }
  .sample-eyebrow { font-size: 9px; margin-bottom: 10px; }
  .sample-introduction { font-size: 16px; }
  .sample-note { max-width: 280px; margin-inline: auto; font-size: 11px; }
  .sample-gallery { grid-template-columns: minmax(0, 1fr); gap: 23px; margin-top: 25px; }
  .sample-frame { padding: 7px; }
  .sample-frame-corner { width: 25px; height: 25px; }
  .sample-frame figcaption { font-size: 14px; min-height: 40px; }
  .sample-details { margin-top: 32px; padding: 30px 24px; }
  .sample-detail-section + .sample-detail-section { margin-top: 26px; padding-top: 25px; }
  .sample-detail-section h2 { font-size: 26px; }
  .sample-detail-section p { font-size: 16px; line-height: 1.75; }
  .sample-inclusions { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 23px; }
  .sample-inclusions h3 { font-size: 18px; }
  .sample-inclusions p { font-size: 15px; }
  .sample-book-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .sample-book-list li { padding-block: 5px; }
  .sample-book-list .sample-book-english { font-size: 13px; }
  .sample-book-list .sample-book-chinese { font-size: 12px; }
  .sample-return { margin-top: 24px; font-size: 14px; }
}
