@charset "UTF-8";

/* =========================================================
   A SLICE OF ME — macaron patisserie skin
   Flat colour · soft outline · round everything · low-sugar pastel
   Loaded after styles.css; overrides only the visual layer.
   ========================================================= */

:root {
  --cream: #fff8f1;
  --cream-deep: #fbeade;
  --paper: #fff8f1;
  --paper-soft: #fffdf8;
  --paper-deep: #fbe8e2;

  --ink: #5d4744;
  --ink-soft: #866a66;
  --ink-faint: #a98a84;

  --rose: #f4b8c5;
  --rose-deep: #d97e94;
  --rose-soft: #fde4ea;
  --rose-wash: #fff1f4;
  --peach: #f8cdb2;
  --peach-soft: #fde7da;
  --butter: #f6e2ad;
  --butter-soft: #fdf3d7;
  --mint: #c2e2d0;
  --mint-soft: #e6f4eb;
  --sky: #c4dcec;
  --sky-soft: #e8f2f9;
  --lilac: #d9c7e8;
  --lilac-soft: #f1e9f8;
  --outline: #8f6761;
  --outline-soft: #e8c3bf;
  --sticker-shadow: #f2d2d1;

  --clay: var(--rose);
  --clay-soft: var(--rose-soft);

  --font-display: "Arial Rounded MT Bold", "Noto Sans SC Black", "Noto Sans SC", "微软雅黑", sans-serif;
  --font-body: "Noto Sans SC", "微软雅黑", "Microsoft YaHei UI", "PingFang SC", sans-serif;
  --font-hand: "Segoe Print", "Bradley Hand ITC", "Comic Sans MS", cursive;

  --serif: var(--font-display);
  --sans: var(--font-body);

  --line: rgba(143, 103, 97, 0.14);
  --line-strong: rgba(143, 103, 97, 0.26);

  --shadow-soft: 0 7px 0 var(--sticker-shadow);
  --shadow-pop: 0 10px 0 var(--sticker-shadow);
  --radius-sm: 18px;
  --radius-md: 26px;
  --radius-lg: 40px;
}

html {
  background: var(--cream);
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

/* flat decal background — no grain, no soft light */
body::before {
  content: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 16%, rgba(244, 184, 197, 0.2) 0 150px, transparent 151px),
    radial-gradient(circle at 94% 78%, rgba(194, 226, 208, 0.22) 0 180px, transparent 181px),
    radial-gradient(circle at 80% 8%, rgba(246, 226, 173, 0.24) 0 110px, transparent 111px),
    radial-gradient(circle at 4% 92%, rgba(217, 199, 232, 0.18) 0 130px, transparent 131px),
    radial-gradient(circle, rgba(232, 195, 191, 0.35) 1.4px, transparent 1.5px);
  background-size: auto, auto, auto, auto, 30px 30px;
  background-position: center, center, center, center, 0 0;
}

::selection {
  color: #fffdf8;
  background: var(--rose-deep);
}

:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 4px;
  border-radius: 12px;
}

/* 叉子是 SVG 元素，焦点轮廓会渲染成方形黑框，统一隐藏 */
.scene .knife:focus,
.scene .knife:focus-visible {
  outline: none;
}

/* ---------------------------------------------------------
   Route veil
   --------------------------------------------------------- */

.veil-mark {
  display: block;
  width: 78px;
  height: 78px;
  object-fit: contain;
  box-shadow: 0 7px 0 var(--sticker-shadow);
}

.veil-word {
  color: var(--ink-soft);
  font-family: var(--font-hand);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: none;
}

/* ---------------------------------------------------------
   Header — a floating sticker bar
   --------------------------------------------------------- */

.site-head {
  top: 14px;
  left: var(--gutter);
  right: var(--gutter);
  padding: 9px 10px 9px 14px;
  background: rgba(255, 253, 248, 0.96);
  border: 2px solid var(--outline-soft);
  border-radius: 999px;
  box-shadow: 0 6px 0 var(--sticker-shadow);
}

.brand {
  gap: 13px;
}

.brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
  box-shadow: 0 3px 0 var(--sticker-shadow);
  transition: transform 0.35s var(--ease);
}

.brand:hover .brand-mark {
  transform: scale(1.04);
}

.brand-text strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.brand-text small {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.site-nav {
  gap: 3px;
  padding: 4px;
  background: var(--cream-deep);
  border: 2px solid #f1d7cf;
  border-radius: 999px;
}

.site-nav a {
  gap: 7px;
  padding: 7px 15px;
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 999px;
}

.site-nav .nav-no {
  color: var(--ink-faint);
  font-family: var(--font-display);
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.02em;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.8);
}

.site-nav a[aria-current="page"] {
  color: #fffdf8;
  background: var(--rose-deep);
  box-shadow: 0 3px 0 #e9bcc7;
}

.site-nav a[aria-current="page"] .nav-no {
  color: #ffe5ec;
}

.head-side {
  gap: 14px;
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.head-side .head-date {
  padding-right: 0;
  border-right: 0;
}

.head-side .back-table {
  gap: 7px;
  padding: 5px 6px 5px 12px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.05em;
  background: #fffdf8;
  border: 2px solid var(--outline-soft);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--sticker-shadow);
}

.head-side .back-table span {
  width: 22px;
  height: 22px;
  font-size: 12px;
  border: 0;
  background: var(--rose-soft);
}

.head-side .back-table:hover {
  color: var(--ink);
  background: var(--rose-wash);
  border-color: var(--rose);
}

.head-side .back-table:hover span {
  color: #fffdf8;
  background: var(--rose-deep);
}

/* ---------------------------------------------------------
   Cover
   --------------------------------------------------------- */

.cover {
  grid-template-columns: minmax(290px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(18px, 3vw, 54px);
  padding-top: clamp(118px, 14vh, 154px);
}

.cover::before {
  content: none;
}

.cover::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 6%;
  width: 26px;
  height: 26px;
  pointer-events: none;
  background:
    radial-gradient(circle, var(--rose) 0 4px, transparent 5px) 0 0 / 13px 13px,
    radial-gradient(circle, var(--butter) 0 4px, transparent 5px) 6px 6px / 13px 13px;
  opacity: 0.8;
  transform: rotate(8deg);
}

