@charset "UTF-8";
:root {
  --paper: #faf6ee;
  --linen: #e9dfce;
  --ink: #342e29;
  --muted: #74685d;
  --line: #dbceb9;
  --ochre: #925939;
  --sage: #526f61;
  --apricot: #f0e3d5;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--linen);
  background-image:
    repeating-linear-gradient(90deg, #ffffff0c 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, #68523905 0 1px, transparent 1px 4px);
  line-height: 1.95;
}
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 6px;
}
summary:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 6px;
}
a:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 6px;
}
button:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 6px;
}
.skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 99;
  padding: 8px;
  background: var(--paper);
}
.skip:focus {
  top: 0;
}
.desk {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 90px 24px 32px;
}
.desk-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
}
.desk-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2px;
  padding: 0 24px 20px;
}
.desk-bottom {
  padding: 24px 24px 0;
}
.notebook {
  position: relative;
  padding: 4px 7px 9px 11px;
}
.notebook:after {
  content: "";
  position: absolute;
  border: 1px solid #d0bfa5;
  border-radius: 8px 23px 23px 8px;
  z-index: 0;
}
.notebook:before {
  content: "";
  position: absolute;
  border: 1px solid #d0bfa5;
  z-index: 0;
}
.sheet {
  position: relative;
  z-index: 1;
  background: var(--paper);
  padding: 24px 56px 16px 68px;
  min-height: 85vh;
}
.stitches {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}
.tabs {
  position: sticky;
  top: 64px;
  float: right;
  width: 64px;
  margin-right: -68px;
  z-index: 5;
  padding-top: 140px;
  height: 0;
}
.tabs a {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-direction: column;
  text-decoration: none;
  background: #e5d4bf;
  padding: 12px 8px;
  margin-bottom: 9px;
  font-family: var(--serif);
}
.tabs a.active {
  background: var(--ochre);
}
.tabs small {
  font: 10px var(--sans);
  opacity: 0.8;
}
.tabs a span {
  writing-mode: vertical-rl;
  letter-spacing: 4px;
  font-size: 16px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  text-decoration: none;
}
.brand span {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}
button.contact-link {
  border: 0;
  background: none;
  padding: 8px 0;
  font-size: 13px;
  color: var(--ochre);
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  margin: 48px -20px 28px 0;
}
.eyebrow {
  color: var(--ochre);
  font-size: 12px;
  letter-spacing: 2px;
  line-height: 1.8;
}
.hand {
  font-weight: 400;
}
.greeting {
  font-size: 26px;
  letter-spacing: 2px;
  margin: 20px 0 12px;
}
.greeting:after {
  content: "";
  display: block;
  width: 96px;
  border-bottom: 2px solid #c9a26a;
  transform: rotate(-3deg);
  margin-top: 3px;
}
h3 {
  font-family: var(--serif);
  line-height: 1.55;
  letter-spacing: 1px;
}
h2 {
  font-family: var(--serif);
  line-height: 1.55;
  letter-spacing: 1px;
}
h1 {
  font-family: var(--serif);
  line-height: 1.55;
  letter-spacing: 1px;
}
h1 {
  font-size: 38px;
  margin: 12px 0 24px;
}
h2 {
  font-size: 28px;
  margin: 12px 0 24px;
}
h3 {
  font-size: 21px;
  margin: 0 0 8px;
}
p {
  margin: 0 0 20px;
}
.portrait {
  margin: 0;
  position: relative;
}
.portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 440px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.portrait figcaption {
  text-align: center;
  color: var(--ochre);
}
.text-link {
  border: 0;
  background: none;
  color: var(--ochre);
  font-size: 15px;
  padding: 4px 0;
  display: inline-block;
  text-decoration-thickness: 1px;
  text-underline-offset: 7px;
}
.section {
  padding: 44px 0;
  scroll-margin-top: 24px;
}
.section p {
  max-width: 720px;
}
blockquote {
  margin: 28px 0;
  border-left: 2px solid #c19a6b;
  font-size: 24px;
  line-height: 1.8;
  color: var(--ochre);
}
details {
  border-bottom: 1px dashed var(--line);
  padding: 8px 0;
}
summary {
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  color: var(--sage);
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  position: absolute;
  top: 12px;
}
details[open] > summary {
  margin-bottom: 12px;
}
.detail-body {
  color: var(--muted);
}
.small-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}
.jianji {
  padding-left: 24px;
  padding-right: 24px;
  margin: 0 -24px;
}
.contact-section {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.contact-section h2 {
  margin: 12px 0;
}
.primary {
  display: inline-block;
  background: var(--ochre);
  color: #fffaf2;
  padding: 12px 24px;
  margin: 4px 0 16px;
}
.contact-mark {
  color: #9c7e5b;
  font-size: 23px;
  transform: rotate(-5deg);
  line-height: 2.1;
  padding: 24px;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  gap: 8px;
}
footer button {
  border: 0;
  background: none;
  padding: 8px 0;
  font-size: 13px;
}
footer button:disabled {
  opacity: 0.3;
  cursor: default;
}
.chapter:not(#about) {
  padding-top: 44px;
}
.chapter:not(#about) > h1 {
  font-size: 42px;
}
.lead {
  color: var(--muted);
}
.scene img {
  display: block;
  width: 100%;
  height: auto;
}
.scene figcaption {
  text-align: right;
  padding-top: 8px;
}
.personal-note {
  margin: 32px 0;
  padding: 24px 32px;
  transform: rotate(-1deg);
  max-width: 420px;
  border-bottom: 1px solid var(--line);
}
.personal-note p {
  font-size: 27px;
  margin: 0;
  color: var(--ochre);
}
.steps {
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 12px 0 12px 48px;
  counter-increment: step;
}
.steps li:before {
  content: "0" counter(step);
  position: absolute;
  left: 0;
  color: var(--ochre);
  font-family: var(--serif);
}
.steps p {
  margin: 8px 0;
  color: var(--muted);
}
.extension {
  padding-left: 24px;
  padding-right: 24px;
  margin: 0 -24px;
}
.status {
  display: inline-block;
  color: var(--ochre);
  font-size: 12px;
  padding: 3px 12px;
  margin-bottom: 16px;
  border-radius: 3px;
}
[hidden] {
  display: none !important;
}
dialog {
  max-width: 460px;
  width: calc(100% - 32px);
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 80px #342e2940;
  text-align: center;
}
dialog::backdrop {
  background: #342e2966;
  backdrop-filter: blur(3px);
}
dialog h2 {
  margin: 12px 0;
}
dialog p {
  font-size: 14px;
}
dialog img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 8px auto 16px;
}
.close {
  position: absolute;
  right: 12px;
  top: 4px;
  font-size: 28px;
  border: 0;
  background: none;
  padding: 4px 12px;
}
.text-link:hover {
  color: var(--sage);
}
.contact-link:hover {
  color: var(--sage);
}
@media (min-width: 1400px) {
  .desk {
    max-width: 1200px;
  }

  .sheet {
    padding-left: 88px;
    padding-right: 72px;
  }

  .hero {
    gap: 32px;
  }

  .hero h1 {
    font-size: 42px;
  }
}
@media (max-width: 800px) {
  .desk {
    padding: 20px 60px 20px 12px;
  }

  .sheet {
    padding: 20px 32px 16px 40px;
  }

  .hero {
    gap: 8px;
    margin-top: 32px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p:not(.greeting) {
    font-size: 15px;
  }

  .greeting {
    font-size: 23px;
  }

  .tabs {
    width: 44px;
    margin-right: -48px;
  }

  .tabs a {
    padding: 10px 4px;
    min-height: 96px;
  }

  .tabs a span {
    font-size: 14px;
  }

  .brand {
    font-size: 20px;
  }

  .brand span {
    font-size: 12px;
  }

  .contact-mark {
    display: none;
  }
}
@media (max-width: 540px) {
  body {
    font-size: 16px;
    line-height: 1.95;
  }

  .desk {
    padding: 12px 46px 16px 5px;
  }

  .desk-caption {
    padding: 0 8px 10px;
    font-size: 10px;
    letter-spacing: 1px;
  }

  .desk-caption span:last-child {
    display: none;
  }

  .notebook {
    padding-left: 6px;
    border-radius: 6px 15px 15px 6px;
  }

  .sheet {
    padding: 16px 19px 12px 26px;
    border-radius: 4px 12px 12px 4px;
  }

  .stitches {
    width: 15px;
    left: 0;
  }

  .tabs {
    top: 24px;
    width: 36px;
    margin-right: -40px;
    padding-top: 104px;
  }

  .tabs a {
    padding: 8px 3px;
    min-height: 92px;
    margin-bottom: 7px;
    border-radius: 0 6px 6px 0;
  }

  .tabs a span {
    font-size: 13px;
    letter-spacing: 3px;
  }

  .tabs small {
    font-size: 9px;
  }

  .tabs a.active {
    transform: translateX(2px);
  }

  header {
    padding-bottom: 12px;
    gap: 4px;
  }

  .brand {
    font-size: 19px;
  }

  .brand span {
    font-size: 10px;
  }

  .contact-link {
    white-space: nowrap;
    font-size: 11px !important;
  }

  .hero {
    grid-template-columns: 1fr;
    margin: 28px 0 24px;
    gap: 0;
  }

  .hero h1 {
    font-size: 31px;
    margin-bottom: 20px;
  }

  .hero p:not(.greeting) {
    font-size: 15px;
  }

  .greeting {
    font-size: 23px;
    margin: 16px 0 10px;
  }

  .portrait {
    width: 88%;
    margin: 12px auto 0;
  }

  .portrait img {
    max-height: 300px;
  }

  .portrait figcaption {
    font-size: 18px;
    margin-top: 0;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 19px;
  }

  .section {
    padding: 32px 0;
  }

  .section p {
    margin-bottom: 18px;
  }

  blockquote {
    font-size: 21px;
    margin: 24px 0;
    padding-left: 16px;
  }

  .extension {
    padding-left: 14px;
    padding-right: 14px;
    margin-left: -10px;
    margin-right: -10px;
  }
  .jianji {
    padding-left: 14px;
    padding-right: 14px;
    margin-left: -10px;
    margin-right: -10px;
  }

  .chapter:not(#about) {
    padding-top: 28px;
  }

  .chapter:not(#about) > h1 {
    font-size: 31px;
  }

  .lead {
    font-size: 16px;
  }

  .scene {
    margin: 24px -6px;
  }

  .scene img {
    border-width: 5px;
  }

  .personal-note {
    padding: 20px;
  }

  .personal-note p {
    font-size: 24px;
  }

  .contact-section {
    padding: 32px 0;
  }

  .contact-section p {
    font-size: 14px;
  }

  .primary {
    font-size: 15px;
    padding: 12px 20px;
  }

  .desk-bottom {
    padding: 16px 8px 0;
    font-size: 10px;
    letter-spacing: 0;
  }

  summary {
    font-size: 15px;
  }

  footer {
    font-size: 10px;
  }

  footer button {
    font-size: 11px;
  }

  .steps li {
    padding-left: 36px;
  }

  dialog {
    padding: 28px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *:after {
    animation: none !important;
    transition: none !important;
  }
  *:before {
    animation: none !important;
    transition: none !important;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 540px) {
  .hero h1 {
    font-size: 27px;
  }

  .hero-actions {
    gap: 16px;
  }
}
.sheet {
  border-radius: 7px 22px 15px 9px / 9px 14px 24px 7px;
}
.notebook {
  border-radius: 8px 24px 17px 10px / 12px 18px 26px 8px;
}
header {
  border-bottom: 0;
  position: relative;
  padding-bottom: 24px;
}
header:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 136px;
  height: 12px;
  background: url("assets/ink-line.svg") center/100% 100% no-repeat;
  opacity: 0.7;
}
.stitches {
  border-right: 0;
}
.tabs a {
  --tilt: -2deg;
  --offset: 0px;
  min-height: 100px;
  border: 0;
  border-radius: 1px 9px 5px 2px / 3px 4px 10px 4px;
  transform: translateX(var(--offset)) rotate(var(--tilt));
  transform-origin: left center;
  position: relative;
}
.tabs a:before {
  content: "";
  position: absolute;
  inset: 5px 4px;
  border: 1px dashed #86684b24;
  border-left: 0;
  border-radius: inherit;
  pointer-events: none;
}
.tabs a:nth-child(2) {
  --tilt: 1.8deg;
  --offset: 2px;
  min-height: 109px;
  margin-bottom: 12px;
}
.tabs a:nth-child(3) {
  --tilt: -1.2deg;
  --offset: -2px;
  min-height: 92px;
}
.tabs a:nth-child(4) {
  --tilt: 2.2deg;
  min-height: 108px;
}
.tabs a.active {
  transform: translateX(calc(var(--offset) + 4px)) rotate(var(--tilt));
}
.tabs a:hover {
  box-shadow: 3px 4px 7px #71543b28;
}
.hero {
  margin-bottom: 44px;
  gap: 12px;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  transform: rotate(-1.5deg);
  display: inline-block;
}
.hero h1 {
  font-size: 33px;
  line-height: 1.65;
  letter-spacing: 1px;
}
.portrait {
  transform: rotate(1deg);
  margin-right: -16px;
  margin-left: -12px;
}
.portrait figcaption {
  position: relative;
  margin-top: -4px;
  transform: rotate(-5deg);
  font-size: 21px;
}
.portrait figcaption:before {
  content: "↖";
  font-size: 25px;
  position: absolute;
  left: 22%;
  top: -32px;
  transform: rotate(20deg);
  opacity: 0.65;
}
.hero-actions {
  gap: 20px;
  margin-top: 24px;
}
.text-link {
  text-decoration: none;
  position: relative;
  padding-bottom: 10px;
}
.text-link:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: url("assets/ink-line.svg") left center/100% 100% no-repeat;
  opacity: 0.65;
}
.section {
  border-top: 0;
  position: relative;
  padding-top: 44px;
  padding-bottom: 40px;
}
.section:before {
  content: "";
  display: block;
  width: 72px;
  height: 12px;
  background: url("assets/ink-line.svg") center/100% 100% no-repeat;
  margin-bottom: 24px;
  opacity: 0.45;
  transform: rotate(-2deg);
}
.section .eyebrow {
  display: inline-block;
  position: relative;
  margin-bottom: 3px;
}
.section h2 {
  margin-top: 8px;
  max-width: 640px;
}
blockquote {
  border: 0;
  position: relative;
  padding: 18px 12px 20px 8px;
  transform: rotate(-0.6deg);
}
blockquote:before {
  content: "";
  position: absolute;
  left: -8px;
  right: 10%;
  top: 0;
  bottom: 0;
  z-index: -1;
  background: linear-gradient(100deg, #e9d4b44d, #f0e3d522 80%, transparent);
  clip-path: polygon(
    1% 9%,
    30% 3%,
    64% 7%,
    98% 0,
    100% 91%,
    69% 96%,
    29% 92%,
    0 99%
  );
}
details {
  border: 0;
  margin-top: 8px;
}
summary {
  padding: 13px 36px 13px 12px;
  border: 0;
  border-radius: 4px 14px 6px 9px;
  background: linear-gradient(95deg, #e3e7d936, transparent 90%);
}
summary:after {
  content: "↗";
  font-family: var(--serif);
  color: var(--sage);
  right: 10px;
}
details[open] > summary:after {
  content: "↙";
}
.detail-body {
  padding: 8px 12px;
}
.extension {
  background: radial-gradient(ellipse at 10% 55%, #dce3d341, transparent 80%);
}
.jianji {
  background: radial-gradient(ellipse at 10% 55%, #dce3d341, transparent 80%);
}
.scene {
  position: relative;
  margin: 40px -28px 12px;
  transform: rotate(-0.5deg);
}
.scene img {
  border: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 6%,
    #000 90%,
    transparent
  );
}
.scene figcaption {
  font-size: 20px;
  transform: rotate(-3deg);
  padding: 8px 24px 12px;
  color: var(--ochre);
}
.personal-note {
  border: 0;
  background: #efdfc84d;
  border-radius: 5px 16px 9px 18px / 12px 7px 16px 5px;
  position: relative;
}
.personal-note:before {
  content: "";
  position: absolute;
  top: -9px;
  left: 28px;
  width: 68px;
  height: 18px;
  background: #d9cbb477;
  transform: rotate(-5deg);
  clip-path: polygon(2% 5%, 98% 0, 100% 95%, 0 100%);
}
.status {
  border: 0;
  background: #e9d6b466;
  transform: rotate(-1deg);
  font-family: var(--serif);
}
.contact-section {
  border: 0;
  position: relative;
  margin-top: 24px;
  padding-top: 44px;
  background: radial-gradient(ellipse at 25% 55%, #ecd9bd33, transparent 70%);
}
.contact-section:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 110px;
  height: 12px;
  background: url("assets/ink-line.svg") center/contain no-repeat;
  opacity: 0.5;
}
.primary {
  border: 0;
  border-radius: 5px 10px 6px 8px / 7px 5px 9px 6px;
  box-shadow: 1px 2px 0 #6b442314;
}
footer {
  border-top: 0;
  padding-top: 24px;
  position: relative;
}
footer:before {
  content: "";
  position: absolute;
  left: 35%;
  right: 35%;
  height: 10px;
  top: 0;
  background: url("assets/ink-line.svg") center/100% 100% no-repeat;
  opacity: 0.4;
}
.page-turn {
  font-size: 16px;
  min-height: 44px;
}
.chapter {
  position: relative;
}
@media (min-width: 801px) {
  .portrait {
    width: 108%;
  }
}
@media (max-width: 800px) {
  .tabs a {
    min-height: 94px;
  }

  .tabs a:nth-child(2) {
    min-height: 100px;
  }

  .tabs a:nth-child(3) {
    min-height: 87px;
  }

  .tabs a:nth-child(4) {
    min-height: 104px;
  }
}
@media (max-width: 540px) {
  header {
    padding-bottom: 18px;
  }

  .hero {
    margin-top: 24px;
    margin-bottom: 28px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .portrait {
    width: 96%;
    margin: 18px auto 0;
    transform: rotate(1deg);
  }

  .portrait img {
    max-height: 305px;
  }

  .portrait figcaption {
    font-size: 19px;
  }

  .hero-actions {
    margin-top: 16px;
    gap: 12px;
  }

  .tabs a {
    min-height: 90px;
  }

  .tabs a:nth-child(2) {
    min-height: 99px;
    margin-bottom: 10px;
  }

  .tabs a:nth-child(3) {
    min-height: 84px;
  }

  .tabs a:nth-child(4) {
    min-height: 98px;
  }

  .tabs a.active {
    transform: translateX(calc(var(--offset) + 2px)) rotate(var(--tilt));
  }

  .section {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .section:before {
    margin-bottom: 20px;
    width: 56px;
  }

  .scene {
    margin: 28px -14px 8px;
  }

  .scene figcaption {
    font-size: 17px;
    padding-right: 8px;
  }

  .page-turn {
    font-size: 14px;
  }

  .contact-section {
    padding-top: 32px;
  }

  blockquote {
    font-size: 21px;
    padding-left: 8px;
  }
}
.notebook {
  background: #cdb28f;
}
.notebook:before {
  transform: rotate(0.18deg);
  border-color: #c7ad83;
}
.notebook:after {
  inset: 6px 5px 6px 10px;
  background: #f4e8d2;
  transform: rotate(-0.12deg);
  box-shadow: 1px 2px 2px #79603b18;
}
.personal-note {
  background-image: url("assets/paper-grain.svg");
  background-size: 200px;
}
.qr-dialog {
  width: 360px;
  max-width: calc(100% - 40px);
  box-sizing: border-box;
  inset: 0;
  margin: auto;
  padding: clamp(12px, 3.5vw, 22px);
  background: #fff;
  border: 0;
  border-radius: 8px;
  overflow: visible;
  line-height: 1;
}
.qr-crop {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  background: #fff;
}
dialog .qr-crop > .qr-source {
  position: absolute;
  width: 148%;
  max-width: none;
  height: auto;
  left: -24%;
  top: -52%;
  margin: 0;
}
.qr-avatar {
  position: absolute;
  aspect-ratio: 1;
  border: 5px solid #fff;
  border-radius: 12%;
  overflow: hidden;
  background: #fff;
}
dialog .qr-avatar img {
  position: absolute;
  width: 740%;
  max-width: none;
  height: auto;
  left: -120%;
  top: -80%;
  margin: 0;
}
@media (max-width: 540px) {
  .notebook {
    padding-bottom: 10px;
  }

  .sheet {
    background-size:
      240px 240px,
      100% 100%,
      100% 100%;
  }

}
.qr-avatar {
  width: 26%;
  left: 37%;
  top: 37%;
}
@font-face {
  font-family: KamiJinKai;
  src: url("assets/kami-400.woff2?v=journal-paper-2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: KamiJinKai;
  src: url("assets/kami-500.woff2?v=journal-paper-2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
:root {
  --serif: KamiJinKai, "TsangerJinKai02", "Songti SC", serif;
  --sans: KamiJinKai, "TsangerJinKai02", "Songti SC", serif;
}
body {
  font-family: var(--serif);
  letter-spacing: 0.2px;
}
.brand {
  font-weight: 500;
}
h3 {
  font-weight: 500;
}
h2 {
  font-weight: 500;
}
h1 {
  font-weight: 500;
}
.page-turn {
  font-family: var(--serif);
}
.scene figcaption {
  font-family: var(--serif);
}
blockquote {
  font-family: var(--serif);
}
.tabs a span {
  font-family: var(--serif);
}
.hand {
  font-family: var(--serif);
}
.sheet:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.notebook {
  padding-bottom: 14px;
  padding-right: 9px;
}
@media (max-width: 540px) {
  body {
    font-size: 17px;
  }

  .hero p:not(.greeting) {
    font-size: 16px;
  }

  .sheet {
    background-size:
      300px 300px,
      200px 200px,
      100% 100%,
      100% 100%;
  }

  .brand span {
    font-size: 11px;
  }
}
.stitches {
  left: 0;
  top: 34px;
  bottom: 28px;
  width: 30px;
  border: 0;
  background: url("assets/binding.svg") left top/30px 76px repeat-y;
  transform: none;
  filter: none;
  opacity: 1;
}
.notebook {
  padding-left: 12px;
  background-color: #bfa17a;
}
.notebook:before {
  inset: 12px 2px 2px 15px;
  background: repeating-linear-gradient(
    0deg,
    #bfa67e 0,
    #f0e3cb 1px,
    #f8edd6 2px,
    #e4d0ab 3px,
    #f5e8ce 4px
  );
  border-radius: 5px 21px 17px 6px;
}
@media (max-width: 540px) {
  .notebook {
    padding-left: 9px;
  }

  .stitches {
    width: 23px;
    top: 26px;
    background-size: 23px 65px;
  }

  .sheet {
    padding-left: 29px;
  }

  .sheet[data-paper="warm"] {
    background-size:
      340px 340px,
      280px 280px,
      100% 100%,
      100% 100%;
  }
  .sheet {
    background-size:
      340px 340px,
      280px 280px,
      100% 100%,
      100% 100%;
  }
}
.story-timeline {
  scroll-margin-top: 24px;
}
.timeline-entry {
  padding-top: 38px;
}
.timeline-entry:before {
  background: none;
  height: 0;
  margin: 0;
}
.year-tag {
  display: inline-block;
  position: relative;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ochre);
  padding: 6px 18px;
  margin-bottom: 16px;
  transform: rotate(-2deg);
  isolation: isolate;
}
.year-tag:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #dac49c77;
  clip-path: polygon(2% 10%, 97% 0, 100% 86%, 5% 100%, 0 67%);
}
.timeline-entry:nth-child(even) .year-tag {
  transform: rotate(1.4deg);
  color: var(--sage);
}
.timeline-entry:nth-child(even) .year-tag:before {
  background: #c8d1b970;
}
.timeline-entry + .timeline-entry:after {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  width: 90px;
  height: 16px;
  background: url("assets/ink-line.svg") left center/100% 100% no-repeat;
  opacity: 0.45;
  transform: rotate(5deg);
}
.milestone-intro {
  font-size: 21px;
  color: var(--ochre);
  margin-top: 30px;
}
.milestones {
  padding: 6px 0 0 20px;
}
.milestone {
  padding: 20px 0;
  position: relative;
}
.milestone:before {
  content: "";
  position: absolute;
  left: -18px;
  top: 31px;
  width: 5px;
  height: 5px;
  border: 1px solid #b99966;
  border-radius: 45%;
}
.milestone h3 {
  font-size: 21px;
  margin: 6px 0 12px;
}
.milestone p {
  margin-bottom: 8px;
}
.milestone em {
  font-style: normal;
}
@media (min-width: 801px) {
  .timeline-entry:nth-child(even) {
    padding-left: 26px;
  }
}
@media (max-width: 540px) {
  .timeline-entry {
    padding-top: 30px;
  }

  .year-tag {
    font-size: 16px;
  }

  .milestones {
    padding-left: 14px;
  }

  .milestone h3 {
    font-size: 20px;
  }

  .milestone p {
    font-size: 16px;
  }
}
.story-timeline {
  position: relative;
  margin-top: 32px;
  padding: 0 0 8px 132px;
  isolation: isolate;
}
.story-timeline:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 83px;
  top: 43px;
  bottom: 54px;
  width: 24px;
  background: url("assets/timeline-thread.svg") center top/24px 600px repeat-y;
  pointer-events: none;
}
.story-timeline .timeline-entry:nth-child(even) {
  position: relative;
  padding: 36px 0 48px;
}
.story-timeline .timeline-entry {
  position: relative;
  padding: 36px 0 48px;
}
.story-timeline .timeline-entry:before {
  content: "";
  display: block;
  position: absolute;
  left: -46px;
  top: 47px;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1.5px solid #a58453;
  border-radius: 47% 53% 44% 56%;
  background: #f0e2c9;
  box-shadow: 0 0 0 5px #f0e2c9aa;
  transform: rotate(-12deg);
}
.story-timeline .timeline-entry:nth-child(even):before {
  border-color: var(--sage);
  border-radius: 54% 46% 58% 42%;
  transform: rotate(15deg);
}
.story-timeline .timeline-entry:after {
  content: "";
  position: absolute;
  left: -26px;
  top: 54px;
  width: 20px;
  height: 1px;
  background: #b5986c77;
  transform: rotate(-6deg);
}
.story-timeline .year-tag {
  position: absolute;
  left: -132px;
  top: 32px;
  width: 77px;
  margin: 0;
  padding: 7px 4px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.4px;
  transform: rotate(-3deg);
}
.story-timeline .year-tag:before {
  inset: 0 -2px;
}
.story-timeline .timeline-entry:nth-child(even) .year-tag {
  transform: rotate(2deg);
}
.story-timeline .timeline-entry h2 {
  margin-top: 0;
}
@media (max-width: 800px) {
  .story-timeline {
    padding-left: 92px;
  }

  .story-timeline:before {
    left: 57px;
  }

  .story-timeline .timeline-entry:before {
    left: -29px;
  }

  .story-timeline .timeline-entry:after {
    left: -10px;
    width: 8px;
  }

  .story-timeline .year-tag {
    left: -92px;
    width: 53px;
    font-size: 13px;
    line-height: 1.75;
    padding: 6px 2px;
  }
}
@media (max-width: 540px) {
  .story-timeline {
    padding-left: 22px;
    margin-top: 28px;
  }

  .story-timeline:before {
    left: -4px;
    top: 39px;
    bottom: 64px;
    width: 20px;
    background-size: 20px 480px;
  }

  .story-timeline .timeline-entry:nth-child(even) {
    padding: 28px 0 40px;
  }
  .story-timeline .timeline-entry {
    padding: 28px 0 40px;
  }

  .story-timeline .timeline-entry:before {
    left: -20px;
    top: 39px;
    width: 11px;
    height: 11px;
    box-shadow: 0 0 0 3px #f0e2c9aa;
  }

  .story-timeline .timeline-entry:after {
    display: none;
  }

  .story-timeline .year-tag {
    position: relative;
    left: auto;
    top: auto;
    display: inline-block;
    width: auto;
    min-width: 80px;
    text-align: left;
    font-size: 15px;
    padding: 5px 13px;
    margin-bottom: 18px;
  }

  .story-timeline .timeline-entry h2 {
    font-size: 24px;
  }

  .story-timeline .milestones {
    padding-left: 10px;
  }

  .story-timeline blockquote {
    font-size: 20px;
  }
}
.history-album {
  margin: 32px -12px 36px;
  position: relative;
}
.album-heading {
  font-size: 21px;
  color: var(--ochre);
  transform: rotate(-1.5deg);
  margin: 0 12px 18px;
}
.album-slide {
  margin: 0;
}
.album-slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.album-slide figcaption {
  padding: 12px 12px 0;
  font-size: 14px;
  line-height: 1.8;
}
.album-slide figcaption b {
  font-size: 16px;
  font-weight: 500;
  display: block;
}
.album-slide figcaption span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}
.history-album:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 8px;
}
@media (max-width: 540px) {
  .history-album {
    margin: 24px -10px 28px;
  }

  .album-heading {
    font-size: 19px;
    margin-left: 8px;
  }
}
.story-intro {
  margin: 30px 0 20px;
  line-height: 1.8;
}
.story-timeline p {
  line-height: 1.8;
  margin-bottom: 12px;
}
.story-timeline .detail-body p {
  margin-bottom: 12px;
}
.story-timeline details[open] > summary {
  margin-bottom: 6px;
}
.story-timeline .detail-body {
  padding-bottom: 0;
}
.story-timeline .milestone {
  padding: 14px 0;
}
.story-timeline .milestone-intro {
  margin-top: 20px;
}
.story-timeline blockquote {
  margin: 18px 0;
  font-size: 21px;
  line-height: 1.7;
}
.service-price {
  color: var(--ochre);
  font-size: 21px;
}
.service-process .steps p {
  line-height: 1.8;
}
.book-cover {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: calc(100svh - 122px);
  min-height: 0;
  max-height: 920px;
  padding: 24px 32px 24px 52px;
  transform-origin: left center;
  overflow: hidden;
  color: #624b32;
  text-align: center;
  isolation: isolate;
}
.book-cover:before {
  content: "";
  position: absolute;
  pointer-events: none;
}
.cover-label {
  font-size: 13px;
  letter-spacing: 5px;
}
.cover-title {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.45;
  margin-top: 16px;
}
.cover-subtitle {
  font-size: 15px;
  line-height: 1.6;
  margin-top: 16px;
}
.book-cover img {
  display: block;
  height: clamp(80px, 27svh, 260px);
  max-height: 34%;
  width: auto;
  max-width: 64%;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin: 16px 0 8px;
  opacity: 0.94;
}
.cover-open {
  font-size: 22px;
  line-height: 1.5;
  margin-top: 8px;
  color: #725537;
}
.cover-date {
  font-size: 11px;
  letter-spacing: 2px;
  margin-top: 14px;
  line-height: 1.6;
}
.book-cover.opening {
  position: absolute;
  top: 4px;
  left: 12px;
  width: calc(100% - 21px);
  pointer-events: none;
  z-index: 10;
}
.cover-mode {
  overflow: hidden;
  height: 100svh;
}
.cover-mode .desk {
  height: 100svh;
  max-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  padding-bottom: 12px;
}
.cover-mode .desk-caption {
  flex-shrink: 0;
  padding-bottom: 12px;
}
.cover-mode .desk-bottom {
  padding-top: 10px;
  flex-shrink: 0;
}
.cover-mode .notebook {
  flex: 1;
  min-height: 0;
}
.cover-mode .book-cover {
  height: 100%;
  max-height: none;
}
.cover-mode .sheet {
  display: none;
}
.cover-mode .stitches {
  z-index: 8;
}
.cover-mode .tabs {
  position: absolute;
  right: -58px;
  float: none;
  width: 58px;
  height: auto;
  margin: 0;
  padding: 0;
  z-index: 11;
}
.cover-mode .tabs a:nth-child(n) {
  min-height: 0;
  height: auto;
  padding: 10px 7px;
}
.cover-mode .tabs a {
  min-height: 0;
  height: auto;
  padding: 10px 7px;
}
.cover-mode .tabs a span {
  font-size: 14px;
  letter-spacing: 3px;
}
.cover-mode .tabs a small {
  display: none;
}
.story-timeline .timeline-fold {
  border: 0;
  padding-top: 24px;
  padding-bottom: 24px;
}
.timeline-fold > summary {
  padding: 0 34px 0 0;
  color: var(--ink);
  min-height: 44px;
}
.timeline-fold > summary h2 {
  margin: 0 !important;
  font-size: 25px;
  line-height: 1.6;
}
.timeline-fold > summary:after {
  top: 2px;
  content: "＋";
  color: var(--sage);
  font-size: 22px;
}
.timeline-fold[open] > summary:after {
  content: "−";
}
.timeline-fold[open] > summary {
  margin-bottom: 18px;
}
.timeline-content {
  padding-top: 0;
}
.story-timeline .timeline-origin {
  padding-top: 22px;
  padding-bottom: 22px;
}
.timeline-origin h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
.timeline-origin p {
  margin-bottom: 0;
}
.story-timeline .timeline-fold:before {
  top: 36px;
}
.story-timeline .timeline-fold:after {
  top: 43px;
}
.story-timeline .timeline-fold .year-tag {
  top: 20px;
}
.timeline-fold > summary .year-tag {
  font-weight: 400;
}
.history-album {
  isolation: isolate;
}
.album-image {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  border-radius: 3px;
  touch-action: pan-y;
  cursor: pointer;
}
.album-image:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 5px;
}
.album-slide figcaption {
  min-height: 36px;
}
.album-count {
  position: absolute;
  right: 14px;
  bottom: 50px;
  z-index: 2;
  background: #f7ecd8e8;
  color: #66543e;
  border-radius: 2px 5px 3px 4px;
  padding: 2px 8px;
  font-size: 12px;
  line-height: 1.8;
  pointer-events: none;
  box-shadow: 0 1px 3px #7b62421a;
}
@media (max-width: 800px) {
  .cover-mode .desk {
    padding-right: 70px;
  }

  .cover-mode .tabs {
    right: -49px;
    width: 49px;
  }

  .cover-mode .tabs a span {
    font-size: 13px;
  }

  .book-cover {
    padding-left: 32px;
    padding-right: 24px;
  }
}
@media (max-width: 540px) {
  .cover-mode .desk {
    padding: 12px 53px 10px 12px;
  }

  .cover-mode .desk-caption {
    font-size: 10px;
    padding: 0 3px 10px;
  }

  .cover-mode .desk-caption span:last-child {
    display: none;
  }

  .cover-mode .desk-bottom {
    font-size: 9px;
    padding: 10px 0 0;
  }

  .cover-mode .tabs {
    right: -37px;
    top: 7%;
    width: 37px;
  }

  .cover-mode .tabs a:nth-child(n) {
    padding: 8px 5px;
    margin-bottom: 7px;
  }
  .cover-mode .tabs a {
    padding: 8px 5px;
    margin-bottom: 7px;
  }

  .cover-mode .tabs a span {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .book-cover {
    padding: 20px 16px 20px 27px;
  }

  .book-cover:before {
    inset: 12px;
  }

  .cover-title {
    font-size: 36px;
  }

  .cover-subtitle {
    font-size: 12px;
    margin-top: 12px;
  }

  .cover-label {
    font-size: 11px;
    letter-spacing: 3px;
  }

  .cover-date {
    font-size: 10px;
    letter-spacing: 1px;
  }

  .book-cover img {
    max-width: 80%;
    height: 27svh;
  }

  .book-cover.opening {
    left: 9px;
    width: calc(100% - 18px);
  }

  .story-timeline .timeline-fold {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .timeline-fold > summary h2 {
    font-size: 21px;
  }

  .story-timeline .timeline-fold .year-tag {
    top: auto;
    margin-bottom: 10px;
  }

  .story-timeline .timeline-fold:before {
    top: 29px;
  }

  .album-count {
    right: 9px;
    bottom: 47px;
    font-size: 11px;
  }
}
@media (max-height: 560px) {
  .cover-mode .desk {
    padding-top: 8px;
    padding-bottom: 6px;
  }

  .cover-mode .desk-caption {
    padding-bottom: 5px;
  }

  .cover-mode .desk-bottom {
    padding-top: 5px;
  }

  .cover-mode .book-cover {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .cover-title {
    font-size: 30px;
    margin-top: 6px;
  }

  .cover-subtitle {
    margin-top: 6px;
    font-size: 12px;
  }

  .book-cover img {
    height: 20svh;
    margin: 6px 0;
  }

  .cover-open {
    margin-top: 0;
    font-size: 18px;
  }

  .cover-date {
    margin-top: 5px;
    font-size: 9px;
  }

  .cover-mode .tabs {
    top: 4%;
  }

  .cover-mode .tabs a:nth-child(n) {
    padding: 5px;
    margin-bottom: 4px;
  }
  .cover-mode .tabs a {
    padding: 5px;
    margin-bottom: 4px;
  }

  .cover-mode .tabs a span {
    font-size: 11px;
    letter-spacing: 1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .book-cover.opening {
    display: none !important;
  }
}
body {
  font-size: 18.667px;
}
.contact-section p {
  font-size: 18.667px;
  line-height: 1.8;
}
.steps p {
  font-size: 18.667px;
  line-height: 1.8;
}
.lead {
  font-size: 18.667px;
  line-height: 1.8;
}
.milestone p {
  font-size: 18.667px;
  line-height: 1.8;
}
.hero p:not(.greeting) {
  font-size: 18.667px;
  line-height: 1.8;
}
.section p {
  font-size: 18.667px;
  line-height: 1.8;
}
.detail-body p {
  font-size: 18.667px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.close-notebook {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}
.close-notebook:hover {
  color: var(--ochre);
}
.cover-title {
  transform: none;
}
.book-cover {
  backface-visibility: hidden;
}
.notebook {
  perspective: none;
}
.book-cover.opening {
  transform-origin: 0 50%;
}
.portrait img {
  border: 0;
  box-shadow: none;
  mask-image: radial-gradient(
    ellipse 48% 48% at 50% 48%,
    #000 50%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 48% 48% at 50% 48%,
    #000 50%,
    transparent 100%
  );
}
@media (max-width: 540px) {
  .detail-body p {
    font-size: 18.667px;
  }
  .steps p {
    font-size: 18.667px;
  }
  .lead {
    font-size: 18.667px;
  }
  .milestone p {
    font-size: 18.667px;
  }
  .hero p:not(.greeting) {
    font-size: 18.667px;
  }
  .section p {
    font-size: 18.667px;
  }

  .header-actions {
    gap: 10px;
  }

  .close-notebook {
    font-size: 12px;
  }

  .brand span {
    display: none;
  }
}
.book-cover.opening {
  backface-visibility: hidden;
  will-change: transform;
}
.cover-mode .book-cover {
  opacity: 1;
  transform: none;
}
.cover-mode .notebook {
  perspective: none;
}
.book-cover {
  border: 1px solid #8f704c55;
}
.book-cover:before {
  inset: 13px;
  border: 1px dashed #6e543b55;
  border-radius: 3px 16px 16px 3px;
}
.book-cover:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 100% 0, #f5e1be44, transparent 18%),
    radial-gradient(ellipse at 100% 100%, #7e5d3730, transparent 22%);
  box-shadow: inset 15px 0 16px -15px #46321fbb;
}
.cover-label {
  color: #59452f;
  text-shadow:
    0 1px 0 #ead6b677,
    0 -1px 0 #75563522;
}
.cover-title {
  color: #59452f;
  text-shadow:
    0 1px 0 #ead6b677,
    0 -1px 0 #75563522;
}
.notebook {
  background-image: url("assets/brushed-cloth.svg");
}
.book-cover {
  background-color: #bda17e;
  background-image:
    url("assets/brushed-cloth.svg"), url("assets/brushed-cloth.svg"),
    url("assets/paper-fibers.svg"),
    radial-gradient(ellipse at 38% 30%, #efd7b477, transparent 70%),
    linear-gradient(
      90deg,
      #694c3455,
      transparent 9%,
      transparent 93%,
      #6d4e3238
    );
  background-size:
    130px 190px,
    310px 110px,
    260px,
    100% 100%,
    100% 100%;
  background-blend-mode: multiply, soft-light, multiply, normal, normal;
  box-shadow:
    inset 5px 0 12px #63472e77,
    inset -5px -6px 10px #74513255,
    inset 0 4px 7px #fae9ce88,
    0 5px 9px #5d432f44;
  border-radius: 7px 24px 23px 7px;
}
.book-cover:before {
  border-color: #745c4266;
  box-shadow:
    0 1px 2px #f5dfbf66,
    0 0 0 3px #c9ac8644,
    inset 0 0 26px #f0dbb92b;
}
.notebook {
  background-size: 130px 190px;
  box-shadow:
    0 24px 32px -16px #513a2577,
    2px 7px 9px #70533544;
}
.cover-mode .stitches {
  filter: drop-shadow(0 1px 1px #65462e55);
}
.cover-mode .tabs {
  top: 5%;
}
.cover-mode .tabs a:nth-child(n) {
  padding-top: 7px;
  padding-bottom: 7px;
  margin-bottom: 6px;
}
.cover-mode .tabs a {
  padding-top: 7px;
  padding-bottom: 7px;
  margin-bottom: 6px;
}
.tabs small {
  display: none;
}
@media (max-height: 650px) {
  .cover-mode .tabs a span {
    letter-spacing: 1px;
    font-size: 11px;
  }

  .cover-mode .tabs a:nth-child(n) {
    padding: 5px;
    margin-bottom: 4px;
  }
  .cover-mode .tabs a {
    padding: 5px;
    margin-bottom: 4px;
  }
}
.tabs a:nth-child(1) {
  --tab: #c8a58e;
  background: var(--tab);
  color: #4e3c32;
}
.tabs a:nth-child(2) {
  --tab: #b8c4aa;
  background: var(--tab);
  color: #354836;
}
.tabs a:nth-child(3) {
  --tab: #d7c5a5;
  background: var(--tab);
  color: #55442f;
}
.tabs a:nth-child(4) {
  --tab: #adc2bf;
  background: var(--tab);
  color: #314b48;
}
.tabs a:nth-child(5) {
  --tab: #d8b79c;
  background: var(--tab);
  color: #5a3e2b;
}
.tabs a {
  background-image: url("assets/handmade-paper.svg") !important;
  background-size: 160px;
  border-color: #806c4d33;
  box-shadow:
    2px 3px 4px #59463218,
    inset 0 1px 1px #fff5dd88;
  transition:
    filter 0.2s,
    transform 0.2s;
}
.tabs a:hover {
  filter: brightness(1.06);
}
.tabs a.active {
  background-color: var(--tab);
  color: #302e25;
  box-shadow:
    3px 3px 6px #59463228,
    inset 3px 0 0 #69583a88;
}
.tabs a:nth-child(n) {
  color: #302b25;
  text-shadow: none;
}
.tabs a span {
  font-weight: 500;
}
.tabs a.active:nth-child(n) {
  background-color: #73553e;
  color: #fff8e9;
  box-shadow:
    3px 4px 7px #59463233,
    inset 3px 0 0 #e9cfa4;
}
.tabs a.active span {
  font-weight: 600;
}
.tabs a:hover:not(.active) {
  filter: brightness(1.04);
}
.sheet[data-paper="warm"] {
  background-color: #eee0c7;
  background-image:
    url("assets/brushed-cloth.svg"), url("assets/paper-fibers.svg"),
    url("assets/handmade-paper.svg"),
    radial-gradient(ellipse at 30% 15%, #fff4db88, transparent 70%),
    linear-gradient(
      90deg,
      #96774d44,
      transparent 9%,
      transparent 94%,
      #c2a67c33
    );
  background-size:
    190px 270px,
    230px 230px,
    360px 360px,
    100% 100%,
    100% 100%;
  background-blend-mode: soft-light, multiply, multiply, normal, normal;
  box-shadow:
    inset 19px 0 24px -19px #664725aa,
    inset -3px 0 8px #98724433,
    inset 0 3px 5px #fff6df88,
    0 3px 6px #72533633;
  backface-visibility: hidden;
}
.sheet {
  background-color: #eee0c7;
  background-image:
    url("assets/brushed-cloth.svg"), url("assets/paper-fibers.svg"),
    url("assets/handmade-paper.svg"),
    radial-gradient(ellipse at 30% 15%, #fff4db88, transparent 70%),
    linear-gradient(
      90deg,
      #96774d44,
      transparent 9%,
      transparent 94%,
      #c2a67c33
    );
  background-size:
    190px 270px,
    230px 230px,
    360px 360px,
    100% 100%,
    100% 100%;
  background-blend-mode: soft-light, multiply, multiply, normal, normal;
  box-shadow:
    inset 19px 0 24px -19px #664725aa,
    inset -3px 0 8px #98724433,
    inset 0 3px 5px #fff6df88,
    0 3px 6px #72533633;
  backface-visibility: hidden;
}
.sheet:before {
  background-image: url("assets/brushed-cloth.svg");
  background-size: 155px 240px;
  opacity: 0.24;
  mix-blend-mode: multiply;
  box-shadow:
    inset 0 3px 5px #fff9e8aa,
    inset 0 -5px 8px #b7997144;
}
.sheet > footer {
  position: relative;
  z-index: 1;
}
.sheet > .contact-section {
  position: relative;
  z-index: 1;
}
.sheet > main {
  position: relative;
  z-index: 1;
}
.sheet > header {
  position: relative;
  z-index: 1;
}
.sheet {
  will-change: auto;
}
.outgoing-paper {
  backface-visibility: hidden;
  will-change: transform;
  box-shadow: 10px 2px 24px #60432933 !important;
}
.outgoing-paper .snapshot-about {
  padding-top: 0 !important;
}
.outgoing-paper .chapter {
  animation: none !important;
}
.outgoing-paper .chapter:after {
  display: none !important;
}
.sheet:not(.outgoing-paper) {
  transform: none;
}
.outgoing-paper:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #60412522,
    transparent 13%,
    transparent 80%,
    #fff6dd55
  );
}

/* 无字品牌图：封面主标识与页内小标识。 */
.book-cover img.cover-brand-mark {
  width: min(340px, 72%);
  height: auto;
  max-height: 35%;
  object-fit: contain;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse at center, #000 43%, transparent 72%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 43%,
    transparent 72%
  );
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse at center, #000 42%, transparent 73%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 42%,
    transparent 73%
  );
}
@media (max-width: 540px) {
  .header-brand-mark {
    width: 30px;
    height: 30px;
  }
  .brand {
    gap: 4px;
  }
  .book-cover img.cover-brand-mark {
    width: 85%;
  }
}

/* 本地测试：一屏一页，章节内页通过链接翻阅。 */
html,
body {
  height: 100%;
  overflow: hidden;
}
body {
  font-size: 17px;
}
.desk,
.cover-mode .desk {
  width: 100%;
  height: 100dvh;
  max-width: 1120px;
  padding: 18px 83px 18px 20px;
  display: block;
}
.desk-caption,
.desk-bottom {
  display: none !important;
}
.notebook,
.cover-mode .notebook {
  height: 100%;
  min-height: 0 !important;
}
.sheet {
  height: 100%;
  min-height: 0;
  max-height: 100%;
  padding: 18px 38px 14px 54px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  overflow: hidden;
}
.cover-mode .sheet {
  display: none;
}
.measuring .sheet {
  display: grid !important;
}
.measuring #book-cover {
  display: none !important;
}
.book-cover,
.cover-mode .book-cover {
  height: 100%;
  max-height: none;
}
.book-cover.opening {
  height: calc(100% - 18px) !important;
}
.sheet > header {
  padding: 0 0 10px;
  min-height: 38px;
}
.sheet > main {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.sheet > footer {
  padding-top: 8px;
  min-height: 34px;
}
.reader-content {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  outline: none;
  display: flow-root;
}
.reader-content > * {
  max-width: 100%;
}
.reader-content p,
.reader-content .lead,
.reader-content .section p,
.reader-content .milestone p {
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 14px;
}
.reader-content h1 {
  font-size: 32px;
  line-height: 1.45;
  margin: 8px 0 18px;
}
.reader-content h2 {
  font-size: 26px;
  line-height: 1.5;
  margin: 8px 0 14px;
}
.reader-content h3 {
  font-size: 21px;
  margin: 14px 0 8px;
}
.reader-content .eyebrow {
  margin-bottom: 9px;
}
.reader-content .year-tag {
  position: static;
  left: auto;
  top: auto;
  width: auto;
  display: inline-block;
  margin: 0 0 10px;
  padding: 3px 10px;
}
.reader-content .hero {
  margin: 12px 0 0;
  gap: 18px;
  height: auto;
  grid-template-columns: 1.1fr 0.9fr;
}
.reader-content .hero h1 {
  font-size: 30px;
}
.reader-content .hero p.greeting {
  font-size: 23px;
}
.reader-content .hero p {
  font-size: 17px;
}
.reader-content .portrait {
  width: 100%;
  margin: 0;
  transform: none;
}
.reader-content .portrait img {
  height: 34dvh;
  max-height: 310px;
  width: 100%;
  object-fit: contain;
}
.reader-content .portrait figcaption {
  font-size: 18px;
}
.reader-links {
  display: flex;
  gap: 10px 20px;
  flex-wrap: wrap;
  margin: 12px 0 8px;
}
.reader-links a {
  font-size: 16px;
  min-height: 32px;
}
.reader-era .reader-links {
  margin: 0;
}
.reader-era {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed #a38a5d44;
}
.reader-year {
  color: var(--ochre);
  font-size: 15px;
}
.reader-timeline {
  margin-top: 14px;
}
.reader-content .scene {
  margin: 10px 0 12px;
}
.reader-content .scene img {
  max-height: 31dvh;
  object-fit: contain;
  border: none;
  box-shadow: none;
}
.reader-content .scene figcaption {
  font-size: 15px;
  padding: 0;
}
.reader-content .history-album {
  margin: 10px 0 14px;
}
.reader-content .album-heading {
  font-size: 19px;
  margin-bottom: 8px;
}
.reader-content .album-slide img {
  height: 45dvh;
  max-height: 400px;
  aspect-ratio: auto;
  object-fit: contain;
}
.reader-content .album-slide figcaption {
  padding-top: 4px;
  min-height: 28px;
}
.reader-content .album-count {
  bottom: 38px;
}
.reader-content .personal-note {
  padding: 14px 20px;
  margin: 18px 0;
}
.reader-content .personal-note p {
  font-size: 23px;
  margin: 0;
}
.reader-content blockquote {
  font-size: 21px;
  line-height: 1.7;
  margin: 16px 0;
}
.reader-step {
  margin: 10px 0 18px;
}
.reader-step b {
  color: var(--sage);
  font-size: 18px;
}
.reader-step p {
  margin-top: 5px;
}
.tabs,
.cover-mode .tabs {
  position: absolute;
  float: none;
  right: -58px;
  top: 4%;
  width: 58px;
  height: auto;
  padding: 0;
  margin: 0;
}
.tabs a,
.tabs a:nth-child(n),
.cover-mode .tabs a,
.cover-mode .tabs a:nth-child(n) {
  min-height: 0;
  padding: 9px 6px;
  margin-bottom: 7px;
}
.tabs small {
  display: none;
}
.tabs a span {
  font-size: 14px;
  letter-spacing: 2px;
}
footer #page-number {
  text-align: center;
  line-height: 1.5;
}
footer button {
  white-space: nowrap;
}
.outgoing-paper {
  height: calc(100dvh - 55px);
  max-height: calc(100dvh - 55px);
}
@media (max-width: 800px) {
  .desk,
  .cover-mode .desk {
    padding: 12px 64px 12px 12px;
  }
  .sheet {
    padding: 16px 26px 12px 38px;
  }
  .tabs,
  .cover-mode .tabs {
    right: -47px;
    width: 47px;
  }
  .tabs a span {
    font-size: 13px;
  }
  .reader-content .hero {
    grid-template-columns: 1fr 0.8fr;
  }
  .reader-content .hero h1 {
    font-size: 27px;
  }
}
@media (max-width: 540px) {
  body {
    font-size: 15px;
  }
  .desk,
  .cover-mode .desk {
    padding: 8px 45px 8px 7px;
  }
  .notebook {
    padding: 3px 6px 9px 8px;
  }
  .sheet {
    padding: 12px 15px 8px 25px;
    gap: 10px;
  }
  .sheet > header {
    min-height: 31px;
    padding-bottom: 6px;
  }
  .brand {
    font-size: 17px;
  }
  .header-brand-mark {
    width: 24px;
    height: 24px;
  }
  .header-actions {
    gap: 9px;
  }
  .contact-link {
    font-size: 11px !important;
  }
  .close-notebook {
    font-size: 11px;
  }
  .tabs,
  .cover-mode .tabs {
    right: -34px;
    width: 34px;
    top: 3%;
  }
  .tabs a,
  .tabs a:nth-child(n),
  .cover-mode .tabs a,
  .cover-mode .tabs a:nth-child(n) {
    padding: 8px 4px;
    margin-bottom: 6px;
  }
  .tabs a span {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .reader-content p,
  .reader-content .hero p,
  .reader-content .section p,
  .reader-content .milestone p,
  .reader-content .lead {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 11px;
  }
  .reader-content h1,
  .reader-content .hero h1 {
    font-size: 25px;
    line-height: 1.5;
    margin: 6px 0 13px;
  }
  .reader-content h2 {
    font-size: 22px;
    margin: 6px 0 11px;
  }
  .reader-content h3 {
    font-size: 18px;
    margin: 10px 0 6px;
  }
  .reader-content .hero {
    display: flex;
    flex-direction: column-reverse;
    gap: 6px;
    margin: 0;
  }
  .reader-content .portrait {
    width: 100%;
    margin: 0;
  }
  .reader-content .portrait img {
    height: 21dvh;
    max-height: 175px;
  }
  .reader-content .portrait figcaption {
    display: none;
  }
  .reader-content .greeting {
    font-size: 20px !important;
    margin: 5px 0 9px !important;
  }
  .reader-links {
    gap: 5px 16px;
    margin: 8px 0;
  }
  .reader-links a {
    font-size: 14px;
    line-height: 1.7;
    min-height: 30px;
  }
  .reader-era {
    grid-template-columns: 76px 1fr;
    gap: 5px;
    padding: 9px 0;
  }
  .reader-year {
    font-size: 12px;
  }
  .reader-era a {
    font-size: 14px;
  }
  .reader-content .scene img {
    max-height: 27dvh;
  }
  .reader-content .scene figcaption {
    font-size: 12px;
  }
  .reader-content .history-album {
    margin: 6px 0 8px;
  }
  .reader-content .album-heading {
    font-size: 17px;
    margin-bottom: 6px;
  }
  .reader-content .album-slide img {
    height: 43dvh;
  }
  .reader-content .album-slide figcaption b {
    font-size: 13px;
  }
  .reader-content .personal-note {
    padding: 12px 16px;
    margin: 10px 0;
  }
  .reader-content .personal-note p {
    font-size: 20px;
  }
  .reader-content blockquote {
    font-size: 19px;
    margin: 12px 0;
  }
  .reader-step b {
    font-size: 16px;
  }
  .sheet > footer {
    font-size: 10px;
    min-height: 31px;
  }
  footer button {
    font-size: 12px;
  }
  .book-cover.opening {
    left: 8px;
    width: calc(100% - 14px);
  }
}
@media (max-height: 560px) {
  .reader-content .portrait img {
    height: 18dvh;
  }
  .reader-content .scene img {
    max-height: 23dvh;
  }
  .tabs a,
  .tabs a:nth-child(n) {
    padding: 4px !important;
    margin-bottom: 4px !important;
  }
  .tabs a span {
    font-size: 11px;
  }
  .sheet {
    gap: 7px;
  }
  .reader-content h1 {
    font-size: 24px;
  }
  .reader-content p {
    font-size: 15px;
  }
}

@media (max-width: 540px) and (max-height: 650px) {
  .reader-content .hero .portrait {
    display: none;
  }
  .reader-content .hero h1 {
    font-size: 23px;
  }
  .reader-content .hero p {
    font-size: 14px;
    line-height: 1.6;
  }
  .reader-era {
    padding: 5px 0;
  }
  .reader-timeline {
    margin-top: 6px;
  }
  .reader-content .reader-timeline .reader-links {
    margin: 0;
  }
  .reader-content .reader-timeline a {
    min-height: 27px;
  }
  .reader-content h1 {
    margin-bottom: 10px;
  }
}
@media (max-width: 540px) and (max-height: 650px) {
  .reader-content .reader-era {
    padding: 4px 0;
    grid-template-columns: 72px 1fr;
  }
  .reader-content .reader-era .text-link {
    font-size: 12px;
    line-height: 1.5;
    padding: 2px 0;
    min-height: 22px;
  }
  .reader-content .reader-era .reader-year {
    font-size: 11px;
  }
  .reader-content > .reader-story-intro {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 8px;
  }
}

/* 本地材质试样：皮面封套、藏入页缘的索引。 */
.desk,
.cover-mode .desk {
  max-width: min(980px, calc(88dvh + 40px));
  padding: 16px 20px;
}
.notebook {
  padding: 4px 7px 8px 9px;
  border-radius: 9px 21px 20px 9px;
  background: #a8794f;
  box-shadow:
    0 16px 27px -15px #3e281c77,
    1px 4px 6px #54392633;
}
.notebook:before {
  inset: 8px 5px 4px 10px;
  border: 0;
  border-radius: 7px 18px 17px 7px;
  background: repeating-linear-gradient(
    0deg,
    #e8dbc4 0 1px,
    #f7eddb 1px 2px,
    #cbb99b 2px 2.5px
  );
  box-shadow: 0 1px 2px #65432b33;
}
.notebook:after {
  display: none;
}
.stitches {
  left: 8px;
  top: 20px;
  bottom: 20px;
  width: 13px;
  background: none !important;
  border: 0;
  box-shadow: inset 5px 0 9px -7px #5c412c99;
  opacity: 0.65;
}
.cover-mode .stitches,
.cover-mode .notebook:before,
.cover-mode .notebook:after {
  display: none !important;
}
.cover-mode .notebook {
  padding: 0;
  background: none;
  box-shadow:
    0 15px 28px -12px #4b302477,
    1px 4px 6px #54392633;
}
.cover-mode .tabs {
  display: none !important;
}
.book-cover {
  border-radius: 9px 20px 20px 9px;
  border: 1px solid #79513466;
  background-color: #bd926b;
  background-image:
    url("assets/cover-leather.png"),
    linear-gradient(
      90deg,
      #4f2e1c22,
      transparent 9%,
      transparent 92%,
      #54311b22
    );
  background-size:
    410px 410px,
    100% 100%;
  background-blend-mode: normal, multiply;
  box-shadow:
    inset 3px 0 5px #53331e55,
    inset 0 2px 2px #f1d4ad77,
    inset -2px -3px 5px #603d2466,
    0 1px 2px #3f281c55;
}
.book-cover:before {
  inset: 10px;
  border: 1px dashed #ead7b7bb;
  border-radius: 5px 15px 15px 5px;
  box-shadow:
    0 0 0 2px #83573822,
    inset 0 0 0 2px #83573822;
  background: none;
}
.book-cover:after {
  box-shadow: inset 12px 0 15px -13px #36241899;
  background: linear-gradient(
    90deg,
    #4e2e1a10,
    transparent 12%,
    transparent 97%,
    #efce9b22
  );
}
.cover-title,
.cover-label {
  color: #4c3222;
  text-shadow: 0 1px 0 #e5c29a88;
}
.cover-subtitle,
.cover-date {
  color: #4f3828;
}
.sheet {
  padding-right: 72px;
  border-radius: 5px 15px 14px 5px;
}
.tabs {
  right: 8px;
  top: 17%;
  bottom: 10%;
  width: 43px;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 0;
  z-index: 5;
}
.tabs a,
.tabs a:nth-child(n) {
  position: relative;
  margin: 0;
  padding: 5px 4px;
  min-height: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  transform: none !important;
  clip-path: polygon(0 7%, 100% 0, 100% 93%, 0 100%);
  box-shadow: inset 3px 0 5px #70543715;
  background-image: url("assets/handmade-paper.svg") !important;
  background-size: 160px;
  justify-content: center;
}
.tabs a:nth-child(n).active {
  transform: none !important;
  box-shadow:
    inset 3px 0 0 #efdbb7,
    inset 0 0 8px #513b2822;
}
.tabs a span {
  font-size: clamp(10.5px, 1.35dvh, 14px);
  letter-spacing: 1px;
  line-height: 1.3;
}
.tabs a:hover:not(.active) {
  filter: brightness(1.03);
}
.book-cover.opening {
  left: 0;
  top: 0;
  width: 100%;
  height: 100% !important;
}
@media (max-width: 800px) {
  .desk,
  .cover-mode .desk {
    padding: 12px 14px;
  }
  .sheet {
    padding-right: 62px;
  }
  .tabs {
    width: 37px;
    right: 7px;
  }
}
@media (max-width: 540px) {
  .desk,
  .cover-mode .desk {
    padding: 8px;
  }
  .notebook {
    padding: 3px 5px 6px 6px;
  }
  .sheet {
    padding-left: 23px;
    padding-right: 53px;
  }
  .tabs {
    width: 31px;
    right: 6px;
    top: 16%;
    bottom: 10%;
  }
  .tabs a,
  .tabs a:nth-child(n) {
    padding: 3px;
  }
  .tabs a span {
    font-size: clamp(10.5px, 1.35dvh, 12px);
    letter-spacing: 0.5px;
  }
  .cover-mode .notebook {
    padding: 0;
  }
  .book-cover.opening {
    left: 0;
    width: 100%;
  }
}

.book-cover {
  background-color: #c2a078;
  background-blend-mode: luminosity, multiply;
}
/* 大屏也保持本子的比例，不随超高视口拉成长条。 */
.desk,
.cover-mode .desk {
  height: min(100dvh, 1120px);
  max-width: min(820px, calc((100dvh - 32px) * 0.76 + 40px));
  margin: 0 auto;
}
@media (max-width: 540px) {
  .desk,
  .cover-mode .desk {
    height: 100dvh;
    max-width: 100%;
  }
}

/* 初次见面：固定左右身份区、行进地图和底部入口。 */
.reader-content .eyebrow{display:none}.intro-sheet{height:100%;display:grid;grid-template-rows:auto auto minmax(110px,1fr) auto;gap:14px}.intro-top{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:16px;align-items:center}.intro-top .portrait{display:block!important;margin:0;width:100%}.reader-content .intro-top .portrait img{width:100%;height:clamp(120px,23dvh,235px);max-height:235px;object-fit:contain;mask-image:radial-gradient(ellipse at 50% 45%,#000 26%,#000b 49%,transparent 72%);-webkit-mask-image:radial-gradient(ellipse at 50% 45%,#000 26%,#000b 49%,transparent 72%)}.reader-content .intro-identity h1{font-size:28px;line-height:1.6;margin:0 0 14px}.reader-content .intro-bridge{margin:0}.journey-map{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;min-height:0;isolation:isolate}.journey-line{position:absolute;inset:8%;width:84%;height:84%;z-index:-1;opacity:.6}.journey-stop{display:flex;flex-direction:column;align-items:center;justify-content:center;text-decoration:none;gap:3px;min-height:0;color:var(--ink)}.journey-stop svg{width:clamp(40px,6dvh,70px);height:clamp(40px,6dvh,70px)}.journey-year{font-size:15px;color:var(--ochre)}.journey-caption{font-size:14px}.intro-sheet>.reader-links{justify-content:space-between;margin:0}.sheet>footer button{font-size:23px;min-width:36px}.book-cover{box-shadow:inset 0 2px 2px #f8dfb899,inset 1px 0 2px #edce9c66,0 3px 0 #93643f,0 8px 16px -7px #4a2f2588}.book-cover:after{background:radial-gradient(ellipse at 45% 35%,#ffe3ab26,transparent 72%);box-shadow:inset 0 0 2px #67452e33}.book-cover:before{box-shadow:0 1px 1px #f5dfb955;border-color:#ebd6b1bb}
@media(max-width:540px){.intro-sheet{gap:9px;grid-template-rows:auto auto minmax(110px,1fr) auto}.intro-top{grid-template-columns:1.3fr 1fr;gap:4px}.reader-content .intro-identity h1{font-size:21px;line-height:1.5;margin-bottom:10px}.reader-content .intro-identity p{font-size:14px;line-height:1.65;margin:0}.reader-content .intro-top .portrait img{height:155px;max-height:22dvh}.reader-content .intro-bridge{font-size:14px;line-height:1.65}.journey-year{font-size:12px}.journey-caption{font-size:11px}.journey-stop svg{width:43px;height:43px}.intro-sheet>.reader-links{gap:4px 8px}.intro-sheet>.reader-links a{font-size:12px}.journey-stop{gap:1px}}
@media(max-height:650px){.intro-sheet{gap:6px}.reader-content .intro-top .portrait img{height:110px}.reader-content .intro-identity h1{font-size:19px}.journey-stop svg{width:32px;height:32px}.journey-year{font-size:11px}.journey-caption{font-size:10px}}

/* 凸起的软包封面：上层受光、圆润包边、下层实体厚度。 */
.cover-mode .notebook{background:#936840;border-radius:13px 24px 24px 13px;box-shadow:0 4px 0 #a1774f,0 7px 0 #795233,0 15px 22px -9px #49312566}.book-cover{border:1px solid #a0774f66;border-radius:12px 22px 22px 12px;box-shadow:inset 0 2px 3px #ffe6be99,inset 2px 0 3px #edcfa366,inset -1px -1px 2px #80583744,0 1px 1px #bb946c}.book-cover:before{inset:12px;border-color:#eed6b0bb;box-shadow:0 1px 1px #efd4ac66,inset 0 1px 0 #976d4733}.book-cover:after{background:radial-gradient(ellipse 78% 70% at 46% 31%,#ffe4b937,transparent 100%),linear-gradient(90deg,#855c3510,transparent 8%,transparent 97%,#64432514);box-shadow:none}.cover-mode .book-cover{background-blend-mode:luminosity,multiply}.book-cover .cover-label,.book-cover .cover-title,.book-cover .cover-subtitle,.book-cover .cover-date,.book-cover img{position:relative;z-index:1}

/* 路径从左下出发，蜿蜒至右上。 */
.journey-stop:nth-of-type(1){grid-column:2;grid-row:1}.journey-stop:nth-of-type(2){grid-column:1;grid-row:1}.journey-stop:nth-of-type(3){grid-column:2;grid-row:2}.journey-stop:nth-of-type(4){grid-column:1;grid-row:2}.intro-sheet>.reader-links a{font-size:14px}.intro-top .portrait img{mix-blend-mode:normal}
@media(max-width:540px){.intro-sheet>.reader-links a{font-size:11px}}
@media(max-height:650px){.intro-sheet>.reader-links a{font-size:10px}}

.reader-content .intro-top .portrait img{mask-image:none!important;-webkit-mask-image:none!important;background:none;mix-blend-mode:normal}

/* 路径上的人物错落分布，不再按两行方格对齐。 */
.journey-map{display:block;min-height:180px;overflow:visible}.journey-line{inset:0;width:100%;height:100%;opacity:.52}.journey-stop{position:absolute;width:42%;height:auto;transform:translate(-50%,-50%);gap:2px;grid-column:auto!important;grid-row:auto!important}.journey-stop:nth-of-type(1){left:78%;top:21%}.journey-stop:nth-of-type(2){left:25%;top:35%}.journey-stop:nth-of-type(3){left:74%;top:69%}.journey-stop:nth-of-type(4){left:17%;top:80%}.journey-stop img{width:clamp(65px,9dvh,105px);height:clamp(65px,9dvh,105px);object-fit:contain;display:block;filter:drop-shadow(0 2px 1px #9075530d)}.intro-sheet{grid-template-rows:auto auto minmax(180px,1fr) auto}.journey-year{line-height:1.45}.journey-caption{line-height:1.5}.journey-stop:focus-visible{outline:2px solid var(--sage);outline-offset:4px;border-radius:20px}
@media(max-width:540px){.journey-map{min-height:175px}.intro-sheet{grid-template-rows:auto auto minmax(175px,1fr) auto}.journey-stop img{width:68px;height:68px}.journey-stop:nth-of-type(1){left:77%;top:21%}.journey-stop:nth-of-type(2){left:27%;top:34%}.journey-stop:nth-of-type(3){left:75%;top:67%}.journey-stop:nth-of-type(4){left:22%;top:80%}.journey-year{font-size:11px}.journey-caption{font-size:10px}}
@media(max-height:650px){.journey-map{min-height:150px}.intro-sheet{grid-template-rows:auto auto minmax(150px,1fr) auto}.journey-stop img{width:48px;height:48px}}

/* 封面与开篇三页：本地审阅版。 */
.book-cover{box-shadow:inset 0 3px 4px #ffe6bd99,inset 2px 0 3px #f0d1a566,0 2px 0 #b98b60,0 6px 0 #93643f,0 10px 0 #775032,0 18px 25px -10px #4a2f2577}.book-cover:after{background:radial-gradient(ellipse 82% 76% at 45% 30%,#ffe6bd4a,transparent 100%);box-shadow:none}.book-cover:before{border-color:#f0d8b1cc;box-shadow:0 1px 1px #ffe1b666}.cover-mode .notebook{box-shadow:0 5px 0 #b18a61,0 9px 0 #835a38,0 18px 27px -10px #4a2f2577}.sheet>footer{border-top:0!important;background:none}.sheet>footer:before{display:none!important}.intro-sheet>.reader-links{align-self:end;padding-bottom:0}.journey-stop{cursor:pointer;transition:filter .2s}.journey-stop img{transition:transform .2s,filter .2s}.journey-open{font-size:10px;color:#72563d;border-bottom:1px solid #ad8c6688;line-height:1.3;opacity:.75}.journey-stop:hover img,.journey-stop:focus-visible img{transform:translateY(-4px) scale(1.04);filter:drop-shadow(0 4px 3px #93714c28)}.journey-stop:active img{transform:translateY(-1px) scale(.98)}.journey-stop:hover .journey-open,.journey-stop:focus-visible .journey-open{opacity:1;color:var(--ochre)}
.origin-sheet{height:100%;display:flex;flex-direction:column;justify-content:center;gap:12px}.reader-content .origin-sheet h1{font-size:28px;line-height:1.5;margin:0 0 12px}.reader-content .origin-sheet p{margin:0;font-size:16px;line-height:1.85}.practice-sheet{height:100%;display:grid;grid-template-rows:minmax(110px,.43fr) minmax(0,.57fr);gap:14px}.reader-content .practice-sheet .history-album{height:100%;margin:0}.reader-content .practice-sheet .album-slide{height:100%}.reader-content .practice-sheet .album-image{height:calc(100% - 26px)}.reader-content .practice-sheet .album-slide img{height:100%;max-height:none;width:100%;object-fit:contain}.reader-content .practice-sheet figcaption{padding:0 8px;min-height:24px}.reader-content .practice-sheet .album-count{bottom:30px}.reader-content .practice-copy h1{font-size:24px;line-height:1.5;margin:0 0 10px}.reader-content .practice-copy p{font-size:15px;line-height:1.75;margin:0 0 10px}.journey-map{overflow:visible}
@media(max-width:540px){.reader-content .origin-sheet h1{font-size:22px;margin-bottom:4px}.origin-sheet{gap:9px}.reader-content .origin-sheet p{font-size:14px;line-height:1.7}.practice-sheet{grid-template-rows:minmax(90px,.34fr) minmax(0,.66fr);gap:8px}.reader-content .practice-copy h1{font-size:19px;margin-bottom:7px}.reader-content .practice-copy p{font-size:13px;line-height:1.65;margin-bottom:7px}.journey-open{font-size:9px}}
@media(max-width:540px) and (max-height:670px){.origin-sheet{gap:6px}.reader-content .origin-sheet p{font-size:13px;line-height:1.55}.reader-content .origin-sheet h1{font-size:20px}.practice-sheet{grid-template-rows:82px minmax(0,1fr);gap:6px}.reader-content .practice-copy h1{font-size:17px;margin-bottom:5px}.reader-content .practice-copy p{font-size:12px;line-height:1.5;margin-bottom:5px}.journey-open{display:none}}
@media(prefers-reduced-motion:reduce){.journey-stop img{transition:none}}

/* 开篇四页：留在纸上的片段。 */
.reader-content .intro-top .portrait img{height:clamp(90px,16dvh,160px);max-height:160px;width:82%;margin:auto;display:block}
.memory-leaf{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 132px;grid-template-rows:auto auto 1fr auto;gap:16px 12px;align-content:center;padding:24px 0;box-sizing:border-box}
.memory-intro,.memory-preface,.memory-ending{grid-column:1/-1}.reader-content .memory-intro h1{font-size:27px;line-height:1.5;margin:0 0 16px;max-width:20em}.reader-content .memory-intro p{line-height:1.8}.reader-content .memory-preface{font-size:14px;color:var(--ochre)}
.memory-scenes{display:flex;flex-direction:column;justify-content:center;gap:20px;min-width:0}.memory-note{position:relative;padding:0 0 0 16px;border-left:2px solid #bda77c66}.memory-note:nth-child(2){margin-left:12px}.memory-note:nth-child(3){margin-left:4px}.reader-content .memory-note h2{font-size:17px;line-height:1.5;color:var(--ochre);margin:0 0 6px;font-weight:500}.reader-content .memory-note p{font-size:15px;line-height:1.8}.memory-art{width:140px;max-width:100%;align-self:center;transform:rotate(3deg)}.reader-content .memory-ending{border-top:1px dashed #b59d7266;padding-top:14px;font-size:15px;line-height:1.8}
.practice-sheet{grid-template-rows:minmax(140px,.48fr) minmax(0,.52fr);gap:24px;padding:8px 0 12px;box-sizing:border-box}.reader-content .practice-sheet .history-album{position:relative;width:min(100%,510px);max-width:100%;justify-self:center}.reader-content .practice-sheet .album-slide{position:relative;margin:0;width:100%;height:100%}.reader-content .practice-sheet .album-image{display:block;width:100%;height:100%;padding:0;border:0;overflow:hidden}.reader-content .practice-sheet .album-slide img{display:block;width:100%;height:100%;object-fit:cover}.reader-content .practice-sheet figcaption{position:absolute;bottom:10px;left:10px;min-height:0;margin:0;padding:3px 8px;background:#f9eddbeb;border-radius:3px;font-size:12px;line-height:1.5;pointer-events:none}.reader-content .practice-sheet .album-count{position:absolute;right:10px;bottom:10px;top:auto;z-index:2;padding:3px 8px;background:#f9eddbeb;font-size:12px;line-height:1.5;border-radius:3px;pointer-events:none}.reader-content .practice-copy h1{font-size:24px;margin-bottom:14px}.reader-content .practice-copy p{font-size:15px;line-height:1.8;margin-bottom:12px}
.pause-sheet{height:100%;display:flex;flex-direction:column;justify-content:center;gap:16px;box-sizing:border-box;padding:12px 0}.pause-top{display:grid;grid-template-columns:1fr 140px;align-items:center;gap:16px}.reader-content .pause-top h1{font-size:27px;line-height:1.5;margin:0}.pause-art{width:140px;height:140px;object-fit:contain;transform:rotate(-3deg)}.reader-content .pause-sheet p{font-size:16px;line-height:1.8;margin:0}.reader-content .pause-sheet blockquote{margin:0 8px;padding:12px 16px;border:0;background:#d9c59c22;transform:rotate(-1deg);font-size:20px;color:var(--ochre);line-height:1.7}.reader-content .pause-ending{color:#655541}
@media(max-width:540px){.reader-content .intro-top .portrait img{height:115px;max-height:17dvh;width:86%}.memory-leaf{grid-template-columns:1fr 74px;gap:10px 8px;padding:8px 0}.reader-content .memory-intro h1{font-size:20px;margin-bottom:10px}.reader-content .memory-intro p,.reader-content .memory-note p,.reader-content .memory-ending{font-size:13px;line-height:1.65}.reader-content .memory-preface{font-size:12px}.memory-scenes{gap:12px}.memory-note{padding-left:10px}.memory-note:nth-child(2){margin-left:5px}.reader-content .memory-note h2{font-size:14px;margin-bottom:3px}.memory-art{width:74px}.reader-content .memory-ending{padding-top:8px}.practice-sheet{grid-template-rows:minmax(100px,.37fr) minmax(0,.63fr);gap:14px;padding:0}.reader-content .practice-copy h1{font-size:19px;margin-bottom:8px}.reader-content .practice-copy p{font-size:13px;line-height:1.65;margin-bottom:8px}.pause-sheet{gap:12px;padding:0}.pause-top{grid-template-columns:1fr 86px;gap:8px}.pause-art{width:86px;height:86px}.reader-content .pause-top h1{font-size:21px}.reader-content .pause-sheet p{font-size:13px;line-height:1.7}.reader-content .pause-sheet blockquote{font-size:16px;line-height:1.65;padding:8px;margin:0}}
@media(max-width:540px) and (max-height:670px){.memory-leaf{gap:7px;padding:0;grid-template-columns:1fr 48px}.memory-art{width:48px}.memory-scenes{gap:8px}.reader-content .memory-intro h1{font-size:18px;margin-bottom:5px}.reader-content .memory-intro p,.reader-content .memory-note p,.reader-content .memory-ending{font-size:12px;line-height:1.5}.reader-content .memory-note h2{font-size:13px}.practice-sheet{grid-template-rows:100px minmax(0,1fr);gap:8px}.reader-content .practice-copy h1{font-size:17px;margin-bottom:5px}.reader-content .practice-copy p{font-size:12px;line-height:1.5;margin-bottom:5px}.pause-sheet{gap:7px}.pause-top{grid-template-columns:1fr 56px}.pause-art{width:56px;height:56px}.reader-content .pause-top h1{font-size:18px}.reader-content .pause-sheet p{font-size:12px;line-height:1.5}.reader-content .pause-sheet blockquote{font-size:14px;padding:6px}}

/* 手账内页：纸片、和纸胶带与铅笔痕迹；装饰不遮盖正文。 */
.scrapbook-leaf{--note-paper:#f8efdc;--note-edge:#ae93652b;--tape:#b9bf9c65;position:relative}
.memory-leaf{grid-template-columns:minmax(0,1fr) 155px;gap:16px 18px;padding:18px 8px 12px;grid-template-rows:auto auto 1fr auto}
.memory-intro h1{display:inline;background:linear-gradient(transparent 76%,#d8b87b38 76%,#d8b87b38 94%,transparent 94%)}
.reader-content .memory-intro p{margin-top:18px}.memory-scenes{gap:16px;padding:8px 0 4px}
.memory-note{position:relative;background:var(--note-paper);border:0;padding:15px 18px 12px;box-shadow:1px 3px 5px var(--note-edge);transform:rotate(-1deg);clip-path:polygon(0 1%,98% 0,100% 98%,82% 99%,63% 98%,45% 100%,22% 98%,0 100%)}
.memory-note:before{content:'';position:absolute;top:0;left:18%;width:64px;height:12px;background:var(--tape);transform:rotate(-5deg);opacity:.8}
.memory-note:nth-child(2){margin-left:20px;transform:rotate(1deg);background:#f0eedb}.memory-note:nth-child(3){margin-left:4px;transform:rotate(-.6deg);background:#f5e8d8}.reader-content .memory-note h2{display:inline-block;margin:0 0 6px;border-bottom:1px solid #a8886155;font-weight:400}.memory-art{width:165px;align-self:center;transform:rotate(5deg)}
.reader-content .memory-ending{border:0;padding:8px 10px 0 18px;position:relative;transform:rotate(-.4deg)}.memory-ending:before{content:'〰';position:absolute;left:0;top:6px;color:var(--ochre)}
.practice-sheet{gap:22px;padding:18px 12px 10px;grid-template-rows:minmax(140px,.45fr) minmax(0,.55fr)}
.reader-content .practice-sheet .history-album{width:min(100%,510px);box-sizing:border-box;padding:9px;background:#faf3e4;box-shadow:1px 4px 8px #775c402b;transform:rotate(-.8deg);overflow:visible}
.practice-sheet .history-album:before,.practice-sheet .history-album:after{content:'';position:absolute;top:-7px;width:70px;height:20px;background:#b2b99970;z-index:3;pointer-events:none;transform:rotate(-13deg);box-shadow:0 1px 1px #6f70401a}.practice-sheet .history-album:before{left:8%}.practice-sheet .history-album:after{right:7%;transform:rotate(12deg)}
.reader-content .practice-sheet .album-slide img{object-fit:contain;background:#f4e9d5}.reader-content .practice-sheet .album-count{right:15px;bottom:14px;background:#fff5e7e8;box-shadow:none;font-size:11px}.reader-content .practice-sheet figcaption{display:none}
.journal-writing{position:relative;padding:15px 18px 12px;background-color:#faf2df;background-image:repeating-linear-gradient(transparent 0,transparent 27px,#b4a18325 27px,#b4a18325 28px);background-position:0 10px;box-shadow:1px 2px 5px #876c4020;border-left:1px solid #bba58238;box-sizing:border-box}
.reader-content .practice-copy h1{font-size:23px;font-weight:500;line-height:1.5;margin:0 0 13px;display:table;background:linear-gradient(transparent 72%,#d6bd7950 72%,#d6bd7950 94%,transparent 94%)}
.reader-content .practice-copy p{font-size:15px;line-height:1.8;margin:0 0 12px}.reader-content .practice-copy p:last-child{margin-bottom:0;color:#685543}
.pause-sheet{gap:18px;padding:14px 12px 10px}.pause-top{grid-template-columns:1fr 145px}.reader-content .pause-top h1{font-size:26px;font-weight:500;max-width:10em;transform:rotate(-1.5deg);text-decoration:underline;text-decoration-color:#bba37870;text-underline-offset:8px;text-decoration-thickness:2px}.pause-art{width:145px;height:145px}.pause-diary{transform:rotate(.4deg);padding:18px 20px 14px}.pause-diary:before{content:'';position:absolute;width:82px;height:18px;top:-8px;left:40%;background:#c2b69265;transform:rotate(-5deg)}.reader-content .pause-diary p{font-size:15px;line-height:1.8;margin-bottom:12px}.reader-content .pause-diary p:last-child{margin-bottom:0}.reader-content .pause-sheet blockquote{position:relative;align-self:center;width:86%;box-sizing:border-box;padding:18px 22px;background:#e7dab6;box-shadow:1px 3px 4px #75614020;transform:rotate(-1.5deg);font-size:19px;line-height:1.7;clip-path:polygon(0 0,100% 1%,99% 96%,79% 98%,56% 97%,31% 100%,0 97%)}.reader-content .pause-ending{font-size:14px;line-height:1.8;padding-left:16px}
@media(max-width:540px){.memory-leaf{grid-template-columns:1fr 68px;gap:9px 8px;padding:8px 3px}.reader-content .memory-intro p{margin-top:12px}.memory-scenes{gap:11px;padding:4px 0}.memory-note{padding:10px 10px 8px}.memory-note:before{width:42px;height:8px}.memory-note:nth-child(2){margin-left:7px}.memory-art{width:76px;max-width:110%}.reader-content .memory-note h2{margin-bottom:4px}.reader-content .memory-note p{font-size:12px;line-height:1.6}.reader-content .memory-ending{padding:4px 0 0 12px;font-size:12px}.practice-sheet{gap:16px;padding:12px 4px 4px;grid-template-rows:minmax(110px,.37fr) minmax(0,.63fr)}.reader-content .practice-sheet .history-album{padding:6px}.practice-sheet .history-album:before,.practice-sheet .history-album:after{width:45px;height:13px;top:-5px}.journal-writing{padding:12px 10px 10px;background-size:auto 24px}.reader-content .practice-copy h1{font-size:18px;margin-bottom:8px}.reader-content .practice-copy p{font-size:12.5px;line-height:1.65;margin-bottom:8px}.pause-sheet{gap:12px;padding:6px 4px}.pause-top{grid-template-columns:1fr 80px}.pause-art{width:80px;height:80px}.reader-content .pause-top h1{font-size:20px}.pause-diary{padding:13px 12px 10px}.reader-content .pause-diary p{font-size:12.5px;line-height:1.65;margin-bottom:9px}.reader-content .pause-sheet blockquote{width:94%;font-size:15px;padding:12px 14px}.reader-content .pause-ending{font-size:12px;padding-left:6px}}
@media(max-width:540px) and (max-height:670px){.memory-leaf{gap:6px;grid-template-columns:1fr 44px;padding:0}.memory-scenes{gap:8px}.memory-note{padding:8px 8px 6px}.memory-art{width:48px}.reader-content .memory-intro p{margin-top:8px;font-size:11.5px;line-height:1.5}.reader-content .memory-note p,.reader-content .memory-ending{font-size:11.5px;line-height:1.5}.reader-content .memory-note h2{font-size:12px;margin-bottom:2px}.practice-sheet{grid-template-rows:96px minmax(0,1fr);gap:12px;padding:7px 2px 2px}.journal-writing{padding:8px}.reader-content .practice-copy h1{font-size:16px;margin-bottom:5px}.reader-content .practice-copy p{font-size:11.5px;line-height:1.5;margin-bottom:5px}.pause-sheet{gap:8px;padding:0 2px}.pause-top{grid-template-columns:1fr 48px}.pause-art{width:48px;height:48px}.reader-content .pause-top h1{font-size:18px}.pause-diary{padding:9px}.reader-content .pause-diary p{font-size:11.5px;line-height:1.5;margin-bottom:6px}.reader-content .pause-sheet blockquote{font-size:13px;padding:9px}.reader-content .pause-ending{font-size:11.5px;line-height:1.5}}

/* 2026-11-23：固定阅读起点，紧凑屏幕优先保全正文。 */
.reader-content .memory-intro h1{display:block;font-size:25px;line-height:1.45;margin:0 0 12px;max-width:none}
.memory-leaf{justify-content:normal;align-content:start;grid-template-rows:auto auto minmax(0,1fr) auto;padding:10px 5px;gap:12px 16px}
.memory-scenes{min-height:0;justify-content:space-evenly;gap:12px}.memory-note{flex-shrink:0}.memory-art{align-self:center}.reader-content .memory-ending{margin:0;padding-top:6px}
.practice-sheet{grid-template-rows:minmax(130px,.39fr) minmax(0,.61fr);gap:18px;padding:12px 7px 4px}.practice-copy.journal-writing{background:none;border:0;box-shadow:none;padding:0 6px}.reader-content .practice-copy h1{font-size:23px;margin-bottom:12px}.reader-content .practice-copy .practice-subhead{font-size:16px;line-height:1.5;margin:9px 0 5px;color:var(--ochre);font-weight:500}.reader-content .practice-copy p{font-size:15px;line-height:1.7;margin-bottom:8px}.reader-content .practice-copy .practice-aside{font-size:13px;line-height:1.6;margin-left:14px;padding-left:10px;border-left:2px solid #b09a7155;color:#75634b}.reader-content .practice-copy .practice-takeaway{font-size:16px;line-height:1.65;margin:10px 4px 0;padding:8px 12px;background:#eadcb655;border:0;transform:rotate(-.5deg);color:#6e5239}
.stranded-sheet{justify-content:flex-start;gap:24px;padding:6% 5%}.stranded-sheet .pause-top{grid-template-columns:1fr 150px}.reader-content .stranded-sheet h1{font-size:32px}.stranded-sheet .pause-diary{padding:25px 22px}.reader-content .stranded-sheet .pause-diary p{font-size:16px;line-height:1.9;margin-bottom:22px}.reader-content .stranded-sheet .pause-diary p:last-child{margin:0}
.restart-sheet{height:100%;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;gap:14px;padding:12px 6px}.reader-content .restart-sheet h1{font-size:25px;line-height:1.5;margin:0 0 2px;max-width:19em;background:linear-gradient(transparent 78%,#d5ba7b44 78%,#d5ba7b44 94%,transparent 94%)}.restart-diary{display:flex;flex-direction:column;gap:14px}.restart-part{padding-left:12px;border-left:2px solid #ab94714d}.reader-content .restart-part h2{font-size:16px;color:var(--ochre);line-height:1.5;margin:0 0 6px;font-weight:500}.reader-content .restart-part p{font-size:15px;line-height:1.8;margin:0}.project-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:12px 2px 4px}.project-slip{position:relative;border:0;padding:13px 8px 8px;background:#e4d5b5;color:var(--ink);font:inherit;font-size:14px;line-height:1.5;box-shadow:1px 3px 4px #725c3525;cursor:pointer;transform:rotate(-2deg);transition:transform .2s}.project-slip:nth-child(2){background:#d9dfcd;transform:rotate(2deg)}.project-slip:nth-child(3){background:#e4d2c2;transform:rotate(-1deg)}.project-slip:before{content:'';position:absolute;left:33%;top:-5px;width:35%;height:10px;background:#e6dcbd9c}.project-open{display:block;font-size:11px;margin-top:5px;color:#745a41;text-decoration:underline;text-underline-offset:3px}.project-slip:hover,.project-slip:focus-visible{transform:translateY(-4px) rotate(0)}.project-slip:focus-visible{outline:2px solid var(--ochre);outline-offset:4px}
.project-dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:0;border-radius:2px;background:transparent;box-shadow:none;overflow:visible;color:var(--ink)}.project-dialog::backdrop{background:#493c2c65}.project-paper{position:relative;background:#f4ead2 url('assets/handmade-paper.svg') center/cover;padding:26px 30px 30px;border-left:9px solid #d3c3a1;box-shadow:inset 12px 0 16px -13px #75604488,8px 16px 35px #36291755;max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;transform-origin:center top}.project-dialog[open] .project-paper{animation:unfold-note .4s ease-out}.project-close{display:block;margin:0 0 16px auto;background:none;border:0;color:#75583e;font:inherit;font-size:14px;cursor:pointer;min-height:32px}.project-body .milestone{padding:0}.project-body .milestone:before{display:none}.project-body h3{font-size:22px;margin:0 0 18px;line-height:1.5}.project-body p{font-size:16px;line-height:1.8;margin:0 0 14px}.project-body a{font-size:14px}.project-body em{font-style:normal}@keyframes unfold-note{from{opacity:.3;transform:perspective(1200px) rotateX(-20deg) scale(.97)}to{opacity:1;transform:perspective(1200px) rotateX(0) scale(1)}}
@media(max-width:540px){
 .memory-leaf{display:flex;flex-direction:column;justify-content:flex-start;gap:8px;padding:3px 2px;height:100%;min-height:0}.reader-content .memory-intro h1{font-size:19px;line-height:1.4;margin:0 0 8px}.reader-content .memory-intro p{font-size:12.5px;line-height:1.55;margin:0}.reader-content .memory-preface{font-size:12px;line-height:1.5;margin:0}.memory-scenes{display:flex;flex:0 0 auto;gap:9px;padding:3px 2px;justify-content:flex-start}.memory-note{padding:9px 10px 7px;clip-path:none;transform:rotate(-.4deg)}.memory-note:nth-child(2){margin-left:7px;transform:rotate(.5deg)}.memory-note:nth-child(3){margin-left:2px}.reader-content .memory-note h2{font-size:13px;line-height:1.3;margin:0 0 3px}.reader-content .memory-note p{font-size:12px;line-height:1.55;margin:0}.memory-art{display:none}.reader-content .memory-ending{font-size:12px;line-height:1.55;padding:3px 0 0 12px;margin:0}.practice-sheet{grid-template-rows:minmax(100px,.34fr) minmax(0,.66fr);gap:13px;padding:8px 3px 2px}.reader-content .practice-copy h1{font-size:18px;margin-bottom:7px}.reader-content .practice-copy .practice-subhead{font-size:13px;margin:7px 0 4px}.reader-content .practice-copy p{font-size:12px;line-height:1.6;margin-bottom:5px}.reader-content .practice-copy .practice-aside{font-size:11px;line-height:1.55;margin-left:8px;padding-left:7px}.reader-content .practice-copy .practice-takeaway{font-size:12px;line-height:1.55;margin-top:7px;padding:6px 9px}.stranded-sheet{padding:9% 3%;gap:24px}.stranded-sheet .pause-top{grid-template-columns:1fr 96px}.stranded-sheet .pause-art{width:96px;height:96px}.reader-content .stranded-sheet h1{font-size:27px}.stranded-sheet .pause-diary{padding:20px 15px}.reader-content .stranded-sheet .pause-diary p{font-size:14px;line-height:1.8;margin-bottom:20px}.restart-sheet{padding:4px 2px;gap:10px;justify-content:space-between}.reader-content .restart-sheet h1{font-size:19px;line-height:1.4}.restart-diary{gap:10px}.restart-part{padding-left:8px}.reader-content .restart-part h2{font-size:13px;margin-bottom:4px}.reader-content .restart-part p{font-size:12px;line-height:1.65}.project-strip{gap:7px;padding:9px 0 2px}.project-slip{font-size:11px;padding:10px 5px 7px}.project-open{font-size:10px;margin-top:4px}.project-paper{padding:18px 20px 22px}.project-body h3{font-size:19px}.project-body p{font-size:14px;line-height:1.75}
}
@media(max-width:540px) and (max-height:670px){.memory-leaf{gap:5px}.reader-content .memory-intro h1{font-size:17px;margin-bottom:5px}.reader-content .memory-intro p,.reader-content .memory-note p,.reader-content .memory-ending{font-size:11.5px;line-height:1.45}.memory-scenes{gap:7px}.memory-note{padding:8px 8px 6px}.reader-content .memory-note h2{font-size:12px}.reader-content .memory-preface{font-size:11px}.practice-sheet{grid-template-rows:85px minmax(0,1fr);gap:10px;padding-top:6px}.reader-content .practice-copy h1{font-size:16px;margin-bottom:5px}.reader-content .practice-copy .practice-subhead{font-size:12px;margin:5px 0 3px}.reader-content .practice-copy p,.reader-content .practice-copy .practice-takeaway{font-size:11.5px;line-height:1.45}.reader-content .practice-copy .practice-aside{font-size:10.5px;line-height:1.4}.reader-content .practice-copy .practice-takeaway{margin-top:5px;padding:5px 7px}.stranded-sheet{padding-top:5%;gap:18px}.reader-content .stranded-sheet .pause-diary p{font-size:13px;line-height:1.7}.restart-sheet{gap:7px}.reader-content .restart-sheet h1{font-size:17px}.restart-diary{gap:7px}.reader-content .restart-part h2{font-size:12px;margin-bottom:3px}.reader-content .restart-part p{font-size:11.5px;line-height:1.45}.project-slip{font-size:10.5px;padding:8px 4px 5px}.project-open{font-size:9px}.project-strip{padding-top:6px}}
@media(prefers-reduced-motion:reduce){.project-dialog[open] .project-paper{animation:none}.project-slip{transition:none}}
.project-dialog{max-width:min(560px,calc(100vw - 32px));text-align:left}.memory-leaf>*{flex-shrink:0}.project-paper:before{content:'';position:absolute;top:0;left:0;right:0;height:5px;background:#e5d8b9;pointer-events:none}

/* 项目夹页：点击纸片或背景收起，发表链接仍正常跳转。 */
.project-slip{padding:16px 8px 13px;min-height:56px}.project-slip:hover,.project-slip:focus-visible{transform:translateY(-5px) rotate(0);box-shadow:2px 7px 10px #725c353b}.project-slip:active{transform:translateY(-1px) rotate(0)}
.project-dialog{outline:none;cursor:pointer;width:min(590px,calc(100vw - 38px));max-width:min(590px,calc(100vw - 38px));overflow:visible}.project-dialog::backdrop{background:#493c2c55;backdrop-filter:blur(2px)}
.project-paper{border:0;border-radius:1px;padding:38px 34px 30px 40px;background-color:#f7eedb;background-image:repeating-linear-gradient(transparent 0,transparent 29px,#ab95712b 29px,#ab95712b 30px),url('assets/handmade-paper.svg');background-size:auto,cover;box-shadow:inset 2px 0 3px #d7c59c99,2px 5px 0 #deceb0,4px 9px 0 #bba582,10px 22px 35px #36291755;transform:rotate(-1deg);overflow:auto;max-height:calc(100dvh - 56px);clip-path:polygon(0 0,100% .3%,99.6% 98.9%,85% 99.4%,70% 99%,50% 99.7%,30% 99.1%,12% 99.7%,0 99%)}
.project-paper:before{position:absolute;top:10px;left:36%;right:auto;width:90px;height:18px;background:#bfc29e99;transform:rotate(-5deg);box-shadow:none}.project-paper:after{content:'';position:absolute;top:56px;left:20px;bottom:25px;border-left:1px solid #ba8d7638;pointer-events:none}.project-kicker{display:block;font-size:12px;letter-spacing:2px;color:#89734f;margin-bottom:12px}.project-body h2{font-size:24px;font-weight:500;line-height:1.5;margin:0 0 20px;text-align:left;color:#6c5036;text-decoration:underline;text-decoration-color:#c2a76c66;text-decoration-thickness:2px;text-underline-offset:7px}.project-body p{font-size:15px;line-height:1.85;margin:0 0 15px}.project-body em{font-style:italic}.project-references{display:flex;flex-wrap:wrap;gap:12px 22px;margin-top:20px}.project-references a{font-size:13px;line-height:1.7;min-height:32px}.project-entry-family p:last-child,.project-entry-merp p:last-child{margin:22px 0 2px;padding:12px 14px;background:#d8cda445;transform:rotate(.5deg)}
@media(max-width:540px){.project-slip{min-height:48px;padding:12px 5px 10px}.project-paper{padding:35px 23px 24px 27px;max-height:calc(100dvh - 48px)}.project-paper:before{top:9px;height:15px;width:70px}.project-paper:after{left:14px;top:50px}.project-body h2{font-size:20px;margin-bottom:16px}.project-body p{font-size:14px;line-height:1.8;margin-bottom:12px}.project-references{gap:9px 16px;margin-top:16px}.project-kicker{font-size:11px;margin-bottom:9px}}
@media(max-width:540px) and (max-height:670px){.project-slip{min-height:42px;padding:9px 4px}.project-body h2{font-size:18px}.project-body p{font-size:13px;line-height:1.7}}
@media(prefers-reduced-motion:reduce){.project-paper{transform:none}.project-slip{transition:none}}

/* Keep the group overview on one leaf. Only the illustration yields height. */
.group-sheet {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  align-content: start;
  gap: clamp(6px, 1.5dvh, 16px);
  padding: 2px 4px;
}
.reader-content .group-sheet h1 { font-size: clamp(18px, 3.4dvh, 29px); margin: 0 0 6px; }
.reader-content .group-sheet p { font-size: clamp(12px, 2dvh, 16px); line-height: 1.55; margin: 0 0 5px; }
.reader-content .group-sheet .scene { height: 100%; min-height: 0; margin: 0; }
.reader-content .group-sheet .scene img { height: 100%; width: 100%; max-height: none; object-fit: contain; }
.group-sheet .scene figcaption { display: none; }
.group-schedule { background: #f7efda9c; border-left: 2px solid #ae926f80; padding: 8px 12px; }
.group-schedule strong { display: block; color: #6c5036; margin-bottom: 4px; }
.group-stickers { padding-top: 5px; }
.group-detail .reader-step { margin: 10px 0; }
.group-detail .reader-step b { font-size: inherit; }
@media (max-height: 500px) {
  .group-sheet { grid-template-rows: auto 0 auto auto; gap: 4px; }
  .group-sheet .scene { visibility: hidden; }
}

.group-stickers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.group-stickers .project-slip:first-child {
  background: #dce3d1;
  border-left: 5px solid #859576;
  transform: rotate(-1deg);
}
.group-stickers .project-slip:last-child {
  background: #ebd6b7;
  border-bottom: 2px dashed #ac8964;
}
.project-dialog[data-note="group-faq"] .project-paper {
  background: #f2f1e4;
  border-left: 8px solid #a8b296;
  clip-path: none;
  transform: none;
}
.group-question + .group-question { border-top: 1px dashed #9aab8980; padding-top: 10px; }
.group-question h3 { color: #4b6242; font-size: 1em; margin: 0 0 5px; }
.project-dialog[data-note="group-story"] .project-paper {
  background-image: radial-gradient(#a9845940 .7px, transparent .7px), url('assets/handmade-paper.svg');
  background-size: 12px 12px, cover;
  clip-path: none;
}
.group-story p:last-child { color: #765436; border-top: 1px dashed #b99c75; padding-top: 10px; }
@media(max-height: 500px) {
  .reader-content:has(.group-sheet) { overflow-y: auto; }
  .group-sheet { height: auto; }
}

/* The index and the diary have distinct paper shapes and reading rhythms. */
.group-stickers .project-slip {
  min-height: 46px;
  padding: 9px 6px 9px 32px;
  text-align: left;
  font-size: clamp(12px, 2.1vw, 16px);
}
.group-stickers .project-slip:first-child {
  border-left: 4px solid #758668;
  background: #e0e7d5;
  border-radius: 2px 12px 2px 2px;
}
.group-stickers .project-slip:last-child {
  border: 1px solid #c29b6955;
  background: repeating-linear-gradient(#f1ddbf 0 14px,#d7b68d 15px,#f1ddbf 16px);
}
.group-stickers .project-slip::before {
  top: 50%;
  left: 10px;
  width: 12px;
  height: 15px;
  background: none;
  border: 1px solid currentColor;
  box-shadow: inset 0 -4px #6f806544;
  transform: translateY(-50%);
}
.group-stickers .project-slip:last-child::before {
  border-radius: 1px;
  box-shadow: -3px 2px #faf0dc, -4px 2px #9f7750;
  transform: translateY(-50%) rotate(-9deg);
}
.group-stickers .project-slip:is(:hover,:focus-visible) { transform: translateY(-4px) rotate(0); }
.project-body .group-detail h2 { text-decoration: none; padding-bottom: 8px; }
.project-body .group-faq h2 { border-bottom: 2px solid #9aac88; }
.group-faq .group-question {
  position: relative;
  margin: 8px 0;
  padding: 8px 10px 1px 18px;
  border: 0;
  background: #fffdf360;
}
.group-faq .group-question::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  width: 5px;
  height: 5px;
  border: 1px solid #677a56;
  border-radius: 50%;
}
.project-dialog[data-note="group-story"] .project-paper {
  border-left: 10px solid #b88e63;
  background-color: #f7ead3;
  box-shadow: inset 8px 0 14px -10px #7e5b43, 3px 5px #dbc4a0, 12px 20px 30px #36291755;
}
.project-dialog[data-note="group-story"] .project-paper::before { background: #d4a97685; left: 67%; }
.project-body .group-story h2 { border-bottom: 1px solid #b89665; }
.group-story p:first-of-type::first-letter { font-size: 1.35em; color: #865635; }
.group-story p:last-child { background: #e7ceab65; padding: 8px 10px; }

.group-stickers { gap: 14px; padding-bottom: 9px; }
.group-stickers .project-slip[data-project="group-faq"] {
  border: 1px solid #718266;
  border-radius: 48% 45% 42% 38% / 36% 42% 35% 40%;
  background: #e9efdb;
  color: #384d36;
}
.group-stickers [data-project="group-faq"]::before {
  content: "?";
  font: 700 18px Georgia, serif;
  border: 0;
  box-shadow: none;
  height: auto;
}
.group-stickers [data-project="group-faq"]::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 24%;
  width: 10px;
  height: 10px;
  background: #e9efdb;
  border: solid #718266;
  border-width: 0 1px 1px 0;
  transform: rotate(43deg) skew(9deg);
}
.group-stickers .project-slip[data-project="group-story"] {
  border: 1px solid #ad8860;
  border-radius: 3px 8px 4px 6px;
  background: url("assets/paper-fibers.svg"), linear-gradient(145deg,#f6e6cb,#dfba87 74%,#ecd4ae);
  color: #553a25;
}
.group-stickers [data-project="group-story"]::before {
  width: 17px;
  height: 18px;
  left: 8px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #8e5d37;
  clip-path: path("M2 5H6C4 0 12 0 10 5H15V10C19 8 19 16 15 14V17H10C12 13 4 13 6 17H2V13C6 15 6 8 2 10Z");
}
.project-dialog[data-note="group-story"] .project-paper {
  border-left-color: #b48d64;
  background-color: #f5ead8;
}
.project-dialog[data-note="group-story"] .project-paper::before { background: #cea470b0; }

.slow-values { display:flex; align-items:center; gap:12px; color:#553e2d; }
.slow-values > b { color:#865536; font-size:clamp(12px,2.4vw,19px); letter-spacing:.08em; }
.slow-values ul { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); flex:1; gap:4px; margin:0; padding:0; list-style:none; text-align:center; }
.slow-values li { background:#f5e9cf80; padding:4px 1px; font-size:clamp(10px,2.3vw,14px); }
.slow-values small { display:block; font-size:.86em; }
.sheet > header .brand span { display:inline; font-size:clamp(10px,2.3vw,15px); white-space:nowrap; }
.reader-content .group-sheet h1 { margin-bottom:12px; }
.reader-content .group-intro p { line-height:1.72; margin-bottom:9px; }
.group-stickers { justify-items:center; align-items:center; padding:4px 0 10px; }
.group-stickers .project-slip[data-project] { width:min(100%,13em); border:0; min-height:44px; padding-left:36px; }
.group-stickers .project-slip[data-project="group-faq"] { background:#dbe4cc url("assets/paper-fibers.svg"); transform:rotate(-3deg); }
.group-stickers [data-project="group-faq"]::after { border:0; background:#dbe4cc; }
.group-stickers .project-slip[data-project="group-story"] { border-radius:12% 8% 14% 8% / 25% 14% 20% 12%; transform:rotate(3deg) translateY(3px); }
.group-stickers .project-slip[data-project]:is(:hover,:focus-visible) { transform:translateY(-5px) rotate(0); }
.project-body .group-story { max-width:42em; margin:auto; }
.story-passage { margin:0 0 17px; }
.story-passage h3 { color:#795032; font-size:1em; margin:0 0 5px; }
.project-body .group-story .story-passage p { background:none; border:0; padding:0; color:inherit; line-height:1.85; }
.project-body .group-story .story-passage p::first-letter { color:inherit; font-size:inherit; }
.group-story .story-passage:nth-of-type(4) { padding:10px 12px; background:#e8cfaa60; }
@media(max-width:540px){
  .sheet > header .brand span { display:none; }
  .slow-values { gap:5px; }
  .reader-content .group-intro p { line-height:1.6; margin-bottom:7px; }
  .reader-content:has(.group-sheet) { overflow-y:auto; }
}
@media(max-width:540px){
  .sheet > header .brand { flex-wrap:wrap; column-gap:4px; row-gap:0; }
  .sheet > header .brand span { display:block; flex-basis:100%; font-size:9px; line-height:1.25; }
  .sheet .reader-content:has(.group-sheet) .group-sheet { min-height:100%; height:auto; grid-template-rows:auto minmax(0,18dvh) auto auto; }
}

.custom-sheet { min-height:100%; display:flex; flex-direction:column; gap:clamp(8px,2dvh,20px); padding:4px; }
.reader-content:has(.custom-sheet) { overflow-y:auto; }
.reader-content .custom-sheet h1 { font-size:clamp(18px,3.2dvh,30px); margin:0; }
.reader-content .custom-sheet p { font-size:clamp(13px,2dvh,16px); margin:0; line-height:1.6; }
.custom-cards { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:auto 0; }
.custom-card { display:flex; flex-direction:column; align-items:stretch; gap:6px; text-align:left; border:0; border-radius:9% 4% 6% 3%; background:#f4e8cf95; padding:8px; color:var(--ink); font:inherit; cursor:pointer; transition:transform .2s; }
.custom-card:nth-child(2) { background:#e2e6d2a0; rotate:-1deg; }
.custom-card:nth-child(3) { background:#ebdbc99e; rotate:1deg; }
.custom-card:is(:hover,:focus-visible) { transform:translateY(-4px); }
.custom-card img { width:100%; height:clamp(70px,18dvh,160px); object-fit:contain; }
.custom-card-copy { display:grid; gap:4px; }
.custom-card-copy > span { font-size:13px; line-height:1.55; }
.custom-contact { align-self:start; }
@media(max-width:540px) {
 .custom-cards { grid-template-columns:1fr; gap:6px; }
 .custom-card { display:grid; grid-template-columns:clamp(52px,18vw,88px) 1fr; align-items:center; }
 .custom-card img { height:54px; }
 .custom-card-copy > span { font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { .custom-card { transition:none; } }

.custom-facts { display:flex; flex-wrap:wrap; gap:5px 12px; margin:0; padding:7px 10px; list-style:none; background:#f6e9cfaa; font-size:clamp(11px,2vw,14px); }
.custom-detail { cursor:auto; }
.custom-detail h3 { color:#795039; margin:14px 0 5px; font-size:1rem; }
.custom-detail h4 { margin:10px 0 3px; font-size:.95rem; }
.custom-flow { margin:8px 0 16px; padding:8px; background:#f4e5c936; }
.project-dialog .custom-flow img { display:block; width:min(100%,420px); margin:0 auto; }
.custom-flow ol { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 16px; padding-left:24px; line-height:1.5; font-size:.9rem; }
.custom-close { float:right; min-height:36px; padding:3px 10px; border:0; border-radius:3px; background:#e9d7b4; color:#64492f; font:inherit; cursor:pointer; }

.meditation-stairs,.question-path { list-style:none; padding:0; margin:10px 0 16px; }
.meditation-stairs li { margin:3px 0; padding:5px 9px; background:#e8d7ac; border-radius:3px 10px 2px 3px; width:calc(100% - var(--indent,0%)); margin-left:var(--indent,0%); }
.meditation-stairs li:nth-child(2) { --indent:7%; }
.meditation-stairs li:nth-child(3) { --indent:14%; }
.meditation-stairs li:nth-child(4) { --indent:21%; }
.meditation-stairs li:nth-child(5) { --indent:28%; }
.meditation-methods { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.meditation-methods section,.meditation-ribbon { background:#e4e8d2; padding:9px; }
.method-picture { display:block; height:52px; background:radial-gradient(circle at center,#916132 0 4px,#e7c880 5px,transparent 26px); }
.meditation-methods section:nth-child(2) .method-picture { background:repeating-radial-gradient(ellipse at center,#839578 0 1px,transparent 2px 9px); mask-image:radial-gradient(ellipse,#000 25%,transparent 75%); }
.meditation-ribbon { margin-top:9px; background:#e8d2ae; }
.question-path { counter-reset:answer; border-left:2px dashed #a28e67; margin-left:14px; padding-left:22px; }
.question-path li { position:relative; padding:6px 10px; margin:0 0 10px; background:#f7ebd2; counter-increment:answer; }
.question-path li::before { content:counter(answer); position:absolute; left:-36px; top:9px; width:24px; text-align:center; border-radius:50%; background:#876447; color:white; }

.reader-content:has(.life-sheet) { overflow-y:auto; }
.life-sheet { min-height:100%; padding:5px 4px; display:flex; flex-direction:column; gap:clamp(9px,2dvh,19px); }
.reader-content .life-sheet :is(h1,h2,p,blockquote) { margin:0; }
.reader-content .life-sheet h1 { font-size:clamp(19px,3.2dvh,29px); }
.reader-content .life-sheet h2 { color:#476253; font-size:clamp(15px,2.5dvh,22px); }
.reader-content .life-sheet p { font-size:clamp(13px,2dvh,16px); line-height:1.65; }
.reader-content .life-reflection { background:#e4e9d7; border:0; border-left:3px solid #819374; padding:10px 14px; font-size:clamp(14px,2.3dvh,18px); line-height:1.6; }
.life-example-label,.registration-note { display:block; color:#665440; font-size:12px; line-height:1.6; }
.life-tools { display:grid; gap:8px; }
.life-details { background:#f8eedb; padding:8px 10px; }
.life-details summary { cursor:pointer; color:#435e4e; min-height:28px; }
.reader-content .life-details p { margin-top:7px; }
.life-tools button { justify-self:start; }

.jianji-heading,.jianji-hero { display:flex; align-items:center; gap:12px; }
.jianji-heading img { width:38px; height:38px; object-fit:contain; }
.jianji-hero > div { flex:1; }
.jianji-hero img { width:42%; max-height:165px; object-fit:contain; }
.reader-content .jianji-hero h2 { margin-bottom:6px; }
.jianji-mindful { padding:9px 12px; background:#e5ead9; border-left:3px solid #879673; }
.jianji-mindful strong { display:block; color:#446150; }
.jianji-details { display:grid; gap:5px; }
.jianji-sheet > button { align-self:start; }
.jianji-scenes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.jianji-scenes img,.jianji-details details > img { display:block; width:100%; max-height:380px; object-fit:contain; }
.jianji-scenes img { height:100px; }
.jianji-scenes h3 { margin:3px 0; font-size:1rem; color:#446150; }

.jianji-sheet { gap:clamp(6px,1.4dvh,14px); }
.jianji-sheet .jianji-scenes img { height:clamp(48px,14dvh,138px); }
.jianji-sheet .reader-links { margin:0; }
.jianji-steps { list-style:none; padding:0; margin:0; display:grid; gap:7px; }
.jianji-steps li { display:grid; grid-template-columns:clamp(48px,14vw,84px) 1fr; align-items:center; gap:9px; padding:4px 7px; background:#faf0dc85; }
.jianji-steps img { width:100%; height:clamp(42px,9dvh,76px); object-fit:contain; }
.reader-content .jianji-steps h2 { font-size:clamp(13px,2dvh,16px); }
@media(max-width:540px) {
  .reader-content .jianji-sheet p { font-size:12px; line-height:1.55; }
  .jianji-scenes h3 { font-size:13px; }
}

.jianji-sheet:has(.jianji-gallery) { height:100%; box-sizing:border-box; }
.jianji-gallery { flex:1; min-height:0; display:grid; grid-template-rows:minmax(0,1fr) auto; background:#f9f0dd; border:1px solid #baa78977; padding:5px; }
.jianji-poster-frame { min-height:0; display:grid; place-items:center; overflow:hidden; touch-action:pan-y pinch-zoom; }
.jianji-poster-frame img { display:block; width:100%; height:100%; min-height:0; object-fit:contain; }
.jianji-poster-controls { display:flex; align-items:center; justify-content:center; gap:16px; }
.jianji-poster-controls button { border:0; background:transparent; color:#675138; font:inherit; cursor:pointer; min-width:44px; min-height:36px; }

/* A loose stack of printed leaves on the notebook paper. */
.jianji-gallery {
  background:none;
  border:0;
  padding:0;
  gap:6px;
}
.jianji-poster-frame {
  position:relative;
  container-type:size;
  isolation:isolate;
  overflow:visible;
  margin:0 10px;
}
.jianji-poster-card {
  position:absolute;
  top:50%;
  left:50%;
  width:min(82cqw, calc(86cqh * .75));
  height:auto;
  aspect-ratio:3/4;
  box-sizing:border-box;
  overflow:hidden;
  border-radius:clamp(9px,2vw,16px);
  background:#fcf2df;
  box-shadow:0 5px 13px #4e38263d;
  transform-origin:50% 75%;
  transition:transform .34s ease, filter .34s ease, opacity .34s ease;
}
.jianji-poster-card[data-depth="0"] { z-index:3; transform:translate(-50%,-50%) rotate(-.7deg); }
.jianji-poster-card[data-depth="1"] { z-index:2; transform:translate(-44%,-51%) rotate(7deg) scale(.96); filter:saturate(.84); }
.jianji-poster-card[data-depth="2"] { z-index:1; transform:translate(-57%,-48%) rotate(-8deg) scale(.94); filter:saturate(.75); }
.jianji-poster-controls { gap:14px; color:#715b44; }
.jianji-poster-controls button { background:#f8edd4; border-radius:50%; min-width:38px; min-height:38px; box-shadow:0 1px 3px #58412c30; }
.jianji-poster-controls button:is(:hover,:focus-visible) { background:#e9d8b6; }
@media(prefers-reduced-motion:reduce) { .jianji-poster-card { transition:none; } }
.jianji-poster-frame .jianji-poster-card img { width:100%; height:100%; object-fit:fill; }
.jianji-poster-card[data-depth="3"] {
  z-index:0;
  transform:translate(-51%,-52%) rotate(2deg) scale(.9);
  opacity:0;
  pointer-events:none;
}

.jianji-sheet .jianji-poster-frame {
  margin-inline:0;
}
.jianji-sheet .jianji-poster-card {
  width:min(87cqw, calc(98cqh * .75));
}
.jianji-sheet .jianji-poster-controls {
  position:relative;
  min-height:78px;
  padding-inline:82px;
}
.jianji-download-sticker {
  position:absolute;
  right:0;
  bottom:0;
  display:block;
  width:76px;
  height:auto;
}

.project-dialog:is([data-note="individual-extension"],[data-note="meditation-group"]) {
  width:min(620px, calc(100% - 32px));
  max-width:none;
}
.project-dialog:is([data-note="individual-extension"],[data-note="meditation-group"])::backdrop {
  background:#392b218c;
  backdrop-filter:blur(4px);
}
.project-dialog:is([data-note="individual-extension"],[data-note="meditation-group"]) .project-paper {
  padding:0;
  overflow:visible;
  background:none;
  box-shadow:none;
  clip-path:none;
  transform:none;
}
.project-dialog:is([data-note="individual-extension"],[data-note="meditation-group"]) .project-paper::before,
.project-dialog:is([data-note="individual-extension"],[data-note="meditation-group"]) .project-paper::after {
  content:none;
}
.project-dialog:is([data-note="individual-extension"],[data-note="meditation-group"])[open] .project-paper {
  animation:none;
}
.service-poster-detail {
  display:grid;
  justify-items:center;
  pointer-events:none;
}
.service-poster-detail .jianji-gallery {
  width:100%;
  height:min(74dvh, 740px);
}
.service-poster-detail .jianji-poster-frame { margin:0; }
.service-poster-detail .jianji-poster-card {
  width:min(79cqw, calc(91cqh * .75));
}
.service-poster-detail .jianji-poster-card[data-depth="0"],
.service-poster-detail .jianji-poster-controls button {
  pointer-events:auto;
}
.service-poster-detail .jianji-poster-controls { color:#fff6e8; }
.service-poster-detail .registration-note {
  color:#fff6e8;
  margin-top:6px;
}

@media(max-width:540px) {
  .jianji-sheet .jianji-poster-controls {
    justify-content:flex-start;
    padding-inline:0 78px;
    gap:7px;
  }
}

.tabs a[data-page="life"] { --tab:#adc2bf; }
.tabs a[data-page="training"] { --tab:#d8b79c; }
.reader-content:has(.meditation-sheet) { overflow-y:auto; }
.meditation-sheet {
  display:grid;
  align-content:start;
  gap:clamp(10px,2dvh,22px);
  padding:4px;
}
.reader-content .meditation-sheet h1 { margin:0 0 5px; }
.reader-content .meditation-sheet p { margin:0; }
.meditation-header p { color:#536449; }
.meditation-services { grid-template-columns:repeat(2,minmax(0,1fr)); margin:0; }
.meditation-services .meditation-group-card {
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(8px,2vw,20px);
  background:#f5e7c9;
}
.meditation-group-card img {
  height:clamp(80px,22dvh,220px);
  object-fit:cover;
  border-radius:8px;
}
.meditation-services .meditation-solo-card {
  background:#f4e8cf95;
}
.meditation-solo-card .custom-illustration img {
  box-sizing:border-box;
  padding:5% 9%;
}
.meditation-services .custom-illustration { display:block; }
.meditation-services .custom-illustration img { display:block; }
.meditation-design-link { justify-self:end; min-height:32px; align-content:center; }
.design-principles { display:grid; gap:8px; }
.design-principle {
  display:grid;
  grid-template-columns:clamp(62px,13vw,122px) minmax(0,1fr);
  align-items:center;
  gap:clamp(8px,2vw,20px);
  padding:8px;
  background:#fbf1dc8c;
}
.design-principle:nth-child(even) { background:#e6ead780; }
.reader-content .design-principle h2 { margin:0 0 3px; color:#5c5138; font-size:1.05em; }
.reader-content .design-principle p { font-size:clamp(12px,1.9dvh,15px); line-height:1.6; }
.design-art { position:relative; height:52px; }
.design-art-steps { display:flex; align-items:end; justify-content:center; gap:3px; padding:8px 0; }
.design-art-steps i { width:22%; height:36%; background:#b6bd91; border-radius:3px 6px 2px 3px; }
.design-art-steps i:nth-child(2) { height:64%; background:#a2af84; }
.design-art-steps i:nth-child(3) { height:94%; background:#869b74; }
.design-art-focus {
  background:radial-gradient(circle at 25% 50%,#a57339 0 3px,#dfbf79 4px,transparent 18px);
}
.design-art-focus i {
  position:absolute;
  left:56%;
  top:50%;
  width:31%;
  height:13px;
  transform:translateY(-50%);
  border:1px solid #758b75;
  border-radius:50%;
}
.design-art-focus i:nth-child(2) { left:51%; width:41%; height:24px; }
.design-art-focus i:nth-child(3) { left:46%; width:51%; height:36px; }
.design-art-awareness i {
  position:absolute;
  inset:8px 18%;
  border:2px solid #ad865b;
  border-radius:50%;
}
.design-art-awareness i:nth-child(2) { inset:15px 31%; border-color:#849773; }
.design-art-awareness i:nth-child(3) { inset:23px calc(50% - 4px); background:#849773; }
.design-art-notes i {
  position:absolute;
  inset:9px 25%;
  border-radius:3px;
  background:#d7bb8b;
  transform:rotate(-13deg);
  box-shadow:1px 2px 4px #60482933;
}
.design-art-notes i:nth-child(2) { transform:rotate(12deg); background:#acb696; }
.design-art-notes i:nth-child(3) {
  transform:rotate(-3deg);
  background:repeating-linear-gradient(#f3e6ca 0 7px,#c5a77d 7px 8px);
}
.meditation-free-questions {
  display:grid;
  justify-self:start;
  gap:3px;
  padding:8px 14px;
  color:#364d3a;
  background:#dce5ce url("assets/paper-fibers.svg");
  border:0;
  border-radius:12px 16px 15px 5px;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
.meditation-free-questions:is(:hover,:focus-visible) { background-color:#cedbbc; }
.meditation-free-questions span { font-size:.87em; }
.poster-placeholder {
  display:grid;
  position:absolute;
  inset:0;
  align-content:center;
  justify-items:center;
  gap:5px;
  color:#6c5237;
  background:#f4e5c7 url("assets/paper-fibers.svg");
}
@media(max-width:540px) {
  .meditation-services { grid-template-columns:1fr; }
  .meditation-services .meditation-group-card { grid-template-columns:1fr; gap:5px; }
  .meditation-group-card img { height:clamp(70px,15dvh,125px); }
}

@media(max-width:540px) {
  .meditation-solo-card .custom-illustration img { padding:3px; }
}

.meditation-actions {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:8px 14px;
  padding:3px 1px 8px;
}
.meditation-design-link,
.meditation-contact {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:42px;
  padding:5px 14px;
  font:inherit;
  color:#67492e;
  border:0;
  cursor:pointer;
}
.meditation-design-link {
  text-decoration:none;
  background:#ead3a9 url("assets/paper-fibers.svg");
  border-radius:4px 12px 10px 3px;
  box-shadow:1px 2px 4px #6d4b2836;
  transform:rotate(-2deg);
}
.meditation-contact {
  background:#f6edd9;
  border-radius:20px;
}
.meditation-design-link:is(:hover,:focus-visible),
.meditation-contact:is(:hover,:focus-visible) {
  background-color:#e2cb9d;
}
.meditation-design > p { max-width:40em; }
.design-principles {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.design-principle,
.design-principle:nth-child(even) {
  position:relative;
  grid-template-columns:1fr;
  align-content:start;
  gap:8px;
  padding:10px 14px 12px;
  border-radius:4px 11px 7px 9px;
  background:#f8edda url("assets/paper-fibers.svg");
  box-shadow:0 2px 5px #6d4b2826;
}
.design-principle:nth-child(2),
.design-principle:nth-child(3) { background-color:#e9ecda; }
.design-figure { margin:0; display:grid; justify-items:center; }
.design-figure .design-art { width:min(100%,150px); }
.design-figure figcaption { color:#63563e; font-size:.8em; text-align:center; }
.design-principle h2 { border-bottom:1px solid #ae8e5d4f; padding-bottom:4px; }
.solo-session { padding-inline-start:1.5em; }
.solo-session li { padding-left:.25em; }
.solo-session li p { margin:4px 0 12px; }
@media(max-width:540px) {
  .design-principles { grid-template-columns:1fr; gap:10px; }
}

.reader-content:has(.training-sheet) { overflow-y:auto; }
.training-sheet { display:grid; align-content:start; gap:clamp(10px,2dvh,20px); padding:4px; }
.reader-content .training-sheet :is(h1,h2,p) { margin:0; }
.collaboration-section { display:grid; justify-items:start; gap:8px; }
.collaboration-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; width:100%; }
.collaboration-card {
  position:relative;
  display:grid;
  align-content:start;
  gap:4px;
  padding:9px 26px 9px 11px;
  border:0;
  border-radius:4px 11px 7px 8px;
  background:#f6e6c8 url("assets/paper-fibers.svg");
  color:var(--ink);
  font:inherit;
  text-align:left;
  cursor:pointer;
  box-shadow:0 1px 4px #5e412425;
}
.collaboration-card:nth-child(2n) { background-color:#e7ead5; }
.collaboration-card:is(:hover,:focus-visible) { background-color:#efdbb5; }
.collaboration-card > span { font-size:.88em; line-height:1.45; }
.collaboration-arrow { position:absolute; top:10px; right:11px; }
.training-plan { padding:10px 12px; background:#f5ead4a0; border-left:2px solid #a38c67; }
.reader-content .training-plan h2 { display:inline; margin-right:10px; }
.reader-content .training-plan p { margin-top:4px; }
@media(max-width:540px) {
  .collaboration-cards { grid-template-columns:1fr; gap:6px; }
}

/* Keep the page controls fixed while long leaves can be read in full. */
.reader-content { overflow-y:auto; overflow-x:hidden; }
.reader-content .history-album { touch-action:pan-y pinch-zoom; }
.jianji-sheet .jianji-poster-frame { overflow:clip; }
.project-dismiss {
  display:block;
  margin:0 0 10px auto;
  min-height:36px;
  padding:3px 12px;
  border:0;
  border-radius:20px;
  background:#eadabd;
  color:#604832;
  font:inherit;
  cursor:pointer;
}
.project-dismiss:is(:hover,:focus-visible) { background:#dfc9a3; }
.solo-detail-header { display:flow-root; margin-bottom:12px; }
.solo-detail-header img {
  float:right;
  width:min(40%,168px);
  margin:0 0 6px 10px;
}
.project-body .solo-detail h2 { margin-bottom:8px; text-decoration:none; }
.project-body .solo-detail h3 { margin-top:12px; }
.project-body .solo-detail p { margin-bottom:8px; }
.solo-example {
  margin:12px 0;
  padding:8px 12px;
  background:#e6ead7 url("assets/paper-fibers.svg");
  border-radius:4px 9px 8px 5px;
}
.project-body .solo-example h3 { margin-top:0; }
.project-body .solo-example p { margin-bottom:0; }
.solo-session { margin:6px 0 12px; }
@media(max-width:540px) {
  .design-principle,
  .design-principle:nth-child(even) {
    grid-template-columns:minmax(58px,.32fr) minmax(0,1fr);
    align-items:center;
    padding:8px;
  }
  .design-figure figcaption { font-size:.74em; line-height:1.35; }
}

/* A short stack of curved bookmarks at the paper edge. */
body:not(.cover-mode) .tabs {
  top:25%;
  bottom:auto;
  grid-template-rows:none;
  grid-auto-rows:clamp(82px,11dvh,118px);
  gap:7px;
}
body:not(.cover-mode) .tabs a:nth-child(n) {
  clip-path:none;
  border-radius:46% 20% 22% 42% / 19% 12% 14% 18%;
  background-image:linear-gradient(125deg,#fff5e967,transparent 68%),url("assets/handmade-paper.svg") !important;
  background-blend-mode:soft-light,multiply;
  background-color:var(--tab);
  color:#423325;
  box-shadow:inset 0 0 0 1px #74513226,1px 2px 4px #69472724;
}
body:not(.cover-mode) .tabs a::before { display:none; }
body:not(.cover-mode) .tabs a:nth-child(n).active {
  color:#fff7e8;
  translate:-4px 0;
}
body:not(.cover-mode) .tabs a:focus-visible { outline:2px solid #684024; outline-offset:2px; }
.reader-content:has(.memory-leaf) {
  background:
    radial-gradient(ellipse at 96% 22%,#f8d69849,transparent 28%),
    radial-gradient(ellipse at 5% 90%,#eaceaa32,transparent 34%);
}
.reader-content :is(.intro-identity,.memory-intro) h1 {
  position:relative;
  width:fit-content;
  padding-bottom:7px;
  color:#523820;
}
.reader-content :is(.intro-identity,.memory-intro) h1::after {
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:6px;
  background:#ebb8789e;
  border-radius:65% 49% 60% 38%;
  transform:rotate(-.5deg);
}
.intro-top .portrait {
  background:radial-gradient(ellipse,#efc59185 8%,transparent 69%);
}
.journey-map { min-height:270px; }
.journey-line { opacity:.47; }
.journey-stop img { width:100%; height:clamp(63px,11dvh,140px); object-fit:contain; }
.journey-stop:nth-of-type(1) { left:78%; top:14%; }
.journey-stop:nth-of-type(2) { left:25%; top:35%; }
.journey-stop:nth-of-type(3) { left:74%; top:62%; }
.journey-stop:nth-of-type(4) { left:23%; top:83%; }
.journey-stop .journey-year { color:#824921; }
.slow-values {
  position:relative;
  display:grid;
  gap:0;
  padding:0 10px 9px;
  border-radius:46px;
  background:linear-gradient(115deg,#f3d6a66e,#ffedcc9e 48%,#f3d6a66e);
}
.slow-values > b { display:flex; align-items:center; gap:12px; font:italic 600 clamp(16px,3.6dvh,31px) Georgia,serif; letter-spacing:.34em; justify-content:center; }
.slow-values > b::before,.slow-values > b::after { content:""; width:13%; height:1px; background:#ae744877; }
.slow-values li { background:none; }
.slow-values li+li { border-left:1px solid #b9925d4c; }
.slow-symbol { display:block; width:20px; height:18px; margin:0 auto 4px; color:#a87232; }
.slow-sprout { background:radial-gradient(ellipse at 24% 42%,#9b9c5d 0 23%,transparent 25%),radial-gradient(ellipse at 78% 28%,#ddab55 0 26%,transparent 29%),linear-gradient(83deg,transparent 46%,#8c8651 48% 53%,transparent 55%); }
.slow-lotus { background:radial-gradient(ellipse at 50% 42%,transparent 23%,#a87232 25% 32%,transparent 35%),radial-gradient(ellipse at 50% 77%,transparent 41%,#a87232 43% 50%,transparent 53%); }
.slow-sun { background:radial-gradient(circle at 50% 83%,#dc9d43 0 37%,transparent 39%); border-bottom:1px solid; }
.slow-heart::after { content:"♡"; font:22px/18px Georgia,serif; }

.origin-sheet.memory-leaf { display:flex; height:auto; min-height:100%; flex-direction:column; align-items:stretch; justify-content:flex-start; gap:clamp(7px,1.2dvh,15px); }
.origin-sheet .memory-preface { color:#8f542d; }
.origin-sheet .memory-scenes { display:grid; gap:clamp(9px,1.5dvh,18px); margin-block:auto; }
.memory-pair { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,1fr); align-items:center; gap:clamp(7px,2vw,20px); }
.memory-pair:nth-child(2) { grid-template-columns:minmax(0,1fr) minmax(0,1.08fr); }
.memory-pair:nth-child(2) .memory-vignette { grid-column:1; grid-row:1; }
.origin-sheet .memory-note { clip-path:none; border-radius:15px 10px 14px 9px; background:#fff1d9 url("assets/paper-fibers.svg"); margin:0; padding:clamp(8px,1.5dvh,15px); box-shadow:0 3px 8px #9a61352b; }
.origin-sheet .memory-note::before { top:-3px; background:#e7b46c8c; }
.memory-pair:nth-child(2) .memory-note { background-color:#f1efdb; transform:rotate(.8deg); }
.memory-pair:nth-child(2) .memory-note::before { background:#aab58b99; }
.memory-pair:nth-child(3) .memory-note::before { background:#daa7838c; }
.memory-vignette { display:block; width:100%; height:clamp(76px,15dvh,170px); object-fit:contain; }
.reader-content .origin-sheet .memory-ending { padding:4px 0; }
@media(max-width:540px) {
  body:not(.cover-mode) .tabs { grid-auto-rows:clamp(72px,11dvh,92px); gap:5px; }
  .journey-map { min-height:200px; }
  .journey-stop img { height:clamp(52px,8dvh,78px); }
  .slow-values { padding:0 3px 5px; border-radius:24px; }
  .slow-values li { font-size:clamp(8px,2.5vw,11px); }
  .slow-symbol { scale:.75; margin-bottom:0; }
  .memory-pair,.memory-pair:nth-child(2) { grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); }
  .memory-pair:nth-child(2) { grid-template-columns:minmax(0,1fr) minmax(0,1.45fr); }
}
@media(min-width:541px) {
  .memory-vignette { height:clamp(72px,12.5dvh,150px); }
}

.intro-sheet {
  box-sizing:border-box;
  height:auto;
  min-height:100%;
  grid-template-rows:auto 1fr;
  align-items:center;
  gap:clamp(10px,2dvh,24px);
}
.intro-top { grid-template-columns:minmax(0,1.42fr) minmax(0,1fr); }
.reader-content .intro-identity h1 {
  font-size:clamp(24px,3.45dvh,36px);
  line-height:1.35;
  margin-bottom:14px;
}
.reader-content .intro-identity .intro-bridge { margin-top:clamp(9px,2dvh,20px); }
.reader-content .intro-top .portrait img { height:clamp(125px,22dvh,228px); }
/* The supplied collage is sampled into separate, responsive illustrations. */
.intro-sheet { grid-template-rows:auto minmax(350px,1fr) auto; }
.home-journey { position:relative; align-self:stretch; isolation:isolate; margin-top:clamp(21px,3.8dvh,40px); }
.home-art-crop {
  display:block;
  background-image:url("assets/home-journey-art.png");
  background-repeat:no-repeat;
}
.home-hills {
  position:absolute;
  z-index:-2;
  width:89%;
  height:54%;
  object-fit:contain;
  object-position:left center;
  left:-6%;
  top:-15%;
  opacity:.48;
}
.home-route {
  position:absolute;
  inset:0;
  height:100%;
  width:100%;
  z-index:-1;
  overflow:visible;
}
.home-route path {
  fill:none;
  stroke:#dba36a;
  stroke-width:3;
  stroke-linecap:round;
  opacity:.65;
}
.home-journey-link {
  position:absolute;
  display:grid;
  justify-items:center;
  color:#634021;
  text-decoration:none;
  border-radius:28%;
  translate:-50% -50%;
}
.home-journey-link:is(:hover,:focus-visible) .home-figure {
  filter:drop-shadow(0 4px 5px #845b3633);
}
.home-journey-link:focus-visible { outline:2px solid #7a4d2a; outline-offset:2px; }
.home-figure { display:block; width:100%; height:clamp(84px,14.2dvh,149px); object-fit:contain; }
.home-journey-link[data-stop="origin"] { top:80%; left:23%; width:34%; }
.home-journey-link[data-stop="practice"] { top:65%; left:73%; width:44%; }
.home-journey-link[data-stop="pause"] { top:34%; left:24%; width:32%; }
.home-journey-link[data-stop="research"] { top:19%; left:73%; width:37%; }
.home-journey-caption {
  display:grid;
  justify-items:center;
  gap:1px;
  padding:3px 10px;
  margin-top:-3px;
  border-radius:45%;
  text-align:center;
  line-height:1.25;
  font-size:clamp(11px,1.55dvh,16px);
}
.home-journey-caption b { font-size:1.08em; font-weight:500; color:#764c31; }
.home-slow { width:min(91%,640px); justify-self:center; margin-top:clamp(6px,1.2dvh,13px); translate:0 clamp(6px,1.3dvh,13px); }
@media(max-width:540px) {
  .intro-sheet { align-content:start; grid-template-rows:auto minmax(260px,1fr) auto; gap:9px; }
  .reader-content .intro-identity h1 { font-size:clamp(18px,5vw,25px); margin-bottom:8px; }
  .reader-content .intro-identity p { font-size:12px; line-height:1.55; }
  .reader-content .intro-top .portrait img { height:clamp(90px,16dvh,145px); }
  .home-figure { height:clamp(63px,10.8dvh,99px); }
  .home-journey-caption { padding-inline:3px; font-size:10px; }
  .home-journey { margin-top:16px; }
  .home-slow { width:100%; translate:none; }
}

/* Three overlapping prints, with the main photo kept fully visible. */
.reader-content .practice-sheet {
  height:auto;
  min-height:100%;
  grid-template-rows:auto auto 1fr;
  gap:clamp(10px,1.5dvh,17px);
}
.reader-content .practice-sheet > h1 {
  width:fit-content;
  margin:0;
  background:linear-gradient(transparent 78%,#ebb87863 78%,#ebb87844 90%,transparent 91%);
  font-size:clamp(20px,3dvh,32px);
}
.reader-content .practice-sheet .history-album {
  --photo-height:clamp(130px,25dvh,255px);
  position:relative;
  width:100%;
  height:calc(var(--photo-height) + 50px);
  padding:0;
  overflow:visible;
  background:none;
  box-shadow:none;
  transform:none;
}
.reader-content .practice-sheet .album-slide:not([hidden]) {
  position:absolute;
  height:var(--photo-height);
  width:min(73%, calc(var(--photo-height) * 1.42));
  top:5px;
  left:50%;
  margin:0;
  background:#fcf2df;
  padding:5px;
  box-sizing:border-box;
  transform:translateX(-50%) rotate(2deg);
  z-index:3;
  box-shadow:2px 5px 10px #4a301c44;
}
.reader-content .practice-sheet .album-slide[data-position="previous"] {
  left:34%;
  z-index:1;
  transform:translateX(-50%) scale(.88) rotate(-9deg);
  filter:saturate(.8);
  pointer-events:none;
}
.reader-content .practice-sheet .album-slide[data-position="next"] {
  left:66%;
  z-index:2;
  transform:translateX(-50%) scale(.9) rotate(9deg);
  filter:saturate(.8);
  pointer-events:none;
}
.reader-content .practice-sheet .album-image { height:100%; width:100%; }
.reader-content .practice-sheet .album-slide img { object-fit:contain; background:#ead9ba; }
.practice-album-controls {
  position:absolute;
  inset:auto 0 0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
}
.practice-album-controls button {
  min-width:44px;
  min-height:38px;
  padding:0;
  border:0;
  background:none;
  color:#65472d;
  font:24px/1 Georgia,serif;
  cursor:pointer;
}
.practice-album-controls button:is(:hover,:focus-visible) { background:#efd8ae80; border-radius:50%; }
.reader-content .practice-sheet .practice-album-controls .album-count {
  position:static;
  background:none;
  color:#684b30;
  padding:0;
}
.reader-content .practice-copy { height:auto; overflow:visible; }
.reader-content .practice-copy .practice-takeaway {
  border:0;
  border-radius:18px 12px 13px 16px;
  background:#edc98a60;
}
.stranded-sheet .pause-still-life {
  display:block;
  align-self:flex-end;
  width:min(47%,310px);
  height:clamp(76px,19dvh,174px);
  margin-top:auto;
  object-fit:contain;
}
.reader-content .restart-sheet { height:auto; min-height:100%; }
.reader-content .restart-part h2 {
  display:table;
  background:linear-gradient(transparent 75%,#ebc48578 75%,#ebc48578 92%,transparent 93%);
}
.illustrated-projects .project-slip {
  display:grid;
  justify-items:center;
  align-content:start;
  gap:4px;
  border-radius:16px 13px 15px 11px;
  padding:8px 5px 5px;
  background:#f5e3c3;
  transform:none;
}
.illustrated-projects .project-slip:nth-child(2) { background:#e4e8d4; }
.illustrated-projects .project-slip:nth-child(3) { background:#f0dfd0; }
.illustrated-projects .project-slip::before { content:none; }
.illustrated-projects img { width:100%; height:clamp(55px,13dvh,132px); object-fit:contain; }
.illustrated-projects .project-slip:active { transform:scale(.97); }
@media(max-width:540px) {
  .reader-content .practice-sheet .history-album { --photo-height:clamp(103px,17dvh,165px); }
  .reader-content .practice-sheet .album-slide:not([hidden]) { padding:3px; }
  .stranded-sheet .pause-still-life { width:55%; }
  .illustrated-projects { gap:5px; }
  .illustrated-projects img { height:clamp(43px,8dvh,75px); }
}

.home-slow-title {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  color:#765234;
  font:italic 600 clamp(19px,2.9dvh,32px) Georgia,serif;
  letter-spacing:.22em;
}
.home-slow-title::before,.home-slow-title::after {
  content:"";
  width:clamp(24px,9vw,84px);
  height:1px;
  background:linear-gradient(90deg,transparent,#aa805b8c);
}
.home-slow-title::after { transform:scaleX(-1); }
.home-slow-values {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  list-style:none;
  padding:4px 0 6px;
  margin:0;
  text-align:center;
  color:#614b36;
  font-size:clamp(10px,1.55dvh,16px);
}
.home-slow-values li { display:grid; justify-items:center; align-content:start; gap:2px; }
.home-slow-values li + li { border-left:1px solid #94734f38; }
.home-slow-icon {
  width:clamp(23px,3.9dvh,40px);
  margin-bottom:1px;
  mix-blend-mode:multiply;
  mask-image:radial-gradient(ellipse closest-side,#000 62%,#000c 82%,transparent 100%);
}
.home-slow-values small { color:#6b5847; font-size:.85em; }
.reader-content .stranded-sheet {
  height:auto;
  min-height:100%;
  box-sizing:border-box;
  padding:clamp(8px,3dvh,30px) clamp(4px,1.5vw,16px);
  justify-content:flex-start;
  gap:0;
}
.reader-content .stranded-sheet .pause-top {
  grid-template-columns:minmax(90px,.65fr) minmax(0,1fr);
  align-items:center;
}
.reader-content .stranded-sheet .pause-art {
  width:100%;
  height:clamp(100px,22dvh,215px);
  object-fit:contain;
}
.reader-content .stranded-sheet .pause-diary {
  position:relative;
  border-radius:10px 16px 14px 7px;
  background:#fbefd750 url("assets/paper-fibers.svg");
  box-shadow:1px 3px 7px #6f51371c;
  padding:clamp(12px,2.6dvh,29px);
}
.stranded-sheet .pause-diary .pause-still-life {
  width:min(47%,248px);
  height:clamp(60px,13dvh,128px);
  margin:0 0 0 auto;
  opacity:.78;
  filter:saturate(.78);
  mask-image:linear-gradient(#000 76%,transparent 100%);
}
.reader-content .restart-sheet {
  justify-content:flex-start;
  gap:clamp(15px,3dvh,32px);
}
.illustrated-projects .project-slip,
.illustrated-projects .project-slip:nth-child(2),
.illustrated-projects .project-slip:nth-child(3) {
  background:#f8efdc66 url("assets/paper-fibers.svg");
  box-shadow:0 2px 5px #71563e20;
  border:1px solid #aa8c6844;
}
.illustrated-projects img { filter:saturate(.68); opacity:.86; }
.illustrated-projects .project-slip:is(:hover,:focus-visible) { background-color:#f8efdcad; transform:translateY(-3px); }
.illustrated-projects .project-slip:active { transform:scale(.97); }
.home-slow-values li { grid-template-rows:clamp(21px,3.4dvh,35px) auto auto; }
.home-slow-icon { align-self:center; }

.meditation-services .custom-card-copy .meditation-card-action {
  justify-self:start;
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:2px 10px;
  border-radius:20px;
  background:#ead6ad;
  color:#61422a;
}
.meditation-services .meditation-group-card .meditation-card-action {
  background:#97613b;
  color:#fff7e9;
}
.meditation-services .custom-card:is(:hover,:focus-visible) .meditation-card-action {
  box-shadow:0 0 0 2px #aa855f60;
}
.meditation-mind-card { position:relative; }
.meditation-card-arrow { justify-self:end; color:#765334; font-size:1.1em; }
@media(max-width:540px) {
  .meditation-sheet:not(.meditation-design) { gap:7px; padding:2px 1px 4px; }
  .meditation-header h1 { font-size:clamp(19px,3.4dvh,26px); }
  .reader-content .meditation-header p { font-size:11px; line-height:1.45; }
  .meditation-services { gap:6px; }
  .meditation-services .custom-card,
  .meditation-services .meditation-group-card {
    display:grid;
    grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
    align-items:center;
    gap:5px;
    padding:5px;
  }
  .meditation-services .meditation-group-card img { height:clamp(62px,12dvh,110px); }
  .meditation-services .custom-illustration img { height:clamp(37px,7.4dvh,62px); }
  .meditation-services .custom-card-copy { gap:2px; }
  .meditation-services .custom-card-copy > span { font-size:11px; line-height:1.4; }
  .meditation-services .custom-card-copy .meditation-card-action { min-height:21px; padding:1px 6px; }
  .meditation-sheet .meditation-actions {
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    justify-items:start;
    align-items:center;
    padding:0;
    gap:5px;
  }
  .meditation-sheet .meditation-actions > * { padding:3px 7px; min-height:30px; font-size:11px; gap:4px; }
}

.reader-content .meditation-design { gap:clamp(7px,1.4dvh,15px); }
.reader-content .meditation-design h1 { margin-bottom:0; }
.reader-content .design-subtitle { color:#526149; font-size:clamp(12px,2dvh,17px); }
.design-hero {
  isolation:isolate;
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);
  align-items:end;
  justify-items:center;
  margin:0;
  gap:2px 10px;
  background:radial-gradient(ellipse at 52% 62%,#b5c4a339,transparent 72%);
}
.design-hero img {
  display:block;
  max-width:100%;
  width:auto;
  height:clamp(56px,12dvh,115px);
  object-fit:contain;
  filter:saturate(.77);
}
.design-hero figcaption {
  grid-column:1 / -1;
  color:#57674e;
  font-size:clamp(10px,1.45dvh,13px);
}
.meditation-design .design-principles { grid-template-columns:1fr; gap:6px; }
.meditation-design .design-principle {
  grid-template-columns:clamp(59px,15vw,128px) minmax(0,1fr);
  align-items:center;
  padding:6px 9px;
  gap:10px;
  background:#f4edda62;
  border:1px solid #9e9f7750;
  box-shadow:none;
  border-radius:12px 8px 13px 9px;
}
.meditation-design .design-principle:nth-child(even) { background-color:#e5e9d051; }
.meditation-design .design-principle h2 { border:0; padding:0; margin:0 0 2px; color:#4b5d42; }
.meditation-design .design-principle p { line-height:1.48; }
.meditation-design .design-art:not(.design-art-awareness) { padding:0; background:none; display:grid; place-items:center; }
.meditation-design .design-art img { width:100%; height:100%; object-fit:contain; filter:saturate(.75); }
.meditation-design .meditation-free-questions { justify-self:stretch; }
@media(min-width:541px) {
  .meditation-services .custom-illustration img { height:clamp(70px,16.5dvh,150px); }
}
@media(max-width:360px) and (max-height:650px) {
  .meditation-sheet:not(.meditation-design) { gap:5px; }
  .meditation-services { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .meditation-services .custom-card:not(.meditation-group-card) {
    grid-template-columns:1fr;
    align-content:start;
    gap:1px;
  }
  .meditation-services .custom-illustration img { height:29px; }
  .meditation-services .meditation-group-card img { height:56px; }
  .meditation-services .custom-card-copy > strong { font-size:13px; }
  .meditation-services .custom-card-copy > span { font-size:10px; }
  .meditation-header h1 { margin-bottom:2px; }
}

.sheet > header button.contact-link {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  min-height:34px;
  padding:4px 12px;
  border:0;
  background:none;
  color:#3c542c;
  white-space:nowrap;
  cursor:pointer;
}
.sheet > header button.contact-link:active { transform:translateY(1px); }
.wechat-bubbles { position:relative; width:17px; height:15px; flex:none; }
.wechat-bubbles::before,.wechat-bubbles::after {
  content:"";
  position:absolute;
  width:12px;
  height:10px;
  border-radius:60% 60% 55% 35%;
  background:radial-gradient(circle at 35% 42%,#f4f1de 0 1px,transparent 1.2px),radial-gradient(circle at 65% 42%,#f4f1de 0 1px,transparent 1.2px),#58763d;
}
.wechat-bubbles::before { inset:1px auto auto 0; }
.wechat-bubbles::after { inset:auto 0 0 auto; outline:1px solid #e6ead2; }

.training-sheet { gap:clamp(8px,1.5dvh,16px); }
.training-sheet h1 {
  width:fit-content;
  background:linear-gradient(transparent 78%,#d8b5805e 78%,#d8b5805e 93%,transparent 93%);
}
.training-sheet .collaboration-cards { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.training-sheet .collaboration-card {
  grid-template-rows:auto 1fr;
  gap:4px;
  padding:5px 5px 8px;
  border-radius:13px 10px 13px 9px;
  background:#f4e6cc96 url("assets/paper-fibers.svg");
}
.training-sheet .collaboration-card:nth-child(even) { background-color:#e6ead399; }
.training-sheet .collaboration-card:is(:hover,:focus-visible) { background-color:#efdbb5; }
.collaboration-art {
  display:block;
  width:100%;
  height:clamp(52px,13dvh,128px);
  object-fit:contain;
  border-radius:9px;
  filter:saturate(.82);
}
.training-sheet .collaboration-copy { display:grid; gap:3px; padding:0 19px 0 5px; }
.collaboration-copy strong { font-size:1.08em; }
.training-sheet .collaboration-arrow { top:auto; bottom:10px; right:8px; }
.training-sheet .training-plan {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  align-items:center;
  gap:6px;
  border:1px solid #a48a603b;
  border-radius:12px 16px 11px 10px;
  background:#f5ead36b url("assets/paper-fibers.svg");
}
.training-art {
  display:block;
  width:100%;
  height:clamp(66px,14dvh,134px);
  object-fit:contain;
}
.reader-content .training-plan p { line-height:1.55; }
@media(max-width:540px) {
  .sheet > header button.contact-link { padding:2px 6px; min-height:28px; gap:4px; }
  .sheet > header .header-actions { gap:5px; }
  .wechat-bubbles { transform:scale(.82); }
  .training-sheet .collaboration-copy { padding:0 11px 0 1px; }
  .training-sheet .collaboration-arrow { right:4px; bottom:7px; font-size:10px; }
  .training-sheet .collaboration-card { padding:4px; }
  .training-sheet .collaboration-copy strong { font-size:clamp(11px,2.7vw,14px); }
  .training-sheet .collaboration-copy > span { font-size:clamp(10px,2.5vw,12px); line-height:1.42; }
  .collaboration-art { height:clamp(42px,8.7dvh,82px); }
  .training-sheet .training-plan { grid-template-columns:minmax(0,1.8fr) minmax(0,1fr); padding:6px; }
  .training-sheet .training-plan h2 { font-size:clamp(13px,3.5vw,17px); }
  .training-sheet .training-plan p { font-size:11px; }
  .training-plan .status { font-size:10px; }
}

.jianji-poster-frame.can-enlarge .jianji-poster-card[data-depth="0"] img { cursor:zoom-in; }
.jianji-poster-frame.can-enlarge:focus-visible { outline:2px solid #795a3b; outline-offset:3px; }
.poster-viewer {
  max-width:calc(100vw - 12px);
  max-height:calc(100dvh - 12px);
  border:0;
  padding:0;
  margin:auto;
  background:transparent;
  overflow:visible;
}
.poster-viewer::backdrop { background:#2d2119dc; }
.poster-viewer[open] { display:grid; justify-items:center; gap:4px; }
.poster-viewer-image {
  display:block;
  padding:0;
  border:0;
  background:none;
  cursor:zoom-out;
}
.poster-viewer-image img {
  display:block;
  max-width:calc(100vw - 12px);
  max-height:calc(100dvh - 55px);
  height:auto;
  width:auto;
  object-fit:contain;
}
.poster-viewer-save {
  display:grid;
  place-items:center;
  min-height:36px;
  padding:0 13px;
  border-radius:18px;
  background:#f6ecda;
  color:#5d402b;
  text-decoration:none;
}
.poster-viewer-save:is(:hover,:focus-visible) { background:#ead7b9; }

/* Shared heading brush and unobtrusive reading controls. */
.sheet {
  --heading-brush:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 12' preserveAspectRatio='none'%3E%3Cpath fill='%23e7b978' fill-opacity='.64' d='M1 8C27 2 53 4 79 6c44 4 76-3 120-4 25-1 44 1 60 5-20-3-44-3-64-2-43 2-76 7-117 5C52 9 25 8 8 11Z'/%3E%3C/svg%3E");
}
.sheet > header::after { display:none; }
.sheet > header .header-actions { gap:clamp(12px,2.4vw,24px); }
.sheet .reader-content h1 {
  position:relative;
  width:fit-content;
  max-width:100%;
  background:none;
  text-decoration:none;
  padding-bottom:7px;
}
.sheet .reader-content h1::after {
  content:"";
  position:absolute;
  inset:auto -3px 0 0;
  height:7px;
  pointer-events:none;
  background:var(--heading-brush) center/100% 100% no-repeat;
}
.sheet > footer :is(#prev,#next),
.jianji-poster-controls button {
  min-width:36px;
  min-height:35px;
  border:0;
  border-radius:45% 52% 42% 55%;
  background:none;
  box-shadow:none;
  color:#806046;
  font:400 29px/.9 Georgia,serif;
}
.sheet > footer :is(#prev,#next):not(:disabled):is(:hover,:focus-visible),
.jianji-poster-controls button:is(:hover,:focus-visible) { background:#dabb914f; }
.service-poster-detail .jianji-poster-controls button { color:#fff4e2; }
.jianji-poster-controls [aria-live] {
  font-size:.84em;
  letter-spacing:.04em;
  font-variant-numeric:tabular-nums;
}
.home-route path { fill:#d9a56b; stroke:none; opacity:.66; }

.reader-content .origin-sheet .memory-ending {
  margin:2px 0 0;
  padding:7px 5px 3px 12px;
  border-left:2px solid #b68b59a0;
  color:#674c37;
  transform:none;
}
.origin-sheet .memory-ending::before { content:none; }
.reader-content .stranded-sheet .pause-top { margin-bottom:clamp(12px,2.7dvh,27px); }

.meditation-sheet .meditation-actions { justify-content:flex-start; }
.meditation-sheet .meditation-design-link {
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:4px 11px;
  transform:rotate(-1deg);
}
.meditation-design-link small { color:#775839; font-size:.78em; white-space:nowrap; }
.meditation-card-arrow { line-height:1; border:0; text-decoration:none; }
.meditation-mind-card .custom-card-copy::after { content:none; }

.reader-content .design-subtitle,.meditation-design .design-principle h2 { color:#725538; }
.design-hero {
  grid-template-columns:minmax(48px,.48fr) minmax(0,1fr);
  grid-template-rows:auto auto;
  background:radial-gradient(ellipse at 52% 62%,#dfc49f44,transparent 72%);
}
.design-hero > img { grid-row:1 / 3; }
.design-hero .design-path { width:100%; }
.design-hero .design-path img {
  width:100%;
  height:clamp(62px,14dvh,132px);
  object-fit:fill;
  filter:sepia(.38) saturate(.7);
}
.design-hero .design-path-labels {
  grid-column:2;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  width:100%;
  text-align:center;
  color:#725637;
}
.design-hero .design-path-labels span { white-space:nowrap; }
.meditation-design .design-principle,
.meditation-design .design-principle:nth-child(even) {
  background:#f1e4cb75;
  border-color:#ae8b6045;
}
.meditation-design .design-art img { filter:sepia(.28) saturate(.7); }
.meditation-design .meditation-free-questions {
  display:block;
  background:#eedbb969 url("assets/paper-fibers.svg");
  color:#654b34;
  font-size:clamp(11px,1.55dvh,15px);
}
.meditation-design .meditation-free-questions:is(:hover,:focus-visible) { background-color:#ebd2ab; }
.training-sheet .collaboration-contact { justify-self:center; }
@media(max-width:540px) {
  .sheet > header .header-actions { gap:9px; }
  .meditation-sheet .meditation-actions { display:flex; }
  .meditation-sheet .meditation-design-link { padding:2px 7px; gap:5px; }
  .meditation-design .design-principle { gap:6px; }
  .design-hero .design-path img { height:clamp(47px,9dvh,90px); }
  .design-hero .design-path-labels { font-size:clamp(8px,2.35vw,11px); }
}
.sheet .reader-content header::after { display:none; }
.sheet .reader-content .meditation-header { padding-bottom:0; }

/* Keep the original artwork proportions and anchor each stage to its figure. */
.design-hero { grid-template-columns:minmax(58px,.48fr) minmax(0,1fr); }
.design-hero .design-path,
.design-hero .design-path-labels { width:min(100%, clamp(151px,33dvh,315px)); }
.design-hero .design-path img {
  width:100%;
  height:auto;
  aspect-ratio:264 / 150;
  object-fit:contain;
}
.design-hero .design-path-labels {
  position:relative;
  display:block;
  height:1.5em;
}
.design-hero .design-path-labels span { position:absolute; top:0; translate:-50% 0; }
.design-hero .design-path-labels span:nth-child(1) { left:20%; }
.design-hero .design-path-labels span:nth-child(2) { left:47%; }
.design-hero .design-path-labels span:nth-child(3) { left:75%; }
.meditation-design .design-art { padding:0; background:none; display:grid; place-items:center; }
.meditation-design :is(.design-art,.design-path) img {
  filter:grayscale(1) sepia(1) saturate(.72);
}

.jianji-poster-controls button {
  min-width:0;
  min-height:30px;
  padding:2px 8px;
  border-radius:7px 5px 8px 6px;
  background:#f4e4c969;
  font:inherit;
  font-size:clamp(10px,1.55dvh,13px);
  color:#6a4e34;
}
.service-poster-detail .jianji-poster-controls button { color:#fff4e2; background:#eac79c28; }
.service-poster-detail .jianji-poster-controls button:is(:hover,:focus-visible) { background:#eac79c55; }
@media(max-width:540px) {
  .design-hero .design-path,.design-hero .design-path-labels { width:min(100%,185px); }
  .jianji-poster-controls button { padding-inline:6px; }
}

/* Illustration-led project cards sit visibly above the notebook leaf. */
.project-dialog:has(.illustrated-detail)::backdrop {
  background:#382a20a6;
  backdrop-filter:blur(2px);
}
.project-dialog:has(.illustrated-detail) .project-paper {
  padding:0;
  border:1px solid #b793695c;
  border-radius:19px 16px 22px 15px;
  clip-path:none;
  transform:none;
  background:linear-gradient(155deg,#efdbb9,#f7ecd7 58%,#efe0c5);
  box-shadow:0 16px 42px #24170f55,0 3px 6px #24170f25;
}
.project-dialog:has(.illustrated-detail) .project-paper::before,
.project-dialog:has(.illustrated-detail) .project-paper::after { content:none; }
.project-dialog[open]:has(.illustrated-detail) .project-paper {
  animation:illustrated-card-open .42s ease-out;
}
@keyframes illustrated-card-open {
  0% { opacity:0; transform:translateY(12px) rotate(-2deg) scale(.98); }
  65% { opacity:1; transform:translateY(-1px) rotate(.55deg); }
  100% { opacity:1; transform:none; }
}
.project-detail-art {
  display:block;
  width:100%;
  height:clamp(104px,23dvh,224px);
  object-fit:contain;
  padding:10px 18px 0;
  box-sizing:border-box;
  filter:saturate(.85);
}
.project-detail-copy { padding:8px clamp(16px,5vw,36px) clamp(16px,4dvh,30px); }
.project-detail-copy .project-kicker { color:#805737; margin-bottom:4px; letter-spacing:.08em; }
.project-detail-copy h2 { margin-bottom:12px; text-decoration:none; }
.project-detail-copy .project-detail-highlight {
  margin:8px 0 0;
  padding:9px 12px;
  border-radius:10px 13px 9px 12px;
  background:#e3c28d4d;
}
.project-detail-copy > .text-link { display:inline-flex; margin-top:10px; }
@media(prefers-reduced-motion:reduce) {
  .project-dialog[open]:has(.illustrated-detail) .project-paper { animation:none; }
}

.design-warm-crop {
  display:block;
  background-image:url("assets/design-warm-art.png");
  background-repeat:no-repeat;
}
.design-hero {
  grid-template-columns:minmax(41px,.38fr) minmax(0,1fr);
  column-gap:clamp(8px,2vw,22px);
}
.design-seated-art {
  grid-row:1 / 3;
  align-self:end;
  width:min(100%,134px);
}
.design-stage-art,
.design-hero .design-path-labels {
  width:min(100%,clamp(164px,38dvh,368px));
}
.design-hero .design-path-labels { margin-top:2px; }
.design-hero .design-path-labels span:nth-child(1) { left:18%; }
.design-hero .design-path-labels span:nth-child(2) { left:44%; }
.design-hero .design-path-labels span:nth-child(3) { left:72%; }
.meditation-design .design-art { display:grid; place-items:center; }
.design-principle-art { width:min(100%,95px); }
.design-crop-steps { clip-path:polygon(0 25%,31% 24%,65% 0,95% 0,100% 100%,0 100%); }
@media(max-width:540px) {
  .design-stage-art,.design-hero .design-path-labels { width:min(100%,210px); }
  .design-seated-art { width:min(100%,70px); }
}
.design-stage-art {
  clip-path:polygon(0 100%,0 0,100% 0,100% 64%,73% 74%,44% 88%,20% 97%);
}
.design-seated-art { clip-path:inset(0 0 2% 0); }

/* Keep page-level actions compact and product navigation discoverable. */
.sheet > header .close-notebook,
.sheet > header .header-actions { white-space:nowrap; flex-shrink:0; }
.sheet > header .brand { min-width:0; }
.sheet .meditation-actions .meditation-design-link {
  min-height:40px;
  border:1px solid #a07b4b70;
  background-color:#e7cca0;
  box-shadow:0 2px 6px #583b282d;
}
.sheet .meditation-actions .meditation-design-link:is(:hover,:focus-visible) {
  background-color:#efd7ac;
}
.meditation-design .meditation-free-questions {
  border:1px solid #a7896249;
  padding:7px 10px;
}
.poster-viewer-image { touch-action:pan-y pinch-zoom; }
.poster-viewer-tools {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(4px,2vw,12px);
  color:#fff3df;
  font-size:13px;
}
.poster-viewer-nav {
  min-height:34px;
  padding:3px 8px;
  color:inherit;
  background:#cba67835;
  border:0;
  border-radius:8px;
  cursor:pointer;
}
.poster-viewer-nav:is(:hover,:focus-visible) { background:#cba67866; }

@media(max-width:540px) {
  .notebook > .sheet { padding-left:clamp(12px,4vw,20px); padding-right:clamp(38px,11.5vw,49px); gap:8px; }
  .notebook > .sheet > header { align-items:center; gap:5px; padding-bottom:5px; }
  .sheet > header .header-actions { gap:6px; }
  .sheet > header .close-notebook { font-size:10px; }
  .sheet > header button.contact-link { font-size:10px !important; }
  .sheet > header .brand { font-size:clamp(13px,4vw,18px); }
  .sheet > header .brand span { font-size:clamp(8px,2.4vw,10px); }
  .reader-content .meditation-header h1 { white-space:nowrap; }
  .sheet .meditation-actions .meditation-design-link { min-height:32px; }
  .reader-content .restart-sheet { gap:12px; }
  .reader-content .restart-diary { gap:8px; }
  .reader-content .restart-part p { line-height:1.55; }
  .reader-content .stranded-sheet .pause-art { height:clamp(83px,17dvh,138px); }
  .reader-content .stranded-sheet .pause-top { margin-bottom:10px; }
  .reader-content .stranded-sheet .pause-diary p { line-height:1.65; margin-bottom:12px; }
  .training-sheet .collaboration-art { height:clamp(38px,7.3dvh,65px); }
  .training-sheet .training-art { height:clamp(50px,9dvh,86px); }
  .training-sheet .collaboration-contact { min-height:32px; }
}

.cover-mode .notebook {
  padding:0 8px 10px 0;
  background:repeating-linear-gradient(0deg,#e5cdae 0 1px,#f5e4c8 1px 3px);
  box-shadow:0 5px #825638,0 9px #6b462f,0 17px 26px #3f281e4d;
}
#book-cover {
  position:relative;
  display:grid;
  place-items:center;
  overflow:visible;
  cursor:default;
  background-color:#9b684e;
  background-blend-mode:luminosity,multiply;
}
#book-cover[hidden] { display:none; }
#book-cover.opening { position:absolute; }
.cover-inscription {
  position:relative;
  z-index:1;
  text-align:center;
  color:#382417;
  padding:20px clamp(35px,12vw,90px) 20px clamp(20px,7vw,60px);
}
#book-cover .cover-title { margin:0 0 18px; font-size:clamp(28px,7vw,58px); color:inherit; }
.cover-inscription p { margin:6px 0; font-size:clamp(13px,3.3vw,20px); }
.cover-entrances { display:grid; justify-items:center; gap:10px; margin-top:clamp(23px,5dvh,48px); }
.cover-entrances a { color:#382417; padding:8px 13px; text-underline-offset:4px; white-space:nowrap; }
.cover-entrances a:first-child { background:#f3ddba; border-radius:8px; text-decoration:none; box-shadow:0 3px 8px #48271945; }
.cover-entrances a:is(:hover,:focus-visible) { background:#ffebcc; border-radius:8px; }
.cover-index-windows { position:absolute; right:10px; top:18%; display:grid; gap:8px; pointer-events:none; }
.cover-index-windows i { width:16px; height:clamp(18px,4dvh,39px); border-radius:9px 3px 4px 8px; background:#d6ab94; box-shadow:inset 2px 2px 5px #452e2866; }
.cover-index-windows i:nth-child(2) { background:#aeb997; }
.cover-index-windows i:nth-child(3) { background:#a8bdba; }
.cover-index-windows i:nth-child(4) { background:#d9b59c; }
.cover-clasp {
  position:absolute; z-index:2; right:-5px; top:53%; width:clamp(44px,9vw,80px); aspect-ratio:1;
  display:grid; place-items:center; border-radius:50%; pointer-events:none;
  border:3px solid #caa56d; background:#82523b;
  box-shadow:inset 0 0 0 1px #f6d8a699,2px 4px 8px #4b291f72;
}
#book-cover .cover-clasp img { width:76%; height:76%; margin:0; object-fit:contain; }

#book-cover::before {
  inset:11px 12px 11px clamp(24px,5vw,40px);
  border:1px dashed #eac4978a;
  pointer-events:none;
}
#book-cover::after {
  background:linear-gradient(90deg,#42281899, #c18f6239 12px,#43291865 clamp(22px,5vw,37px),transparent clamp(27px,6vw,44px)),radial-gradient(ellipse at 38% 28%,#f0bd8265,transparent 69%);
  pointer-events:none;
}
.cover-index-windows { z-index:2; right:11px; top:14%; gap:7px; }
.cover-index-windows i {
  display:grid; place-items:center;
  width:auto; min-height:24px; height:auto; padding:3px 7px;
  color:#372a21; font:500 clamp(9px,2.7vw,13px)/1.25 var(--serif);
  white-space:nowrap;
  border:1px solid #5c3e2a8c;
}
.cover-clasp { right:clamp(15px,3.5vw,30px); top:55%; background:radial-gradient(ellipse at 38% 28%,#ead6b3,#ac7e55); }
.cover-clasp::before {
  content:""; position:absolute; z-index:-1;
  inset:23% calc(-1 * clamp(25px,5vw,45px)) 23% 46%;
  border:1px solid #c0936a;
  border-radius:7px 13px 13px 6px;
  background:linear-gradient(#a87754,#704831 72%,#4e3021);
  box-shadow:1px 3px 5px #40261770,inset 0 0 0 3px #71493170;
}
#book-cover .cover-clasp img { width:92%; height:92%; mix-blend-mode:multiply; transform:translateY(-5%); }
.cover-entrances a { transition:transform .18s,box-shadow .18s,text-decoration-color .18s; }
.cover-entrances a:first-child {
  background:#c69a73; border:1px solid #f0cba47a;
  box-shadow:0 3px 7px #4827194d,inset 0 1px #f5d9b07a;
}
.cover-entrances a:first-child:is(:hover,:focus-visible) { background:#d4aa84; transform:translateY(-2px); box-shadow:0 6px 11px #4827196a; }
.cover-entrances a:nth-child(2):is(:hover,:focus-visible) { background:none; text-decoration-thickness:2px; text-underline-offset:7px; transform:translateY(-1px); }
.cover-entrances a:active { transform:translateY(1px); }
.sheet > header .journal-brand { display:grid; justify-items:center; gap:0; flex:none; width:clamp(52px,9vw,69px); }
.journal-brand img:first-child { display:block; width:100%; height:clamp(31px,6vw,43px); object-fit:contain; }
.journal-brand img:last-child { display:block; width:72%; height:auto; }
@media(max-width:540px) {
  .cover-clasp { top:65%; }
  .cover-inscription { padding-right:44px; }
}

#book-cover .cover-inscription { color:#513324; transform:translateY(-7%); }
#book-cover .cover-title { font-weight:400; text-shadow:none; }
.cover-inscription p { font-weight:400; color:#50382a; text-shadow:none; }
.cover-entrances a:first-child {
  border-radius:999px;
  background:#e5c49c9e;
  border:1px solid #f1d6b28c;
  box-shadow:0 2px 5px #5031202d;
}
.cover-entrances a:first-child:is(:hover,:focus-visible) {
  background:#e9cdaac9;
  box-shadow:0 4px 9px #5031204d;
}
.cover-index-windows i { font-weight:400; color:#514438; box-shadow:inset 1px 1px 3px #50382d42; }
.cover-clasp { isolation:isolate; }
.cover-clasp::before { z-index:-2; }
.cover-clasp::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  border-radius:50%;
  background:radial-gradient(ellipse at 37% 30%,#ebd7b8,#b7895f);
  box-shadow:inset 0 0 0 1px #f6deb3a0;
}
.cover-emblem {
  position:absolute;
  z-index:1;
  left:50%;
  bottom:8%;
  translate:-50% 0;
  width:clamp(65px,17%,126px);
  pointer-events:none;
}
#book-cover .cover-emblem img { display:block; width:100%; height:auto; margin:0; }
.qr-caption { margin-top:12px; color:#534236; font-size:clamp(12px,3.5vw,15px); line-height:1.6; text-align:left; }
.qr-caption p { margin:0; }
.qr-caption p + p { margin-top:5px; }
.qr-dialog .qr-crop { width:min(100%,calc(100dvh - 160px)); margin-inline:auto; }

#book-cover .cover-emblem {
  width:clamp(118px,29%,220px);
  bottom:6%;
  mix-blend-mode:multiply;
  opacity:.76;
  mask-image:radial-gradient(ellipse at center,#000 40%,#000c 52%,transparent 74%);
}
#book-cover .cover-emblem img { filter:saturate(.66) contrast(.9); }

.qr-dialog {
  padding:clamp(14px,4vw,24px);
  border-radius:16px;
  background:#fbf7ee;
  box-shadow:0 14px 44px #35271b35;
}
.qr-dialog .qr-crop {
  width:min(100%,272px,calc(100dvh - 165px));
  border-radius:5px;
}
.qr-caption {
  margin:clamp(12px,3.5vw,18px) auto 0;
  padding-top:11px;
  max-width:26em;
  border-top:1px solid #b9997047;
  font-size:clamp(12px,3.4vw,14px);
  line-height:1.6;
  text-align:center;
}
.qr-caption p { text-wrap:balance; }
.qr-caption p + p { margin-top:7px; color:#6f5843; font-size:.94em; }

#book-cover { --cover-seam-left:clamp(24px,5vw,40px); --cover-seam-right:12px; }
#book-cover::before { left:var(--cover-seam-left); right:var(--cover-seam-right); }
#book-cover .cover-inscription {
  position:absolute;
  left:var(--cover-seam-left);
  right:var(--cover-seam-right);
  bottom:61%;
  padding:0 10px;
  transform:none;
}
#book-cover .cover-inscription .cover-title { font-size:clamp(25px,5vw,52px); margin-bottom:clamp(6px,1.8dvh,16px); }
#book-cover .cover-inscription p { font-size:clamp(12px,2.8vw,18px); }
#book-cover .cover-emblem {
  left:calc(50% + (var(--cover-seam-left) - var(--cover-seam-right)) / 2);
  top:50%;
  bottom:auto;
  translate:-50% -50%;
  width:clamp(72px,24%,158px);
  mask-image:none;
  opacity:.73;
}
#book-cover .cover-emblem img { transform:translateY(-6%); }
#book-cover .cover-entrances {
  position:absolute;
  z-index:2;
  top:63%;
  left:var(--cover-seam-left);
  right:var(--cover-seam-right);
  margin:0;
  gap:4px;
}
.reader-content .intro-identity p { font-size:clamp(13px,2.1dvh,17px); line-height:1.58; }
@media(max-width:540px) {
  #book-cover .cover-index-windows { top:5%; }
  #book-cover .cover-index-windows i { min-height:14px; padding-block:2px; }
  .intro-top { grid-template-columns:minmax(0,1.85fr) minmax(0,1fr); }
  .reader-content .intro-identity p { font-size:clamp(11px,3.15vw,14px); line-height:1.52; }
  .home-journey-caption { max-width:100%; overflow-wrap:anywhere; }
}

.sheet > header .journal-brand { width:auto; }
.sheet > header .journal-brand img:first-child {
  width:clamp(48px,9vw,64px);
  filter:saturate(.58) sepia(.14);
  opacity:.88;
}
.sheet > header .journal-brand img:nth-child(2) {
  width:clamp(37px,7vw,51px);
  filter:saturate(.62) sepia(.15);
  opacity:.9;
}
.sheet > header .journal-brand .journal-motto {
  display:block;
  font-size:clamp(8px,2vw,11px);
  line-height:1.35;
  margin-top:3px;
}
.reader-content .intro-identity .intro-credentials { color:#4c3828; margin-bottom:9px; }
.reader-content .intro-identity .intro-focus {
  border-inline-start:2px solid #b894645e;
  padding-inline-start:9px;
  color:#624c37;
}
.reader-content:has(.memory-leaf) { background:none; }
.reader-content .origin-sheet .memory-reflection { border-color:#a88a6259; }
@media(max-width:540px) {
  .reader-content .intro-identity .intro-credentials { margin-bottom:5px; }
  .reader-content .intro-identity .intro-focus { padding-inline-start:6px; }
  .reader-content .origin-sheet .memory-note p,
  .reader-content .origin-sheet .memory-ending { font-size:clamp(11.5px,3.15vw,14px); line-height:1.55; }
}

.practice-album-section,.practice-sheet .practice-copy { min-width:0; }
.reader-content .practice-album-title {
  color:#775b42;
  text-align:center;
  font-size:clamp(12px,1.9dvh,16px);
  font-weight:500;
  margin:0 0 6px;
}
.reader-content .practice-sheet .history-album { --photo-height:clamp(106px,21dvh,220px); }
.reader-content .practice-sheet .practice-copy p { overflow-wrap:anywhere; }
@media(max-width:540px) {
  .reader-content .practice-sheet .history-album { --photo-height:clamp(103px,17dvh,155px); }
  .reader-content .practice-sheet .practice-copy p,
  .reader-content .practice-sheet .practice-takeaway { font-size:clamp(12px,3.3vw,14px); line-height:1.62; }
}

.reader-content .pause-heading { min-width:0; }
.reader-content .pause-heading h1 { margin:0 0 6px; font-size:clamp(20px,4dvh,34px); }
.reader-content .pause-subtitle { margin:0; color:#765337; font-size:clamp(13px,2.1dvh,18px); }
.reader-content .stranded-sheet .pause-diary p {
  margin:0 0 clamp(9px,1.7dvh,17px);
  font-size:clamp(14px,2dvh,17px);
  line-height:1.66;
}
.reader-content .stranded-sheet .pause-diary p:last-of-type { margin-bottom:0; }
@media(max-width:540px) {
  .reader-content .pause-heading h1 { font-size:clamp(18px,5vw,23px); }
  .reader-content .stranded-sheet .pause-diary p { font-size:clamp(12px,3.35vw,14px); }
}
.restart-projects h2 { margin:0; font-size:clamp(13px,2dvh,17px); }
.restart-projects small { color:#725439; font-size:.84em; }
.reader-content .restart-part p + p { margin-top:6px; }
.restart-part ul { margin:6px 0 0; padding-inline-start:1.25em; font-size:clamp(12px,1.7dvh,15px); line-height:1.65; }
.restart-part li + li { margin-top:5px; }
.practice-feedback h3 { margin-bottom:6px; }
.practice-feedback blockquote { margin:0 0 8px; padding-inline-start:10px; border-inline-start:2px solid #bc9769; }
.project-contact { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px 12px; margin-top:12px; color:#66472d; cursor:default; }
.project-contact .qr-crop { width:min(106px,35vw); margin:0; }

.project-dialog:has(.practice-feedback) .project-detail-art {
  height:clamp(64px,15dvh,145px);
  padding-top:5px;
}
.project-dialog:has(.practice-feedback) .project-detail-copy {
  padding-block:6px 12px;
}
.project-dialog:has(.practice-feedback) .project-detail-copy h2 { margin-bottom:7px; }
.project-dialog:has(.practice-feedback) .project-detail-copy p {
  margin-bottom:6px;
  font-size:clamp(12px,1.75dvh,15px);
  line-height:1.5;
}
.project-body .practice-feedback h3 {
  margin:7px 0 4px;
  font-size:13px;
}
.project-body .practice-feedback blockquote {
  margin:0 0 4px;
  font-size:clamp(12px,1.5dvh,14px);
  line-height:1.48;
}
.project-dialog:has(.practice-feedback) .project-contact { margin-top:5px; font-size:12px; }
.project-dialog:has(.practice-feedback) .project-contact .qr-crop { width:clamp(80px,12dvh,100px); }
.project-body .practice-feedback blockquote {
  padding:5px 10px;
  transform:none;
}
@media (max-width:380px) and (max-height:640px) {
  .project-dialog:has(.practice-feedback) {
    width:calc(100% - 20px);
    max-width:none;
    max-height:calc(100dvh - 20px);
  }
  .project-dialog:has(.practice-feedback) .project-paper {
    max-height:calc(100dvh - 20px);
  }
  .project-dialog:has(.practice-feedback) .project-detail-art { height:54px; }
  .project-dialog:has(.practice-feedback) .project-detail-copy { padding-inline:12px; }
  .project-dialog:has(.practice-feedback) .project-detail-highlight { padding:6px 9px; }
}

/* Page six groups the practice options beneath the introduction. */
.reader-content .meditation-sheet:has(.meditation-services) {
  gap:clamp(14px,2.8dvh,34px);
  padding-block:clamp(8px,2.2dvh,28px);
}
.sheet .reader-content .meditation-header {
  display:grid;
  justify-items:start;
  gap:4px;
}
.reader-content .meditation-header p { color:#675139; }
.meditation-method-link {
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  color:#794928;
  text-decoration:underline;
  text-decoration-color:#9d6c49;
  text-underline-offset:4px;
  font-size:clamp(12px,1.75dvh,16px);
}
.meditation-method-link:is(:hover,:focus-visible) { color:#492a1b; text-decoration-thickness:2px; }
.meditation-method-link:active { transform:translateY(1px); }
.meditation-services {
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(8px,1.6dvh,18px);
}
.meditation-services .meditation-group-card {
  grid-column:1 / -1;
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
  gap:clamp(10px,2vw,22px);
  padding:10px;
  align-items:center;
  border-radius:16px;
  background:#f5e7ca;
}
.meditation-services .meditation-group-card img {
  width:100%;
  height:clamp(112px,25dvh,290px);
  object-fit:cover;
}
.meditation-services .custom-card:not(.meditation-group-card) {
  grid-template-columns:minmax(42px,.6fr) minmax(0,1fr);
  gap:8px;
  border-radius:12px;
}
@media (max-width:540px) {
  .reader-content .meditation-sheet:has(.meditation-services) { gap:8px; padding-block:4px; }
  .meditation-services { grid-template-columns:1fr; gap:6px; }
  .meditation-services .meditation-group-card { grid-template-columns:minmax(0,.85fr) minmax(0,1fr); }
  .meditation-services .meditation-group-card img { height:clamp(80px,16dvh,125px); }
  .meditation-services .custom-card:not(.meditation-group-card) { grid-template-columns:24% minmax(0,1fr); }
}
.sheet .meditation-services .custom-card:not(.meditation-group-card) {
  display:grid;
  grid-template-columns:minmax(40px,.6fr) minmax(0,1fr);
  align-items:center;
}
.sheet .meditation-services .custom-illustration img {
  height:clamp(42px,9dvh,92px);
}

.reader-content .meditation-sheet:has(.meditation-practice-footer) { gap:clamp(9px,1.6dvh,18px); }
.meditation-sheet:has(.meditation-practice-footer) .meditation-services { grid-template-columns:1fr; gap:8px; }
.sheet .meditation-services .custom-card:not(.meditation-group-card) {
  grid-template-columns:minmax(50px,22%) minmax(0,1fr);
}
.meditation-services .meditation-group-card {
  grid-template-columns:minmax(62px,33%) minmax(0,1fr);
}
.meditation-services .meditation-group-card img { height:clamp(98px,17dvh,170px); }
.meditation-services .custom-card-copy { min-width:0; }
.meditation-services .custom-card-copy > span { font-size:clamp(12px,1.6dvh,14px); }
.meditation-services .custom-card-copy .meditation-card-fit { color:#675139; }
.reader-content .meditation-practice-footer {
  text-align:center;
  color:#705b47;
  font-size:clamp(11px,1.6dvh,13px);
  line-height:1.6;
  padding-block:3px 8px;
}
.reader-content .meditation-practice-footer p + p { margin-top:4px; }
@media (max-width:540px) {
  .meditation-sheet .meditation-services .custom-card { padding:7px; }
  .meditation-services .custom-card-copy > span { font-size:12px; }
}

/* Extend the scrollable box into the right gutter while keeping its text aligned. */
.sheet > main {
  --reader-scroll-gutter:clamp(6px,1.7vw,18px);
  margin-inline-end:calc(-1 * var(--reader-scroll-gutter));
}
.sheet .reader-content {
  box-sizing:border-box;
  padding-inline-end:calc(var(--reader-scroll-gutter) - 5px);
  scrollbar-width:thin;
  scrollbar-color:#8a654d94 transparent;
}
.sheet .reader-content::-webkit-scrollbar { width:5px; }
.sheet .reader-content::-webkit-scrollbar-track { background:transparent; }
.sheet .reader-content::-webkit-scrollbar-thumb { background:#8a654d94; border-radius:8px; }

.sheet .reader-content h1 {
  font-size:clamp(16px,2.9dvh,26px);
  line-height:1.4;
}
.sheet .reader-content .meditation-header h1 { white-space:normal; }
.sheet > header .journal-brand .journal-motto { font-size:clamp(8px,1.85vw,10px); }
#book-cover .cover-inscription p { font-size:clamp(11px,2.6vw,16px); }

.reader-content .meditation-sheet .meditation-practice-footer {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:4px;
  text-align:center;
}
.reader-content .meditation-sheet .meditation-practice-footer p {
  margin:0;
  font-size:clamp(11px,1.5dvh,13px);
  line-height:1.55;
}

/* Only the active print and its two backing prints are visible. */
.jianji-poster-card:not(:is([data-depth="0"],[data-depth="1"],[data-depth="2"])) {
  visibility:hidden;
  pointer-events:none;
}
.service-poster-detail .jianji-poster-frame { overflow:clip; }
.sheet .reader-content :is(.intro-identity,.memory-intro,.practice-copy,.pause-heading,.restart-sheet,.meditation-sheet) h1 {
  font-size:clamp(16px,2.65dvh,24px);
}
.reader-content .stranded-sheet .pause-diary p {
  font-size:clamp(12px,3.1vw,15px);
  line-height:1.65;
}
.design-questions {
  padding:clamp(10px,2dvh,18px);
  border-top:1px solid #a88a6259;
}
.reader-content .design-questions h2 { font-size:clamp(15px,2.25dvh,19px); margin:0 0 5px; }
.reader-content .design-questions p { font-size:clamp(12px,1.8dvh,15px); line-height:1.6; margin-bottom:8px; }
.design-questions .meditation-contact { min-height:36px; }
.design-hero .design-path-labels span:last-child { left:76%; }
.project-detail-copy .solo-practice-method { padding:10px 12px; background:#e5c9954d; border-radius:10px; }
.project-detail-copy .solo-practice-method h3 { font-size:15px; margin:0 0 4px; }
.project-detail-copy .solo-practice-method p { margin:0; }
.project-detail-copy .solo-practice-invitation { margin-top:12px; font-weight:600; }
dialog:is(.qr-dialog,.project-dialog) .qr-crop { border-radius:12px; overflow:hidden; }

.jianji-sheet .jianji-poster-card:nth-child(n + 4) {
  width:min(91cqw, calc(91cqh * 1.55));
  aspect-ratio:1.55;
}
.jianji-sheet .jianji-poster-card:nth-child(n + 4) img { object-fit:contain; }

.reader-content .jianji-heading h1 { text-wrap:balance; }

.project-dialog:is([data-note="individual-practice"],[data-note="meditation-group"]) .project-contact {
  font-size:clamp(12px,1.8dvh,15px);
}
.project-dialog:is([data-note="individual-practice"],[data-note="meditation-group"]) .project-contact .qr-crop {
  width:clamp(84px,13dvh,108px);
}
.project-dialog[data-note="meditation-group"] .jianji-gallery {
  height:min(61dvh,660px);
}
.project-dialog[data-note="meditation-group"] .project-contact {
  margin-top:6px;
  gap:10px;
  pointer-events:auto;
}
.project-dialog[data-note="individual-practice"] .project-detail-art {
  height:clamp(65px,16dvh,140px);
}

.project-dialog:is([data-note="custom-group"],[data-note="jianji-collaboration"]) .project-detail-art {
  height:clamp(64px,16dvh,145px);
}
.project-dialog:is([data-note="custom-group"],[data-note="jianji-collaboration"]) .project-detail-copy h3 {
  margin:10px 0 4px;
  font-size:clamp(14px,2dvh,17px);
}
.project-dialog:is([data-note="custom-group"],[data-note="jianji-collaboration"]) .project-detail-copy p,
.collaboration-detail-list {
  font-size:clamp(13px,1.85dvh,15px);
  line-height:1.6;
}
.collaboration-detail-list {
  margin:0 0 10px;
  padding-inline-start:1.4em;
}
.collaboration-detail-list li + li { margin-top:4px; }
.collaboration-download {
  justify-content:space-between;
  margin-top:8px;
}
.collaboration-download .jianji-download-sticker {
  position:static;
  width:clamp(94px,14dvh,116px);
  height:auto;
}

/* Keep the hotspots in the same coordinate space as the supplied artwork. */
#book-cover {
  container-type:size;
  place-items:center;
  background:transparent;
  border:0;
  box-shadow:none;
}
#book-cover::before, #book-cover::after { content:none; }
.cover-mode .notebook { padding:0; background:transparent; box-shadow:none; }
#book-cover .cover-open-area { position:absolute; inset:0; z-index:1; cursor:pointer; }
#book-cover .cover-plate {
  position:relative;
  z-index:2;
  width:min(100cqw,63.43cqh);
  aspect-ratio:999 / 1575;
  pointer-events:none;
}
#book-cover .cover-plate img { display:block; width:100%; height:100%; margin:0; }
#book-cover .cover-plate a {
  position:absolute;
  z-index:2;
  pointer-events:auto;
  border-radius:50px;
  transition:background-color .16s ease, box-shadow .16s ease;
}
.cover-practice-area { inset:46.7% 31.5% 48.2% 31.5%; }
.cover-about-area { inset:53.4% 39% 42.6% 39%; }
#book-cover .cover-plate a:is(:hover,:focus-visible) {
  background:#fff1c724;
  box-shadow:0 0 0 2px #fce5b788;
}
#book-cover .cover-plate a:active { background:#57301423; }

.sheet > header .header-actions { margin-inline-end:clamp(-14px,-1.1vw,-4px); }
.sheet .reader-content {
  --journal-body-size:clamp(12px,1.85dvh,16px);
  --journal-card-size:clamp(12px,1.65dvh,14px);
  --journal-heading-size:clamp(16px,2.65dvh,24px);
  font-family:var(--serif);
}
.sheet .reader-content h1 { font-size:var(--journal-heading-size); text-wrap:balance; }
.sheet .reader-content :is(.intro-identity,.practice-copy,.restart-part,.pause-diary,.jianji-sheet,.collaboration-section,.training-plan) p {
  font-size:var(--journal-body-size);
  line-height:1.6;
}
.sheet .reader-content .training-sheet .collaboration-copy > span {
  font-size:var(--journal-card-size);
  line-height:1.48;
}
.sheet .reader-content .training-sheet .collaboration-copy > strong {
  font-size:clamp(13px,1.85dvh,16px);
  line-height:1.4;
}
.sheet .training-sheet .training-plan h2 { font-size:clamp(15px,2.2dvh,19px); }
.sheet .training-sheet .training-plan p { margin-top:5px; }
#book-cover .cover-plate img {
  max-width:none;
  max-height:none;
  opacity:1;
  mix-blend-mode:normal;
}
#book-cover .cover-about-area { min-height:24px; }

/* Pigment sits behind the content so the brush edges never clip text or focus. */
:root {
  --wash-edge:polygon(0 48%,2% 31%,5% 18%,10% 10%,17% 7%,26% 8%,39% 5%,51% 7%,64% 4%,76% 7%,88% 6%,94% 11%,98% 22%,100% 41%,99% 57%,98% 73%,95% 84%,89% 90%,81% 92%,70% 90%,56% 94%,43% 91%,31% 95%,20% 92%,11% 93%,6% 84%,2% 70%);
  --wash-paper-edge:polygon(0 12%,2% 5%,8% 2%,22% 3%,34% 1%,45% 2%,62% 1%,77% 2%,90% 1%,97% 3%,100% 10%,99% 25%,100% 49%,99% 70%,100% 88%,98% 96%,92% 98%,77% 97%,63% 99%,50% 98%,35% 99%,22% 98%,10% 99%,3% 97%,0 92%,1% 69%,0 50%,1% 28%);
  --wash-gold:#e7c494;
  --wash-ink:#824a2d;
}

:is(.sheet > header button.contact-link, .sheet .meditation-contact, .service-poster-detail .practice-consultation,
    .meditation-services .custom-card-copy .meditation-card-action, .service-poster-detail .project-contact > span) {
  position:relative;
  isolation:isolate;
  border:0;
  border-radius:0;
  box-shadow:none;
  background:none;
  color:var(--wash-text,#53331d);
  -webkit-tap-highlight-color:transparent;
}
:is(.sheet > header button.contact-link, .sheet .meditation-contact, .service-poster-detail .practice-consultation,
    .meditation-services .custom-card-copy .meditation-card-action, .service-poster-detail .project-contact > span)::before {
  content:"";
  position:absolute;
  inset:0 -3px;
  z-index:-1;
  pointer-events:none;
  clip-path:var(--wash-edge);
  background:radial-gradient(ellipse at 28% 32%,var(--wash-light,#fff5de4d),transparent 74%),
    url("assets/paper-fibers.svg"),var(--wash-color,var(--wash-gold));
}
.sheet > header button.contact-link {
  --wash-color:#c4cda5;
  --wash-text:#35452b;
}
.sheet > header button.contact-link::before { inset:2px -4px; }
.sheet > header .wechat-bubbles::after { outline:none; }
.sheet .meditation-services .meditation-group-card .meditation-card-action,
.service-poster-detail .project-contact > span {
  --wash-color:#905430;
  --wash-light:#fff5de24;
  --wash-text:#fff8ec;
}
.service-poster-detail :is(.practice-consultation,.project-contact > span) {
  padding:7px 12px;
}
.service-poster-detail .practice-consultation {
  min-height:36px;
  margin-top:5px;
  pointer-events:auto;
}
:is(.sheet > header button.contact-link,.sheet .meditation-contact,.service-poster-detail .practice-consultation):is(:hover,:focus-visible) {
  background:none;
  box-shadow:none;
  text-decoration:underline;
  text-underline-offset:3px;
}
:is(.sheet > header button.contact-link,.sheet .meditation-contact,.service-poster-detail .practice-consultation):is(:hover,:focus-visible)::before,
.meditation-services .custom-card:is(:hover,:focus-visible) .meditation-card-action::before {
  filter:saturate(1.12) brightness(.92);
}
.sheet > header button.contact-link:focus-visible {
  outline:none;
  text-decoration-thickness:2px;
}
.sheet .meditation-services .custom-card:is(:hover,:focus-visible) .meditation-card-action,
.sheet .meditation-services .meditation-group-card .meditation-card-action {
  background:none;
  box-shadow:none;
}

body:not(.cover-mode) .tabs a:nth-child(n) {
  position:relative;
  isolation:isolate;
  border:0;
  background:transparent !important;
  box-shadow:none;
}
body:not(.cover-mode) .tabs a:nth-child(n)::before {
  display:block;
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  clip-path:polygon(38% 0,71% 2%,89% 7%,98% 15%,96% 28%,100% 42%,97% 59%,99% 77%,93% 89%,79% 96%,62% 100%,34% 97%,17% 91%,6% 81%,2% 65%,4% 50%,0 35%,6% 19%,17% 7%);
  background:radial-gradient(ellipse at 24% 20%,#fff6df44,transparent 80%),
    url("assets/paper-fibers.svg"),var(--tab,#dbb293);
}
body:not(.cover-mode) .tabs a:nth-child(n).active {
  --tab:var(--wash-ink);
  font-weight:600;
}
body:not(.cover-mode) .tabs a:hover::before { filter:saturate(1.15) brightness(.95); }

.sheet .reader-content :is(.origin-sheet .memory-note, .stranded-sheet .pause-diary,
    .illustrated-projects .project-slip, .meditation-services .custom-card,
    .meditation-design .design-principle, .training-sheet .collaboration-card) {
  position:relative;
  isolation:isolate;
  border:0;
  background:none;
  box-shadow:none;
}
.sheet .reader-content :is(.origin-sheet .memory-note, .stranded-sheet .pause-diary,
    .illustrated-projects .project-slip, .meditation-services .custom-card,
    .meditation-design .design-principle, .training-sheet .collaboration-card)::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  pointer-events:none;
  clip-path:var(--wash-paper-edge);
  background:radial-gradient(ellipse at 16% 22%,#fff9ea99,transparent 77%),
    url("assets/paper-fibers.svg"),var(--card-wash,#f4e4c795);
}
.sheet .reader-content :is(.memory-pair:nth-child(2) .memory-note,
    .illustrated-projects .project-slip:nth-child(2), .meditation-services .meditation-solo-card,
    .meditation-design .design-principle:nth-child(even), .training-sheet .collaboration-card:nth-child(even)) {
  --card-wash:#e3e6ccaa;
}
.sheet .reader-content .meditation-services .meditation-group-card { --card-wash:#f0d6aabd; }
.sheet .reader-content .stranded-sheet .pause-diary { --card-wash:#f9eccda6; }
.sheet .reader-content :is(.illustrated-projects .project-slip,.meditation-services .custom-card,.training-sheet .collaboration-card):is(:hover,:focus-visible)::after {
  filter:saturate(1.15) brightness(.96);
}

/* Warm, lightly mottled paper, with the darker tone kept near the binding. */
:root {
  --leaf-paper:#fbf4e6;
  --leaf-grain:url("assets/paper-fibers.svg");
  --leaf-light:radial-gradient(ellipse at 44% 39%,#fffdf6aa,transparent 82%);
  --journal-accent:#865039;
  --journal-olive:#526044;
}
.notebook > .sheet,
.outgoing-paper.sheet {
  background-color:var(--leaf-paper);
  background-image:var(--leaf-light),var(--leaf-grain),
    linear-gradient(90deg,#b58c5b26,transparent 7%,transparent 93%,#c4a67b20);
  background-size:100% 100%,280px 280px,100% 100%;
  background-blend-mode:normal,multiply,normal;
  box-shadow:inset 15px 0 20px -19px #76512e9e,
    inset 0 0 0 1px #fffaf0,
    inset 0 0 18px #b9915d1c, 0 2px 5px #78593825;
}
.notebook > .sheet::before,
.outgoing-paper.sheet::before {
  background-image:none;
  box-shadow:none;
}
.project-dialog:has(.illustrated-detail) .project-paper {
  background:var(--leaf-light),var(--leaf-grain),
    linear-gradient(150deg,#f2e2c8,var(--leaf-paper) 59%,#f3e6cf);
  background-size:100% 100%,280px 280px,100% 100%;
}
.sheet .reader-content h1::after { opacity:.83; }
.sheet .reader-content :is(.restart-part,.design-principle) h2 { color:var(--journal-accent); }
.sheet .reader-content :is(.meditation-card-fit,.design-subtitle) { color:var(--journal-olive); }
.sheet .reader-content .journal-emphasis,
.project-detail-copy .journal-emphasis,
.project-detail-copy .solo-practice-invitation {
  color:var(--journal-accent);
  font-weight:400;
}
.sheet .reader-content :is(.meditation-services .custom-card-copy > strong,.collaboration-copy > strong) {
  color:#53402f;
  font-weight:500;
}

.jianji-feature-button {
  border:0;
  background:none;
  padding:5px 2px;
  min-height:38px;
  color:var(--journal-accent);
  font:inherit;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-color:#a66e4a8c;
}
.jianji-feature-button:is(:hover,:focus-visible) { text-decoration-color:currentColor; }
.jianji-feature-dialog {
  box-sizing:border-box;
  width:min(620px,calc(100% - 24px));
  height:min(780px,calc(100dvh - 32px));
  max-width:none;
  max-height:none;
  padding:clamp(10px,2.3dvh,20px);
  border:0;
  border-radius:16px 20px 22px 14px;
  color:var(--ink);
  background:var(--leaf-light),var(--leaf-grain),var(--leaf-paper);
  box-shadow:0 14px 38px #3b28194f;
}
.jianji-feature-dialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr); gap:5px; }
.jianji-feature-dialog::backdrop { background:#49382971; backdrop-filter:blur(2px); }
.jianji-feature-header { padding-inline:4px; }
.jianji-feature-header h2 { margin:0; font-size:clamp(16px,2.5dvh,22px); }
.jianji-feature-stage {
  min-height:0;
  display:grid;
  grid-template-rows:minmax(0,1fr);
}

/* These shallow, irregular edges leave room for text, controls and QR quiet zones. */
:root {
  --loose-paper-edge:polygon(0 8%,.5% 4%,2% 1.8%,5% .8%,11% 1.1%,18% .5%,26% .8%,35% .3%,43% .7%,51% .4%,63% .9%,76% .3%,85% .6%,92% .4%,97% 1.6%,99% 3.4%,100% 7%,99.6% 18%,100% 35%,99.7% 46%,100% 59%,99.5% 77%,100% 91%,99% 96%,97% 98%,93% 99.3%,84% 99%,72% 99.7%,58% 99.2%,45% 99.6%,32% 99.1%,23% 99.8%,13% 99.2%,7% 99.6%,3% 98.4%,1% 96%,0 92%,.4% 74%,0 60%,.4% 45%,0 25%);
}
.project-dialog:has(.illustrated-detail) .project-paper,
.qr-dialog,
.jianji-feature-dialog {
  border:0;
  border-radius:13px 18px 14px 17px;
  clip-path:var(--loose-paper-edge);
  background:var(--leaf-light),var(--leaf-grain),
    radial-gradient(ellipse at 6% 9%,#e8cdab6e,transparent 58%),
    linear-gradient(158deg,#f7ead5,var(--leaf-paper) 58%,#f2e2c9);
  background-size:100% 100%,280px 280px,100% 100%,100% 100%;
  box-shadow:inset 0 0 18px #ab7d4d24;
}
.qr-dialog { padding:clamp(16px,4.6vw,26px); }
.qr-caption { border-top-color:#a7815652; }
@supports (clip-path:shape(from 0 0, line to 100% 100%, close)) {
  :root {
    --loose-paper-edge:shape(
      from 0% 9%,
      curve to 6% .8% with 0% 3% / 2% 1.1%,
      curve to 34% .5% with 15% .5% / 23% 1.2%,
      curve to 63% .7% with 46% 0% / 54% 1.4%,
      curve to 94% 1% with 75% .1% / 89% .2%,
      curve to 100% 9% with 98% 1.3% / 100% 4%,
      curve to 99.8% 54% with 99.1% 22% / 100.3% 39%,
      curve to 100% 90% with 99% 69% / 99.9% 78%,
      curve to 93% 99% with 99.7% 97% / 96% 98.3%,
      curve to 65% 99.4% with 83% 100% / 76% 98.8%,
      curve to 36% 99.4% with 56% 99.8% / 44% 98.7%,
      curve to 7% 98.9% with 27% 100% / 15% 99.4%,
      curve to .2% 91% with 3% 98.5% / .2% 96%,
      curve to .2% 52% with 0% 79% / 1% 65%,
      curve to 0% 9% with -.4% 34% / .7% 21%,
      close
    );
  }
}
.qr-dialog .qr-crop { box-shadow:0 0 0 5px #fff; }
