:root {
  --paper: #f9f7ef;
  --ink: #202821;
  --teal: #174b40;
  --dark: #153f36;
  --muted: #535d53;
  --line: #cecec0;
  --amber: #b5792b;
  --serif: "Baskerville", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: linear-gradient(#faf8f1f3, #faf8f1f3), url("/assets/paper.jpg");
  font-size: 16px;
  line-height: 1.5;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
.art-stage:focus-visible {
  outline: 3px solid #b37820;
  outline-offset: 4px;
}
button {
  border: 0;
}
figure,
p,
h1,
h2,
h3 {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
em {
  font-weight: 400;
}
strong {
  font-weight: 600;
}
.wrap {
  width: min(1320px, calc(100% - 10vw));
  margin-inline: auto;
}
.mast {
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 3;
}
.mast-in {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  font: 600 clamp(23px, 2vw, 30px)/1 var(--serif);
  letter-spacing: -1.2px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
}
.mast .brand > .publisher-signature {
  display: block;
  width: clamp(135px, 14vw, 178px);
  height: auto;
  flex: none;
}
.mast nav,
.nav-end,
.hero-actions,
.choices,
.gallery-controls,
.edition,
.snapshot-top,
.price-fields,
.reader-foot,
.site-foot {
  display: flex;
  align-items: center;
}
.mast nav {
  gap: clamp(18px, 2.6vw, 40px);
}
.mast nav a,
.site-foot > a:last-child {
  font-size: 14px;
  text-decoration: none;
}
.mast nav a:hover,
.mast nav a:focus-visible,
.site-foot > a:last-child:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.mast nav a.active {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-color: var(--amber);
}
.nav-end {
  gap: 17px;
}
.test-label,
.micro,
.eyebrow,
.purchase-detail,
.gallery-number,
.reader-foot span,
.sample-kicker,
.preview-meta,
.snapshot-top,
.days span,
.edition {
  font-family: var(--mono);
}
.test-label {
  color: #71511d;
  font-size: 11px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.test-label:not(:empty):before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #b97c2f;
  border-radius: 50%;
  vertical-align: 2px;
  margin-right: 6px;
}
.test-label:empty {
  display: none;
}
.buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--teal);
  color: #fffef5;
  border: 1px solid var(--teal);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  padding: 17px 23px;
  border-radius: 4px;
  transition:
    background 0.16s,
    transform 0.16s;
}
.buy:hover:where(:not(:disabled)) {
  background: #0d382e;
  transform: translateY(-1px);
}
.buy:active {
  transform: translateY(0);
}
.nav-buy {
  font-size: 14px;
  padding: 12px 18px;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linejoin: round;
  stroke-linecap: round;
  flex: none;
}
.defs {
  width: 0;
  height: 0;
  position: absolute;
}
.hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(35px, 5.5vw, 95px);
  padding-block: clamp(42px, 4.1vw, 68px);
}
.hero-copy {
  padding-bottom: 5px;
}
.eyebrow,
.micro,
.preview-meta,
.sample-kicker {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #595f51;
}
.rule {
  width: 28px;
  height: 2px;
  flex: none;
  background: var(--amber);
}
.hero h1 {
  font-size: clamp(66px, 6.1vw, 104px);
  line-height: 0.94;
  letter-spacing: -0.057em;
  margin: 22px 0 21px;
}
.hero h1 em,
h2 em {
  color: var(--teal);
}
.lead {
  font-size: clamp(18px, 1.36vw, 22px);
  line-height: 1.44;
  letter-spacing: -0.018em;
  max-width: 515px;
}
.hero-body {
  font-size: 16px;
  line-height: 1.58;
  color: var(--muted);
  margin-top: 13px;
  max-width: 530px;
}
.hero-actions {
  gap: 22px;
  margin: 27px 0 12px;
  flex-wrap: wrap;
}
.textlink {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.textlink:hover {
  text-decoration-thickness: 2px;
}
.purchase-detail {
  font-size: 12px;
  color: #586054;
  letter-spacing: -0.035em;
}
.purchase-detail b {
  font-weight: 400;
  color: #9a9a86;
  margin-inline: 2px;
}
.gallery {
  min-width: 0;
}
.art-stage {
  aspect-ratio: 1.32;
  border: 1px solid #c3b8a3;
  overflow: hidden;
  background: #d9ceb9;
  position: relative;
  perspective: 1000px;
}
.art-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.025) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.3s ease-out;
  animation: settle 0.75s ease-out backwards;
}
@keyframes settle {
  from {
    opacity: 0.4;
    transform: translateY(-6px) scale(1.045) rotate(-0.7deg);
  }
}
.gallery figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  margin-top: 6px;
}
.edition {
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
}
.gallery-number {
  font-size: 11px;
  color: var(--ink);
  padding-right: 14px;
  border-right: 1px solid #b8baae;
}
.gallery-controls {
  gap: 5px;
}
.gallery-arrow {
  height: 29px;
  width: 31px;
  background: transparent;
  border: 1px solid #c6c9bb;
  border-radius: 2px;
  display: grid;
  place-content: center;
  font: 23px/1 Georgia;
}
.gallery-arrow:hover {
  background: #e9e9df;
}
.menu,
.mast .mobile-nav {
  display: none;
}
.skip {
  position: absolute;
  top: -80px;
  left: 1rem;
  z-index: 30;
  background: white;
  padding: 8px;
}
.skip:focus {
  top: 8px;
}
.exercise,
.closing {
  color: #f6f3e8;
  background: var(--dark);
}
.exercise {
  padding-block: clamp(43px, 4.5vw, 75px);
}
.exercise-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(35px, 5.5vw, 95px);
  align-items: center;
}
.light {
  color: #e5e9da;
}
.light .rule {
  background: #d4a45c;
}
.question h2,
.section h2,
.workshops h2,
.faq-section h2,
.closing h2,
.reviews h2 {
  font-size: clamp(43px, 4.35vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.05em;
}
.question h2 {
  margin: 19px 0 17px;
  white-space: nowrap;
}
.question h2 em,
.closing h2 em {
  color: #e5c185;
}
.question p:not(.eyebrow) {
  color: #e0e8da;
  font-size: 17px;
  line-height: 1.65;
}
.question strong {
  font-weight: 400;
  color: #fbfcf5;
}
.choices {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.choices button {
  background: transparent;
  border: 1px solid #82968a;
  color: #fffdf4;
  border-radius: 3px;
  font-size: 14px;
  min-height: 42px;
  padding: 8px 17px;
}
.choices button:hover,
.choices button[aria-pressed="true"] {
  background: #e8eadb;
  color: var(--dark);
  border-color: #e8eadb;
}
.snapshot {
  background-color: #f2f0e5;
  background-image:
    linear-gradient(#ced3c235 1px, transparent 1px),
    linear-gradient(90deg, #ced3c235 1px, transparent 1px);
  background-size: 20px 20px;
  color: var(--ink);
  border-radius: 3px;
  padding: 22px 26px 0;
  overflow: hidden;
  box-shadow: 4px 4px 0 #092d2560;
}
.snapshot-top {
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #b4bdad;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}
.snapshot-top > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.snapshot-top .icon {
  width: 17px;
  height: 17px;
}
.snapshot-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 5px;
}
.big-value {
  font: clamp(45px, 4vw, 69px)/1 var(--serif);
  letter-spacing: -0.06em;
  color: var(--teal);
}
.big-value span {
  font-size: 0.52em;
}
.snapshot-body p,
.days span {
  font-size: 12px;
  color: var(--muted);
}
.days {
  text-align: right;
  display: grid;
  border-left: 1px solid #bec2b1;
  padding-left: 25px;
}
.days strong {
  font: 29px/1 var(--serif);
}
.stream {
  display: block;
  width: calc(100% + 52px);
  margin-left: -26px;
  height: 75px;
  margin-top: 2px;
}
.chart {
  padding: 10px 0 14px;
}
.chart-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  position: relative;
  gap: 5px;
  font-size: 13px;
  margin: 9px 0;
}
.chart-row .value {
  font-family: var(--mono);
  font-weight: 600;
}
.bar-track {
  grid-column: 1/-1;
  position: relative;
  height: 7px;
  background: #d7dbcc88;
  overflow: hidden;
  border-radius: 1px;
}
.bar-track i {
  display: block;
  position: absolute;
  inset-block: 0;
  left: var(--start);
  width: var(--width);
  background: repeating-linear-gradient(0deg, var(--color) 0 1px, transparent 1px 2px);
  border-block: 1px solid var(--color);
  transform-origin: right;
  animation: allocate 0.48s ease-out backwards;
  animation-delay: var(--delay);
}
@keyframes allocate {
  from {
    transform: translateX(calc(0px - var(--travel, 0px))) scaleX(0.1);
    opacity: 0;
  }
}
.chart-row:last-child {
  padding-top: 9px;
  border-top: 1px solid #bcc2b2;
}
.adjuster {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 5.5vw;
  align-items: center;
  border-top: 1px solid #527064;
  padding-top: 26px;
  margin-top: 32px;
}
.adjuster label {
  font-size: 15px;
}
.price-fields {
  gap: 18px;
  margin-top: 10px;
}
.money-input {
  font-family: var(--mono);
  background: #fffdf4;
  border-radius: 3px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 7px 9px;
}
.money-input input {
  width: 75px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 16px;
}
.price-fields input[type="range"] {
  width: min(190px, 40%);
  accent-color: #d2ac69;
}
.decision,
.exercise-end {
  font-size: 14px;
  color: #c4d4c6;
}
.decision {
  margin-top: 5px;
}
.exercise-end {
  margin-top: 25px;
}
.section,
.faq-section,
.reviews {
  padding-block: clamp(60px, 6.3vw, 100px);
}
.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin: 16px 0 33px;
}
.section-intro p,
.workshop-intro,
.contents-list p,
.faq-list p,
.reviews-intro {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.section-intro p {
  max-width: 440px;
}
.preview-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.preview-card {
  display: block;
  text-align: left;
  padding: 0;
  background: transparent;
  min-width: 0;
}
.mini-stage {
  position: relative;
  height: clamp(170px, 17vw, 248px);
  background: #d7dbcd;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-items: start;
  padding-top: 22px;
  isolation: isolate;
}
.preview-card:nth-child(2) .mini-stage {
  background: #e6d9c2;
}
.preview-card:nth-child(3) .mini-stage {
  background: #ccd9ce;
}
.thumb-page {
  width: 78%;
  min-height: 270px;
  box-shadow: 2px 3px 12px #2639292b;
  background: #fbf9ee;
  padding: 17px 16px;
  transform: rotate(-4deg);
  transition: transform 0.25s;
}
.preview-card:nth-child(2) .thumb-page {
  transform: rotate(2deg);
}
.preview-card:nth-child(3) .thumb-page {
  transform: rotate(-2deg);
}
.preview-card:hover .thumb-page {
  transform: translateY(-4px) rotate(0);
}
.preview-card .zoom {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 1px solid #bac3b2;
  background: var(--paper);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
}
.preview-meta {
  font-size: 11px;
  display: block;
  margin: 15px 0 4px;
  color: #626751;
}
.preview-name {
  font: clamp(23px, 2vw, 32px)/1.2 var(--serif);
  letter-spacing: -0.04em;
}
.preview-card .thumb-page :is(.sample-kicker, p, td, th, dt, dd, .sample-note) {
  font-size: 8px !important;
  line-height: 1.25;
}
.thumb-page .sample-page h3 {
  font-size: 20px;
}
.thumb-page .sample-page table {
  margin: 7px 0;
}
.thumb-page .sample-page th,
.thumb-page .sample-page td {
  padding: 3px 1px;
}
.thumb-page .sample-page p {
  margin: 4px 0;
}
.thumb-page .sample-calendar {
  gap: 3px;
  margin: 6px 0;
}
.thumb-page .sample-calendar > div {
  padding: 3px;
}
.workshops {
  border-block: 1px solid var(--line);
  padding-block: 65px;
  background: #efefe5;
}
.workshop-layout,
.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8vw;
}
.workshops h2,
.faq-section h2 {
  margin-top: 16px;
}
.workshop-intro {
  margin-top: 22px;
  max-width: 355px;
}
.contents-list {
  list-style: none;
  counter-reset: chapters;
  margin: 0;
  padding: 0;
}
.contents-list li {
  counter-increment: chapters;
  position: relative;
  padding: 17px 0 17px 48px;
  border-top: 1px solid #bfc4b6;
}
.contents-list li:before {
  content: counter(chapters, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 23px;
  font: 12px var(--mono);
  color: #7b5a29;
}
.contents-list li:last-child {
  border-bottom: 1px solid #bfc4b6;
}
.contents-list h3 {
  font-size: 26px;
  line-height: 1.14;
  letter-spacing: -0.035em;
}
.contents-list p {
  margin-top: 7px;
  font-size: 15px;
}
.reviews {
  border-bottom: 1px solid var(--line);
}
.reviews h2 {
  margin-top: 13px;
}
.reviews-intro {
  margin: 12px 0 25px;
}
.reviews-grid blockquote {
  margin: 0;
  border-top: 2px solid var(--teal);
  padding: 20px 5px 0 0;
}
.reviews-grid blockquote p {
  font: 23px/1.38 var(--serif);
  letter-spacing: -0.02em;
}
.reviews-grid cite {
  display: block;
  font: 12px var(--mono);
  color: var(--muted);
  margin-top: 16px;
}
.faq-list details {
  border-top: 1px solid var(--line);
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  font-size: 17px;
}
.faq-list summary:after {
  content: "+";
  font-family: var(--mono);
  color: var(--teal);
}
.faq-list details[open] summary:after {
  content: "−";
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list p {
  padding-bottom: 18px;
  max-width: 580px;
}
.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
  padding-block: 52px;
}
.final-grid img {
  width: 100%;
  height: clamp(260px, 30vw, 425px);
  object-fit: cover;
}
.closing h2 {
  margin: 17px 0;
}
.closing p:not(.eyebrow):not(.purchase-detail) {
  color: #dce4d5;
  max-width: 530px;
}
.closing form {
  margin: 22px 0 12px;
}
.buy.cream {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--dark);
}
.buy.cream:hover {
  background: #e2e4d7;
}
.closing .purchase-detail {
  color: #d0dace;
}
.site-foot {
  padding-block: 30px;
  justify-content: space-between;
  gap: 20px;
}
.site-foot > span {
  color: var(--muted);
  font-size: 13px;
}
#reader {
  width: min(760px, calc(100% - 32px));
  max-height: 90dvh;
  border: 1px solid #b3b7a6;
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  border-radius: 4px;
  box-shadow: 0 20px 70px #192a2280;
}
#reader[open] {
  display: flex;
  flex-direction: column;
}
#reader::backdrop {
  background: #172a23bb;
}
.reader-bar,
.reader-foot {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.reader-bar {
  border-bottom: 1px solid var(--line);
}
.reader-bar h2 {
  font-size: 27px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.reader-bar .micro {
  color: var(--muted);
  font-size: 11px;
}
.close {
  font: 30px/1 var(--sans);
  width: 44px;
  height: 44px;
  background: transparent;
}
.reader-scroll {
  overflow: auto;
  padding: 22px 30px;
}
.reader-foot {
  border-top: 1px solid var(--line);
  background: #efefe5;
}
.reader-foot button,
#reader-tabs button {
  background: transparent;
  border: 1px solid #b7bdb1;
  border-radius: 3px;
  padding: 7px 11px;
  font-size: 13px;
}
.reader-foot span {
  font-size: 12px;
}
.reader-foot button:hover,
#reader-tabs button:hover {
  background: #e1e6d9;
}
#reader-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
#reader-tabs:empty {
  display: none;
}
#reader-tabs button[aria-pressed="true"] {
  background: var(--teal);
  color: white;
}
.sample-page h3 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 8px 0;
}
.sample-page p,
.sample-page dd,
.sample-page th,
.sample-page td {
  font-size: 15px;
}
.sample-page .sample-kicker {
  font-size: 11px;
  color: #755e31;
}
.sample-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  table-layout: auto;
}
.sample-page td,
.sample-page th {
  text-align: left;
  vertical-align: top;
  line-height: 1.4;
  padding: 8px 5px;
  border-bottom: 1px solid #cacfc0;
}
.sample-page th {
  font-weight: 600;
  color: var(--teal);
}
.sample-page .sample-note {
  border-left: 2px solid var(--amber);
  padding-left: 10px;
  color: var(--muted);
  margin-top: 12px;
}
.sample-calendar {
  margin: 16px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.sample-calendar > div {
  padding: 8px;
  border: 1px solid var(--line);
}
.sample-page dd {
  margin: 0;
}
.page-turn {
  transform-origin: left;
  animation: turn 0.3s ease-out;
}
@keyframes turn {
  from {
    transform: perspective(700px) rotateY(-9deg);
    opacity: 0.4;
  }
}
[hidden],
.mast nav[hidden] {
  display: none !important;
}
.notice {
  padding: 10px 5%;
  background: #ede8d7;
  text-align: center;
  color: var(--dark);
  font-size: 14px;
}
@media (min-width: 1600px) {
  .wrap {
    width: min(1440px, 90%);
  }
  .hero {
    gap: 90px;
  }
  .hero-body {
    max-width: 570px;
  }
}
@media (max-width: 1050px) {
  .wrap {
    width: 92%;
  }
  .mast-in {
    gap: 12px;
    min-height: 70px;
  }
  .mast nav {
    gap: 18px;
  }
  .nav-end {
    gap: 10px;
  }
  .hero,
  .exercise-grid {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: clamp(56px, 6.8vw, 76px);
  }
  .hero-actions {
    gap: 14px;
  }
  .buy {
    padding: 15px 16px;
  }
  .nav-buy {
    padding: 10px 13px;
  }
  .hero-body {
    font-size: 15px;
  }
  .art-stage {
    aspect-ratio: 1.07;
  }
  .question h2 {
    font-size: 48px;
  }
  .section-intro {
    align-items: start;
  }
  .section-intro p {
    max-width: 350px;
  }
  .brand {
    gap: 8px;
  }
}
@media (max-width: 800px) {
  .mast-in {
    min-height: 64px;
  }
  .mast-in > nav {
    display: none;
  }
  .menu {
    width: 34px;
    height: 40px;
    background: transparent;
    display: grid;
    align-content: center;
    justify-content: center;
    gap: 5px;
  }
  .menu span {
    width: 20px;
    height: 1.5px;
    background: var(--teal);
  }
  .mast .mobile-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 6px 4% 12px;
    box-shadow: 0 14px 20px #1f342f13;
  }
  .mobile-nav a {
    padding: 10px 0;
  }
  .hero {
    gap: 25px;
  }
  .hero-actions {
    align-items: start;
    gap: 10px;
    flex-direction: column;
  }
  .hero h1 {
    font-size: 56px;
  }
  .lead {
    font-size: 17px;
  }
  .hero-body {
    font-size: 15px;
  }
  .purchase-detail {
    font-size: 11px;
  }
  .art-stage {
    aspect-ratio: 0.84;
  }
  .question h2 {
    font-size: 40px;
  }
  .exercise-grid {
    gap: 24px;
  }
  .choices {
    gap: 5px;
  }
  .choices button {
    padding: 7px 12px;
    font-size: 13px;
  }
  .snapshot {
    padding-inline: 16px;
  }
  .stream {
    width: calc(100% + 32px);
    margin-left: -16px;
  }
  .section-intro {
    display: block;
  }
  .section-intro p {
    max-width: 540px;
    margin-top: 12px;
  }
  .workshop-layout,
  .faq-section {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 30px;
  }
}
@media (max-width: 640px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .mast-in {
    min-height: 63px;
  }
  .brand {
    font-size: 23px;
  }
  .brand img {
    width: 27px;
    height: 27px;
  }
  .nav-end {
    gap: 6px;
  }
  .nav-buy {
    font-size: 12px;
    padding: 9px 10px;
  }
  .test-label {
    font-size: 9px;
    letter-spacing: 0;
  }
  .test-label:not(:empty):before {
    width: 4px;
    height: 4px;
    margin-right: 3px;
  }
  .menu {
    width: 28px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    padding-block: 32px 25px;
  }
  .hero-copy {
    padding: 0;
  }
  .eyebrow {
    font-size: 11px;
  }
  .hero h1 {
    font-size: clamp(58px, 12.4vw, 77px);
    margin: 16px 0;
  }
  .hero h1 br {
    display: none;
  }
  .hero h1 em:before {
    content: " ";
  }
  .lead {
    font-size: 17px;
    line-height: 1.45;
  }
  .hero-body {
    margin-top: 10px;
    line-height: 1.5;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    margin: 20px 0 10px;
  }
  .buy {
    font-size: 14px;
    padding: 14px;
  }
  .nav-buy {
    font-size: 12px;
    padding: 9px;
  }
  .textlink {
    font-size: 13px;
  }
  .purchase-detail {
    font-size: 11px;
  }
  .art-stage {
    aspect-ratio: 1.55;
  }
  .art-stage img {
    object-fit: cover;
  }
  .gallery figcaption {
    min-height: 28px;
    margin-top: 5px;
  }
  .exercise-grid,
  .adjuster,
  .workshop-layout,
  .faq-section,
  .final-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .exercise {
    padding-block: 35px;
  }
  .question h2 {
    font-size: 45px;
    white-space: normal;
    margin: 15px 0 12px;
  }
  .choices {
    margin-top: 15px;
  }
  .choices button {
    min-height: 42px;
    padding: 8px 15px;
  }
  .snapshot {
    padding-top: 17px;
  }
  .snapshot-body {
    padding-top: 15px;
  }
  .stream {
    height: 65px;
  }
  .big-value {
    font-size: 51px;
  }
  .adjuster {
    margin-top: 26px;
    gap: 15px;
  }
  .section,
  .reviews,
  .faq-section {
    padding-block: 42px;
  }
  .section-intro {
    margin: 14px 0 24px;
  }
  .section-intro h2,
  .workshops h2,
  .faq-section h2,
  .closing h2,
  .reviews h2 {
    font-size: 44px;
  }
  .preview-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .mini-stage {
    height: 205px;
  }
  .thumb-page {
    max-width: 260px;
  }
  .preview-meta {
    margin-top: 10px;
  }
  .preview-name {
    font-size: 27px;
  }
  .workshops {
    padding-block: 42px;
  }
  .workshops h2 br {
    display: none;
  }
  .workshops h2 em:before {
    content: " ";
  }
  .workshop-intro {
    max-width: none;
  }
  .contents-list li {
    padding-left: 39px;
  }
  .final-grid {
    padding-block: 30px 38px;
  }
  .final-grid img {
    height: 205px;
  }
  .site-foot {
    flex-wrap: wrap;
    padding-block: 22px;
  }
  .site-foot > span {
    display: none;
  }
  .reader-scroll {
    padding: 16px 13px;
  }
  .reader-bar,
  .reader-foot {
    padding: 10px 12px;
    gap: 6px;
  }
  .reader-bar h2 {
    font-size: 23px;
  }
  .sample-page td,
  .sample-page th {
    font-size: 13px;
    padding: 7px 3px;
  }
  .sample-page table {
    width: 100%;
  }
  .sample-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .reader-foot button {
    font-size: 12px;
  }
  .review-grid blockquote p {
    font-size: 21px;
  }
}
@media (max-width: 370px) {
  .nav-end .test-label {
    font-size: 0;
  }
  .nav-end .test-label:not(:empty) {
    font-size: 9px;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 22px;
  }
  .wrap {
    width: calc(100% - 24px);
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .buy {
    padding: 13px 10px;
  }
  .nav-end {
    gap: 4px;
  }
  .menu {
    width: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .art-stage img {
    transform: none;
  }
}
.order-panel {
  width: min(960px, 90%);
  margin: clamp(40px, 8vw, 130px) auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 48px;
}
.order-panel > img {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
}
.order-panel h1 {
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 18px 0;
}
.order-panel .buy {
  margin: 18px 0 8px;
  text-decoration: none;
}
.order-panel .back-home {
  display: block;
  width: max-content;
  margin-top: 20px;
}
.paid-detail {
  font-family: var(--mono);
  font-size: 13px;
  margin-top: 16px;
}
.receipt-mail {
  margin-top: 15px;
}
.receipt-mail summary {
  cursor: pointer;
}
.receipt-mail pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
@media (max-width: 640px) {
  .order-panel {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .order-panel > img {
    max-height: 200px;
    aspect-ratio: 1.6;
  }
}
/* The book is built at its printed aspect ratio with two boards, a bound spine,
   a paper block and a separately hinged front. The camera stays still. */
.book-stage,
.spread-stage {
  position: relative;
  perspective: 1300px;
  isolation: isolate;
}
.book-stage {
  aspect-ratio: 1.32;
  overflow: hidden;
  border: 1px solid #c6bca6;
  background-color: #d5c8ae;
  background-image:
    linear-gradient(132deg, #ffffff36 8%, #f0e1bd00 44%, #84775835), url("/assets/paper.jpg");
  background-size: cover, 370px;
  background-blend-mode: normal, multiply;
  cursor: grab;
  touch-action: pan-y;
}
.book-stage:before,
.spread-stage:before {
  content: "";
  position: absolute;
  inset: -25%;
  pointer-events: none;
  background: linear-gradient(
    128deg,
    transparent 14%,
    #685b3d1c 17%,
    transparent 18%,
    transparent 23%,
    #594c3522 26%,
    transparent 27%
  );
  filter: blur(5px);
}
.book-stage.dragging {
  cursor: grabbing;
}
.book-position {
  width: 48%;
  aspect-ratio: 612/792;
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  --depth: 17px;
  --half: 8.5px;
}
.book-volume {
  width: 100%;
  height: 100%;
  position: relative;
  transform: rotateX(12deg) rotateY(20deg) rotateZ(-8deg);
  transform-style: preserve-3d;
}
.cast-shadow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 49%;
  aspect-ratio: 612/792;
  border-radius: 6%;
  background: #4b3b26;
  opacity: 0.46;
  filter: blur(15px);
  transform: translate(-44%, -43%) rotate(-8deg);
}
.hinge,
.case-front,
.endpaper,
.board-back,
.paper-side,
.turning-leaf {
  position: absolute;
  inset: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transform-style: preserve-3d;
}
.hinge {
  transform-origin: left center;
  transform: translateZ(calc(var(--half) + 1.1px));
  transition: transform 0.78s cubic-bezier(0.22, 0.76, 0.16, 1);
}
.hinge.opened {
  transform: translateZ(calc(var(--half) + 1.1px)) rotateY(-178.5deg);
}
.case-front,
.endpaper,
.board-back {
  backface-visibility: hidden;
  border-radius: 1px 2px 2px 1px;
}
.case-front {
  background-color: #f7f4e9;
  box-shadow:
    inset 2px 0 2px #fff5,
    inset -1px -1px 0 #b4b39b;
  transform: translateZ(0.3px);
}
.case-front:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #122f271e,
    transparent 1.3%,
    #26382c17 2.4%,
    #fff3 3.2%,
    transparent 4.6%,
    transparent 97%,
    #392f2314
  );
  box-shadow: inset 0 0 0 1px #aaa38c77;
}
.endpaper,
.board-back,
.spine {
  background-color: #204b40;
  background-image: linear-gradient(#164337da, #164337da), url("/assets/paper.jpg");
  background-size: auto, 250px;
}
.endpaper {
  transform: rotateY(180deg) translateZ(0.6px);
  display: grid;
  place-content: center;
  color: #e9e6cc;
  box-shadow: inset -8px 0 12px #122e273a;
}
.endpaper span {
  font: italic clamp(21px, 3vw, 50px)/1.03 var(--serif);
  letter-spacing: -0.04em;
  text-align: center;
}
.board-back {
  transform: rotateY(180deg) translateZ(calc(var(--half) + 1px));
  display: grid;
  place-content: end center;
}
.board-back:after {
  content: "";
  width: 109px;
  aspect-ratio: 268 / 64;
  background-color: #e5cf99;
  mask: url("/assets/vellmere-editions.svg") center / contain no-repeat;
  margin-bottom: 9%;
}
.edge,
.spine {
  position: absolute;
}
.edge {
  background-color: #e4decd;
  background-image: repeating-linear-gradient(
    90deg,
    #716e542a 0 0.6px,
    #f7f2df 1px 1.8px,
    #c4bdab 2.1px 2.4px
  );
}
.fore-edge,
.spine {
  height: 100%;
  width: var(--depth);
  top: 0;
  left: 100%;
  transform-origin: left;
  transform: translateZ(var(--half)) rotateY(90deg);
}
.spine {
  left: 0;
  transform: translateZ(calc(0px - var(--half))) rotateY(-90deg);
  display: grid;
  place-items: center;
  color: #eae8cf;
  box-shadow:
    inset 2px 0 3px #092e27,
    inset -2px 0 3px #78907a;
}
.spine span {
  writing-mode: vertical-rl;
  white-space: nowrap;
  font: 12px/1 var(--serif);
  letter-spacing: 0.02em;
}
.head-edge,
.tail-edge {
  width: 100%;
  height: var(--depth);
  left: 0;
  top: 0;
  transform-origin: top;
  transform: translateZ(calc(0px - var(--half))) rotateX(90deg);
  background-image: repeating-linear-gradient(0deg, #b9b29b 0 1px, #ece7d7 1.2px 2px);
}
.tail-edge {
  top: 100%;
  transform: translateZ(var(--half)) rotateX(-90deg);
}
.paper-side,
.turning-leaf {
  backface-visibility: hidden;
  transform: translateZ(var(--half));
  pointer-events: none;
}
.right-page {
  background-color: #faf8ef;
}
.left-page {
  visibility: hidden;
  inset: 0 100% 0 -100%;
  background-color: #faf8ef;
  transform: translateZ(calc(var(--half) + 10px));
  box-shadow: inset -8px 0 15px #233a2829;
}
.left-page.visible {
  visibility: visible;
}
.turning-leaf {
  z-index: 1;
  transform: translateZ(calc(var(--half) + 11px));
  pointer-events: none;
}
.leaf-strip {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
}
.leaf-strip > div {
  backface-visibility: hidden;
  position: absolute;
  inset: 0;
  background-color: #faf8ef;
  background-repeat: no-repeat;
}
.leaf-strip .verso {
  transform: rotateY(180deg);
}
.edition {
  gap: 8px;
}
.edition .icon {
  width: 16px;
  height: 16px;
}
.open-volume,
.theatre-foot button,
.read-text {
  background: transparent;
  color: var(--teal);
  border: 0;
  font-size: 13px;
  font-weight: 600;
}
.open-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0 8px 13px;
}
.open-volume .icon {
  width: 17px;
  height: 17px;
}
.open-volume:hover,
.read-text:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.book-stage:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}
#book-theatre {
  padding: 0;
  color: var(--ink);
  width: min(1180px, 96vw);
  max-width: 96vw;
  height: min(880px, 94dvh);
  max-height: 94dvh;
  overflow: hidden;
  border: 1px solid #b8bba5;
  border-radius: 4px;
  background: #e5e0cd;
  box-shadow: 0 25px 80px #172e2866;
}
#book-theatre[open] {
  display: flex;
  flex-direction: column;
}
#book-theatre::backdrop {
  background: #132d27dd;
}
.theatre-top,
.theatre-foot,
.reading-controls {
  position: relative;
  z-index: 1;
  background: var(--paper);
}
.theatre-top {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.theatre-top h2 {
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.theatre-top .micro {
  color: #6b705e;
  font-size: 11px;
}
.spread-stage {
  flex: 1;
  overflow: hidden;
  min-height: 0;
  background: radial-gradient(ellipse at 60% 45%, #e5dfca80, #a09b7a4d), url("/assets/paper.jpg");
  perspective: 1700px;
}
.spread-stage .book-position {
  left: 70%;
  top: 50%;
  width: min(38%, calc((94dvh - 185px) * 0.69), 440px);
  --depth: 12px;
  --half: 6px;
}
.spread-stage .book-position:before {
  content: "";
  position: absolute;
  inset: 3% -3% -2% -97%;
  background: #514d3d66;
  filter: blur(15px);
  transform: translateZ(-15px);
  opacity: 0;
  transition: opacity 0.5s;
}
.spread-stage .book-position.opened:before {
  opacity: 1;
}
.theatre-foot {
  padding: 12px 22px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  border-top: 1px solid var(--line);
}
.theatre-foot button {
  padding: 8px 14px;
  border: 1px solid #bac2ae;
  border-radius: 3px;
}
.theatre-foot button:disabled {
  opacity: 0.4;
}
.page-status {
  font: 12px var(--mono);
  min-width: 14em;
  text-align: center;
}
.reading-controls {
  text-align: center;
  padding: 0 4px 10px;
}
.read-text {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 12px;
  padding: 4px 8px;
}
.reader-scroll {
  overflow-x: hidden;
}
.mini-stage img {
  width: 100%;
  height: auto;
  display: block;
}
.specimen-image {
  padding: 0;
}
.sample-page .sample-table-wrap {
  overflow: auto;
}
.page-turn {
  animation: turn 0.45s ease-out;
}
@media (max-width: 1050px) {
  .book-stage {
    aspect-ratio: 1.07;
  }
  .book-stage .book-position {
    width: 57%;
  }
}
@media (max-width: 800px) {
  .book-stage {
    aspect-ratio: 0.85;
  }
  .book-stage .book-position {
    width: 67%;
  }
}
@media (max-width: 640px) {
  .book-stage {
    aspect-ratio: 1.4;
  }
  .book-stage .book-position {
    width: 46%;
  }
  .spread-stage .book-position {
    width: min(78%, calc((94dvh - 180px) * 0.68));
    left: 52%;
  }
  .theatre-top {
    padding: 12px;
  }
  .theatre-top h2 {
    font-size: 23px;
  }
  .theatre-foot {
    gap: 7px;
    padding: 12px 5px 5px;
  }
  .theatre-foot button {
    font-size: 12px;
    padding: 7px;
  }
  .page-status {
    min-width: 0;
    flex: 1;
    font-size: 11px;
  }
  .endpaper span {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .mast-in {
    position: relative;
    min-height: 66px;
    gap: 8px;
  }
  .mast .test-label:not(:empty) {
    position: absolute;
    top: 46px;
    left: 35px;
    font-size: 9px;
  }
  .mast-in:has(.test-label:not(:empty)) .brand {
    transform: translateY(-4px);
  }
  .nav-buy {
    white-space: nowrap;
  }
  .mast .nav-end {
    gap: 8px;
  }
  .book-stage:focus-visible {
    outline-offset: 2px;
  }
}
.bar-track i {
  background: var(--color);
  border: 0;
  animation: none;
}
.chart-row:nth-child(3) .bar-track i {
  background: #568276;
}
.chart-row:nth-child(4) .bar-track i {
  background: #81a196;
}
.chart-row:nth-child(5) .bar-track i {
  background: #839484;
}
.chart-row:last-child .bar-track i {
  background: #cb933f;
}
.order-panel > img {
  object-fit: contain;
  background: #e5e1d3;
}
.open-volume {
  min-height: 40px;
}
/* A single illustrated stage connects the cover and its interior studies. */
.exhibit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #123b32;
  color: #f6f1de;
}
.scenery {
  position: absolute;
  inset: -2%;
  z-index: -2;
  background:
    linear-gradient(90deg, #122f29ed 0%, #16392dc7 29%, #14332939 58%, transparent 88%),
    url("/assets/paper-landscape.jpg") center center/cover;
  transition:
    transform 1.05s cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 0.85s;
  transform: scale(1.03);
}
.exhibit[data-scene="1"] .scenery {
  transform: scale(1.22) translate(-2%, 1%);
  filter: hue-rotate(-13deg);
}
.exhibit[data-scene="2"] .scenery {
  transform: scale(1.2) translate(2%, -4%);
  filter: hue-rotate(-29deg);
}
.exhibit[data-scene="3"] .scenery {
  transform: scale(1.17) translate(-2%, -4%);
  filter: hue-rotate(12deg);
}
.exhibit .hero {
  grid-template-columns: 0.86fr 1.14fr;
  gap: 3.6vw;
  padding-block: clamp(30px, 3vw, 55px);
  min-height: min(730px, 73vh);
}
.hero .eyebrow {
  color: #e6eada;
}
.hero .rule {
  background: #dbad61;
}
.hero h1 {
  font-size: clamp(70px, 6.2vw, 105px);
  letter-spacing: -0.055em;
}
.hero h1 em {
  color: #e2c48b;
}
.hero .lead {
  color: #fffbed;
  max-width: 490px;
}
.hero-body {
  color: #d8e2d6;
}
.hero .buy {
  background: #f5efdf;
  border-color: #f5efdf;
  color: #153e34;
}
.hero .buy:hover:where(:not(:disabled)) {
  background: #e1d4b9;
}
.hero .textlink {
  color: #fff8e6;
}
.hero .purchase-detail {
  color: #d5ddcc;
}
.hero .purchase-detail b {
  color: #c5c0a9;
}
.book-stage {
  background: transparent;
  border: 0;
  aspect-ratio: 1.45;
  overflow: visible;
}
.book-stage:before {
  content: none;
}
.book-stage .book-position {
  width: 48%;
  top: 47%;
  --depth: 19px;
  --half: 9.5px;
}
.cast-shadow {
  background: #04140c;
  filter: blur(17px);
  opacity: 0.68;
  top: 54%;
}
.gallery figcaption {
  border-top: 1px solid #dfe8d54a;
  margin: 8px 0 0;
  padding-top: 8px;
  min-height: 42px;
}
.edition,
.open-volume,
.inspect-cover,
.pause-orbit {
  color: #fcf8e9;
}
.open-volume {
  font-size: 13px;
  font-weight: 500;
}
.gallery-controls {
  gap: 6px;
}
.inspect-cover,
.pause-orbit {
  width: 32px;
  height: 32px;
  display: grid;
  place-content: center;
  border: 1px solid #d6e4d56b;
  border-radius: 50%;
  background: #163a2b7a;
}
.inspect-cover[aria-pressed="true"],
.pause-orbit[aria-pressed="true"] {
  background: #efe5c9;
  color: #1a3f33;
}
.inspect-cover .icon {
  width: 15px;
  height: 15px;
}
.pause-orbit {
  font-size: 15px;
  line-height: 1;
}
.case-front:after {
  background:
    linear-gradient(90deg, #163e361c, transparent 1.5%, #132f2424 2.6%, #fff5 3.3%, transparent 5%),
    linear-gradient(145deg, #fff2, transparent 55%, rgb(33 38 25 / var(--light, 0)));
}
.exhibit-index {
  background: #0f2d24c9;
  backdrop-filter: blur(8px);
  border-top: 1px solid #d4dfc84d;
}
.scene-tabs {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3.6vw, 60px);
  min-height: 62px;
}
.index-label {
  color: #c3cfbb;
  font: 11px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: auto;
}
.scene-tabs button {
  padding: 12px 0 10px;
  position: relative;
  color: #ccdac9;
  font: clamp(18px, 1.6vw, 25px)/1.1 var(--serif);
  background: none;
  white-space: nowrap;
}
.scene-tabs button:after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #d9b270;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}
.scene-tabs button[aria-pressed="true"] {
  color: #fffae9;
}
.scene-tabs button[aria-pressed="true"]:after {
  transform: scaleX(1);
}
.hero-study {
  min-height: 7em;
}
.book-position {
  transition:
    width 0.75s cubic-bezier(0.22, 0.7, 0.2, 1),
    left 0.75s cubic-bezier(0.22, 0.7, 0.2, 1),
    top 0.75s;
}
.book-stage.interior .book-position {
  width: 41%;
  left: 71%;
  top: 48%;
}
.book-stage.interior .cast-shadow {
  width: 82%;
  aspect-ratio: 1.6;
}
.book-stage.inspecting .book-position {
  width: 78%;
  top: 53%;
}
.book-stage.inspecting {
  overflow: hidden;
}
.book-stage.inspecting .case-front {
  box-shadow: inset 0 0 12px #bcb7a0;
}
.exercise {
  background: #e9ecdf;
  color: var(--ink);
  border-bottom: 1px solid #bec6b5;
}
.exercise .eyebrow,
.exercise .question p:not(.eyebrow),
.exercise .decision,
.exercise .exercise-end {
  color: #465849;
}
.exercise .question strong {
  color: var(--ink);
}
.exercise .question h2 em {
  color: var(--teal);
}
.exercise .choices button {
  color: var(--teal);
  border-color: #8d9b87;
}
.exercise .choices button:hover,
.exercise .choices button[aria-pressed="true"] {
  color: white;
  background: var(--teal);
}
.exercise .snapshot {
  border: 1px solid #b5bfac;
  box-shadow: 4px 4px 0 #c5cfba;
}
.exercise .adjuster {
  border-color: #adbca5;
}
.hero-copy {
  min-width: 0;
}
.gallery {
  align-self: center;
}
.hero [data-scene-title] {
  line-height: 1;
}
.book-stage:focus-visible {
  outline-color: #e7c885;
}
@media (min-width: 1600px) {
  .book-stage {
    aspect-ratio: 1.5;
  }
}
@media (min-width: 641px) and (max-width: 1050px) {
  .exhibit .hero {
    grid-template-columns: 0.91fr 1.09fr;
    gap: 3vw;
  }
  .book-stage {
    aspect-ratio: 1;
  }
  .book-stage .book-position {
    width: 63%;
  }
  .hero h1 {
    font-size: clamp(53px, 7vw, 72px);
  }
  .gallery figcaption .edition {
    font-size: 11px;
  }
  .scene-tabs {
    gap: 21px;
  }
  .book-stage.interior .book-position {
    width: 46%;
    left: 72%;
  }
}
@media (max-width: 640px) {
  .exhibit .hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding-block: 24px 25px;
  }
  .hero-copy {
    display: contents;
  }
  .hero .hero-kicker {
    order: 0;
  }
  .hero h1 {
    order: 1;
    font-size: clamp(47px, 11.7vw, 67px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    margin: 12px 0 6px;
  }
  .hero h1 br {
    display: none;
  }
  .hero .gallery {
    order: 2;
    margin: 2px 0 0;
  }
  .book-stage {
    aspect-ratio: 1.42;
  }
  .book-stage .book-position {
    width: 45%;
    --depth: 13px;
    --half: 6.5px;
  }
  .book-stage.interior .book-position {
    width: 40%;
    left: 70%;
  }
  .gallery figcaption {
    margin: 0;
    padding: 0;
    min-height: 37px;
  }
  .hero .hero-actions {
    order: 3;
    margin: 17px 0 8px;
  }
  .hero .purchase-detail {
    order: 4;
  }
  .hero .lead {
    order: 5;
    margin-top: 20px;
    font-size: 16px;
  }
  .hero-body {
    order: 6;
    font-size: 14px;
  }
  .scenery {
    background-image:
      linear-gradient(180deg, #112f2588 0%, #102d2220 40%, #142e25e6 75%, #142e25fc 95%),
      url("/assets/paper-landscape.jpg");
    background-size:
      cover,
      auto 80%;
    background-position:
      center,
      50% 0;
    background-repeat: no-repeat;
  }
  .scene-tabs {
    gap: 0;
    justify-content: space-between;
    min-height: 52px;
  }
  .index-label {
    display: none;
  }
  .scene-tabs button {
    font-size: 16px;
  }
  .open-volume {
    min-height: 34px;
  }
  .inspect-cover,
  .pause-orbit {
    height: 28px;
    width: 28px;
  }
  .gallery figcaption .edition {
    font-size: 11px;
  }
  .scene-tabs button:after {
    bottom: 3px;
  }
  .hero-study {
    min-height: 0;
  }
}
/* The featured publication owns the first screen. The title rail and illustrated
   backdrops follow the same selected excerpt as the physical book. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.gallery-first {
  background: #102b24;
  color: #f7f4e8;
  padding: 15px clamp(14px, 2.1vw, 38px) 0;
}
.exhibit-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #d1d5c5;
}
.exhibit-label .micro {
  font-size: 11px;
}
.title-window {
  margin-inline: calc(-1 * clamp(14px, 2.1vw, 38px));
  overflow: hidden;
  touch-action: pan-y;
  min-height: 70px;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.title-track {
  display: flex;
  position: relative;
  width: max-content;
  gap: clamp(40px, 5vw, 85px);
  align-items: center;
  height: clamp(77px, 7.3vw, 120px);
  transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.15, 1);
}
.title-track button {
  font: italic 400 clamp(37px, 4.8vw, 80px)/1.05 var(--serif);
  letter-spacing: -0.055em;
  white-space: nowrap;
  padding: 2px 0 7px;
  background: transparent;
  color: #9aa99b;
  transition: color 0.5s;
}
.title-track button[aria-pressed="true"] {
  font-style: normal;
  color: #fffbed;
}
.title-track button em {
  color: #e8ce9d;
}
.cover-gallery {
  position: relative;
}
.cover-gallery .book-stage {
  height: clamp(350px, calc(100svh - 300px), 770px);
  aspect-ratio: auto;
  overflow: hidden;
  background: #6a8078;
  border-radius: 6px;
  perspective: 1450px;
}
.set-art {
  position: absolute;
  inset: -1.5%;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.065);
  transition:
    opacity 0.85s ease,
    transform 1.1s ease;
}
.set-cover {
  background-image: linear-gradient(#17392b08, #12332713), url("/assets/river-valley.jpg");
  opacity: 1;
  transform: scale(1.01);
}
.set-ledger {
  background-image: url("/assets/paper-landscape.jpg");
}
.set-calendar {
  background-image: url("/assets/calendar-valley.jpg");
}
.set-plan {
  background-image: linear-gradient(120deg, #49695b88, #faf2cf62), url("/assets/river-valley.jpg");
  background-position: 70% 66%;
  background-size: 140%;
}
.gallery-first[data-scene="1"] .set-cover,
.gallery-first[data-scene="2"] .set-cover,
.gallery-first[data-scene="3"] .set-cover {
  opacity: 0;
  transform: scale(1.1);
}
.gallery-first[data-scene="1"] .set-ledger,
.gallery-first[data-scene="2"] .set-calendar,
.gallery-first[data-scene="3"] .set-plan {
  opacity: 1;
  transform: scale(1.01);
}
.cover-gallery .book-position {
  width: auto;
  height: 80%;
  left: 50%;
  top: 49%;
  --depth: clamp(16px, 1.8vw, 29px);
  --half: clamp(8px, 0.9vw, 14.5px);
  transition:
    height 0.7s,
    left 0.7s,
    top 0.7s;
}
.cover-gallery .book-stage.interior .book-position {
  width: auto;
  height: 83%;
  left: calc(50% + min(16%, 18vh));
  top: 51%;
}
.cover-gallery .book-stage.inspecting .book-position {
  width: auto;
  height: 145%;
  left: 50%;
  top: 55%;
}
.cover-gallery .cast-shadow {
  left: 50%;
  top: 86%;
  width: min(33%, 440px);
  height: 6%;
  aspect-ratio: auto;
  filter: blur(15px);
  opacity: 0.35;
}
.cover-gallery .gallery-controls {
  gap: 10px;
}
.cover-gallery figcaption {
  border: 0;
  min-height: 39px;
  margin: 0;
  padding: 4px 0;
  display: flex;
  justify-content: space-between;
}
.cover-gallery .edition {
  font-size: 12px;
  gap: 15px;
  color: #dce3d5;
}
.stage-count {
  border-right: 1px solid #7e9284;
  padding-right: 15px;
  font-family: var(--mono);
}
.scene-nav {
  position: absolute;
  inset: calc(50% - 40px) 16px auto;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
}
.scene-nav button {
  pointer-events: auto;
  background: #102a24a6;
  border: 1px solid #ffffff80;
  color: #fffdf1;
  display: grid;
  place-content: center;
  width: 38px;
  height: 45px;
  font: 36px/0.7 var(--serif);
  border-radius: 2px;
}
.scene-nav button:hover {
  background: #17392ce8;
}
.cover-gallery .open-volume {
  min-height: 34px;
}
.gallery-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 11px 0 14px;
  border-top: 1px solid #e4e6d735;
}
.gallery-offer .purchase-detail {
  color: #dce4d4;
  font-size: 12px;
}
.gallery-offer .hero-actions {
  margin: 0;
  gap: 24px;
  flex-flow: row;
  align-items: center;
}
.gallery-offer .buy {
  background: #eee8d7;
  color: #173b31;
  border-color: #eee8d7;
  padding: 11px 18px;
}
.gallery-offer .textlink {
  color: #eee8d7;
}
.launch-note {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 8%;
  align-items: end;
  padding-block: 54px;
}
.launch-note h2 {
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-top: 14px;
}
.launch-note > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}
.title-track:not(.ready) {
  transition: none;
}
.book-stage .spine span {
  font-size: clamp(12px, 1.2vw, 19px);
}
@media (max-width: 800px) {
  .cover-gallery .book-stage {
    height: clamp(325px, calc(100svh - 315px), 650px);
  }
  .launch-note {
    gap: 5%;
  }
  .gallery-offer .hero-actions {
    gap: 16px;
  }
  .gallery-offer .purchase-detail {
    max-width: 205px;
  }
}
@media (max-width: 640px) {
  .gallery-first {
    padding: 13px 12px 0;
  }
  .exhibit-label .micro {
    font-size: 9px;
  }
  .title-track {
    height: 68px;
    gap: 30px;
  }
  .title-track button {
    font-size: clamp(34px, 8.8vw, 50px);
  }
  .title-window {
    min-height: 62px;
  }
  .cover-gallery .book-stage {
    height: clamp(295px, 53svh, 525px);
  }
  .cover-gallery .book-position {
    width: min(58%, 240px);
    height: auto;
    top: 48%;
    --depth: 17px;
    --half: 8.5px;
  }
  .cover-gallery .book-stage.interior .book-position {
    width: 45%;
    height: auto;
    left: 72%;
    top: 50%;
  }
  .cover-gallery .book-stage.inspecting .book-position {
    width: 90%;
    height: auto;
    top: 50%;
  }
  .scene-nav {
    inset: calc(50% - 30px) 7px auto;
  }
  .scene-nav button {
    width: 26px;
    height: 36px;
    font-size: 28px;
  }
  .cover-gallery .gallery-controls {
    gap: 6px;
  }
  .cover-gallery figcaption {
    min-height: 37px;
  }
  .cover-gallery .edition {
    gap: 7px;
    font-size: 10px;
  }
  .stage-count {
    padding-right: 7px;
  }
  .gallery-offer {
    flex-direction: column-reverse;
    align-items: center;
    gap: 8px;
    padding: 12px 0 15px;
  }
  .gallery-offer .purchase-detail {
    font-size: 10px;
    max-width: none;
  }
  .gallery-offer .hero-actions {
    gap: 15px;
  }
  .gallery-offer .buy {
    padding: 12px 13px;
  }
  .launch-note {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-block: 35px;
  }
  .launch-note h2 {
    font-size: 32px;
  }
  .launch-note > p {
    font-size: 15px;
  }
  .book-stage .spine span {
    font-size: 12px;
  }
  .cover-gallery .inspect-cover,
  .cover-gallery .pause-orbit {
    width: 27px;
    height: 27px;
  }
  .cover-gallery .open-volume {
    font-size: 12px;
  }
  .gallery-first .gallery {
    margin: 0;
  }
}
.view-navigation {
  display: flex;
  align-items: center;
  gap: 18px;
}
.view-navigation .micro {
  color: #fffae8;
}
.view-navigation a {
  font: 12px var(--mono);
  color: #cad5c6;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.workshop-shelf {
  background: linear-gradient(#f2efe5ee, #e5e4d6e8), url("/assets/paper.jpg");
  color: var(--ink);
  padding: clamp(40px, 5vw, 76px) 0 clamp(30px, 4vw, 62px);
  border-bottom: 1px solid var(--line);
}
.shelf-caption,
.shelf-info {
  width: min(1170px, 90%);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}
.shelf-caption h2 {
  font-size: clamp(40px, 4.6vw, 74px);
  letter-spacing: -0.055em;
  line-height: 1.04;
  margin: 10px 0 0;
}
.shelf-caption > .textlink {
  margin-bottom: 4px;
}
.shelf-scroll {
  --folio-height: clamp(315px, 31vw, 440px);
  --folio-width: calc(var(--folio-height) * 0.7727);
  --folio-depth: clamp(44px, 4.65vw, 70px);
  --slot-width: calc(var(--folio-depth) + var(--folio-width) * 0.088);
  position: relative;
  isolation: isolate;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  scrollbar-color: #aebbac transparent;
  overscroll-behavior-x: contain;
  margin: 15px 0 10px;
}
.shelf-row {
  padding: 30px max(26px, 5vw) 32px;
  display: flex;
  align-items: end;
  justify-content: center;
  width: max-content;
  min-width: 100%;
  gap: clamp(7px, 1vw, 14px);
  position: relative;
}
.shelf-row:before {
  content: "";
  position: absolute;
  bottom: 20px;
  width: min(1020px, 88%);
  height: 19px;
  background: #6a77605c;
  filter: blur(9px);
  border-radius: 50%;
}
.shelf-slot {
  position: relative;
  display: block;
  padding: 0;
  background: transparent;
  perspective: 1500px;
  height: var(--folio-height);
  width: var(--slot-width);
  flex: none;
  transition: width 0.72s cubic-bezier(0.22, 0.75, 0.2, 1);
  border-radius: 3px;
  cursor: pointer;
}
.shelf-slot.face-out {
  width: calc(var(--folio-width) + 16px);
  z-index: 1;
}
.folio-object {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--folio-width);
  height: 100%;
  transform-origin: left center;
  transform-style: preserve-3d;
  transform: translateX(var(--folio-depth)) rotateY(85deg) rotateX(-2deg);
  transition: transform 0.72s cubic-bezier(0.22, 0.75, 0.2, 1);
}
.shelf-slot:hover:not(.face-out) .folio-object {
  transform: translate3d(var(--folio-depth), -8px, 14px) rotateY(83deg) rotateX(-2deg);
}
.shelf-slot.face-out .folio-object {
  transform: translate3d(9px, -4px, 16px) rotateY(6deg) rotateX(-2deg);
}
.folio-front,
.folio-spine,
.folio-edge,
.folio-top {
  position: absolute;
  display: block;
}
.folio-front {
  inset: 0;
  background: var(--cloth);
  border-radius: 1px 3px 3px 1px;
  padding: 5% 4% 5% 7%;
  box-shadow:
    inset 2px 0 3px #0004,
    inset -1px 0 1px #fdf9e377;
  overflow: hidden;
}
.folio-front img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  filter: brightness(0.98);
  box-shadow: -2px 1px 4px #13251e45;
}
.folio-spine {
  container: book-spine / size;
  top: 0;
  left: 0;
  width: var(--folio-depth);
  height: 100%;
  transform-origin: left center;
  transform: translateZ(calc(-1 * var(--folio-depth))) rotateY(-90deg);
  background:
    linear-gradient(90deg, #0005, transparent 12%, #fff2 35%, transparent 75%, #0003), var(--cloth);
  box-shadow:
    inset 0 1px 0 #e6e1c988,
    inset 0 -2px 0 #54534488;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  padding: 16px 0;
  color: #fff6db;
}
.shelf-slot:nth-child(2) .folio-spine,
.shelf-slot:nth-child(4) .folio-spine,
.shelf-slot:nth-child(5) .folio-spine {
  color: #192f27;
}
.folio-num {
  flex: none;
  font: 13px var(--mono);
  letter-spacing: 0.05em;
}
.folio-name {
  min-height: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  writing-mode: vertical-rl;
  font: clamp(19px, 1.9vw, 29px)/1 var(--serif);
  white-space: nowrap;
  letter-spacing: -0.035em;
}
.spine-short-title {
  display: none;
}
@container book-spine (max-height: 198px) {
  .spine-title { display: none; }
  .spine-short-title { display: inline; }
}
.folio-monogram {
  flex: none;
  width: min(22px, 66%);
  aspect-ratio: 1;
  background-color: currentColor;
  mask: url("/assets/vellmere-monogram.svg") center / contain no-repeat;
}
.folio-top {
  width: 100%;
  height: var(--folio-depth);
  background: repeating-linear-gradient(0deg, #b5b39e 0 1px, #ece8d4 1px 2px);
  transform-origin: top;
  transform: translateZ(calc(-1 * var(--folio-depth))) rotateX(90deg);
}
.folio-edge {
  left: 100%;
  height: 100%;
  width: var(--folio-depth);
  background: repeating-linear-gradient(90deg, #c8c5af 0 1px, #ece8da 1px 2px);
  transform-origin: left center;
  transform: rotateY(90deg);
}
.shelf-info {
  align-items: center;
  border-top: 1px solid #a9b2a1;
  padding-top: 22px;
  gap: 25px;
}
.shelf-controller {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: none;
}
.shelf-controller button {
  font: 27px/1 var(--serif);
  width: 32px;
  height: 36px;
  border: 1px solid #aab4a4;
  background: transparent;
}
.shelf-number {
  font: 12px var(--mono);
}
.shelf-description {
  flex: 1;
}
.shelf-description h3 {
  font-size: clamp(23px, 2.3vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.shelf-description p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 15px;
}
.shelf-read {
  background: var(--teal);
  color: var(--paper);
  border-radius: 3px;
  padding: 11px 16px;
  white-space: nowrap;
}
.opener img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 14px;
}
.transcript summary {
  font-size: 14px;
  color: var(--teal);
  cursor: pointer;
}
.transcript p {
  white-space: pre-line;
  margin-top: 12px;
}
.shelf-slot:focus-visible {
  outline-offset: 3px;
}
@media (max-width: 800px) {
  .shelf-info {
    flex-wrap: wrap;
  }
  .shelf-description {
    flex-basis: 50%;
  }
  .mast-in > nav {
    gap: 13px;
  }
}
@media (max-width: 640px) {
  .shelf-caption,
  .shelf-info {
    width: calc(100% - 32px);
  }
  .shelf-caption h2 {
    font-size: 41px;
  }
  .shelf-caption > .textlink {
    font-size: 12px;
  }
  .shelf-scroll {
    --folio-height: 268px;
    --folio-depth: 38px;
    margin: 8px 0;
  }
  .shelf-row {
    padding: 23px 18px 25px;
    gap: 9px;
  }
  .folio-name {
    font-size: 18px;
  }
  .folio-num {
    font-size: 11px;
  }
  .shelf-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .shelf-description {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .shelf-read {
    font-size: 13px;
  }
  .shelf-description h3 {
    font-size: 26px;
  }
  .shelf-description p {
    font-size: 14px;
  }
  .view-navigation {
    gap: 10px;
  }
  .view-navigation a {
    font-size: 10px;
  }
  .shelf-caption {
    align-items: center;
  }
  .shelf-caption .eyebrow {
    font-size: 10px;
  }
}