.cover-intro {
  max-width: 470px;
  padding-left: clamp(0px, 1vw, 14px);
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  padding: 7px 14px;
  color: #a96f78;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: var(--rose-soft);
  border: 2px solid #f5c9d3;
  border-radius: 999px;
  box-shadow: 0 3px 0 #f8dfe4;
}

.eyebrow::before {
  display: none;
}

.eyebrow .eyebrow-no {
  color: #c4697e;
}

.cover-title {
  margin-top: clamp(22px, 3.4vh, 34px);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(54px, 7vw, 100px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
}

.cover-title .title-accent {
  width: fit-content;
  margin-top: 0.06em;
  padding: 0 0.14em 0.04em;
  color: #cf7489;
  background: #ffe7ec;
  border: 2px solid #f6c6d1;
  border-radius: 16px;
  box-shadow: 0 7px 0 #f7d7dd;
}

.cover-title .title-accent::after {
  content: none;
}

.cover-en {
  margin-top: 18px;
  color: #c07f8b;
  font-family: var(--font-hand);
  font-size: clamp(15px, 1.35vw, 19px);
  font-style: normal;
  letter-spacing: 0.01em;
  transform: rotate(-0.8deg);
}

.cover-lead {
  max-width: 340px;
  min-height: 0;
  margin-top: clamp(32px, 5vh, 46px);
  padding: 16px 22px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: 0.04em;
  background: #fffdf8;
  border: 2px dashed #efc9c6;
  border-radius: 22px;
}

.cover-lead::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: #fffdf8;
  border-right: 2px dashed #efc9c6;
  border-bottom: 2px dashed #efc9c6;
  border-radius: 0 0 5px 0;
  transform: rotate(45deg);
}

.lead-cut {
  color: var(--ink);
}

.cover-signature {
  gap: 13px;
  margin-top: clamp(22px, 3.4vh, 34px);
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.seal {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  box-shadow: 0 4px 0 var(--sticker-shadow);
}

.seal::after {
  content: none;
}

.scene-wrap {
  width: min(100%, 64vw, calc(100svh - 200px), 790px);
}

/* both circles are anchored to the cake scene, so their centres sit on the cake */
.scene::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 114%;
  aspect-ratio: 1;
  z-index: -1;
  background: #fde9ec;
  border: 3px dashed #f3c8d1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.scene::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 97%;
  aspect-ratio: 1;
  z-index: -1;
  background: #fff3f5;
  border: 3px dashed #f3ccd4;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.table-ring {
  stroke: #f0c8ce;
  stroke-width: 2;
  stroke-dasharray: 2 12;
}

.table-ring--inner {
  stroke: #f7dde1;
  stroke-width: 1.5;
  stroke-dasharray: 2 14;
}

.scene-svg {
  overflow: visible;
}

/* the cake, plate and cutlery keep their original hand-painted look */

.scene-hint {
  bottom: -2%;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #fffdf8;
  border: 2px solid var(--outline-soft);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--sticker-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.scene-hint .hint-dot {
  width: 14px;
  height: 14px;
  background: var(--rose-deep);
  box-shadow: 0 0 0 3px var(--rose-soft);
}

.scene-hint:hover {
  color: var(--ink);
  background: #fff6f8;
  border-color: var(--rose);
  box-shadow: 0 7px 0 var(--sticker-shadow);
  transform: translateX(-50%) translateY(-2px);
}

.scene-hint[disabled] {
  opacity: 0.6;
}

.scene-hint[disabled]:hover {
  background: #fffdf8;
  border-color: var(--outline-soft);
  box-shadow: 0 5px 0 var(--sticker-shadow);
  transform: translateX(-50%);
}

.scene.is-cut .scene-hint {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
}

.slice-label {
  gap: 9px;
  min-height: 46px;
  padding: 6px 7px 6px 8px;
  background: #fffdf8;
  border: 2px solid var(--outline-soft);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--sticker-shadow);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.slice-label:hover {
  background: #fff7f9;
  border-color: var(--rose);
  box-shadow: 0 7px 0 var(--sticker-shadow);
}

.slice-label .slice-no {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  color: #fffdf8;
  font-family: var(--font-display);
  font-size: 10px;
  font-style: normal;
  background: var(--rose-deep);
  border-radius: 50%;
}

.slice-label .slice-name {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.slice-label .slice-name em {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.slice-label .slice-arrow {
  width: 27px;
  height: 27px;
  margin-left: 0;
  color: var(--ink-soft);
  font-size: 12px;
  background: var(--rose-soft);
  border: 0;
}

.slice-label:hover .slice-arrow {
  color: #fffdf8;
  background: var(--rose-deep);
  transform: rotate(45deg);
}

.cake-zone {
  border-radius: 40% 40% 30% 30%;
}

.scene.is-cut .cake-zone:hover,
.scene.is-cut .cake-zone:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7);
}

.cover-foot {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.cover-foot .foot-left::before {
  width: 18px;
  height: 2px;
  background: var(--rose);
  border-radius: 99px;
}

.reset-cake {
  padding: 5px 13px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: #fffdf8;
  border: 2px solid var(--outline-soft);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--sticker-shadow);
}

.reset-cake:hover {
  color: var(--ink);
  background: var(--rose-wash);
  border-color: var(--rose);
}

/* ---------------------------------------------------------
   Interior pages — common
   --------------------------------------------------------- */

.page-main {
  padding-top: clamp(128px, 16vh, 172px);
}

.page-head {
  padding-bottom: clamp(30px, 4vw, 50px);
  border-bottom: 2px dashed #f0d3ce;
}

.page-kicker {
  display: inline-flex;
  gap: 9px;
  margin-bottom: clamp(18px, 2.6vw, 30px);
  padding: 7px 14px;
  color: #a96f78;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--rose-soft);
  border: 2px solid #f5c9d3;
  border-radius: 999px;
  box-shadow: 0 3px 0 #f8dfe4;
  text-transform: uppercase;
}

.page-kicker::before {
  display: none;
}

.page-kicker .kicker-no {
  color: #c4697e;
}

.page-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.01em;
}

.page-title .title-accent {
  color: #cf7489;
  padding: 0 0.05em;
  background-image: linear-gradient(180deg, transparent 78%, #fbe0e6 78%);
  background-repeat: no-repeat;
  background-size: calc(100% - 0.58em) 100%;
  background-position: left top;
  border-radius: 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-decoration: none;
}

.page-lead {
  max-width: 420px;
  padding: 16px 20px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
  letter-spacing: 0.03em;
  background: #fffdf8;
  border: 2px dashed #efc9c6;
  border-radius: 24px;
}

.page-lead--offset {
  justify-self: end;
}

.page-body {
  padding-top: clamp(44px, 6vw, 78px);
}

.next-slice {
  align-items: center;
  gap: 26px;
  margin-top: clamp(64px, 8vw, 112px);
  padding: clamp(24px, 2.8vw, 34px) clamp(24px, 3.2vw, 40px);
  background: #fffdf8;
  border: 3px solid var(--outline-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 0 var(--sticker-shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}

.next-slice-copy {
  gap: 5px;
}

.next-slice-copy small {
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: none;
}

.next-slice-copy strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.2;
}

.next-slice-arrow {
  width: clamp(48px, 4.6vw, 64px);
  height: clamp(48px, 4.6vw, 64px);
  color: #fffdf8;
  font-size: 20px;
  background: var(--rose-deep);
  border: 2px solid var(--outline);
  border-radius: 50%;
  box-shadow: 0 4px 0 var(--sticker-shadow);
}

.next-slice:hover {
  background: #fff7f9;
  border-color: var(--rose);
  box-shadow: 0 11px 0 var(--sticker-shadow);
  transform: translateY(-3px);
}

.next-slice:hover .next-slice-copy strong {
  color: var(--rose-deep);
}

.next-slice:hover .next-slice-arrow {
  color: #fffdf8;
  background: #c96f86;
  border-color: var(--outline);
  transform: rotate(45deg);
}

.page-footer {
  padding: 26px 0 34px;
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.page-footer .footer-dot {
  width: 8px;
  height: 8px;
  background: var(--rose);
  border: 2px solid var(--outline-soft);
}

/* ---------------------------------------------------------
   About
   --------------------------------------------------------- */

.about-body {
  gap: clamp(42px, 7vw, 108px);
}

.portrait {
  max-width: 570px;
}

.portrait::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  z-index: 3;
  width: 132px;
  height: 34px;
  background: rgba(246, 226, 173, 0.88);
  border: 2px dashed #e6cc8f;
  border-radius: 6px;
  transform: translateX(-50%) rotate(-3deg);
  pointer-events: none;
}

.portrait-frame {
  padding: 14px;
  background: #fff8f1;
  border: 3px solid var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 0 var(--sticker-shadow);
}

.portrait-frame::after {
  content: none;
}

.portrait-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 28px;
  filter: saturate(0.95) brightness(1.02);
  transition: transform 1.2s var(--ease);
}

.portrait:hover .portrait-photo {
  transform: scale(1.018);
}

.portrait-frame svg {
  border-radius: 36px;
}

.portrait-caption {
  padding: 14px 6px 0;
  color: var(--ink-faint);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: none;
}

.portrait-caption .caption-line {
  height: 2px;
  background: repeating-linear-gradient(90deg, #efcbc7 0 6px, transparent 6px 12px);
}

.portrait-caption .caption-stamp {
  color: var(--rose-deep);
  font-family: var(--font-hand);
  font-style: normal;
}

.about-lead {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.about-lead em {
  color: var(--rose-deep);
  font-style: normal;
  text-decoration: underline wavy;
  text-decoration-color: #f4c2cd;
  text-decoration-thickness: 4px;
  text-underline-offset: 7px;
}

.about-text {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 2;
}

.facts {
  gap: 10px;
  margin-top: clamp(32px, 4vw, 48px);
}

.fact {
  gap: 3px;
  padding: 11px 14px;
  background: #fffdf8;
  border: 2px solid var(--outline-soft);
  border-radius: 18px;
  box-shadow: 0 3px 0 var(--sticker-shadow);
}

.fact:nth-child(3n + 1) {
  background: var(--rose-soft);
  border-color: #f4c8d1;
}

.fact:nth-child(3n + 2) {
  background: var(--mint-soft);
  border-color: #cfe9da;
}

.fact:nth-child(3n + 3) {
  background: var(--butter-soft);
  border-color: #f0dfb0;
}

.fact:hover {
  background: #fffdf8;
  border-color: var(--rose);
  transform: translateY(-2px);
}

.fact dt {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
}

.fact dd {
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
}

.skills {
  margin-top: 26px;
}

.skills-head {
  padding-bottom: 9px;
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  border-bottom: 2px dashed #efd4cf;
}

.skills-head span:first-child {
  color: var(--ink-soft);
}

.skill-tags {
  gap: 8px;
  margin-top: 13px;
}

.skill-tags span {
  min-height: 31px;
  padding: 5px 13px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 500;
  background: #fffdf8;
  border: 2px solid var(--outline-soft);
  border-radius: 999px;
  box-shadow: 0 2px 0 var(--sticker-shadow);
}

.skill-tags span:nth-child(4n + 1) {
  background: var(--rose-soft);
  border-color: #f6ccd4;
}

.skill-tags span:nth-child(4n + 2) {
  background: var(--mint-soft);
  border-color: #cfe9da;
}

.skill-tags span:nth-child(4n + 3) {
  background: var(--butter-soft);
  border-color: #f0dfb0;
}

.skill-tags span:nth-child(4n + 4) {
  background: var(--lilac-soft);
  border-color: #e3d5ef;
}

.skill-tags span:hover {
  color: var(--rose-deep);
  background: #fffdf8;
  border-color: var(--rose);
  transform: translateY(-2px);
}

.trait-note {
  gap: 16px;
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--butter-soft);
  border: 2px dashed #ecd8a3;
  border-radius: 24px;
}

.trait-label {
  padding-top: 1px;
  color: #b98543;
  font-family: var(--font-display);
  font-size: 14px;
  font-style: normal;
  white-space: nowrap;
}

.trait-note p {
  color: #7f6a51;
  font-size: 11px;
  line-height: 1.9;
}

.now-strip {
  gap: 12px;
  margin-top: 18px;
  padding: 14px 18px;
  color: #5d7167;
  font-size: 11px;
  line-height: 1.8;
  background: var(--mint-soft);
  border: 2px dashed #c3e3d1;
  border-radius: 22px;
}

.now-strip .now-dot {
  width: 9px;
  height: 9px;
  margin-top: 6px;
  background: #7fbfa0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(127, 191, 160, 0.18);
}

.about-quote {
  gap: clamp(20px, 4vw, 54px);
  margin-top: clamp(62px, 8vw, 104px);
  padding: clamp(34px, 4.4vw, 54px) clamp(26px, 4vw, 52px);
  background: var(--rose-soft);
  border: 3px solid #f2bdc9;
  border-radius: var(--radius-lg);
  box-shadow: 0 9px 0 #f8d9df;
}

.quote-mark {
  color: #fffdf8;
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 96px);
  line-height: 0.9;
  text-shadow: 2px 2px 0 #eaa3b4;
}

.quote-copy blockquote {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.quote-copy blockquote em {
  color: #b2536c;
  font-style: normal;
  white-space: nowrap;
}

.quote-copy cite {
  margin-top: 20px;
  color: #a57680;
  font-family: var(--font-hand);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* ---------------------------------------------------------
   Picture books — feature
   --------------------------------------------------------- */

.book-feature-kicker {
  gap: 8px;
  padding: 7px 14px;
  color: #b0697a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: #fff;
  border: 2px solid #f3c8d1;
  border-radius: 999px;
  box-shadow: 0 3px 0 #f8dfe4;
}

.book-feature-kicker::before {
  width: 8px;
  height: 8px;
  background: var(--rose-deep);
}

.book-feature-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.01em;
}

.book-feature-title em {
  margin-top: 4px;
  color: #c48190;
  font-family: var(--font-hand);
  font-size: 0.33em;
  font-style: normal;
  letter-spacing: 0.01em;
}

.book-feature-note {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.95;
}

.book-feature-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 2px dashed #f0d3ce;
}

.book-stage {
  background: #fbe7e9;
  border: 3px solid var(--outline-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 9px 0 var(--sticker-shadow);
}

.book-spread::after {
  top: 5%;
  bottom: 5%;
  width: 2px;
  background: repeating-linear-gradient(180deg, #e8bfc1 0 8px, transparent 8px 16px);
  box-shadow: none;
}

.book-page {
  padding: clamp(38px, 4.6vw, 68px);
}

.book-page--text {
  background: #fffaef;
}

.book-page--art {
  background: #fbe9e7;
}

.book-page--text::after {
  inset: 18px;
  border: 2px dashed #f0d6c8;
  border-radius: 26px;
}

.story-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: clamp(18px, 2.6vw, 30px);
  padding: 5px 11px;
  color: #b0697a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: #fff;
  border: 2px solid #f4cdd4;
  border-radius: 999px;
  text-transform: none;
}

.story-text {
  max-width: 460px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(21px, 1.9vw, 29px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.02em;
}

.story-text em {
  color: var(--rose-deep);
  font-style: normal;
  text-decoration: underline wavy;
  text-decoration-color: #f3b6c4;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.story-sign {
  margin-top: clamp(24px, 3.4vw, 40px);
  color: #a98b84;
  font-family: var(--font-hand);
  font-size: 15px;
  font-style: normal;
  letter-spacing: 0.01em;
}

.page-number {
  color: #b39a93;
  font-family: var(--font-hand);
  font-size: 12px;
  font-style: normal;
}

.book-art svg {
  border-radius: 26px;
}

.book-controls {
  padding: 16px 4px 0;
}

.book-next {
  gap: 10px;
  padding: 9px 10px 9px 18px;
  color: #fffdf8;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--rose-deep);
  border: 2px solid var(--outline);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--sticker-shadow);
}

.book-next-arrow {
  width: 23px;
  height: 23px;
  color: var(--rose-deep);
  font-size: 12px;
  background: #fffdf8;
}

.book-next:hover {
  background: #c96f86;
  box-shadow: 0 6px 0 var(--sticker-shadow);
  transform: translateY(-2px);
}

.book-counter {
  color: var(--ink-faint);
  font-family: var(--font-hand);
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.01em;
}

.book-counter::before {
  width: 24px;
  height: 2px;
  background: #efc8cb;
  border-radius: 99px;
}

/* ---------------------------------------------------------
   Picture book reader
   --------------------------------------------------------- */

.book-reader-backdrop {
  background: rgba(74, 48, 54, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.reader-head {
  width: min(100%, var(--reader-book-width));
}

.reader-kicker {
  color: rgba(255, 249, 244, 0.7);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.reader-title {
  color: #fff9f2;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 400;
  letter-spacing: 0.04em;
}

.reader-tap-hint {
  color: rgba(255, 249, 244, 0.6);
  font-size: 9px;
}

.reader-close {
  width: 44px;
  height: 44px;
  color: var(--ink);
  font-size: 20px;
  background: #fffdf8;
  border: 2px solid var(--outline);
  border-radius: 50%;
  box-shadow: 0 4px 0 rgba(74, 45, 45, 0.3);
}

.reader-close:hover {
  color: #fffdf8;
  background: var(--rose-deep);
  border-color: var(--outline);
}

.reader-book {
  filter: none;
}

.reader-spread {
  background: #fffaef;
  border: 3px solid var(--outline);
  border-radius: 30px;
  box-shadow:
    0 14px 0 rgba(56, 33, 37, 0.28),
    0 30px 60px rgba(74, 45, 45, 0.24);
}

.reader-page {
  background: #fffaef;
}

.reader-page--left {
  border-right: 2px dashed #e9c8bf;
}

/* 整幅跨页画面从书脊连过去，不再画虚线中缝 */
.reader-book.is-fullspread .reader-page--left {
  border-right: 0;
}

.reader-gutter {
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(177, 111, 114, 0.35) 0 8px, transparent 8px 16px);
  box-shadow: none;
}

.reader-page-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: clamp(18px, 3vh, 30px);
  padding: 5px 10px;
  color: #b0697a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--rose-soft);
  border: 2px solid #f5cbd4;
  border-radius: 999px;
  text-transform: none;
}

.reader-story-text {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(19px, 1.75vw, 26px);
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.02em;
}

.reader-story-text em {
  color: var(--rose-deep);
  font-style: normal;
  text-decoration: underline wavy;
  text-decoration-color: #f3b6c4;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.reader-sign {
  color: #a98b84;
  font-family: var(--font-hand);
  font-size: 15px;
  font-style: normal;
}

.reader-page-number {
  color: #b39a93;
  font-family: var(--font-hand);
  font-size: 12px;
  font-style: normal;
}

.reader-title-page {
  background: #fff4f5;
}

.reader-title-page::after {
  width: 210px;
  height: 210px;
  border: 3px dashed #f3c5d0;
}

.reader-title-page .reader-book-name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 62px);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.reader-title-page .reader-book-en {
  color: #c48190;
  font-family: var(--font-hand);
  font-size: clamp(15px, 1.4vw, 20px);
  font-style: normal;
}

.reader-title-page .reader-intro {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.95;
}

.reader-title-page .reader-author {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.reader-cover-page {
  background: #fbe7e8;
}

.reader-cover-page::before {
  content: none;
}

.reader-cover-kicker,
.reader-cover-foot,
.reader-cover-en {
  color: #fff8ef;
}

.reader-cover-overlay {
  align-items: center;
  justify-content: center;
  padding: clamp(26px, 3.6vw, 48px);
  color: var(--ink);
  text-shadow: none;
}

.reader-cover-kicker {
  position: absolute;
  top: clamp(22px, 3vw, 38px);
  left: clamp(18px, 3vw, 32px);
  padding: 6px 12px;
  color: #8f6761;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: #fffbf2;
  border: 2px solid #f0c9cc;
  border-radius: 999px;
  opacity: 1;
  white-space: nowrap;
}

.reader-cover-overlay > div {
  padding: clamp(14px, 1.8vw, 20px) clamp(22px, 3vw, 34px) clamp(16px, 2vw, 22px);
  text-align: center;
  background: #fffbf2;
  border: 3px solid var(--outline-soft);
  border-radius: 28px;
  box-shadow: 0 7px 0 rgba(143, 103, 97, 0.16);
}

.reader-cover-title {
  max-width: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(38px, 3.6vw, 56px);
  font-weight: 400;
  letter-spacing: 0.03em;
}

.reader-cover-en {
  margin-top: 4px;
  color: #b0697a;
  font-family: var(--font-hand);
  font-size: clamp(15px, 1.4vw, 20px);
  font-style: normal;
}

.reader-cover-foot {
  display: none;
}

.reader-art-frame > svg {
  border-radius: 26px;
}

.reader-quote-page {
  background: var(--butter-soft);
}

.reader-quote-text {
  color: var(--ink);
  font-family: var(--font-display);
}

.reader-quote-note {
  color: #a98b84;
  font-family: var(--font-hand);
}

/* image-type reader pages — preserve original image dimensions */
.reader-image-page {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fffaef;
  padding: 0;
  overflow: hidden;
}

.reader-image-page img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

/* 整面跨页图：同一张 2:1 图片分左右两半，拼成一个连续跨页 */
.reader-wide-page {
  padding: 0;
  background-color: #fffaf3;
  background-repeat: no-repeat;
  background-size: 200% 100%;
  background-position: left center;
}

.reader-wide-page[data-side="right"] {
  background-position: right center;
}

.reader-book.is-fullspread .reader-gutter {
  opacity: 0;
}

.reader-book.is-fullspread .reader-page {
  background: #fffaf3;
}

/* 封面 / 封底对面的留白环衬页 */
.reader-endpaper-page {
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.85), transparent 62%),
    #fdf3ea;
}

.reader-endpaper-page::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(48%, 310px);
  aspect-ratio: 1;
  border: 2px dashed #f0d6cf;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.reader-endpaper-mark {
  position: relative;
  z-index: 1;
  color: #cbb3a8;
  font-size: 9px;
  letter-spacing: 0.24em;
}

@media (max-width: 760px) {
  .reader-image-page.is-fill img {
    border-radius: 0;
  }
}

/* mybook cover preview on page */
.book-stage--mybook {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 30px);
  min-height: clamp(500px, 56vw, 780px);
  padding: clamp(32px, 4vw, 52px) clamp(20px, 3.6vw, 50px);
  isolation: isolate;
}

.book-stage--mybook::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: min(82%, 700px);
  aspect-ratio: 1;
  background: #fff3f5;
  border: 3px dashed #f3ccd4;
  border-radius: 50%;
  transform: translate(-50%, -54%);
  pointer-events: none;
}

.mybook-cover {
  position: relative;
  width: clamp(320px, 48vw, 620px);
  max-width: 100%;
  cursor: pointer;
  border-radius: 24px;
  overflow: hidden;
  background: #fffaef;
  box-shadow: 0 12px 0 var(--sticker-shadow), 0 22px 46px rgba(143, 103, 97, 0.2);
  border: 3px solid var(--outline-soft);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.mybook-cover:hover,
.mybook-cover:focus-visible {
  transform: translateY(-5px) rotate(-1deg);
  box-shadow: 0 17px 0 var(--sticker-shadow), 0 26px 54px rgba(143, 103, 97, 0.24);
  border-color: var(--rose);
}

.mybook-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.mybook-caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
  text-align: center;
}

.mybook-caption-name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.04em;
}

.mybook-caption-en {
  color: #c48190;
  font-family: var(--font-hand);
  font-size: 13px;
}

.mybook-caption-meta {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.mybook-cover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 22px;
  background: linear-gradient(180deg, transparent 50%, rgba(93, 71, 68, 0.45) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.mybook-cover:hover .mybook-cover-overlay,
.mybook-cover:focus-visible .mybook-cover-overlay {
  opacity: 1;
}

.mybook-cover-hint {
  padding: 6px 14px;
  color: #fffdf8;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background: var(--rose-deep);
  border: 2px solid var(--outline);
  border-radius: 999px;
  box-shadow: 0 3px 0 rgba(56, 33, 37, 0.22);
  white-space: nowrap;
}

.reader-nav {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  background: #fffdf8;
  border: 2px solid var(--outline);
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(56, 33, 37, 0.28);
}

.reader-nav:hover:not(:disabled) {
  color: #fffdf8;
  background: var(--rose-deep);
}

.reader-nav:disabled {
  opacity: 0.4;
}

.reader-nav--next {
  color: #fffdf8;
  background: var(--rose-deep);
}

.reader-nav--next:hover:not(:disabled) {
  background: #c96f86;
}

.reader-progress {
  color: #fff9f2;
  font-family: var(--font-hand);
  font-size: 13px;
}

.reader-leaf-face,
.reader-leaf-front,
.reader-leaf-back {
  background: #fffaef;
}

/* ---------------------------------------------------------
   Works
   --------------------------------------------------------- */

.works-frame {
  background: #fbe9e7;
  border: 3px solid var(--outline-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 9px 0 var(--sticker-shadow);
}

.works-image {
  filter: none;
}

.modal-art-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
}

.modal-art img {
  object-fit: contain;
  padding: 14px;
  background: #fbe9e7;
}

.modal-art-link::after {
  content: "点击查看大图 ↗";
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 5px 11px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #fffdf8;
  border: 2px solid var(--outline-soft);
  border-radius: 999px;
  box-shadow: 0 3px 0 var(--sticker-shadow);
  pointer-events: none;
}

.works-caption {
  margin-top: 16px;
  padding: 0 6px;
}

.works-caption-no {
  color: var(--rose-deep);
  font-family: var(--font-display);
  font-size: 15px;
  font-style: normal;
}

.works-caption-name {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: 0.02em;
}

.works-caption-name em {
  color: var(--ink-faint);
  font-family: var(--font-hand);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.works-caption-meta {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.works-hint {
  display: inline-flex;
  float: right;
  margin-top: 15px;
  padding: 6px 13px;
  color: #a96f78;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--butter-soft);
  border: 2px dashed #ecd8a3;
  border-radius: 999px;
}

.kitchen-spot {
  border-radius: 26px;
}

.kitchen-spot:hover,
.kitchen-spot:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  border: 2px dashed rgba(143, 103, 97, 0.55);
  box-shadow: none;
}

.spot-pill {
  gap: 7px;
  padding: 5px 8px 5px 6px;
  background: #fffdf8;
  border: 2px solid var(--outline-soft);
  border-radius: 999px;
  box-shadow: 0 4px 0 rgba(143, 103, 97, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.spot-pill::after {
  border: 2px solid rgba(217, 126, 148, 0.5);
}

.spot-no {
  width: 23px;
  height: 23px;
  color: #fffdf8;
  font-family: var(--font-display);
  font-size: 9px;
  font-style: normal;
  background: var(--rose-deep);
}

.spot-name {
  color: var(--ink);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.spot-name em {
  color: #a98b84;
  font-family: var(--font-hand);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.01em;
}

.spot-arrow {
  width: 21px;
  height: 21px;
  color: var(--ink-soft);
  background: var(--rose-soft);
  border: 0;
}

.kitchen-spot:hover .spot-pill {
  background: #fff;
  box-shadow: 0 6px 0 rgba(143, 103, 97, 0.2);
}

/* ---------------------------------------------------------
   Work modal
   --------------------------------------------------------- */

.modal-backdrop {
  background: rgba(74, 48, 54, 0.5);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.modal-panel {
  background: #fffaef;
  border: 3px solid var(--outline);
  border-radius: var(--radius-lg);
  box-shadow: 0 14px 0 rgba(74, 45, 45, 0.22);
}

.modal-art {
  background: #fbe9e7;
}

.modal-kicker {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 16px;
  padding: 5px 10px;
  color: #b0697a;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: var(--rose-soft);
  border: 2px solid #f5cbd4;
  border-radius: 999px;
  text-transform: none;
}

.modal-kicker::before {
  display: none;
}

.modal-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.16;
}

.modal-subtitle {
  margin-top: 6px;
  color: #c48190;
  font-family: var(--font-hand);
  font-size: 15px;
  font-style: normal;
}

.modal-desc {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 2;
}

.modal-facts {
  gap: 14px 22px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 2px dashed #efd4cf;
}

.modal-fact dt {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 600;
}

.modal-fact dd {
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
}

.modal-tags span {
  padding: 5px 11px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 500;
  background: var(--rose-soft);
  border: 2px solid #f5cbd4;
  border-radius: 999px;
}

.modal-note {
  margin-top: 28px;
  padding-top: 16px;
  color: var(--ink-faint);
  font-size: 10px;
  border-top: 2px dashed #efd4cf;
}

.modal-note a {
  color: var(--rose-deep);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.modal-close {
  width: 44px;
  height: 44px;
  color: var(--ink);
  font-size: 20px;
  background: #fffdf8;
  border: 2px solid var(--outline);
  border-radius: 50%;
  box-shadow: 0 4px 0 var(--sticker-shadow);
  backdrop-filter: none;
}

.modal-close:hover {
  color: #fffdf8;
  background: var(--rose-deep);
  border-color: var(--outline);
}

/* ---------------------------------------------------------
   Responsive tuning for the new type scale
   --------------------------------------------------------- */

@media (max-width: 1240px) {
  .cover-title {
    font-size: clamp(50px, 6.4vw, 84px);
  }

  .page-title {
    font-size: clamp(44px, 5.6vw, 76px);
  }
}

@media (max-width: 1080px) {
  .site-head {
    grid-template-columns: auto 1fr auto;
  }

  .cover-title {
    font-size: clamp(48px, 6.6vw, 74px);
  }
}

@media (max-width: 900px) {
  .site-head {
    top: 10px;
    padding: 7px 8px 7px 12px;
  }

  .cover {
    padding-top: 104px;
    padding-bottom: 76px;
  }

  .cover-title {
    font-size: clamp(50px, 11vw, 76px);
  }

  .scene-wrap {
    width: min(94vw, 640px);
    margin-top: 20px;
  }

  .page-main {
    padding-top: 118px;
  }

  .page-title {
    font-size: clamp(44px, 8.4vw, 72px);
  }

  .about-lead {
    font-size: clamp(20px, 3vw, 26px);
  }
}

@media (max-width: 640px) {
  .veil-mark {
    width: 66px;
    height: 66px;
  }

  .site-head {
    top: 8px;
    border-width: 2px;
    border-radius: 26px;
    box-shadow: 0 4px 0 var(--sticker-shadow);
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px 15px 13px 16px;
  }

  .brand-text strong {
    font-size: 14px;
  }

  .brand-text small {
    display: none;
  }

  .site-nav {
    padding: 3px;
  }

  .site-nav a {
    gap: 4px;
    padding: 6px 9px;
    font-size: 10px;
  }

  .site-nav .nav-no {
    font-size: 8px;
  }

  .cover {
    padding-top: 92px;
  }

  .cover-title {
    margin-top: 20px;
    font-size: clamp(46px, 13.5vw, 64px);
  }

  .cover-title .title-accent {
    border-radius: 14px;
    box-shadow: 0 5px 0 #f7d7dd;
  }

  .cover-title .title-accent::after {
    font-size: 0.22em;
    right: -0.4em;
  }

  .cover::after {
    display: none;
  }

  .eyebrow {
    padding: 6px 11px;
    font-size: 8px;
  }

  .cover-en {
    font-size: 14px;
  }

  .cover-lead {
    padding: 13px 16px;
    font-size: 12px;
  }

  .seal {
    width: 48px;
    height: 48px;
  }

  .scene-hint {
    font-size: 10px;
  }

  .slice-label {
    min-height: 38px;
    padding: 4px 5px 4px 6px;
  }

  .slice-label .slice-no {
    width: 23px;
    height: 23px;
    font-size: 9px;
  }

  .slice-label .slice-name {
    font-size: 11px;
  }

  .slice-label .slice-name em {
    font-size: 6px;
  }

  .slice-label .slice-arrow {
    width: 23px;
    height: 23px;
    font-size: 10px;
  }

  .page-kicker {
    padding: 6px 11px;
    font-size: 8px;
  }

  .page-title {
    font-size: clamp(40px, 11.5vw, 58px);
  }

  .page-title .title-accent {
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
  }

  .page-lead {
    padding: 13px 16px;
    font-size: 12px;
  }

  .next-slice {
    padding: 22px 20px;
    border-radius: 30px;
  }

  .next-slice-copy small {
    font-size: 8px;
  }

  .next-slice-copy strong {
    font-size: 28px;
  }

  .about-quote {
    padding: 26px 22px;
    border-radius: 30px;
  }

  .quote-copy blockquote {
    font-size: clamp(22px, 6.6vw, 30px);
  }

  .book-feature-title {
    font-size: clamp(32px, 9vw, 44px);
  }

  .story-text {
    font-size: clamp(19px, 5.4vw, 24px);
  }

  .book-page {
    padding: 30px 26px;
  }

  .book-stage {
    border-radius: 30px;
  }

  .spot-pill {
    gap: 4px;
    padding: 3px 6px 3px 4px;
  }

  .spot-no {
    width: 18px;
    height: 18px;
    font-size: 8px;
  }

  .spot-name {
    font-size: 8px;
    line-height: 1.3;
  }

  .spot-name em {
    font-size: 8px;
  }

  .spot-arrow {
    display: none;
  }

  .reader-spread {
    border-radius: 22px;
  }

  .reader-title-page .reader-book-name {
    font-size: clamp(34px, 9vw, 46px);
  }

  .modal-panel {
    border-radius: 30px;
  }

  .modal-title {
    font-size: clamp(30px, 9vw, 42px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .spot-pill,
  .spot-pill::after,
  .scene-hint .hint-dot {
    animation: none;
  }
}

@media (max-width: 900px) {
  .modal-art {
    aspect-ratio: 4 / 5;
    min-height: 420px;
  }

  .modal-art img {
    padding: 10px;
  }

  .modal-art-link::after {
    right: 12px;
    bottom: 12px;
  }

  .scene::before {
    width: 106%;
  }

  .scene::after {
    width: 90%;
  }
}

/* ---------------------------------------------------------
   Contact — a note on the table
   --------------------------------------------------------- */

.contact-body {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(24px, 3.2vw, 48px);
  align-items: stretch;
}

.contact-panel,
.note-board {
  position: relative;
  background: #fffdf8;
  border: 3px solid var(--outline-soft);
  border-radius: var(--radius-lg);
  box-shadow: 0 9px 0 var(--sticker-shadow);
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 22px);
  padding: clamp(24px, 2.8vw, 38px);
}

.contact-panel-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  color: #a96f78;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: var(--rose-soft);
  border: 2px solid #f5c9d3;
  border-radius: 999px;
  box-shadow: 0 3px 0 #f8dfe4;
}

.contact-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--rose-deep);
  border-radius: 50%;
}

.contact-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.contact-note {
  max-width: 420px;
  color: var(--ink-faint);
  font-size: 11px;
  line-height: 1.9;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 14px;
  color: var(--ink);
  text-align: left;
  background: #fffaf3;
  border: 2px solid #f0d9d4;
  border-radius: 22px;
  box-shadow: 0 4px 0 #f7e2df;
  cursor: pointer;
  transition:
    transform 0.3s var(--ease),
    background 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.contact-card:hover,
.contact-card:focus-visible {
  background: var(--rose-wash);
  border-color: var(--rose);
  box-shadow: 0 6px 0 #f6d9de;
  transform: translateY(-2px);
}

.contact-card.is-copied {
  background: var(--mint-soft);
  border-color: #a9d8bd;
  box-shadow: 0 4px 0 #cbe8d7;
}

.contact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--outline);
  background: var(--rose-soft);
  border: 2px solid #f5c9d3;
  border-radius: 16px 18px 15px 19px;
}

.contact-card--wechat .contact-icon {
  background: var(--mint-soft);
  border-color: #c9e5d5;
}

.contact-card--phone .contact-icon {
  background: var(--butter-soft);
  border-color: #f0dfae;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.contact-label {
  color: var(--ink-faint);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-label em {
  margin-left: 6px;
  color: #c48190;
  font-family: var(--font-hand);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.02em;
  text-transform: none;
}

.contact-value {
  overflow: hidden;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-action {
  flex: 0 0 auto;
  margin-left: auto;
  padding: 5px 11px;
  color: #a96f78;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: var(--rose-soft);
  border: 2px solid #f5c9d3;
  border-radius: 999px;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.contact-card:hover .contact-action {
  color: #fffdf8;
  background: var(--rose-deep);
  border-color: var(--rose-deep);
}

.contact-card.is-copied .contact-action {
  color: #fffdf8;
  background: #7fbf9d;
  border-color: #7fbf9d;
}

.contact-now {
  max-width: none;
  margin-top: auto;
  padding: 13px 16px;
  font-size: 11px;
}

/* the note pad */

.note-board-wrap {
  display: flex;
  min-width: 0;
}

.note-board {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  gap: 15px;
  padding: clamp(26px, 3vw, 38px);
  background: #fff7ea;
  transform: rotate(-0.6deg);
  transition: transform 0.45s var(--ease);
}

.note-board:focus-within {
  transform: rotate(0deg);
}

.note-board::before,
.note-board::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(143, 103, 97, 0.08);
}

.note-board::before {
  top: -15px;
  left: 54px;
  width: 116px;
  height: 30px;
  background: rgba(244, 184, 197, 0.72);
  border-right: 2px dashed rgba(255, 255, 255, 0.75);
  border-left: 2px dashed rgba(255, 255, 255, 0.75);
  transform: rotate(-5deg);
}

.note-board::after {
  top: -11px;
  right: 44px;
  width: 76px;
  height: 26px;
  background: rgba(246, 226, 173, 0.82);
  border-right: 2px dashed rgba(255, 255, 255, 0.65);
  border-left: 2px dashed rgba(255, 255, 255, 0.65);
  transform: rotate(4deg);
}

.note-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.note-kicker {
  color: #b98543;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.note-title {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 400;
  line-height: 1.3;
}

.note-sub {
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.8;
}

.note-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.note-topic {
  padding: 7px 13px;
  color: #a96f78;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: #fffdf8;
  border: 2px solid #f0d3ce;
  border-radius: 999px;
  box-shadow: 0 2px 0 #f7e2df;
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.note-topic:hover {
  background: var(--rose-wash);
  border-color: var(--rose);
  transform: translateY(-1px);
}

.note-topic.is-active {
  color: #fffdf8;
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  box-shadow: 0 3px 0 #e9bcc7;
}

.note-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.note-field-label {
  color: var(--ink-faint);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.note-field-label em {
  margin-left: 6px;
  color: #c2a19a;
  font-size: 9px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.note-name,
.note-message {
  width: 100%;
  padding: 10px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.9;
  background: #fffdf8;
  border: 2px solid #f0d9d4;
  border-radius: 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.note-name::placeholder,
.note-message::placeholder {
  color: #c6aaa4;
}

.note-name:focus,
.note-message:focus {
  border-color: var(--rose);
  outline: none;
  box-shadow: 0 0 0 4px rgba(244, 184, 197, 0.22);
}

.note-message {
  min-height: 128px;
  resize: vertical;
}

.note-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.note-count {
  color: var(--ink-faint);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.note-count.is-near-limit {
  color: var(--rose-deep);
  font-weight: 700;
}

.note-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.note-btn {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 15px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: #fffdf8;
  border: 2px solid var(--outline-soft);
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--sticker-shadow);
  cursor: pointer;
  transition:
    color 0.25s var(--ease),
    background 0.25s var(--ease),
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.note-btn:hover:not(:disabled):not(.is-disabled) {
  color: var(--rose-deep);
  background: var(--rose-wash);
  border-color: var(--rose);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 var(--sticker-shadow);
}

.note-btn--ghost {
  color: var(--ink-faint);
  background: transparent;
  border-style: dashed;
  box-shadow: none;
}

.note-btn--ghost:hover {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.6);
  border-color: var(--rose);
  box-shadow: none;
}

.note-btn--primary {
  color: #fffdf8;
  background: var(--rose-deep);
  border-color: var(--outline);
  box-shadow: 0 4px 0 #e9bcc7;
}

.note-btn--primary:hover:not(:disabled):not(.is-disabled) {
  color: #fffdf8;
  background: #c96f86;
  border-color: var(--outline);
}

.note-btn:disabled,
.note-btn.is-disabled {
  opacity: 0.42;
  box-shadow: none;
  cursor: default;
}

.note-btn--primary.is-disabled {
  cursor: pointer;
}

.note-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-faint);
  font-size: 10px;
  line-height: 1.8;
}

.note-hint::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  margin-top: 6px;
  background: var(--rose);
  border-radius: 50%;
}

.site-toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  z-index: 300;
  max-width: min(90vw, 440px);
  padding: 11px 20px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: center;
  background: #fffdf8;
  border: 2px solid var(--outline);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--sticker-shadow), 0 16px 34px rgba(143, 103, 97, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px) scale(0.96);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

@media (max-width: 900px) {
  .contact-body {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .note-board {
    transform: none;
  }
}

@media (max-width: 640px) {
  .brand-text strong {
    white-space: nowrap;
  }

  .site-nav .nav-no {
    display: none;
  }

  .site-nav a {
    padding: 6px 8px;
  }

  .contact-panel,
  .note-board {
    padding: 22px 18px;
    border-radius: 30px;
    box-shadow: 0 6px 0 var(--sticker-shadow);
  }

  .contact-card {
    gap: 11px;
    padding: 11px 12px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-value {
    font-size: 12.5px;
  }

  .contact-action {
    padding: 4px 9px;
    font-size: 8px;
  }

  .contact-title {
    font-size: 25px;
  }

  .contact-now {
    font-size: 10.5px;
  }

  .note-board {
    gap: 13px;
  }

  .note-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .note-topic {
    width: 100%;
  }

  .note-board::before {
    left: 26px;
    width: 92px;
    height: 26px;
  }

  .note-board::after {
    right: 22px;
    width: 62px;
    height: 23px;
  }

  .note-title {
    font-size: 23px;
  }

  .note-foot {
    align-items: stretch;
    flex-direction: column;
  }

  .note-actions {
    width: 100%;
  }

  .note-actions .note-btn {
    flex: 1;
  }

  .site-toast {
    bottom: 16px;
    padding: 10px 16px;
    font-size: 11px;
  }
}
